From dc7beb0407e835bcd10ac530af4dbcea9f83afff Mon Sep 17 00:00:00 2001
From: Nezumi <123229563+Nez27@users.noreply.github.com>
Date: Sun, 5 Feb 2023 16:35:16 +0700
Subject: [PATCH] Deploy
---
3rdpartylicenses.txt | 293 ++++++++++++++++++
404.html | 12 +
assets/images/video-player.png | Bin 0 -> 9338 bytes
color.dae87a04d07ca92b.png | Bin 0 -> 10355 bytes
favicon.ico | Bin 0 -> 948 bytes
hue.8b1818380241e6ac.png | Bin 0 -> 293 bytes
index.html | 12 +
main.47d18ac9dc35a697.js | 1 +
polyfills.e65237d8b862a4a2.js | 1 +
primeicons.0112589c5695a9ed.ttf | Bin 0 -> 72204 bytes
primeicons.943ab24c43224d29.svg | 292 +++++++++++++++++
primeicons.ba3f916dfb64be8c.woff2 | Bin 0 -> 30180 bytes
primeicons.f8b9e8a4e401b603.woff | Bin 0 -> 72280 bytes
primeicons.ffecb2549ad1765a.eot | Bin 0 -> 72380 bytes
...-latin-ext_latin-500.4ce802079c5e2843.woff | Bin 0 -> 29076 bytes
...latin-ext_latin-500.de270e01b582cd35.woff2 | Bin 0 -> 22732 bytes
...-latin-ext_latin-700.c5993c4d788e3ff6.woff | Bin 0 -> 29092 bytes
...latin-ext_latin-700.fea1ca242b09ae4c.woff2 | Bin 0 -> 22724 bytes
...n-ext_latin-regular.5c59b24786083ffe.woff2 | Bin 0 -> 22644 bytes
...in-ext_latin-regular.c9064c1abfc45804.woff | Bin 0 -> 29040 bytes
runtime.d1ce8dcbe6510a4e.js | 1 +
styles.6b5e3f8935ac5033.css | 1 +
22 files changed, 613 insertions(+)
create mode 100644 3rdpartylicenses.txt
create mode 100644 404.html
create mode 100644 assets/images/video-player.png
create mode 100644 color.dae87a04d07ca92b.png
create mode 100644 favicon.ico
create mode 100644 hue.8b1818380241e6ac.png
create mode 100644 index.html
create mode 100644 main.47d18ac9dc35a697.js
create mode 100644 polyfills.e65237d8b862a4a2.js
create mode 100644 primeicons.0112589c5695a9ed.ttf
create mode 100644 primeicons.943ab24c43224d29.svg
create mode 100644 primeicons.ba3f916dfb64be8c.woff2
create mode 100644 primeicons.f8b9e8a4e401b603.woff
create mode 100644 primeicons.ffecb2549ad1765a.eot
create mode 100644 roboto-v20-latin-ext_latin-500.4ce802079c5e2843.woff
create mode 100644 roboto-v20-latin-ext_latin-500.de270e01b582cd35.woff2
create mode 100644 roboto-v20-latin-ext_latin-700.c5993c4d788e3ff6.woff
create mode 100644 roboto-v20-latin-ext_latin-700.fea1ca242b09ae4c.woff2
create mode 100644 roboto-v20-latin-ext_latin-regular.5c59b24786083ffe.woff2
create mode 100644 roboto-v20-latin-ext_latin-regular.c9064c1abfc45804.woff
create mode 100644 runtime.d1ce8dcbe6510a4e.js
create mode 100644 styles.6b5e3f8935ac5033.css
diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt
new file mode 100644
index 0000000..7e1c208
--- /dev/null
+++ b/3rdpartylicenses.txt
@@ -0,0 +1,293 @@
+@angular/animations
+MIT
+
+@angular/common
+MIT
+
+@angular/core
+MIT
+
+@angular/forms
+MIT
+
+@angular/platform-browser
+MIT
+
+@angular/router
+MIT
+
+primeflex
+MIT
+
+primeicons
+MIT
+MIT License
+
+Copyright (c) 2018-2021 PrimeTek
+
+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.
+
+
+primeng
+MIT
+
+rxjs
+Apache-2.0
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+
+tslib
+0BSD
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+
+zone.js
+MIT
+The MIT License
+
+Copyright (c) 2010-2022 Google LLC. https://angular.io/license
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..2a25f5a
--- /dev/null
+++ b/404.html
@@ -0,0 +1,12 @@
+
+
+ MoviesApp
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/assets/images/video-player.png b/assets/images/video-player.png
new file mode 100644
index 0000000000000000000000000000000000000000..2c0eddeac2c27ec9159f93dc5eb6f6206ba28bff
GIT binary patch
literal 9338
zcma)iby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!GFL*i)P31|*?O7HG~6N@ADA)H=n=I(YW-dx)2!@YfKD8tsfs2T
zARx`lPur_lS^gMPYd3%;*#0vucEiVt*g3miVKib)rju*bx-$7G><{b;cuxqVqM$Bc
IDQg<|KYR8Fpa1{>
literal 0
HcmV?d00001
diff --git a/color.dae87a04d07ca92b.png b/color.dae87a04d07ca92b.png
new file mode 100644
index 0000000000000000000000000000000000000000..561cdd9c59a498b499cbfd1295dc4d2037e235ff
GIT binary patch
literal 10355
zcmV-(D2&&MP)h+v*8l*BQUCyPMF0TmW&i*=2LJ#e`2#0~
zRsaAe`AI}URCwC#eanvINRp%)C+D=l9`;ZBJNpmnIHzu)uwC7iS()Jv(>)Z8B@~LP
zskuk>0)q)45bjPo-NPtU5fxQ4Hh2FoGyC6W_AoQwfBXI$J?{4V&pZ36_xa*}$2NB_
z?N>dXcGqbk;n!C5)IX`whhWfkj
zZ|>f95RKQ5eRkk%JDA36{(L^|`Fz^r@vz6^;rIL9ZnvA=Za4q_{k#48>#z3DfBw_{
z_P4+JPe1)+-@bjbFYphQerW$@W^I41;efT)R*v)1=Z=959-jt1_`&@upMCjUJi)=X
zZ3jN@=LPT>91D+m>_@LR0MSMOasXBvK!V70fXLnL`FvXMy^X(*$D=(SkL`ZH`|Wn~
zkB^V`U4-G2W0=k|C!+Lzw@%8BKH^%dX*CvOT6`fP)f
zassgc-|0lP){Yay7eeq^3=*3Gi}%Ch;Wl_|YMZ-TYi;YjTWhWFe_QW81Qtc5BU0_Z
z2hjF&ege^mQag}*k5GO8+nyWj7&|86@4`q!^t?O*@;m;Lg~FZRnXzxda$U+wvP
z+7wtYFe#9V5hes@A%dkRUI0naO%=FdBnp6(0n6d>MnTj$n(e?rfG~iLWBd_>PP8__
z(+9A|F_G@f%zN*~U~+eRJRSpB_Iy5l0P1$T_1o=c_xpXj-|zO@Z@(SD`t{de?d#XC
z{@ZWAS?_%ctnrWeB5jo-Tan(zp!(!Hwt(W~_YmLFL{z$fE(2EZcmpK$gwifxB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001
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000000000000000000000000000000000000..997406ad22c29aae95893fb3d666c30258a09537
GIT binary patch
literal 948
zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0
z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht
z%t9#h|nu0K(bJ
ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E
z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ
zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G
z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf
z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow
zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU
z3LTTBtjwo`7(HA6
z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5
zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0
WcZ@i?LyX}70000~mb#^S1@C_)KRiU;6-7(0&`CkU5}4m1d7IrNET?{$U;Xcz`hnwej&DWF
zNg$~*dY-BXbYh&&IgceyZD$ZX!DGwqgNG^>K$Xdp0aaYZAgeLA;Hi(t=#dVf1dn^3
zt$`})Egsa{HK>mTqbGRkX$8z7A4XUWOYr9AM47fD6s(AFz
rLFy}o|N2Bt9oN*rQ}#A1Dtr3{xkh4EFufcl00000NkvXXu0mjf>=A&>
literal 0
HcmV?d00001
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..2a25f5a
--- /dev/null
+++ b/index.html
@@ -0,0 +1,12 @@
+
+
+ MoviesApp
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main.47d18ac9dc35a697.js b/main.47d18ac9dc35a697.js
new file mode 100644
index 0000000..fab8575
--- /dev/null
+++ b/main.47d18ac9dc35a697.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmovies_app=self.webpackChunkmovies_app||[]).push([[179],{431:()=>{function xe(t){return"function"==typeof t}function $s(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Aa=$s(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Us(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class sn{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const s of e)s.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(xe(i))try{i()}catch(s){n=s instanceof Aa?s.errors:[s]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const s of r)try{Xf(s)}catch(o){n=n??[],o instanceof Aa?n=[...n,...o.errors]:n.push(o)}}if(n)throw new Aa(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Xf(n);else{if(n instanceof sn){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Us(e,n)}remove(n){const{_finalizers:e}=this;e&&Us(e,n),n instanceof sn&&n._removeParent(this)}}sn.EMPTY=(()=>{const t=new sn;return t.closed=!0,t})();const Zf=sn.EMPTY;function Yf(t){return t instanceof sn||t&&"closed"in t&&xe(t.remove)&&xe(t.add)&&xe(t.unsubscribe)}function Xf(t){xe(t)?t():t.unsubscribe()}const Qi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Oa={setTimeout(t,n,...e){const{delegate:i}=Oa;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Oa;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Jf(t){Oa.setTimeout(()=>{const{onUnhandledError:n}=Qi;if(!n)throw t;n(t)})}function eg(){}const t0=su("C",void 0,void 0);function su(t,n,e){return{kind:t,value:n,error:e}}let Zi=null;function Pa(t){if(Qi.useDeprecatedSynchronousErrorHandling){const n=!Zi;if(n&&(Zi={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=Zi;if(Zi=null,e)throw i}}else t()}class ou extends sn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Yf(n)&&n.add(this)):this.destination=c0}static create(n,e,i){return new js(n,e,i)}next(n){this.isStopped?lu(function r0(t){return su("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?lu(function n0(t){return su("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?lu(t0,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 o0=Function.prototype.bind;function au(t,n){return o0.call(t,n)}class a0{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){xa(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){xa(i)}else xa(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){xa(e)}}}class js extends ou{constructor(n,e,i){let r;if(super(),xe(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let s;this&&Qi.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&au(n.next,s),error:n.error&&au(n.error,s),complete:n.complete&&au(n.complete,s)}):r=n}this.destination=new a0(r)}}function xa(t){Qi.useDeprecatedSynchronousErrorHandling?function s0(t){Qi.useDeprecatedSynchronousErrorHandling&&Zi&&(Zi.errorThrown=!0,Zi.error=t)}(t):Jf(t)}function lu(t,n){const{onStoppedNotification:e}=Qi;e&&Oa.setTimeout(()=>e(t,n))}const c0={closed:!0,next:eg,error:function l0(t){throw t},complete:eg},cu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Yi(t){return t}function tg(t){return 0===t.length?Yi:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let We=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const s=function h0(t){return t&&t instanceof ou||function d0(t){return t&&xe(t.next)&&xe(t.error)&&xe(t.complete)}(t)&&Yf(t)}(e)?e:new js(e,i,r);return Pa(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=ng(i))((r,s)=>{const o=new js({next:a=>{try{e(a)}catch(l){s(l),o.unsubscribe()}},error:s,complete:r});this.subscribe(o)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[cu](){return this}pipe(...e){return tg(e)(this)}toPromise(e){return new(e=ng(e))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return t.create=n=>new t(n),t})();function ng(t){var n;return null!==(n=t??Qi.Promise)&&void 0!==n?n:Promise}const p0=$s(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let bn=(()=>{class t extends We{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new ig(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new p0}next(e){Pa(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Pa(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Pa(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:s}=this;return i||r?Zf:(this.currentObservers=null,s.push(e),new sn(()=>{this.currentObservers=null,Us(s,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:s}=this;i?e.error(r):s&&e.complete()}asObservable(){const e=new We;return e.source=this,e}}return t.create=(n,e)=>new ig(n,e),t})();class ig extends bn{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Zf}}function rg(t){return xe(t?.lift)}function ct(t){return n=>{if(rg(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function it(t,n,e,i,r){return new f0(t,n,e,i,r)}class f0 extends ou{constructor(n,e,i,r,s,o){super(n),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=e?function(a){try{e(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:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function re(t,n){return ct((e,i)=>{let r=0;e.subscribe(it(i,s=>{i.next(t.call(n,s,r++))}))})}function Xi(t){return this instanceof Xi?(this.v=t,this):new Xi(t)}function _0(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(t,n||[]),s=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(h){i[h]&&(r[h]=function(p){return new Promise(function(f,_){s.push([h,p,f,_])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xi?Promise.resolve(h.value.v).then(c,u):d(s[0][2],h)}(i[h](p))}catch(f){d(s[0][3],f)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),s.shift(),s.length&&a(s[0][0],s[0][1])}}function y0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function ag(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(s){e[s]=t[s]&&function(o){return new Promise(function(a,l){!function r(s,o,a,l){Promise.resolve(l).then(function(c){s({value:c,done:a})},o)}(a,l,(o=t[s](o)).done,o.value)})}}}const lg=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function cg(t){return xe(t?.then)}function ug(t){return xe(t[cu])}function dg(t){return Symbol.asyncIterator&&xe(t?.[Symbol.asyncIterator])}function hg(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const pg=function w0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function fg(t){return xe(t?.[pg])}function gg(t){return _0(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield Xi(e.read());if(r)return yield Xi(void 0);yield yield Xi(i)}}finally{e.releaseLock()}})}function mg(t){return xe(t?.getReader)}function on(t){if(t instanceof We)return t;if(null!=t){if(ug(t))return function C0(t){return new We(n=>{const e=t[cu]();if(xe(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(lg(t))return function b0(t){return new We(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Jf)})}(t);if(dg(t))return _g(t);if(fg(t))return function S0(t){return new We(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(mg(t))return function E0(t){return _g(gg(t))}(t)}throw hg(t)}function _g(t){return new We(n=>{(function I0(t,n){var e,i,r,s;return function g0(t,n,e,i){return new(e||(e=Promise))(function(s,o){function a(u){try{c(i.next(u))}catch(d){o(d)}}function l(u){try{c(i.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):function r(s){return s instanceof e?s:new e(function(o){o(s)})}(u.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=y0(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(o){r={error:o}}finally{try{i&&!i.done&&(s=e.return)&&(yield s.call(e))}finally{if(r)throw r.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function ri(t,n,e,i=0,r=!1){const s=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(s),!r)return s}function ht(t,n,e=1/0){return xe(n)?ht((i,r)=>re((s,o)=>n(i,s,r,o))(on(t(i,r))),e):("number"==typeof n&&(e=n),ct((i,r)=>function T0(t,n,e,i,r,s,o,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},p=_=>c{s&&n.next(_),c++;let w=!1;on(e(_,u++)).subscribe(it(n,b=>{r?.(b),s?p(b):n.next(b)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&cf(b)):f(b)}h()}catch(b){n.error(b)}}))};return t.subscribe(it(n,p,()=>{d=!0,h()})),()=>{a?.()}}(i,r,t,e)))}function kr(t=1/0){return ht(Yi,t)}const Vn=new We(t=>t.complete());function du(t){return t[t.length-1]}function yg(t){return xe(du(t))?t.pop():void 0}function zs(t){return function A0(t){return t&&xe(t.schedule)}(du(t))?t.pop():void 0}function vg(t,n=0){return ct((e,i)=>{e.subscribe(it(i,r=>ri(i,t,()=>i.next(r),n),()=>ri(i,t,()=>i.complete(),n),r=>ri(i,t,()=>i.error(r),n)))})}function wg(t,n=0){return ct((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Cg(t,n){if(!t)throw new Error("Iterable cannot be null");return new We(e=>{ri(e,n,()=>{const i=t[Symbol.asyncIterator]();ri(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Xe(t,n){return n?function k0(t,n){if(null!=t){if(ug(t))return function P0(t,n){return on(t).pipe(wg(n),vg(n))}(t,n);if(lg(t))return function R0(t,n){return new We(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(cg(t))return function x0(t,n){return on(t).pipe(wg(n),vg(n))}(t,n);if(dg(t))return Cg(t,n);if(fg(t))return function N0(t,n){return new We(e=>{let i;return ri(e,n,()=>{i=t[pg](),ri(e,n,()=>{let r,s;try{({value:r,done:s}=i.next())}catch(o){return void e.error(o)}s?e.complete():e.next(r)},0,!0)}),()=>xe(i?.return)&&i.return()})}(t,n);if(mg(t))return function F0(t,n){return Cg(gg(t),n)}(t,n)}throw hg(t)}(t,n):on(t)}function hu(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new js({next:()=>{i.unsubscribe(),t()}});return on(n(...e)).subscribe(i)}function Ae(t){for(let n in t)if(t[n]===Ae)return n;throw Error("Could not find renamed property on target object.")}function pu(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Re(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Re).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function fu(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const B0=Ae({__forward_ref__:Ae});function ye(t){return t.__forward_ref__=ye,t.toString=function(){return Re(this())},t}function q(t){return gu(t)?t():t}function gu(t){return"function"==typeof t&&t.hasOwnProperty(B0)&&t.__forward_ref__===ye}function mu(t){return t&&!!t.\u0275providers}const Ra="https://g.co/ng/security#xss";class I extends Error{constructor(n,e){super(function Na(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function Y(t){return"string"==typeof t?t:null==t?"":String(t)}function Fa(t,n){throw new I(-201,!1)}function an(t,n){null==t&&function we(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function k(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Oe(t){return{providers:t.providers||[],imports:t.imports||[]}}function ka(t){return bg(t,La)||bg(t,Sg)}function bg(t,n){return t.hasOwnProperty(n)?t[n]:null}function Dg(t){return t&&(t.hasOwnProperty(_u)||t.hasOwnProperty(K0))?t[_u]:null}const La=Ae({\u0275prov:Ae}),_u=Ae({\u0275inj:Ae}),Sg=Ae({ngInjectableDef:Ae}),K0=Ae({ngInjectorDef:Ae});var K=(()=>((K=K||{})[K.Default=0]="Default",K[K.Host=1]="Host",K[K.Self=2]="Self",K[K.SkipSelf=4]="SkipSelf",K[K.Optional=8]="Optional",K))();let yu;function ln(t){const n=yu;return yu=t,n}function Eg(t,n,e){const i=ka(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&K.Optional?null:void 0!==n?n:void Fa(Re(t))}const Ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gs={},vu="__NG_DI_FLAG__",Va="ngTempTokenPath",Y0=/\n/gm,Ig="__source";let Ws;function Lr(t){const n=Ws;return Ws=t,n}function J0(t,n=K.Default){if(void 0===Ws)throw new I(-203,!1);return null===Ws?Eg(t,void 0,n):Ws.get(t,n&K.Optional?null:void 0,n)}function x(t,n=K.Default){return(function Q0(){return yu}()||J0)(q(t),n)}function ce(t,n=K.Default){return x(t,Ba(n))}function Ba(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function wu(t){const n=[];for(let e=0;e((Dn=Dn||{})[Dn.OnPush=0]="OnPush",Dn[Dn.Default=1]="Default",Dn))(),Sn=(()=>{return(t=Sn||(Sn={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Sn;var t})();const si={},me=[],Ha=Ae({\u0275cmp:Ae}),Cu=Ae({\u0275dir:Ae}),bu=Ae({\u0275pipe:Ae}),Mg=Ae({\u0275mod:Ae}),oi=Ae({\u0275fac:Ae}),Ks=Ae({__NG_ELEMENT_ID__:Ae});let iI=0;function Ie(t){return Pi(()=>{const e=!0===t.standalone,i={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Dn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||me,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Sn.Emulated,id:"c"+iI++,styles:t.styles||me,_:null,setInput:null,schemas:t.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},s=t.dependencies,o=t.features;return r.inputs=Pg(t.inputs,i),r.outputs=Pg(t.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(Ag).filter(Og):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ot).filter(Og):null,r})}function Ag(t){return Ce(t)||yt(t)}function Og(t){return null!==t}function Fe(t){return Pi(()=>({type:t.type,bootstrap:t.bootstrap||me,declarations:t.declarations||me,imports:t.imports||me,exports:t.exports||me,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Pg(t,n){if(null==t)return si;const e={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),e[r]=i,n&&(n[r]=s)}return e}const j=Ie;function Bt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ce(t){return t[Ha]||null}function yt(t){return t[Cu]||null}function Ot(t){return t[bu]||null}function Gt(t,n){const e=t[Mg]||null;if(!e&&!0===n)throw new Error(`Type ${Re(t)} does not have '\u0275mod' property.`);return e}function Wt(t){return Array.isArray(t)&&"object"==typeof t[1]}function In(t){return Array.isArray(t)&&!0===t[1]}function Eu(t){return 0!=(4&t.flags)}function Xs(t){return t.componentOffset>-1}function Ga(t){return 1==(1&t.flags)}function Tn(t){return null!==t.template}function oI(t){return 0!=(256&t[2])}function er(t,n){return t.hasOwnProperty(oi)?t[oi]:null}class cI{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function pt(){return Lg}function Lg(t){return t.type.prototype.ngOnChanges&&(t.setInput=dI),uI}function uI(){const t=Bg(this),n=t?.current;if(n){const e=t.previous;if(e===si)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function dI(t,n,e,i){const r=this.declaredInputs[e],s=Bg(t)||function hI(t,n){return t[Vg]=n}(t,{previous:si,current:null}),o=s.current||(s.current={}),a=s.previous,l=a[r];o[r]=new cI(l&&l.currentValue,n,a===si),t[i]=n}pt.ngInherit=!0;const Vg="__ngSimpleChanges__";function Bg(t){return t[Vg]||null}function ft(t){for(;Array.isArray(t);)t=t[0];return t}function Wa(t,n){return ft(n[t])}function qt(t,n){return ft(n[t.index])}function Ug(t,n){return t.data[n]}function jr(t,n){return t[n]}function Kt(t,n){const e=n[t];return Wt(e)?e:e[0]}function qa(t){return 64==(64&t[2])}function xi(t,n){return null==n?null:t[n]}function jg(t){t[18]=0}function Tu(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const X={lFrame:Jg(null),bindingsEnabled:!0};function Gg(){return X.bindingsEnabled}function M(){return X.lFrame.lView}function pe(){return X.lFrame.tView}function L(t){return X.lFrame.contextLView=t,t[8]}function V(t){return X.lFrame.contextLView=null,t}function gt(){let t=Wg();for(;null!==t&&64===t.type;)t=t.parent;return t}function Wg(){return X.lFrame.currentTNode}function Hn(t,n){const e=X.lFrame;e.currentTNode=t,e.isParent=n}function Mu(){return X.lFrame.isParent}function Au(){X.lFrame.isParent=!1}function xt(){const t=X.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function zr(){return X.lFrame.bindingIndex++}function ci(t){const n=X.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function EI(t,n){const e=X.lFrame;e.bindingIndex=e.bindingRootIndex=t,Ou(n)}function Ou(t){X.lFrame.currentDirectiveIndex=t}function Zg(){return X.lFrame.currentQueryIndex}function xu(t){X.lFrame.currentQueryIndex=t}function TI(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function Yg(t,n,e){if(e&K.SkipSelf){let r=n,s=t;for(;!(r=r.parent,null!==r||e&K.Host||(r=TI(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;n=r,t=s}const i=X.lFrame=Xg();return i.currentTNode=n,i.lView=t,!0}function Ru(t){const n=Xg(),e=t[1];X.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Xg(){const t=X.lFrame,n=null===t?null:t.child;return null===n?Jg(t):n}function Jg(t){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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function em(){const t=X.lFrame;return X.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const tm=em;function Nu(){const t=em();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Rt(){return X.lFrame.selectedIndex}function tr(t){X.lFrame.selectedIndex=t}function He(){const t=X.lFrame;return Ug(t.tView,t.selectedIndex)}function Ka(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===n){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class eo{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Lu(t,n,e){let i=0;for(;in){o=s-1;break}}}for(;s>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let Vu=!0;function Ja(t){const n=Vu;return Vu=t,n}let $I=0;const $n={};function el(t,n){const e=cm(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,Bu(i.data,t),Bu(n,null),Bu(i.blueprint,null));const r=Hu(t,n),s=t.injectorIndex;if(om(r)){const o=Ya(r),a=Xa(r,n),l=a[1].data;for(let c=0;c<8;c++)n[s+c]=a[o+c]|l[o+c]}return n[s+8]=r,s}function Bu(t,n){t.push(0,0,0,0,0,0,0,0,n)}function cm(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Hu(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=mm(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function $u(t,n,e){!function UI(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ks)&&(i=e[Ks]),null==i&&(i=e[Ks]=$I++);const r=255&i;n.data[t+(r>>5)]|=1<=0?255&n:WI:n}(e);if("function"==typeof s){if(!Yg(n,t,i))return i&K.Host?um(r,0,i):dm(n,e,i,r);try{const o=s(i);if(null!=o||i&K.Optional)return o;Fa()}finally{tm()}}else if("number"==typeof s){let o=null,a=cm(t,n),l=-1,c=i&K.Host?n[16][6]:null;for((-1===a||i&K.SkipSelf)&&(l=-1===a?Hu(t,n):n[a+8],-1!==l&&gm(i,!1)?(o=n[1],a=Ya(l),n=Xa(l,n)):a=-1);-1!==a;){const u=n[1];if(fm(s,a,u.data)){const d=zI(a,n,e,o,i,c);if(d!==$n)return d}l=n[a+8],-1!==l&&gm(i,n[1].data[a+8]===c)&&fm(s,a,n)?(o=u,a=Ya(l),n=Xa(l,n)):a=-1}}return r}function zI(t,n,e,i,r,s){const o=n[1],a=o.data[t+8],u=tl(a,o,e,null==i?Xs(a)&&Vu:i!=o&&0!=(3&a.type),r&K.Host&&s===a);return null!==u?nr(n,o,u,a):$n}function tl(t,n,e,i,r){const s=t.providerIndexes,o=n.data,a=1048575&s,l=t.directiveStart,u=s>>20,h=r?a+u:t.directiveEnd;for(let p=i?a:a+u;p=l&&f.type===e)return p}if(r){const p=o[l];if(p&&Tn(p)&&p.type===e)return l}return null}function nr(t,n,e,i){let r=t[e];const s=n.data;if(function LI(t){return t instanceof eo}(r)){const o=r;o.resolving&&function H0(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new I(-200,`Circular dependency in DI detected for ${t}${e}`)}(function ve(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Y(t)}(s[e]));const a=Ja(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?ln(o.injectImpl):null;Yg(t,i,K.Default);try{r=t[e]=o.factory(void 0,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&function FI(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=n.type.prototype;if(i){const o=Lg(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,r),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s))}(e,s[e],n)}finally{null!==l&&ln(l),Ja(a),o.resolving=!1,tm()}}return r}function fm(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[oi]||Uu(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const s=r[oi]||Uu(r);if(s&&s!==e)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Uu(t){return gu(t)?()=>{const n=Uu(q(t));return n&&n()}:er(t)}function mm(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}const Kr="__parameters__";function Zr(t,n,e){return Pi(()=>{const i=function ju(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);function r(...s){if(this instanceof r)return i.apply(this,s),this;const o=new r(...s);return a.annotation=o,a;function a(l,c,u){const d=l.hasOwnProperty(Kr)?l[Kr]:Object.defineProperty(l,Kr,{value:[]})[Kr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class H{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=k({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ir(t,n){t.forEach(e=>Array.isArray(e)?ir(e,n):n(e))}function ym(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function il(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ro(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function YI(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Gu(t,n){const e=Yr(t,n);if(e>=0)return t[1|e]}function Yr(t,n){return function vm(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const s=i+(r-i>>1),o=t[s<n?r=s:i=s+1}return~(r<((Ht=Ht||{})[Ht.Important=1]="Important",Ht[Ht.DashCase=2]="DashCase",Ht))();const Yu=new Map;let vT=0;const Ju="__ngContext__";function Ct(t,n){Wt(n)?(t[Ju]=n[20],function CT(t){Yu.set(t[20],t)}(n)):t[Ju]=n}function td(t,n){return undefined(t,n)}function uo(t){const n=t[3];return In(n)?n[3]:n}function nd(t){return Bm(t[13])}function id(t){return Bm(t[4])}function Bm(t){for(;null!==t&&!In(t);)t=t[4];return t}function Jr(t,n,e,i,r){if(null!=i){let s,o=!1;In(i)?s=i:Wt(i)&&(o=!0,i=i[0]);const a=ft(i);0===t&&null!==e?null==r?Gm(n,e,a):rr(n,e,a,r||null,!0):1===t&&null!==e?rr(n,e,a,r||null,!0):2===t?function ud(t,n,e){const i=al(t,n);i&&function $T(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,o):3===t&&n.destroyNode(a),null!=s&&function zT(t,n,e,i,r){const s=e[7];s!==ft(e)&&Jr(n,t,i,s,r);for(let a=10;a0&&(t[e-1][4]=i[4]);const s=il(t,10+n);!function RT(t,n){ho(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Um(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&ho(t,n,e,3,null,null),function kT(t){let n=t[13];if(!n)return ad(t[1],t);for(;n;){let e=null;if(Wt(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)Wt(n)&&ad(n[1],n),n=n[3];null===n&&(n=t),Wt(n)&&ad(n[1],n),e=n&&n[4]}n=e}}(n)}}function ad(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function HT(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[r=o]():i[r=-o].unsubscribe(),s+=2}else{const o=i[r=e[s+1]];e[s].call(o)}if(null!==i){for(let s=r+1;s-1){const{encapsulation:s}=t.data[i.directiveStart+r];if(s===Sn.None||s===Sn.Emulated)return null}return qt(i,e)}}(t,n.parent,e)}function rr(t,n,e,i,r){t.insertBefore(n,e,i,r)}function Gm(t,n,e){t.appendChild(n,e)}function Wm(t,n,e,i,r){null!==i?rr(t,n,e,i,r):Gm(t,n,e)}function al(t,n){return t.parentNode(n)}function qm(t,n,e){return Qm(t,n,e)}let ul,pd,dl,Qm=function Km(t,n,e){return 40&t.type?qt(t,e):null};function ll(t,n,e,i){const r=jm(t,i,n),s=n[11],a=qm(i.parent||n[6],i,n);if(null!=r)if(Array.isArray(e))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return ul}()?.createHTML(t)||t}function r_(t){return function fd(){if(void 0===dl&&(dl=null,Ne.trustedTypes))try{dl=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return dl}()?.createScriptURL(t)||t}class or{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ra})`}}class YT extends or{getTypeName(){return"HTML"}}class XT extends or{getTypeName(){return"Style"}}class JT extends or{getTypeName(){return"Script"}}class e1 extends or{getTypeName(){return"URL"}}class t1 extends or{getTypeName(){return"ResourceURL"}}function Zt(t){return t instanceof or?t.changingThisBreaksApplicationSecurity:t}function Un(t,n){const e=function n1(t){return t instanceof or&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Ra})`)}return e===n}class c1{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=" "+n;try{const e=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class u1{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=sr(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=sr(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let r=e.length-1;0"),!0}endElement(n){const e=n.nodeName.toLowerCase();gd.hasOwnProperty(e)&&!o_.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(u_(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&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 e}}const g1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m1=/([^\#-~ |!])/g;function u_(t){return t.replace(/&/g,"&").replace(g1,function(n){return""+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(m1,function(n){return""+n.charCodeAt(0)+";"}).replace(/ /g,">")}let pl;function d_(t,n){let e=null;try{pl=pl||function s_(t){const n=new u1(t);return function d1(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new c1(n):n}(t);let i=n?String(n):"";e=pl.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=e.innerHTML,e=pl.getInertBodyElement(i)}while(i!==s);return sr((new f1).sanitizeChildren(_d(e)||e))}finally{if(e){const i=_d(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function _d(t){return"content"in t&&function _1(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ke=(()=>((ke=ke||{})[ke.NONE=0]="NONE",ke[ke.HTML=1]="HTML",ke[ke.STYLE=2]="STYLE",ke[ke.SCRIPT=3]="SCRIPT",ke[ke.URL=4]="URL",ke[ke.RESOURCE_URL=5]="RESOURCE_URL",ke))();function dn(t){const n=fo();return n?n.sanitize(ke.URL,t)||"":Un(t,"URL")?Zt(t):hl(Y(t))}function yd(t){const n=fo();if(n)return r_(n.sanitize(ke.RESOURCE_URL,t)||"");if(Un(t,"ResourceURL"))return r_(Zt(t));throw new I(904,!1)}function fo(){const t=M();return t&&t[12]}const fl=new H("ENVIRONMENT_INITIALIZER"),p_=new H("INJECTOR",-1),f_=new H("INJECTOR_DEF_TYPES");class g_{get(n,e=Gs){if(e===Gs){const i=new Error(`NullInjectorError: No provider for ${Re(n)}!`);throw i.name="NullInjectorError",i}return e}}function E1(...t){return{\u0275providers:m_(0,t),\u0275fromNgModule:!0}}function m_(t,...n){const e=[],i=new Set;let r;return ir(n,s=>{const o=s;vd(o,e,[],i)&&(r||(r=[]),r.push(o))}),void 0!==r&&__(r,e),e}function __(t,n){for(let e=0;e{n.push(s)})}}function vd(t,n,e,i){if(!(t=q(t)))return!1;let r=null,s=Dg(t);const o=!s&&Ce(t);if(s||o){if(o&&!o.standalone)return!1;r=t}else{const l=t.ngModule;if(s=Dg(l),!s)return!1;r=l}const a=i.has(r);if(o){if(a)return!1;if(i.add(r),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)vd(c,n,e,i)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let c;i.add(r);try{ir(s.imports,u=>{vd(u,n,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&__(c,n)}if(!a){const c=er(r)||(()=>new r);n.push({provide:r,useFactory:c,deps:me},{provide:f_,useValue:r,multi:!0},{provide:fl,useValue:()=>x(r),multi:!0})}const l=s.providers;null==l||a||wd(l,u=>{n.push(u)})}}return r!==t&&void 0!==t.providers}function wd(t,n){for(let e of t)mu(e)&&(e=e.\u0275providers),Array.isArray(e)?wd(e,n):n(e)}const I1=Ae({provide:String,useValue:Ae});function Cd(t){return null!==t&&"object"==typeof t&&I1 in t}function ar(t){return"function"==typeof t}const bd=new H("Set Injector scope."),gl={},M1={};let Dd;function ml(){return void 0===Dd&&(Dd=new g_),Dd}class jn{}class w_ extends jn{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ed(n,o=>this.processProvider(o)),this.records.set(p_,es(void 0,this)),r.has("environment")&&this.records.set(jn,es(void 0,this));const s=this.records.get(bd);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(f_.multi,me,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=Lr(this),i=ln(void 0);try{return n()}finally{Lr(e),ln(i)}}get(n,e=Gs,i=K.Default){this.assertNotDestroyed(),i=Ba(i);const r=Lr(this),s=ln(void 0);try{if(!(i&K.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function R1(t){return"function"==typeof t||"object"==typeof t&&t instanceof H}(n)&&ka(n);a=l&&this.injectableDefInScope(l)?es(Sd(n),gl):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&K.Self?ml():this.parent).get(n,e=i&K.Optional&&e===Gs?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[Va]=o[Va]||[]).unshift(Re(n)),r)throw o;return function tI(t,n,e,i){const r=t[Va];throw n[Ig]&&r.unshift(n[Ig]),t.message=function nI(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Re(n);if(Array.isArray(n))r=n.map(Re).join(" -> ");else if("object"==typeof n){let s=[];for(let o in n)if(n.hasOwnProperty(o)){let a=n[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):Re(a)))}r=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(Y0,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[Va]=null,t}(o,n,"R3InjectorError",this.source)}throw o}finally{ln(s),Lr(r)}}resolveInjectorInitializers(){const n=Lr(this),e=ln(void 0);try{const i=this.get(fl.multi,me,K.Self);for(const r of i)r()}finally{Lr(n),ln(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Re(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(n){let e=ar(n=q(n))?n:q(n&&n.provide);const i=function O1(t){return Cd(t)?es(void 0,t.useValue):es(C_(t),gl)}(n);if(ar(n)||!0!==n.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=es(void 0,gl,!0),r.factory=()=>wu(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===gl&&(e.value=M1,e.value=e.factory()),"object"==typeof e.value&&e.value&&function x1(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=q(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Sd(t){const n=ka(t),e=null!==n?n.factory:er(t);if(null!==e)return e;if(t instanceof H)throw new I(204,!1);if(t instanceof Function)return function A1(t){const n=t.length;if(n>0)throw ro(n,"?"),new I(204,!1);const e=function W0(t){const n=t&&(t[La]||t[Sg]);if(n){const e=function q0(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new I(204,!1)}function C_(t,n,e){let i;if(ar(t)){const r=q(t);return er(r)||Sd(r)}if(Cd(t))i=()=>q(t.useValue);else if(function v_(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...wu(t.deps||[]));else if(function y_(t){return!(!t||!t.useExisting)}(t))i=()=>x(q(t.useExisting));else{const r=q(t&&(t.useClass||t.provide));if(!function P1(t){return!!t.deps}(t))return er(r)||Sd(r);i=()=>new r(...wu(t.deps))}return i}function es(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Ed(t,n){for(const e of t)Array.isArray(e)?Ed(e,n):e&&mu(e)?Ed(e.\u0275providers,n):n(e)}class N1{}class b_{}class k1{resolveComponentFactory(n){throw function F1(t){const n=Error(`No component factory found for ${Re(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let go=(()=>{class t{}return t.NULL=new k1,t})();function L1(){return ts(gt(),M())}function ts(t,n){return new $e(qt(t,n))}let $e=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=L1,t})();function V1(t){return t instanceof $e?t.nativeElement:t}class mo{}let Yt=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function B1(){const t=M(),e=Kt(gt().index,t);return(Wt(e)?e:t)[11]}(),t})(),H1=(()=>{class t{}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>null}),t})();class _o{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const $1=new _o("15.1.2"),Id={};function Md(t){return t.ngOriginalError}class ns{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Md(n);for(;e&&Md(e);)e=Md(e);return e||null}}function di(t){return t instanceof Function?t():t}function E_(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const s=n.length;if(r+s===i||t.charCodeAt(r+s)<=32)return r}e=r+1}}const I_="ng-template";function X1(t,n,e){let i=0;for(;is?"":r[d+1].toLowerCase();const p=8&i?h:null;if(p&&-1!==E_(p,c,0)||2&i&&c!==h){if(Mn(i))return!1;o=!0}}}}else{if(!o&&!Mn(i)&&!Mn(l))return!1;if(o&&Mn(l))continue;o=!1,i=l|1&i}}return Mn(i)||o}function Mn(t){return 0==(1&t)}function tM(t,n,e,i){if(null===n)return-1;let r=0;if(i||!e){let s=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Mn(o)&&(n+=A_(s,r),r=""),i=o,s=s||!Mn(i);e++}return""!==r&&(n+=A_(s,r)),n}const J={};function m(t){O_(pe(),M(),Rt()+t,!1)}function O_(t,n,e,i){if(!i)if(3==(3&n[2])){const s=t.preOrderCheckHooks;null!==s&&Qa(n,s,e)}else{const s=t.preOrderHooks;null!==s&&Za(n,s,0,e)}tr(e)}function N_(t,n=null,e=null,i){const r=F_(t,n,e,i);return r.resolveInjectorInitializers(),r}function F_(t,n=null,e=null,i,r=new Set){const s=[e||me,E1(t)];return i=i||("object"==typeof t?void 0:Re(t)),new w_(s,n||ml(),i||null,r)}let hn=(()=>{class t{static create(e,i){if(Array.isArray(e))return N_({name:""},i,e,"");{const r=e.name??"";return N_({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=Gs,t.NULL=new g_,t.\u0275prov=k({token:t,providedIn:"any",factory:()=>x(p_)}),t.__NG_ELEMENT_ID__=-1,t})();function D(t,n=K.Default){const e=M();return null===e?x(t,n):hm(gt(),e,q(t),n)}function j_(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&O_(t,n,22,!1),e(i,r)}finally{tr(s)}}function Fd(t,n,e){if(Eu(n)){const r=n.directiveEnd;for(let s=n.directiveStart;s0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(o)!=a&&o.push(a),o.push(e,i,s)}}(t,n,i,yo(t,e,r.hostVars,J),r)}function zn(t,n,e,i,r,s){const o=qt(t,n);!function $d(t,n,e,i,r,s,o){if(null==s)t.removeAttribute(n,r,e);else{const a=null==o?Y(s):o(s,i||"",r);t.setAttribute(n,r,a,e)}}(n[11],o,s,t.value,e,i,r)}function WM(t,n,e,i,r,s){const o=s[n];if(null!==o){const a=i.setInput;for(let l=0;l0&&Ud(e)}}function Ud(t){for(let i=nd(t);null!==i;i=id(i))for(let r=10;r0&&Ud(s)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Ud(r)}}function YM(t,n){const e=Kt(n,t),i=e[1];(function XM(t,n){for(let e=n.length;e-1&&(od(n,i),il(e,i))}this._attachedToViewContainer=!1}Um(this._lView[1],this._lView)}onDestroy(n){W_(this._lView[1],this._lView,null,n)}markForCheck(){jd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Cl(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function FT(t,n){ho(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=n}}class JM extends vo{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Cl(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class iy extends go{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Ce(n);return new wo(e,this.ngModule)}}function ry(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class tA{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Ba(i);const r=this.injector.get(n,Id,i);return r!==Id||e===Id?r:this.parentInjector.get(n,e,i)}}class wo extends b_{get inputs(){return ry(this.componentDef.inputs)}get outputs(){return ry(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function aM(t){return t.map(oM).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,r){let s=(r=r||this.ngModule)instanceof jn?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new tA(n,s):n,a=o.get(mo,null);if(null===a)throw new I(407,!1);const l=o.get(H1,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function PM(t,n,e){return t.selectRootElement(n,e===Sn.ShadowDom)}(c,i,this.componentDef.encapsulation):sd(c,u,function eA(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(u)),h=this.componentDef.onPush?288:272,p=Vd(0,null,null,1,0,null,null,null,null,null),f=yl(null,p,null,h,null,null,a,c,l,o,null);let _,w;Ru(f);try{const b=this.componentDef;let T,E=null;b.findHostDirectiveDefs?(T=[],E=new Map,b.findHostDirectiveDefs(b,T,E),T.push(b)):T=[b];const O=function iA(t,n){const e=t[1];return t[22]=n,ss(e,22,2,"#host",null)}(f,d),te=function rA(t,n,e,i,r,s,o,a){const l=r[1];!function sA(t,n,e,i){for(const r of t)n.mergedAttrs=to(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(bl(n,n.mergedAttrs,!0),null!==e&&e_(i,e,n))}(i,t,n,o);const c=s.createRenderer(n,e),u=yl(r,G_(e),null,e.onPush?32:16,r[t.index],t,s,c,a||null,null,null);return l.firstCreatePass&&Hd(l,t,i.length-1),wl(r,u),r[t.index]=u}(O,d,b,T,f,a,c);w=Ug(p,22),d&&function aA(t,n,e,i){if(i)Lu(t,e,["ng-version",$1.full]);else{const{attrs:r,classes:s}=function lM(t){const n=[],e=[];let i=1,r=2;for(;i0&&Jm(t,e,s.join(" "))}}(c,b,d,i),void 0!==e&&function lA(t,n,e){const i=t.projection=[];for(let r=0;r=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=to(r.hostAttrs,e=to(e,r.hostAttrs))}}(i)}function Wd(t){return t===si?{}:t===me?[]:t}function dA(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function hA(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,s)=>{n(i,r,s),e(i,r,s)}:n}function pA(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}let Sl=null;function lr(){if(!Sl){const t=Ne.Symbol;if(t&&t.iterator)Sl=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;eo(ft(O[i.index])):i.index;let E=null;if(!o&&a&&(E=function TA(t,n,e,i){const r=t.cleanup;if(null!=r)for(let s=0;sl?a[l]:null}"string"==typeof o&&(s+=2)}return null}(t,n,r,i.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=s,E.__ngLastListenerFn__=s,h=!1;else{s=by(i,n,u,s,!1);const O=e.listen(w,r,s);d.push(s,O),c&&c.push(r,T,b,b+1)}}else s=by(i,n,u,s,!1);const p=i.outputs;let f;if(h&&null!==p&&(f=p[r])){const _=f.length;if(_)for(let w=0;w<_;w+=2){const te=n[f[w]][f[w+1]].subscribe(s),he=d.length;d.push(s,te),c&&c.push(r,i.index,he,-(he+1))}}}(s,r,r[11],o,t,n,i),F}function Cy(t,n,e,i){try{return!1!==e(i)}catch(r){return ny(t,r),!1}}function by(t,n,e,i,r){return function s(o){if(o===Function)return i;jd(t.componentOffset>-1?Kt(t.index,n):n);let l=Cy(n,0,i,o),c=s.__ngNextListenerFn__;for(;c;)l=Cy(n,0,c,o)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function C(t=1){return function MI(t){return(X.lFrame.contextLView=function AI(t,n){for(;t>0;)n=n[15],t--;return n}(t,X.lFrame.contextLView))[8]}(t)}function MA(t,n){let e=null;const i=function nM(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let r=0;r>17&32767}function Yd(t){return 2|t}function ur(t){return(131068&t)>>2}function Xd(t,n){return-131069&t|n<<2}function Jd(t){return 1|t}function xy(t,n,e,i,r){const s=t[e+1],o=null===n;let a=i?Ni(s):ur(s),l=!1;for(;0!==a&&(!1===l||o);){const u=t[a+1];NA(t[a],n)&&(l=!0,t[a+1]=i?Jd(u):Yd(u)),a=i?Ni(u):ur(u)}l&&(t[e+1]=i?Yd(s):Jd(s))}function NA(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Yr(t,n)>=0}const st={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ry(t){return t.substring(st.key,st.keyEnd)}function FA(t){return t.substring(st.value,st.valueEnd)}function Ny(t,n){const e=st.textEnd;return e===n?-1:(n=st.keyEnd=function VA(t,n,e){for(;n32;)n++;return n}(t,st.key=n,e),gs(t,n,e))}function Fy(t,n){const e=st.textEnd;let i=st.key=gs(t,n,e);return e===i?-1:(i=st.keyEnd=function BA(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=Ly(t,i,e),i=st.value=gs(t,i,e),i=st.valueEnd=function HA(t,n,e){let i=-1,r=-1,s=-1,o=n,a=o;for(;o32&&(a=o),s=r,r=i,i=-33&l}return a}(t,i,e),Ly(t,i,e))}function ky(t){st.key=0,st.keyEnd=0,st.value=0,st.valueEnd=0,st.textEnd=t.length}function gs(t,n,e){for(;n=0;e=Fy(n,e))$y(t,Ry(n),FA(n))}function Ke(t){Pn(Qt,Wn,t,!0)}function Wn(t,n){for(let e=function kA(t){return ky(t),Ny(t,gs(t,0,st.textEnd))}(n);e>=0;e=Ny(n,e))Qt(t,Ry(n),!0)}function On(t,n,e,i){const r=M(),s=pe(),o=ci(2);s.firstUpdatePass&&Hy(s,t,o,i),n!==J&&bt(r,o,n)&&Uy(s,s.data[Rt()],r,r[11],t,r[o+1]=function KA(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Re(Zt(t)))),t}(n,e),i,o)}function Pn(t,n,e,i){const r=pe(),s=ci(2);r.firstUpdatePass&&Hy(r,null,s,i);const o=M();if(e!==J&&bt(o,s,e)){const a=r.data[Rt()];if(zy(a,i)&&!By(r,s)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=fu(l,e||"")),Kd(r,a,o,e,i)}else!function qA(t,n,e,i,r,s,o,a){r===J&&(r=me);let l=0,c=0,u=0=t.expandoStartIndex}function Hy(t,n,e,i){const r=t.data;if(null===r[e+1]){const s=r[Rt()],o=By(t,e);zy(s,i)&&null===n&&!o&&(n=!1),n=function UA(t,n,e,i){const r=function Pu(t){const n=X.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}(t);let s=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Do(e=th(null,t,n,e,i),n.attrs,i),s=null);else{const o=n.directiveStylingLast;if(-1===o||t[o]!==r)if(e=th(r,t,n,e,i),null===s){let l=function jA(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==ur(i))return t[Ni(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=th(null,t,n,l[1],i),l=Do(l,n.attrs,i),function zA(t,n,e,i){t[Ni(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else s=function GA(t,n,e){let i;const r=n.directiveEnd;for(let s=1+n.directiveStylingLast;s0)&&(c=!0)):u=e,r)if(0!==l){const h=Ni(t[a+1]);t[i+1]=Tl(h,a),0!==h&&(t[h+1]=Xd(t[h+1],i)),t[a+1]=function OA(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Tl(a,0),0!==a&&(t[a+1]=Xd(t[a+1],i)),a=i;else t[i+1]=Tl(l,0),0===a?a=i:t[l+1]=Xd(t[l+1],i),l=i;c&&(t[i+1]=Yd(t[i+1])),xy(t,u,i,!0),xy(t,u,i,!1),function RA(t,n,e,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof n&&Yr(s,n)>=0&&(e[i+1]=Jd(e[i+1]))}(n,u,t,i,s),o=Tl(a,l),s?n.classBindings=o:n.styleBindings=o}(r,s,n,e,o,i)}}function th(t,n,e,i,r){let s=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===J&&(h=d?me:void 0);let p=d?Gu(h,i):u===i?h:void 0;if(c&&!Ml(p)&&(p=Gu(l,i)),Ml(p)&&(a=p,o))return a;const f=t[r+1];r=o?Ni(f):ur(f)}if(null!==n){let l=s?n.residualClasses:n.residualStyles;null!=l&&(a=Gu(l,i))}return a}function Ml(t){return void 0!==t}function zy(t,n){return 0!=(t.flags&(n?8:16))}function P(t,n=""){const e=M(),i=pe(),r=t+22,s=i.firstCreatePass?ss(i,r,1,n,null):i.data[r],o=e[r]=function rd(t,n){return t.createText(n)}(e[11],n);ll(i,e,o,s),Hn(s,!1)}function _e(t){return ot("",t,""),_e}function ot(t,n,e){const i=M(),r=function as(t,n,e,i){return bt(t,zr(),e)?n+Y(e)+i:J}(i,t,n,e);return r!==J&&function hi(t,n,e){const i=Wa(n,t);!function Hm(t,n,e){t.setValue(n,e)}(t[11],i,e)}(i,Rt(),r),ot}const hr=void 0;var fO=["en",[["a","p"],["AM","PM"],hr],[["AM","PM"],hr,hr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hr,"{1} 'at' {0}",hr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function pO(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ms={};function Nt(t){const n=function gO(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=dv(n);if(e)return e;const i=n.split("-")[0];if(e=dv(i),e)return e;if("en"===i)return fO;throw new I(701,!1)}function dv(t){return t in ms||(ms[t]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[t]),ms[t]}var R=(()=>((R=R||{})[R.LocaleId=0]="LocaleId",R[R.DayPeriodsFormat=1]="DayPeriodsFormat",R[R.DayPeriodsStandalone=2]="DayPeriodsStandalone",R[R.DaysFormat=3]="DaysFormat",R[R.DaysStandalone=4]="DaysStandalone",R[R.MonthsFormat=5]="MonthsFormat",R[R.MonthsStandalone=6]="MonthsStandalone",R[R.Eras=7]="Eras",R[R.FirstDayOfWeek=8]="FirstDayOfWeek",R[R.WeekendRange=9]="WeekendRange",R[R.DateFormat=10]="DateFormat",R[R.TimeFormat=11]="TimeFormat",R[R.DateTimeFormat=12]="DateTimeFormat",R[R.NumberSymbols=13]="NumberSymbols",R[R.NumberFormats=14]="NumberFormats",R[R.CurrencyCode=15]="CurrencyCode",R[R.CurrencySymbol=16]="CurrencySymbol",R[R.CurrencyName=17]="CurrencyName",R[R.Currencies=18]="Currencies",R[R.Directionality=19]="Directionality",R[R.PluralCase=20]="PluralCase",R[R.ExtraData=21]="ExtraData",R))();const _s="en-US";let hv=_s;function rh(t,n,e,i,r){if(t=q(t),Array.isArray(t))for(let s=0;s>20;if(ar(t)||!t.multi){const p=new eo(l,r,D),f=oh(a,n,r?u:u+h,d);-1===f?($u(el(c,o),s,a),sh(s,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(p),o.push(p)):(e[f]=p,o[f]=p)}else{const p=oh(a,n,u+h,d),f=oh(a,n,u,u+h),w=f>=0&&e[f];if(r&&!w||!r&&!(p>=0&&e[p])){$u(el(c,o),s,a);const b=function hP(t,n,e,i,r){const s=new eo(t,e,D);return s.multi=[],s.index=n,s.componentProviders=0,Lv(s,r,i&&!e),s}(r?dP:uP,e.length,r,i,l);!r&&w&&(e[f].providerFactory=b),sh(s,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(b),o.push(b)}else sh(s,t,p>-1?p:f,Lv(e[r?f:p],l,!r&&i));!r&&i&&w&&e[f].componentProviders++}}}function sh(t,n,e,i){const r=ar(n),s=function T1(t){return!!t.useClass}(n);if(r||s){const l=(s?q(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function Lv(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function oh(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function cP(t,n,e){const i=pe();if(i.firstCreatePass){const r=Tn(t);rh(e,i.data,i.blueprint,r,!0),rh(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class ys{}class Vv{}class Bv extends ys{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new iy(this);const i=Gt(n);this._bootstrapComponents=di(i.bootstrap),this._r3Injector=F_(n,e,[{provide:ys,useValue:this},{provide:go,useValue:this.componentFactoryResolver}],Re(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(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class lh extends Vv{constructor(n){super(),this.moduleType=n}create(n){return new Bv(this.moduleType,n)}}class fP extends ys{constructor(n,e,i){super(),this.componentFactoryResolver=new iy(this),this.instance=null;const r=new w_([...n,{provide:ys,useValue:this},{provide:go,useValue:this.componentFactoryResolver}],e||ml(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Rl(t,n,e=null){return new fP(t,n,e).injector}let gP=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=m_(0,e.type),r=i.length>0?Rl([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=k({token:t,providedIn:"environment",factory:()=>new t(x(jn))}),t})();function Hv(t){t.getStandaloneInjector=n=>n.get(gP).getOrCreateStandaloneInjector(t)}function pr(t,n,e){const i=xt()+t,r=M();return r[i]===J?Gn(r,i,e?n.call(e):n()):function Co(t,n){return t[n]}(r,i)}function le(t,n,e,i){return Qv(M(),xt(),t,n,e,i)}function Ft(t,n,e,i,r){return Zv(M(),xt(),t,n,e,i,r)}function fr(t,n,e,i,r,s){return function Yv(t,n,e,i,r,s,o,a){const l=n+e;return function Il(t,n,e,i,r){const s=cr(t,n,e,i);return bt(t,n+2,r)||s}(t,l,r,s,o)?Gn(t,l+3,a?i.call(a,r,s,o):i(r,s,o)):Ao(t,l+3)}(M(),xt(),t,n,e,i,r,s)}function qv(t,n,e,i,r,s,o){return function Xv(t,n,e,i,r,s,o,a,l){const c=n+e;return function pn(t,n,e,i,r,s){const o=cr(t,n,e,i);return cr(t,n+2,r,s)||o}(t,c,r,s,o,a)?Gn(t,c+4,l?i.call(l,r,s,o,a):i(r,s,o,a)):Ao(t,c+4)}(M(),xt(),t,n,e,i,r,s,o)}function Kv(t,n,e,i){return function Jv(t,n,e,i,r,s){let o=n+e,a=!1;for(let l=0;l=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const s=i.factory||(i.factory=er(i.type)),o=ln(D);try{const a=Ja(!1),l=s();return Ja(a),function SA(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,M(),r,l),l}finally{ln(o)}}function uh(t,n,e){const i=t+22,r=M(),s=jr(r,i);return Oo(r,i)?Qv(r,xt(),n,s.transform,e,s):s.transform(e)}function gr(t,n,e,i){const r=t+22,s=M(),o=jr(s,r);return Oo(s,r)?Zv(s,xt(),n,o.transform,e,i,o):o.transform(e,i)}function Oo(t,n){return t[1].data[n].pure}function dh(t){return n=>{setTimeout(t,void 0,n)}}const U=class xP extends bn{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let r=n,s=e||(()=>null),o=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),s=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(s=dh(s),r&&(r=dh(r)),o&&(o=dh(o)));const a=super.subscribe({next:r,error:s,complete:o});return n instanceof sn&&n.add(a),a}};function RP(){return this._results[lr()]()}class hh{get changes(){return this._changes||(this._changes=new U)}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 e=lr(),i=hh.prototype;i[e]||(i[e]=RP)}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,e){return this._results.reduce(n,e)}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,e){const i=this;i.dirty=!1;const r=function un(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function QI(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=kP,t})();const NP=qn,FP=class extends NP{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,r=yl(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(i)),Nd(i,r,n),new vo(r)}};function kP(){return Nl(gt(),M())}function Nl(t,n){return 4&t.type?new FP(n,t,ts(t,n)):null}let gn=(()=>{class t{}return t.__NG_ELEMENT_ID__=LP,t})();function LP(){return nw(gt(),M())}const VP=gn,ew=class extends VP{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return ts(this._hostTNode,this._hostLView)}get injector(){return new Wr(this._hostTNode,this._hostLView)}get parentInjector(){const n=Hu(this._hostTNode,this._hostLView);if(om(n)){const e=Xa(n,this._hostLView),i=Ya(n);return new Wr(e[1].data[i+8],e)}return new Wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=tw(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const o=n.createEmbeddedView(e||{},s);return this.insert(o,r),o}createComponent(n,e,i,r,s){const o=n&&!function io(t){return"function"==typeof t}(n);let a;if(o)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,s=d.environmentInjector||d.ngModuleRef}const l=o?n:new wo(Ce(n)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(jn,null);h&&(s=h)}const u=l.create(c,r,void 0,s);return this.insert(u.hostView,a),u}insert(n,e){const i=n._lView,r=i[1];if(function _I(t){return In(t[3])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const d=i[3],h=new ew(d,d[6],d[3]);h.detach(h.indexOf(n))}}const s=this._adjustIndex(e),o=this._lContainer;!function LT(t,n,e,i){const r=10+i,s=e.length;i>0&&(e[r-1][4]=n),i0)i.push(o[a/2]);else{const c=s[a+1],u=n[-l];for(let d=10;d{class t{constructor(e){this.appInits=e,this.resolve=kl,this.reject=kl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:a,error:l})});e.push(o)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(x(Ll,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xo=new H("AppId",{providedIn:"root",factory:function Iw(){return`${Dh()}${Dh()}${Dh()}`}});function Dh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Tw=new H("Platform Initializer"),Sh=new H("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Mw=new H("appBootstrapListener"),Aw=new H("AnimationModuleType");let ux=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const mi=new H("LocaleId",{providedIn:"root",factory:()=>ce(mi,K.Optional|K.SkipSelf)||function dx(){return typeof $localize<"u"&&$localize.locale||_s}()}),hx=new H("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class px{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let Ow=(()=>{class t{compileModuleSync(e){return new lh(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=di(Gt(e).declarations).reduce((o,a)=>{const l=Ce(a);return l&&o.push(new wo(l)),o},[]);return new px(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const mx=(()=>Promise.resolve(0))();function Eh(t){typeof Zone>"u"?mx.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Te{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new U(!1),this.onMicrotaskEmpty=new U(!1),this.onStable=new U(!1),this.onError=new U(!1),typeof Zone>"u")throw new I(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&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function _x(){let t=Ne.requestAnimationFrame,n=Ne.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function wx(t){const n=()=>{!function vx(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ne,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Th(t),t.isCheckStableRunning=!0,Ih(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Th(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,s,o,a)=>{try{return Rw(t),e.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),Nw(t)}},onInvoke:(e,i,r,s,o,a,l)=>{try{return Rw(t),e.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),Nw(t)}},onHasTask:(e,i,r,s)=>{e.hasTask(r,s),i===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Th(t),Ih(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Te.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Te.isInAngularZone())throw new I(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,n,yx,kl,kl);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const yx={};function Ih(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Th(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Rw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nw(t){t._nesting--,Ih(t)}class Cx{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new U,this.onMicrotaskEmpty=new U,this.onStable=new U,this.onError=new U}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}const Fw=new H(""),Bl=new H("");let Oh,Mh=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Oh||(function bx(t){Oh=t}(r),r.addToWindow(i)),this._watchAngularEvents(),e.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:()=>{Te.assertNotInAngularZone(),Eh(()=>{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())Eh(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:r})}whenStable(e,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(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return t.\u0275fac=function(e){return new(e||t)(x(Te),x(Ah),x(Bl))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),Ah=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Oh?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Fi=null;const kw=new H("AllowMultipleToken"),Ph=new H("PlatformDestroyListeners");class Lw{constructor(n,e){this.name=n,this.token=e}}function Bw(t,n,e=[]){const i=`Platform: ${n}`,r=new H(i);return(s=[])=>{let o=xh();if(!o||o.injector.get(kw,!1)){const a=[...e,...s,{provide:r,useValue:!0}];t?t(a):function Ex(t){if(Fi&&!Fi.get(kw,!1))throw new I(400,!1);Fi=t;const n=t.get($w);(function Vw(t){const n=t.get(Tw,null);n&&n.forEach(e=>e())})(t)}(function Hw(t=[],n){return hn.create({name:n,providers:[{provide:bd,useValue:"platform"},{provide:Ph,useValue:new Set([()=>Fi=null])},...t]})}(a,i))}return function Tx(t){const n=xh();if(!n)throw new I(401,!1);return n}()}}function xh(){return Fi?.get($w)??null}let $w=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function jw(t,n){let e;return e="noop"===t?new Cx:("zone.js"===t?void 0:t)||new Te(n),e}(i?.ngZone,function Uw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),s=[{provide:Te,useValue:r}];return r.run(()=>{const o=hn.create({providers:s,parent:this.injector,name:e.moduleType.name}),a=e.create(o),l=a.injector.get(ns,null);if(!l)throw new I(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Hl(this._modules,a),c.unsubscribe()})}),function zw(t,n,e){try{const i=e();return bo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Vl);return c.runInitializers(),c.donePromise.then(()=>(function pv(t){an(t,"Expected localeId to be defined"),"string"==typeof t&&(hv=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(mi,_s)||_s),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=Gw({},i);return function Dx(t,n,e){const i=new lh(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(e){const i=e.injector.get(Ro);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new I(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Ph,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(x(hn))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function Gw(t,n){return Array.isArray(n)?n.reduce(Gw,t):{...t,...n}}let Ro=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new We(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),o=new We(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Te.assertNotInAngularZone(),Eh(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Te.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=function L0(...t){const n=zs(t),e=function O0(t,n){return"number"==typeof du(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?on(i[0]):kr(e)(Xe(i,n)):Vn}(s,o.pipe(function V0(t={}){const{connector:n=(()=>new bn),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return s=>{let o,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),o=l=void 0,u=d=!1},f=()=>{const _=o;p(),_?.unsubscribe()};return ct((_,w)=>{c++,!d&&!u&&h();const b=l=l??n();w.add(()=>{c--,0===c&&!d&&!u&&(a=hu(f,r))}),b.subscribe(w),!o&&c>0&&(o=new js({next:T=>b.next(T),error:T=>{d=!0,h(),a=hu(p,e,T),b.error(T)},complete:()=>{u=!0,h(),a=hu(p,i),b.complete()}}),on(_).subscribe(o))})(s)}}()))}bootstrap(e,i){const r=e instanceof b_;if(!this._injector.get(Vl).done)throw!r&&function Vr(t){const n=Ce(t)||yt(t)||Ot(t);return null!==n&&n.standalone}(e),new I(405,false);let o;o=r?e:this._injector.get(go).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const a=function Sx(t){return t.isBoundToModule}(o)?void 0:this._injector.get(ys),c=o.create(hn.NULL,[],i||o.selector,a),u=c.location.nativeElement,d=c.injector.get(Fw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Hl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Hl(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(Mw,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Hl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new I(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(x(Te),x(jn),x(ns))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Hl(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let Ut=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ax,t})();function Ax(t){return function Ox(t,n,e){if(Xs(t)&&!e){const i=Kt(t.index,n);return new vo(i,i)}return 47&t.type?new vo(n[16],n):null}(gt(),M(),16==(16&t))}class Zw{constructor(){}supports(n){return El(n)}create(n){return new kx(n)}}const Fx=(t,n)=>n;class kx{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||Fx}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{o=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,o)?(i&&(e=this._verifyReinsertion(e,a,o,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),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,e,i,r){let s;return null===n?s=this._itTail:(s=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,s,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,s,r)):n=this._addAfter(new Lx(e,i),s,r),n}_verifyReinsertion(n,e,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?n=this._reinsertAfter(s,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}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,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,s=n._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new Yw),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 e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yw),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,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Lx{constructor(n,e){this.item=n,this.trackById=e,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 Vx{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,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class Yw{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new Vx,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Xw(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const s=r._prev,o=r._next;return s&&(s._next=o),o&&(o._prev=s),r._next=null,r._prev=null,r}const i=new Hx(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class Hx{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function eC(){return new jl([new Zw])}let jl=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||eC()),deps:[[t,new oo,new so]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new I(901,!1)}}return t.\u0275prov=k({token:t,providedIn:"root",factory:eC}),t})();function tC(){return new No([new Jw])}let No=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||tC()),deps:[[t,new oo,new so]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new I(901,!1)}}return t.\u0275prov=k({token:t,providedIn:"root",factory:tC}),t})();const jx=Bw(null,"core",[]);let zx=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(x(Ro))},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({}),t})();function Cs(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let Lh=null;function Kn(){return Lh}class qx{}const Qe=new H("DocumentToken");let Vh=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(){return function Kx(){return x(nC)}()},providedIn:"platform"}),t})();const Qx=new H("Location Initialized");let nC=(()=>{class t extends Vh{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kn().getBaseHref(this._doc)}onPopState(e){const i=Kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,i,r){iC()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){iC()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(x(Qe))},t.\u0275prov=k({token:t,factory:function(){return function Zx(){return new nC(x(Qe))}()},providedIn:"platform"}),t})();function iC(){return!!window.history.pushState}function Bh(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function rC(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function yi(t){return t&&"?"!==t[0]?"?"+t:t}let _r=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(){return ce(oC)},providedIn:"root"}),t})();const sC=new H("appBaseHref");let oC=(()=>{class t extends _r{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ce(Qe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Bh(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+yi(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,s){const o=this.prepareExternalUrl(r+yi(s));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){const o=this.prepareExternalUrl(r+yi(s));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(x(Vh),x(sC,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Yx=(()=>{class t extends _r{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=Bh(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,s){let o=this.prepareExternalUrl(r+yi(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){let o=this.prepareExternalUrl(r+yi(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(x(Vh),x(sC,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),Hh=(()=>{class t{constructor(e){this._subject=new U,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function eR(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(rC(aC(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(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+yi(i))}normalize(e){return t.stripTrailingSlash(function Jx(t,n){return t&&new RegExp(`^${t}([/;?#]|$)`).test(n)?n.substring(t.length):n}(this._basePath,aC(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+yi(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+yi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return t.normalizeQueryParams=yi,t.joinWithSlash=Bh,t.stripTrailingSlash=rC,t.\u0275fac=function(e){return new(e||t)(x(_r))},t.\u0275prov=k({token:t,factory:function(){return function Xx(){return new Hh(x(_r))}()},providedIn:"root"}),t})();function aC(t){return t.replace(/\/index.html$/,"")}const lC={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var jt=(()=>((jt=jt||{})[jt.Decimal=0]="Decimal",jt[jt.Percent=1]="Percent",jt[jt.Currency=2]="Currency",jt[jt.Scientific=3]="Scientific",jt))(),Ze=(()=>((Ze=Ze||{})[Ze.Format=0]="Format",Ze[Ze.Standalone=1]="Standalone",Ze))(),de=(()=>((de=de||{})[de.Narrow=0]="Narrow",de[de.Abbreviated=1]="Abbreviated",de[de.Wide=2]="Wide",de[de.Short=3]="Short",de))(),Ue=(()=>((Ue=Ue||{})[Ue.Short=0]="Short",Ue[Ue.Medium=1]="Medium",Ue[Ue.Long=2]="Long",Ue[Ue.Full=3]="Full",Ue))(),W=(()=>((W=W||{})[W.Decimal=0]="Decimal",W[W.Group=1]="Group",W[W.List=2]="List",W[W.PercentSign=3]="PercentSign",W[W.PlusSign=4]="PlusSign",W[W.MinusSign=5]="MinusSign",W[W.Exponential=6]="Exponential",W[W.SuperscriptingExponent=7]="SuperscriptingExponent",W[W.PerMille=8]="PerMille",W[W.Infinity=9]="Infinity",W[W.NaN=10]="NaN",W[W.TimeSeparator=11]="TimeSeparator",W[W.CurrencyDecimal=12]="CurrencyDecimal",W[W.CurrencyGroup=13]="CurrencyGroup",W))();function zl(t,n){return _n(Nt(t)[R.DateFormat],n)}function Gl(t,n){return _n(Nt(t)[R.TimeFormat],n)}function Wl(t,n){return _n(Nt(t)[R.DateTimeFormat],n)}function mn(t,n){const e=Nt(t),i=e[R.NumberSymbols][n];if(typeof i>"u"){if(n===W.CurrencyDecimal)return e[R.NumberSymbols][W.Decimal];if(n===W.CurrencyGroup)return e[R.NumberSymbols][W.Group]}return i}function cC(t){if(!t[R.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[R.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function _n(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function Uh(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const pR=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fo={},fR=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=(()=>((at=at||{})[at.Short=0]="Short",at[at.ShortGMT=1]="ShortGMT",at[at.Long=2]="Long",at[at.Extended=3]="Extended",at))(),Q=(()=>((Q=Q||{})[Q.FullYear=0]="FullYear",Q[Q.Month=1]="Month",Q[Q.Date=2]="Date",Q[Q.Hours=3]="Hours",Q[Q.Minutes=4]="Minutes",Q[Q.Seconds=5]="Seconds",Q[Q.FractionalSeconds=6]="FractionalSeconds",Q[Q.Day=7]="Day",Q))(),ie=(()=>((ie=ie||{})[ie.DayPeriods=0]="DayPeriods",ie[ie.Days=1]="Days",ie[ie.Months=2]="Months",ie[ie.Eras=3]="Eras",ie))();function gR(t,n,e,i){let r=function SR(t){if(hC(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[r,s=1,o=1]=t.split("-").map(a=>+a);return ql(r,s-1,o)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(pR))return function ER(t){const n=new Date(0);let e=0,i=0;const r=t[8]?n.setUTCFullYear:n.setFullYear,s=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-e,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(n,o,a,l,c),n}(i)}const n=new Date(t);if(!hC(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=vi(e,n)||n;let a,o=[];for(;n;){if(a=fR.exec(n),!a){o.push(n);break}{o=o.concat(a.slice(1));const u=o.pop();if(!u)break;n=u}}let l=r.getTimezoneOffset();i&&(l=dC(i,l),r=function DR(t,n,e){const i=e?-1:1,r=t.getTimezoneOffset();return function bR(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(dC(n,r)-r))}(r,i,!0));let c="";return o.forEach(u=>{const d=function CR(t){if(zh[t])return zh[t];let n;switch(t){case"G":case"GG":case"GGG":n=Le(ie.Eras,de.Abbreviated);break;case"GGGG":n=Le(ie.Eras,de.Wide);break;case"GGGGG":n=Le(ie.Eras,de.Narrow);break;case"y":n=tt(Q.FullYear,1,0,!1,!0);break;case"yy":n=tt(Q.FullYear,2,0,!0,!0);break;case"yyy":n=tt(Q.FullYear,3,0,!1,!0);break;case"yyyy":n=tt(Q.FullYear,4,0,!1,!0);break;case"Y":n=Yl(1);break;case"YY":n=Yl(2,!0);break;case"YYY":n=Yl(3);break;case"YYYY":n=Yl(4);break;case"M":case"L":n=tt(Q.Month,1,1);break;case"MM":case"LL":n=tt(Q.Month,2,1);break;case"MMM":n=Le(ie.Months,de.Abbreviated);break;case"MMMM":n=Le(ie.Months,de.Wide);break;case"MMMMM":n=Le(ie.Months,de.Narrow);break;case"LLL":n=Le(ie.Months,de.Abbreviated,Ze.Standalone);break;case"LLLL":n=Le(ie.Months,de.Wide,Ze.Standalone);break;case"LLLLL":n=Le(ie.Months,de.Narrow,Ze.Standalone);break;case"w":n=jh(1);break;case"ww":n=jh(2);break;case"W":n=jh(1,!0);break;case"d":n=tt(Q.Date,1);break;case"dd":n=tt(Q.Date,2);break;case"c":case"cc":n=tt(Q.Day,1);break;case"ccc":n=Le(ie.Days,de.Abbreviated,Ze.Standalone);break;case"cccc":n=Le(ie.Days,de.Wide,Ze.Standalone);break;case"ccccc":n=Le(ie.Days,de.Narrow,Ze.Standalone);break;case"cccccc":n=Le(ie.Days,de.Short,Ze.Standalone);break;case"E":case"EE":case"EEE":n=Le(ie.Days,de.Abbreviated);break;case"EEEE":n=Le(ie.Days,de.Wide);break;case"EEEEE":n=Le(ie.Days,de.Narrow);break;case"EEEEEE":n=Le(ie.Days,de.Short);break;case"a":case"aa":case"aaa":n=Le(ie.DayPeriods,de.Abbreviated);break;case"aaaa":n=Le(ie.DayPeriods,de.Wide);break;case"aaaaa":n=Le(ie.DayPeriods,de.Narrow);break;case"b":case"bb":case"bbb":n=Le(ie.DayPeriods,de.Abbreviated,Ze.Standalone,!0);break;case"bbbb":n=Le(ie.DayPeriods,de.Wide,Ze.Standalone,!0);break;case"bbbbb":n=Le(ie.DayPeriods,de.Narrow,Ze.Standalone,!0);break;case"B":case"BB":case"BBB":n=Le(ie.DayPeriods,de.Abbreviated,Ze.Format,!0);break;case"BBBB":n=Le(ie.DayPeriods,de.Wide,Ze.Format,!0);break;case"BBBBB":n=Le(ie.DayPeriods,de.Narrow,Ze.Format,!0);break;case"h":n=tt(Q.Hours,1,-12);break;case"hh":n=tt(Q.Hours,2,-12);break;case"H":n=tt(Q.Hours,1);break;case"HH":n=tt(Q.Hours,2);break;case"m":n=tt(Q.Minutes,1);break;case"mm":n=tt(Q.Minutes,2);break;case"s":n=tt(Q.Seconds,1);break;case"ss":n=tt(Q.Seconds,2);break;case"S":n=tt(Q.FractionalSeconds,1);break;case"SS":n=tt(Q.FractionalSeconds,2);break;case"SSS":n=tt(Q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Ql(at.Short);break;case"ZZZZZ":n=Ql(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ql(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ql(at.Long);break;default:return null}return zh[t]=n,n}(u);c+=d?d(r,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ql(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function vi(t,n){const e=function tR(t){return Nt(t)[R.LocaleId]}(t);if(Fo[e]=Fo[e]||{},Fo[e][n])return Fo[e][n];let i="";switch(n){case"shortDate":i=zl(t,Ue.Short);break;case"mediumDate":i=zl(t,Ue.Medium);break;case"longDate":i=zl(t,Ue.Long);break;case"fullDate":i=zl(t,Ue.Full);break;case"shortTime":i=Gl(t,Ue.Short);break;case"mediumTime":i=Gl(t,Ue.Medium);break;case"longTime":i=Gl(t,Ue.Long);break;case"fullTime":i=Gl(t,Ue.Full);break;case"short":const r=vi(t,"shortTime"),s=vi(t,"shortDate");i=Kl(Wl(t,Ue.Short),[r,s]);break;case"medium":const o=vi(t,"mediumTime"),a=vi(t,"mediumDate");i=Kl(Wl(t,Ue.Medium),[o,a]);break;case"long":const l=vi(t,"longTime"),c=vi(t,"longDate");i=Kl(Wl(t,Ue.Long),[l,c]);break;case"full":const u=vi(t,"fullTime"),d=vi(t,"fullDate");i=Kl(Wl(t,Ue.Full),[u,d])}return i&&(Fo[e][n]=i),i}function Kl(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Nn(t,n,e="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=e));let o=String(t);for(;o.length0||a>-e)&&(a+=e),t===Q.Hours)0===a&&-12===e&&(a=12);else if(t===Q.FractionalSeconds)return function mR(t,n){return Nn(t,3).substring(0,n)}(a,n);const l=mn(o,W.MinusSign);return Nn(a,n,l,i,r)}}function Le(t,n,e=Ze.Format,i=!1){return function(r,s){return function yR(t,n,e,i,r,s){switch(e){case ie.Months:return function rR(t,n,e){const i=Nt(t),s=_n([i[R.MonthsFormat],i[R.MonthsStandalone]],n);return _n(s,e)}(n,r,i)[t.getMonth()];case ie.Days:return function iR(t,n,e){const i=Nt(t),s=_n([i[R.DaysFormat],i[R.DaysStandalone]],n);return _n(s,e)}(n,r,i)[t.getDay()];case ie.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const c=function lR(t){const n=Nt(t);return cC(n),(n[R.ExtraData][2]||[]).map(i=>"string"==typeof i?Uh(i):[Uh(i[0]),Uh(i[1])])}(n),u=function cR(t,n,e){const i=Nt(t);cC(i);const s=_n([i[R.ExtraData][0],i[R.ExtraData][1]],n)||[];return _n(s,e)||[]}(n,r,i),d=c.findIndex(h=>{if(Array.isArray(h)){const[p,f]=h,_=o>=p.hours&&a>=p.minutes,w=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case at.Short:return(r>=0?"+":"")+Nn(o,2,s)+Nn(Math.abs(r%60),2,s);case at.ShortGMT:return"GMT"+(r>=0?"+":"")+Nn(o,1,s);case at.Long:return"GMT"+(r>=0?"+":"")+Nn(o,2,s)+":"+Nn(Math.abs(r%60),2,s);case at.Extended:return 0===i?"Z":(r>=0?"+":"")+Nn(o,2,s)+":"+Nn(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function uC(t){return ql(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function jh(t,n=!1){return function(e,i){let r;if(n){const s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+s)/7)}else{const s=uC(e),o=function wR(t){const n=ql(t,0,1).getDay();return ql(t,0,1+(n<=4?4:11)-n)}(s.getFullYear()),a=s.getTime()-o.getTime();r=1+Math.round(a/6048e5)}return Nn(r,t,mn(i,W.MinusSign))}}function Yl(t,n=!1){return function(e,i){return Nn(uC(e).getFullYear(),t,mn(i,W.MinusSign),n)}}const zh={};function dC(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function hC(t){return t instanceof Date&&!isNaN(t.valueOf())}const IR=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function OR(t,n,e,i,r){const o=function qh(t,n="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";e.posPre=a.substring(0,a.indexOf("#"));for(let u=0;u-1&&(n=n.replace(".","")),(s=n.search(/e/i))>0?(r<0&&(r=s),r+=+n.slice(s+1),n=n.substring(0,s)):r<0&&(r=n.length),s=0;"0"===n.charAt(s);s++);if(s===(a=n.length))i=[0],r=1;else{for(a--;"0"===n.charAt(a);)a--;for(r-=s,i=[],o=0;s<=a;s++,o++)i[o]=Number(n.charAt(s))}return r>22&&(i=i.splice(0,21),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}(t);o&&(c=function RR(t){if(0===t.digits[0])return t;const n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(c));let u=n.minInt,d=n.minFrac,h=n.maxFrac;if(s){const T=s.match(IR);if(null===T)throw new Error(`${s} is not a valid digit info`);const E=T[1],O=T[3],te=T[5];null!=E&&(u=Kh(E)),null!=O&&(d=Kh(O)),null!=te?h=Kh(te):null!=O&&d>h&&(h=d)}!function FR(t,n,e){if(n>e)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${e}).`);let i=t.digits,r=i.length-t.integerLen;const s=Math.min(Math.max(n,r),e);let o=s+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let d=o;d=5)if(o-1<0){for(let d=0;d>o;d--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r=c?f.pop():l=!1),h>=10?1:0},0);u&&(i.unshift(u),t.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const _=c.exponent;let w=[];for(l=p.every(T=>!T);f0?w=p.splice(f,p.length):(w=p,p=[0]);const b=[];for(p.length>=n.lgSize&&b.unshift(p.splice(-n.lgSize,p.length).join(""));p.length>n.gSize;)b.unshift(p.splice(-n.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join(mn(e,i)),w.length&&(a+=mn(e,r)+w.join("")),_&&(a+=mn(e,W.Exponential)+"+"+_)}else a=mn(e,W.Infinity);return a=t<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(t,o,n,W.CurrencyGroup,W.CurrencyDecimal,r).replace("\xa4",e).replace("\xa4","").trim()}function Kh(t){const n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}function mC(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(s)}return null}const Zh=/\s+/,_C=[];let Qn=(()=>{class t{constructor(e,i,r,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=s,this.initialClasses=_C,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Zh):_C}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Zh):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Zh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return t.\u0275fac=function(e){return new(e||t)(D(jl),D(No),D($e),D(Yt))},t.\u0275dir=j({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class VR{constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,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 Jt=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,s,o)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new VR(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===s?void 0:s);else if(null!==s){const a=i.get(s);i.move(a,o),wC(a,r)}});for(let r=0,s=i.length;r{wC(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(D(gn),D(qn),D(jl))},t.\u0275dir=j({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function wC(t,n){t.context.$implicit=n.item}let Dt=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new HR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){CC("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){CC("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(D(gn),D(qn))},t.\u0275dir=j({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class HR{constructor(){this.$implicit=null,this.ngIf=null}}function CC(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Re(n)}'.`)}class Yh{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Jl=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=j({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),bC=(()=>{class t{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Yh(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(D(gn),D(qn),D(Jl,9))},t.\u0275dir=j({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),Zn=(()=>{class t{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,s]=e.split("."),o=-1===r.indexOf("-")?void 0:Ht.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${i}${s}`:i,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(D($e),D(No),D(Yt))},t.\u0275dir=j({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),Yn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:s,ngTemplateOutletInjector:o}=this;this._viewRef=i.createEmbeddedView(r,s,o?{injector:o}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(D(gn))},t.\u0275dir=j({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[pt]}),t})();function Fn(t,n){return new I(2100,!1)}let Xh=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Fn();return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Bt({name:"uppercase",type:t,pure:!0,standalone:!0}),t})();const XR=new H("DATE_PIPE_DEFAULT_TIMEZONE"),JR=new H("DATE_PIPE_DEFAULT_OPTIONS");let Lo=(()=>{class t{constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,s){if(null==e||""===e||e!=e)return null;try{return gR(e,i??this.defaultOptions?.dateFormat??"mediumDate",s||this.locale,r??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(o){throw Fn()}}}return t.\u0275fac=function(e){return new(e||t)(D(mi,16),D(XR,24),D(JR,24))},t.\u0275pipe=Bt({name:"date",type:t,pure:!0,standalone:!0}),t})(),EC=(()=>{class t{constructor(e,i="USD"){this._locale=e,this._defaultCurrencyCode=i}transform(e,i=this._defaultCurrencyCode,r="symbol",s,o){if(!function Jh(t){return!(null==t||""===t||t!=t)}(e))return null;o=o||this._locale,"boolean"==typeof r&&(r=r?"symbol":"code");let a=i||this._defaultCurrencyCode;"code"!==r&&(a="symbol"===r||"symbol-narrow"===r?function uR(t,n,e="en"){const i=function oR(t){return Nt(t)[R.Currencies]}(e)[t]||lC[t]||[],r=i[1];return"narrow"===n&&"string"==typeof r?r:i[0]||t}(a,"symbol"===r?"wide":"narrow",o):r);try{return OR(function ep(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}(e),o,a,i,s)}catch(l){throw Fn()}}}return t.\u0275fac=function(e){return new(e||t)(D(mi,16),D(hx,16))},t.\u0275pipe=Bt({name:"currency",type:t,pure:!0,standalone:!0}),t})();let St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({}),t})();let dN=(()=>{class t{}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new hN(x(Qe),window)}),t})();class hN{constructor(n,e){this.document=n,this.window=e,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 e=function pN(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const s=r.shadowRoot;if(s){const o=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],r-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=TC(this.window.history)||TC(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function TC(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class MC{}class HN extends qx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ip extends HN{static makeCurrent(){!function Wx(t){Lh||(Lh=t)}(new ip)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||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,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function $N(){return Bo=Bo||document.querySelector("base"),Bo?Bo.getAttribute("href"):null}();return null==e?null:function UN(t){tc=tc||document.createElement("a"),tc.setAttribute("href",t);const n=tc.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Bo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return mC(document.cookie,n)}}let tc,Bo=null;const NC=new H("TRANSITION_ID"),zN=[{provide:Ll,useFactory:function jN(t,n,e){return()=>{e.get(Vl).donePromise.then(()=>{const i=Kn(),r=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const nc=new H("EventManagerPlugins");let ic=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let s=0;s{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),Ho=(()=>{class t extends kC{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,r.push(i.appendChild(o))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(LC),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(LC))}}return t.\u0275fac=function(e){return new(e||t)(x(Qe))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function LC(t){Kn().remove(t)}const rp={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/"},sp=/%COMP%/g;function op(t,n){return n.flat(100).map(e=>e.replace(sp,t))}function HC(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let rc=(()=>{class t{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new ap(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Sn.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new XN(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case Sn.ShadowDom:return new JN(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=op(i.id,i.styles);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(x(ic),x(Ho),x(xo))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class ap{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(rp[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(UC(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(UC(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const s=rp[r];s?n.setAttributeNS(s,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=rp[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Ht.DashCase|Ht.Important)?n.style.setProperty(e,i,r&Ht.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Ht.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,HC(i)):this.eventManager.addEventListener(n,e,HC(i))}}function UC(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class XN extends ap{constructor(n,e,i,r){super(n),this.component=i;const s=op(r+"-"+i.id,i.styles);e.addStyles(s),this.contentAttr=function QN(t){return"_ngcontent-%COMP%".replace(sp,t)}(r+"-"+i.id),this.hostAttr=function ZN(t){return"_nghost-%COMP%".replace(sp,t)}(r+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class JN extends ap{constructor(n,e,i,r){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=op(r.id,r.styles);for(let o=0;o{class t extends FC{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return t.\u0275fac=function(e){return new(e||t)(x(Qe))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const jC=["alt","control","meta","shift"],tF={"\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"},nF={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let iF=(()=>{class t extends FC{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r){const s=t.parseEventName(i),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kn().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(i.pop());let o="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),o="code."),jC.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),o+=c+".")}),o+=s,0!=i.length||0===s.length)return null;const l={};return l.domEventName=r,l.fullKey=o,l}static matchEventFullKeyCode(e,i){let r=tF[e.key]||e.key,s="";return i.indexOf("code.")>-1&&(r=e.code,s="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),jC.forEach(o=>{o!==r&&(0,nF[o])(e)&&(s+=o+".")}),s+=r,s===i)}static eventCallback(e,i,r){return s=>{t.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(x(Qe))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const aF=Bw(jx,"browser",[{provide:Sh,useValue:"browser"},{provide:Tw,useValue:function rF(){ip.makeCurrent()},multi:!0},{provide:Qe,useFactory:function oF(){return function ZT(t){pd=t}(document),document},deps:[]}]),WC=new H(""),qC=[{provide:Bl,useClass:class GN{addToWindow(n){Ne.getAngularTestability=(i,r=!0)=>{const s=n.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},Ne.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ne.getAllAngularRootElements=()=>n.getAllRootElements(),Ne.frameworkStabilizers||(Ne.frameworkStabilizers=[]),Ne.frameworkStabilizers.push(i=>{const r=Ne.getAllAngularTestabilities();let s=r.length,o=!1;const a=function(l){o=o||l,s--,0==s&&i(o)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Kn().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:Fw,useClass:Mh,deps:[Te,Ah,Bl]},{provide:Mh,useClass:Mh,deps:[Te,Ah,Bl]}],KC=[{provide:bd,useValue:"root"},{provide:ns,useFactory:function sF(){return new ns},deps:[]},{provide:nc,useClass:eF,multi:!0,deps:[Qe,Te,Sh]},{provide:nc,useClass:iF,multi:!0,deps:[Qe]},{provide:rc,useClass:rc,deps:[ic,Ho,xo]},{provide:mo,useExisting:rc},{provide:kC,useExisting:Ho},{provide:Ho,useClass:Ho,deps:[Qe]},{provide:ic,useClass:ic,deps:[nc,Te]},{provide:MC,useClass:WN,deps:[]},[]];let QC=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:xo,useValue:e.appId},{provide:NC,useExisting:xo},zN]}}}return t.\u0275fac=function(e){return new(e||t)(x(WC,12))},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({providers:[...KC,...qC],imports:[St,zx]}),t})(),ZC=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(x(Qe))},t.\u0275prov=k({token:t,factory:function(e){let i=null;return i=e?new e:function cF(){return new ZC(x(Qe))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let JC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(e){let i=null;return i=e?new(e||t):x(eb),i},providedIn:"root"}),t})(),eb=(()=>{class t extends JC{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case ke.NONE:return i;case ke.HTML:return Un(i,"HTML")?Zt(i):d_(this._doc,String(i)).toString();case ke.STYLE:return Un(i,"Style")?Zt(i):i;case ke.SCRIPT:if(Un(i,"Script"))return Zt(i);throw new Error("unsafe value used in a script context");case ke.URL:return Un(i,"URL")?Zt(i):hl(String(i));case ke.RESOURCE_URL:if(Un(i,"ResourceURL"))return Zt(i);throw new Error(`unsafe value used in a resource URL context (see ${Ra})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Ra})`)}}bypassSecurityTrustHtml(e){return function r1(t){return new YT(t)}(e)}bypassSecurityTrustStyle(e){return function s1(t){return new XT(t)}(e)}bypassSecurityTrustScript(e){return function o1(t){return new JT(t)}(e)}bypassSecurityTrustUrl(e){return function a1(t){return new e1(t)}(e)}bypassSecurityTrustResourceUrl(e){return function l1(t){return new t1(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(x(Qe))},t.\u0275prov=k({token:t,factory:function(e){let i=null;return i=e?new e:function mF(t){return new eb(t.get(Qe))}(x(hn)),i},providedIn:"root"}),t})();function $(...t){return Xe(t,zs(t))}class kn extends bn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const sc=$s(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:_F}=Array,{getPrototypeOf:yF,prototype:vF,keys:wF}=Object;function tb(t){if(1===t.length){const n=t[0];if(_F(n))return{args:n,keys:null};if(function CF(t){return t&&"object"==typeof t&&yF(t)===vF}(n)){const e=wF(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:bF}=Array;function nb(t){return re(n=>function DF(t,n){return bF(n)?t(...n):t(n)}(t,n))}function ib(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function rb(...t){const n=zs(t),e=yg(t),{args:i,keys:r}=tb(t);if(0===i.length)return Xe([],n);const s=new We(function SF(t,n,e=Yi){return i=>{sb(n,()=>{const{length:r}=t,s=new Array(r);let o=r,a=r;for(let l=0;l{const c=Xe(t[l],n);let u=!1;c.subscribe(it(i,d=>{s[l]=d,u||(u=!0,a--),a||i.next(e(s.slice()))},()=>{--o||i.complete()}))},i)},i)}}(i,n,r?o=>ib(r,o):Yi));return e?s.pipe(nb(e)):s}function sb(t,n,e){t?ri(e,t,n):n()}function up(...t){return function EF(){return kr(1)}()(Xe(t,zs(t)))}function ob(t){return new We(n=>{on(t()).subscribe(n)})}function $o(t,n){const e=xe(t)?t:()=>t,i=r=>r.error(e());return new We(n?r=>n.schedule(i,0,r):i)}function dp(){return ct((t,n)=>{let e=null;t._refCount++;const i=it(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const r=t._connection,s=e;e=null,r&&(!s||r===s)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class ab extends We{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,rg(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 sn;const e=this.getSubject();n.add(this.source.subscribe(it(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=sn.EMPTY)}return n}refCount(){return dp()(this)}}function ut(t,n){return ct((e,i)=>{let r=null,s=0,o=!1;const a=()=>o&&!r&&i.complete();e.subscribe(it(i,l=>{r?.unsubscribe();let c=0;const u=s++;on(t(l,u)).subscribe(r=it(i,d=>i.next(n?n(l,d,u,c++):d),()=>{r=null,a()}))},()=>{o=!0,a()}))})}function yr(t){return t<=0?()=>Vn:ct((n,e)=>{let i=0;n.subscribe(it(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function wi(t,n){return ct((e,i)=>{let r=0;e.subscribe(it(i,s=>t.call(n,s,r++)&&i.next(s)))})}function oc(t){return ct((n,e)=>{let i=!1;n.subscribe(it(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function lb(t=TF){return ct((n,e)=>{let i=!1;n.subscribe(it(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function TF(){return new sc}function Li(t,n){const e=arguments.length>=2;return i=>i.pipe(t?wi((r,s)=>t(r,s,i)):Yi,yr(1),e?oc(n):lb(()=>new sc))}function Vi(t,n){return xe(n)?ht(t,n,1):ht(t,1)}function Et(t,n,e){const i=xe(t)||n||e?{next:t,error:n,complete:e}:t;return i?ct((r,s)=>{var o;null===(o=i.subscribe)||void 0===o||o.call(i);let a=!0;r.subscribe(it(s,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),s.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),s.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),s.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)}))}):Yi}function Bi(t){return ct((n,e)=>{let s,i=null,r=!1;i=n.subscribe(it(e,void 0,void 0,o=>{s=on(t(o,Bi(t)(n))),i?(i.unsubscribe(),i=null,s.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,s.subscribe(e))})}function MF(t,n,e,i,r){return(s,o)=>{let a=e,l=n,c=0;s.subscribe(it(o,u=>{const d=c++;l=a?t(l,u,d):(a=!0,u),i&&o.next(l)},r&&(()=>{a&&o.next(l),o.complete()})))}}function cb(t,n){return ct(MF(t,n,arguments.length>=2,!0))}function hp(t){return t<=0?()=>Vn:ct((n,e)=>{let i=[];n.subscribe(it(e,r=>{i.push(r),t{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function ub(t,n){const e=arguments.length>=2;return i=>i.pipe(t?wi((r,s)=>t(r,s,i)):Yi,hp(1),e?oc(n):lb(()=>new sc))}function pp(t){return ct((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const ee="primary",Uo=Symbol("RouteTitle");class PF{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function bs(t){return new PF(t)}function xF(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[s]===r)}return t===n}function hb(t){return Array.prototype.concat.apply([],t)}function pb(t){return t.length>0?t[t.length-1]:null}function _t(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Hi(t){return Qd(t)?t:bo(t)?Xe(Promise.resolve(t)):$(t)}const ac=!1,NF={exact:function mb(t,n,e){if(!wr(t.segments,n.segments)||!lc(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!mb(t.children[i],n.children[i],e))return!1;return!0},subset:_b},fb={exact:function FF(t,n){return Xn(t,n)},subset:function kF(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>db(t[e],n[e]))},ignored:()=>!0};function gb(t,n,e){return NF[e.paths](t.root,n.root,e.matrixParams)&&fb[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function _b(t,n,e){return yb(t,n,n.segments,e)}function yb(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!wr(r,e)||n.hasChildren()||!lc(r,e,i))}if(t.segments.length===e.length){if(!wr(t.segments,e)||!lc(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!_b(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!!(wr(t.segments,r)&&lc(t.segments,r,i)&&t.children[ee])&&yb(t.children[ee],n,s,i)}}function lc(t,n,e){return n.every((i,r)=>fb[e](t[r].parameters,i.parameters))}class vr{constructor(n=new ue([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bs(this.queryParams)),this._queryParamMap}toString(){return BF.serialize(this)}}class ue{constructor(n,e){this.segments=n,this.children=e,this.parent=null,_t(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cc(this)}}class jo{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=bs(this.parameters)),this._parameterMap}toString(){return Cb(this)}}function wr(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let zo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(){return new fp},providedIn:"root"}),t})();class fp{parse(n){const e=new KF(n);return new vr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Go(n.root,!0)}`,i=function UF(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${uc(e)}=${uc(r)}`).join("&"):`${uc(e)}=${uc(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function HF(t){return encodeURI(t)}(n.fragment)}`:""}`}}const BF=new fp;function cc(t){return t.segments.map(n=>Cb(n)).join("/")}function Go(t,n){if(!t.hasChildren())return cc(t);if(n){const e=t.children[ee]?Go(t.children[ee],!1):"",i=[];return _t(t.children,(r,s)=>{s!==ee&&i.push(`${s}:${Go(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function VF(t,n){let e=[];return _t(t.children,(i,r)=>{r===ee&&(e=e.concat(n(i,r)))}),_t(t.children,(i,r)=>{r!==ee&&(e=e.concat(n(i,r)))}),e}(t,(i,r)=>r===ee?[Go(t.children[ee],!1)]:[`${r}:${Go(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[ee]?`${cc(t)}/${e[0]}`:`${cc(t)}/(${e.join("//")})`}}function vb(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function uc(t){return vb(t).replace(/%3B/gi,";")}function gp(t){return vb(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dc(t){return decodeURIComponent(t)}function wb(t){return dc(t.replace(/\+/g,"%20"))}function Cb(t){return`${gp(t.path)}${function $F(t){return Object.keys(t).map(n=>`;${gp(n)}=${gp(t[n])}`).join("")}(t.parameters)}`}const jF=/^[^\/()?;=#]+/;function hc(t){const n=t.match(jF);return n?n[0]:""}const zF=/^[^=?]+/,WF=/^[^]+/;class KF{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ue([],{}):new ue([],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 e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ee]=new ue(n,e)),i}parseSegment(){const n=hc(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new I(4009,ac);return this.capture(n),new jo(dc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=hc(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=hc(this.remaining);r&&(i=r,this.capture(i))}n[dc(e)]=dc(i)}parseQueryParam(n){const e=function GF(t){const n=t.match(zF);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=function qF(t){const n=t.match(WF);return n?n[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=wb(e),s=wb(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(s)}else n[r]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=hc(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new I(4010,ac);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=ee);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[ee]:new ue([],o),this.consumeOptional("//")}return e}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 I(4011,ac)}}function mp(t){return t.segments.length>0?new ue([],{[ee]:t}):t}function pc(t){const n={};for(const i of Object.keys(t.children)){const s=pc(t.children[i]);(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function QF(t){if(1===t.numberOfChildren&&t.children[ee]){const n=t.children[ee];return new ue(t.segments.concat(n.segments),n.children)}return t}(new ue(t.segments,n))}function Cr(t){return t instanceof vr}function XF(t,n,e,i,r){if(0===e.length)return Ds(n.root,n.root,n.root,i,r);const s=function Sb(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Db(!0,0,t);let n=0,e=!1;const i=t.reduce((r,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return _t(s.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return"string"!=typeof s?[...r,s]:0===o?(s.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,s]},[]);return new Db(e,n,i)}(e);return s.toRoot()?Ds(n.root,n.root,new ue([],{}),i,r):function o(l){const c=function ek(t,n,e,i){if(t.isAbsolute)return new Ss(n.root,!0,0);if(-1===i)return new Ss(e,e===n.root,0);return function Eb(t,n,e){let i=t,r=n,s=e;for(;s>r;){if(s-=r,i=i.parent,!i)throw new I(4005,!1);r=i.segments.length}return new Ss(i,!1,r-s)}(e,i+(Wo(t.commands[0])?0:1),t.numberOfDoubleDots)}(s,n,t.snapshot?._urlSegment,l),u=c.processChildren?Es(c.segmentGroup,c.index,s.commands):yp(c.segmentGroup,c.index,s.commands);return Ds(n.root,c.segmentGroup,u,i,r)}(t.snapshot?._lastPathIndex)}function Wo(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function qo(t){return"object"==typeof t&&null!=t&&t.outlets}function Ds(t,n,e,i,r){let o,s={};i&&_t(i,(l,c)=>{s[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),o=t===n?e:bb(t,n,e);const a=mp(pc(o));return new vr(a,s,r)}function bb(t,n,e){const i={};return _t(t.children,(r,s)=>{i[s]=r===n?e:bb(r,n,e)}),new ue(t.segments,i)}class Db{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Wo(i[0]))throw new I(4003,!1);const r=i.find(qo);if(r&&r!==pb(i))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ss{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function yp(t,n,e){if(t||(t=new ue([],{})),0===t.segments.length&&t.hasChildren())return Es(t,n,e);const i=function nk(t,n,e){let i=0,r=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return s;const o=t.segments[r],a=e[i];if(qo(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!Tb(l,c,o))return s;i+=2}else{if(!Tb(l,{},o))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=yp(t.children[o],n,s))}),_t(t.children,(s,o)=>{void 0===i[o]&&(r[o]=s)}),new ue(t.segments,r))}}function vp(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=vp(new ue([],{}),0,e))}),n}function Ib(t){const n={};return _t(t,(e,i)=>n[i]=`${e}`),n}function Tb(t,n,e){return t==e.path&&Xn(n,e.parameters)}const Ko="imperative";class Jn{constructor(n,e){this.id=n,this.url=e}}class wp extends Jn{constructor(n,e,i="imperative",r=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class br extends Jn{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class fc extends Jn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mb extends Jn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=16}}class Ab extends Jn{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rk extends Jn{constructor(n,e,i,r){super(n,e),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 sk extends Jn{constructor(n,e,i,r){super(n,e),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 ok extends Jn{constructor(n,e,i,r,s){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ak extends Jn{constructor(n,e,i,r){super(n,e),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 lk extends Jn{constructor(n,e,i,r){super(n,e),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 ck{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class uk{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dk{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hk{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pk{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fk{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ob{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let mk=(()=>{class t{createUrlTree(e,i,r,s,o,a){return XF(e||i.root,r,s,o,a)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),_k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(n){return mk.\u0275fac(n)},providedIn:"root"}),t})();class Pb{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=Cp(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=Cp(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=bp(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return bp(n,this._root).map(e=>e.value)}}function Cp(t,n){if(t===n.value)return n;for(const e of n.children){const i=Cp(t,e);if(i)return i}return null}function bp(t,n){if(t===n.value)return[n];for(const e of n.children){const i=bp(t,e);if(i.length)return i.unshift(n),i}return[]}class Ci{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Is(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class xb extends Pb{constructor(n,e){super(n),this.snapshot=e,Dp(this,n)}toString(){return this.snapshot.toString()}}function Rb(t,n){const e=function yk(t,n){const o=new gc([],{},{},"",{},ee,n,null,t.root,-1,{});return new Fb("",new Ci(o,[]))}(t,n),i=new kn([new jo("",{})]),r=new kn({}),s=new kn({}),o=new kn({}),a=new kn(""),l=new ei(i,r,o,a,s,ee,n,e.root);return l.snapshot=e.root,new xb(new Ci(l,[]),e)}class ei{constructor(n,e,i,r,s,o,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.title=this.data?.pipe(re(c=>c[Uo]))??$(void 0),this._futureSnapshot=l}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(re(n=>bs(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(re(n=>bs(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Nb(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const r=e[i],s=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(s.component)break;i--}}return function vk(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class gc{get title(){return this.data?.[Uo]}constructor(n,e,i,r,s,o,a,l,c,u,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=bs(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bs(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fb extends Pb{constructor(n,e){super(e),this.url=n,Dp(this,e)}toString(){return kb(this._root)}}function Dp(t,n){n.value._routerState=t,n.children.forEach(e=>Dp(t,e))}function kb(t){const n=t.children.length>0?` { ${t.children.map(kb).join(", ")} } `:"";return`${t.value}${n}`}function Sp(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Xn(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Xn(n.params,e.params)||t.params.next(e.params),function RF(t,n){if(t.length!==n.length)return!1;for(let e=0;eXn(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Ep(t.parent,n.parent))}function Qo(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function Ck(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Qo(t,i,r);return Qo(t,i)})}(t,n,e);return new Ci(i,r)}{if(t.shouldAttach(n.value)){const s=t.retrieve(n.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(a=>Qo(t,a)),o}}const i=function bk(t){return new ei(new kn(t.url),new kn(t.params),new kn(t.queryParams),new kn(t.fragment),new kn(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(s=>Qo(t,s));return new Ci(i,r)}}const Ip="ngNavigationCancelingError";function Lb(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Cr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=Vb(!1,0,n);return r.url=e,r.navigationBehaviorOptions=i,r}function Vb(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[Ip]=!0,i.cancellationCode=n,e&&(i.url=e),i}function Bb(t){return Hb(t)&&Cr(t.url)}function Hb(t){return t&&t[Ip]}class Dk{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Zo,this.attachRef=null}}let Zo=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Dk,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const mc=!1;let Tp=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=ee,this.activateEvents=new U,this.deactivateEvents=new U,this.attachEvents=new U,this.detachEvents=new U,this.parentContexts=ce(Zo),this.location=ce(gn),this.changeDetector=ce(Ut),this.environmentInjector=ce(jn)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.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)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,mc);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,mc);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,mc);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new I(4013,mc);this._activatedRoute=e;const r=this.location,o=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Sk(e,a,r.injector);if(i&&function Ek(t){return!!t.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(o);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(o,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=j({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[pt]}),t})();class Sk{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===ei?this.route:n===Zo?this.childContexts:this.parent.get(n,e)}}let Mp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ie({type:t,selectors:[["ng-component"]],standalone:!0,features:[Hv],decls:1,vars:0,template:function(e,i){1&e&&G(0,"router-outlet")},dependencies:[Tp],encapsulation:2}),t})();function $b(t,n){return t.providers&&!t._injector&&(t._injector=Rl(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Op(t){const n=t.children&&t.children.map(Op),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ee&&(e.component=Mp),e}function yn(t){return t.outlet||ee}function Ub(t,n){const e=t.filter(i=>yn(i)===n);return e.push(...t.filter(i=>yn(i)!==n)),e}function Yo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Ok{constructor(n,e,i,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Sp(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=Is(e);n.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,r[o],i),delete r[o]}),_t(r,(s,o)=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(n,e,i){const r=n.value,s=e?e.value:null;if(r===s)if(r.component){const o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,s=Is(n);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(i&&i.outlet){const o=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,s=Is(n);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const r=Is(e);n.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],i),this.forwardEvent(new fk(s.value.snapshot))}),n.children.length&&this.forwardEvent(new hk(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,s=e?e.value:null;if(Sp(r),r===s)if(r.component){const o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,i);else if(r.component){const o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Sp(a.route.value),this.activateChildRoutes(n,null,o.children)}else{const a=Yo(r.snapshot),l=a?.get(go)??null;o.attachRef=null,o.route=r,o.resolver=l,o.injector=a,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}}else this.activateChildRoutes(n,null,i)}}class jb{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class _c{constructor(n,e){this.component=n,this.route=e}}function Pk(t,n,e){const i=t._root;return Xo(i,n?n._root:null,e,[i.value])}function Ts(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function G0(t){return null!==ka(t)}(t)?n.get(t):t:i}function Xo(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Is(n);return t.children.forEach(o=>{(function Rk(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function Nk(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!wr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!wr(t.url,n.url)||!Xn(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ep(t,n)||!Xn(t.queryParams,n.queryParams);default:return!Ep(t,n)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new jb(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Xo(t,n,s.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new _c(a.outlet.component,o))}else o&&Jo(n,a,r),r.canActivateChecks.push(new jb(i)),Xo(t,null,s.component?a?a.children:null:e,i,r)})(o,s[o.value.outlet],e,i.concat([o.value]),r),delete s[o.value.outlet]}),_t(s,(o,a)=>Jo(o,e.getContext(a),r)),r}function Jo(t,n,e){const i=Is(t),r=t.value;_t(i,(s,o)=>{Jo(s,r.component?n?n.children.getContext(o):null:n,e)}),e.canDeactivateChecks.push(new _c(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function ea(t){return"function"==typeof t}function Pp(t){return t instanceof sc||"EmptyError"===t?.name}const yc=Symbol("INITIAL_VALUE");function Ms(){return ut(t=>rb(t.map(n=>n.pipe(yr(1),function IF(...t){const n=zs(t);return ct((e,i)=>{(n?up(t,e,n):up(t,e)).subscribe(i)})}(yc)))).pipe(re(n=>{for(const e of n)if(!0!==e){if(e===yc)return yc;if(!1===e||e instanceof vr)return e}return!0}),wi(n=>n!==yc),yr(1)))}function zb(t){return function u0(...t){return tg(t)}(Et(n=>{if(Cr(n))throw Lb(0,n)}),re(n=>!0===n))}const xp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Gb(t,n,e,i,r){const s=Rp(t,n,e);return s.matched?function Yk(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?$(r.map(o=>{const a=Ts(o,t);return Hi(function Hk(t){return t&&ea(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(Ms(),zb()):$(!0)}(i=$b(n,i),n,e).pipe(re(o=>!0===o?s:{...xp})):$(s)}function Rp(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...xp}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||xF)(e,t,n);if(!r)return{...xp};const s={};_t(r.posParams,(a,l)=>{s[l]=a.path});const o=r.consumed.length>0?{...s,...r.consumed[r.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function vc(t,n,e,i){if(e.length>0&&function eL(t,n,e){return e.some(i=>wc(t,n,i)&&yn(i)!==ee)}(t,e,i)){const s=new ue(n,function Jk(t,n,e,i){const r={};r[ee]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&yn(s)!==ee){const o=new ue([],{});o._sourceSegment=t,o._segmentIndexShift=n.length,r[yn(s)]=o}return r}(t,n,i,new ue(e,t.children)));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function tL(t,n,e){return e.some(i=>wc(t,n,i))}(t,e,i)){const s=new ue(t.segments,function Xk(t,n,e,i,r){const s={};for(const o of i)if(wc(t,e,o)&&!r[yn(o)]){const a=new ue([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,s[yn(o)]=a}return{...r,...s}}(t,n,e,i,t.children));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}const r=new ue(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}function wc(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function Wb(t,n,e,i){return!!(yn(t)===i||i!==ee&&wc(n,e,t))&&("**"===t.path||Rp(n,t,e).matched)}function qb(t,n,e){return 0===n.length&&!t.children[e]}const Cc=!1;class bc{constructor(n){this.segmentGroup=n||null}}class Kb{constructor(n){this.urlTree=n}}function ta(t){return $o(new bc(t))}function Qb(t){return $o(new Kb(t))}class sL{constructor(n,e,i,r,s){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0}apply(){const n=vc(this.urlTree.root,[],[],this.config).segmentGroup,e=new ue(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,ee).pipe(re(s=>this.createUrlTree(pc(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Bi(s=>{if(s instanceof Kb)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof bc?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,ee).pipe(re(r=>this.createUrlTree(pc(r),n.queryParams,n.fragment))).pipe(Bi(r=>{throw r instanceof bc?this.noMatchError(r):r}))}noMatchError(n){return new I(4002,Cc)}createUrlTree(n,e,i){const r=mp(n);return new vr(r,e,i)}expandSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(re(s=>new ue([],s))):this.expandSegment(n,i,e,i.segments,r,!0)}expandChildren(n,e,i){const r=[];for(const s of Object.keys(i.children))"primary"===s?r.unshift(s):r.push(s);return Xe(r).pipe(Vi(s=>{const o=i.children[s],a=Ub(e,s);return this.expandSegmentGroup(n,a,o,s).pipe(re(l=>({segment:l,outlet:s})))}),cb((s,o)=>(s[o.outlet]=o.segment,s),{}),ub())}expandSegment(n,e,i,r,s,o){return Xe(i).pipe(Vi(a=>this.expandSegmentAgainstRoute(n,e,i,a,r,s,o).pipe(Bi(c=>{if(c instanceof bc)return $(null);throw c}))),Li(a=>!!a),Bi((a,l)=>{if(Pp(a))return qb(e,r,s)?$(new ue([],{})):ta(e);throw a}))}expandSegmentAgainstRoute(n,e,i,r,s,o,a){return Wb(r,e,s,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,e,r,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o):ta(e):ta(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,r){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Qb(s):this.lineralizeSegments(i,s).pipe(ht(o=>{const a=new ue(o,{});return this.expandSegment(n,a,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Rp(e,r,s);if(!a)return ta(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?Qb(d):this.lineralizeSegments(r,d).pipe(ht(h=>this.expandSegment(n,e,i,h.concat(c),o,!1)))}matchSegmentAgainstRoute(n,e,i,r,s){return"**"===i.path?(n=$b(i,n),i.loadChildren?(i._loadedRoutes?$({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(re(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new ue(r,{})))):$(new ue(r,{}))):Gb(e,i,r,n).pipe(ut(({matched:o,consumedSegments:a,remainingSegments:l})=>o?this.getChildConfig(n=i._injector??n,i,r).pipe(ht(u=>{const d=u.injector??n,h=u.routes,{segmentGroup:p,slicedSegments:f}=vc(e,a,l,h),_=new ue(p.segments,p.children);if(0===f.length&&_.hasChildren())return this.expandChildren(d,h,_).pipe(re(E=>new ue(a,E)));if(0===h.length&&0===f.length)return $(new ue(a,{}));const w=yn(i)===s;return this.expandSegment(d,_,h,f,w?ee:s,!0).pipe(re(T=>new ue(a.concat(T.segments),T.children)))})):ta(e)))}getChildConfig(n,e,i){return e.children?$({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?$({routes:e._loadedRoutes,injector:e._loadedInjector}):function Zk(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?$(!0):$(r.map(o=>{const a=Ts(o,t);return Hi(function kk(t){return t&&ea(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(Ms(),zb())}(n,e,i).pipe(ht(r=>r?this.configLoader.loadChildren(n,e).pipe(Et(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):function iL(t){return $o(Vb(Cc,3))}())):$({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return $(i);if(r.numberOfChildren>1||!r.children[ee])return $o(new I(4e3,Cc));r=r.children[ee]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,r){const s=this.createSegmentGroup(n,e.root,i,r);return new vr(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return _t(n,(r,s)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[s]=e[a]}else i[s]=r}),i}createSegmentGroup(n,e,i,r){const s=this.createSegments(n,e.segments,i,r);let o={};return _t(e.children,(a,l)=>{o[l]=this.createSegmentGroup(n,a,i,r)}),new ue(s,o)}createSegments(n,e,i,r){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,r):this.findOrReturn(s,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new I(4001,Cc);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}class aL{}class uL{constructor(n,e,i,r,s,o,a){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a}recognize(){const n=vc(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,ee).pipe(re(e=>{if(null===e)return null;const i=new gc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ee,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ci(i,e),s=new Fb(this.url,r);return this.inheritParamsAndData(s._root),s}))}inheritParamsAndData(n){const e=n.value,i=Nb(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,r)}processChildren(n,e,i){return Xe(Object.keys(i.children)).pipe(Vi(r=>{const s=i.children[r],o=Ub(e,r);return this.processSegmentGroup(n,o,s,r)}),cb((r,s)=>r&&s?(r.push(...s),r):null),function AF(t,n=!1){return ct((e,i)=>{let r=0;e.subscribe(it(i,s=>{const o=t(s,r++);(o||n)&&i.next(s),!o&&i.complete()}))})}(r=>null!==r),oc(null),ub(),re(r=>{if(null===r)return null;const s=Yb(r);return function dL(t){t.sort((n,e)=>n.value.outlet===ee?-1:e.value.outlet===ee?1:n.value.outlet.localeCompare(e.value.outlet))}(s),s}))}processSegment(n,e,i,r,s){return Xe(e).pipe(Vi(o=>this.processSegmentAgainstRoute(o._injector??n,o,i,r,s)),Li(o=>!!o),Bi(o=>{if(Pp(o))return qb(i,r,s)?$([]):$(null);throw o}))}processSegmentAgainstRoute(n,e,i,r,s){if(e.redirectTo||!Wb(e,i,r,s))return $(null);let o;if("**"===e.path){const a=r.length>0?pb(r).parameters:{},l=Jb(i)+r.length;o=$({snapshot:new gc(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,eD(e),yn(e),e.component??e._loadedComponent??null,e,Xb(i),l,tD(e)),consumedSegments:[],remainingSegments:[]})}else o=Gb(i,e,r,n).pipe(re(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=Jb(i)+l.length;return{snapshot:new gc(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,eD(e),yn(e),e.component??e._loadedComponent??null,e,Xb(i),d,tD(e)),consumedSegments:l,remainingSegments:c}}));return o.pipe(ut(a=>{if(null===a)return $(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;n=e._injector??n;const d=e._loadedInjector??n,h=function hL(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:p,slicedSegments:f}=vc(i,c,u,h.filter(w=>void 0===w.redirectTo));if(0===f.length&&p.hasChildren())return this.processChildren(d,h,p).pipe(re(w=>null===w?null:[new Ci(l,w)]));if(0===h.length&&0===f.length)return $([new Ci(l,[])]);const _=yn(e)===s;return this.processSegment(d,h,p,f,_?ee:s).pipe(re(w=>null===w?null:[new Ci(l,w)]))}))}}function pL(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function Yb(t){const n=[],e=new Set;for(const i of t){if(!pL(i)){n.push(i);continue}const r=n.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=Yb(i.children);n.push(new Ci(i.value,r))}return n.filter(i=>!e.has(i))}function Xb(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function Jb(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function eD(t){return t.data||{}}function tD(t){return t.resolve||{}}function nD(t){return"string"==typeof t.title||null===t.title}function Np(t){return ut(n=>{const e=t(n);return e?Xe(e).pipe(re(()=>n)):$(n)})}const As=new H("ROUTES");let Fp=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return $(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Hi(e.loadComponent()).pipe(re(rD),Et(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),pp(()=>{this.componentLoaders.delete(e)})),r=new ab(i,()=>new bn).pipe(dp());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return $({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(re(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=hb(l.get(As,[],K.Self|K.Optional)));return{routes:c.map(Op),injector:l}}),pp(()=>{this.childrenLoaders.delete(i)})),o=new ab(s,()=>new bn).pipe(dp());return this.childrenLoaders.set(i,o),o}loadModuleFactoryOrRoutes(e){return Hi(e()).pipe(re(rD),ht(r=>r instanceof Vv||Array.isArray(r)?$(r):Xe(this.compiler.compileModuleAsync(r))))}}return t.\u0275fac=function(e){return new(e||t)(x(hn),x(Ow))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function rD(t){return function bL(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let Sc=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new bn,this.configLoader=ce(Fp),this.environmentInjector=ce(jn),this.urlSerializer=ce(zo),this.rootContexts=ce(Zo),this.navigationId=0,this.afterPreactivation=()=>$(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new uk(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new ck(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new kn({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ko,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(wi(i=>0!==i.id),re(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),ut(i=>{let r=!1,s=!1;return $(i).pipe(Et(o=>{this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),ut(o=>{const a=e.browserUrlTree.toString(),l=!e.navigated||o.extractedUrl.toString()!==a||a!==e.currentUrlTree.toString();if(!l&&"reload"!==(o.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const u="";return this.events.next(new Mb(o.id,e.serializeUrl(i.rawUrl),u,0)),e.rawUrlTree=o.rawUrl,o.resolve(null),Vn}if(e.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return sD(o.source)&&(e.browserUrlTree=o.extractedUrl),$(o).pipe(ut(u=>{const d=this.transitions?.getValue();return this.events.next(new wp(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?Vn:Promise.resolve(u)}),function oL(t,n,e,i){return ut(r=>function rL(t,n,e,i,r){return new sL(t,n,e,i,r).apply()}(t,n,e,r.extractedUrl,i).pipe(re(s=>({...r,urlAfterRedirects:s}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),Et(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},i.urlAfterRedirects=u.urlAfterRedirects}),function gL(t,n,e,i,r){return ht(s=>function cL(t,n,e,i,r,s,o="emptyOnly"){return new uL(t,n,e,i,r,o,s).recognize().pipe(ut(a=>null===a?function lL(t){return new We(n=>n.error(t))}(new aL):$(a)))}(t,n,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r).pipe(re(o=>({...s,targetSnapshot:o}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Et(u=>{if(i.targetSnapshot=u.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!u.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);e.setBrowserUrl(h,u)}e.browserUrlTree=u.urlAfterRedirects}const d=new rk(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:u,extractedUrl:d,source:h,restoredState:p,extras:f}=o,_=new wp(u,this.urlSerializer.serialize(d),h,p);this.events.next(_);const w=Rb(d,this.rootComponentType).snapshot;return $(i={...o,targetSnapshot:w,urlAfterRedirects:d,extras:{...f,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new Mb(o.id,e.serializeUrl(i.extractedUrl),u,1)),e.rawUrlTree=o.rawUrl,o.resolve(null),Vn}}),Et(o=>{const a=new sk(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a)}),re(o=>i={...o,guards:Pk(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),function Uk(t,n){return ht(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?$({...e,guardsResult:!0}):function jk(t,n,e,i){return Xe(t).pipe(ht(r=>function Qk(t,n,e,i,r){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?$(s.map(a=>{const l=Yo(n)??r,c=Ts(a,l);return Hi(function Bk(t){return t&&ea(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(Li())})).pipe(Ms()):$(!0)}(r.component,r.route,e,n,i)),Li(r=>!0!==r,!0))}(o,i,r,t).pipe(ht(a=>a&&function Fk(t){return"boolean"==typeof t}(a)?function zk(t,n,e,i){return Xe(n).pipe(Vi(r=>up(function Wk(t,n){return null!==t&&n&&n(new dk(t)),$(!0)}(r.route.parent,i),function Gk(t,n){return null!==t&&n&&n(new pk(t)),$(!0)}(r.route,i),function Kk(t,n,e){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>function xk(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(o)).filter(o=>null!==o).map(o=>ob(()=>$(o.guards.map(l=>{const c=Yo(o.node)??e,u=Ts(l,c);return Hi(function Vk(t){return t&&ea(t.canActivateChild)}(u)?u.canActivateChild(i,t):c.runInContext(()=>u(i,t))).pipe(Li())})).pipe(Ms())));return $(s).pipe(Ms())}(t,r.path,e),function qk(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return $(!0);const r=i.map(s=>ob(()=>{const o=Yo(n)??e,a=Ts(s,o);return Hi(function Lk(t){return t&&ea(t.canActivate)}(a)?a.canActivate(n,t):o.runInContext(()=>a(n,t))).pipe(Li())}));return $(r).pipe(Ms())}(t,r.route,e))),Li(r=>!0!==r,!0))}(i,s,t,n):$(a)),re(a=>({...e,guardsResult:a})))})}(this.environmentInjector,o=>this.events.next(o)),Et(o=>{if(i.guardsResult=o.guardsResult,Cr(o.guardsResult))throw Lb(0,o.guardsResult);const a=new ok(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a)}),wi(o=>!!o.guardsResult||(e.restoreHistory(o),this.cancelNavigationTransition(o,"",3),!1)),Np(o=>{if(o.guards.canActivateChecks.length)return $(o).pipe(Et(a=>{const l=new ak(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),ut(a=>{let l=!1;return $(a).pipe(function mL(t,n){return ht(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return $(e);let s=0;return Xe(r).pipe(Vi(o=>function _L(t,n,e,i){const r=t.routeConfig,s=t._resolve;return void 0!==r?.title&&!nD(r)&&(s[Uo]=r.title),function yL(t,n,e,i){const r=function vL(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return $({});const s={};return Xe(r).pipe(ht(o=>function wL(t,n,e,i){const r=Yo(n)??i,s=Ts(t,r);return Hi(s.resolve?s.resolve(n,e):r.runInContext(()=>s(n,e)))}(t[o],n,e,i).pipe(Li(),Et(a=>{s[o]=a}))),hp(1),function OF(t){return re(()=>t)}(s),Bi(o=>Pp(o)?Vn:$o(o)))}(s,t,n,i).pipe(re(o=>(t._resolvedData=o,t.data=Nb(t,e).resolve,r&&nD(r)&&(t.data[Uo]=r.title),null)))}(o.route,i,t,n)),Et(()=>s++),hp(1),ht(o=>s===r.length?$(e):Vn))})}(e.paramsInheritanceStrategy,this.environmentInjector),Et({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Et(a=>{const l=new lk(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),Np(o=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Et(u=>{l.component=u}),re(()=>{})));for(const u of l.children)c.push(...a(u));return c};return rb(a(o.targetSnapshot.root)).pipe(oc(),yr(1))}),Np(()=>this.afterPreactivation()),re(o=>{const a=function wk(t,n,e){const i=Qo(t,n._root,e?e._root:void 0);return new xb(i,n)}(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return i={...o,targetRouterState:a}}),Et(o=>{e.currentUrlTree=o.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),e.routerState=o.targetRouterState,"deferred"===e.urlUpdateStrategy&&(o.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,o),e.browserUrlTree=o.urlAfterRedirects)}),((t,n,e)=>re(i=>(new Ok(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o)),Et({next:o=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new br(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),pp(()=>{r||s||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Bi(o=>{if(s=!0,Hb(o)){Bb(o)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new fc(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode);if(this.events.next(a),Bb(o)){const l=e.urlHandlingStrategy.merge(o.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||sD(i.source)};e.scheduleNavigation(l,Ko,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new Ab(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(e.errorHandler(o))}catch(l){i.reject(l)}}return Vn}))}))}cancelNavigationTransition(e,i,r){const s=new fc(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(s),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sD(t){return t!==Ko}let oD=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(s=>s.outlet===ee);return i}getResolvedTitleForRoute(e){return e.data[Uo]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(){return ce(DL)},providedIn:"root"}),t})(),DL=(()=>{class t extends oD{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(x(ZC))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),SL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(){return ce(IL)},providedIn:"root"}),t})();class EL{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let IL=(()=>{class t extends EL{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=mt(t)))(i||t)}}(),t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ec=new H("",{providedIn:"root",factory:()=>({})});let ML=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:function(){return ce(AL)},providedIn:"root"}),t})(),AL=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function OL(t){throw t}function PL(t,n,e){return n.parse("/")}const xL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},RL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Lt=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=ce(ux),this.isNgZoneEnabled=!1,this.options=ce(Ec,{optional:!0})||{},this.errorHandler=this.options.errorHandler||OL,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||PL,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=ce(ML),this.routeReuseStrategy=ce(SL),this.urlCreationStrategy=ce(_k),this.titleStrategy=ce(oD),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=hb(ce(As,{optional:!0})??[]),this.navigationTransitions=ce(Sc),this.urlSerializer=ce(zo),this.location=ce(Hh),this.isNgZoneEnabled=ce(Te)instanceof Te&&Te.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vr,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Rb(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ko,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const s={replaceUrl:!0},o=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(Op),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}createUrlTree(e,i={}){const{relativeTo:r,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:o;let u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...s};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}return null!==u&&(u=this.removeEmptyProps(u)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,u,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Cr(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,Ko,null,i)}navigate(e,i={skipLocationChange:!1}){return function NL(t){for(let n=0;n{const s=e[r];return null!=s&&(i[r]=s),i},{})}scheduleNavigation(e,i,r,s,o){if(this.disposed)return Promise.resolve(!1);let a,l,c,u;return o?(a=o.resolve,l=o.reject,c=o.promise):c=new Promise((d,h)=>{a=d,l=h}),u="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:u,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),s={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",s):this.location.go(r,"",s)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Os=(()=>{class t{constructor(e,i,r,s,o,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=s,this.el=o,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new bn;const l=o.nativeElement.tagName;this.isAnchorElement="A"===l||"AREA"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof br&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=Cs(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Cs(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Cs(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,r,s,o){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||r||s||o||"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 e=null===this.href?null:function h_(t,n,e){return function D1(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?yd:dn}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const r=this.renderer,s=this.el.nativeElement;null!==i?r.setAttribute(s,e,i):r.removeAttribute(s,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(D(Lt),D(ei),function nl(t){return function jI(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r{class t{constructor(e,i,r,s,o){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(wi(e=>e instanceof br),Vi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const s of i){s.providers&&!s._injector&&(s._injector=Rl(s.providers,e,`Route: ${s.path}`));const o=s._injector??e,a=s._loadedInjector??o;s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent?r.push(this.preloadConfig(o,s)):(s.children||s._loadedRoutes)&&r.push(this.processRoutes(a,s.children??s._loadedRoutes))}return Xe(r).pipe(kr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):$(null);const s=r.pipe(ht(o=>null===o?$(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return i.loadComponent&&!i._loadedComponent?Xe([s,this.loader.loadComponent(i)]).pipe(kr()):s})}}return t.\u0275fac=function(e){return new(e||t)(x(Lt),x(Ow),x(jn),x(lD),x(Fp))},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const kp=new H("");let cD=(()=>{class t{constructor(e,i,r,s,o={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.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(e=>{e instanceof wp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof br&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ob&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ob(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){!function U_(){throw new Error("invalid")}()},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function Dr(t,n){return{\u0275kind:t,\u0275providers:n}}function dD(){const t=ce(hn);return n=>{const e=t.get(Ro);if(n!==e.components[0])return;const i=t.get(Lt),r=t.get(hD);1===t.get(Vp)&&i.initialNavigation(),t.get(pD,null,K.Optional)?.setUpPreloading(),t.get(kp,null,K.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const hD=new H("",{factory:()=>new bn}),Vp=new H("",{providedIn:"root",factory:()=>1});const pD=new H("");function UL(t){return Dr(0,[{provide:pD,useExisting:LL},{provide:lD,useExisting:t}])}const fD=new H("ROUTER_FORROOT_GUARD"),jL=[Hh,{provide:zo,useClass:fp},Lt,Zo,{provide:ei,useFactory:function uD(t){return t.routerState.root},deps:[Lt]},Fp,[]];function zL(){return new Lw("Router",Lt)}let gD=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[jL,[],{provide:As,multi:!0,useValue:e},{provide:fD,useFactory:KL,deps:[[Lt,new so,new oo]]},{provide:Ec,useValue:i||{}},i?.useHash?{provide:_r,useClass:Yx}:{provide:_r,useClass:oC},{provide:kp,useFactory:()=>{const t=ce(dN),n=ce(Te),e=ce(Ec),i=ce(Sc),r=ce(zo);return e.scrollOffset&&t.setOffset(e.scrollOffset),new cD(r,i,t,n,e)}},i?.preloadingStrategy?UL(i.preloadingStrategy).\u0275providers:[],{provide:Lw,multi:!0,useFactory:zL},i?.initialNavigation?QL(i):[],[{provide:mD,useFactory:dD},{provide:Mw,multi:!0,useExisting:mD}]]}}static forChild(e){return{ngModule:t,providers:[{provide:As,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(x(fD,8))},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[Mp]}),t})();function KL(t){return"guarded"}function QL(t){return["disabled"===t.initialNavigation?Dr(3,[{provide:Ll,multi:!0,useFactory:()=>{const n=ce(Lt);return()=>{n.setUpLocationChangeListener()}}},{provide:Vp,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Dr(2,[{provide:Vp,useValue:0},{provide:Ll,multi:!0,deps:[hn],useFactory:n=>{const e=n.get(Qx,Promise.resolve());return()=>e.then(()=>new Promise(r=>{const s=n.get(Lt),o=n.get(hD);(function i(r){n.get(Lt).events.pipe(wi(o=>o instanceof br||o instanceof fc||o instanceof Ab),re(o=>o instanceof br||o instanceof fc&&(0===o.code||1===o.code)&&null),wi(o=>null!==o),yr(1)).subscribe(()=>{r()})})(()=>{r(!0)}),n.get(Sc).afterPreactivation=()=>(r(!0),o.closed?$(void 0):o),s.initialNavigation()}))}}]).\u0275providers:[]]}const mD=new H("");class Ic{}class Bp{}class bi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),s=r.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof bi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new bi;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof bi?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const s=n.value;if(s){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class YL{encodeKey(n){return _D(n)}encodeValue(n){return _D(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const JL=/%(\d[a-f0-9])/gi,eV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _D(t){return encodeURIComponent(t).replace(JL,(n,e)=>eV[e]??n)}function Tc(t){return`${t}`}class $i{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new YL,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function XL(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const s=r.indexOf("="),[o,a]=-1==s?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,s)),n.decodeValue(r.slice(s+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(Tc):[Tc(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new $i({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Tc(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Tc(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class tV{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function yD(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function vD(t){return typeof Blob<"u"&&t instanceof Blob}function wD(t){return typeof FormData<"u"&&t instanceof FormData}class ia{constructor(n,e,i,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function nV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,s=r):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new bi),this.context||(this.context=new tV),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,n.setHeaders[h]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,h)=>d.set(h,n.setParams[h]),c)),new ia(e,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var nt=(()=>((nt=nt||{})[nt.Sent=0]="Sent",nt[nt.UploadProgress=1]="UploadProgress",nt[nt.ResponseHeader=2]="ResponseHeader",nt[nt.DownloadProgress=3]="DownloadProgress",nt[nt.Response=4]="Response",nt[nt.User=5]="User",nt))();class Hp{constructor(n,e=200,i="OK"){this.headers=n.headers||new bi,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class $p extends Hp{constructor(n={}){super(n),this.type=nt.ResponseHeader}clone(n={}){return new $p({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Mc extends Hp{constructor(n={}){super(n),this.type=nt.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Mc({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class CD extends Hp{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Up(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let jp=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let s;if(e instanceof ia)s=e;else{let l,c;l=r.headers instanceof bi?r.headers:new bi(r.headers),r.params&&(c=r.params instanceof $i?r.params:new $i({fromObject:r.params})),s=new ia(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const o=$(s).pipe(Vi(l=>this.handler.handle(l)));if(e instanceof ia||"events"===r.observe)return o;const a=o.pipe(wi(l=>l instanceof Mc));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(re(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(re(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(re(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(re(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new $i).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Up(r,i))}post(e,i,r={}){return this.request("POST",e,Up(r,i))}put(e,i,r={}){return this.request("PUT",e,Up(r,i))}}return t.\u0275fac=function(e){return new(e||t)(x(Ic))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function bD(t,n){return n(t)}function rV(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}const oV=new H("HTTP_INTERCEPTORS"),ra=new H("HTTP_INTERCEPTOR_FNS");function aV(){let t=null;return(n,e)=>(null===t&&(t=(ce(oV,{optional:!0})??[]).reduceRight(rV,bD)),t(n,e))}let DD=(()=>{class t extends Ic{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(ra)));this.chain=i.reduceRight((r,s)=>function sV(t,n,e){return(i,r)=>e.runInContext(()=>n(i,s=>t(s,r)))}(r,s,this.injector),bD)}return this.chain(e,i=>this.backend.handle(i))}}return t.\u0275fac=function(e){return new(e||t)(x(Bp),x(jn))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const dV=/^\)\]\}',?\n/;let ED=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new We(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((p,f)=>r.setRequestHeader(p,f.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const p=e.detectContentTypeHeader();null!==p&&r.setRequestHeader("Content-Type",p)}if(e.responseType){const p=e.responseType.toLowerCase();r.responseType="json"!==p?p:"text"}const s=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const p=r.statusText||"OK",f=new bi(r.getAllResponseHeaders()),_=function hV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new $p({headers:f,status:r.status,statusText:p,url:_}),o},l=()=>{let{headers:p,status:f,statusText:_,url:w}=a(),b=null;204!==f&&(b=typeof r.response>"u"?r.responseText:r.response),0===f&&(f=b?200:0);let T=f>=200&&f<300;if("json"===e.responseType&&"string"==typeof b){const E=b;b=b.replace(dV,"");try{b=""!==b?JSON.parse(b):null}catch(O){b=E,T&&(T=!1,b={error:O,text:b})}}T?(i.next(new Mc({body:b,headers:p,status:f,statusText:_,url:w||void 0})),i.complete()):i.error(new CD({error:b,headers:p,status:f,statusText:_,url:w||void 0}))},c=p=>{const{url:f}=a(),_=new CD({error:p,status:r.status||0,statusText:r.statusText||"Unknown Error",url:f||void 0});i.error(_)};let u=!1;const d=p=>{u||(i.next(a()),u=!0);let f={type:nt.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(f.total=p.total),"text"===e.responseType&&r.responseText&&(f.partialText=r.responseText),i.next(f)},h=p=>{let f={type:nt.UploadProgress,loaded:p.loaded};p.lengthComputable&&(f.total=p.total),i.next(f)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),i.next({type:nt.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(x(MC))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const zp=new H("XSRF_ENABLED"),ID="XSRF-TOKEN",TD=new H("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>ID}),MD="X-XSRF-TOKEN",AD=new H("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>MD});class OD{}let pV=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=mC(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(x(Qe),x(Sh),x(TD))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function fV(t,n){const e=t.url.toLowerCase();if(!ce(zp)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=ce(OD).getToken(),r=ce(AD);return null!=i&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}var Ye=(()=>((Ye=Ye||{})[Ye.Interceptors=0]="Interceptors",Ye[Ye.LegacyInterceptors=1]="LegacyInterceptors",Ye[Ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ye[Ye.NoXsrfProtection=3]="NoXsrfProtection",Ye[Ye.JsonpSupport=4]="JsonpSupport",Ye[Ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ye))();function xs(t,n){return{\u0275kind:t,\u0275providers:n}}function gV(...t){const n=[jp,ED,DD,{provide:Ic,useExisting:DD},{provide:Bp,useExisting:ED},{provide:ra,useValue:fV,multi:!0},{provide:zp,useValue:!0},{provide:OD,useClass:pV}];for(const e of t)n.push(...e.\u0275providers);return function S1(t){return{\u0275providers:t}}(n)}const PD=new H("LEGACY_INTERCEPTOR_FN");function _V({cookieName:t,headerName:n}){const e=[];return void 0!==t&&e.push({provide:TD,useValue:t}),void 0!==n&&e.push({provide:AD,useValue:n}),xs(Ye.CustomXsrfConfiguration,e)}let yV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({providers:[gV(xs(Ye.LegacyInterceptors,[{provide:PD,useFactory:aV},{provide:ra,useExisting:PD,multi:!0}]),_V({cookieName:ID,headerName:MD}))]}),t})();class Di{constructor(n){this.http=n,this.baseUrl="https://api.themoviedb.org/3",this.apiKey="2867b7114732fb43f2d0f427bcfb7be9"}getMovies(n="upcoming",e=12){return this.http.get(`${this.baseUrl}/movie/${n}?api_key=${this.apiKey}`).pipe(ut(i=>$(i.results.slice(0,e))))}getMovieVideos(n){return this.http.get(`${this.baseUrl}/movie/${n}/videos?api_key=${this.apiKey}`).pipe(ut(e=>$(e.results)))}searchMovie(n,e){return this.http.get(`${this.baseUrl}${e?"/search/movie":"/movie/popular"}?page=${n}&query=${e}&api_key=${this.apiKey}`)}getMovie(n){return this.http.get(`${this.baseUrl}/movie/${n}?api_key=${this.apiKey}`)}getMovieImages(n){return this.http.get(`${this.baseUrl}/movie/${n}/images?api_key=${this.apiKey}`)}getMovieCredits(n){return this.http.get(`${this.baseUrl}/movie/${n}/credits?api_key=${this.apiKey}`)}getMovieSimilar(n){return this.http.get(`${this.baseUrl}/movie/${n}/similar?api_key=${this.apiKey}`).pipe(ut(e=>$(e.results.slice(0,12))))}getMoviesGenres(){return this.http.get(`${this.baseUrl}/genre/movie/list?api_key=${this.apiKey}`).pipe(ut(n=>$(n.genres)))}getMoviesByGenres(n,e){return this.http.get(`${this.baseUrl}/discover/movie/?with_genres=${n}&page=${e}&api_key=${this.apiKey}`)}}Di.\u0275fac=function(n){return new(n||Di)(x(jp))},Di.\u0275prov=k({token:Di,factory:Di.\u0275fac,providedIn:"root"});class Si{constructor(n){this.http=n,this.baseUrl="https://api.themoviedb.org/3",this.apiKey="2867b7114732fb43f2d0f427bcfb7be9"}getTvShows(n,e=12){return this.http.get(`${this.baseUrl}/tv/${n}?api_key=${this.apiKey}`).pipe(ut(i=>$(i.results.slice(0,e))))}searchTvShow(n,e){return this.http.get(`${this.baseUrl}${e?"/search/tv":"/tv/popular"}?page=${n}&query=${e}&api_key=${this.apiKey}`)}getTvShowsGenre(){return this.http.get(`${this.baseUrl}/genre/tv/list?api_key=${this.apiKey}`).pipe(ut(n=>$(n.genres)))}getTvShowsByGenres(n,e){return this.http.get(`${this.baseUrl}/discover/tv/?with_genres=${n}&page=${e}&api_key=${this.apiKey}`)}getTvShow(n){return this.http.get(`${this.baseUrl}/tv/${n}?api_key=${this.apiKey}`)}getTvShowVideos(n){return this.http.get(`${this.baseUrl}/tv/${n}/videos?api_key=${this.apiKey}`).pipe(ut(e=>$(e.results)))}getTvShowImages(n){return this.http.get(`${this.baseUrl}/tv/${n}/images?api_key=${this.apiKey}`)}getTvShowCredits(n){return this.http.get(`${this.baseUrl}/tv/${n}/credits?api_key=${this.apiKey}`)}getTvShowSimilar(n){return this.http.get(`${this.baseUrl}/tv/${n}/similar?api_key=${this.apiKey}`).pipe(ut(e=>$(e.results.slice(0,12))))}}function vV(t,n){if(1&t&&(y(0,"div",3)(1,"a",4),P(2),v()()),2&t){const e=n.$implicit;m(1),g("routerLink","/movies/genres/"+e.id),m(1),_e(e.name)}}function wV(t,n){if(1&t&&(y(0,"div",3)(1,"a",4),P(2),v()()),2&t){const e=n.$implicit;m(1),g("routerLink","/tvshows/genres/"+e.id),m(1),_e(e.name)}}Si.\u0275fac=function(n){return new(n||Si)(x(jp))},Si.\u0275prov=k({token:Si,factory:Si.\u0275fac,providedIn:"root"});class sa{constructor(n,e){this.moviesService=n,this.tvShowsService=e,this.genresMovie=[],this.genresTvShows=[]}ngOnInit(){this.moviesService.getMoviesGenres().subscribe(n=>{this.genresMovie=n}),this.tvShowsService.getTvShowsGenre().subscribe(n=>{this.genresTvShows=n})}}sa.\u0275fac=function(n){return new(n||sa)(D(Di),D(Si))},sa.\u0275cmp=Ie({type:sa,selectors:[["app-genres"]],decls:9,vars:2,consts:[[1,"container"],[1,"grid"],["class","col-6 md:col-3 lg:col-2",4,"ngFor","ngForOf"],[1,"col-6","md:col-3","lg:col-2"],[1,"genre-link",3,"routerLink"]],template:function(n,e){1&n&&(y(0,"div",0)(1,"h1"),P(2,"Movies Genres"),v(),y(3,"div",1),S(4,vV,3,2,"div",2),v(),y(5,"h1"),P(6,"TV Shows"),v(),y(7,"div",1),S(8,wV,3,2,"div",2),v()()),2&n&&(m(4),g("ngForOf",e.genresMovie),m(4),g("ngForOf",e.genresTvShows))},dependencies:[Jt,Os],styles:[".genre-link[_ngcontent-%COMP%]{display:flex;width:100%;height:50px;background-color:#ffd54f;color:#141414;font-size:1.6rem;justify-content:center;align-items:center}"]});class xD{}class CV{}const Ei="*";function Gp(t,n){return{type:7,name:t,definitions:n,options:{}}}function oa(t,n=null){return{type:4,styles:n,timings:t}}function RD(t,n=null){return{type:2,steps:t,options:n}}function Sr(t){return{type:6,styles:t,offset:null}}function aa(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function ND(t,n=null){return{type:8,animation:t,options:n}}function FD(t,n=null){return{type:10,animation:t,options:n}}function kD(t){Promise.resolve().then(t)}class la{constructor(n=0,e=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+e}_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(){kD(()=>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 e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class LD{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 e=0,i=0,r=0;const s=this.players.length;0==s?kD(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,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 e=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const qp="https://image.tmdb.org/t/p",Ac={small:`${qp}/w185`,medium:`${qp}/w342`,large:`${qp}/original`};function DV(t,n){if(1&t&&(y(0,"div",4)(1,"div",5),G(2,"img",6),v(),y(3,"div",7)(4,"h2",8),P(5),v(),y(6,"div",9)(7,"div",10)(8,"span",11)(9,"span",12),P(10,"star"),v(),y(11,"span",13),P(12),v(),y(13,"span"),P(14,"/10"),v()(),y(15,"span"),P(16),v(),y(17,"span"),P(18),fi(19,"date"),v()()(),y(20,"div",14),P(21),v()()()),2&t){const e=C().$implicit,i=C(2);g("@slideFade",void 0),m(2),g("src",i.imagesSizes.large+e.backdrop_path,dn),m(3),_e(e.title),m(7),_e(e.vote_average),m(4),_e(e.vote_count),m(2),_e(gr(19,7,e.release_date,"yyyy")),m(3),ot(" ",e.overview," ")}}function SV(t,n){if(1&t&&(oe(0),S(1,DV,22,10,"div",3),ae()),2&t){const e=n.index,i=C(2);m(1),g("ngIf",e==i.currentSlideIndex)}}function EV(t,n){if(1&t&&(oe(0),y(1,"div",1),S(2,SV,2,1,"ng-container",2),v(),ae()),2&t){const e=C();m(2),g("ngForOf",e.itemsMovie)}}function IV(t,n){if(1&t&&(y(0,"div",4)(1,"div",5),G(2,"img",6),v(),y(3,"div",7)(4,"h2",8),P(5),v(),y(6,"div",9)(7,"div",10)(8,"span",11)(9,"span",12),P(10,"star"),v(),y(11,"span",13),P(12),v(),y(13,"span"),P(14,"/10"),v()(),y(15,"span"),P(16),v(),y(17,"span"),P(18),fi(19,"date"),v()()(),y(20,"div",14),P(21),v()()()),2&t){const e=C().$implicit,i=C(2);g("@slideFade",void 0),m(2),g("src",i.imagesSizes.large+e.backdrop_path,dn),m(3),_e(e.name),m(7),_e(e.vote_average),m(4),_e(e.vote_count),m(2),_e(gr(19,7,e.first_air_date,"yyyy")),m(3),ot(" ",e.overview," ")}}function TV(t,n){if(1&t&&(oe(0),S(1,IV,22,10,"div",3),ae()),2&t){const e=n.index,i=C(2);m(1),g("ngIf",e==i.currentSlideIndex)}}function MV(t,n){if(1&t&&(oe(0),y(1,"div",1),S(2,TV,2,1,"ng-container",2),v(),ae()),2&t){const e=C();m(2),g("ngForOf",e.itemsTvShows)}}class Er{constructor(){this.itemsMovie=null,this.isBanner=!1,this.items=[],this.itemsTvShows=null,this.currentSlideIndex=0,this.imagesSizes=Ac}ngOnInit(){this.isBanner||setInterval(()=>{this.itemsMovie&&(this.currentSlideIndex=++this.currentSlideIndex%this.itemsMovie.length)},5e3)}}function AV(t,n){if(1&t&&(oe(0),y(1,"a",1)(2,"div",2)(3,"i",3),P(4,"star"),v(),y(5,"span"),P(6),v(),P(7,"/10 "),v(),y(8,"div",4),G(9,"img",5),v(),y(10,"div",6),P(11),v()(),ae()),2&t){const e=C();m(1),g("routerLink","/movie/"+e.itemMovie.id),m(5),_e(e.itemMovie.vote_average),m(3),g("src",e.imagesSizes.medium+e.itemMovie.backdrop_path,dn),m(2),_e(e.itemMovie.title)}}function OV(t,n){if(1&t&&(oe(0),y(1,"a",1)(2,"div",2)(3,"i",3),P(4,"star"),v(),y(5,"span"),P(6),v(),P(7,"/10 "),v(),y(8,"div",4),G(9,"img",5),v(),y(10,"div",6),P(11),v()(),ae()),2&t){const e=C();m(1),g("routerLink","/tvshow/"+e.itemTvShow.id),m(5),_e(e.itemTvShow.vote_average),m(3),g("src",e.imagesSizes.medium+e.itemTvShow.backdrop_path,dn),m(2),_e(e.itemTvShow.name)}}Er.\u0275fac=function(n){return new(n||Er)},Er.\u0275cmp=Ie({type:Er,selectors:[["slider"]],inputs:{itemsMovie:"itemsMovie",isBanner:"isBanner",itemsTvShows:"itemsTvShows"},decls:2,vars:2,consts:[[4,"ngIf"],[1,"slider"],[4,"ngFor","ngForOf"],["class","slide",4,"ngIf"],[1,"slide"],[1,"slide-bg"],["alt","",1,"slide-bg-image",3,"src"],[1,"slide-pane"],[1,"name"],[1,"meta"],[1,"info"],[1,"rating"],[1,"app-icon"],[1,"rating-value"],[1,"desc","mt-6"]],template:function(n,e){1&n&&(S(0,EV,3,1,"ng-container",0),S(1,MV,3,1,"ng-container",0)),2&n&&(g("ngIf",null!=e.itemsMovie),m(1),g("ngIf",null!=e.itemsTvShows))},dependencies:[Jt,Dt,Lo],styles:['.slider[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;height:35rem;position:relative}.slider[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{position:absolute;width:100%;display:flex;height:35rem}.slider[_ngcontent-%COMP%] .slide-bg[_ngcontent-%COMP%]{position:relative;display:flex;flex:1 1 auto}.slider[_ngcontent-%COMP%] .slide-bg[_ngcontent-%COMP%]:after{position:absolute;inset:0;display:block;content:"";background-image:linear-gradient(90deg,rgb(0,0,0) 0%,rgb(0,0,0) 30%,rgba(255,255,255,0) 100%)}.slider[_ngcontent-%COMP%] .slide-bg-image[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%]{position:absolute;width:45%;top:5rem;left:5rem}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:2.8rem}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{font-size:1.4rem;color:#999}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{display:flex}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:not(:last-child):after{content:"|";margin-right:9px;margin-left:9px}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%]{display:flex;align-items:center}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%] .app-icon[_ngcontent-%COMP%]{margin-right:5px;color:#ff0}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .rating-value[_ngcontent-%COMP%]{color:#fff;font-size:1.4rem}.slider[_ngcontent-%COMP%] .slide-pane[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:1.2rem;line-height:1.6}'],data:{animation:[Gp("slideFade",[function bV(t,n,e){return{type:0,name:t,styles:n,options:e}}("void",Sr({opacity:0})),aa("void <=> *",[oa("1s")])])]}});class Ir{constructor(){this.itemMovie=null,this.itemTvShow=null,this.imagesSizes=Ac}}function PV(t,n){if(1&t&&(y(0,"div",4),G(1,"item",5),v()),2&t){const e=n.$implicit;m(1),g("itemMovie",e)}}function xV(t,n){if(1&t&&(oe(0),y(1,"div",1)(2,"h2"),P(3),v(),y(4,"div",2),S(5,PV,2,1,"div",3),v()(),ae()),2&t){const e=C();m(3),_e(e.titleMovie),m(2),g("ngForOf",e.itemsMovie)}}function RV(t,n){if(1&t&&(y(0,"div",4),G(1,"item",6),v()),2&t){const e=n.$implicit;m(1),g("itemTvShow",e)}}function NV(t,n){if(1&t&&(oe(0),y(1,"div",1)(2,"h2"),P(3),v(),y(4,"div",2),S(5,RV,2,1,"div",3),v()(),ae()),2&t){const e=C();m(3),_e(e.titleTvShows),m(2),g("ngForOf",e.itemsTvShows)}}Ir.\u0275fac=function(n){return new(n||Ir)},Ir.\u0275cmp=Ie({type:Ir,selectors:[["item"]],inputs:{itemMovie:"itemMovie",itemTvShow:"itemTvShow"},decls:2,vars:2,consts:[[4,"ngIf"],[1,"movie-item",3,"routerLink"],[1,"movie-item-rating"],[1,"app-icon"],[1,"movie-item-image"],["alt","",3,"src"],[1,"movie-item-title"]],template:function(n,e){1&n&&(S(0,AV,12,4,"ng-container",0),S(1,OV,12,4,"ng-container",0)),2&n&&(g("ngIf",e.itemMovie),m(1),g("ngIf",e.itemTvShow))},dependencies:[Dt,Os],styles:[".movie-item[_ngcontent-%COMP%]{position:relative;display:block;min-height:325px;border-radius:5px;background-color:#212121;border:1px solid #999}.movie-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;border-radius:5px;height:275px;object-fit:cover}.movie-item-rating[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;top:10px;left:10px;background-color:#212121;border-radius:5px;padding:5px 10px}.movie-item-rating[_ngcontent-%COMP%] .app-icon[_ngcontent-%COMP%]{margin-right:5px;color:#d4af37}.movie-item-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-weight:700;margin:.5rem;height:25px}"]});class Tr{constructor(){this.itemsMovie=[],this.titleMovie="",this.itemsTvShows=[],this.titleTvShows=""}}Tr.\u0275fac=function(n){return new(n||Tr)},Tr.\u0275cmp=Ie({type:Tr,selectors:[["items-banner"]],inputs:{itemsMovie:"itemsMovie",titleMovie:"titleMovie",itemsTvShows:"itemsTvShows",titleTvShows:"titleTvShows"},decls:2,vars:2,consts:[[4,"ngIf"],[1,"container"],[1,"grid"],["class","col-6 md:col-3 lg:col-2",4,"ngFor","ngForOf"],[1,"col-6","md:col-3","lg:col-2"],[3,"itemMovie"],[3,"itemTvShow"]],template:function(n,e){1&n&&(S(0,xV,6,2,"ng-container",0),S(1,NV,6,2,"ng-container",0)),2&n&&(g("ngIf",e.itemsMovie),m(1),g("ngIf",e.itemsTvShows))},dependencies:[Jt,Dt,Ir]});class ca{constructor(n,e){this.moviesService=n,this.tvShowsService=e,this.popularMovies=[],this.upcomingMovies=[],this.topRatedMovies=[],this.popularTvShows=[],this.topRatedTvShows=[]}ngOnInit(){this.moviesService.getMovies("popular").subscribe(n=>{this.popularMovies=n}),this.moviesService.getMovies("top_rated").subscribe(n=>{this.topRatedMovies=n}),this.moviesService.getMovies("upcoming").subscribe(n=>{this.upcomingMovies=n}),this.tvShowsService.getTvShows("popular").subscribe(n=>{this.popularTvShows=n}),this.tvShowsService.getTvShows("top_rated").subscribe(n=>{this.topRatedTvShows=n})}}ca.\u0275fac=function(n){return new(n||ca)(D(Di),D(Si))},ca.\u0275cmp=Ie({type:ca,selectors:[["app-home"]],decls:6,vars:5,consts:[[3,"itemsMovie"],["titleMovie","Upcoming Movies",3,"itemsMovie"],["titleMovie","Top Rated Movies",3,"itemsMovie"],["titleTvShows","Popular TV Shows",3,"itemsTvShows"],["titleTvShows","Top Rated TV Shows",3,"itemsTvShows"]],template:function(n,e){1&n&&G(0,"slider",0)(1,"items-banner",1)(2,"items-banner",2)(3,"items-banner",3)(4,"items-banner",4)(5,"items-banner"),2&n&&(g("itemsMovie",e.popularMovies),m(1),g("itemsMovie",e.upcomingMovies),m(1),g("itemsMovie",e.topRatedMovies),m(1),g("itemsTvShows",e.popularTvShows),m(1),g("itemsTvShows",e.topRatedTvShows))},dependencies:[Er,Tr]});class Me{static equals(n,e,i){return i?this.resolveFieldData(n,i)===this.resolveFieldData(e,i):this.equalsByValue(n,e)}static equalsByValue(n,e){if(n===e)return!0;if(n&&e&&"object"==typeof n&&"object"==typeof e){var s,o,a,i=Array.isArray(n),r=Array.isArray(e);if(i&&r){if((o=n.length)!=e.length)return!1;for(s=o;0!=s--;)if(!this.equalsByValue(n[s],e[s]))return!1;return!0}if(i!=r)return!1;var l=this.isDate(n),c=this.isDate(e);if(l!=c)return!1;if(l&&c)return n.getTime()==e.getTime();var u=n instanceof RegExp,d=e instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==e.toString();var h=Object.keys(n);if((o=h.length)!==Object.keys(e).length)return!1;for(s=o;0!=s--;)if(!Object.prototype.hasOwnProperty.call(e,h[s]))return!1;for(s=o;0!=s--;)if(!this.equalsByValue(n[a=h[s]],e[a]))return!1;return!0}return n!=n&&e!=e}static resolveFieldData(n,e){if(n&&e){if(this.isFunction(e))return e(n);if(-1==e.indexOf("."))return n[e];{let i=e.split("."),r=n;for(let s=0,o=i.length;s=n.length&&(i%=n.length,e%=n.length),n.splice(i,0,n.splice(e,1)[0]))}static insertIntoOrderedArray(n,e,i,r){if(i.length>0){let s=!1;for(let o=0;oe){i.splice(o,0,n),s=!0;break}s||i.push(n)}else i.push(n)}static findIndexInList(n,e){let i=-1;if(e)for(let r=0;r-1&&(n=n.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),n}static isDate(n){return"[object Date]"===Object.prototype.toString.call(n)}static isEmpty(n){return null==n||""===n||Array.isArray(n)&&0===n.length||!this.isDate(n)&&"object"==typeof n&&0===Object.keys(n).length}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,e,i,r=1){let s=-1;const o=this.isEmpty(n),a=this.isEmpty(e);return s=o&&a?0:o?r:a?-r:"string"==typeof n&&"string"==typeof e?n.localeCompare(e,i,{numeric:!0}):ne?1:0,s}static sort(n,e,i=1,r,s=1){return(1===s?i:s)*Me.compare(n,e,r,i)}static merge(n,e){if(null!=n||null!=e)return null!=n&&"object"!=typeof n||null!=e&&"object"!=typeof e?null!=n&&"string"!=typeof n||null!=e&&"string"!=typeof e?e||n:[n||"",e||""].join(" "):{...n||{},...e||{}}}}var VD=0;function BD(){return"pr_id_"+ ++VD}var Ui=function FV(){let t=[];const r=s=>s&&parseInt(s.style.zIndex,10)||0;return{get:r,set:(s,o,a)=>{o&&(o.style.zIndex=String(((s,o)=>{let a=t.length>0?t[t.length-1]:{key:s,value:o},l=a.value+(a.key===s?0:o)+1;return t.push({key:s,value:l}),l})(s,a)))},clear:s=>{s&&((s=>{t=t.filter(o=>o.value!==s)})(r(s)),s.style.zIndex="")},getCurrent:()=>t.length>0?t[t.length-1].value:0}}();const HD=["*"];let It=(()=>{class t{}return t.STARTS_WITH="startsWith",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.ENDS_WITH="endsWith",t.EQUALS="equals",t.NOT_EQUALS="notEquals",t.IN="in",t.LESS_THAN="lt",t.LESS_THAN_OR_EQUAL_TO="lte",t.GREATER_THAN="gt",t.GREATER_THAN_OR_EQUAL_TO="gte",t.BETWEEN="between",t.IS="is",t.IS_NOT="isNot",t.BEFORE="before",t.AFTER="after",t.DATE_IS="dateIs",t.DATE_IS_NOT="dateIsNot",t.DATE_BEFORE="dateBefore",t.DATE_AFTER="dateAfter",t})(),kV=(()=>{class t{constructor(){this.filters={startsWith:(e,i,r)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let s=Me.removeAccents(i.toString()).toLocaleLowerCase(r);return Me.removeAccents(e.toString()).toLocaleLowerCase(r).slice(0,s.length)===s},contains:(e,i,r)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let s=Me.removeAccents(i.toString()).toLocaleLowerCase(r);return-1!==Me.removeAccents(e.toString()).toLocaleLowerCase(r).indexOf(s)},notContains:(e,i,r)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let s=Me.removeAccents(i.toString()).toLocaleLowerCase(r);return-1===Me.removeAccents(e.toString()).toLocaleLowerCase(r).indexOf(s)},endsWith:(e,i,r)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let s=Me.removeAccents(i.toString()).toLocaleLowerCase(r),o=Me.removeAccents(e.toString()).toLocaleLowerCase(r);return-1!==o.indexOf(s,o.length-s.length)},equals:(e,i,r)=>null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():Me.removeAccents(e.toString()).toLocaleLowerCase(r)==Me.removeAccents(i.toString()).toLocaleLowerCase(r)),notEquals:(e,i,r)=>!(null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():Me.removeAccents(e.toString()).toLocaleLowerCase(r)==Me.removeAccents(i.toString()).toLocaleLowerCase(r))),in:(e,i)=>{if(null==i||0===i.length)return!0;for(let r=0;rnull==i||null==i[0]||null==i[1]||null!=e&&(e.getTime?i[0].getTime()<=e.getTime()&&e.getTime()<=i[1].getTime():i[0]<=e&&e<=i[1]),lt:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()<=i.getTime():e<=i),gt:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>i.getTime():e>i),gte:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>=i.getTime():e>=i),is:(e,i,r)=>this.filters.equals(e,i,r),isNot:(e,i,r)=>this.filters.notEquals(e,i,r),before:(e,i,r)=>this.filters.lt(e,i,r),after:(e,i,r)=>this.filters.gt(e,i,r),dateIs:(e,i)=>null==i||null!=e&&e.toDateString()===i.toDateString(),dateIsNot:(e,i)=>null==i||null!=e&&e.toDateString()!==i.toDateString(),dateBefore:(e,i)=>null==i||null!=e&&e.getTime()null==i||null!=e&&e.getTime()>i.getTime()}}filter(e,i,r,s,o){let a=[];if(e)for(let l of e)for(let c of i){let u=Me.resolveFieldData(l,c);if(this.filters[s](u,r,o)){a.push(l);break}}return a}register(e,i){this.filters[e]=i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),LV=(()=>{class t{constructor(){this.clickSource=new bn,this.clickObservable=this.clickSource.asObservable()}add(e){e&&this.clickSource.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ua=(()=>{class t{constructor(){this.ripple=!1,this.overlayOptions={},this.filterMatchModeOptions={text:[It.STARTS_WITH,It.CONTAINS,It.NOT_CONTAINS,It.ENDS_WITH,It.EQUALS,It.NOT_EQUALS],numeric:[It.EQUALS,It.NOT_EQUALS,It.LESS_THAN,It.LESS_THAN_OR_EQUAL_TO,It.GREATER_THAN,It.GREATER_THAN_OR_EQUAL_TO],date:[It.DATE_IS,It.DATE_IS_NOT,It.DATE_BEFORE,It.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new bn,this.translationObserver=this.translationSource.asObservable()}getTranslation(e){return this.translation[e]}setTranslation(e){this.translation={...this.translation,...e},this.translationSource.next(this.translation)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),VV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ie({type:t,selectors:[["p-header"]],ngContentSelectors:HD,decls:1,vars:0,template:function(e,i){1&e&&(Ri(),pi(0))},encapsulation:2}),t})(),BV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ie({type:t,selectors:[["p-footer"]],ngContentSelectors:HD,decls:1,vars:0,template:function(e,i){1&e&&(Ri(),pi(0))},encapsulation:2}),t})(),ti=(()=>{class t{constructor(e){this.template=e}getType(){return this.name}}return t.\u0275fac=function(e){return new(e||t)(D(qn))},t.\u0275dir=j({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),t})(),Ln=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St]}),t})(),$D=(()=>{class t{}return t.STARTS_WITH="startsWith",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.ENDS_WITH="endsWith",t.EQUALS="equals",t.NOT_EQUALS="notEquals",t.NO_FILTER="noFilter",t.LT="lt",t.LTE="lte",t.GT="gt",t.GTE="gte",t.IS="is",t.IS_NOT="isNot",t.BEFORE="before",t.AFTER="after",t.CLEAR="clear",t.APPLY="apply",t.MATCH_ALL="matchAll",t.MATCH_ANY="matchAny",t.ADD_RULE="addRule",t.REMOVE_RULE="removeRule",t.ACCEPT="accept",t.REJECT="reject",t.CHOOSE="choose",t.UPLOAD="upload",t.CANCEL="cancel",t.DAY_NAMES="dayNames",t.DAY_NAMES_SHORT="dayNamesShort",t.DAY_NAMES_MIN="dayNamesMin",t.MONTH_NAMES="monthNames",t.MONTH_NAMES_SHORT="monthNamesShort",t.FIRST_DAY_OF_WEEK="firstDayOfWeek",t.TODAY="today",t.WEEK_HEADER="weekHeader",t.WEAK="weak",t.MEDIUM="medium",t.STRONG="strong",t.PASSWORD_PROMPT="passwordPrompt",t.EMPTY_MESSAGE="emptyMessage",t.EMPTY_FILTER_MESSAGE="emptyFilterMessage",t})(),A=(()=>{class t{static addClass(e,i){e&&i&&(e.classList?e.classList.add(i):e.className+=" "+i)}static addMultipleClasses(e,i){if(e&&i)if(e.classList){let r=i.trim().split(" ");for(let s=0;s{if(_)return"relative"===getComputedStyle(_).getPropertyValue("position")?_:r(_.parentElement)},s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=i.offsetHeight,a=i.getBoundingClientRect(),l=this.getWindowScrollTop(),c=this.getWindowScrollLeft(),u=this.getViewport(),h=r(e)?.getBoundingClientRect()||{top:-1*l,left:-1*c};let p,f;a.top+o+s.height>u.height?(p=a.top-h.top-s.height,e.style.transformOrigin="bottom",a.top+p<0&&(p=-1*a.top)):(p=o+a.top-h.top,e.style.transformOrigin="top"),f=s.width>u.width?-1*(a.left-h.left):a.left-h.left+s.width>u.width?-1*(a.left-h.left+s.width-u.width):a.left-h.left,e.style.top=p+"px",e.style.left=f+"px"}static absolutePosition(e,i){const r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=r.height,o=r.width,a=i.offsetHeight,l=i.offsetWidth,c=i.getBoundingClientRect(),u=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),h=this.getViewport();let p,f;c.top+a+s>h.height?(p=c.top+u-s,e.style.transformOrigin="bottom",p<0&&(p=u)):(p=a+c.top+u,e.style.transformOrigin="top"),f=c.left+o>h.width?Math.max(0,c.left+d+l-o):c.left+d,e.style.top=p+"px",e.style.left=f+"px"}static getParents(e,i=[]){return null===e.parentNode?i:this.getParents(e.parentNode,i.concat([e.parentNode]))}static getScrollableParents(e){let i=[];if(e){let r=this.getParents(e);const s=/(auto|scroll)/,o=a=>{let l=window.getComputedStyle(a,null);return s.test(l.getPropertyValue("overflow"))||s.test(l.getPropertyValue("overflowX"))||s.test(l.getPropertyValue("overflowY"))};for(let a of r){let l=1===a.nodeType&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let u of c){let d=this.findSingle(a,u);d&&o(d)&&i.push(d)}}9!==a.nodeType&&o(a)&&i.push(a)}}return i}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementDimensions(e){let i={};return e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",i}static scrollInView(e,i){let r=getComputedStyle(e).getPropertyValue("borderTopWidth"),s=r?parseFloat(r):0,o=getComputedStyle(e).getPropertyValue("paddingTop"),a=o?parseFloat(o):0,l=e.getBoundingClientRect(),u=i.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-s-a,d=e.scrollTop,h=e.clientHeight,p=this.getOuterHeight(i);u<0?e.scrollTop=d+u:u+p>h&&(e.scrollTop=d+u-h+p)}static fadeIn(e,i){e.style.opacity=0;let r=+new Date,s=0,o=function(){s=+e.style.opacity.replace(",",".")+((new Date).getTime()-r)/i,e.style.opacity=s,r=+new Date,+s<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}static fadeOut(e,i){var r=1,a=50/i;let l=setInterval(()=>{(r-=a)<=0&&(r=0,clearInterval(l)),e.style.opacity=r},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,i){var r=Element.prototype;return(r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(o){return-1!==[].indexOf.call(document.querySelectorAll(o),this)}).call(e,i)}static getOuterWidth(e,i){let r=e.offsetWidth;if(i){let s=getComputedStyle(e);r+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return r}static getHorizontalPadding(e){let i=getComputedStyle(e);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(e){let i=getComputedStyle(e);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i+=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static width(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static getInnerHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i+=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),i}static getOuterHeight(e,i){let r=e.offsetHeight;if(i){let s=getComputedStyle(e);r+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return r}static getHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),i}static getWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),i}static getViewport(){let e=window,i=document,r=i.documentElement,s=i.getElementsByTagName("body")[0];return{width:e.innerWidth||r.clientWidth||s.clientWidth,height:e.innerHeight||r.clientHeight||s.clientHeight}}static getOffset(e){var i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,i){let r=e.parentNode;if(!r)throw"Can't replace element";return r.replaceChild(i,e)}static getUserAgent(){return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,i){if(this.isElement(i))i.appendChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot append "+i+" to "+e;i.el.nativeElement.appendChild(e)}}static removeChild(e,i){if(this.isElement(i))i.removeChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot remove "+e+" from "+i;i.el.nativeElement.removeChild(e)}}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let r=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=r,r}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(e,i,r){e[i].apply(e,r)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||null===e.offsetParent}static isVisible(e){return e&&null!=e.offsetParent}static isExist(e){return null!==e&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,i){e&&document.activeElement!==e&&e.focus(i)}static getFocusableElements(e){let i=t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),r=[];for(let s of i)(s.offsetWidth||s.offsetHeight||s.getClientRects().length)&&r.push(s);return r}static getNextFocusableElement(e,i=!1){const r=t.getFocusableElements(e);let s=0;if(r&&r.length>0){const o=r.indexOf(r[0].ownerDocument.activeElement);i?s=-1==o||0===o?r.length-1:o-1:-1!=o&&o!==r.length-1&&(s=o+1)}return r[s]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,i){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return i?.parentElement.parentElement;default:const r=typeof e;if("string"===r)return document.querySelector(e);if("object"===r&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;const o=(a=e)&&a.constructor&&a.call&&a.apply?e():e;return o&&9===o.nodeType||this.isExist(o)?o:null}var a}}return t.zindex=1e3,t.calculatedScrollbarWidth=null,t.calculatedScrollbarHeight=null,t})();class UD{constructor(n,e=(()=>{})){this.element=n,this.listener=e}bindScrollListener(){this.scrollableParents=A.getScrollableParents(this.element);for(let n=0;n{class t{constructor(e,i,r,s,o){this.el=e,this.zone=i,this.config=r,this.renderer=s,this.changeDetector=o,this.escape=!0,this.autoHide=!0,this.fitContent=!0,this._tooltipOptions={tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",tooltipZIndex:"auto",escape:!0,positionTop:0,positionLeft:0,autoHide:!0}}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let e=this.getTarget(this.el.nativeElement);e.addEventListener("focus",this.focusListener),e.addEventListener("blur",this.blurListener)}})}ngOnChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.text&&(this.setOption({tooltipLabel:e.text.currentValue}),this.active&&(e.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...e.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){(this.isAutoHide()||!(A.hasClass(e.toElement,"p-tooltip")||A.hasClass(e.toElement,"p-tooltip-arrow")||A.hasClass(e.toElement,"p-tooltip-text")||A.hasClass(e.relatedTarget,"p-tooltip")))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");let e=document.createElement("div");e.className="p-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?A.appendChild(this.container,this.el.nativeElement):A.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()||this.bindContainerMouseleaveListener()}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",i=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),A.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?Ui.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&Ui.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let e=this.el.nativeElement.getBoundingClientRect();return{left:e.left+A.getWindowScrollLeft(),top:e.top+A.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let e=this.getHostOffset(),i=e.left+A.getOuterWidth(this.el.nativeElement),r=e.top+(A.getOuterHeight(this.el.nativeElement)-A.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let e=this.getHostOffset(),i=e.left-A.getOuterWidth(this.container),r=e.top+(A.getOuterHeight(this.el.nativeElement)-A.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let e=this.getHostOffset(),i=e.left+(A.getOuterWidth(this.el.nativeElement)-A.getOuterWidth(this.container))/2,r=e.top-A.getOuterHeight(this.container);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let e=this.getHostOffset(),i=e.left+(A.getOuterWidth(this.el.nativeElement)-A.getOuterWidth(this.container))/2,r=e.top+A.getOuterHeight(this.el.nativeElement);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions={...this._tooltipOptions,...e}}getOption(e){return this._tooltipOptions[e]}getTarget(e){return A.hasClass(e,"p-inputwrapper")?A.findSingle(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px";let i="p-tooltip p-component p-tooltip-"+e;this.container.className=this.getOption("tooltipStyleClass")?i+" "+this.getOption("tooltipStyleClass"):i}isOutOfBounds(){let e=this.container.getBoundingClientRect(),i=e.top,r=e.left,s=A.getOuterWidth(this.container),o=A.getOuterHeight(this.container),a=A.getViewport();return r+s>a.width||r<0||i<0||i+o>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new UD(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let e=this.getTarget(this.el.nativeElement);e.removeEventListener("focus",this.focusListener),e.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):A.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&Ui.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}return t.\u0275fac=function(e){return new(e||t)(D($e),D(Te),D(ua),D(Yt),D(Ut))},t.\u0275dir=j({type:t,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[pt]}),t})(),zD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St]}),t})(),Oc=(()=>{class t{constructor(e,i,r){this.el=e,this.zone=i,this.config=r}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(e){let i=this.getInk();if(!i||"none"===getComputedStyle(i,null).display)return;if(A.removeClass(i,"p-ink-active"),!A.getHeight(i)&&!A.getWidth(i)){let a=Math.max(A.getOuterWidth(this.el.nativeElement),A.getOuterHeight(this.el.nativeElement));i.style.height=a+"px",i.style.width=a+"px"}let r=A.getOffset(this.el.nativeElement),s=e.pageX-r.left+document.body.scrollTop-A.getWidth(i)/2,o=e.pageY-r.top+document.body.scrollLeft-A.getHeight(i)/2;i.style.top=o+"px",i.style.left=s+"px",A.addClass(i,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&A.removeClass(a,"p-ink-active")},401)}getInk(){const e=this.el.nativeElement.children;for(let i=0;i{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St]}),t})();function HV(t,n){1&t&&fe(0)}function $V(t,n){if(1&t&&(oe(0),S(1,HV,1,0,"ng-container",3),ae()),2&t){const e=C(2);m(1),g("ngTemplateOutlet",e.contentTemplate)}}function UV(t,n){if(1&t&&(y(0,"div",1),pi(1),S(2,$V,2,1,"ng-container",2),v()),2&t){const e=C();g("hidden",!e.selected),Be("id",e.id)("aria-hidden",!e.selected)("aria-labelledby",e.id+"-label"),m(2),g("ngIf",e.contentTemplate&&(e.cache?e.loaded:e.selected))}}const GD=["*"],jV=["content"],zV=["navbar"],GV=["prevBtn"],WV=["nextBtn"],qV=["inkbar"];function KV(t,n){if(1&t){const e=be();y(0,"button",12,13),F("click",function(){return L(e),V(C().navBackward())}),G(2,"span",14),v()}}function QV(t,n){1&t&&G(0,"span",24),2&t&&g("ngClass",C(3).$implicit.leftIcon)}function ZV(t,n){1&t&&G(0,"span",25),2&t&&g("ngClass",C(3).$implicit.rightIcon)}function YV(t,n){if(1&t&&(oe(0),S(1,QV,1,1,"span",21),y(2,"span",22),P(3),v(),S(4,ZV,1,1,"span",23),ae()),2&t){const e=C(2).$implicit;m(1),g("ngIf",e.leftIcon),m(2),_e(e.header),m(1),g("ngIf",e.rightIcon)}}function XV(t,n){1&t&&fe(0)}function JV(t,n){if(1&t){const e=be();y(0,"span",26),F("click",function(r){L(e);const s=C(2).$implicit;return V(C().close(r,s))}),v()}}const e2=function(t,n){return{"p-highlight":t,"p-disabled":n}};function t2(t,n){if(1&t){const e=be();y(0,"li",16)(1,"a",17),F("click",function(r){L(e);const s=C().$implicit;return V(C().open(r,s))})("keydown.enter",function(r){L(e);const s=C().$implicit;return V(C().open(r,s))}),S(2,YV,5,3,"ng-container",18),S(3,XV,1,0,"ng-container",19),S(4,JV,1,0,"span",20),v()()}if(2&t){const e=C().$implicit;Ke(e.headerStyleClass),g("ngClass",Ft(16,e2,e.selected,e.disabled))("ngStyle",e.headerStyle),m(1),g("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),Be("id",e.id+"-label")("aria-selected",e.selected)("aria-controls",e.id)("aria-selected",e.selected)("tabindex",e.disabled?null:"0"),m(1),g("ngIf",!e.headerTemplate),m(1),g("ngTemplateOutlet",e.headerTemplate),m(1),g("ngIf",e.closable)}}function n2(t,n){1&t&&S(0,t2,5,19,"li",15),2&t&&g("ngIf",!n.$implicit.closed)}function r2(t,n){if(1&t){const e=be();y(0,"button",27,28),F("click",function(){return L(e),V(C().navForward())}),G(2,"span",29),v()}}const s2=function(t){return{"p-tabview p-component":!0,"p-tabview-scrollable":t}};let o2=0,Kp=(()=>{class t{constructor(e,i,r){this.viewContainer=i,this.cd=r,this.cache=!0,this.tooltipPosition="top",this.tooltipPositionStyle="absolute",this.id="p-tabpanel-"+o2++,this.tabView=e}ngAfterContentInit(){this.templates.forEach(e=>{"header"===e.getType()?this.headerTemplate=e.template:this.contentTemplate=e.template})}get selected(){return this._selected}set selected(e){this._selected=e,this.loaded||this.cd.detectChanges(),e&&(this.loaded=!0)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.tabView.cd.markForCheck()}get header(){return this._header}set header(e){this._header=e,Promise.resolve().then(()=>{this.tabView.updateInkBar(),this.tabView.cd.markForCheck()})}get leftIcon(){return this._leftIcon}set leftIcon(e){this._leftIcon=e,this.tabView.cd.markForCheck()}get rightIcon(){return this._rightIcon}set rightIcon(e){this._rightIcon=e,this.tabView.cd.markForCheck()}ngOnDestroy(){this.view=null}}return t.\u0275fac=function(e){return new(e||t)(D(ye(()=>Qp)),D(gn),D(Ut))},t.\u0275cmp=Ie({type:t,selectors:[["p-tabPanel"]],contentQueries:function(e,i,r){if(1&e&&xn(r,ti,4),2&e){let s;De(s=Se())&&(i.templates=s)}},hostAttrs:[1,"p-element"],inputs:{closable:"closable",headerStyle:"headerStyle",headerStyleClass:"headerStyleClass",cache:"cache",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",selected:"selected",disabled:"disabled",header:"header",leftIcon:"leftIcon",rightIcon:"rightIcon"},ngContentSelectors:GD,decls:1,vars:1,consts:[["class","p-tabview-panel","role","tabpanel",3,"hidden",4,"ngIf"],["role","tabpanel",1,"p-tabview-panel",3,"hidden"],[4,"ngIf"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&(Ri(),S(0,UV,3,5,"div",0)),2&e&&g("ngIf",!i.closed)},dependencies:[Dt,Yn],encapsulation:2}),t})(),Qp=(()=>{class t{constructor(e,i){this.el=e,this.cd=i,this.orientation="top",this.onChange=new U,this.onClose=new U,this.activeIndexChange=new U,this.backwardIsDisabled=!0,this.forwardIsDisabled=!1}ngAfterContentInit(){this.initTabs(),this.tabChangesSubscription=this.tabPanels.changes.subscribe(e=>{this.initTabs()})}ngAfterViewChecked(){this.tabChanged&&(this.updateInkBar(),this.tabChanged=!1)}ngOnDestroy(){this.tabChangesSubscription&&this.tabChangesSubscription.unsubscribe()}initTabs(){this.tabs=this.tabPanels.toArray(),!this.findSelectedTab()&&this.tabs.length&&(null!=this.activeIndex&&this.tabs.length>this.activeIndex?this.tabs[this.activeIndex].selected=!0:this.tabs[0].selected=!0,this.tabChanged=!0),this.cd.markForCheck()}open(e,i){if(i.disabled)e&&e.preventDefault();else{if(!i.selected){let r=this.findSelectedTab();r&&(r.selected=!1),this.tabChanged=!0,i.selected=!0;let s=this.findTabIndex(i);this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(s),this.onChange.emit({originalEvent:e,index:s}),this.updateScrollBar(s)}e&&e.preventDefault()}}close(e,i){this.controlClose?this.onClose.emit({originalEvent:e,index:this.findTabIndex(i),close:()=>{this.closeTab(i)}}):(this.closeTab(i),this.onClose.emit({originalEvent:e,index:this.findTabIndex(i)})),e.stopPropagation()}closeTab(e){if(!e.disabled){if(e.selected){this.tabChanged=!0,e.selected=!1;for(let i=0;ithis._activeIndex&&(this.findSelectedTab().selected=!1,this.tabs[this._activeIndex].selected=!0,this.tabChanged=!0,this.updateScrollBar(e))}updateInkBar(){if(this.navbar){const e=A.findSingle(this.navbar.nativeElement,"li.p-highlight");if(!e)return;this.inkbar.nativeElement.style.width=A.getWidth(e)+"px",this.inkbar.nativeElement.style.left=A.getOffset(e).left-A.getOffset(this.navbar.nativeElement).left+"px"}}updateScrollBar(e){this.navbar.nativeElement.children[e].scrollIntoView({block:"nearest"})}updateButtonState(){const e=this.content.nativeElement,{scrollLeft:i,scrollWidth:r}=e,s=A.getWidth(e);this.backwardIsDisabled=0===i,this.forwardIsDisabled=parseInt(i)===r-s}onScroll(e){this.scrollable&&this.updateButtonState(),e.preventDefault()}getVisibleButtonWidths(){return[this.prevBtn?.nativeElement,this.nextBtn?.nativeElement].reduce((e,i)=>i?e+A.getWidth(i):e,0)}navBackward(){const e=this.content.nativeElement,i=A.getWidth(e)-this.getVisibleButtonWidths(),r=e.scrollLeft-i;e.scrollLeft=r<=0?0:r}navForward(){const e=this.content.nativeElement,i=A.getWidth(e)-this.getVisibleButtonWidths(),r=e.scrollLeft+i,s=e.scrollWidth-i;e.scrollLeft=r>=s?s:r}}return t.\u0275fac=function(e){return new(e||t)(D($e),D(Ut))},t.\u0275cmp=Ie({type:t,selectors:[["p-tabView"]],contentQueries:function(e,i,r){if(1&e&&xn(r,Kp,4),2&e){let s;De(s=Se())&&(i.tabPanels=s)}},viewQuery:function(e,i){if(1&e&&(Je(jV,5),Je(zV,5),Je(GV,5),Je(WV,5),Je(qV,5)),2&e){let r;De(r=Se())&&(i.content=r.first),De(r=Se())&&(i.navbar=r.first),De(r=Se())&&(i.prevBtn=r.first),De(r=Se())&&(i.nextBtn=r.first),De(r=Se())&&(i.inkbar=r.first)}},hostAttrs:[1,"p-element"],inputs:{orientation:"orientation",style:"style",styleClass:"styleClass",controlClose:"controlClose",scrollable:"scrollable",activeIndex:"activeIndex"},outputs:{onChange:"onChange",onClose:"onClose",activeIndexChange:"activeIndexChange"},ngContentSelectors:GD,decls:13,vars:9,consts:[[3,"ngClass","ngStyle"],[1,"p-tabview-nav-container"],["class","p-tabview-nav-prev p-tabview-nav-btn p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-tabview-nav-content",3,"scroll"],["content",""],["role","tablist",1,"p-tabview-nav"],["navbar",""],["ngFor","",3,"ngForOf"],[1,"p-tabview-ink-bar"],["inkbar",""],["class","p-tabview-nav-next p-tabview-nav-btn p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-tabview-panels"],["type","button","pRipple","",1,"p-tabview-nav-prev","p-tabview-nav-btn","p-link",3,"click"],["prevBtn",""],[1,"pi","pi-chevron-left"],["role","presentation",3,"ngClass","ngStyle","class",4,"ngIf"],["role","presentation",3,"ngClass","ngStyle"],["role","tab","pRipple","",1,"p-tabview-nav-link",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","click","keydown.enter"],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tabview-close pi pi-times",3,"click",4,"ngIf"],["class","p-tabview-left-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-title"],["class","p-tabview-right-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-left-icon",3,"ngClass"],[1,"p-tabview-right-icon",3,"ngClass"],[1,"p-tabview-close","pi","pi-times",3,"click"],["type","button","pRipple","",1,"p-tabview-nav-next","p-tabview-nav-btn","p-link",3,"click"],["nextBtn",""],[1,"pi","pi-chevron-right"]],template:function(e,i){1&e&&(Ri(),y(0,"div",0)(1,"div",1),S(2,KV,3,0,"button",2),y(3,"div",3,4),F("scroll",function(s){return i.onScroll(s)}),y(5,"ul",5,6),S(7,n2,1,1,"ng-template",7),G(8,"li",8,9),v()(),S(10,r2,3,0,"button",10),v(),y(11,"div",11),pi(12),v()()),2&e&&(Ke(i.styleClass),g("ngClass",le(7,s2,i.scrollable))("ngStyle",i.style),m(2),g("ngIf",i.scrollable&&!i.backwardIsDisabled),m(5),g("ngForOf",i.tabs),m(3),g("ngIf",i.scrollable&&!i.forwardIsDisabled))},dependencies:[Qn,Jt,Dt,Yn,Zn,jD,Oc],styles:[".p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain auto}.p-tabview-nav{display:flex;margin:0;padding:0;list-style-type:none;flex:1 1 auto}.p-tabview-nav-link{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;display:flex;align-items:center;justify-content:center}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}.p-tabview-close{z-index:1}\n"],encapsulation:2,changeDetection:0}),t})(),a2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,Ln,zD,da,Ln]}),t})();const l2=["mask"];function c2(t,n){1&t&&fe(0)}function u2(t,n){if(1&t&&(oe(0),S(1,c2,1,0,"ng-container",7),ae()),2&t){const e=C(2);m(1),g("ngTemplateOutlet",e.indicatorTemplate)}}function d2(t,n){1&t&&G(0,"i",8)}function h2(t,n){if(1&t){const e=be();y(0,"div",4),F("click",function(){return L(e),V(C().onImageClick())}),S(1,u2,2,1,"ng-container",5),S(2,d2,1,0,"ng-template",null,6,gi),v()}if(2&t){const e=An(3),i=C();m(1),g("ngIf",i.indicatorTemplate)("ngIfElse",e)}}const p2=function(t,n){return{showTransitionParams:t,hideTransitionParams:n}},f2=function(t){return{value:"visible",params:t}};function g2(t,n){if(1&t){const e=be();y(0,"div"),F("@animation.start",function(r){return L(e),V(C(2).onAnimationStart(r))})("@animation.done",function(r){return L(e),V(C(2).onAnimationEnd(r))}),y(1,"img",20),F("click",function(){return L(e),V(C(2).onPreviewImageClick())}),v()()}if(2&t){const e=C(2);g("@animation",le(6,f2,Ft(3,p2,e.showTransitionOptions,e.hideTransitionOptions))),m(1),g("ngStyle",e.imagePreviewStyle()),Be("src",e.src,dn)}}function m2(t,n){if(1&t){const e=be();y(0,"div",9,10),F("click",function(){return L(e),V(C().onMaskClick())}),y(2,"div",11),F("click",function(r){return L(e),V(C().handleToolbarClick(r))}),y(3,"button",12),F("click",function(){return L(e),V(C().rotateRight())}),G(4,"i",13),v(),y(5,"button",12),F("click",function(){return L(e),V(C().rotateLeft())}),G(6,"i",14),v(),y(7,"button",15),F("click",function(){return L(e),V(C().zoomOut())}),G(8,"i",16),v(),y(9,"button",15),F("click",function(){return L(e),V(C().zoomIn())}),G(10,"i",17),v(),y(11,"button",12),F("click",function(){return L(e),V(C().closePreview())}),G(12,"i",18),v()(),S(13,g2,2,8,"div",19),v()}if(2&t){const e=C();m(7),g("disabled",e.isZoomOutDisabled),m(2),g("disabled",e.isZoomInDisabled),m(4),g("ngIf",e.previewVisible)}}let WD=(()=>{class t{constructor(e,i){this.config=e,this.cd=i,this.preview=!1,this.showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.onShow=new U,this.onHide=new U,this.onImageError=new U,this.maskVisible=!1,this.previewVisible=!1,this.rotate=0,this.scale=1,this.previewClick=!1,this.zoomSettings={default:1,step:.1,max:1.5,min:.5}}get isZoomOutDisabled(){return this.scale-this.zoomSettings.step<=this.zoomSettings.min}get isZoomInDisabled(){return this.scale+this.zoomSettings.step>=this.zoomSettings.max}ngAfterContentInit(){this.templates.forEach(e=>{e.getType(),this.indicatorTemplate=e.template})}onImageClick(){this.preview&&(this.maskVisible=!0,this.previewVisible=!0)}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}onPreviewImageClick(){this.previewClick=!0}rotateRight(){this.rotate+=90,this.previewClick=!0}rotateLeft(){this.rotate-=90,this.previewClick=!0}zoomIn(){this.scale=this.scale+this.zoomSettings.step,this.previewClick=!0}zoomOut(){this.scale=this.scale-this.zoomSettings.step,this.previewClick=!0}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container.parentElement,this.appendContainer(),this.moveOnTop();break;case"void":A.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(e){switch(e.toState){case"void":Ui.clear(this.wrapper),this.maskVisible=!1,this.container=null,this.wrapper=null,this.cd.markForCheck(),this.onHide.emit({});break;case"visible":this.onShow.emit({})}}moveOnTop(){Ui.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.wrapper):A.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}containerClass(){return{"p-image p-component":!0,"p-image-preview-container":this.preview}}handleToolbarClick(e){e.stopPropagation()}closePreview(){this.previewVisible=!1,this.rotate=0,this.scale=this.zoomSettings.default}imageError(e){this.onImageError.emit(e)}}return t.\u0275fac=function(e){return new(e||t)(D(ua),D(Ut))},t.\u0275cmp=Ie({type:t,selectors:[["p-image"]],contentQueries:function(e,i,r){if(1&e&&xn(r,ti,4),2&e){let s;De(s=Se())&&(i.templates=s)}},viewQuery:function(e,i){if(1&e&&Je(l2,5),2&e){let r;De(r=Se())&&(i.mask=r.first)}},hostAttrs:[1,"p-element"],inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",alt:"alt",width:"width",height:"height",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:13,consts:[[3,"ngClass","ngStyle"],[3,"ngStyle","error"],["class","p-image-preview-indicator",3,"click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter",3,"click",4,"ngIf"],[1,"p-image-preview-indicator",3,"click"],[4,"ngIf","ngIfElse"],["defaultTemplate",""],[4,"ngTemplateOutlet"],[1,"p-image-preview-icon","pi","pi-eye"],[1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click"],["mask",""],[1,"p-image-toolbar",3,"click"],["type","button",1,"p-image-action","p-link",3,"click"],[1,"pi","pi-refresh"],[1,"pi","pi-undo"],["type","button",1,"p-image-action","p-link",3,"disabled","click"],[1,"pi","pi-search-minus"],[1,"pi","pi-search-plus"],[1,"pi","pi-times"],[4,"ngIf"],[1,"p-image-preview",3,"ngStyle","click"]],template:function(e,i){1&e&&(y(0,"span",0)(1,"img",1),F("error",function(s){return i.imageError(s)}),v(),S(2,h2,4,2,"div",2),S(3,m2,14,3,"div",3),v()),2&e&&(Ke(i.styleClass),g("ngClass",i.containerClass())("ngStyle",i.style),m(1),Ke(i.imageClass),g("ngStyle",i.imageStyle),Be("src",i.src,dn)("alt",i.alt)("width",i.width)("height",i.height),m(1),g("ngIf",i.preview),m(1),g("ngIf",i.maskVisible))},dependencies:[Qn,Dt,Yn,Zn],styles:[".p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon{font-size:1.5rem}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex;z-index:1}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-action.p-link[disabled]{opacity:.5}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}\n"],encapsulation:2,data:{animation:[Gp("animation",[aa("void => visible",[Sr({transform:"scale(0.7)",opacity:0}),oa("{{showTransitionParams}}")]),aa("visible => void",[oa("{{hideTransitionParams}}",Sr({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0}),t})(),_2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,Ln]}),t})();const y2=["itemsContainer"];function v2(t,n){1&t&&fe(0)}function w2(t,n){if(1&t&&(y(0,"div",11),pi(1),S(2,v2,1,0,"ng-container",12),v()),2&t){const e=C();m(2),g("ngTemplateOutlet",e.headerTemplate)}}const C2=function(t){return{"p-carousel-prev p-link":!0,"p-disabled":t}},b2=function(t,n){return{"p-carousel-prev-icon pi":!0,"pi-chevron-left":t,"pi-chevron-up":n}};function D2(t,n){if(1&t){const e=be();y(0,"button",13),F("click",function(r){return L(e),V(C().navBackward(r))}),G(1,"span",2),v()}if(2&t){const e=C();g("ngClass",le(3,C2,e.isBackwardNavDisabled()))("disabled",e.isBackwardNavDisabled()),m(1),g("ngClass",Ft(5,b2,!e.isVertical(),e.isVertical()))}}function S2(t,n){1&t&&fe(0)}const qD=function(t,n,e){return{"p-carousel-item p-carousel-item-cloned":!0,"p-carousel-item-active":t,"p-carousel-item-start":n,"p-carousel-item-end":e}},Zp=function(t){return{$implicit:t}};function E2(t,n){if(1&t&&(y(0,"div",2),S(1,S2,1,0,"ng-container",14),v()),2&t){const e=n.$implicit,i=n.index,r=C();g("ngClass",fr(3,qD,-1*r.totalShiftedItems===r.value.length,0===i,r.clonedItemsForStarting.length-1===i)),m(1),g("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",le(7,Zp,e))}}function I2(t,n){1&t&&fe(0)}const T2=function(t,n,e){return{"p-carousel-item":!0,"p-carousel-item-active":t,"p-carousel-item-start":n,"p-carousel-item-end":e}};function M2(t,n){if(1&t&&(y(0,"div",2),S(1,I2,1,0,"ng-container",14),v()),2&t){const e=n.$implicit,i=n.index,r=C();g("ngClass",fr(3,T2,r.firstIndex()<=i&&r.lastIndex()>=i,r.firstIndex()===i,r.lastIndex()===i)),m(1),g("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",le(7,Zp,e))}}function A2(t,n){1&t&&fe(0)}function O2(t,n){if(1&t&&(y(0,"div",2),S(1,A2,1,0,"ng-container",14),v()),2&t){const e=n.$implicit,i=n.index,r=C();g("ngClass",fr(3,qD,-1*r.totalShiftedItems===r.numVisible,0===i,r.clonedItemsForFinishing.length-1===i)),m(1),g("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",le(7,Zp,e))}}const P2=function(t){return{"p-carousel-next p-link":!0,"p-disabled":t}},x2=function(t,n){return{"p-carousel-prev-icon pi":!0,"pi-chevron-right":t,"pi-chevron-down":n}};function R2(t,n){if(1&t){const e=be();y(0,"button",13),F("click",function(r){return L(e),V(C().navForward(r))}),G(1,"span",2),v()}if(2&t){const e=C();g("ngClass",le(3,P2,e.isForwardNavDisabled()))("disabled",e.isForwardNavDisabled()),m(1),g("ngClass",Ft(5,x2,!e.isVertical(),e.isVertical()))}}const N2=function(t){return{"p-carousel-indicator":!0,"p-highlight":t}};function F2(t,n){if(1&t){const e=be();y(0,"li",2)(1,"button",15),F("click",function(r){const o=L(e).index;return V(C(2).onDotClick(r,o))}),v()()}if(2&t){const e=n.index,i=C(2);g("ngClass",le(5,N2,i._page===e)),m(1),Ke(i.indicatorStyleClass),g("ngClass","p-link")("ngStyle",i.indicatorStyle)}}function k2(t,n){if(1&t&&(y(0,"ul",0),S(1,F2,2,7,"li",8),v()),2&t){const e=C();Ke(e.indicatorsContentClass),g("ngClass","p-carousel-indicators p-reset")("ngStyle",e.indicatorsContentStyle),m(1),g("ngForOf",e.totalDotsArray())}}function L2(t,n){1&t&&fe(0)}function V2(t,n){if(1&t&&(y(0,"div",16),pi(1,1),S(2,L2,1,0,"ng-container",12),v()),2&t){const e=C();m(2),g("ngTemplateOutlet",e.footerTemplate)}}const B2=[[["p-header"]],[["p-footer"]]],H2=function(t,n){return{"p-carousel p-component":!0,"p-carousel-vertical":t,"p-carousel-horizontal":n}},$2=function(t){return{height:t}},U2=["p-header","p-footer"];let KD=(()=>{class t{constructor(e,i,r,s,o){this.el=e,this.zone=i,this.cd=r,this.renderer=s,this.document=o,this.orientation="horizontal",this.verticalViewPortHeight="300px",this.contentClass="",this.indicatorsContentClass="",this.indicatorStyleClass="",this.circular=!1,this.showIndicators=!0,this.showNavigators=!0,this.autoplayInterval=0,this.onPage=new U,this._numVisible=1,this._numScroll=1,this._oldNumScroll=0,this.prevState={numScroll:0,numVisible:0,value:[]},this.defaultNumScroll=1,this.defaultNumVisible=1,this._page=0,this.isRemainingItemsAdded=!1,this.remainingItems=0,this.swipeThreshold=20,this.totalShiftedItems=this.page*this.numScroll*-1}get page(){return this._page}set page(e){this.isCreated&&e!==this._page&&(this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),e>this._page&&e<=this.totalDots()-1?this.step(-1,e):e{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}ngAfterContentChecked(){const e=this.isCircular();let i=this.totalShiftedItems;if(this.value&&this.itemsContainer&&(this.prevState.numScroll!==this._numScroll||this.prevState.numVisible!==this._numVisible||this.prevState.value.length!==this.value.length)){this.autoplayInterval&&this.stopAutoplay(),this.remainingItems=(this.value.length-this._numVisible)%this._numScroll;let r=this._page;0!==this.totalDots()&&r>=this.totalDots()&&(r=this.totalDots()-1,this._page=r,this.onPage.emit({page:this.page})),i=r*this._numScroll*-1,e&&(i-=this._numVisible),r===this.totalDots()-1&&this.remainingItems>0?(i+=-1*this.remainingItems+this._numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,i!==this.totalShiftedItems&&(this.totalShiftedItems=i),this._oldNumScroll=this._numScroll,this.prevState.numScroll=this._numScroll,this.prevState.numVisible=this._numVisible,this.prevState.value=[...this._value],this.totalDots()>0&&this.itemsContainer.nativeElement&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${i*(100/this._numVisible)}%, 0)`:`translate3d(${i*(100/this._numVisible)}%, 0, 0)`),this.isCreated=!0,this.autoplayInterval&&this.isAutoplay()&&this.startAutoplay()}e&&(0===this.page?i=-1*this._numVisible:0===i&&(i=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),i!==this.totalShiftedItems&&(this.totalShiftedItems=i))}createStyle(){this.carouselStyle||(this.carouselStyle=this.renderer.createElement("style"),this.carouselStyle.type="text/css",this.renderer.appendChild(this.document.head,this.carouselStyle));let e=`\n #${this.id} .p-carousel-item {\n\t\t\t\tflex: 1 0 ${100/this.numVisible}%\n\t\t\t}\n `;if(this.responsiveOptions){this.responsiveOptions.sort((i,r)=>{const s=i.breakpoint,o=r.breakpoint;let a=null;return a=null==s&&null!=o?-1:null!=s&&null==o?1:null==s&&null==o?0:"string"==typeof s&&"string"==typeof o?s.localeCompare(o,void 0,{numeric:!0}):so?1:0,-1*a});for(let i=0;i=i&&(e=s)}}if(this._numScroll!==e.numScroll){let i=this._page;i=Math.floor(i*this._numScroll/e.numScroll);let r=e.numScroll*this.page*-1;this.isCircular()&&(r-=e.numVisible),this.totalShiftedItems=r,this._numScroll=e.numScroll,this._page=i,this.onPage.emit({page:this.page})}this._numVisible!==e.numVisible&&(this._numVisible=e.numVisible,this.setCloneItems()),this.cd.markForCheck()}}setCloneItems(){this.clonedItemsForStarting=[],this.clonedItemsForFinishing=[],this.isCircular()&&(this.clonedItemsForStarting.push(...this.value.slice(-1*this._numVisible)),this.clonedItemsForFinishing.push(...this.value.slice(0,this._numVisible)))}firstIndex(){return this.isCircular()?-1*(this.totalShiftedItems+this.numVisible):-1*this.totalShiftedItems}lastIndex(){return this.firstIndex()+this.numVisible-1}totalDots(){return this.value?.length?Math.ceil((this.value.length-this._numVisible)/this._numScroll)+1:0}totalDotsArray(){const e=this.totalDots();return e<=0?[]:Array(e).fill(0)}isVertical(){return"vertical"===this.orientation}isCircular(){return this.circular&&this.value&&this.value.length>=this.numVisible}isAutoplay(){return this.autoplayInterval&&this.allowAutoplay}isForwardNavDisabled(){return this.isEmpty()||this._page>=this.totalDots()-1&&!this.isCircular()}isBackwardNavDisabled(){return this.isEmpty()||this._page<=0&&!this.isCircular()}isEmpty(){return!this.value||0===this.value.length}navForward(e,i){(this.isCircular()||this._pager?this.navForward(e,i):i0&&(r+=-1*this.remainingItems-this._numScroll*e,this.isRemainingItemsAdded=!0),this.itemsContainer&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${r*(100/this._numVisible)}%, 0)`:`translate3d(${r*(100/this._numVisible)}%, 0, 0)`,this.itemsContainer.nativeElement.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=r,this._page=i,this.onPage.emit({page:this.page})}startAutoplay(){this.interval=setInterval(()=>{this.totalDots()>0&&(this.page===this.totalDots()-1?this.step(-1,0):this.step(-1,this.page+1))},this.autoplayInterval)}stopAutoplay(){this.interval&&clearInterval(this.interval)}onTransitionEnd(){this.itemsContainer&&(this.itemsContainer.nativeElement.style.transition="",(0===this.page||this.page===this.totalDots()-1)&&this.isCircular()&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${this.totalShiftedItems*(100/this._numVisible)}%, 0)`:`translate3d(${this.totalShiftedItems*(100/this._numVisible)}%, 0, 0)`))}onTouchStart(e){let i=e.changedTouches[0];this.startPos={x:i.pageX,y:i.pageY}}onTouchMove(e){e.cancelable&&e.preventDefault()}onTouchEnd(e){let i=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,i.pageY-this.startPos.y):this.changePageOnTouch(e,i.pageX-this.startPos.x)}changePageOnTouch(e,i){Math.abs(i)>this.swipeThreshold&&(i<0?this.navForward(e):this.navBackward(e))}bindDocumentListeners(){!this.documentResizeListener&&typeof window<"u"&&(this.documentResizeListener=e=>{this.calculatePosition()},window.addEventListener("resize",this.documentResizeListener))}unbindDocumentListeners(){this.documentResizeListener&&typeof window<"u"&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}ngOnDestroy(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()}}return t.\u0275fac=function(e){return new(e||t)(D($e),D(Te),D(Ut),D(Yt),D(Qe))},t.\u0275cmp=Ie({type:t,selectors:[["p-carousel"]],contentQueries:function(e,i,r){if(1&e&&(xn(r,VV,5),xn(r,BV,5),xn(r,ti,4)),2&e){let s;De(s=Se())&&(i.headerFacet=s.first),De(s=Se())&&(i.footerFacet=s.first),De(s=Se())&&(i.templates=s)}},viewQuery:function(e,i){if(1&e&&Je(y2,5),2&e){let r;De(r=Se())&&(i.itemsContainer=r.first)}},hostAttrs:[1,"p-element"],inputs:{page:"page",numVisible:"numVisible",numScroll:"numScroll",responsiveOptions:"responsiveOptions",orientation:"orientation",verticalViewPortHeight:"verticalViewPortHeight",contentClass:"contentClass",indicatorsContentClass:"indicatorsContentClass",indicatorsContentStyle:"indicatorsContentStyle",indicatorStyleClass:"indicatorStyleClass",indicatorStyle:"indicatorStyle",value:"value",circular:"circular",showIndicators:"showIndicators",showNavigators:"showNavigators",autoplayInterval:"autoplayInterval",style:"style",styleClass:"styleClass"},outputs:{onPage:"onPage"},features:[pt],ngContentSelectors:U2,decls:14,vars:22,consts:[[3,"ngClass","ngStyle"],["class","p-carousel-header",4,"ngIf"],[3,"ngClass"],[1,"p-carousel-container"],["type","button","pRipple","",3,"ngClass","disabled","click",4,"ngIf"],[1,"p-carousel-items-content",3,"ngStyle"],[1,"p-carousel-items-container",3,"transitionend","touchend","touchstart","touchmove"],["itemsContainer",""],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass","class","ngStyle",4,"ngIf"],["class","p-carousel-footer",4,"ngIf"],[1,"p-carousel-header"],[4,"ngTemplateOutlet"],["type","button","pRipple","",3,"ngClass","disabled","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"ngClass","ngStyle","click"],[1,"p-carousel-footer"]],template:function(e,i){1&e&&(Ri(B2),y(0,"div",0),S(1,w2,3,1,"div",1),y(2,"div",2)(3,"div",3),S(4,D2,2,8,"button",4),y(5,"div",5)(6,"div",6,7),F("transitionend",function(){return i.onTransitionEnd()})("touchend",function(s){return i.onTouchEnd(s)})("touchstart",function(s){return i.onTouchStart(s)})("touchmove",function(s){return i.onTouchMove(s)}),S(8,E2,2,9,"div",8),S(9,M2,2,9,"div",8),S(10,O2,2,9,"div",8),v()(),S(11,R2,2,8,"button",4),v(),S(12,k2,2,5,"ul",9),v(),S(13,V2,3,1,"div",10),v()),2&e&&(Ke(i.styleClass),g("ngClass",Ft(17,H2,i.isVertical(),!i.isVertical()))("ngStyle",i.style),Be("id",i.id),m(1),g("ngIf",i.headerFacet||i.headerTemplate),m(1),Ke(i.contentClass),g("ngClass","p-carousel-content"),m(2),g("ngIf",i.showNavigators),m(1),g("ngStyle",le(20,$2,i.isVertical()?i.verticalViewPortHeight:"auto")),m(3),g("ngForOf",i.clonedItemsForStarting),m(1),g("ngForOf",i.value),m(1),g("ngForOf",i.clonedItemsForFinishing),m(1),g("ngIf",i.showNavigators),m(1),g("ngIf",i.showIndicators),m(1),g("ngIf",i.footerFacet||i.footerTemplate))},dependencies:[Qn,Jt,Dt,Yn,Zn,Oc],styles:[".p-carousel{display:flex;flex-direction:column}.p-carousel-content{display:flex;flex-direction:column;overflow:auto}.p-carousel-prev,.p-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-carousel-container{display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-items-container{display:flex;flex-direction:row}.p-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.p-carousel-indicator>button{display:flex;align-items:center;justify-content:center}.p-carousel-vertical .p-carousel-container{flex-direction:column}.p-carousel-vertical .p-carousel-items-container{flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}\n"],encapsulation:2,changeDetection:0}),t})(),j2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,Ln,da,St,Ln]}),t})();function z2(t,n){if(1&t&&(oe(0),G(1,"iframe",2),ae()),2&t){const e=C();m(1),g("src",e.videoUrl,yd)}}function G2(t,n){1&t&&fe(0)}class Rs{constructor(n){this.sanitizer=n,this.site="YouTube",this.key=null,this.videoUrl=""}ngOnInit(){switch(this.site){case"YouTube":this.videoUrl=this.getSafeUrl("https://www.youtube.com/embed/"+this.key);break;case"Vimeo":this.videoUrl=this.getSafeUrl("https://www.vimeo.com/embed/"+this.key)}}getSafeUrl(n){return this.sanitizer.bypassSecurityTrustResourceUrl(n)}}function W2(t,n){1&t&&(oe(0),P(1,","),ae())}function q2(t,n){if(1&t&&(y(0,"span"),P(1),S(2,W2,2,0,"ng-container",0),v()),2&t){const e=n.$implicit,i=n.index,r=C(2);m(1),ot(" ",e.name,""),m(1),g("ngIf",i+1!=r.movie.genres.length)}}function K2(t,n){if(1&t&&(oe(0),y(1,"div",17),G(2,"video-embed",18),v(),ae()),2&t){const e=n.$implicit;m(2),g("key",e.key)("site",e.site)}}function Q2(t,n){if(1&t&&(oe(0),y(1,"div",17),G(2,"p-image",19),v(),ae()),2&t){const e=n.$implicit,i=C(2);m(2),g("src",i.imageSizes.large+e.file_path)("preview",!0)}}function Z2(t,n){if(1&t&&(y(0,"div",22),G(1,"img",23),y(2,"span"),P(3),v()()),2&t){const e=n.$implicit,i=C(3);m(1),g("src",i.imageSizes.medium+e.profile_path,dn),m(2),_e(e.name)}}function Y2(t,n){if(1&t&&(y(0,"p-carousel",20),S(1,Z2,4,2,"ng-template",21),v()),2&t){const e=C(2);g("numVisible",7)("value",e.movieCredits.cast)}}Rs.\u0275fac=function(n){return new(n||Rs)(D(JC))},Rs.\u0275cmp=Ie({type:Rs,selectors:[["video-embed"]],inputs:{site:"site",key:"key"},decls:3,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["width","100%","height","542","title","YouTube Video Player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","allowfullscreen","",3,"src"]],template:function(n,e){1&n&&(oe(0,0),S(1,z2,2,1,"ng-container",1),S(2,G2,1,0,"ng-container",1),ae()),2&n&&(g("ngSwitch",e.site),m(1),g("ngSwitchCase","YouTube"),m(1),g("ngSwitchCase","Vimeo"))},dependencies:[Jl,bC]});const X2=function(t){return[t]};function J2(t,n){if(1&t&&(oe(0),G(1,"slider",1),y(2,"p-tabView")(3,"p-tabPanel",2)(4,"div",3)(5,"div",4),G(6,"img",5),v(),y(7,"div",6)(8,"h2"),P(9,"Overview"),v(),y(10,"p",7),P(11),v(),y(12,"div",8)(13,"div",9),P(14,"Release Date:"),v(),y(15,"div",10),P(16),fi(17,"date"),v()(),y(18,"div",8)(19,"div",9),P(20,"Language:"),v(),y(21,"div",10),P(22),fi(23,"uppercase"),v()(),y(24,"div",8)(25,"div",9),P(26,"Revenue:"),v(),y(27,"div",10),P(28),fi(29,"currency"),v()(),y(30,"div",8)(31,"div",9),P(32,"Duration:"),v(),y(33,"div",10),P(34),v()(),y(35,"div",8)(36,"div",9),P(37,"Status:"),v(),y(38,"div",10),P(39),v()(),y(40,"div",8)(41,"div",9),P(42,"Genres:"),v(),y(43,"div",10),S(44,q2,3,2,"span",11),v()()()()(),y(45,"p-tabPanel",12)(46,"div",3),S(47,K2,3,2,"ng-container",11),v()(),y(48,"p-tabPanel",13),G(49,"p-image",14),y(50,"div",3),S(51,Q2,3,2,"ng-container",11),v()()(),S(52,Y2,2,2,"p-carousel",15),G(53,"items-banner",16),ae()),2&t){const e=C();m(1),g("itemsMovie",le(23,X2,e.movie))("isBanner",!0),m(5),g("src",e.imageSizes.medium+e.movie.poster_path,dn)("alt",e.movie.title),m(5),_e(e.movie.overview),m(5),ot(" ",gr(17,15,e.movie.release_date,"dd.MM.yyyy")," "),m(6),ot(" ",uh(23,18,e.movie.original_language)," "),m(6),ot(" ",gr(29,20,e.movie.revenue,"USD")," "),m(6),ot("",e.movie.runtime," min"),m(5),_e(e.movie.status),m(5),g("ngForOf",e.movie.genres),m(3),g("ngForOf",e.movieVideos),m(4),g("ngForOf",null==e.movieImages?null:e.movieImages.backdrops),m(1),g("ngIf",e.movieCredits),m(1),g("itemsMovie",e.similarMovies)}}class ha{constructor(n,e,i){this.route=n,this.moviesService=e,this.router=i,this.movie=null,this.movieVideos=[],this.movieImages=null,this.movieCredits=null,this.imageSizes=Ac,this.similarMovies=[]}ngOnInit(){this.urlSubscription=this.route.params.subscribe(n=>{this.getMovie(n.id),this.getMovieVideos(n.id),this.getMovieImages(n.id),this.getMovieCredits(n.id),this.getMovieSimilar(n.id),this.router.navigateByUrl("/movie/"+n.id)})}ngOnDestroy(){this.urlSubscription.unsubscribe()}getMovie(n){this.moviesService.getMovie(n).subscribe(e=>{this.movie=e})}getMovieVideos(n){this.moviesService.getMovieVideos(n).subscribe(e=>{this.movieVideos=e})}getMovieImages(n){this.moviesService.getMovieImages(n).subscribe(e=>{this.movieImages=e})}getMovieCredits(n){this.moviesService.getMovieCredits(n).subscribe(e=>{this.movieCredits=e})}getMovieSimilar(n){this.moviesService.getMovieSimilar(n).subscribe(e=>{this.similarMovies=e})}}ha.\u0275fac=function(n){return new(n||ha)(D(ei),D(Di),D(Lt))},ha.\u0275cmp=Ie({type:ha,selectors:[["app-movie"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"itemsMovie","isBanner"],["header","Overviews"],[1,"grid"],[1,"col-12","md:col-3","lg:col-3"],[1,"poster",3,"src","alt"],[1,"col-12","md:col-9","lg:col-9"],[1,"overview"],[1,"stat"],[1,"label"],[1,"value"],[4,"ngFor","ngForOf"],["header","Videos"],["header","Photos"],["src","","alt","Image","width","250"],[3,"numVisible","value",4,"ngIf"],["title","Similar Movies",3,"itemsMovie"],[1,"col-12","md:col-4","lg:col-4"],[3,"key","site"],["alt","Image","width","100%",3,"src","preview"],[3,"numVisible","value"],["pTemplate","item"],[1,"actor"],["alt","",3,"src"]],template:function(n,e){1&n&&S(0,J2,54,25,"ng-container",0),2&n&&g("ngIf",e.movie)},dependencies:[Jt,Dt,ti,Qp,Kp,WD,KD,Er,Tr,Rs,Xh,EC,Lo],styles:["[_nghost-%COMP%] .p-tabview-nav{justify-content:center}[_nghost-%COMP%] .p-tabview-nav li .p-tabview.nav.link{background:#141414}[_nghost-%COMP%] .p-tabview-nav li.p-highlight .p-tabview-nav-link{background:#141414}[_nghost-%COMP%] .poster{max-width:100%}[_nghost-%COMP%] .overview{line-height:1.5}[_nghost-%COMP%] .stat{display:flex;margin-bottom:15px}[_nghost-%COMP%] .stat .label{width:150px;font-weight:700}[_nghost-%COMP%] .stat .value{color:#ffd54f}[_nghost-%COMP%] .actor{padding:10px}[_nghost-%COMP%] .actor img{width:100%}[_nghost-%COMP%] .actor span{display:block;text-align:center;margin:10px 0}"]});let QD=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(D(Yt),D($e))},t.\u0275dir=j({type:t}),t})(),Mr=(()=>{class t extends QD{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=mt(t)))(i||t)}}(),t.\u0275dir=j({type:t,features:[Ee]}),t})();const en=new H("NgValueAccessor"),nB={provide:en,useExisting:ye(()=>pa),multi:!0},rB=new H("CompositionEventMode");let pa=(()=>{class t extends QD{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function iB(){const t=Kn()?Kn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Yt),D($e),D(rB,8))},t.\u0275dir=j({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&F("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[Pe([nB]),Ee]}),t})();const Tt=new H("NgValidators"),zi=new H("NgAsyncValidators");function oS(t){return null!=t}function aS(t){return bo(t)?Xe(t):t}function lS(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function cS(t,n){return n.map(e=>e(t))}function uS(t){return t.map(n=>function aB(t){return!t.validate}(n)?n:e=>n.validate(e))}function Yp(t){return null!=t?function dS(t){if(!t)return null;const n=t.filter(oS);return 0==n.length?null:function(e){return lS(cS(e,n))}}(uS(t)):null}function Xp(t){return null!=t?function hS(t){if(!t)return null;const n=t.filter(oS);return 0==n.length?null:function(e){return function eB(...t){const n=yg(t),{args:e,keys:i}=tb(t),r=new We(s=>{const{length:o}=e;if(!o)return void s.complete();const a=new Array(o);let l=o,c=o;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||s.next(i?ib(i,a):a),s.complete())}))}});return n?r.pipe(nb(n)):r}(cS(e,n).map(aS)).pipe(re(lS))}}(uS(t)):null}function pS(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Jp(t){return t?Array.isArray(t)?t:[t]:[]}function xc(t,n){return Array.isArray(t)?t.includes(n):t===n}function mS(t,n){const e=Jp(n);return Jp(t).forEach(r=>{xc(e,r)||e.push(r)}),e}function _S(t,n){return Jp(n).filter(e=>!xc(t,e))}class yS{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Yp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Vt extends yS{get formDirective(){return null}get path(){return null}}class Gi extends yS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vS{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rc=(()=>{class t extends vS{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Gi,2))},t.\u0275dir=j({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&dr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Ee]}),t})();const fa="VALID",Fc="INVALID",Ns="PENDING",ga="DISABLED";function kc(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class DS{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===fa}get invalid(){return this.status===Fc}get pending(){return this.status==Ns}get disabled(){return this.status===ga}get enabled(){return this.status!==ga}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(mS(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(mS(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(_S(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(_S(n,this._rawAsyncValidators))}hasValidator(n){return xc(this._rawValidators,n)}hasAsyncValidator(n){return xc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ns,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=ga,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=fa,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fa||this.status===Ns)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ga:fa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ns,this._hasOwnPendingAsyncValidator=!0;const e=aS(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?ga:this.errors?Fc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ns)?Ns:this._anyControlsHaveStatus(Fc)?Fc:fa}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){kc(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function gB(t){return Array.isArray(t)?Yp(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function mB(t){return Array.isArray(t)?Xp(t):t||null}(this._rawAsyncValidators)}}const ma=new H("CallSetDisabledState",{providedIn:"root",factory:()=>lf}),lf="always";function _a(t,n,e=lf){(function cf(t,n){const e=function fS(t){return t._rawValidators}(t);null!==n.validator?t.setValidators(pS(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=function gS(t){return t._rawAsyncValidators}(t);null!==n.asyncValidator?t.setAsyncValidators(pS(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Bc(n._rawValidators,r),Bc(n._rawAsyncValidators,r)})(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function vB(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&SS(t,n)})}(t,n),function CB(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function wB(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&SS(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function yB(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Bc(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function SS(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function TS(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function MS(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const AS=class extends DS{constructor(n=null,e,i){super(function rf(t){return(kc(t)?t.validators:t)||null}(e),function sf(t,n){return(kc(n)?n.asyncValidators:t)||null}(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),kc(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=MS(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){TS(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){TS(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){MS(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},AB={provide:Gi,useExisting:ye(()=>Fs)},xS=(()=>Promise.resolve())();let Fs=(()=>{class t extends Gi{constructor(e,i,r,s,o,a){super(),this._changeDetectorRef=o,this.callSetDisabledState=a,this.control=new AS,this._registered=!1,this.update=new U,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function hf(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(s=>{s.constructor===pa?e=s:function SB(t){return Object.getPrototypeOf(t.constructor)===Mr}(s)?i=s:r=s}),r||i||e||null}(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function df(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_a(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){xS.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&Cs(i);xS.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function Lc(t,n){return[...n.path,t]}(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(D(Vt,9),D(Tt,10),D(zi,10),D(en,10),D(Ut,8),D(ma,8))},t.\u0275dir=j({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Pe([AB]),Ee,pt]}),t})(),NS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({}),t})(),eH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[NS]}),t})(),XS=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ma,useValue:e.callSetDisabledState??lf}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[eH]}),t})(),nH=(()=>{class t{constructor(e){this.host=e,this.focused=!1}ngAfterViewChecked(){if(!this.focused&&this.autofocus){const e=A.getFocusableElements(this.host.nativeElement);0===e.length&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0}}}return t.\u0275fac=function(e){return new(e||t)(D($e))},t.\u0275dir=j({type:t,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}}),t})(),iH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St]}),t})();const rH=["overlay"],sH=["content"];function oH(t,n){1&t&&fe(0)}const aH=function(t,n,e){return{showTransitionParams:t,hideTransitionParams:n,transform:e}},lH=function(t){return{value:"visible",params:t}},cH=function(t){return{mode:t}},uH=function(t){return{$implicit:t}};function dH(t,n){if(1&t){const e=be();y(0,"div",1,3),F("click",function(r){return L(e),V(C(2).onOverlayContentClick(r))})("@overlayContentAnimation.start",function(r){return L(e),V(C(2).onOverlayContentAnimationStart(r))})("@overlayContentAnimation.done",function(r){return L(e),V(C(2).onOverlayContentAnimationDone(r))}),pi(2),S(3,oH,1,0,"ng-container",4),v()}if(2&t){const e=C(2);Ke(e.contentStyleClass),g("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",le(11,lH,fr(7,aH,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),m(3),g("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",le(15,uH,le(13,cH,e.overlayMode)))}}const hH=function(t,n,e,i,r,s,o,a,l,c,u,d,h,p){return{"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":t,"p-overlay-center":n,"p-overlay-top":e,"p-overlay-top-start":i,"p-overlay-top-end":r,"p-overlay-bottom":s,"p-overlay-bottom-start":o,"p-overlay-bottom-end":a,"p-overlay-left":l,"p-overlay-left-start":c,"p-overlay-left-end":u,"p-overlay-right":d,"p-overlay-right-start":h,"p-overlay-right-end":p}};function pH(t,n){if(1&t){const e=be();y(0,"div",1,2),F("click",function(r){return L(e),V(C().onOverlayClick(r))}),S(2,dH,4,17,"div",0),v()}if(2&t){const e=C();Ke(e.styleClass),g("ngStyle",e.style)("ngClass",Kv(5,hH,[e.modal,e.modal&&"center"===e.overlayResponsiveDirection,e.modal&&"top"===e.overlayResponsiveDirection,e.modal&&"top-start"===e.overlayResponsiveDirection,e.modal&&"top-end"===e.overlayResponsiveDirection,e.modal&&"bottom"===e.overlayResponsiveDirection,e.modal&&"bottom-start"===e.overlayResponsiveDirection,e.modal&&"bottom-end"===e.overlayResponsiveDirection,e.modal&&"left"===e.overlayResponsiveDirection,e.modal&&"left-start"===e.overlayResponsiveDirection,e.modal&&"left-end"===e.overlayResponsiveDirection,e.modal&&"right"===e.overlayResponsiveDirection,e.modal&&"right-start"===e.overlayResponsiveDirection,e.modal&&"right-end"===e.overlayResponsiveDirection])),m(2),g("ngIf",e.visible)}}const fH=["*"],gH={provide:en,useExisting:ye(()=>JS),multi:!0},mH=ND([Sr({transform:"{{transform}}",opacity:0}),oa("{{showTransitionParams}}")]),_H=ND([oa("{{hideTransitionParams}}",Sr({transform:"{{transform}}",opacity:0}))]);let JS=(()=>{class t{constructor(e,i,r,s,o,a){this.document=e,this.el=i,this.renderer=r,this.config=s,this.overlayService=o,this.zone=a,this.visibleChange=new U,this.onBeforeShow=new U,this.onShow=new U,this.onBeforeHide=new U,this.onHide=new U,this.onAnimationStart=new U,this.onAnimationDone=new U,this._visible=!1,this.modalVisible=!1,this.isOverlayClicked=!1,this.isOverlayContentClicked=!1,this.transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"},this.window=this.document.defaultView}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return Me.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return Me.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return Me.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return Me.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){const e=this._target||this.overlayOptions?.target;return void 0===e?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){const e=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===e||e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){const e=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===e?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){const e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===e?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){const e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===e?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}get modal(){return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return A.getTargetElement(this.target,this.el?.nativeElement)}ngAfterContentInit(){this.templates?.forEach(e=>{e.getType(),this.contentTemplate=e.template})}show(e,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&A.focus(this.targetEl),this.modal&&A.addClass(this.document?.body,"p-overflow-hidden")}hide(e,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&A.focus(this.targetEl),this.modal&&A.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&A.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(e){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&Ui.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),A.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&A.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){const i=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),A.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ui.clear(i),this.modalVisible=!1}this.handleEvents("onAnimationDone",e)}handleEvents(e,i){this[e].emit(i),this.options&&this.options[e]&&this.options[e](i),this.config?.overlayOptions&&this.config?.overlayOptions[e]&&this.config?.overlayOptions[e](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new UD(this.targetEl,e=>{(!this.listener||this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{const r=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target))||this.isOverlayContentClicked);(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:3!==e.which&&r}):r)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!A.isTouchDevice()}):!A.isTouchDevice())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",e=>{this.overlayOptions.hideOnEscape&&27===e.keyCode&&(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!A.isTouchDevice()}):!A.isTouchDevice())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(A.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ui.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}}return t.\u0275fac=function(e){return new(e||t)(D(Qe),D($e),D(Yt),D(ua),D(LV),D(Te))},t.\u0275cmp=Ie({type:t,selectors:[["p-overlay"]],contentQueries:function(e,i,r){if(1&e&&xn(r,ti,4),2&e){let s;De(s=Se())&&(i.templates=s)}},viewQuery:function(e,i){if(1&e&&(Je(rH,5),Je(sH,5)),2&e){let r;De(r=Se())&&(i.overlayViewChild=r.first),De(r=Se())&&(i.contentViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Pe([gH])],ngContentSelectors:fH,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(Ri(),S(0,pH,3,20,"div",0)),2&e&&g("ngIf",i.modalVisible)},dependencies:[Qn,Dt,Yn,Zn],styles:[".p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}\n"],encapsulation:2,data:{animation:[Gp("overlayContentAnimation",[aa(":enter",[FD(mH)]),aa(":leave",[FD(_H)])])]},changeDetection:0}),t})(),eE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,Ln,Ln]}),t})();const yH=["element"],vH=["content"];function wH(t,n){1&t&&fe(0)}const wf=function(t,n){return{$implicit:t,options:n}};function CH(t,n){if(1&t&&(oe(0),S(1,wH,1,0,"ng-container",7),ae()),2&t){const e=C(2);m(1),g("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Ft(2,wf,e.loadedItems,e.getContentOptions()))}}function bH(t,n){1&t&&fe(0)}function DH(t,n){if(1&t&&(oe(0),S(1,bH,1,0,"ng-container",7),ae()),2&t){const e=n.$implicit,i=n.index,r=C(3);m(1),g("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Ft(2,wf,e,r.getOptions(i)))}}const SH=function(t){return{"p-scroller-loading":t}};function EH(t,n){if(1&t&&(y(0,"div",8,9),S(2,DH,2,5,"ng-container",10),v()),2&t){const e=C(2);g("ngClass",le(4,SH,e.d_loading))("ngStyle",e.contentStyle),m(2),g("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy||e.index)}}function IH(t,n){1&t&&G(0,"div",11),2&t&&g("ngStyle",C(2).spacerStyle)}function TH(t,n){1&t&&fe(0)}const MH=function(t){return{numCols:t}},tE=function(t){return{options:t}};function AH(t,n){if(1&t&&(oe(0),S(1,TH,1,0,"ng-container",7),ae()),2&t){const e=n.index,i=C(4);m(1),g("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",le(4,tE,i.getLoaderOptions(e,i.both&&le(2,MH,i._numItemsInViewport.cols))))}}function OH(t,n){if(1&t&&(oe(0),S(1,AH,2,6,"ng-container",14),ae()),2&t){const e=C(3);m(1),g("ngForOf",e.loaderArr)}}function PH(t,n){1&t&&fe(0)}const xH=function(){return{styleClass:"p-scroller-loading-icon"}};function RH(t,n){if(1&t&&(oe(0),S(1,PH,1,0,"ng-container",7),ae()),2&t){const e=C(4);m(1),g("ngTemplateOutlet",e.loaderIconTemplate)("ngTemplateOutletContext",le(3,tE,pr(2,xH)))}}function NH(t,n){1&t&&G(0,"i",16)}function FH(t,n){if(1&t&&(S(0,RH,2,5,"ng-container",0),S(1,NH,1,0,"ng-template",null,15,gi)),2&t){const e=An(2);g("ngIf",C(3).loaderIconTemplate)("ngIfElse",e)}}const kH=function(t){return{"p-component-overlay":t}};function LH(t,n){if(1&t&&(y(0,"div",12),S(1,OH,2,1,"ng-container",0),S(2,FH,3,2,"ng-template",null,13,gi),v()),2&t){const e=An(3),i=C(2);g("ngClass",le(3,kH,!i.loaderTemplate)),m(1),g("ngIf",i.loaderTemplate)("ngIfElse",e)}}const VH=function(t,n,e){return{"p-scroller":!0,"p-scroller-inline":t,"p-both-scroll":n,"p-horizontal-scroll":e}};function BH(t,n){if(1&t){const e=be();oe(0),y(1,"div",2,3),F("scroll",function(r){return L(e),V(C().onContainerScroll(r))}),S(3,CH,2,5,"ng-container",0),S(4,EH,3,6,"ng-template",null,4,gi),S(6,IH,1,1,"div",5),S(7,LH,4,5,"div",6),v(),ae()}if(2&t){const e=An(5),i=C();m(1),Ke(i._styleClass),g("ngStyle",i._style)("ngClass",fr(10,VH,i.inline,i.both,i.horizontal)),Be("id",i._id)("tabindex",i.tabindex),m(2),g("ngIf",i.contentTemplate)("ngIfElse",e),m(3),g("ngIf",i._showSpacer),m(1),g("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function HH(t,n){1&t&&fe(0)}const $H=function(t,n){return{rows:t,columns:n}};function UH(t,n){if(1&t&&(oe(0),S(1,HH,1,0,"ng-container",7),ae()),2&t){const e=C(2);m(1),g("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Ft(5,wf,e.items,Ft(2,$H,e._items,e.loadedColumns)))}}function jH(t,n){if(1&t&&(pi(0),S(1,UH,2,8,"ng-container",17)),2&t){const e=C();m(1),g("ngIf",e.contentTemplate)}}const zH=["*"];let GH=(()=>{class t{constructor(e,i){this.cd=e,this.zone=i,this.onLazyLoad=new U,this.onScroll=new U,this.onScrollIndexChange=new U,this._tabindex=0,this._itemSize=0,this._orientation="vertical",this._step=0,this._delay=0,this._resizeDelay=10,this._appendOnly=!1,this._inline=!1,this._lazy=!1,this._disabled=!1,this._loaderDisabled=!1,this._showSpacer=!0,this._showLoader=!1,this._autoSize=!1,this.d_loading=!1,this.first=0,this.last=0,this.page=0,this.isRangeChanged=!1,this.numItemsInViewport=0,this.lastScrollPos=0,this.lazyLoadState={},this.loaderArr=[],this.spacerStyle={},this.contentStyle={},this.initialized=!1}get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&"object"==typeof e&&Object.entries(e).forEach(([i,r])=>this[`_${i}`]!==r&&(this[`_${i}`]=r))}get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}ngOnInit(){this.setInitialState()}ngOnChanges(e){let i=!1;if(e.loading){const{previousValue:r,currentValue:s}=e.loading;this.lazy&&r!==s&&s!==this.d_loading&&(this.d_loading=s,i=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){const{previousValue:r,currentValue:s}=e.numToleratedItems;r!==s&&s!==this.d_numToleratedItems&&(this.d_numToleratedItems=s)}if(e.options){const{previousValue:r,currentValue:s}=e.options;this.lazy&&r?.loading!==s?.loading&&s?.loading!==this.d_loading&&(this.d_loading=s.loading,i=!0),r?.numToleratedItems!==s?.numToleratedItems&&s?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=s.numToleratedItems)}this.initialized&&!i&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;case"item":default:this.itemTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"loadericon":this.loaderIconTemplate=e.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){A.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=A.getWidth(this.elementViewChild.nativeElement),this.defaultHeight=A.getHeight(this.elementViewChild.nativeElement),this.defaultContentWidth=A.getWidth(this.contentEl),this.defaultContentHeight=A.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||A.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(e){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,i="auto"){const{numToleratedItems:r}=this.calculateNumItems(),s=this.getContentPosition(),o=(u=0,d)=>u<=d?0:u,a=(u,d,h)=>u*d+h,l=(u=0,d=0)=>this.scrollTo({left:u,top:d,behavior:i});let c=0;this.both?(c={rows:o(e[0],r[0]),cols:o(e[1],r[1])},l(a(c.cols,this._itemSize[1],s.left),a(c.rows,this._itemSize[0],s.top))):(c=o(e,r),this.horizontal?l(a(c,this._itemSize,s.left),0):l(0,a(c,this._itemSize,s.top))),this.isRangeChanged=this.first!==c,this.first=c}scrollInView(e,i,r="auto"){if(i){const{first:s,viewport:o}=this.getRenderedRange(),a=(u=0,d=0)=>this.scrollTo({left:u,top:d,behavior:r}),c="to-end"===i;if("to-start"===i){if(this.both)o.first.rows-s.rows>e[0]?a(o.first.cols*this._itemSize[1],(o.first.rows-1)*this._itemSize[0]):o.first.cols-s.cols>e[1]&&a((o.first.cols-1)*this._itemSize[1],o.first.rows*this._itemSize[0]);else if(o.first-s>e){const u=(o.first-1)*this._itemSize;this.horizontal?a(u,0):a(0,u)}}else if(c)if(this.both)o.last.rows-s.rows<=e[0]+1?a(o.first.cols*this._itemSize[1],(o.first.rows+1)*this._itemSize[0]):o.last.cols-s.cols<=e[1]+1&&a((o.first.cols+1)*this._itemSize[1],o.first.rows*this._itemSize[0]);else if(o.last-s<=e+1){const u=(o.first+1)*this._itemSize;this.horizontal?a(u,0):a(0,u)}}else this.scrollToIndex(e,r)}getRenderedRange(){const e=(s,o)=>Math.floor(s/(o||s));let i=this.first,r=0;if(this.elementViewChild?.nativeElement){const{scrollTop:s,scrollLeft:o}=this.elementViewChild.nativeElement;this.both?(i={rows:e(s,this._itemSize[0]),cols:e(o,this._itemSize[1])},r={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=e(this.horizontal?o:s,this._itemSize),r=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:r}}}calculateNumItems(){const e=this.getContentPosition(),i=this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0,r=this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0,s=(c,u)=>Math.ceil(c/(u||c)),o=c=>Math.ceil(c/2),a=this.both?{rows:s(r,this._itemSize[0]),cols:s(i,this._itemSize[1])}:s(this.horizontal?i:r,this._itemSize);return{numItemsInViewport:a,numToleratedItems:this.d_numToleratedItems||(this.both?[o(a.rows),o(a.cols)]:o(a))}}calculateOptions(){const{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),r=(a,l,c,u=!1)=>this.getLast(a+l+(aArray.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:s.cols}:0:s,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[e,i]=[A.getWidth(this.contentEl),A.getHeight(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[r,s]=[A.getWidth(this.elementViewChild.nativeElement),A.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=rthis.elementViewChild.nativeElement.style[o]=a;this.both||this.horizontal?(s("height",r),s("width",i)):s("height",r)}}setSpacerSize(){if(this._items){const e=this.getContentPosition(),i=(r,s,o,a=0)=>this.spacerStyle={...this.spacerStyle,[`${r}`]:(s||[]).length*o+a+"px"};this.both?(i("height",this._items,this._itemSize[0],e.y),i("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,e.x):i("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){const i=e?e.first:this.first,r=(o,a)=>o*a,s=(o=0,a=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${o}px, ${a}px, 0)`};if(this.both)s(r(i.cols,this._itemSize[1]),r(i.rows,this._itemSize[0]));else{const o=r(i,this._itemSize);this.horizontal?s(o,0):s(0,o)}}}onScrollPositionChange(e){const i=e.target,r=this.getContentPosition(),s=(w,b)=>w?w>b?w-b:w:0,o=(w,b)=>Math.floor(w/(b||w)),a=(w,b,T,E,O,te)=>w<=O?O:te?T-E-O:b+O-1,l=(w,b,T,E,O,te,he)=>w<=te?0:Math.max(0,he?wb?T:w-2*te),c=(w,b,T,E,O,te=!1)=>{let he=b+E+2*O;return w>=O&&(he+=O+1),this.getLast(he,te)},u=s(i.scrollTop,r.top),d=s(i.scrollLeft,r.left);let h=this.both?{rows:0,cols:0}:0,p=this.last,f=!1,_=this.lastScrollPos;if(this.both){const w=this.lastScrollPos.top<=u,b=this.lastScrollPos.left<=d;if(!this._appendOnly||this._appendOnly&&(w||b)){const T={rows:o(u,this._itemSize[0]),cols:o(d,this._itemSize[1])},E={rows:a(T.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],w),cols:a(T.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],b)};h={rows:l(T.rows,E.rows,this.first.rows,0,0,this.d_numToleratedItems[0],w),cols:l(T.cols,E.cols,this.first.cols,0,0,this.d_numToleratedItems[1],b)},p={rows:c(T.rows,h.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(T.cols,h.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},f=h.rows!==this.first.rows||p.rows!==this.last.rows||h.cols!==this.first.cols||p.cols!==this.last.cols||this.isRangeChanged,_={top:u,left:d}}}else{const w=this.horizontal?d:u,b=this.lastScrollPos<=w;if(!this._appendOnly||this._appendOnly&&b){const T=o(w,this._itemSize);h=l(T,a(T,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,b),this.first,0,0,this.d_numToleratedItems,b),p=c(T,h,0,this.numItemsInViewport,this.d_numToleratedItems),f=h!==this.first||p!==this.last||this.isRangeChanged,_=w}}return{first:h,last:p,isRangeChanged:f,scrollPos:_}}onScrollChange(e){const{first:i,last:r,isRangeChanged:s,scrollPos:o}=this.onScrollPositionChange(e);if(s){const a={first:i,last:r};if(this.setContentPosition(a),this.first=i,this.last=r,this.lastScrollPos=o,this.handleEvents("onScrollIndexChange",a),this._lazy&&this.isPageChanged){const l={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:r,this.items.length)};(this.lazyLoadState.first!==l.first||this.lazyLoadState.last!==l.last)&&this.handleEvents("onLazyLoad",l),this.lazyLoadState=l}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(e);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){this.windowResizeListener||this.zone.runOutsideAngular(()=>{this.windowResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.windowResizeListener),window.addEventListener("orientationchange",this.windowResizeListener)})}unbindResizeListener(){this.windowResizeListener&&(window.removeEventListener("resize",this.windowResizeListener),window.removeEventListener("orientationchange",this.windowResizeListener),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(A.isVisible(this.elementViewChild?.nativeElement)){const[e,i]=[A.getWidth(this.elementViewChild.nativeElement),A.getHeight(this.elementViewChild.nativeElement)],[r,s]=[e!==this.defaultWidth,i!==this.defaultHeight];(this.both?r||s:this.horizontal?r:this.vertical&&s)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=i,this.defaultContentWidth=A.getWidth(this.contentEl),this.defaultContentHeight=A.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,i){return this.options&&this.options[e]?this.options[e](i):this[e].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,i)=>this.getLoaderOptions(e,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){const i=(this._items||[]).length,r=this.both?this.first.rows+e:this.first+e;return{index:r,count:i,first:0===r,last:r===i-1,even:r%2==0,odd:r%2!=0}}getLoaderOptions(e,i){const r=this.loaderArr.length;return{index:e,count:r,first:0===e,last:e===r-1,even:e%2==0,odd:e%2!=0,...i}}}return t.\u0275fac=function(e){return new(e||t)(D(Ut),D(Te))},t.\u0275cmp=Ie({type:t,selectors:[["p-scroller"]],contentQueries:function(e,i,r){if(1&e&&xn(r,ti,4),2&e){let s;De(s=Se())&&(i.templates=s)}},viewQuery:function(e,i){if(1&e&&(Je(yH,5),Je(vH,5)),2&e){let r;De(r=Se())&&(i.elementViewChild=r.first),De(r=Se())&&(i.contentViewChild=r.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[pt],ngContentSelectors:zH,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[1,"p-scroller-loading-icon","pi","pi-spinner","pi-spin"],[4,"ngIf"]],template:function(e,i){if(1&e&&(Ri(),S(0,BH,8,14,"ng-container",0),S(1,jH,2,1,"ng-template",null,1,gi)),2&e){const r=An(2);g("ngIf",!i._disabled)("ngIfElse",r)}},dependencies:[Qn,Jt,Dt,Yn,Zn],styles:["p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{font-size:2rem}.p-scroller-inline .p-scroller-content{position:static}\n"],encapsulation:2}),t})(),nE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St]}),t})();function WH(t,n){if(1&t&&(y(0,"span"),P(1),v()),2&t){const e=C();let i;m(1),_e(null!==(i=e.label)&&void 0!==i?i:"empty")}}function qH(t,n){1&t&&fe(0)}const va=function(t){return{height:t}},KH=function(t,n){return{"p-dropdown-item":!0,"p-highlight":t,"p-disabled":n}},Cf=function(t){return{$implicit:t}},QH=["container"],ZH=["filter"],YH=["in"],XH=["editableInput"],JH=["items"],e3=["scroller"],t3=["overlay"];function n3(t,n){if(1&t&&(oe(0),P(1),ae()),2&t){const e=C(2);m(1),_e(e.label||"empty")}}function i3(t,n){1&t&&fe(0)}const r3=function(t){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":t}};function s3(t,n){if(1&t&&(y(0,"span",14),S(1,n3,2,1,"ng-container",15),S(2,i3,1,0,"ng-container",16),v()),2&t){const e=C();g("ngClass",le(9,r3,null==e.label||0===e.label.length))("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),Be("id",e.labelId),m(1),g("ngIf",!e.selectedItemTemplate),m(1),g("ngTemplateOutlet",e.selectedItemTemplate)("ngTemplateOutletContext",le(11,Cf,e.selectedOption))}}const o3=function(t){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":t}};function a3(t,n){if(1&t&&(y(0,"span",17),P(1),v()),2&t){const e=C();g("ngClass",le(2,o3,null==e.placeholder||0===e.placeholder.length)),m(1),_e(e.placeholder||"empty")}}function l3(t,n){if(1&t){const e=be();y(0,"input",18,19),F("input",function(r){return L(e),V(C().onEditableInputChange(r))})("focus",function(r){return L(e),V(C().onEditableInputFocus(r))})("blur",function(r){return L(e),V(C().onInputBlur(r))}),v()}if(2&t){const e=C();g("disabled",e.disabled),Be("maxlength",e.maxlength)("placeholder",e.placeholder)("aria-expanded",e.overlayVisible)}}function c3(t,n){if(1&t){const e=be();y(0,"i",20),F("click",function(r){return L(e),V(C().clear(r))}),v()}}function u3(t,n){1&t&&fe(0)}function d3(t,n){1&t&&fe(0)}const iE=function(t){return{options:t}};function h3(t,n){if(1&t&&(oe(0),S(1,d3,1,0,"ng-container",16),ae()),2&t){const e=C(3);m(1),g("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",le(2,iE,e.filterOptions))}}function p3(t,n){if(1&t){const e=be();y(0,"div",30)(1,"input",31,32),F("keydown.enter",function(r){return r.preventDefault()})("keydown",function(r){return L(e),V(C(3).onKeydown(r,!1))})("input",function(r){return L(e),V(C(3).onFilterInputChange(r))}),v(),G(3,"span",33),v()}if(2&t){const e=C(3);m(1),g("value",e.filterValue||""),Be("placeholder",e.filterPlaceholder)("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.overlayVisible?"p-highlighted-option":e.labelId)}}function f3(t,n){if(1&t&&(y(0,"div",27),F("click",function(i){return i.stopPropagation()}),S(1,h3,2,4,"ng-container",28),S(2,p3,4,4,"ng-template",null,29,gi),v()),2&t){const e=An(3),i=C(2);m(1),g("ngIf",i.filterTemplate)("ngIfElse",e)}}function g3(t,n){1&t&&fe(0)}const rE=function(t,n){return{$implicit:t,options:n}};function m3(t,n){if(1&t&&S(0,g3,1,0,"ng-container",16),2&t){const e=n.$implicit,i=n.options;C(2),g("ngTemplateOutlet",An(7))("ngTemplateOutletContext",Ft(2,rE,e,i))}}function _3(t,n){1&t&&fe(0)}function y3(t,n){if(1&t&&S(0,_3,1,0,"ng-container",16),2&t){const e=n.options;g("ngTemplateOutlet",C(4).loaderTemplate)("ngTemplateOutletContext",le(2,iE,e))}}function v3(t,n){1&t&&(oe(0),S(1,y3,1,4,"ng-template",36),ae())}function w3(t,n){if(1&t){const e=be();y(0,"p-scroller",34,35),F("onLazyLoad",function(r){return L(e),V(C(2).onLazyLoad.emit(r))}),S(2,m3,1,5,"ng-template",13),S(3,v3,2,0,"ng-container",15),v()}if(2&t){const e=C(2);fn(le(8,va,e.scrollHeight)),g("items",e.optionsToDisplay)("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),m(3),g("ngIf",e.loaderTemplate)}}function C3(t,n){1&t&&fe(0)}const b3=function(){return{}};function D3(t,n){if(1&t&&(oe(0),S(1,C3,1,0,"ng-container",16),ae()),2&t){C();const e=An(7),i=C();m(1),g("ngTemplateOutlet",e)("ngTemplateOutletContext",Ft(3,rE,i.optionsToDisplay,pr(2,b3)))}}function S3(t,n){if(1&t&&(y(0,"span"),P(1),v()),2&t){const e=C().$implicit,i=C(4);m(1),_e(i.getOptionGroupLabel(e)||"empty")}}function E3(t,n){1&t&&fe(0)}function I3(t,n){1&t&&fe(0)}const sE=function(t,n){return{$implicit:t,selectedOption:n}};function T3(t,n){if(1&t&&(y(0,"li",42),S(1,S3,2,1,"span",15),S(2,E3,1,0,"ng-container",16),v(),S(3,I3,1,0,"ng-container",16)),2&t){const e=n.$implicit,i=C(2).options,r=An(5),s=C(2);g("ngStyle",le(6,va,i.itemSize+"px")),m(1),g("ngIf",!s.groupTemplate),m(1),g("ngTemplateOutlet",s.groupTemplate)("ngTemplateOutletContext",le(8,Cf,e)),m(1),g("ngTemplateOutlet",r)("ngTemplateOutletContext",Ft(10,sE,s.getOptionGroupChildren(e),s.selectedOption))}}function M3(t,n){if(1&t&&(oe(0),S(1,T3,4,13,"ng-template",41),ae()),2&t){const e=C().$implicit;m(1),g("ngForOf",e)}}function A3(t,n){1&t&&fe(0)}function O3(t,n){if(1&t&&(oe(0),S(1,A3,1,0,"ng-container",16),ae()),2&t){const e=C().$implicit,i=An(5),r=C(2);m(1),g("ngTemplateOutlet",i)("ngTemplateOutletContext",Ft(2,sE,e,r.selectedOption))}}function P3(t,n){if(1&t){const e=be();y(0,"p-dropdownItem",43),F("onClick",function(r){return L(e),V(C(4).onItemClick(r))}),v()}if(2&t){const e=n.$implicit,i=C().selectedOption,r=C(3);g("option",e)("selected",i==e)("label",r.getOptionLabel(e))("disabled",r.isOptionDisabled(e))("template",r.itemTemplate)}}function x3(t,n){1&t&&S(0,P3,1,5,"ng-template",41),2&t&&g("ngForOf",n.$implicit)}function R3(t,n){if(1&t&&(oe(0),P(1),ae()),2&t){const e=C(4);m(1),ot(" ",e.emptyFilterMessageLabel," ")}}function N3(t,n){1&t&&fe(0,null,45)}function F3(t,n){if(1&t&&(y(0,"li",44),S(1,R3,2,1,"ng-container",28),S(2,N3,2,0,"ng-container",22),v()),2&t){const e=C().options,i=C(2);g("ngStyle",le(4,va,e.itemSize+"px")),m(1),g("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),m(1),g("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function k3(t,n){if(1&t&&(oe(0),P(1),ae()),2&t){const e=C(4);m(1),ot(" ",e.emptyMessageLabel," ")}}function L3(t,n){1&t&&fe(0,null,46)}function V3(t,n){if(1&t&&(y(0,"li",44),S(1,k3,2,1,"ng-container",28),S(2,L3,2,0,"ng-container",22),v()),2&t){const e=C().options,i=C(2);g("ngStyle",le(4,va,e.itemSize+"px")),m(1),g("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),m(1),g("ngTemplateOutlet",i.emptyTemplate)}}function B3(t,n){if(1&t&&(y(0,"ul",37,38),S(2,M3,2,1,"ng-container",15),S(3,O3,2,5,"ng-container",15),S(4,x3,1,1,"ng-template",null,39,gi),S(6,F3,3,6,"li",40),S(7,V3,3,6,"li",40),v()),2&t){const e=n.options,i=C(2);fn(e.contentStyle),g("ngClass",e.contentStyleClass),Be("id",i.listId),m(2),g("ngIf",i.group),m(1),g("ngIf",!i.group),m(3),g("ngIf",i.filterValue&&i.isEmpty()),m(1),g("ngIf",!i.filterValue&&i.isEmpty())}}function H3(t,n){1&t&&fe(0)}function $3(t,n){if(1&t&&(y(0,"div",21),S(1,u3,1,0,"ng-container",22),S(2,f3,4,2,"div",23),y(3,"div",24),S(4,w3,4,10,"p-scroller",25),S(5,D3,2,6,"ng-container",15),S(6,B3,8,8,"ng-template",null,26,gi),v(),S(8,H3,1,0,"ng-container",22),v()),2&t){const e=C();Ke(e.panelStyleClass),g("ngClass","p-dropdown-panel p-component")("ngStyle",e.panelStyle),m(1),g("ngTemplateOutlet",e.headerTemplate),m(1),g("ngIf",e.filter),m(1),eh("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),m(1),g("ngIf",e.virtualScroll),m(1),g("ngIf",!e.virtualScroll),m(3),g("ngTemplateOutlet",e.footerTemplate)}}const U3=function(t,n,e,i){return{"p-dropdown p-component":!0,"p-disabled":t,"p-dropdown-open":n,"p-focus":e,"p-dropdown-clearable":i}},j3={provide:en,useExisting:ye(()=>oE),multi:!0};let z3=(()=>{class t{constructor(){this.onClick=new U}onOptionClick(e){this.onClick.emit({originalEvent:e,option:this.option})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ie({type:t,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:15,consts:[["role","option","pRipple","",3,"ngStyle","id","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(y(0,"li",0),F("click",function(s){return i.onOptionClick(s)}),S(1,WH,2,1,"span",1),S(2,qH,1,0,"ng-container",2),v()),2&e&&(g("ngStyle",le(8,va,i.itemSize+"px"))("id",i.selected?"p-highlighted-option":"")("ngClass",Ft(10,KH,i.selected,i.disabled)),Be("aria-label",i.label)("aria-selected",i.selected),m(1),g("ngIf",!i.template),m(1),g("ngTemplateOutlet",i.template)("ngTemplateOutletContext",le(13,Cf,i.option)))},dependencies:[Qn,Dt,Yn,Zn,Oc],encapsulation:2}),t})(),oE=(()=>{class t{constructor(e,i,r,s,o,a){this.el=e,this.renderer=i,this.cd=r,this.zone=s,this.filterService=o,this.config=a,this.scrollHeight="200px",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.lazy=!1,this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.overlayDirection="end",this.onChange=new U,this.onFilter=new U,this.onFocus=new U,this.onBlur=new U,this.onClick=new U,this.onShow=new U,this.onHide=new U,this.onClear=new U,this.onLazyLoad=new U,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.id=BD()}get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"loader":this.loaderTemplate=e.template}})}ngOnInit(){this.optionsToDisplay=this.options,this.updateSelectedOption(null),this.labelId=this.id+"_label",this.listId=this.id+"_list",this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}get options(){return this._options}set options(e){this._options=e,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.selectedOption=this.findOption(this.value,this.optionsToDisplay),!this.selectedOption&&Me.isNotEmpty(this.value)&&!this.editable&&(this.value=null,this.onModelChange(this.value)),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(e){this._filterValue=e,this.activateFilter()}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}get label(){return"number"==typeof this.selectedOption&&(this.selectedOption=this.selectedOption.toString()),this.selectedOption?this.getOptionLabel(this.selectedOption):null}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation($D.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation($D.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.value?!!this.value:this.value||null!=this.value||null!=this.value}get isVisibleClearIcon(){return null!=this.value&&""!==this.value&&this.showClear&&!this.disabled}updateEditableLabel(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}getOptionLabel(e){return this.optionLabel?Me.resolveFieldData(e,this.optionLabel):e&&void 0!==e.label?e.label:e}getOptionValue(e){return this.optionValue?Me.resolveFieldData(e,this.optionValue):!this.optionLabel&&e&&void 0!==e.value?e.value:e}isOptionDisabled(e){return this.optionDisabled?Me.resolveFieldData(e,this.optionDisabled):!(!e||void 0===e.disabled)&&e.disabled}getOptionGroupLabel(e){return this.optionGroupLabel?Me.resolveFieldData(e,this.optionGroupLabel):e&&void 0!==e.label?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?Me.resolveFieldData(e,this.optionGroupChildren):e.items}onItemClick(e){const i=e.option;this.isOptionDisabled(i)||(this.selectItem(e.originalEvent,i),this.accessibleViewChild.nativeElement.focus({preventScroll:!0})),setTimeout(()=>{this.hide()},1)}selectItem(e,i){this.selectedOption!=i&&(this.selectedOption=i,this.value=this.getOptionValue(i),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:e,value:this.value}))}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=A.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");e&&A.scrollInView(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}writeValue(e){this.filter&&this.resetFilter(),this.value=e,this.updateSelectedOption(e),this.updateEditableLabel(),this.cd.markForCheck()}resetFilter(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}updateSelectedOption(e){this.selectedOption=this.findOption(e,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.group?this.optionsToDisplay[0].items[0]:this.optionsToDisplay[0],this.value=this.getOptionValue(this.selectedOption),this.onModelChange(this.value)),this.selectedOptionUpdated=!0}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onMouseclick(e){this.disabled||this.readonly||this.isInputClick(e)||(this.onClick.emit(e),this.accessibleViewChild.nativeElement.focus({preventScroll:!0}),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}isInputClick(e){return A.hasClass(e.target,"p-dropdown-clear-icon")||e.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&e.target.isSameNode(this.editableInputViewChild.nativeElement)}isEmpty(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}onEditableInputFocus(e){this.focused=!0,this.hide(),this.onFocus.emit(e)}onEditableInputChange(e){this.value=e.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}show(){this.overlayVisible=!0,this.cd.markForCheck()}onOverlayAnimationStart(e){if("visible"===e.toState){if(this.itemsWrapper=A.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller.setContentEl(this.itemsViewChild.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;-1!==i&&this.scroller.scrollToIndex(i)}else{let i=A.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"center"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}"void"===e.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.cd.markForCheck()}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}findPrevEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let r=e-1;0<=r;r--){let s=this.optionsToDisplay[r];if(!this.isOptionDisabled(s)){i=s;break}}if(!i)for(let r=this.optionsToDisplay.length-1;r>=e;r--){let s=this.optionsToDisplay[r];if(!this.isOptionDisabled(s)){i=s;break}}}return i}findNextEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let r=e+1;r0&&this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{let r=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,s=this.findNextEnabledOption(r);s&&(this.selectItem(e,s),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 38:if(this.group){let r=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==r){let s=r.itemIndex-1;if(s>=0)this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[r.groupIndex])[s]),this.selectedOptionUpdated=!0;else if(s<0){let o=this.optionsToDisplay[r.groupIndex-1];o&&(this.selectItem(e,this.getOptionGroupChildren(o)[this.getOptionGroupChildren(o).length-1]),this.selectedOptionUpdated=!0)}}}else{let r=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,s=this.findPrevEnabledOption(r);s&&(this.selectItem(e,s),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 32:i&&(this.overlayVisible?this.hide():this.show(),e.preventDefault());break;case 13:this.overlayVisible&&(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)?this.hide():this.overlayVisible||this.show(),e.preventDefault();break;case 27:case 9:this.hide();break;default:i&&!e.metaKey&&17!==e.which&&this.search(e)}}search(e){this.searchTimeout&&clearTimeout(this.searchTimeout);const i=e.key;let r;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=i,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+i:i,this.group){let s=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};r=this.searchOptionWithinGroup(s)}else{let s=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;r=this.searchOption(++s)}r&&!this.isOptionDisabled(r)&&(this.selectItem(e,r),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(()=>{this.searchValue=null},250)}searchOption(e){let i;return this.searchValue&&(i=this.searchOptionInRange(e,this.optionsToDisplay.length),i||(i=this.searchOptionInRange(0,e))),i}searchOptionInRange(e,i){for(let r=e;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,eE,Ln,zD,da,nE,iH,eE,Ln,nE]}),t})();const Or={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let W3=(()=>{class t{constructor(e){this.el=e,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1,this._internalClasses=Object.values(Or)}get label(){return this._label}set label(e){this._label=e,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(e){this._icon=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(e){this._loading=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get htmlElement(){return this.el.nativeElement}ngAfterViewInit(){A.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const e=[Or.button,Or.component];return this.icon&&!this.label&&Me.isEmpty(this.htmlElement.textContent)&&e.push(Or.iconOnly),this.loading&&(e.push(Or.disabled,Or.loading),!this.icon&&this.label&&e.push(Or.labelOnly)),e}setStyleClass(){const e=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...e)}createLabel(){if(this.label){let e=document.createElement("span");this.icon&&!this.label&&e.setAttribute("aria-hidden","true"),e.className="p-button-label",e.appendChild(document.createTextNode(this.label)),this.htmlElement.appendChild(e)}}createIcon(){if(this.icon||this.loading){let e=document.createElement("span");e.className="p-button-icon",e.setAttribute("aria-hidden","true");let i=this.label?"p-button-icon-"+this.iconPos:null;i&&A.addClass(e,i);let r=this.getIconClass();r&&A.addMultipleClasses(e,r),this.htmlElement.insertBefore(e,this.htmlElement.firstChild)}}updateLabel(){let e=A.findSingle(this.htmlElement,".p-button-label");this.label?e?e.textContent=this.label:this.createLabel():e&&this.htmlElement.removeChild(e)}updateIcon(){let e=A.findSingle(this.htmlElement,".p-button-icon");this.icon||this.loading?e?e.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon():e&&this.htmlElement.removeChild(e)}getIconClass(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}ngOnDestroy(){this.initialized=!1}}return t.\u0275fac=function(e){return new(e||t)(D($e))},t.\u0275dir=j({type:t,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),t})(),q3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,da]}),t})(),bf=(()=>{class t{constructor(e,i,r){this.el=e,this.ngModel=i,this.cd=r}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(e){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}}return t.\u0275fac=function(e){return new(e||t)(D($e),D(Fs,8),D(Ut))},t.\u0275dir=j({type:t,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(e,i){1&e&&F("input",function(s){return i.onInput(s)}),2&e&&dr("p-filled",i.filled)}}),t})(),lE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St]}),t})();const K3=["input"];function Q3(t,n){if(1&t){const e=be();y(0,"i",6),F("click",function(){return L(e),V(C().clear())}),v()}}const cE=function(){return{"p-inputnumber-button p-inputnumber-button-up":!0}},uE=function(){return{"p-inputnumber-button p-inputnumber-button-down":!0}};function Z3(t,n){if(1&t){const e=be();y(0,"span",7)(1,"button",8),F("mousedown",function(r){return L(e),V(C().onUpButtonMouseDown(r))})("mouseup",function(){return L(e),V(C().onUpButtonMouseUp())})("mouseleave",function(){return L(e),V(C().onUpButtonMouseLeave())})("keydown",function(r){return L(e),V(C().onUpButtonKeyDown(r))})("keyup",function(){return L(e),V(C().onUpButtonKeyUp())}),v(),y(2,"button",8),F("mousedown",function(r){return L(e),V(C().onDownButtonMouseDown(r))})("mouseup",function(){return L(e),V(C().onDownButtonMouseUp())})("mouseleave",function(){return L(e),V(C().onDownButtonMouseLeave())})("keydown",function(r){return L(e),V(C().onDownButtonKeyDown(r))})("keyup",function(){return L(e),V(C().onDownButtonKeyUp())}),v()()}if(2&t){const e=C();m(1),Ke(e.incrementButtonClass),g("ngClass",pr(10,cE))("icon",e.incrementButtonIcon)("disabled",e.disabled),m(1),Ke(e.decrementButtonClass),g("ngClass",pr(11,uE))("icon",e.decrementButtonIcon)("disabled",e.disabled)}}function Y3(t,n){if(1&t){const e=be();y(0,"button",8),F("mousedown",function(r){return L(e),V(C().onUpButtonMouseDown(r))})("mouseup",function(){return L(e),V(C().onUpButtonMouseUp())})("mouseleave",function(){return L(e),V(C().onUpButtonMouseLeave())})("keydown",function(r){return L(e),V(C().onUpButtonKeyDown(r))})("keyup",function(){return L(e),V(C().onUpButtonKeyUp())}),v()}if(2&t){const e=C();Ke(e.incrementButtonClass),g("ngClass",pr(5,cE))("icon",e.incrementButtonIcon)("disabled",e.disabled)}}function X3(t,n){if(1&t){const e=be();y(0,"button",8),F("mousedown",function(r){return L(e),V(C().onDownButtonMouseDown(r))})("mouseup",function(){return L(e),V(C().onDownButtonMouseUp())})("mouseleave",function(){return L(e),V(C().onDownButtonMouseLeave())})("keydown",function(r){return L(e),V(C().onDownButtonKeyDown(r))})("keyup",function(){return L(e),V(C().onDownButtonKeyUp())}),v()}if(2&t){const e=C();Ke(e.decrementButtonClass),g("ngClass",pr(5,uE))("icon",e.decrementButtonIcon)("disabled",e.disabled)}}const J3=function(t,n,e){return{"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":t,"p-inputnumber-buttons-horizontal":n,"p-inputnumber-buttons-vertical":e}},e$={provide:en,useExisting:ye(()=>dE),multi:!0};let dE=(()=>{class t{constructor(e,i){this.el=e,this.cd=i,this.showButtons=!1,this.format=!0,this.buttonLayout="stacked",this.incrementButtonIcon="pi pi-angle-up",this.decrementButtonIcon="pi pi-angle-down",this.readonly=!1,this.step=1,this.allowEmpty=!0,this.mode="decimal",this.useGrouping=!0,this.showClear=!1,this.onInput=new U,this.onFocus=new U,this.onBlur=new U,this.onKeyDown=new U,this.onClear=new U,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.groupChar="",this.prefixChar="",this.suffixChar=""}get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1),this._disabled=e,this.timer&&this.clearTimer()}ngOnChanges(e){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(r=>!!e[r])&&this.updateConstructParser()}ngOnInit(){this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const e=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(e.map((r,s)=>[r,s]));this._numeral=new RegExp(`[${e.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=r=>i.get(r)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const e=new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1});return new RegExp(`[${e.format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const e=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=e.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const e=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${e.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const e=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${e.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=e.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=e.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(e){if(null!=e){if("-"===e)return e;if(this.format){let r=new Intl.NumberFormat(this.locale,this.getOptions()).format(e);return this.prefix&&(r=this.prefix+r),this.suffix&&(r+=this.suffix),r}return e.toString()}return""}parseValue(e){let i=e.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(i){if("-"===i)return i;let r=+i;return isNaN(r)?null:r}return null}repeat(e,i,r){if(this.readonly)return;let s=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(e,40,r)},s),this.spin(e,r)}spin(e,i){let r=this.step*i,s=this.parseValue(this.input.nativeElement.value)||0,o=this.validateValue(s+r);this.maxlength&&this.maxlength0&&i>l){const d=this.isDecimalMode()&&(this.minFractionDigits||0)0?o:""):o=s.slice(0,i-1)+s.slice(i)}this.updateValue(e,o,null,"delete-single")}else o=this.deleteRange(s,i,r),this.updateValue(e,o,null,"delete-range");break;case 46:if(e.preventDefault(),i===r){const a=s.charAt(i),{decimalCharIndex:l,decimalCharIndexWithoutPrefix:c}=this.getDecimalCharIndexes(s);if(this.isNumeralChar(a)){const u=this.getDecimalLength(s);if(this._group.test(a))this._group.lastIndex=0,o=s.slice(0,i)+s.slice(i+2);else if(this._decimal.test(a))this._decimal.lastIndex=0,u?this.input.nativeElement.setSelectionRange(i+1,i+1):o=s.slice(0,i)+s.slice(i+1);else if(l>0&&i>l){const d=this.isDecimalMode()&&(this.minFractionDigits||0)0?o:""):o=s.slice(0,i)+s.slice(i+1)}this.updateValue(e,o,null,"delete-back-single")}else o=this.deleteRange(s,i,r),this.updateValue(e,o,null,"delete-range")}this.onKeyDown.emit(e)}onInputKeyPress(e){if(this.readonly)return;let i=e.which||e.keyCode,r=String.fromCharCode(i);const s=this.isDecimalSign(r),o=this.isMinusSign(r);13!=i&&e.preventDefault(),(48<=i&&i<=57||o||s)&&this.insert(e,r,{isDecimalSign:s,isMinusSign:o})}onPaste(e){if(!this.disabled&&!this.readonly){e.preventDefault();let i=(e.clipboardData||window.clipboardData).getData("Text");if(i){let r=this.parseValue(i);null!=r&&this.insert(e,r.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(e){return!(!this._minusSign.test(e)&&"-"!==e||(this._minusSign.lastIndex=0,0))}isDecimalSign(e){return!!this._decimal.test(e)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(e){let i=e.search(this._decimal);this._decimal.lastIndex=0;const s=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:s}}getCharIndexes(e){const i=e.search(this._decimal);this._decimal.lastIndex=0;const r=e.search(this._minusSign);this._minusSign.lastIndex=0;const s=e.search(this._suffix);this._suffix.lastIndex=0;const o=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:r,suffixCharIndex:s,currencyCharIndex:o}}insert(e,i,r={isDecimalSign:!1,isMinusSign:!1}){const s=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==s)return;let o=this.input.nativeElement.selectionStart,a=this.input.nativeElement.selectionEnd,l=this.input.nativeElement.value.trim();const{decimalCharIndex:c,minusCharIndex:u,suffixCharIndex:d,currencyCharIndex:h}=this.getCharIndexes(l);let p;if(r.isMinusSign)0===o&&(p=l,(-1===u||0!==a)&&(p=this.insertText(l,i,0,a)),this.updateValue(e,p,i,"insert"));else if(r.isDecimalSign)c>0&&o===c?this.updateValue(e,l,i,"insert"):(c>o&&c0&&o>c){if(o+i.length-(c+1)<=f){const w=h>=o?h-1:d>=o?d:l.length;p=l.slice(0,o)+i+l.slice(o+i.length,w)+l.slice(w),this.updateValue(e,p,i,_)}}else p=this.insertText(l,i,o,a),this.updateValue(e,p,i,_)}}insertText(e,i,r,s){if(2===("."===i?i:i.split(".")).length){const a=e.slice(r,s).search(this._decimal);return this._decimal.lastIndex=0,a>0?e.slice(0,r)+this.formatValue(i)+e.slice(s):e||this.formatValue(i)}return s-r===e.length?this.formatValue(i):0===r?i+e.slice(s):s===e.length?e.slice(0,r)+i:e.slice(0,r)+i+e.slice(s)}deleteRange(e,i,r){let s;return s=r-i===e.length?"":0===i?e.slice(r):r===e.length?e.slice(0,i):e.slice(0,i)+e.slice(r),s}initCursor(){let e=this.input.nativeElement.selectionStart,i=this.input.nativeElement.value,r=i.length,s=null,o=(this.prefixChar||"").length;i=i.replace(this._prefix,""),e-=o;let a=i.charAt(e);if(this.isNumeralChar(a))return e+o;let l=e-1;for(;l>=0;){if(a=i.charAt(l),this.isNumeralChar(a)){s=l+o;break}l--}if(null!==s)this.input.nativeElement.setSelectionRange(s+1,s+1);else{for(l=e;lthis.max?this.max:e}updateInput(e,i,r,s){i=i||"";let o=this.input.nativeElement.value,a=this.formatValue(e),l=o.length;if(a!==s&&(a=this.concatValues(a,s)),0===l){this.input.nativeElement.value=a,this.input.nativeElement.setSelectionRange(0,0);const u=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(u,u)}else{let c=this.input.nativeElement.selectionStart,u=this.input.nativeElement.selectionEnd;if(this.maxlength&&this.maxlength0}clearTimer(){this.timer&&clearInterval(this.timer)}getFormatter(){return this.numberFormat}}return t.\u0275fac=function(e){return new(e||t)(D($e),D(Ut))},t.\u0275cmp=Ie({type:t,selectors:[["p-inputNumber"]],viewQuery:function(e,i){if(1&e&&Je(K3,5),2&e){let r;De(r=Se())&&(i.input=r.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(e,i){2&e&&dr("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focused)("p-inputnumber-clearable",i.showClear&&"vertical"!=i.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[Pe([e$]),pt],decls:7,vars:32,consts:[[3,"ngClass","ngStyle"],["pInputText","","inputmode","decimal",3,"ngClass","ngStyle","value","disabled","readonly","input","keydown","keypress","paste","click","focus","blur"],["input",""],["class","p-inputnumber-clear-icon pi pi-times",3,"click",4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","tabindex","-1",3,"ngClass","class","icon","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[1,"p-inputnumber-clear-icon","pi","pi-times",3,"click"],[1,"p-inputnumber-button-group"],["type","button","pButton","","tabindex","-1",3,"ngClass","icon","disabled","mousedown","mouseup","mouseleave","keydown","keyup"]],template:function(e,i){1&e&&(y(0,"span",0)(1,"input",1,2),F("input",function(s){return i.onUserInput(s)})("keydown",function(s){return i.onInputKeyDown(s)})("keypress",function(s){return i.onInputKeyPress(s)})("paste",function(s){return i.onPaste(s)})("click",function(){return i.onInputClick()})("focus",function(s){return i.onInputFocus(s)})("blur",function(s){return i.onInputBlur(s)}),v(),S(3,Q3,1,0,"i",3),S(4,Z3,3,12,"span",4),S(5,Y3,1,6,"button",5),S(6,X3,1,6,"button",5),v()),2&e&&(Ke(i.styleClass),g("ngClass",fr(28,J3,i.showButtons&&"stacked"===i.buttonLayout,i.showButtons&&"horizontal"===i.buttonLayout,i.showButtons&&"vertical"===i.buttonLayout))("ngStyle",i.style),m(1),Ke(i.inputStyleClass),g("ngClass","p-inputnumber-input")("ngStyle",i.inputStyle)("value",i.formattedValue())("disabled",i.disabled)("readonly",i.readonly),Be("placeholder",i.placeholder)("title",i.title)("id",i.inputId)("size",i.size)("name",i.name)("autocomplete",i.autocomplete)("maxlength",i.maxlength)("tabindex",i.tabindex)("aria-label",i.ariaLabel)("aria-required",i.ariaRequired)("required",i.required)("min",i.min)("max",i.max),m(2),g("ngIf","vertical"!=i.buttonLayout&&i.showClear&&i.value),m(1),g("ngIf",i.showButtons&&"stacked"===i.buttonLayout),m(1),g("ngIf",i.showButtons&&"stacked"!==i.buttonLayout),m(1),g("ngIf",i.showButtons&&"stacked"!==i.buttonLayout))},dependencies:[Qn,Dt,Zn,bf,W3],styles:["p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}\n"],encapsulation:2,changeDetection:0}),t})(),hE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,lE,q3]}),t})();function t$(t,n){1&t&&fe(0)}const Df=function(t){return{$implicit:t}};function n$(t,n){if(1&t&&(y(0,"div",15),S(1,t$,1,0,"ng-container",16),v()),2&t){const e=C(2);m(1),g("ngTemplateOutlet",e.templateLeft)("ngTemplateOutletContext",le(2,Df,e.paginatorState))}}function i$(t,n){if(1&t&&(y(0,"span",17),P(1),v()),2&t){const e=C(2);m(1),_e(e.currentPageReport)}}const $c=function(t){return{"p-disabled":t}};function r$(t,n){if(1&t){const e=be();y(0,"button",18),F("click",function(r){return L(e),V(C(2).changePageToFirst(r))}),G(1,"span",19),v()}if(2&t){const e=C(2);g("disabled",e.isFirstPage()||e.empty())("ngClass",le(2,$c,e.isFirstPage()||e.empty()))}}const s$=function(t){return{"p-highlight":t}};function o$(t,n){if(1&t){const e=be();y(0,"button",22),F("click",function(r){const o=L(e).$implicit;return V(C(3).onPageLinkClick(r,o-1))}),P(1),v()}if(2&t){const e=n.$implicit,i=C(3);g("ngClass",le(2,s$,e-1==i.getPage())),m(1),ot(" ",e," ")}}function a$(t,n){if(1&t&&(y(0,"span",20),S(1,o$,2,4,"button",21),v()),2&t){const e=C(2);m(1),g("ngForOf",e.pageLinks)}}function l$(t,n){1&t&&P(0),2&t&&_e(C(3).currentPageReport)}function c$(t,n){if(1&t){const e=be();y(0,"p-dropdown",23),F("onChange",function(r){return L(e),V(C(2).onPageDropdownChange(r))}),S(1,l$,1,1,"ng-template",24),v()}if(2&t){const e=C(2);g("options",e.pageItems)("ngModel",e.getPage())("disabled",e.empty())("appendTo",e.dropdownAppendTo)("scrollHeight",e.dropdownScrollHeight)}}function u$(t,n){if(1&t){const e=be();y(0,"button",25),F("click",function(r){return L(e),V(C(2).changePageToLast(r))}),G(1,"span",26),v()}if(2&t){const e=C(2);g("disabled",e.isLastPage()||e.empty())("ngClass",le(2,$c,e.isLastPage()||e.empty()))}}function d$(t,n){if(1&t){const e=be();y(0,"p-inputNumber",27),F("ngModelChange",function(r){return L(e),V(C(2).changePage(r-1))}),v()}if(2&t){const e=C(2);g("ngModel",e.currentPage())("disabled",e.empty())}}function h$(t,n){1&t&&fe(0)}function p$(t,n){if(1&t&&S(0,h$,1,0,"ng-container",16),2&t){const e=n.$implicit;g("ngTemplateOutlet",C(4).dropdownItemTemplate)("ngTemplateOutletContext",le(2,Df,e))}}function f$(t,n){1&t&&(oe(0),S(1,p$,1,4,"ng-template",30),ae())}function g$(t,n){if(1&t){const e=be();y(0,"p-dropdown",28),F("ngModelChange",function(r){return L(e),V(C(2).rows=r)})("onChange",function(r){return L(e),V(C(2).onRppChange(r))}),S(1,f$,2,0,"ng-container",29),v()}if(2&t){const e=C(2);g("options",e.rowsPerPageItems)("ngModel",e.rows)("disabled",e.empty())("appendTo",e.dropdownAppendTo)("scrollHeight",e.dropdownScrollHeight),m(1),g("ngIf",e.dropdownItemTemplate)}}function m$(t,n){1&t&&fe(0)}function _$(t,n){if(1&t&&(y(0,"div",31),S(1,m$,1,0,"ng-container",16),v()),2&t){const e=C(2);m(1),g("ngTemplateOutlet",e.templateRight)("ngTemplateOutletContext",le(2,Df,e.paginatorState))}}function y$(t,n){if(1&t){const e=be();y(0,"div",1),S(1,n$,2,4,"div",2),S(2,i$,2,1,"span",3),S(3,r$,2,4,"button",4),y(4,"button",5),F("click",function(r){return L(e),V(C().changePageToPrev(r))}),G(5,"span",6),v(),S(6,a$,2,1,"span",7),S(7,c$,2,5,"p-dropdown",8),y(8,"button",9),F("click",function(r){return L(e),V(C().changePageToNext(r))}),G(9,"span",10),v(),S(10,u$,2,4,"button",11),S(11,d$,1,2,"p-inputNumber",12),S(12,g$,2,6,"p-dropdown",13),S(13,_$,2,4,"div",14),v()}if(2&t){const e=C();Ke(e.styleClass),g("ngStyle",e.style)("ngClass","p-paginator p-component"),m(1),g("ngIf",e.templateLeft),m(1),g("ngIf",e.showCurrentPageReport),m(1),g("ngIf",e.showFirstLastIcon),m(1),g("disabled",e.isFirstPage()||e.empty())("ngClass",le(17,$c,e.isFirstPage()||e.empty())),m(2),g("ngIf",e.showPageLinks),m(1),g("ngIf",e.showJumpToPageDropdown),m(1),g("disabled",e.isLastPage()||e.empty())("ngClass",le(19,$c,e.isLastPage()||e.empty())),m(2),g("ngIf",e.showFirstLastIcon),m(1),g("ngIf",e.showJumpToPageInput),m(1),g("ngIf",e.rowsPerPageOptions),m(1),g("ngIf",e.templateRight)}}let pE=(()=>{class t{constructor(e){this.cd=e,this.pageLinkSize=5,this.onPageChange=new U,this.alwaysShow=!0,this.dropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.totalRecords=0,this.rows=0,this.showPageLinks=!0,this._first=0,this._page=0}ngOnInit(){this.updatePaginatorState()}ngOnChanges(e){e.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),e.first&&(this._first=e.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),e.rows&&(this.updatePageLinks(),this.updatePaginatorState()),e.rowsPerPageOptions&&this.updateRowsPerPageOptions()}get first(){return this._first}set first(e){this._first=e}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];for(let e of this.rowsPerPageOptions)"object"==typeof e&&e.showAll?this.rowsPerPageItems.unshift({label:e.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(e),value:e})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let e=this.getPageCount(),i=Math.min(this.pageLinkSize,e),r=Math.max(0,Math.ceil(this.getPage()-i/2)),s=Math.min(e-1,r+i-1);return r=Math.max(0,r-(this.pageLinkSize-(s-r+1))),[r,s]}updatePageLinks(){this.pageLinks=[];let e=this.calculatePageLinkBoundaries(),r=e[1];for(let s=e[0];s<=r;s++)this.pageLinks.push(s+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let s=0;s=0&&e0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(e-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(e){this.isFirstPage()||this.changePage(0),e.preventDefault()}changePageToPrev(e){this.changePage(this.getPage()-1),e.preventDefault()}changePageToNext(e){this.changePage(this.getPage()+1),e.preventDefault()}changePageToLast(e){this.isLastPage()||this.changePage(this.getPageCount()-1),e.preventDefault()}onPageLinkClick(e,i){this.changePage(i),e.preventDefault()}onRppChange(e){this.changePage(this.getPage())}onPageDropdownChange(e){this.changePage(e.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}empty(){return 0===this.getPageCount()}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.currentPage())).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}}return t.\u0275fac=function(e){return new(e||t)(D(Ut))},t.\u0275cmp=Ie({type:t,selectors:[["p-paginator"]],hostAttrs:[1,"p-element"],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",templateLeft:"templateLeft",templateRight:"templateRight",dropdownAppendTo:"dropdownAppendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showPageLinks:"showPageLinks",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[pt],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-left"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-right"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-page-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-left"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"ngClass","click"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-right"],[1,"p-paginator-page-input",3,"ngModel","disabled","ngModelChange"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ngModelChange","onChange"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(e,i){1&e&&S(0,y$,14,21,"div",0),2&e&&g("ngIf",!!i.alwaysShow||i.pageLinks&&i.pageLinks.length>1)},dependencies:[Qn,Jt,Dt,Yn,Zn,oE,ti,dE,Rc,Fs,Oc],styles:[".p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}\n"],encapsulation:2,changeDetection:0}),t})(),v$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({imports:[St,aE,hE,XS,Ln,da,aE,hE,XS,Ln]}),t})();function w$(t,n){if(1&t&&(y(0,"div",9),G(1,"item",10),v()),2&t){const e=n.$implicit;m(1),g("itemMovie",e)}}class ks{constructor(n,e){this.moviesService=n,this.route=e,this.movies=[],this.genreId=null,this.searchValue=null,this.totalRecords=0}ngOnInit(){this.route.params.pipe(yr(1)).subscribe(({genreId:n})=>{n?(this.genreId=n,this.getMoviesByGenre(n,1)):this.getPagedMovies(1)})}getMoviesByGenre(n,e){this.moviesService.getMoviesByGenres(n,e).subscribe(i=>{this.movies=i.results,this.totalRecords=i.total_results})}getPagedMovies(n,e){this.moviesService.searchMovie(n,e).subscribe(i=>{this.movies=i.results,this.totalRecords=i.total_results})}paginate(n){const e=n.page+1;this.genreId?this.getMoviesByGenre(this.genreId,e):this.searchValue?this.getPagedMovies(e,this.searchValue):this.getPagedMovies(e)}searchChange(){this.searchValue&&this.getPagedMovies(1,this.searchValue)}}function C$(t,n){1&t&&(oe(0),P(1,","),ae())}function b$(t,n){if(1&t&&(y(0,"span"),P(1),S(2,C$,2,0,"ng-container",0),v()),2&t){const e=n.$implicit,i=n.index,r=C(2);m(1),ot(" ",e.name,""),m(1),g("ngIf",i+1!=r.tvShow.genres.length)}}function D$(t,n){if(1&t&&(oe(0),y(1,"div",17),G(2,"video-embed",18),v(),ae()),2&t){const e=n.$implicit;m(2),g("key",e.key)("site",e.site)}}function S$(t,n){if(1&t&&(oe(0),y(1,"div",17),G(2,"p-image",19),v(),ae()),2&t){const e=n.$implicit,i=C(2);m(2),g("src",i.imageSizes.large+e.file_path)("preview",!0)}}function E$(t,n){if(1&t&&(y(0,"div",22),G(1,"img",23),y(2,"span"),P(3),v()()),2&t){const e=n.$implicit,i=C(3);m(1),g("src",i.imageSizes.medium+e.profile_path,dn),m(2),_e(e.name)}}function I$(t,n){if(1&t&&(y(0,"p-carousel",20),S(1,E$,4,2,"ng-template",21),v()),2&t){const e=C(2);g("numVisible",7)("value",e.tvShowCredit.cast)}}ks.\u0275fac=function(n){return new(n||ks)(D(Di),D(ei))},ks.\u0275cmp=Ie({type:ks,selectors:[["app-movies"]],decls:11,vars:4,consts:[[1,"container"],[1,"grid"],[1,"col-12"],[1,"p-fluid"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search",3,"ngModel","ngModelChange","change"],["class","col-6 md:col-3 lg:col-3",4,"ngFor","ngForOf"],[3,"rows","totalRecords","onPageChange"],[1,"col-6","md:col-3","lg:col-3"],[3,"itemMovie"]],template:function(n,e){1&n&&(y(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span",4),G(5,"i",5),y(6,"input",6),F("ngModelChange",function(r){return e.searchValue=r})("change",function(){return e.searchChange()}),v()()()()(),y(7,"div",1),S(8,w$,2,1,"div",7),v(),y(9,"div")(10,"p-paginator",8),F("onPageChange",function(r){return e.paginate(r)}),v()()()),2&n&&(m(6),g("ngModel",e.searchValue),m(2),g("ngForOf",e.movies),m(2),g("rows",10)("totalRecords",e.totalRecords))},dependencies:[Jt,pE,pa,Rc,Fs,bf,Ir]});const T$=function(t){return[t]};function M$(t,n){if(1&t&&(oe(0),G(1,"slider",1),y(2,"p-tabView")(3,"p-tabPanel",2)(4,"div",3)(5,"div",4),G(6,"img",5),v(),y(7,"div",6)(8,"h2"),P(9,"Overview"),v(),y(10,"p",7),P(11),v(),y(12,"div",8)(13,"div",9),P(14,"First Air Date:"),v(),y(15,"div",10),P(16),fi(17,"date"),v()(),y(18,"div",8)(19,"div",9),P(20,"Language:"),v(),y(21,"div",10),P(22),fi(23,"uppercase"),v()(),y(24,"div",8)(25,"div",9),P(26,"Vote Count:"),v(),y(27,"div",10),P(28),v()(),y(29,"div",8)(30,"div",9),P(31,"Popularity:"),v(),y(32,"div",10),P(33),v()(),y(34,"div",8)(35,"div",9),P(36,"Status:"),v(),y(37,"div",10),P(38),v()(),y(39,"div",8)(40,"div",9),P(41,"Genres:"),v(),y(42,"div",10),S(43,b$,3,2,"span",11),v()()()()(),y(44,"p-tabPanel",12)(45,"div",3),S(46,D$,3,2,"ng-container",11),v()(),y(47,"p-tabPanel",13),G(48,"p-image",14),y(49,"div",3),S(50,S$,3,2,"ng-container",11),v()()(),S(51,I$,2,2,"p-carousel",15),G(52,"items-banner",16),ae()),2&t){const e=C();m(1),g("itemsTvShows",le(20,T$,e.tvShow))("isBanner",!0),m(5),g("src",e.imageSizes.medium+e.tvShow.poster_path,dn)("alt",e.tvShow.name),m(5),_e(e.tvShow.overview),m(5),ot(" ",gr(17,15,e.tvShow.first_air_date,"dd.MM.yyyy")," "),m(6),ot(" ",uh(23,18,e.tvShow.original_language)," "),m(6),ot(" ",e.tvShow.vote_count," "),m(5),ot("",e.tvShow.popularity," min"),m(5),_e(e.tvShow.status),m(5),g("ngForOf",e.tvShow.genres),m(3),g("ngForOf",e.tvShowVideo),m(4),g("ngForOf",null==e.tvShowImages?null:e.tvShowImages.backdrops),m(1),g("ngIf",e.tvShowCredit),m(1),g("itemsTvShows",e.similarTvShows)}}class wa{constructor(n,e,i){this.route=n,this.tvShowsService=e,this.router=i,this.tvShow=null,this.tvShowVideo=[],this.tvShowImages=null,this.tvShowCredit=null,this.imageSizes=Ac,this.similarTvShows=[]}ngOnInit(){this.urlSubscription=this.route.params.subscribe(n=>{this.getTvShows(n.id),this.getTvShowsVideos(n.id),this.getTvShowsImages(n.id),this.getTvShowsCredits(n.id),this.getTvShowsSimilar(n.id),this.router.navigateByUrl("/tvshow/"+n.id)})}ngOnDestroy(){this.urlSubscription.unsubscribe()}getTvShowsSimilar(n){this.tvShowsService.getTvShowSimilar(n).subscribe(e=>{this.similarTvShows=e})}getTvShowsCredits(n){this.tvShowsService.getTvShowCredits(n).subscribe(e=>{this.tvShowCredit=e})}getTvShowsImages(n){this.tvShowsService.getTvShowImages(n).subscribe(e=>{this.tvShowImages=e})}getTvShowsVideos(n){this.tvShowsService.getTvShowVideos(n).subscribe(e=>{this.tvShowVideo=e})}getTvShows(n){this.tvShowsService.getTvShow(n).subscribe(e=>{this.tvShow=e})}}function A$(t,n){if(1&t&&(y(0,"div",9),G(1,"item",10),v()),2&t){const e=n.$implicit;m(1),g("itemTvShow",e)}}wa.\u0275fac=function(n){return new(n||wa)(D(ei),D(Si),D(Lt))},wa.\u0275cmp=Ie({type:wa,selectors:[["app-tvshow"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"itemsTvShows","isBanner"],["header","Overviews"],[1,"grid"],[1,"col-12","md:col-3","lg:col-3"],[1,"poster",3,"src","alt"],[1,"col-12","md:col-9","lg:col-9"],[1,"overview"],[1,"stat"],[1,"label"],[1,"value"],[4,"ngFor","ngForOf"],["header","Videos"],["header","Photos"],["src","","alt","Image","width","250"],[3,"numVisible","value",4,"ngIf"],["title","Similar Movies",3,"itemsTvShows"],[1,"col-12","md:col-4","lg:col-4"],[3,"key","site"],["alt","Image","width","100%",3,"src","preview"],[3,"numVisible","value"],["pTemplate","item"],[1,"actor"],["alt","",3,"src"]],template:function(n,e){1&n&&S(0,M$,53,22,"ng-container",0),2&n&&g("ngIf",e.tvShow)},dependencies:[Jt,Dt,ti,Qp,Kp,WD,KD,Er,Tr,Rs,Xh,Lo],styles:["[_nghost-%COMP%] .p-tabview-nav{justify-content:center}[_nghost-%COMP%] .p-tabview-nav li .p-tabview.nav.link{background:#141414}[_nghost-%COMP%] .p-tabview-nav li.p-highlight .p-tabview-nav-link{background:#141414}[_nghost-%COMP%] .poster{max-width:100%}[_nghost-%COMP%] .overview{line-height:1.5}[_nghost-%COMP%] .stat{display:flex;margin-bottom:15px}[_nghost-%COMP%] .stat .label{width:150px;font-weight:700}[_nghost-%COMP%] .stat .value{color:#ffd54f}[_nghost-%COMP%] .actor{padding:10px}[_nghost-%COMP%] .actor img{width:100%}[_nghost-%COMP%] .actor span{display:block;text-align:center;margin:10px 0}"]});class Ls{constructor(n,e){this.tvShowsService=n,this.route=e,this.tvShows=[],this.genreId=null,this.searchValue=null,this.totalRecords=0}ngOnInit(){this.route.params.pipe(yr(1)).subscribe(({genreId:n})=>{n?(this.genreId=n,this.getTvShowsByGenre(n,1)):this.getPagedTvShows(1)})}getPagedTvShows(n,e){this.tvShowsService.searchTvShow(n,e).subscribe(i=>{this.tvShows=i.results,this.totalRecords=i.total_results})}getTvShowsByGenre(n,e){this.tvShowsService.getTvShowsByGenres(n,e).subscribe(i=>{this.tvShows=i.results,this.totalRecords=i.total_results})}searchChange(){this.searchValue?this.getPagedTvShows(1,this.searchValue):this.getPagedTvShows(1)}paginate(n){const e=n.page+1;this.genreId?this.getTvShowsByGenre(this.genreId,e):this.searchValue?this.getPagedTvShows(e,this.searchValue):this.getPagedTvShows(e)}}Ls.\u0275fac=function(n){return new(n||Ls)(D(Si),D(ei))},Ls.\u0275cmp=Ie({type:Ls,selectors:[["app-tvshows"]],decls:11,vars:4,consts:[[1,"container"],[1,"grid"],[1,"col-12"],[1,"p-fluid"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search",3,"ngModel","ngModelChange","change"],["class","col-6 md:col-3 lg:col-3",4,"ngFor","ngForOf"],[3,"rows","totalRecords","onPageChange"],[1,"col-6","md:col-3","lg:col-3"],[3,"itemTvShow"]],template:function(n,e){1&n&&(y(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span",4),G(5,"i",5),y(6,"input",6),F("ngModelChange",function(r){return e.searchValue=r})("change",function(){return e.searchChange()}),v()()()()(),y(7,"div",1),S(8,A$,2,1,"div",7),v(),y(9,"div")(10,"p-paginator",8),F("onPageChange",function(r){return e.paginate(r)}),v()()()),2&n&&(m(6),g("ngModel",e.searchValue),m(2),g("ngForOf",e.tvShows),m(2),g("rows",12)("totalRecords",e.totalRecords))},dependencies:[Jt,pE,pa,Rc,Fs,bf,Ir]});const O$=[{path:"",component:ca},{path:"movies",component:ks},{path:"tvshows",component:Ls},{path:"genres",component:sa},{path:"movies/genres/:genreId",component:ks},{path:"tvshows/genres/:genreId",component:Ls},{path:"movie/:id",component:ha},{path:"tvshow/:id",component:wa},{path:"**",redirectTo:""}];class Vs{}Vs.\u0275fac=function(n){return new(n||Vs)},Vs.\u0275mod=Fe({type:Vs}),Vs.\u0275inj=Oe({imports:[gD.forRoot(O$),gD]});class Ca{constructor(){this.date=new Date}ngOnInit(){}}Ca.\u0275fac=function(n){return new(n||Ca)},Ca.\u0275cmp=Ie({type:Ca,selectors:[["app-footer"]],decls:4,vars:4,template:function(n,e){1&n&&(y(0,"footer")(1,"span"),P(2),fi(3,"date"),v()()),2&n&&(m(2),ot("\xa9 ",gr(3,1,e.date,"yyyy")," Nezumi-Movies All right reserved."))},dependencies:[Lo],styles:["footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:.5rem 1rem;height:65px;background-color:#212121;margin:0}"]});class ba{}ba.\u0275fac=function(n){return new(n||ba)},ba.\u0275cmp=Ie({type:ba,selectors:[["app-header"]],decls:17,vars:0,consts:[[1,"navbar"],["href","",1,"navbar-logo"],["src","assets/images/video-player.png","alt",""],[1,"navbar-links"],["routerLink","/"],["routerLink","movies"],["routerLink","tvshows"],["routerLink","genres"]],template:function(n,e){1&n&&(y(0,"header")(1,"nav",0)(2,"a",1),G(3,"img",2),v(),y(4,"ul",3)(5,"li")(6,"a",4),P(7,"Home"),v()(),y(8,"li")(9,"a",5),P(10,"Movies"),v()(),y(11,"li")(12,"a",6),P(13,"TV Shows"),v()(),y(14,"li")(15,"a",7),P(16,"Genres"),v()()()()())},dependencies:[Os],styles:["header[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;height:65px;background-color:#212121;margin:0;border-bottom:1px solid rgba(255,255,255,.1)}header[_ngcontent-%COMP%] .navbar-logo[_ngcontent-%COMP%]{display:block}header[_ngcontent-%COMP%] .navbar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}header[_ngcontent-%COMP%] .navbar-links[_ngcontent-%COMP%]{display:block;padding:0;margin:0;list-style:none}header[_ngcontent-%COMP%] .navbar-links[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline;margin-right:15px}"]});class Da{constructor(){this.title="movies-app"}}function fE(t){return new I(3e3,!1)}function dU(){return typeof window<"u"&&typeof window.document<"u"}function Sf(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Wi(t){switch(t.length){case 0:return new la;case 1:return t[0];default:return new LD(t)}}function gE(t,n,e,i,r=new Map,s=new Map){const o=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,p=h&&c||new Map;u.forEach((f,_)=>{let w=_,b=f;if("offset"!==_)switch(w=n.normalizePropertyName(w,o),b){case"!":b=r.get(_);break;case Ei:b=s.get(_);break;default:b=n.normalizeStyleValue(_,w,b,o)}p.set(w,b)}),h||a.push(p),c=p,l=d}),o.length)throw function J$(t){return new I(3502,!1)}();return a}function Ef(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&If(e,"start",t)));break;case"done":t.onDone(()=>i(e&&If(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&If(e,"destroy",t)))}}function If(t,n,e){const s=Tf(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),o=t._data;return null!=o&&(s._data=o),s}function Tf(t,n,e,i,r="",s=0,o){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function tn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function mE(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}Da.\u0275fac=function(n){return new(n||Da)},Da.\u0275cmp=Ie({type:Da,selectors:[["app-root"]],decls:3,vars:0,template:function(n,e){1&n&&G(0,"app-header")(1,"router-outlet")(2,"app-footer")},dependencies:[Tp,Ca,ba]});let Mf=(t,n)=>!1,_E=(t,n,e)=>[],yE=null;function Af(t){const n=t.parentNode||t.host;return n===yE?null:n}(Sf()||typeof Element<"u")&&(dU()?(yE=(()=>document.documentElement)(),Mf=(t,n)=>{for(;n;){if(n===t)return!0;n=Af(n)}return!1}):Mf=(t,n)=>t.contains(n),_E=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let Pr=null,vE=!1;const wE=Mf,CE=_E;let bE=(()=>{class t{validateStyleProperty(e){return function pU(t){Pr||(Pr=function fU(){return typeof document<"u"?document.body:null}()||{},vE=!!Pr.style&&"WebkitAppearance"in Pr.style);let n=!0;return Pr.style&&!function hU(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Pr.style,!n&&vE&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Pr.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return wE(e,i)}getParentElement(e){return Af(e)}query(e,i,r){return CE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,s,o,a=[],l){return new la(r,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),Of=(()=>{class t{}return t.NOOP=new bE,t})();const Pf="ng-enter",Uc="ng-leave",jc="ng-trigger",zc=".ng-trigger",SE="ng-animating",xf=".ng-animating";function Ii(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Rf(parseFloat(n[1]),n[2])}function Rf(t,n){return"s"===n?1e3*t:t}function Gc(t,n,e){return t.hasOwnProperty("duration")?t:function _U(t,n,e){let r,s=0,o="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(fE()),{duration:0,delay:0,easing:""};r=Rf(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=Rf(parseFloat(l),a[4]));const c=a[5];c&&(o=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(function P$(){return new I(3100,!1)}()),a=!0),s<0&&(n.push(function x$(){return new I(3101,!1)}()),a=!0),a&&n.splice(l,0,fE())}return{duration:r,delay:s,easing:o}}(t,n,e)}function Sa(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function EE(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function qi(t,n=new Map,e){if(e)for(let[i,r]of e)n.set(i,r);for(let[i,r]of t)n.set(i,r);return n}function TE(t,n,e){return e?n+":"+e+";":""}function ME(t){let n="";for(let e=0;e{const s=Ff(r);e&&!e.has(r)&&e.set(r,t.style[s]),t.style[s]=i}),Sf()&&ME(t))}function xr(t,n){t.style&&(n.forEach((e,i)=>{const r=Ff(i);t.style[r]=""}),Sf()&&ME(t))}function Ea(t){return Array.isArray(t)?1==t.length?t[0]:RD(t):t}const Nf=new RegExp("{{\\s*(.+?)\\s*}}","g");function AE(t){let n=[];if("string"==typeof t){let e;for(;e=Nf.exec(t);)n.push(e[1]);Nf.lastIndex=0}return n}function Ia(t,n,e){const i=t.toString(),r=i.replace(Nf,(s,o)=>{let a=n[o];return null==a&&(e.push(function N$(t){return new I(3003,!1)}()),a=""),a.toString()});return r==i?t:r}function Wc(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const wU=/-+([a-z0-9])/g;function Ff(t){return t.replace(wU,(...n)=>n[1].toUpperCase())}function CU(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function nn(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function F$(t){return new I(3004,!1)}()}}function OE(t,n){return window.getComputedStyle(t)[n]}function TU(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function MU(t,n,e){if(":"==t[0]){const l=function AU(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function K$(t){return new I(3015,!1)}()),n;const r=i[1],s=i[2],o=i[3];n.push(PE(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&n.push(PE(o,r))}(i,e,n)):e.push(t),e}const Zc=new Set(["true","1"]),Yc=new Set(["false","0"]);function PE(t,n){const e=Zc.has(t)||Yc.has(t),i=Zc.has(n)||Yc.has(n);return(r,s)=>{let o="*"==t||t==r,a="*"==n||n==s;return!o&&e&&"boolean"==typeof r&&(o=r?Zc.has(t):Yc.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?Zc.has(n):Yc.has(n)),o&&a}}const OU=new RegExp("s*:selfs*,?","g");function kf(t,n,e,i){return new PU(t).build(n,e,i)}class PU{constructor(n){this._driver=n}build(n,e,i){const r=new NU(e);return this._resetContextStyleTimingState(r),nn(this,Ea(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0;const s=[],o=[];return"@"==n.name.charAt(0)&&e.errors.push(function L$(){return new I(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,s.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,o.push(l)}else e.errors.push(function V$(){return new I(3007,!1)}())}),{type:7,name:n.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{AE(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&(Wc(s.values()),e.errors.push(function B$(t,n){return new I(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=nn(this,Ea(n.animation),e);return{type:1,matchers:TU(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Rr(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>nn(this,i,e)),options:Rr(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const s=n.steps.map(o=>{e.currentTime=i;const a=nn(this,o,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:s,options:Rr(n.options)}}visitAnimate(n,e){const i=function kU(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Lf(Gc(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Lf(0,0,"");return s.dynamic=!0,s.strValue=e,s}const r=Gc(e,n);return Lf(r.duration,r.delay,r.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,s=n.styles?n.styles:Sr({});if(5==s.type)r=this.visitKeyframes(s,e);else{let o=n.styles,a=!1;if(!o){a=!0;const c={};i.easing&&(c.easing=i.easing),o=Sr(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Ei?i.push(a):e.errors.push(new I(3002,!1)):i.push(EE(a));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s))for(let l of a.values())if(l.toString().indexOf("{{")>=0){s=!0;break}}),{type:6,styles:i,easing:o,offset:n.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),n.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(s!=r&&s>=u.startTime&&r<=u.endTime&&(e.errors.push(function $$(t,n,e,i,r){return new I(3010,!1)}()),d=!1),s=u.startTime),d&&c.set(l,{startTime:s,endTime:r}),e.options&&function vU(t,n,e){const i=n.params||{},r=AE(t);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||e.push(function R$(t){return new I(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function U$(){return new I(3011,!1)}()),i;let s=0;const o=[];let a=!1,l=!1,c=0;const u=n.steps.map(b=>{const T=this._makeStyleAst(b,e);let E=null!=T.offset?T.offset:function FU(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(T.styles),O=0;return null!=E&&(s++,O=T.offset=E),l=l||O<0||O>1,a=a||O0&&s{const E=h>0?T==p?1:h*T:o[T],O=E*w;e.currentTime=f+_.delay+O,_.duration=O,this._validateStyleAst(b,e),b.offset=E,i.styles.push(b)}),i}visitReference(n,e){return{type:8,animation:nn(this,Ea(n.animation),e),options:Rr(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:Rr(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Rr(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[s,o]=function xU(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(OU,"")),t=t.replace(/@\*/g,zc).replace(/@\w+/g,e=>zc+"-"+e.slice(1)).replace(/:animating/g,xf),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+s:s,tn(e.collectedStyles,e.currentQuerySelector,new Map);const a=nn(this,Ea(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:n.selector,options:Rr(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function W$(){return new I(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Gc(n.timings,e.errors,!0);return{type:12,animation:nn(this,Ea(n.animation),e),timings:i,options:null}}}class NU{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 Rr(t){return t?(t=Sa(t)).params&&(t.params=function RU(t){return t?Sa(t):null}(t.params)):t={},t}function Lf(t,n,e){return{duration:t,delay:n,easing:e}}function Vf(t,n,e,i,r,s,o=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class Xc{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const BU=new RegExp(":enter","g"),$U=new RegExp(":leave","g");function Bf(t,n,e,i,r,s=new Map,o=new Map,a,l,c=[]){return(new UU).buildKeyframes(t,n,e,i,r,s,o,a,l,c)}class UU{buildKeyframes(n,e,i,r,s,o,a,l,c,u=[]){c=c||new Xc;const d=new Hf(n,e,c,r,s,u,[]);d.options=l;const h=l.delay?Ii(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([o],null,d.errors,l),nn(this,i,d);const p=d.timelines.filter(f=>f.containsAnimation());if(p.length&&a.size){let f;for(let _=p.length-1;_>=0;_--){const w=p[_];if(w.element===e){f=w;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,d.errors,l)}return p.length?p.map(f=>f.buildKeyframes()):[Vf(e,[],[],[],0,h,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(n.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const s=r?.delay;if(s){const o="number"==typeof s?s:Ii(Ia(s,r?.params??{},e.errors));i.delayNextStep(o)}}}_visitSubInstructions(n,e,i){let s=e.currentTimeline.currentTime;const o=null!=i.duration?Ii(i.duration):null,a=null!=i.delay?Ii(i.delay):null;return 0!==o&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),nn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let r=e;const s=n.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Jc);const o=Ii(s.delay);r.delayNextStep(o)}n.steps.length&&(n.steps.forEach(o=>nn(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let r=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?Ii(n.options.delay):0;n.steps.forEach(o=>{const a=e.createSubContext(n.options);s&&a.delayNextStep(s),nn(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Gc(e.params?Ia(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const s=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(s):i.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,s=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+s),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,r=n.options||{},s=r.delay?Ii(r.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Jc);let o=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(n.options,c);s&&d.delayNextStep(s),c===e.element&&(l=d.currentTimeline),nn(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,r=e.currentTimeline,s=n.timings,o=Math.abs(s.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;nn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const Jc={};class Hf{constructor(n,e,i,r,s,o,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Jc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new eu(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Ii(i.duration)),null!=i.delay&&(r.delay=Ii(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=Ia(s[a],o,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){const r=e||this.element,s=new Hf(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=Jc,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},s=new jU(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,s,o){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(BU,"."+this._enterClassName)).replace($U,"."+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!s&&0==a.length&&o.push(function q$(t){return new I(3014,!1)}()),a}}class eu{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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 e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new eu(this._driver,n,e||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,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ei),this._currentKeyframe.set(e,Ei);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);const s=r&&r.params||{},o=function zU(t,n){const e=new Map;let i;return t.forEach(r=>{if("*"===r){i=i||n.keys();for(let s of i)e.set(s,Ei)}else qi(r,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of o){const c=Ia(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ei),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=qi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?n.add(d):u===Ei&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const s=n.size?Wc(n.values()):[],o=e.size?Wc(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Vf(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class jU extends eu{constructor(n,e,i,r,s,o,a=!1){super(n,e,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,a=e/o,l=qi(n[0]);l.set("offset",0),s.push(l);const c=qi(n[0]);c.set("offset",NE(a)),s.push(c);const u=n.length-1;for(let d=1;d<=u;d++){let h=qi(n[d]);const p=h.get("offset");h.set("offset",NE((e+p*i)/o)),s.push(h)}i=o,e=0,r="",n=s}return Vf(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function NE(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class $f{}const GU=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 WU extends $f{normalizePropertyName(n,e){return Ff(n)}normalizeStyleValue(n,e,i,r){let s="";const o=i.toString().trim();if(GU.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function k$(t,n){return new I(3005,!1)}())}return o+s}}function FE(t,n,e,i,r,s,o,a,l,c,u,d,h){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Uf={};class kE{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function qU(t,n,e,i,r){return t.some(s=>s(n,e,i,r))}(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,s,o,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Uf,f=this.buildStyles(i,a&&a.params||Uf,d),_=l&&l.params||Uf,w=this.buildStyles(r,_,d),b=new Set,T=new Map,E=new Map,O="void"===r,te={params:KU(_,h),delay:this.ast.options?.delay},he=u?[]:Bf(n,e,this.ast.animation,s,o,f,w,te,c,d);let Mt=0;if(he.forEach(Mi=>{Mt=Math.max(Mi.duration+Mi.delay,Mt)}),d.length)return FE(e,this._triggerName,i,r,O,f,w,[],[],T,E,Mt,d);he.forEach(Mi=>{const Ai=Mi.element,YE=tn(T,Ai,new Set);Mi.preStyleProps.forEach(Nr=>YE.add(Nr));const Ma=tn(E,Ai,new Set);Mi.postStyleProps.forEach(Nr=>Ma.add(Nr)),Ai!==e&&b.add(Ai)});const Ti=Wc(b.values());return FE(e,this._triggerName,i,r,O,f,w,he,Ti,T,E,Mt)}}function KU(t,n){const e=Sa(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class QU{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,r=Sa(this.defaultParams);return Object.keys(n).forEach(s=>{const o=n[s];null!==o&&(r[s]=o)}),this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((o,a)=>{o&&(o=Ia(o,r,e));const l=this.normalizer.normalizePropertyName(a,e);o=this.normalizer.normalizeStyleValue(a,l,o,e),i.set(a,o)})}),i}}class YU{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new QU(r.style,r.options&&r.options.params||{},i))}),LE(this.states,"true","1"),LE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new kE(n,r,this.states))}),this.fallbackTransition=function XU(t,n,e){return new kE(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(o=>o.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function LE(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const JU=new Xc;class ej{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],s=kf(this._driver,e,i,[]);if(i.length)throw function eU(t){return new I(3503,!1)}();this._animations.set(n,s)}_buildPlayer(n,e,i){const r=n.element,s=gE(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(r,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const r=[],s=this._animations.get(n);let o;const a=new Map;if(s?(o=Bf(this._driver,e,s,Pf,Uc,new Map,new Map,i,JU,r),o.forEach(u=>{const d=tn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function tU(){return new I(3300,!1)}()),o=[]),r.length)throw function nU(t){return new I(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,Ei))})});const c=Wi(o.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function iU(t){return new I(3301,!1)}();return e}listen(n,e,i,r){const s=Tf(e,"","","");return Ef(this._getPlayer(n),i,s,r),()=>{}}command(n,e,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,e,r[0]||{});const s=this._getPlayer(n);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const VE="ng-animate-queued",jf="ng-animate-disabled",sj=[],BE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},oj={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vn="__ng_removed";class zf{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function uj(t){return t??null}(i?n.value:n),i){const s=Sa(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Ta="void",Gf=new zf(Ta);class aj{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,wn(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw function rU(t,n){return new I(3302,!1)}();if(null==i||0==i.length)throw function sU(t){return new I(3303,!1)}();if(!function dj(t){return"start"==t||"done"==t}(i))throw function oU(t,n){return new I(3400,!1)}();const s=tn(this._elementListeners,n,[]),o={name:e,phase:i,callback:r};s.push(o);const a=tn(this._engine.statesByElement,n,new Map);return a.has(e)||(wn(n,jc),wn(n,jc+"-"+e),a.set(e,Gf)),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function aU(t){return new I(3401,!1)}();return e}trigger(n,e,i,r=!0){const s=this._getTrigger(e),o=new Wf(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(wn(n,jc),wn(n,jc+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new zf(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Gf),c.value!==Ta&&l.value===c.value){if(!function fj(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r{xr(n,w),ni(n,b)})}return}const h=tn(this._engine.playersByElement,n,[]);h.forEach(_=>{_.namespaceId==this.id&&_.triggerName==e&&_.queued&&_.destroy()});let p=s.matchTransition(l.value,c.value,n,c.params),f=!1;if(!p){if(!r)return;p=s.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:p,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(wn(n,VE),o.onStart(()=>{Bs(n,VE)})),o.onDone(()=>{let _=this.players.indexOf(o);_>=0&&this.players.splice(_,1);const w=this._engine.playersByElement.get(n);if(w){let b=w.indexOf(o);b>=0&&w.splice(b,1)}}),this.players.push(o),h.push(o),o}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,zc,!0);i.forEach(r=>{if(r[vn])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){const s=this._engine.statesByElement.get(n),o=new Map;if(s){const a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){const u=this.trigger(n,c,Ta,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,o),i&&Wi(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const r=new Set;e.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Gf,u=new zf(Ta),d=new Wf(this.id,o,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:o,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(n):[];if(s&&s.length)r=!0;else{let o=n;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{const s=n[vn];(!s||s===BE)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){wn(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){const l=Tf(s,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Ef(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class lj{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,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,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new aj(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const s=this._fetchNamespace(r.namespaceId);s&&e.add(s)}return e}trigger(n,e,i,r){if(tu(e)){const s=this._fetchNamespace(n);if(s)return s.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!tu(e))return;const s=e[vn];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(n){const o=this._fetchNamespace(n);o&&o.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),wn(n,jf)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Bs(n,jf))}removeNode(n,e,i,r){if(tu(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(n,e,!1,r),i){const o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(n,e,i,r,s){this.collectedLeaveElements.push(e),e[vn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,i,r,s){return tu(e)?this._fetchNamespace(n).listen(e,i,r,s):()=>{}}_buildInstruction(n,e,i,r,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,zc,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,xf,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Wi(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[vn];if(e&&e.setForRemoval){if(n[vn]=BE,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(jf)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];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=[],e.length?Wi(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function lU(t){return new I(3402,!1)}()}_flushAnimations(n,e){const i=new Xc,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(B=>{u.add(B);const z=this.driver.query(B,".ng-animate-queued",!0);for(let Z=0;Z{const Z=Pf+_++;f.set(z,Z),B.forEach(ge=>wn(ge,Z))});const w=[],b=new Set,T=new Set;for(let B=0;Bb.add(ge)):T.add(z))}const E=new Map,O=UE(h,Array.from(b));O.forEach((B,z)=>{const Z=Uc+_++;E.set(z,Z),B.forEach(ge=>wn(ge,Z))}),n.push(()=>{p.forEach((B,z)=>{const Z=f.get(z);B.forEach(ge=>Bs(ge,Z))}),O.forEach((B,z)=>{const Z=E.get(z);B.forEach(ge=>Bs(ge,Z))}),w.forEach(B=>{this.processLeaveNode(B)})});const te=[],he=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(Z=>{const ge=Z.player,dt=Z.element;if(te.push(ge),this.collectedEnterElements.length){const At=dt[vn];if(At&&At.setForMove){if(At.previousTriggersValues&&At.previousTriggersValues.has(Z.triggerName)){const Fr=At.previousTriggersValues.get(Z.triggerName),Cn=this.statesByElement.get(Z.element);if(Cn&&Cn.has(Z.triggerName)){const ru=Cn.get(Z.triggerName);ru.value=Fr,Cn.set(Z.triggerName,ru)}}return void ge.destroy()}}const ii=!d||!this.driver.containsElement(d,dt),rn=E.get(dt),Ki=f.get(dt),je=this._buildInstruction(Z,i,Ki,rn,ii);if(je.errors&&je.errors.length)return void he.push(je);if(ii)return ge.onStart(()=>xr(dt,je.fromStyles)),ge.onDestroy(()=>ni(dt,je.toStyles)),void r.push(ge);if(Z.isFallbackTransition)return ge.onStart(()=>xr(dt,je.fromStyles)),ge.onDestroy(()=>ni(dt,je.toStyles)),void r.push(ge);const e0=[];je.timelines.forEach(At=>{At.stretchStartingKeyframe=!0,this.disabledNodes.has(At.element)||e0.push(At)}),je.timelines=e0,i.append(dt,je.timelines),o.push({instruction:je,player:ge,element:dt}),je.queriedElements.forEach(At=>tn(a,At,[]).push(ge)),je.preStyleProps.forEach((At,Fr)=>{if(At.size){let Cn=l.get(Fr);Cn||l.set(Fr,Cn=new Set),At.forEach((ru,Qf)=>Cn.add(Qf))}}),je.postStyleProps.forEach((At,Fr)=>{let Cn=c.get(Fr);Cn||c.set(Fr,Cn=new Set),At.forEach((ru,Qf)=>Cn.add(Qf))})});if(he.length){const B=[];he.forEach(z=>{B.push(function cU(t,n){return new I(3505,!1)}())}),te.forEach(z=>z.destroy()),this.reportError(B)}const Mt=new Map,Ti=new Map;o.forEach(B=>{const z=B.element;i.has(z)&&(Ti.set(z,z),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,Mt))}),r.forEach(B=>{const z=B.element;this._getPreviousPlayers(z,!1,B.namespaceId,B.triggerName,null).forEach(ge=>{tn(Mt,z,[]).push(ge),ge.destroy()})});const Mi=w.filter(B=>zE(B,l,c)),Ai=new Map;$E(Ai,this.driver,T,c,Ei).forEach(B=>{zE(B,l,c)&&Mi.push(B)});const Ma=new Map;p.forEach((B,z)=>{$E(Ma,this.driver,new Set(B),l,"!")}),Mi.forEach(B=>{const z=Ai.get(B),Z=Ma.get(B);Ai.set(B,new Map([...Array.from(z?.entries()??[]),...Array.from(Z?.entries()??[])]))});const Nr=[],XE=[],JE={};o.forEach(B=>{const{element:z,player:Z,instruction:ge}=B;if(i.has(z)){if(u.has(z))return Z.onDestroy(()=>ni(z,ge.toStyles)),Z.disabled=!0,Z.overrideTotalTime(ge.totalTime),void r.push(Z);let dt=JE;if(Ti.size>1){let rn=z;const Ki=[];for(;rn=rn.parentNode;){const je=Ti.get(rn);if(je){dt=je;break}Ki.push(rn)}Ki.forEach(je=>Ti.set(je,dt))}const ii=this._buildAnimation(Z.namespaceId,ge,Mt,s,Ma,Ai);if(Z.setRealPlayer(ii),dt===JE)Nr.push(Z);else{const rn=this.playersByElement.get(dt);rn&&rn.length&&(Z.parentPlayer=Wi(rn)),r.push(Z)}}else xr(z,ge.fromStyles),Z.onDestroy(()=>ni(z,ge.toStyles)),XE.push(Z),u.has(z)&&r.push(Z)}),XE.forEach(B=>{const z=s.get(B.element);if(z&&z.length){const Z=Wi(z);B.setRealPlayer(Z)}}),r.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B!ii.destroyed);dt.length?hj(this,z,dt):this.processLeaveNode(z)}return w.length=0,Nr.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();const z=this.players.indexOf(B);this.players.splice(z,1)}),B.play()}),Nr}elementContainsData(n,e){let i=!1;const r=e[vn];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,s){let o=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(o=a)}else{const a=this.playersByElement.get(n);if(a){const l=!s||s==Ta;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(n,e,i){const s=e.element,o=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==s,d=tn(i,c,[]);this._getPreviousPlayers(c,u,o,a,e.toState).forEach(p=>{const f=p.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),p.destroy(),d.push(p)})}xr(s,e.fromStyles)}_buildAnimation(n,e,i,r,s,o){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(f=>{const _=f.element;u.add(_);const w=_[vn];if(w&&w.removedBeforeQueried)return new la(f.duration,f.delay);const b=_!==l,T=function pj(t){const n=[];return jE(t,n),n}((i.get(_)||sj).map(Mt=>Mt.getRealPlayer())).filter(Mt=>!!Mt.element&&Mt.element===_),E=s.get(_),O=o.get(_),te=gE(0,this._normalizer,0,f.keyframes,E,O),he=this._buildPlayer(f,te,T);if(f.subTimeline&&r&&d.add(_),b){const Mt=new Wf(n,a,_);Mt.setRealPlayer(he),c.push(Mt)}return he});c.forEach(f=>{tn(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>function cj(t,n,e){let i=t.get(n);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,f.element,f))}),u.forEach(f=>wn(f,SE));const p=Wi(h);return p.onDestroy(()=>{u.forEach(f=>Bs(f,SE)),ni(l,e.toStyles)}),d.forEach(f=>{tn(r,f,[]).push(p)}),p}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new la(n.duration,n.delay)}}class Wf{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new la,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Ef(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 e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){tn(this._queuedCallbacks,n,[]).push(e)}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 e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function tu(t){return t&&1===t.nodeType}function HE(t,n){const e=t.style.display;return t.style.display=n??"none",e}function $E(t,n,e,i,r){const s=[];e.forEach(l=>s.push(HE(l)));const o=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=n.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[vn]=oj,o.push(c))}),t.set(c,u)});let a=0;return e.forEach(l=>HE(l,s[a++])),o}function UE(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const r=new Set(n),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:o(c),s.set(a,l),l}return n.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function wn(t,n){t.classList?.add(n)}function Bs(t,n){t.classList?.remove(n)}function hj(t,n,e){Wi(e).onDone(()=>t.processLeaveNode(n))}function jE(t,n){for(let e=0;er.add(s)):n.set(t,i),e.delete(t),!0}class nu{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new lj(n,e,i),this._timelineEngine=new ej(n,e,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(n,e,i,r,s){const o=n+"-"+r;let a=this._triggerCache[o];if(!a){const l=[],u=kf(this._driver,s,l,[]);if(l.length)throw function X$(t,n){return new I(3404,!1)}();a=function ZU(t,n,e){return new YU(t,n,e)}(r,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i,r){this._transitionEngine.removeNode(n,e,r||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if("@"==i.charAt(0)){const[s,o]=mE(i);this._timelineEngine.command(s,e,o,r)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,s){if("@"==i.charAt(0)){const[o,a]=mE(i);return this._timelineEngine.listen(o,e,a,s)}return this._transitionEngine.listen(n,e,i,r,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let mj=(()=>{class t{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&ni(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ni(this._element,this._initialStyles),this._endStyles&&(ni(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(xr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xr(this._element,this._endStyles),this._endStyles=null),ni(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function qf(t){let n=null;return t.forEach((e,i)=>{(function _j(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class GE{constructor(n,e,i,r){this.element=n,this.keyframes=e,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,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),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/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:OE(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class yj{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return wE(n,e)}getParentElement(n){return Af(n)}query(n,e,i){return CE(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,r,s,o=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(l.easing=s);const c=new Map,u=o.filter(p=>p instanceof GE);(function bU(t,n){return 0===t||0===n})(i,r)&&u.forEach(p=>{p.currentSnapshot.forEach((f,_)=>c.set(_,f))});let d=function yU(t){return t.length?t[0]instanceof Map?t:t.map(n=>EE(n)):[]}(e).map(p=>qi(p));d=function DU(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;so.set(a,OE(t,a)))}}return n}(n,d,c);const h=function gj(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=qf(n[0]),n.length>1&&(i=qf(n[n.length-1]))):n instanceof Map&&(e=qf(n)),e||i?new mj(t,e,i):null}(n,d);return new GE(n,d,l,h)}}let vj=(()=>{class t extends xD{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Sn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?RD(e):e;return WE(this._renderer,null,i,"register",[r]),new wj(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(x(mo),x(Qe))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class wj extends CV{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new Cj(this._id,n,e||{},this._renderer)}}class Cj{constructor(n,e,i,r){this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return WE(this._renderer,this.element,this.id,n,e)}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 WE(t,n,e,i,r){return t.setProperty(n,`@@${e}:${i}`,r)}const qE="@.disabled";let bj=(()=>{class t{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,o)=>{const a=o?.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(e,i){const s=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(s);return u||(u=new KE("",s,this.engine,()=>this._rendererCache.delete(s)),this._rendererCache.set(s,u)),u}const o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(o,a,e,u.name,u)};return i.data.animation.forEach(l),new Dj(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(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()}}return t.\u0275fac=function(e){return new(e||t)(x(mo),x(nu),x(Te))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class KE{constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==qE?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class Dj extends KE{constructor(n,e,i,r,s){super(e,i,r,s),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==qE?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const r=function Sj(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let s=e.slice(1),o="";return"@"!=s.charAt(0)&&([s,o]=function Ej(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}const QE=[{provide:xD,useClass:vj},{provide:$f,useFactory:function Tj(){return new WU}},{provide:nu,useClass:(()=>{class t extends nu{constructor(e,i,r,s){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(x(Qe),x(Of),x($f),x(Ro))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})()},{provide:mo,useFactory:function Mj(t,n,e){return new bj(t,n,e)},deps:[rc,nu,Te]}],Kf=[{provide:Of,useFactory:()=>new yj},{provide:Aw,useValue:"BrowserAnimations"},...QE],ZE=[{provide:Of,useClass:bE},{provide:Aw,useValue:"NoopAnimations"},...QE];let Aj=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ZE:Kf}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Fe({type:t}),t.\u0275inj=Oe({providers:Kf,imports:[QC]}),t})();class Hs{}Hs.\u0275fac=function(n){return new(n||Hs)},Hs.\u0275mod=Fe({type:Hs,bootstrap:[Da]}),Hs.\u0275inj=Oe({imports:[QC,Aj,Vs,yV,v$,a2,_2,j2,lE]}),aF().bootstrapModule(Hs).catch(t=>console.error(t))}},xe=>{xe(xe.s=431)}]);
\ No newline at end of file
diff --git a/polyfills.e65237d8b862a4a2.js b/polyfills.e65237d8b862a4a2.js
new file mode 100644
index 0000000..583e262
--- /dev/null
+++ b/polyfills.e65237d8b862a4a2.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmovies_app=self.webpackChunkmovies_app||[]).push([[429],{583:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const p=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(p||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(t.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 e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(e,r,k=!1){if(oe.hasOwnProperty(e)){if(!k&&p)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),oe[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===w))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=re;re=e,U={parent:U,zone:this};try{e.type==w&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new m(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new m(w,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new m(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(t,l,this,arguments)}}static invokeTask(T,e,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[Z]&&(K=t[Z].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[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"),t.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,De="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(De),Ne=Zone.__symbol__(Oe),ie="true",ce="false",me=Zone.__symbol__("");function Ie(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global;function Me(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Ie(t[i],n+"_"+i));return t}function Ve(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(t){if(!(t=t||Y.event))return;let n=we[t.type];n||(n=we[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return je&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function We(t,n,i){let o=ue(t,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,p=o.set,d=n.slice(2);let P=we[d];P||(P=we[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&t===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,Ue),p&&p.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v.removeAttribute&&v.removeAttribute(n),M}return null},pe(t,n,o),t[c]=!0}function qe(t,n,i){if(n)for(let o=0;ofunction(p,d){const P=i(p,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Le(P.name,d[P.cbIdx],P,c):a.apply(p,d)})}function le(t,n){t[A("OriginalDelegate")]=n}let Xe=!1,Ae=!1;function ft(){if(Xe)return Ae;Xe=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,p=i.symbol,d=[],P=!0===t[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),m=p("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return e.reject(l)}const q=p("state"),R=p("value"),_=p("finally"),J=p("parentPromiseValue"),x=p("parentPromiseState"),j=null,E=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=p("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const y=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;y&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{const S=l[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=b);const O=u.run(y,void 0,D&&y!==K&&y!==H?[]:[S]);z(s,!0,O)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{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 y of u)f++,s.push(e.resolve(y))}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 b=[];return new e((y,S)=>{for(let D=0;D{g||(g=!0,y(O))},O=>{b.push(O),f--,0===f&&(g=!0,S(new T(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,D)=>{s=S,f=D});function b(S){s(S)}function y(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(b,y);return g}static all(u){return e.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof e?this:e).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((O,V)=>{f=O,g=V}),y=2,S=0;const D=[];for(let O of u){B(O)||(O=this.resolve(O));const V=S;try{O.then(F=>{D[V]=s?s.thenCallback(F):F,y--,0===y&&f(D)},F=>{s?(D[V]=s.errorCallback(F),y--,0===y&&f(D)):g(F)})}catch(F){g(F)}y++,S++}return y-=2,0===y&&f(D),b}constructor(u){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,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 e}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||e);const b=new g(L),y=n.current;return this[q]==j?this[R].push(y,b,u,s):ee(this,y,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=e);const g=new f(L);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=p("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new e((S,D)=>{f.call(this,S,D)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(t,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=t[o];if(m)return n.call(m)}if(this===Error){const m=t[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=A("propagationStopped");function Je(t,n){const i=(n?n(t):t)+ce,o=(n?n(t):t)+ie,c=me+i,a=me+o;te[t]={},te[t][ce]=c,te[t][ie]=a}function dt(t,n,i,o){const c=o&&o.add||De,a=o&&o.rm||Oe,p=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",m="prependListener",M="."+m+":",Z=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 j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[te[_.type][J?ie:ce]];if(X){const j=[];if(1===X.length){const E=Z(X[0],x,_);E&&j.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 j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[P])return!1;const G=_&&_.eventNameToString,h={},I=E[P]=E[c],w=E[A(a)]=E[a],Q=E[A(p)]=E[p],oe=E[A(d)]=E[d];let z;function U(s,f){return!Ee&&"object"==typeof s&&s?!!s.capture:Ee&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=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 b=g&&s.target[g];if(b)for(let y=0;yfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const p=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=t.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],M))}catch{}}),p.call(n,d,P,v)},t.attachOriginToPatched(n[o],p)}function Qe(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(t,n,i,o){t&&qe(t,Qe(t,n,i),o)}function He(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=He(t);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Me,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=_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:je,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:De,REMOVE_EVENT_LISTENER_STR:Oe})});const Re=A("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const p={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(t,m.args),v}function P(v){return a.call(t,v.data.handleId)}c=ae(t,n+=o,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Re]=null))}};const B=Le(n,M[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?p[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(t,M)}),a=ae(t,i,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=p[Z]:(N=Z&&Z[Re],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete p[Z]:Z&&(Z[Re]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{i.patchMethod(t,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(P,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function mt(t,n){n.patchEventPrototype(t,n)})(t,i),function pt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let P=0;P{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function Tt(t,n){if(Pe&&!Be||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.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 yt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],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[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===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[p]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const w={target:h,url:h[p],isPeriodic:!1,args:I,aborted:!1},Q=Le("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 Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),p=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function at(t,n){const i=t.constructor.name;for(let o=0;o{const P=function(){return d.apply(this,Me(arguments,i+"."+c))};return le(P,d),P})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Ke(t,o).forEach(p=>{const d=t.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});p.invoke(P)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ue=>{ue(ue.s=583)}]);
\ No newline at end of file
diff --git a/primeicons.0112589c5695a9ed.ttf b/primeicons.0112589c5695a9ed.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..4fd92dc582939baa317a5f8c30921c0cbc05d0f8
GIT binary patch
literal 72204
zcmd3P37i~NoqxTm?yA1;`Q5o2~&aaHg{T~}Ohbc4Gtxce7yy7K@2-mB_kCV?dAes+?suBxtj
z$M5~#@BQv4F-ek~(hZU#^{+jrZ@?SSx^d?*e0E)M+4=jU8^3ppB(W5(&%OBktM=pD
zhim$_U3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