diff --git a/build.sh b/build.sh index 32f2178..539cf2f 100755 --- a/build.sh +++ b/build.sh @@ -7,6 +7,11 @@ # ################################################################################ +build_prod() { + ngpath="$1" + $ngpath build --configuration "production" --output-path "prod/app-configurateur" +} + create_deb() { dirname="configurateurfront-$1" /usr/bin/mkdir -p "$2/bdist_deb/$dirname" @@ -23,8 +28,12 @@ EOF fi /usr/bin/dh_make -t $2/misc/template -n -y -i -d -e "vincent.benoit@benserv.fr" -c mit cd "$2" - ngpath="$3" - $ngpath build --configuration "production" --output-path "bdist_deb/$dirname/app-configurateur" + if [ -d "$2/prod" ]; then + ret=$(/usr/bin/cp -a "$2/prod/app-configurateur" "$2/bdist_deb/$dirname") + echo "$ret" + fi +# ngpath="$3" +# $ngpath build --configuration "production" --output-path "bdist_deb/$dirname/app-configurateur" cd "$2/bdist_deb/$dirname" /usr/bin/find $2/misc -type f -name "*.conf" -exec /usr/bin/cp -a {} . \; /usr/bin/dpkg-buildpackage -b -uc -us -rfakeroot @@ -42,6 +51,8 @@ echo "*** read version ***" vers=`/usr/bin/cat VERSION` echo "VERSION => $vers" rootpath=`pwd` -echo "*** Create Debian Misc Package ***" ngpath=`whereis ng |awk -F ': ' '{print $2}'` +echo "*** Build prod app ***" +build_prod "$ngpath" +echo "*** Create Debian Misc Package ***" create_deb "$vers" "$rootpath" "$ngpath" diff --git a/prod/app-configurateur/3rdpartylicenses.txt b/prod/app-configurateur/3rdpartylicenses.txt new file mode 100644 index 0000000..205edbc --- /dev/null +++ b/prod/app-configurateur/3rdpartylicenses.txt @@ -0,0 +1,721 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2022 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/flex-layout +MIT + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2022 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@fortawesome/angular-fontawesome +MIT +MIT License + +Copyright (c) 2018 Fonticons, Inc. and contributors + +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. + + +@fortawesome/fontawesome-svg-core +MIT +Fonticons, Inc. (https://fontawesome.com) + +-------------------------------------------------------------------------------- + +Font Awesome Free License + +Font Awesome Free is free, open source, and GPL friendly. You can use it for +commercial projects, open source projects, or really almost whatever you want. +Full Font Awesome Free license: https://fontawesome.com/license/free. + +-------------------------------------------------------------------------------- + +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) + +The Font Awesome Free download is licensed under a Creative Commons +Attribution 4.0 International License and applies to all icons packaged +as SVG and JS file types. + +-------------------------------------------------------------------------------- + +# Fonts: SIL OFL 1.1 License + +In the Font Awesome Free download, the SIL OFL license applies to all icons +packaged as web and desktop font files. + +Copyright (c) 2022 Fonticons, Inc. (https://fontawesome.com) +with Reserved Font Name: "Font Awesome". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +SIL OPEN FONT LICENSE +Version 1.1 - 26 February 2007 + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting — in part or in whole — any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +-------------------------------------------------------------------------------- + +# Code: MIT License (https://opensource.org/licenses/MIT) + +In the Font Awesome Free download, the MIT license applies to all non-font and +non-icon files. + +Copyright 2022 Fonticons, Inc. + +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. + +-------------------------------------------------------------------------------- + +# Attribution + +Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font +Awesome Free files already contain embedded comments with sufficient +attribution, so you shouldn't need to do anything additional when using these +files normally. + +We've kept attribution comments terse, so we ask that you do not actively work +to remove them from files, especially code. They're a great way for folks to +learn about Font Awesome. + +-------------------------------------------------------------------------------- + +# Brand Icons + +All brand icons are trademarks of their respective owners. The use of these +trademarks does not indicate endorsement of the trademark holder by Font +Awesome, nor vice versa. **Please do not use brand logos for any purpose except +to represent the company, product, or service to which they refer.** + + +angular-code-input +MIT +Copyright (c) 2019 Alexander Dmitrenko + +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. + +base64-js +MIT +The MIT License (MIT) + +Copyright (c) 2014 Jameson Little + +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. + + +buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh, and other contributors. + +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. + + +ieee754 +BSD-3-Clause +Copyright 2008 Fair Oaks Labs, Inc. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +inherits +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +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. + + + +ngx-cookie-service +MIT + +ngx-toastr +MIT +The MIT License (MIT) + +Copyright (c) Scott Cooper + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +safe-buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +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. + + +sha.js +(MIT AND BSD-3-Clause) +Copyright (c) 2013-2018 sha.js contributors + +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. + + +Copyright (c) 1998 - 2009, Paul Johnston & Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the author nor the names of its contributors may be used to +endorse or promote products derived from this software without specific prior +written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +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/prod/app-configurateur/assets/img/GNSS_GSM_GPS_rpi.png b/prod/app-configurateur/assets/img/GNSS_GSM_GPS_rpi.png new file mode 100644 index 0000000..8f1ba9d Binary files /dev/null and b/prod/app-configurateur/assets/img/GNSS_GSM_GPS_rpi.png differ diff --git a/prod/app-configurateur/assets/img/linux.png b/prod/app-configurateur/assets/img/linux.png new file mode 100644 index 0000000..45100b6 Binary files /dev/null and b/prod/app-configurateur/assets/img/linux.png differ diff --git a/prod/app-configurateur/favicon.ico b/prod/app-configurateur/favicon.ico new file mode 100644 index 0000000..997406a Binary files /dev/null and b/prod/app-configurateur/favicon.ico differ diff --git a/prod/app-configurateur/fontawesome-webfont.2b13baa7dd4f54c9.eot b/prod/app-configurateur/fontawesome-webfont.2b13baa7dd4f54c9.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/prod/app-configurateur/fontawesome-webfont.2b13baa7dd4f54c9.eot differ diff --git a/prod/app-configurateur/fontawesome-webfont.8a7cb27d142e3e19.ttf b/prod/app-configurateur/fontawesome-webfont.8a7cb27d142e3e19.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/prod/app-configurateur/fontawesome-webfont.8a7cb27d142e3e19.ttf differ diff --git a/prod/app-configurateur/fontawesome-webfont.cf011583fb81df9f.woff b/prod/app-configurateur/fontawesome-webfont.cf011583fb81df9f.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/prod/app-configurateur/fontawesome-webfont.cf011583fb81df9f.woff differ diff --git a/prod/app-configurateur/fontawesome-webfont.da909aa098b0ee2d.svg b/prod/app-configurateur/fontawesome-webfont.da909aa098b0ee2d.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/prod/app-configurateur/fontawesome-webfont.da909aa098b0ee2d.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prod/app-configurateur/fontawesome-webfont.e9955780856cf8aa.woff2 b/prod/app-configurateur/fontawesome-webfont.e9955780856cf8aa.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/prod/app-configurateur/fontawesome-webfont.e9955780856cf8aa.woff2 differ diff --git a/prod/app-configurateur/index.html b/prod/app-configurateur/index.html new file mode 100644 index 0000000..65f1efd --- /dev/null +++ b/prod/app-configurateur/index.html @@ -0,0 +1,15 @@ + + + KineFrontend + + + + + + + + + + + + \ No newline at end of file diff --git a/prod/app-configurateur/main.77018cbb63da6237.js b/prod/app-configurateur/main.77018cbb63da6237.js new file mode 100644 index 0000000..106b439 --- /dev/null +++ b/prod/app-configurateur/main.77018cbb63da6237.js @@ -0,0 +1 @@ +(self.webpackChunkKine_frontend=self.webpackChunkKine_frontend||[]).push([[179],{793:(yt,_t,ee)=>{"use strict";function N(t){return"function"==typeof t}function ve(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 ke=ve(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 he(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class W{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(N(i))try{i()}catch(s){n=s instanceof ke?s.errors:[s]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const s of r)try{Ve(s)}catch(o){n=null!=n?n:[],o instanceof ke?n=[...n,...o.errors]:n.push(o)}}if(n)throw new ke(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Ve(n);else{if(n instanceof W){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)&&he(e,n)}remove(n){const{_finalizers:e}=this;e&&he(e,n),n instanceof W&&n._removeParent(this)}}W.EMPTY=(()=>{const t=new W;return t.closed=!0,t})();const G=W.EMPTY;function M(t){return t instanceof W||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function Ve(t){N(t)?t():t.unsubscribe()}const et={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ye={setTimeout(t,n,...e){const{delegate:i}=ye;return(null==i?void 0:i.setTimeout)?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=ye;return((null==n?void 0:n.clearTimeout)||clearTimeout)(t)},delegate:void 0};function ie(t){ye.setTimeout(()=>{const{onUnhandledError:n}=et;if(!n)throw t;n(t)})}function Oe(){}const P=K("C",void 0,void 0);function K(t,n,e){return{kind:t,value:n,error:e}}let U=null;function fe(t){if(et.useDeprecatedSynchronousErrorHandling){const n=!U;if(n&&(U={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=U;if(U=null,e)throw i}}else t()}class pt extends W{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,M(n)&&n.add(this)):this.destination=Ir}static create(n,e,i){return new Sn(n,e,i)}next(n){this.isStopped?ji(function ne(t){return K("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?ji(function ae(t){return K("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?ji(P,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 ct=Function.prototype.bind;function En(t,n){return ct.call(t,n)}class Zt{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){li(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){li(i)}else li(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){li(e)}}}class Sn extends pt{constructor(n,e,i){let r;if(super(),N(n)||!n)r={next:null!=n?n:void 0,error:null!=e?e:void 0,complete:null!=i?i:void 0};else{let s;this&&et.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&En(n.next,s),error:n.error&&En(n.error,s),complete:n.complete&&En(n.complete,s)}):r=n}this.destination=new Zt(r)}}function li(t){et.useDeprecatedSynchronousErrorHandling?function Qe(t){et.useDeprecatedSynchronousErrorHandling&&U&&(U.errorThrown=!0,U.error=t)}(t):ie(t)}function ji(t,n){const{onStoppedNotification:e}=et;e&&ye.setTimeout(()=>e(t,n))}const Ir={closed:!0,next:Oe,error:function Jn(t){throw t},complete:Oe},zi="function"==typeof Symbol&&Symbol.observable||"@@observable";function nn(t){return t}let Ye=(()=>{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 Or(t){return t&&t instanceof pt||function Fr(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}(t)&&M(t)}(e)?e:new Sn(e,i,r);return fe(()=>{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=Nt(i))((r,s)=>{const o=new Sn({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)}[zi](){return this}pipe(...e){return function cr(t){return 0===t.length?nn:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=Nt(e))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return t.create=n=>new t(n),t})();function Nt(t){var n;return null!==(n=null!=t?t:et.Promise)&&void 0!==n?n:Promise}const $t=ve(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let q=(()=>{class t extends Ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Us(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new $t}next(e){fe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){fe(()=>{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(){fe(()=>{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?G:(this.currentObservers=null,s.push(e),new W(()=>{this.currentObservers=null,he(s,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:s}=this;i?e.error(r):s&&e.complete()}asObservable(){const e=new Ye;return e.source=this,e}}return t.create=(n,e)=>new Us(n,e),t})();class Us extends q{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:G}}function hs(t){return N(null==t?void 0:t.lift)}function Mt(t){return n=>{if(hs(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 bt(t,n,e,i,r){return new il(t,n,e,i,r)}class il extends pt{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 Le(t,n){return Mt((e,i)=>{let r=0;e.subscribe(bt(i,s=>{i.next(t.call(n,s,r++))}))})}function _(t,n,e,i){return new(e||(e=Promise))(function(s,o){function a(d){try{c(i.next(d))}catch(u){o(u)}}function l(d){try{c(i.throw(d))}catch(u){o(u)}}function c(d){d.done?s(d.value):function r(s){return s instanceof e?s:new e(function(o){o(s)})}(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function rt(t){return this instanceof rt?(this.v=t,this):new rt(t)}function bn(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(m){i[m]&&(r[m]=function(g){return new Promise(function(v,C){s.push([m,g,v,C])>1||a(m,g)})})}function a(m,g){try{!function l(m){m.value instanceof rt?Promise.resolve(m.value.v).then(c,d):u(s[0][2],m)}(i[m](g))}catch(v){u(s[0][3],v)}}function c(m){a("next",m)}function d(m){a("throw",m)}function u(m,g){m(g),s.shift(),s.length&&a(s[0][0],s[0][1])}}function Ho(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 E(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 cf=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function py(t){return N(null==t?void 0:t.then)}function my(t){return N(t[zi])}function gy(t){return Symbol.asyncIterator&&N(null==t?void 0:t[Symbol.asyncIterator])}function _y(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 vy=function Xk(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function yy(t){return N(null==t?void 0:t[vy])}function by(t){return bn(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield rt(e.read());if(r)return yield rt(void 0);yield yield rt(i)}}finally{e.releaseLock()}})}function xy(t){return N(null==t?void 0:t.getReader)}function ei(t){if(t instanceof Ye)return t;if(null!=t){if(my(t))return function Jk(t){return new Ye(n=>{const e=t[zi]();if(N(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(cf(t))return function eI(t){return new Ye(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,ie)})}(t);if(gy(t))return Cy(t);if(yy(t))return function nI(t){return new Ye(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(xy(t))return function iI(t){return Cy(by(t))}(t)}throw _y(t)}function Cy(t){return new Ye(n=>{(function rI(t,n){var e,i,r,s;return _(this,void 0,void 0,function*(){try{for(e=Ho(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 Pr(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 fn(t,n,e=1/0){return N(n)?fn((i,r)=>Le((s,o)=>n(i,s,r,o))(ei(t(i,r))),e):("number"==typeof n&&(e=n),Mt((i,r)=>function sI(t,n,e,i,r,s,o,a){const l=[];let c=0,d=0,u=!1;const m=()=>{u&&!l.length&&!c&&n.complete()},g=C=>c{s&&n.next(C),c++;let S=!1;ei(e(C,d++)).subscribe(bt(n,k=>{null==r||r(k),s?g(k):n.next(k)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;l.length&&cv(k)):v(k)}m()}catch(k){n.error(k)}}))};return t.subscribe(bt(n,g,()=>{u=!0,m()})),()=>{null==a||a()}}(i,r,t,e)))}function sl(t=1/0){return fn(nn,t)}const Ui=new Ye(t=>t.complete());function wy(t){return t&&N(t.schedule)}function df(t){return t[t.length-1]}function Dy(t){return N(df(t))?t.pop():void 0}function ol(t){return wy(df(t))?t.pop():void 0}function My(t,n=0){return Mt((e,i)=>{e.subscribe(bt(i,r=>Pr(i,t,()=>i.next(r),n),()=>Pr(i,t,()=>i.complete(),n),r=>Pr(i,t,()=>i.error(r),n)))})}function Ey(t,n=0){return Mt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Sy(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ye(e=>{Pr(e,n,()=>{const i=t[Symbol.asyncIterator]();Pr(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function xn(t,n){return n?function fI(t,n){if(null!=t){if(my(t))return function lI(t,n){return ei(t).pipe(Ey(n),My(n))}(t,n);if(cf(t))return function dI(t,n){return new Ye(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(py(t))return function cI(t,n){return ei(t).pipe(Ey(n),My(n))}(t,n);if(gy(t))return Sy(t,n);if(yy(t))return function uI(t,n){return new Ye(e=>{let i;return Pr(e,n,()=>{i=t[vy](),Pr(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)}),()=>N(null==i?void 0:i.return)&&i.return()})}(t,n);if(xy(t))return function hI(t,n){return Sy(by(t),n)}(t,n)}throw _y(t)}(t,n):ei(t)}function Lr(...t){const n=ol(t),e=function aI(t,n){return"number"==typeof df(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?ei(i[0]):sl(e)(xn(i,n)):Ui}function Ay(t={}){const{connector:n=(()=>new q),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return s=>{let o,a,l,c=0,d=!1,u=!1;const m=()=>{null==a||a.unsubscribe(),a=void 0},g=()=>{m(),o=l=void 0,d=u=!1},v=()=>{const C=o;g(),null==C||C.unsubscribe()};return Mt((C,S)=>{c++,!u&&!d&&m();const k=l=null!=l?l:n();S.add(()=>{c--,0===c&&!u&&!d&&(a=uf(v,r))}),k.subscribe(S),!o&&c>0&&(o=new Sn({next:D=>k.next(D),error:D=>{u=!0,m(),a=uf(g,e,D),k.error(D)},complete:()=>{d=!0,m(),a=uf(g,i),k.complete()}}),ei(C).subscribe(o))})(s)}}function uf(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Sn({next:()=>{i.unsubscribe(),t()}});return n(...e).subscribe(i)}function xt(t){for(let n in t)if(t[n]===xt)return n;throw Error("Could not find renamed property on target object.")}function hf(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function mt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(mt).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 ff(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const pI=xt({__forward_ref__:xt});function Xe(t){return t.__forward_ref__=Xe,t.toString=function(){return mt(this())},t}function $e(t){return Ty(t)?t():t}function Ty(t){return"function"==typeof t&&t.hasOwnProperty(pI)&&t.__forward_ref__===Xe}class le extends Error{constructor(n,e){super(function pf(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function je(t){return"string"==typeof t?t:null==t?"":String(t)}function Hn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():je(t)}function Zc(t,n){const e=n?` in ${n}`:"";throw new le(-201,`No provider for ${Hn(t)} found${e}`)}function ui(t,n){null==t&&function At(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function L(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function de(t){return{providers:t.providers||[],imports:t.imports||[]}}function mf(t){return ky(t,Xc)||ky(t,Ry)}function ky(t,n){return t.hasOwnProperty(n)?t[n]:null}function Iy(t){return t&&(t.hasOwnProperty(gf)||t.hasOwnProperty(xI))?t[gf]:null}const Xc=xt({\u0275prov:xt}),gf=xt({\u0275inj:xt}),Ry=xt({ngInjectableDef:xt}),xI=xt({ngInjectorDef:xt});var Ne=(()=>((Ne=Ne||{})[Ne.Default=0]="Default",Ne[Ne.Host=1]="Host",Ne[Ne.Self=2]="Self",Ne[Ne.SkipSelf=4]="SkipSelf",Ne[Ne.Optional=8]="Optional",Ne))();let _f;function fs(t){const n=_f;return _f=t,n}function Fy(t,n,e){const i=mf(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Ne.Optional?null:void 0!==n?n:void Zc(mt(t),"Injector")}function ps(t){return{toString:t}.toString()}var Gi=(()=>((Gi=Gi||{})[Gi.OnPush=0]="OnPush",Gi[Gi.Default=1]="Default",Gi))(),$i=(()=>{return(t=$i||($i={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",$i;var t})();const wI="undefined"!=typeof globalThis&&globalThis,DI="undefined"!=typeof window&&window,MI="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,vt=wI||"undefined"!=typeof global&&global||DI||MI,jo={},Ct=[],Jc=xt({\u0275cmp:xt}),vf=xt({\u0275dir:xt}),yf=xt({\u0275pipe:xt}),Oy=xt({\u0275mod:xt}),Br=xt({\u0275fac:xt}),al=xt({__NG_ELEMENT_ID__:xt});let EI=0;function me(t){return ps(()=>{const e={},i={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:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Gi.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ct,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||$i.Emulated,id:"c",styles:t.styles||Ct,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,o=t.pipes;return i.id+=EI++,i.inputs=By(t.inputs,e),i.outputs=By(t.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(Py):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ly):null,i})}function Py(t){return In(t)||function ms(t){return t[vf]||null}(t)}function Ly(t){return function $s(t){return t[yf]||null}(t)}const Ny={};function ue(t){return ps(()=>{const n={type:t.type,bootstrap:t.bootstrap||Ct,declarations:t.declarations||Ct,imports:t.imports||Ct,exports:t.exports||Ct,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Ny[t.id]=t.type),n})}function By(t,n){if(null==t)return jo;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 I=me;function In(t){return t[Jc]||null}function Mi(t,n){const e=t[Oy]||null;if(!e&&!0===n)throw new Error(`Type ${mt(t)} does not have '\u0275mod' property.`);return e}function ur(t){return Array.isArray(t)&&"object"==typeof t[1]}function qi(t){return Array.isArray(t)&&!0===t[1]}function Cf(t){return 0!=(8&t.flags)}function id(t){return 2==(2&t.flags)}function rd(t){return 1==(1&t.flags)}function Yi(t){return null!==t.template}function RI(t){return 0!=(512&t[2])}function Qs(t,n){return t.hasOwnProperty(Br)?t[Br]:null}class PI{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Wt(){return Hy}function Hy(t){return t.type.prototype.ngOnChanges&&(t.setInput=NI),LI}function LI(){const t=zy(this),n=null==t?void 0:t.current;if(n){const e=t.previous;if(e===jo)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function NI(t,n,e,i){const r=zy(t)||function BI(t,n){return t[jy]=n}(t,{previous:jo,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[e],l=o[a];s[a]=new PI(l&&l.currentValue,n,o===jo),t[i]=n}Wt.ngInherit=!0;const jy="__ngSimpleChanges__";function zy(t){return t[jy]||null}let Sf;function Af(){return void 0!==Sf?Sf:"undefined"!=typeof document?document:void 0}function qt(t){return!!t.listen}const Uy={createRenderer:(t,n)=>Af()};function rn(t){for(;Array.isArray(t);)t=t[0];return t}function sd(t,n){return rn(n[t])}function Ai(t,n){return rn(n[t.index])}function Tf(t,n){return t.data[n]}function fi(t,n){const e=n[t];return ur(e)?e:e[0]}function Gy(t){return 4==(4&t[2])}function kf(t){return 128==(128&t[2])}function gs(t,n){return null==n?null:t[n]}function $y(t){t[18]=0}function If(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 Be={lFrame:Jy(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Wy(){return Be.bindingsEnabled}function B(){return Be.lFrame.lView}function st(){return Be.lFrame.tView}function Pt(t){return Be.lFrame.contextLView=t,t[8]}function pn(){let t=qy();for(;null!==t&&64===t.type;)t=t.parent;return t}function qy(){return Be.lFrame.currentTNode}function hr(t,n){const e=Be.lFrame;e.currentTNode=t,e.isParent=n}function Rf(){return Be.lFrame.isParent}function Ff(){Be.lFrame.isParent=!1}function od(){return Be.isInCheckNoChangesMode}function ad(t){Be.isInCheckNoChangesMode=t}function jn(){const t=Be.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function qo(){return Be.lFrame.bindingIndex++}function Hr(t){const n=Be.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function tR(t,n){const e=Be.lFrame;e.bindingIndex=e.bindingRootIndex=t,Of(n)}function Of(t){Be.lFrame.currentDirectiveIndex=t}function Pf(t){const n=Be.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Ky(){return Be.lFrame.currentQueryIndex}function Lf(t){Be.lFrame.currentQueryIndex=t}function iR(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function Zy(t,n,e){if(e&Ne.SkipSelf){let r=n,s=t;for(;!(r=r.parent,null!==r||e&Ne.Host||(r=iR(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;n=r,t=s}const i=Be.lFrame=Xy();return i.currentTNode=n,i.lView=t,!0}function ld(t){const n=Xy(),e=t[1];Be.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Xy(){const t=Be.lFrame,n=null===t?null:t.child;return null===n?Jy(t):n}function Jy(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 eb(){const t=Be.lFrame;return Be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const tb=eb;function cd(){const t=eb();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 zn(){return Be.lFrame.selectedIndex}function _s(t){Be.lFrame.selectedIndex=t}function Yt(){const t=Be.lFrame;return Tf(t.tView,t.selectedIndex)}function hl(){Be.lFrame.currentNamespace="svg"}function dd(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 fl{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function fd(t,n,e){const i=qt(t);let r=0;for(;rn){o=s-1;break}}}for(;s>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let Hf=!0;function md(t){const n=Hf;return Hf=t,n}let gR=0;function ml(t,n){const e=zf(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,jf(i.data,t),jf(n,null),jf(i.blueprint,null));const r=gd(t,n),s=t.injectorIndex;if(ob(r)){const o=Yo(r),a=Qo(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 jf(t,n){t.push(0,0,0,0,0,0,0,0,n)}function zf(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function gd(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){const s=r[1],o=s.type;if(i=2===o?s.declTNode:1===o?r[6]:null,null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function _d(t,n,e){!function _R(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(al)&&(i=e[al]),null==i&&(i=e[al]=gR++);const r=255&i;n.data[t+(r>>5)]|=1<=0?255&n:yR:n}(e);if("function"==typeof s){if(!Zy(n,t,i))return i&Ne.Host?cb(r,e,i):db(n,e,i,r);try{const o=s(i);if(null!=o||i&Ne.Optional)return o;Zc(e)}finally{tb()}}else if("number"==typeof s){let o=null,a=zf(t,n),l=-1,c=i&Ne.Host?n[16][6]:null;for((-1===a||i&Ne.SkipSelf)&&(l=-1===a?gd(t,n):n[a+8],-1!==l&&pb(i,!1)?(o=n[1],a=Yo(l),n=Qo(l,n)):a=-1);-1!==a;){const d=n[1];if(fb(s,a,d.data)){const u=bR(a,n,e,o,i,c);if(u!==hb)return u}l=n[a+8],-1!==l&&pb(i,n[1].data[a+8]===c)&&fb(s,a,n)?(o=d,a=Yo(l),n=Qo(l,n)):a=-1}}}return db(n,e,i,r)}const hb={};function yR(){return new Ko(pn(),B())}function bR(t,n,e,i,r,s){const o=n[1],a=o.data[t+8],d=vd(a,o,e,null==i?id(a)&&Hf:i!=o&&0!=(3&a.type),r&Ne.Host&&s===a);return null!==d?gl(n,o,d,a):hb}function vd(t,n,e,i,r){const s=t.providerIndexes,o=n.data,a=1048575&s,l=t.directiveStart,d=s>>20,m=r?a+d:t.directiveEnd;for(let g=i?a:a+d;g=l&&v.type===e)return g}if(r){const g=o[l];if(g&&Yi(g)&&g.type===e)return l}return null}function gl(t,n,e,i){let r=t[e];const s=n.data;if(function uR(t){return t instanceof fl}(r)){const o=r;o.resolving&&function mI(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new le(-200,`Circular dependency in DI detected for ${t}${e}`)}(Hn(s[e]));const a=md(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?fs(o.injectImpl):null;Zy(t,i,Ne.Default);try{r=t[e]=o.factory(void 0,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&function cR(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=n.type.prototype;if(i){const o=Hy(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&&fs(l),md(a),o.resolving=!1,tb()}}return r}function fb(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[Br]||Uf(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const s=r[Br]||Uf(r);if(s&&s!==e)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Uf(t){return Ty(t)?()=>{const n=Uf($e(t));return n&&n()}:Qs(t)}function pi(t){return function vR(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{const i=function Gf(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,d){const u=l.hasOwnProperty(Xo)?l[Xo]:Object.defineProperty(l,Xo,{value:[]})[Xo];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class j{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=L({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const wR=new j("AnalyzeForEntryComponents");function Ti(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?fr(e,n):n(e))}function gb(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function yd(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function yl(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function ER(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 Wf(t,n){const e=ta(t,n);if(e>=0)return t[1|e]}function ta(t,n){return function yb(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<({token:t})),-1),ii=Cl(ea("Optional"),8),jr=Cl(ea("SkipSelf"),4);let Dd,Md;function ia(t){var n;return(null===(n=function Zf(){if(void 0===Dd&&(Dd=null,vt.trustedTypes))try{Dd=vt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Dd}())||void 0===n?void 0:n.createHTML(t))||t}function Ab(t){var n;return(null===(n=function Xf(){if(void 0===Md&&(Md=null,vt.trustedTypes))try{Md=vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Md}())||void 0===n?void 0:n.createHTML(t))||t}class Zs{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class KR extends Zs{getTypeName(){return"HTML"}}class ZR extends Zs{getTypeName(){return"Style"}}class XR extends Zs{getTypeName(){return"Script"}}class JR extends Zs{getTypeName(){return"URL"}}class eF extends Zs{getTypeName(){return"ResourceURL"}}function gi(t){return t instanceof Zs?t.changingThisBreaksApplicationSecurity:t}function pr(t,n){const e=Ib(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}function Ib(t){return t instanceof Zs&&t.getTypeName()||null}class oF{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(ia(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class aF{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=ia(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=ia(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let r=e.length-1;0Dl(n.trim())).join(", ")),this.buf.push(" ",o,'="',Bb(l),'"')}var t;return this.buf.push(">"),!0}endElement(n){const e=n.nodeName.toLowerCase();Jf.hasOwnProperty(e)&&!Ob.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(Bb(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 fF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pF=/([^\#-~ |!])/g;function Bb(t){return t.replace(/&/g,"&").replace(fF,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(pF,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Ed;function Vb(t,n){let e=null;try{Ed=Ed||function Rb(t){const n=new aF(t);return function lF(){try{return!!(new window.DOMParser).parseFromString(ia(""),"text/html")}catch(t){return!1}}()?new oF(n):n}(t);let i=n?String(n):"";e=Ed.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=Ed.getInertBodyElement(i)}while(i!==s);return ia((new hF).sanitizeChildren(np(e)||e))}finally{if(e){const i=np(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function np(t){return"content"in t&&function mF(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var dt=(()=>((dt=dt||{})[dt.NONE=0]="NONE",dt[dt.HTML=1]="HTML",dt[dt.STYLE=2]="STYLE",dt[dt.SCRIPT=3]="SCRIPT",dt[dt.URL=4]="URL",dt[dt.RESOURCE_URL=5]="RESOURCE_URL",dt))();function ip(t){const n=function El(){const t=B();return t&&t[12]}();return n?Ab(n.sanitize(dt.HTML,t)||""):pr(t,"HTML")?Ab(gi(t)):Vb(Af(),je(t))}const zb="__ngContext__";function Fn(t,n){t[zb]=n}function op(t){const n=function Sl(t){return t[zb]||null}(t);return n?Array.isArray(n)?n:n.lView:null}function lp(t){return t.ngOriginalError}function IF(t,...n){t.error(...n)}class ys{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n),i=function kF(t){return t&&t.ngErrorLogger||IF}(n);i(this._console,"ERROR",n),e&&i(this._console,"ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&lp(n);for(;e&&lp(e);)e=lp(e);return e||null}}const jF=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(vt))();function gr(t){return t instanceof Function?t():t}var _i=(()=>((_i=_i||{})[_i.Important=1]="Important",_i[_i.DashCase=2]="DashCase",_i))();function dp(t,n){return undefined(t,n)}function Al(t){const n=t[3];return qi(n)?n[3]:n}function up(t){return Zb(t[13])}function hp(t){return Zb(t[4])}function Zb(t){for(;null!==t&&!qi(t);)t=t[4];return t}function sa(t,n,e,i,r){if(null!=i){let s,o=!1;qi(i)?s=i:ur(i)&&(o=!0,i=i[0]);const a=rn(i);0===t&&null!==e?null==r?r0(n,e,a):Xs(n,e,a,r||null,!0):1===t&&null!==e?Xs(n,e,a,r||null,!0):2===t?function u0(t,n,e){const i=Sd(t,n);i&&function tO(t,n,e,i){qt(t)?t.removeChild(n,e,i):n.removeChild(e)}(t,i,n,e)}(n,a,o):3===t&&n.destroyNode(a),null!=s&&function rO(t,n,e,i,r){const s=e[7];s!==rn(e)&&sa(n,t,i,s,r);for(let a=10;a0&&(t[e-1][4]=i[4]);const s=yd(t,10+n);!function qF(t,n){Tl(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]&=-129}return i}function e0(t,n){if(!(256&n[2])){const e=n[11];qt(e)&&e.destroyNode&&Tl(t,n,e,3,null,null),function KF(t){let n=t[13];if(!n)return gp(t[1],t);for(;n;){let e=null;if(ur(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)ur(n)&&gp(n[1],n),n=n[3];null===n&&(n=t),ur(n)&&gp(n[1],n),e=n&&n[4]}n=e}}(n)}}function gp(t,n){if(!(256&n[2])){n[2]&=-129,n[2]|=256,function eO(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),s+=2}else{const o=i[r=e[s+1]];e[s].call(o)}if(null!==i){for(let s=r+1;ss?"":r[u+1].toLowerCase();const g=8&i?m:null;if(g&&-1!==p0(g,c,0)||2&i&&c!==m){if(Qi(i))return!1;o=!0}}}}else{if(!o&&!Qi(i)&&!Qi(l))return!1;if(o&&Qi(l))continue;o=!1,i=l|1&i}}return Qi(i)||o}function Qi(t){return 0==(1&t)}function cO(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&&!Qi(o)&&(n+=v0(s,r),r=""),i=o,s=s||!Qi(i);e++}return""!==r&&(n+=v0(s,r)),n}const ze={};function T(t){y0(st(),B(),zn()+t,od())}function y0(t,n,e,i){if(!i)if(3==(3&n[2])){const s=t.preOrderCheckHooks;null!==s&&ud(n,s,e)}else{const s=t.preOrderHooks;null!==s&&hd(n,s,0,e)}_s(e)}function kd(t,n){return t<<17|n<<2}function Ki(t){return t>>17&32767}function xp(t){return 2|t}function zr(t){return(131068&t)>>2}function Cp(t,n){return-131069&t|n<<2}function wp(t){return 1|t}function k0(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i20&&y0(t,n,20,od()),e(i,r)}finally{_s(s)}}function R0(t,n,e){if(Cf(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})(a)!=l&&a.push(l),a.push(i,r,o)}}function H0(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function j0(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function UO(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&Np(e)}}function Np(t){for(let i=up(t);null!==i;i=hp(i))for(let r=10;r0&&Np(s)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Np(r)}}function KO(t,n){const e=fi(n,t),i=e[1];(function ZO(t,n){for(let e=n.length;ePromise.resolve(null))();function W0(t){return t[7]||(t[7]=[])}function q0(t){return t.cleanup||(t.cleanup=[])}function Y0(t,n,e){return(null===t||Yi(t))&&(e=function $I(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(e[n.index])),e[11]}function Q0(t,n){const e=t[9],i=e?e.get(ys,null):null;i&&i.handleError(n)}function K0(t,n,e,i,r){for(let s=0;sthis.processProvider(a,n,e)),fr([n],a=>this.processInjectorType(a,[],s)),this.records.set(zp,ca(void 0,this));const o=this.records.get(Up);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof n?null:mt(n))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(n=>n.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(n,e=bl,i=Ne.Default){this.assertNotDestroyed();const r=Cb(this),s=fs(void 0);try{if(!(i&Ne.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function fP(t){return"function"==typeof t||"object"==typeof t&&t instanceof j}(n)&&mf(n);a=l&&this.injectableDefInScope(l)?ca($p(n),Rl):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&Ne.Self?X0():this.parent).get(n,e=i&Ne.Optional&&e===bl?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[xd]=o[xd]||[]).unshift(mt(n)),r)throw o;return function BR(t,n,e,i){const r=t[xd];throw n[xb]&&r.unshift(n[xb]),t.message=function VR(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=mt(n);if(Array.isArray(n))r=n.map(mt).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):mt(a)))}r=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(FR,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[xd]=null,t}(o,n,"R3InjectorError",this.source)}throw o}finally{fs(s),Cb(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(n=>this.get(n))}toString(){const n=[];return this.records.forEach((i,r)=>n.push(mt(r))),`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processInjectorType(n,e,i){if(!(n=$e(n)))return!1;let r=Iy(n);const s=null==r&&n.ngModule||void 0,o=void 0===s?n:s,a=-1!==i.indexOf(o);if(void 0!==s&&(r=Iy(s)),null==r)return!1;if(null!=r.imports&&!a){let d;i.push(o);try{fr(r.imports,u=>{this.processInjectorType(u,e,i)&&(void 0===d&&(d=[]),d.push(u))})}finally{}if(void 0!==d)for(let u=0;uthis.processProvider(v,m,g||Ct))}}this.injectorDefTypes.add(o);const l=Qs(o)||(()=>new o);this.records.set(o,ca(l,Rl));const c=r.providers;if(null!=c&&!a){const d=n;fr(c,u=>this.processProvider(u,d,c))}return void 0!==s&&void 0!==n.providers}processProvider(n,e,i){let r=da(n=$e(n))?n:$e(n&&n.provide);const s=function aP(t,n,e){return nx(t)?ca(void 0,t.useValue):ca(tx(t),Rl)}(n);if(da(n)||!0!==n.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=ca(void 0,Rl,!0),o.factory=()=>Qf(o.multi),this.records.set(r,o)),r=n,o.multi.push(n)}this.records.set(r,s)}hydrate(n,e){return e.value===Rl&&(e.value=rP,e.value=e.factory()),"object"==typeof e.value&&e.value&&function hP(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=$e(n.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function $p(t){const n=mf(t),e=null!==n?n.factory:Qs(t);if(null!==e)return e;if(t instanceof j)throw new le(204,!1);if(t instanceof Function)return function oP(t){const n=t.length;if(n>0)throw yl(n,"?"),new le(204,!1);const e=function yI(t){const n=t&&(t[Xc]||t[Ry]);if(n){const e=function bI(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 le(204,!1)}function tx(t,n,e){let i;if(da(t)){const r=$e(t);return Qs(r)||$p(r)}if(nx(t))i=()=>$e(t.useValue);else if(function cP(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Qf(t.deps||[]));else if(function lP(t){return!(!t||!t.useExisting)}(t))i=()=>w($e(t.useExisting));else{const r=$e(t&&(t.useClass||t.provide));if(!function uP(t){return!!t.deps}(t))return Qs(r)||$p(r);i=()=>new r(...Qf(t.deps))}return i}function ca(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function nx(t){return null!==t&&"object"==typeof t&&PR in t}function da(t){return"function"==typeof t}let Vt=(()=>{class t{static create(e,i){var r;if(Array.isArray(e))return J0({name:""},i,e,"");{const s=null!==(r=e.name)&&void 0!==r?r:"";return J0({name:s},e.parent,e.providers,s)}}}return t.THROW_IF_NOT_FOUND=bl,t.NULL=new Z0,t.\u0275prov=L({token:t,providedIn:"any",factory:()=>w(zp)}),t.__NG_ELEMENT_ID__=-1,t})();function xP(t,n){dd(op(t)[1],pn())}function F(t){let n=function px(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let r;if(Yi(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new le(903,"");r=n.\u0275dir}if(r){if(e){i.push(r);const o=t;o.inputs=Yp(t.inputs),o.declaredInputs=Yp(t.declaredInputs),o.outputs=Yp(t.outputs);const a=r.hostBindings;a&&MP(t,a);const l=r.viewQuery,c=r.contentQueries;if(l&&wP(t,l),c&&DP(t,c),hf(t.inputs,r.inputs),hf(t.declaredInputs,r.declaredInputs),hf(t.outputs,r.outputs),Yi(r)&&r.data.animation){const d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=pd(r.hostAttrs,e=pd(e,r.hostAttrs))}}(i)}function Yp(t){return t===jo?{}:t===Ct?[]:t}function wP(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function DP(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,s)=>{n(i,r,s),e(i,r,s)}:n}function MP(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}let Ld=null;function ua(){if(!Ld){const t=vt.Symbol;if(t&&t.iterator)Ld=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(rn(J[i.index])):i.index;if(qt(e)){let J=null;if(!a&&l&&(J=function tL(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!==J)(J.__ngLastListenerFn__||J).__ngNextListenerFn__=s,J.__ngLastListenerFn__=s,g=!1;else{s=nm(i,n,u,s,!1);const Ce=e.listen(k,r,s);m.push(s,Ce),d&&d.push(r,z,D,D+1)}}else s=nm(i,n,u,s,!0),k.addEventListener(r,s,o),m.push(s),d&&d.push(r,z,D,o)}else s=nm(i,n,u,s,!1);const v=i.outputs;let C;if(g&&null!==v&&(C=v[r])){const S=C.length;if(S)for(let k=0;k0;)n=n[15],t--;return n}(t,Be.lFrame.contextLView))[8]}(t)}function nL(t,n){let e=null;const i=function dO(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let r=0;r=0}const gn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qx(t){return t.substring(gn.key,gn.keyEnd)}function oL(t){return t.substring(gn.value,gn.valueEnd)}function Yx(t,n){const e=gn.textEnd;return e===n?-1:(n=gn.keyEnd=function cL(t,n,e){for(;n32;)n++;return n}(t,gn.key=n,e),Ca(t,n,e))}function Qx(t,n){const e=gn.textEnd;let i=gn.key=Ca(t,n,e);return e===i?-1:(i=gn.keyEnd=function dL(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=Zx(t,i,e),i=gn.value=Ca(t,i,e),i=gn.valueEnd=function uL(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),Zx(t,i,e))}function Kx(t){gn.key=0,gn.keyEnd=0,gn.value=0,gn.valueEnd=0,gn.textEnd=t.length}function Ca(t,n,e){for(;n=0;e=Qx(n,e))tC(t,qx(n),oL(n))}function Ji(t){tr(mi,xr,t,!0)}function xr(t,n){for(let e=function aL(t){return Kx(t),Yx(t,Ca(t,0,gn.textEnd))}(n);e>=0;e=Yx(n,e))mi(t,qx(n),!0)}function er(t,n,e,i){const r=B(),s=st(),o=Hr(2);s.firstUpdatePass&&eC(s,t,o,i),n!==ze&&On(r,o,n)&&nC(s,s.data[zn()],r,r[11],t,r[o+1]=function yL(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=mt(gi(t)))),t}(n,e),i,o)}function tr(t,n,e,i){const r=st(),s=Hr(2);r.firstUpdatePass&&eC(r,null,s,i);const o=B();if(e!==ze&&On(o,s,e)){const a=r.data[zn()];if(rC(a,i)&&!Jx(r,s)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=ff(l,e||"")),em(r,a,o,e,i)}else!function vL(t,n,e,i,r,s,o,a){r===ze&&(r=Ct);let l=0,c=0,d=0=t.expandoStartIndex}function eC(t,n,e,i){const r=t.data;if(null===r[e+1]){const s=r[zn()],o=Jx(t,e);rC(s,i)&&null===n&&!o&&(n=!1),n=function fL(t,n,e,i){const r=Pf(t);let s=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Nl(e=rm(null,t,n,e,i),n.attrs,i),s=null);else{const o=n.directiveStylingLast;if(-1===o||t[o]!==r)if(e=rm(r,t,n,e,i),null===s){let l=function pL(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==zr(i))return t[Ki(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=rm(null,t,n,l[1],i),l=Nl(l,n.attrs,i),function mL(t,n,e,i){t[Ki(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else s=function gL(t,n,e){let i;const r=n.directiveEnd;for(let s=1+n.directiveStylingLast;s0)&&(c=!0)}else d=e;if(r)if(0!==l){const m=Ki(t[a+1]);t[i+1]=kd(m,a),0!==m&&(t[m+1]=Cp(t[m+1],i)),t[a+1]=function _O(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=kd(a,0),0!==a&&(t[a+1]=Cp(t[a+1],i)),a=i;else t[i+1]=kd(l,0),0===a?a=i:t[l+1]=Cp(t[l+1],i),l=i;c&&(t[i+1]=xp(t[i+1])),Wx(t,d,i,!0),Wx(t,d,i,!1),function rL(t,n,e,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof n&&ta(s,n)>=0&&(e[i+1]=wp(e[i+1]))}(n,d,t,i,s),o=kd(a,l),s?n.classBindings=o:n.styleBindings=o}(r,s,n,e,o,i)}}function rm(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),d=c?l[1]:l,u=null===d;let m=e[r+1];m===ze&&(m=u?Ct:void 0);let g=u?Wf(m,i):d===i?m:void 0;if(c&&!Hd(g)&&(g=Wf(l,i)),Hd(g)&&(a=g,o))return a;const v=t[r+1];r=o?Ki(v):zr(v)}if(null!==n){let l=s?n.residualClasses:n.residualStyles;null!=l&&(a=Wf(l,i))}return a}function Hd(t){return void 0!==t}function rC(t,n){return 0!=(t.flags&(n?16:32))}function R(t,n=""){const e=B(),i=st(),r=t+20,s=i.firstCreatePass?oa(i,r,1,n,null):i.data[r],o=e[r]=function fp(t,n){return qt(t)?t.createText(n):t.createTextNode(n)}(e[11],n);Ad(i,e,o,s),hr(s,!1)}function sn(t){return wt("",t,""),sn}function wt(t,n,e){const i=B(),r=fa(i,t,n,e);return r!==ze&&Ur(i,zn(),r),wt}function eo(t,n,e,i,r){const s=B(),o=pa(s,t,n,e,i,r);return o!==ze&&Ur(s,zn(),o),eo}function Bl(t,n,e){!function br(t){tr(tC,hL,t,!1)}(fa(B(),t,n,e))}function to(t,n,e){const i=B();return On(i,qo(),n)&&vi(st(),Yt(),i,t,n,i[11],e,!0),to}function Vl(t,n,e){const i=B();if(On(i,qo(),n)){const s=st(),o=Yt();vi(s,o,i,t,n,Y0(Pf(s.data),o,i),e,!0)}return Vl}const jd="en-US";let wC=jd;function am(t,n,e,i,r){if(t=$e(t),Array.isArray(t))for(let s=0;s>20;if(da(t)||!t.multi){const g=new fl(l,r,p),v=cm(a,n,r?d:d+m,u);-1===v?(_d(ml(c,o),s,a),lm(s,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(g),o.push(g)):(e[v]=g,o[v]=g)}else{const g=cm(a,n,d+m,u),v=cm(a,n,d,d+m),C=g>=0&&e[g],S=v>=0&&e[v];if(r&&!S||!r&&!C){_d(ml(c,o),s,a);const k=function NN(t,n,e,i,r){const s=new fl(t,e,p);return s.multi=[],s.index=n,s.componentProviders=0,qC(s,r,i&&!e),s}(r?LN:PN,e.length,r,i,l);!r&&S&&(e[v].providerFactory=k),lm(s,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(k),o.push(k)}else lm(s,t,g>-1?g:v,qC(e[r?v:g],l,!r&&i));!r&&i&&S&&e[v].componentProviders++}}}function lm(t,n,e,i){const r=da(n),s=function dP(t){return!!t.useClass}(n);if(r||s){const l=(s?$e(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(e);-1===d?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function qC(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function cm(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function ON(t,n,e){const i=st();if(i.firstCreatePass){const r=Yi(t);am(e,i.data,i.blueprint,r,!0),am(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class YC{}class HN{resolveComponentFactory(n){throw function VN(t){const n=Error(`No component factory found for ${mt(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Gr=(()=>{class t{}return t.NULL=new HN,t})();function jN(){return Ma(pn(),B())}function Ma(t,n){return new Y(Ai(t,n))}let Y=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=jN,t})();function zN(t){return t instanceof Y?t.nativeElement:t}class Gl{}let nr=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function GN(){const t=B(),e=fi(pn().index,t);return function UN(t){return t[11]}(ur(e)?e:t)}(),t})(),$N=(()=>{class t{}return t.\u0275prov=L({token:t,providedIn:"root",factory:()=>null}),t})();class Cs{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const WN=new Cs("13.2.7"),um={};function Wd(t,n,e,i,r=!1){for(;null!==e;){const s=n[e.index];if(null!==s&&i.push(rn(s)),qi(s))for(let a=10;a-1&&(mp(n,i),yd(e,i))}this._attachedToViewContainer=!1}e0(this._lView[1],this._lView)}onDestroy(n){L0(this._lView[1],this._lView,null,n)}markForCheck(){Bp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hp(this._lView[1],this._lView,this.context)}checkNoChanges(){!function JO(t,n,e){ad(!0);try{Hp(t,n,e)}finally{ad(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new le(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function QF(t,n){Tl(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new le(902,"");this._appRef=n}}class qN extends $l{constructor(n){super(n),this._view=n}detectChanges(){$0(this._view)}checkNoChanges(){!function eP(t){ad(!0);try{$0(t)}finally{ad(!1)}}(this._view)}get context(){return null}}class KC extends Gr{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=In(n);return new hm(e,this.ngModule)}}function ZC(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class hm extends YC{constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function mO(t){return t.map(pO).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ZC(this.componentDef.inputs)}get outputs(){return ZC(this.componentDef.outputs)}create(n,e,i,r){const s=(r=r||this.ngModule)?function QN(t,n){return{get:(e,i,r)=>{const s=t.get(e,um,r);return s!==um||i===um?s:n.get(e,i,r)}}}(n,r.injector):n,o=s.get(Gl,Uy),a=s.get($N,null),l=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=i?function P0(t,n,e){if(qt(t))return t.selectRootElement(n,e===$i.ShadowDom);let i="string"==typeof n?t.querySelector(n):n;return i.textContent="",i}(l,i,this.componentDef.encapsulation):pp(o.createRenderer(null,this.componentDef),c,function YN(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(c)),u=this.componentDef.onPush?576:528,m=function fx(t,n){return{components:[],scheduler:t||jF,clean:tP,playerHandler:n||null,flags:0}}(),g=Fd(0,null,null,1,0,null,null,null,null,null),v=kl(null,g,m,u,null,null,o,l,a,s);let C,S;ld(v);try{const k=function ux(t,n,e,i,r,s){const o=e[1];e[20]=t;const l=oa(o,20,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(Pd(l,c,!0),null!==t&&(fd(r,t,c),null!==l.classes&&bp(r,t,l.classes),null!==l.styles&&f0(r,t,l.styles)));const d=i.createRenderer(t,n),u=kl(e,F0(n),null,n.onPush?64:16,e[20],l,i,d,s||null,null);return o.firstCreatePass&&(_d(ml(l,e),o,n.type),j0(o,l),z0(l,e.length,1)),Od(e,u),e[20]=u}(d,this.componentDef,v,o,l);if(d)if(i)fd(l,d,["ng-version",WN.full]);else{const{attrs:D,classes:z}=function gO(t){const n=[],e=[];let i=1,r=2;for(;i0&&bp(l,d,z.join(" "))}if(S=Tf(g,20),void 0!==e){const D=S.projection=[];for(let z=0;zl(o,n)),n.contentQueries){const l=pn();n.contentQueries(1,o,l.directiveStart)}const a=pn();return!s.firstCreatePass||null===n.hostBindings&&null===n.hostAttrs||(_s(a.index),V0(e[1],a,0,a.directiveStart,a.directiveEnd,n),H0(n,o)),o}(k,this.componentDef,v,m,[xP]),Il(g,v,null)}finally{cd()}return new ZN(this.componentType,C,Ma(S,v),v,S)}}class ZN extends class BN{}{constructor(n,e,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new qN(r),this.componentType=n}get injector(){return new Ko(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}class $r{}class XC{}const Ea=new Map;class tw extends $r{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new KC(this);const i=Mi(n);this._bootstrapComponents=gr(i.bootstrap),this._r3Injector=ex(n,e,[{provide:$r,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver}],mt(n)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(n)}get(n,e=Vt.THROW_IF_NOT_FOUND,i=Ne.Default){return n===Vt||n===$r||n===zp?this:this._r3Injector.get(n,e,i)}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class fm extends XC{constructor(n){super(),this.moduleType=n,null!==Mi(n)&&function JN(t){const n=new Set;!function e(i){const r=Mi(i,!0),s=r.id;null!==s&&(function JC(t,n,e){if(n&&n!==e)throw new Error(`Duplicate module registered for ${t} - ${mt(n)} vs ${mt(n.name)}`)}(s,Ea.get(s),i),Ea.set(s,i));const o=gr(r.imports);for(const a of o)n.has(a)||(n.add(a),e(a))}(t)}(n)}create(n){return new tw(this.moduleType,n)}}function pm(t,n,e){const i=jn()+t,r=B();return r[i]===ze?vr(r,i,e?n.call(e):n()):function Ol(t,n){return t[n]}(r,i)}function Wn(t,n,e,i){return function iw(t,n,e,i,r,s){const o=n+e;return On(t,o,r)?vr(t,o+1,s?i.call(s,r):i(r)):Wl(t,o+1)}(B(),jn(),t,n,e,i)}function nw(t,n,e,i,r){return function rw(t,n,e,i,r,s,o){const a=n+e;return Js(t,a,r,s)?vr(t,a+2,o?i.call(o,r,s):i(r,s)):Wl(t,a+2)}(B(),jn(),t,n,e,i,r)}function Wl(t,n){const e=t[n];return e===ze?void 0:e}function mm(t){return n=>{setTimeout(t,void 0,n)}}const be=class m2 extends q{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){var r,s,o;let a=n,l=e||(()=>null),c=i;if(n&&"object"==typeof n){const u=n;a=null===(r=u.next)||void 0===r?void 0:r.bind(u),l=null===(s=u.error)||void 0===s?void 0:s.bind(u),c=null===(o=u.complete)||void 0===o?void 0:o.bind(u)}this.__isAsync&&(l=mm(l),a&&(a=mm(a)),c&&(c=mm(c)));const d=super.subscribe({next:a,error:l,complete:c});return n instanceof W&&n.add(d),d}};function g2(){return this._results[ua()]()}class io{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=ua(),i=io.prototype;i[e]||(i[e]=g2)}get changes(){return this._changes||(this._changes=new be)}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=Ti(n);(this._changesDetected=!function DR(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=y2,t})();const _2=on,v2=class extends _2{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n){const e=this._declarationTContainer.tViews,i=kl(this._declarationLView,e,n,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(e)),Il(e,i,n),new $l(i)}};function y2(){return qd(pn(),B())}function qd(t,n){return 4&t.type?new v2(n,t,Ma(t,n)):null}let _n=(()=>{class t{}return t.__NG_ELEMENT_ID__=b2,t})();function b2(){return dw(pn(),B())}const x2=_n,lw=class extends x2{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Ma(this._hostTNode,this._hostLView)}get injector(){return new Ko(this._hostTNode,this._hostLView)}get parentInjector(){const n=gd(this._hostTNode,this._hostLView);if(ob(n)){const e=Qo(n,this._hostLView),i=Yo(n);return new Ko(e[1].data[i+8],e)}return new Ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=cw(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){const r=n.createEmbeddedView(e||{});return this.insert(r,i),r}createComponent(n,e,i,r,s){const o=n&&!function vl(t){return"function"==typeof t}(n);let a;if(o)a=e;else{const u=e||{};a=u.index,i=u.injector,r=u.projectableNodes,s=u.ngModuleRef}const l=o?n:new hm(In(n)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const m=(o?c:this.parentInjector).get($r,null);m&&(s=m)}const d=l.create(c,r,void 0,s);return this.insert(d.hostView,a),d}insert(n,e){const i=n._lView,r=i[1];if(function qI(t){return qi(t[3])}(i)){const d=this.indexOf(n);if(-1!==d)this.detach(d);else{const u=i[3],m=new lw(u,u[6],u[3]);m.detach(m.indexOf(n))}}const s=this._adjustIndex(e),o=this._lContainer;!function ZF(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],d=n[-l];for(let u=10;u{class t{constructor(e){this.appInits=e,this.resolve=Kd,this.reject=Kd,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)(w(Sm,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ql=new j("AppId",{providedIn:"root",factory:function Fw(){return`${Tm()}${Tm()}${Tm()}`}});function Tm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ow=new j("Platform Initializer"),ri=new j("Platform ID"),km=new j("appBootstrapListener");let Pw=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const Wr=new j("LocaleId",{providedIn:"root",factory:()=>Ks(Wr,Ne.Optional|Ne.SkipSelf)||function W2(){return"undefined"!=typeof $localize&&$localize.locale||jd}()});class Y2{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let Lw=(()=>{class t{compileModuleSync(e){return new fm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=gr(Mi(e).declarations).reduce((o,a)=>{const l=In(a);return l&&o.push(new hm(l)),o},[]);return new Y2(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=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const K2=(()=>Promise.resolve(0))();function Im(t){"undefined"==typeof Zone?K2.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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 Z2(){let t=vt.requestAnimationFrame,n=vt.cancelAnimationFrame;if("undefined"!=typeof Zone&&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 eB(t){const n=()=>{!function J2(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(vt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Fm(t),t.isCheckStableRunning=!0,Rm(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Fm(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,s,o,a)=>{try{return Nw(t),e.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),Bw(t)}},onInvoke:(e,i,r,s,o,a,l)=>{try{return Nw(t),e.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),Bw(t)}},onHasTask:(e,i,r,s)=>{e.hasTask(r,s),i===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Fm(t),Rm(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"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}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,X2,Kd,Kd);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 X2={};function Rm(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 Fm(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Nw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Bw(t){t._nesting--,Rm(t)}class tB{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}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)}}let Om=(()=>{class t{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{_e.assertNotInAngularZone(),Im(()=>{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())Im(()=>{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}findProviders(e,i,r){return[]}}return t.\u0275fac=function(e){return new(e||t)(w(_e))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),Vw=(()=>{class t{constructor(){this._applications=new Map,Pm.addToWindow(this)}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 Pm.findTestabilityInTree(this,e,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class nB{addToWindow(n){}findTestabilityInTree(n,e,i){return null}}let ir,Pm=new nB;const Hw=new j("AllowMultipleToken");class jw{constructor(n,e){this.name=n,this.token=e}}function zw(t,n,e=[]){const i=`Platform: ${n}`,r=new j(i);return(s=[])=>{let o=Uw();if(!o||o.injector.get(Hw,!1))if(t)t(e.concat(s).concat({provide:r,useValue:!0}));else{const a=e.concat(s).concat({provide:r,useValue:!0},{provide:Up,useValue:"platform"});!function oB(t){if(ir&&!ir.destroyed&&!ir.injector.get(Hw,!1))throw new le(400,"");ir=t.get(Gw);const n=t.get(Ow,null);n&&n.forEach(e=>e())}(Vt.create({providers:a,name:i}))}return function aB(t){const n=Uw();if(!n)throw new le(401,"");return n}()}}function Uw(){return ir&&!ir.destroyed?ir:null}let Gw=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const a=function lB(t,n){let e;return e="noop"===t?new tB:("zone.js"===t?void 0:t)||new _e({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==n?void 0:n.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==n?void 0:n.ngZoneRunCoalescing)}),e}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),l=[{provide:_e,useValue:a}];return a.run(()=>{const c=Vt.create({providers:l,parent:this.injector,name:e.moduleType.name}),d=e.create(c),u=d.injector.get(ys,null);if(!u)throw new le(402,"");return a.runOutsideAngular(()=>{const m=a.onError.subscribe({next:g=>{u.handleError(g)}});d.onDestroy(()=>{Lm(this._modules,d),m.unsubscribe()})}),function cB(t,n,e){try{const i=e();return Ll(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(u,a,()=>{const m=d.injector.get(Am);return m.runInitializers(),m.donePromise.then(()=>(function UL(t){ui(t,"Expected localeId to be defined"),"string"==typeof t&&(wC=t.toLowerCase().replace(/_/g,"-"))}(d.injector.get(Wr,jd)||jd),this._moduleDoBootstrap(d),d))})})}bootstrapModule(e,i=[]){const r=$w({},i);return function rB(t,n,e){const i=new fm(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(e){const i=e.injector.get(Aa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new le(403,"");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 le(404,"");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(w(Vt))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function $w(t,n){return Array.isArray(n)?n.reduce($w,t):Object.assign(Object.assign({},t),n)}let Aa=(()=>{class t{constructor(e,i,r,s,o){this._zone=e,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new Ye(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),l=new Ye(c=>{let d;this._zone.runOutsideAngular(()=>{d=this._zone.onStable.subscribe(()=>{_e.assertNotInAngularZone(),Im(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{d.unsubscribe(),u.unsubscribe()}});this.isStable=Lr(a,l.pipe(Ay()))}bootstrap(e,i){if(!this._initStatus.done)throw new le(405,"");let r;r=e instanceof YC?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(r.componentType);const s=function sB(t){return t.isBoundToModule}(r)?void 0:this._injector.get($r),a=r.create(Vt.NULL,[],i||r.selector,s),l=a.location.nativeElement,c=a.injector.get(Om,null),d=c&&a.injector.get(Vw);return c&&d&&d.registerApplication(l,c),a.onDestroy(()=>{this.detachView(a.hostView),Lm(this.components,a),d&&d.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new le(101,"");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;Lm(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(km,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(w(_e),w(Vt),w(ys),w(Gr),w(Am))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Lm(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let qw=!0,kt=(()=>{class t{}return t.__NG_ELEMENT_ID__=hB,t})();function hB(t){return function fB(t,n,e){if(id(t)&&!e){const i=fi(t.index,n);return new $l(i,i)}return 47&t.type?new $l(n[16],n):null}(pn(),B(),16==(16&t))}class Xw{constructor(){}supports(n){return Fl(n)}create(n){return new yB(n)}}const vB=(t,n)=>n;class yB{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||vB}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 bB(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 Jw),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 Jw),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 bB{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 xB{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 Jw{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new xB,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 eD(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 wB(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 wB{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 nD(){return new Cr([new Xw])}let Cr=(()=>{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||nD()),deps:[[t,new jr,new ii]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new le(901,"")}}return t.\u0275prov=L({token:t,providedIn:"root",factory:nD}),t})();function iD(){return new so([new tD])}let so=(()=>{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||iD()),deps:[[t,new jr,new ii]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new le(901,"")}}return t.\u0275prov=L({token:t,providedIn:"root",factory:iD}),t})();const EB=zw(null,"core",[{provide:ri,useValue:"unknown"},{provide:Gw,deps:[Vt]},{provide:Vw,deps:[]},{provide:Pw,deps:[]}]);let SB=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(w(Aa))},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})(),Jd=null;function wr(){return Jd}const Se=new j("DocumentToken");let oo=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:function(){return function IB(){return w(rD)}()},providedIn:"platform"}),t})();const RB=new j("Location Initialized");let rD=(()=>{class t extends oo{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return wr().getBaseHref(this._doc)}onPopState(e){const i=wr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=wr().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){sD()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){sD()?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)(w(Se))},t.\u0275prov=L({token:t,factory:function(){return function FB(){return new rD(w(Se))}()},providedIn:"platform"}),t})();function sD(){return!!window.history.pushState}function jm(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 oD(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 qr(t){return t&&"?"!==t[0]?"?"+t:t}let Ta=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:function(){return function OB(t){const n=w(Se).location;return new aD(w(oo),n&&n.origin||"")}()},providedIn:"root"}),t})();const zm=new j("appBaseHref");let aD=(()=>{class t extends Ta{constructor(e,i){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==i&&(i=this._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");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}prepareExternalUrl(e){return jm(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+qr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,s){const o=this.prepareExternalUrl(r+qr(s));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){const o=this.prepareExternalUrl(r+qr(s));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return t.\u0275fac=function(e){return new(e||t)(w(oo),w(zm,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),PB=(()=>{class t extends Ta{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=jm(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,s){let o=this.prepareExternalUrl(r+qr(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){let o=this.prepareExternalUrl(r+qr(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return t.\u0275fac=function(e){return new(e||t)(w(oo),w(zm,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),Kl=(()=>{class t{constructor(e,i){this._subject=new be,this._urlChangeListeners=[],this._platformStrategy=e;const r=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=oD(lD(r)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+qr(i))}normalize(e){return t.stripTrailingSlash(function NB(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,lD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._platformStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+qr(i)),r)}replaceState(e,i="",r=null){this._platformStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+qr(i)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var i,r;null===(r=(i=this._platformStrategy).historyGo)||void 0===r||r.call(i,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}))}_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=qr,t.joinWithSlash=jm,t.stripTrailingSlash=oD,t.\u0275fac=function(e){return new(e||t)(w(Ta),w(oo))},t.\u0275prov=L({token:t,factory:function(){return function LB(){return new Kl(w(Ta),w(oo))}()},providedIn:"root"}),t})();function lD(t){return t.replace(/\/index.html$/,"")}function _D(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}let ao=(()=>{class t{constructor(e,i,r,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Fl(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${mt(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).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)(p(Cr),p(so),p(Y),p(nr))},t.\u0275dir=I({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class xV{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 Jl=(()=>{class t{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}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 xV(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),vD(a,r)}});for(let r=0,s=i.length;r{vD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(p(_n),p(on),p(Cr))},t.\u0275dir=I({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();function vD(t,n){t.context.$implicit=n.item}let oi=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new CV,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){yD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){yD("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)(p(_n),p(on))},t.\u0275dir=I({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class CV{constructor(){this.$implicit=null,this.ngIf=null}}function yD(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${mt(n)}'.`)}class Xm{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 ec=(()=>{class t{constructor(){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||(this._defaultViews=[]),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&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class t{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Xm(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(p(_n),p(on),p(ec,9))},t.\u0275dir=I({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),tc=(()=>{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(".");null!=(i=null!=i&&s?`${i}${s}`:i)?this._renderer.setStyle(this._ngEl.nativeElement,r,i):this._renderer.removeStyle(this._ngEl.nativeElement,r)}_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)(p(Y),p(so),p(nr))},t.\u0275dir=I({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Pn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})();const CD="browser";function ws(t){return t===CD}function ka(t){return"server"===t}let KV=(()=>{class t{}return t.\u0275prov=L({token:t,providedIn:"root",factory:()=>new ZV(w(Se),window)}),t})();class ZV{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 XV(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=wD(this.window.history)||wD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch(n){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(n){return!1}}}function wD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class DD{}class ng extends class JV extends class kB{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function TB(t){Jd||(Jd=t)}(new ng)}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 eH(){return nc=nc||document.querySelector("base"),nc?nc.getAttribute("href"):null}();return null==e?null:function tH(t){cu=cu||document.createElement("a"),cu.setAttribute("href",t);const n=cu.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){nc=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _D(document.cookie,n)}}let cu,nc=null;const MD=new j("TRANSITION_ID"),iH=[{provide:Sm,useFactory:function nH(t,n,e){return()=>{e.get(Am).donePromise.then(()=>{const i=wr(),r=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s{const s=n.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},vt.getAllAngularTestabilities=()=>n.getAllTestabilities(),vt.getAllAngularRootElements=()=>n.getAllRootElements(),vt.frameworkStabilizers||(vt.frameworkStabilizers=[]),vt.frameworkStabilizers.push(i=>{const r=vt.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){if(null==e)return null;const r=n.getTestability(e);return null!=r?r:i?wr().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null}}let rH=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const du=new j("EventManagerPlugins");let uu=(()=>{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=L({token:t,factory:t.\u0275fac}),t})(),ic=(()=>{class t extends SD{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(AD),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(AD))}}return t.\u0275fac=function(e){return new(e||t)(w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function AD(t){wr().remove(t)}const rg={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/"},sg=/%COMP%/g;function hu(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let fu=(()=>{class t{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new og(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case $i.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new dH(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case $i.ShadowDom:return new uH(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=hu(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)(w(uu),w(ic),w(Ql))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class og{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(rg[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){n.appendChild(e)}insertBefore(n,e,i){n&&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=rg[r];s?n.setAttributeNS(s,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=rg[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&(_i.DashCase|_i.Important)?n.style.setProperty(e,i,r&_i.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&_i.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,ID(i)):this.eventManager.addEventListener(n,e,ID(i))}}class dH extends og{constructor(n,e,i,r){super(n),this.component=i;const s=hu(r+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr=function aH(t){return"_ngcontent-%COMP%".replace(sg,t)}(r+"-"+i.id),this.hostAttr=function lH(t){return"_nghost-%COMP%".replace(sg,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 uH extends og{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=hu(r.id,r.styles,[]);for(let o=0;o{class t extends ED{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)(w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const FD=["alt","control","meta","shift"],pH={"\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"},OD={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},mH={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let gH=(()=>{class t extends ED{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(()=>wr().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="";if(FD.forEach(l=>{const c=i.indexOf(l);c>-1&&(i.splice(c,1),o+=l+".")}),o+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(e){let i="",r=function _H(t){let n=t.key;if(null==n){if(n=t.keyIdentifier,null==n)return"Unidentified";n.startsWith("U+")&&(n=String.fromCharCode(parseInt(n.substring(2),16)),3===t.location&&OD.hasOwnProperty(n)&&(n=OD[n]))}return pH[n]||n}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),FD.forEach(s=>{s!=r&&mH[s](e)&&(i+=s+".")}),i+=r,i}static eventCallback(e,i,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const xH=zw(EB,"browser",[{provide:ri,useValue:CD},{provide:Ow,useValue:function vH(){ng.makeCurrent(),ig.init()},multi:!0},{provide:Se,useFactory:function bH(){return function UI(t){Sf=t}(document),document},deps:[]}]),CH=[{provide:Up,useValue:"root"},{provide:ys,useFactory:function yH(){return new ys},deps:[]},{provide:du,useClass:hH,multi:!0,deps:[Se,_e,ri]},{provide:du,useClass:gH,multi:!0,deps:[Se]},{provide:fu,useClass:fu,deps:[uu,ic,Ql]},{provide:Gl,useExisting:fu},{provide:SD,useExisting:ic},{provide:ic,useClass:ic,deps:[Se]},{provide:Om,useClass:Om,deps:[_e]},{provide:uu,useClass:uu,deps:[du,_e]},{provide:DD,useClass:rH,deps:[]}];let PD=(()=>{class t{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ql,useValue:e.appId},{provide:MD,useExisting:Ql},iH]}}}return t.\u0275fac=function(e){return new(e||t)(w(t,12))},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:CH,imports:[Pn,SB]}),t})();"undefined"!=typeof window&&window;let rc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:function(e){let i=null;return i=e?new(e||t):w(BD),i},providedIn:"root"}),t})(),BD=(()=>{class t extends rc{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case dt.NONE:return i;case dt.HTML:return pr(i,"HTML")?gi(i):Vb(this._doc,String(i)).toString();case dt.STYLE:return pr(i,"Style")?gi(i):i;case dt.SCRIPT:if(pr(i,"Script"))return gi(i);throw new Error("unsafe value used in a script context");case dt.URL:return Ib(i),pr(i,"URL")?gi(i):Dl(String(i));case dt.RESOURCE_URL:if(pr(i,"ResourceURL"))return gi(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function tF(t){return new KR(t)}(e)}bypassSecurityTrustStyle(e){return function nF(t){return new ZR(t)}(e)}bypassSecurityTrustScript(e){return function iF(t){return new XR(t)}(e)}bypassSecurityTrustUrl(e){return function rF(t){return new JR(t)}(e)}bypassSecurityTrustResourceUrl(e){return function sF(t){return new eF(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(w(Se))},t.\u0275prov=L({token:t,factory:function(e){let i=null;return i=e?new e:function RH(t){return new BD(t.get(Se))}(w(Vt)),i},providedIn:"root"}),t})();function De(...t){return xn(t,ol(t))}function Ia(t,n){return N(n)?fn(t,n,1):fn(t,1)}function jt(t,n){return Mt((e,i)=>{let r=0;e.subscribe(bt(i,s=>t.call(n,s,r++)&&i.next(s)))})}class VD{}class HD{}class zt{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 zt?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 zt;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof zt?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 FH{encodeKey(n){return jD(n)}encodeValue(n){return jD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const PH=/%(\d[a-f0-9])/gi,LH={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function jD(t){return encodeURIComponent(t).replace(PH,(n,e)=>{var i;return null!==(i=LH[e])&&void 0!==i?i:n})}function zD(t){return`${t}`}class Ms{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new FH,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function OH(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];this.map.set(e,Array.isArray(i)?i:[i])})):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 Ms({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(zD(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(zD(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 NH{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 UD(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function GD(t){return"undefined"!=typeof Blob&&t instanceof Blob}function $D(t){return"undefined"!=typeof FormData&&t instanceof FormData}class sc{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 BH(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 zt),this.context||(this.context=new NH),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":am.set(g,n.setHeaders[g]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,g)=>m.set(g,n.setParams[g]),d)),new sc(i,r,o,{params:d,headers:c,context:u,reportProgress:l,responseType:s,withCredentials:a})}}var cn=(()=>((cn=cn||{})[cn.Sent=0]="Sent",cn[cn.UploadProgress=1]="UploadProgress",cn[cn.ResponseHeader=2]="ResponseHeader",cn[cn.DownloadProgress=3]="DownloadProgress",cn[cn.Response=4]="Response",cn[cn.User=5]="User",cn))();class lg{constructor(n,e=200,i="OK"){this.headers=n.headers||new zt,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 cg extends lg{constructor(n={}){super(n),this.type=cn.ResponseHeader}clone(n={}){return new cg({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 pu extends lg{constructor(n={}){super(n),this.type=cn.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new pu({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 WD extends lg{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 dg(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 mu=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let s;if(e instanceof sc)s=e;else{let l,c;l=r.headers instanceof zt?r.headers:new zt(r.headers),r.params&&(c=r.params instanceof Ms?r.params:new Ms({fromObject:r.params})),s=new sc(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=De(s).pipe(Ia(l=>this.handler.handle(l)));if(e instanceof sc||"events"===r.observe)return o;const a=o.pipe(jt(l=>l instanceof pu));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(Le(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(Le(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(Le(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Le(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 Ms).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,dg(r,i))}post(e,i,r={}){return this.request("POST",e,dg(r,i))}put(e,i,r={}){return this.request("PUT",e,dg(r,i))}}return t.\u0275fac=function(e){return new(e||t)(w(VD))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class qD{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const ug=new j("HTTP_INTERCEPTORS");let HH=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const jH=/^\)\]\}',?\n/;let YD=(()=>{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 Ye(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((g,v)=>r.setRequestHeader(g,v.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const g=e.detectContentTypeHeader();null!==g&&r.setRequestHeader("Content-Type",g)}if(e.responseType){const g=e.responseType.toLowerCase();r.responseType="json"!==g?g:"text"}const s=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const g=r.statusText||"OK",v=new zt(r.getAllResponseHeaders()),C=function zH(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 cg({headers:v,status:r.status,statusText:g,url:C}),o},l=()=>{let{headers:g,status:v,statusText:C,url:S}=a(),k=null;204!==v&&(k=void 0===r.response?r.responseText:r.response),0===v&&(v=k?200:0);let D=v>=200&&v<300;if("json"===e.responseType&&"string"==typeof k){const z=k;k=k.replace(jH,"");try{k=""!==k?JSON.parse(k):null}catch(J){k=z,D&&(D=!1,k={error:J,text:k})}}D?(i.next(new pu({body:k,headers:g,status:v,statusText:C,url:S||void 0})),i.complete()):i.error(new WD({error:k,headers:g,status:v,statusText:C,url:S||void 0}))},c=g=>{const{url:v}=a(),C=new WD({error:g,status:r.status||0,statusText:r.statusText||"Unknown Error",url:v||void 0});i.error(C)};let d=!1;const u=g=>{d||(i.next(a()),d=!0);let v={type:cn.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(v.total=g.total),"text"===e.responseType&&!!r.responseText&&(v.partialText=r.responseText),i.next(v)},m=g=>{let v={type:cn.UploadProgress,loaded:g.loaded};g.lengthComputable&&(v.total=g.total),i.next(v)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",u),null!==s&&r.upload&&r.upload.addEventListener("progress",m)),r.send(s),i.next({type:cn.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",u),null!==s&&r.upload&&r.upload.removeEventListener("progress",m)),r.readyState!==r.DONE&&r.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(w(DD))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const hg=new j("XSRF_COOKIE_NAME"),fg=new j("XSRF_HEADER_NAME");class pg{}let UH=(()=>{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=_D(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(w(Se),w(ri),w(hg))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),mg=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const s=this.tokenService.getToken();return null!==s&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,s)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(w(pg),w(fg))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),GH=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(ug,[]);this.chain=i.reduceRight((r,s)=>new qD(r,s),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(w(HD),w(Vt))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),QD=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:mg,useClass:HH}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:hg,useValue:e.cookieName}:[],e.headerName?{provide:fg,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[mg,{provide:ug,useExisting:mg,multi:!0},{provide:pg,useClass:UH},{provide:hg,useValue:"XSRF-TOKEN"},{provide:fg,useValue:"X-XSRF-TOKEN"}]}),t})(),$H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[mu,{provide:VD,useClass:GH},YD,{provide:HD,useExisting:YD}],imports:[[QD.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();const{isArray:WH}=Array,{getPrototypeOf:qH,prototype:YH,keys:QH}=Object;function KD(t){if(1===t.length){const n=t[0];if(WH(n))return{args:n,keys:null};if(function KH(t){return t&&"object"==typeof t&&qH(t)===YH}(n)){const e=QH(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:ZH}=Array;function gg(t){return Le(n=>function XH(t,n){return ZH(n)?t(...n):t(n)}(t,n))}function ZD(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function XD(...t){const n=Dy(t),{args:e,keys:i}=KD(t),r=new Ye(s=>{const{length:o}=e;if(!o)return void s.complete();const a=new Array(o);let l=o,c=o;for(let d=0;d{u||(u=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!u)&&(c||s.next(i?ZD(i,a):a),s.complete())}))}});return n?r.pipe(gg(n)):r}let JD=(()=>{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)(p(nr),p(Y))},t.\u0275dir=I({type:t}),t})(),lo=(()=>{class t extends JD{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,features:[F]}),t})();const Yn=new j("NgValueAccessor"),e3={provide:Yn,useExisting:Xe(()=>Ra),multi:!0},n3=new j("CompositionEventMode");let Ra=(()=>{class t extends JD{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function t3(){const t=wr()?wr().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":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)(p(nr),p(Y),p(n3,8))},t.\u0275dir=I({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&&we("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([e3]),F]}),t})();function Es(t){return null==t||0===t.length}function tM(t){return null!=t&&"number"==typeof t.length}const wn=new j("NgValidators"),Ss=new j("NgAsyncValidators"),r3=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ln{static min(n){return function nM(t){return n=>{if(Es(n.value)||Es(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(Es(n.value)||Es(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function rM(t){return Es(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function sM(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function oM(t){return Es(t.value)||r3.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function aM(t){return n=>Es(n.value)||!tM(n.value)?null:n.value.lengthtM(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function cM(t){if(!t)return gu;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Es(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return mM(n)}static composeAsync(n){return gM(n)}}function gu(t){return null}function dM(t){return null!=t}function uM(t){const n=Ll(t)?xn(t):t;return tm(n),n}function hM(t){let n={};return t.forEach(e=>{n=null!=e?Object.assign(Object.assign({},n),e):n}),0===Object.keys(n).length?null:n}function fM(t,n){return n.map(e=>e(t))}function pM(t){return t.map(n=>function s3(t){return!t.validate}(n)?n:e=>n.validate(e))}function mM(t){if(!t)return null;const n=t.filter(dM);return 0==n.length?null:function(e){return hM(fM(e,n))}}function _g(t){return null!=t?mM(pM(t)):null}function gM(t){if(!t)return null;const n=t.filter(dM);return 0==n.length?null:function(e){return XD(fM(e,n).map(uM)).pipe(Le(hM))}}function vg(t){return null!=t?gM(pM(t)):null}function _M(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function vM(t){return t._rawValidators}function yM(t){return t._rawAsyncValidators}function yg(t){return t?Array.isArray(t)?t:[t]:[]}function _u(t,n){return Array.isArray(t)?t.includes(n):t===n}function bM(t,n){const e=yg(n);return yg(t).forEach(r=>{_u(e,r)||e.push(r)}),e}function xM(t,n){return yg(n).filter(e=>!_u(t,e))}class CM{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=_g(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=vg(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 Qr extends CM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qn extends CM{get formDirective(){return null}get path(){return null}}class wM{constructor(n){this._cd=n}is(n){var e,i,r;return"submitted"===n?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(r=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===r?void 0:r[n])}}let oc=(()=>{class t extends wM{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(p(Qr,2))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Pe("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[F]}),t})(),vu=(()=>{class t extends wM{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(p(Qn,10))},t.\u0275dir=I({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Pe("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))("ng-submitted",i.is("submitted"))},features:[F]}),t})();function bu(t,n){return[...n.path,t]}function ac(t,n){Cg(t,n),n.valueAccessor.writeValue(t.value),function f3(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&MM(t,n)})}(t,n),function m3(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 p3(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&MM(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function h3(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function xu(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),wu(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Cu(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Cg(t,n){const e=vM(t);null!==n.validator?t.setValidators(_M(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=yM(t);null!==n.asyncValidator?t.setAsyncValidators(_M(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Cu(n._rawValidators,r),Cu(n._rawAsyncValidators,r)}function wu(t,n){let e=!1;if(null!==t){if(null!==n.validator){const r=vM(t);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==n.validator);s.length!==r.length&&(e=!0,t.setValidators(s))}}if(null!==n.asyncValidator){const r=yM(t);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==n.asyncValidator);s.length!==r.length&&(e=!0,t.setAsyncValidators(s))}}}const i=()=>{};return Cu(n._rawValidators,i),Cu(n._rawAsyncValidators,i),e}function MM(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function EM(t,n){Cg(t,n)}function wg(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function AM(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Dg(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(s=>{s.constructor===Ra?e=s:function v3(t){return Object.getPrototypeOf(t.constructor)===lo}(s)?i=s:r=s}),r||i||e||null}function Mg(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const lc="VALID",Du="INVALID",Fa="PENDING",cc="DISABLED";function Sg(t){return(Mu(t)?t.validators:t)||null}function TM(t){return Array.isArray(t)?_g(t):t||null}function Ag(t,n){return(Mu(n)?n.asyncValidators:t)||null}function kM(t){return Array.isArray(t)?vg(t):t||null}function Mu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}const Tg=t=>t instanceof Ig,Eu=t=>t instanceof Su,IM=t=>t instanceof PM;function RM(t){return Tg(t)?t.value:t.getRawValue()}function FM(t,n){const e=Eu(t),i=t.controls;if(!(e?Object.keys(i):i).length)throw new le(1e3,"");if(!i[n])throw new le(1001,"")}function OM(t,n){Eu(t),t._forEachChild((i,r)=>{if(void 0===n[r])throw new le(1002,"")})}class kg{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._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=TM(this._rawValidators),this._composedAsyncValidatorFn=kM(this._rawAsyncValidators)}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===lc}get invalid(){return this.status===Du}get pending(){return this.status==Fa}get disabled(){return this.status===cc}get enabled(){return this.status!==cc}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._rawValidators=n,this._composedValidatorFn=TM(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=kM(n)}addValidators(n){this.setValidators(bM(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bM(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(xM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(xM(n,this._rawAsyncValidators))}hasValidator(n){return _u(this._rawValidators,n)}hasAsyncValidator(n){return _u(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=Fa,!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=cc,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=lc,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},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}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===lc||this.status===Fa)&&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()?cc:lc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Fa,this._hasOwnPendingAsyncValidator=!0;const e=uM(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){return function y3(t,n,e){if(null==n||(Array.isArray(n)||(n=n.split(e)),Array.isArray(n)&&0===n.length))return null;let i=t;return n.forEach(r=>{i=Eu(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:IM(i)&&i.at(r)||null}),i}(this,n,".")}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 be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?cc:this.errors?Du:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fa)?Fa:this._anyControlsHaveStatus(Du)?Du:lc}_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)}_isBoxedValue(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Mu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ig extends kg{constructor(n=null,e,i){super(Sg(e),Ag(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}),Mu(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(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){Mg(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Mg(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){this._isBoxedValue(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}}class Su extends kg{constructor(n,e,i){super(Sg(e),Ag(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){OM(this,n),Object.keys(n).forEach(i=>{FM(this,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=RM(e),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&n(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(n,e,i)=>((e.enabled||this.disabled)&&(n[i]=e.value),n))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,s)=>{i=e(i,r,s)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class PM extends kg{constructor(n,e,i){super(Sg(e),Ag(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[n]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){OM(this,n),n.forEach((i,r)=>{FM(this,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>RM(n))}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}const b3={provide:Qn,useExisting:Xe(()=>Au)},dc=(()=>Promise.resolve(null))();let Au=(()=>{class t extends Qn{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new Su({},_g(e),vg(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){dc.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ac(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){dc.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){dc.then(()=>{const i=this._findContainer(e.path),r=new Su({});EM(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){dc.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){dc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,AM(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(p(wn,10),p(Ss,10))},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&we("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([b3]),F]}),t})();const C3={provide:Qr,useExisting:Xe(()=>Rg)},BM=(()=>Promise.resolve(null))();let Rg=(()=>{class t extends Qr{constructor(e,i,r,s,o){super(),this._changeDetectorRef=o,this.control=new Ig,this._registered=!1,this.update=new be,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Dg(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),wg(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(){ac(this.control,this),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){BM.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=""===i||i&&"false"!==i;BM.then(()=>{var s;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?bu(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(p(Qn,9),p(wn,10),p(Ss,10),p(Yn,10),p(kt,8))},t.\u0275dir=I({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([C3]),F,Wt]}),t})(),Tu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),HM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})();const Fg=new j("NgModelWithFormControlWarning"),A3={provide:Qn,useExisting:Xe(()=>co)};let co=(()=>{class t extends Qn{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new be,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return ac(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){xu(e.control||null,e,!1),Mg(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,AM(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(xu(i||null,e),Tg(r)&&(ac(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);EM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function g3(t,n){return wu(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cg(this.form,this),this._oldForm&&wu(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(p(wn,10),p(Ss,10))},t.\u0275dir=I({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&we("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([A3]),F,Wt]}),t})();const I3={provide:Qr,useExisting:Xe(()=>uc)};let uc=(()=>{class t extends Qr{constructor(e,i,r,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new be,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Dg(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),wg(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return bu(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(p(Qn,13),p(wn,10),p(Ss,10),p(Yn,10),p(Fg,8))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[pe([I3]),F,Wt]}),t})(),tE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[HM]]}),t})(),q3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[tE]}),t})(),nE=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Fg,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[tE]}),t})(),Vg=(()=>{class t{group(e,i=null){const r=this._reduceControls(e);let a,s=null,o=null;return null!=i&&(function Y3(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(i)?(s=null!=i.validators?i.validators:null,o=null!=i.asyncValidators?i.asyncValidators:null,a=null!=i.updateOn?i.updateOn:void 0):(s=null!=i.validator?i.validator:null,o=null!=i.asyncValidator?i.asyncValidator:null)),new Su(r,{asyncValidators:o,updateOn:a,validators:s})}control(e,i,r){return new Ig(e,i,r)}array(e,i,r){const s=e.map(o=>this._createControl(o));return new PM(s,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return Tg(e)||Eu(e)||IM(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:nE}),t})();class ai extends q{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)}}function iE(t,n,e){t?Pr(e,t,n):n()}function hc(t,n){const e=N(t)?t:()=>t,i=r=>r.error(e());return new Ye(n?r=>n.schedule(i,0,r):i)}const Iu=ve(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Hg(...t){return function Z3(){return sl(1)}()(xn(t,ol(t)))}function jg(t){return new Ye(n=>{ei(t()).subscribe(n)})}function rE(){return Mt((t,n)=>{let e=null;t._refCount++;const i=bt(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 X3 extends Ye{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,hs(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,null==n||n.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new W;const e=this.getSubject();n.add(this.source.subscribe(bt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=W.EMPTY)}return n}refCount(){return rE()(this)}}function As(t,n){return Mt((e,i)=>{let r=null,s=0,o=!1;const a=()=>o&&!r&&i.complete();e.subscribe(bt(i,l=>{null==r||r.unsubscribe();let c=0;const d=s++;ei(t(l,d)).subscribe(r=bt(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{o=!0,a()}))})}function Nn(t){return t<=0?()=>Ui:Mt((n,e)=>{let i=0;n.subscribe(bt(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Pi(...t){const n=ol(t);return Mt((e,i)=>{(n?Hg(t,e,n):Hg(t,e)).subscribe(i)})}function J3(t,n,e,i,r){return(s,o)=>{let a=e,l=n,c=0;s.subscribe(bt(o,d=>{const u=c++;l=a?t(l,d,u):(a=!0,d),i&&o.next(l)},r&&(()=>{a&&o.next(l),o.complete()})))}}function sE(t,n){return Mt(J3(t,n,arguments.length>=2,!0))}function Kr(t){return Mt((n,e)=>{let s,i=null,r=!1;i=n.subscribe(bt(e,void 0,void 0,o=>{s=ei(t(o,Kr(t)(n))),i?(i.unsubscribe(),i=null,s.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,s.subscribe(e))})}function zg(t){return t<=0?()=>Ui:Mt((n,e)=>{let i=[];n.subscribe(bt(e,r=>{i.push(r),t{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function oE(t=e5){return Mt((n,e)=>{let i=!1;n.subscribe(bt(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function e5(){return new Iu}function aE(t){return Mt((n,e)=>{let i=!1;n.subscribe(bt(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function Oa(t,n){const e=arguments.length>=2;return i=>i.pipe(t?jt((r,s)=>t(r,s,i)):nn,Nn(1),e?aE(n):oE(()=>new Iu))}function Dn(t,n,e){const i=N(t)||n||e?{next:t,error:n,complete:e}:t;return i?Mt((r,s)=>{var o;null===(o=i.subscribe)||void 0===o||o.call(i);let a=!0;r.subscribe(bt(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)}))}):nn}function lE(t){return Mt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}class Zr{constructor(n,e){this.id=n,this.url=e}}class Ug extends Zr{constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fc extends Zr{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cE extends Zr{constructor(n,e,i){super(n,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class n5 extends Zr{constructor(n,e,i){super(n,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class r5 extends Zr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class s5 extends Zr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class o5 extends Zr{constructor(n,e,i,r,s){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class a5 extends Zr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class l5 extends Zr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dE{constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class uE{constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class c5{constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class d5{constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class u5{constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class h5{constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hE{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Ze="primary";class f5{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 Pa(t){return new f5(t)}const fE="ngNavigationCancelingError";function Gg(t){const n=Error("NavigationCancelingError: "+t);return n[fE]=!0,n}function m5(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 mE(t){return Array.prototype.concat.apply([],t)}function gE(t){return t.length>0?t[t.length-1]:null}function kn(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Mr(t){return tm(t)?t:Ll(t)?xn(Promise.resolve(t)):De(t)}const v5={exact:function yE(t,n,e){if(!fo(t.segments,n.segments)||!Ru(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!yE(t.children[i],n.children[i],e))return!1;return!0},subset:bE},_E={exact:function y5(t,n){return Dr(t,n)},subset:function b5(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>pE(t[e],n[e]))},ignored:()=>!0};function vE(t,n,e){return v5[e.paths](t.root,n.root,e.matrixParams)&&_E[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function bE(t,n,e){return xE(t,n,n.segments,e)}function xE(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!fo(r,e)||n.hasChildren()||!Ru(r,e,i))}if(t.segments.length===e.length){if(!fo(t.segments,e)||!Ru(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!bE(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!!(fo(t.segments,r)&&Ru(t.segments,r,i)&&t.children[Ze])&&xE(t.children[Ze],n,s,i)}}function Ru(t,n,e){return n.every((i,r)=>_E[e](t[r].parameters,i.parameters))}class ho{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pa(this.queryParams)),this._queryParamMap}toString(){return w5.serialize(this)}}class tt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,kn(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fu(this)}}class pc{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Pa(this.parameters)),this._parameterMap}toString(){return EE(this)}}function fo(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}class CE{}class wE{parse(n){const e=new R5(n);return new ho(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${mc(n.root,!0)}`,i=function E5(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${Ou(e)}=${Ou(r)}`).join("&"):`${Ou(e)}=${Ou(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function D5(t){return encodeURI(t)}(n.fragment)}`:""}`}}const w5=new wE;function Fu(t){return t.segments.map(n=>EE(n)).join("/")}function mc(t,n){if(!t.hasChildren())return Fu(t);if(n){const e=t.children[Ze]?mc(t.children[Ze],!1):"",i=[];return kn(t.children,(r,s)=>{s!==Ze&&i.push(`${s}:${mc(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function C5(t,n){let e=[];return kn(t.children,(i,r)=>{r===Ze&&(e=e.concat(n(i,r)))}),kn(t.children,(i,r)=>{r!==Ze&&(e=e.concat(n(i,r)))}),e}(t,(i,r)=>r===Ze?[mc(t.children[Ze],!1)]:[`${r}:${mc(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Ze]?`${Fu(t)}/${e[0]}`:`${Fu(t)}/(${e.join("//")})`}}function DE(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ou(t){return DE(t).replace(/%3B/gi,";")}function $g(t){return DE(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pu(t){return decodeURIComponent(t)}function ME(t){return Pu(t.replace(/\+/g,"%20"))}function EE(t){return`${$g(t.path)}${function M5(t){return Object.keys(t).map(n=>`;${$g(n)}=${$g(t[n])}`).join("")}(t.parameters)}`}const S5=/^[^\/()?;=#]+/;function Lu(t){const n=t.match(S5);return n?n[0]:""}const A5=/^[^=?&#]+/,k5=/^[^&#]+/;class R5{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new tt([],{}):new tt([],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[Ze]=new tt(n,e)),i}parseSegment(){const n=Lu(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(n),new pc(Pu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=Lu(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Lu(this.remaining);r&&(i=r,this.capture(i))}n[Pu(e)]=Pu(i)}parseQueryParam(n){const e=function T5(t){const n=t.match(A5);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=function I5(t){const n=t.match(k5);return n?n[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=ME(e),s=ME(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=Lu(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=Ze);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[Ze]:new tt([],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 Error(`Expected "${n}".`)}}class SE{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=Wg(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=Wg(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=qg(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return qg(n,this._root).map(e=>e.value)}}function Wg(t,n){if(t===n.value)return n;for(const e of n.children){const i=Wg(t,e);if(i)return i}return null}function qg(t,n){if(t===n.value)return[n];for(const e of n.children){const i=qg(t,e);if(i.length)return i.unshift(n),i}return[]}class Xr{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function La(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class AE extends SE{constructor(n,e){super(n),this.snapshot=e,Yg(this,n)}toString(){return this.snapshot.toString()}}function TE(t,n){const e=function F5(t,n){const o=new Nu([],{},{},"",{},Ze,n,null,t.root,-1,{});return new IE("",new Xr(o,[]))}(t,n),i=new ai([new pc("",{})]),r=new ai({}),s=new ai({}),o=new ai({}),a=new ai(""),l=new Na(i,r,o,a,s,Ze,n,e.root);return l.snapshot=e.root,new AE(new Xr(l,[]),e)}class Na{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._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(Le(n=>Pa(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Le(n=>Pa(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kE(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 O5(t){return t.reduce((n,e)=>({params:Object.assign(Object.assign({},n.params),e.params),data:Object.assign(Object.assign({},n.data),e.data),resolve:Object.assign(Object.assign({},n.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Nu{constructor(n,e,i,r,s,o,a,l,c,d,u){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=d,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Pa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class IE extends SE{constructor(n,e){super(e),this.url=n,Yg(this,e)}toString(){return RE(this._root)}}function Yg(t,n){n.value._routerState=t,n.children.forEach(e=>Yg(t,e))}function RE(t){const n=t.children.length>0?` { ${t.children.map(RE).join(", ")} } `:"";return`${t.value}${n}`}function Qg(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Dr(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Dr(n.params,e.params)||t.params.next(e.params),function g5(t,n){if(t.length!==n.length)return!1;for(let e=0;eDr(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Kg(t.parent,n.parent))}function gc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function L5(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return gc(t,i,r);return gc(t,i)})}(t,n,e);return new Xr(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=>gc(t,a)),o}}const i=function N5(t){return new Na(new ai(t.url),new ai(t.params),new ai(t.queryParams),new ai(t.fragment),new ai(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(s=>gc(t,s));return new Xr(i,r)}}function Bu(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function _c(t){return"object"==typeof t&&null!=t&&t.outlets}function Zg(t,n,e,i,r){let s={};if(i&&kn(i,(a,l)=>{s[l]=Array.isArray(a)?a.map(c=>`${c}`):`${a}`}),t===n)return new ho(e,s,r);const o=FE(t,n,e);return new ho(o,s,r)}function FE(t,n,e){const i={};return kn(t.children,(r,s)=>{i[s]=r===n?e:FE(r,n,e)}),new tt(t.segments,i)}class OE{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Bu(i[0]))throw new Error("Root segment cannot have matrix parameters");const r=i.find(_c);if(r&&r!==gE(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xg{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function PE(t,n,e){if(t||(t=new tt([],{})),0===t.segments.length&&t.hasChildren())return Vu(t,n,e);const i=function U5(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(_c(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!NE(l,c,o))return s;i+=2}else{if(!NE(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]=PE(t.children[o],n,s))}),kn(t.children,(s,o)=>{void 0===i[o]&&(r[o]=s)}),new tt(t.segments,r)}}function Jg(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=Jg(new tt([],{}),0,e))}),n}function LE(t){const n={};return kn(t,(e,i)=>n[i]=`${e}`),n}function NE(t,n,e){return t==e.path&&Dr(n,e.parameters)}class W5{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),Qg(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=La(e);n.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,r[o],i),delete r[o]}),kn(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=La(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=La(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=La(e);n.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],i),this.forwardEvent(new h5(s.value.snapshot))}),n.children.length&&this.forwardEvent(new d5(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,s=e?e.value:null;if(Qg(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),Qg(a.route.value),this.activateChildRoutes(n,null,o.children)}else{const a=function q5(t){for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),l=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(n,null,o.children)}}else this.activateChildRoutes(n,null,i)}}class e_{constructor(n,e){this.routes=n,this.module=e}}function Ts(t){return"function"==typeof t}function po(t){return t instanceof ho}const vc=Symbol("INITIAL_VALUE");function yc(){return As(t=>function Q3(...t){const n=ol(t),e=Dy(t),{args:i,keys:r}=KD(t);if(0===i.length)return xn([],n);const s=new Ye(function K3(t,n,e=nn){return i=>{iE(n,()=>{const{length:r}=t,s=new Array(r);let o=r,a=r;for(let l=0;l{const c=xn(t[l],n);let d=!1;c.subscribe(bt(i,u=>{s[l]=u,d||(d=!0,a--),a||i.next(e(s.slice()))},()=>{--o||i.complete()}))},i)},i)}}(i,n,r?o=>ZD(r,o):nn));return e?s.pipe(gg(e)):s}(t.map(n=>n.pipe(Nn(1),Pi(vc)))).pipe(sE((n,e)=>{let i=!1;return e.reduce((r,s,o)=>r!==vc?r:(s===vc&&(i=!0),i||!1!==s&&o!==e.length-1&&!po(s)?r:s),n)},vc),jt(n=>n!==vc),Le(n=>po(n)?n:!0===n),Nn(1)))}class J5{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new bc,this.attachRef=null}}class bc{constructor(){this.contexts=new Map}onChildOutletCreated(n,e){const i=this.getOrCreateContext(n);i.outlet=e,this.contexts.set(n,i)}onChildOutletDestroyed(n){const e=this.getContext(n);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let e=this.getContext(n);return e||(e=new J5,this.contexts.set(n,e)),e}getContext(n){return this.contexts.get(n)||null}}let Hu=(()=>{class t{constructor(e,i,r,s,o){this.parentContexts=e,this.location=i,this.resolver=r,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new be,this.deactivateEvents=new be,this.attachEvents=new be,this.detachEvents=new be,this.name=s||Ze,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");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 Error("Cannot activate an already activated outlet");this._activatedRoute=e;const o=(i=i||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new ej(e,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(p(bc),p(_n),p(Gr),pi("name"),p(kt))},t.\u0275dir=I({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),t})();class ej{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Na?this.route:n===bc?this.childContexts:this.parent.get(n,e)}}let BE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,i){1&e&&ge(0,"router-outlet")},directives:[Hu],encapsulation:2}),t})();function VE(t,n=""){for(let e=0;eLi(i)===n);return e.push(...t.filter(i=>Li(i)!==n)),e}const jE={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ju(t,n,e){var i;if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?Object.assign({},jE):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(n.matcher||m5)(e,t,n);if(!s)return Object.assign({},jE);const o={};kn(s.posParams,(l,c)=>{o[c]=l.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function zu(t,n,e,i,r="corrected"){if(e.length>0&&function sj(t,n,e){return e.some(i=>Uu(t,n,i)&&Li(i)!==Ze)}(t,e,i)){const o=new tt(n,function rj(t,n,e,i){const r={};r[Ze]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&Li(s)!==Ze){const o=new tt([],{});o._sourceSegment=t,o._segmentIndexShift=n.length,r[Li(s)]=o}return r}(t,n,i,new tt(e,t.children)));return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function oj(t,n,e){return e.some(i=>Uu(t,n,i))}(t,e,i)){const o=new tt(t.segments,function ij(t,n,e,i,r,s){const o={};for(const a of i)if(Uu(t,e,a)&&!r[Li(a)]){const l=new tt([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===s?t.segments.length:n.length,o[Li(a)]=l}return Object.assign(Object.assign({},r),o)}(t,n,e,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}const s=new tt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}function Uu(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function zE(t,n,e,i){return!!(Li(t)===i||i!==Ze&&Uu(n,e,t))&&("**"===t.path||ju(n,t,e).matched)}function UE(t,n,e){return 0===n.length&&!t.children[e]}class Gu{constructor(n){this.segmentGroup=n||null}}class GE{constructor(n){this.urlTree=n}}function xc(t){return hc(new Gu(t))}function $E(t){return hc(new GE(t))}class dj{constructor(n,e,i,r,s){this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=n.get($r)}apply(){const n=zu(this.urlTree.root,[],[],this.config).segmentGroup,e=new tt(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Ze).pipe(Le(s=>this.createUrlTree(n_(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Kr(s=>{if(s instanceof GE)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Gu?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.ngModule,this.config,n.root,Ze).pipe(Le(r=>this.createUrlTree(n_(r),n.queryParams,n.fragment))).pipe(Kr(r=>{throw r instanceof Gu?this.noMatchError(r):r}))}noMatchError(n){return new Error(`Cannot match any routes. URL Segment: '${n.segmentGroup}'`)}createUrlTree(n,e,i){const r=n.segments.length>0?new tt([],{[Ze]:n}):n;return new ho(r,e,i)}expandSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(Le(s=>new tt([],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 xn(r).pipe(Ia(s=>{const o=i.children[s],a=HE(e,s);return this.expandSegmentGroup(n,a,o,s).pipe(Le(l=>({segment:l,outlet:s})))}),sE((s,o)=>(s[o.outlet]=o.segment,s),{}),function t5(t,n){const e=arguments.length>=2;return i=>i.pipe(t?jt((r,s)=>t(r,s,i)):nn,zg(1),e?aE(n):oE(()=>new Iu))}())}expandSegment(n,e,i,r,s,o){return xn(i).pipe(Ia(a=>this.expandSegmentAgainstRoute(n,e,i,a,r,s,o).pipe(Kr(c=>{if(c instanceof Gu)return De(null);throw c}))),Oa(a=>!!a),Kr((a,l)=>{if(a instanceof Iu||"EmptyError"===a.name)return UE(e,r,s)?De(new tt([],{})):xc(e);throw a}))}expandSegmentAgainstRoute(n,e,i,r,s,o,a){return zE(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):xc(e):xc(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("/")?$E(s):this.lineralizeSegments(i,s).pipe(fn(o=>{const a=new tt(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:d}=ju(e,r,s);if(!a)return xc(e);const u=this.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?$E(u):this.lineralizeSegments(r,u).pipe(fn(m=>this.expandSegment(n,e,i,m.concat(c),o,!1)))}matchSegmentAgainstRoute(n,e,i,r,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?De(i._loadedConfig):this.configLoader.load(n.injector,i)).pipe(Le(u=>(i._loadedConfig=u,new tt(r,{})))):De(new tt(r,{}));const{matched:o,consumedSegments:a,remainingSegments:l}=ju(e,i,r);return o?this.getChildConfig(n,i,r).pipe(fn(d=>{const u=d.module,m=d.routes,{segmentGroup:g,slicedSegments:v}=zu(e,a,l,m),C=new tt(g.segments,g.children);if(0===v.length&&C.hasChildren())return this.expandChildren(u,m,C).pipe(Le(z=>new tt(a,z)));if(0===m.length&&0===v.length)return De(new tt(a,{}));const S=Li(i)===s;return this.expandSegment(u,C,m,v,S?Ze:s,!0).pipe(Le(D=>new tt(a.concat(D.segments),D.children)))})):xc(e)}getChildConfig(n,e,i){return e.children?De(new e_(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?De(e._loadedConfig):this.runCanLoadGuards(n.injector,e,i).pipe(fn(r=>r?this.configLoader.load(n.injector,e).pipe(Le(s=>(e._loadedConfig=s,s))):function lj(t){return hc(Gg(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`))}(e))):De(new e_([],n))}runCanLoadGuards(n,e,i){const r=e.canLoad;return r&&0!==r.length?De(r.map(o=>{const a=n.get(o);let l;if(function Q5(t){return t&&Ts(t.canLoad)}(a))l=a.canLoad(e,i);else{if(!Ts(a))throw new Error("Invalid CanLoad guard");l=a(e,i)}return Mr(l)})).pipe(yc(),Dn(o=>{if(!po(o))return;const a=Gg(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),Le(o=>!0===o)):De(!0)}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return De(i);if(r.numberOfChildren>1||!r.children[Ze])return hc(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n.redirectTo}'`));r=r.children[Ze]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreatreUrlTree(n,e,i,r){const s=this.createSegmentGroup(n,e.root,i,r);return new ho(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return kn(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 kn(e.children,(a,l)=>{o[l]=this.createSegmentGroup(n,a,i,r)}),new tt(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 Error(`Cannot redirect to '${n}'. Cannot find '${e.path}'.`);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}}function n_(t){const n={};for(const i of Object.keys(t.children)){const s=n_(t.children[i]);(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function uj(t){if(1===t.numberOfChildren&&t.children[Ze]){const n=t.children[Ze];return new tt(t.segments.concat(n.segments),n.children)}return t}(new tt(t.segments,n))}class WE{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class $u{constructor(n,e){this.component=n,this.route=e}}function fj(t,n,e){const i=t._root;return Cc(i,n?n._root:null,e,[i.value])}function Wu(t,n,e){const i=function mj(t){if(!t)return null;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(n);return(i?i.module.injector:e).get(t)}function Cc(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=La(n);return t.children.forEach(o=>{(function gj(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 _j(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!fo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!fo(t.url,n.url)||!Dr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Kg(t,n)||!Dr(t.queryParams,n.queryParams);default:return!Kg(t,n)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new WE(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Cc(t,n,s.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new $u(a.outlet.component,o))}else o&&wc(n,a,r),r.canActivateChecks.push(new WE(i)),Cc(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]}),kn(s,(o,a)=>wc(o,e.getContext(a),r)),r}function wc(t,n,e){const i=La(t),r=t.value;kn(i,(s,o)=>{wc(s,r.component?n?n.children.getContext(o):null:n,e)}),e.canDeactivateChecks.push(new $u(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}class Ej{}function qE(t){return new Ye(n=>n.error(t))}class Aj{constructor(n,e,i,r,s,o){this.rootComponentType=n,this.config=e,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const n=zu(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,Ze);if(null===e)return null;const i=new Nu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ze,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Xr(i,e),s=new IE(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(n){const e=n.value,i=kE(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){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,i)}processChildren(n,e){const i=[];for(const s of Object.keys(e.children)){const o=e.children[s],a=HE(n,s),l=this.processSegmentGroup(a,o,s);if(null===l)return null;i.push(...l)}const r=YE(i);return function Tj(t){t.sort((n,e)=>n.value.outlet===Ze?-1:e.value.outlet===Ze?1:n.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(n,e,i,r){for(const s of n){const o=this.processSegmentAgainstRoute(s,e,i,r);if(null!==o)return o}return UE(e,i,r)?[]:null}processSegmentAgainstRoute(n,e,i,r){if(n.redirectTo||!zE(n,e,i,r))return null;let s,o=[],a=[];if("**"===n.path){const g=i.length>0?gE(i).parameters:{};s=new Nu(i,g,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ZE(n),Li(n),n.component,n,QE(e),KE(e)+i.length,XE(n))}else{const g=ju(e,n,i);if(!g.matched)return null;o=g.consumedSegments,a=g.remainingSegments,s=new Nu(o,g.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ZE(n),Li(n),n.component,n,QE(e),KE(e)+o.length,XE(n))}const l=function kj(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(n),{segmentGroup:c,slicedSegments:d}=zu(e,o,a,l.filter(g=>void 0===g.redirectTo),this.relativeLinkResolution);if(0===d.length&&c.hasChildren()){const g=this.processChildren(l,c);return null===g?null:[new Xr(s,g)]}if(0===l.length&&0===d.length)return[new Xr(s,[])];const u=Li(n)===r,m=this.processSegment(l,c,d,u?Ze:r);return null===m?null:[new Xr(s,m)]}}function Ij(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function YE(t){const n=[],e=new Set;for(const i of t){if(!Ij(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=YE(i.children);n.push(new Xr(i.value,r))}return n.filter(i=>!e.has(i))}function QE(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function KE(t){let n=t,e=n._segmentIndexShift?n._segmentIndexShift:0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift?n._segmentIndexShift:0;return e-1}function ZE(t){return t.data||{}}function XE(t){return t.resolve||{}}function JE(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function i_(t){return As(n=>{const e=t(n);return e?xn(e).pipe(Le(()=>n)):De(n)})}class Vj extends class Bj{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const r_=new j("ROUTES");class eS{constructor(n,e,i,r){this.injector=n,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=r}load(n,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe(Le(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const o=s.create(n);return new e_(mE(o.injector.get(r_,void 0,Ne.Self|Ne.Optional)).map(t_),o)}),Kr(s=>{throw e._loader$=void 0,s}));return e._loader$=new X3(r,()=>new q).pipe(rE()),e._loader$}loadModuleFactory(n){return Mr(n()).pipe(fn(e=>e instanceof XC?De(e):xn(this.compiler.compileModuleAsync(e))))}}class jj{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function zj(t){throw t}function Uj(t,n,e){return n.parse("/")}function tS(t,n){return De(null)}const Gj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$j={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let en=(()=>{class t{constructor(e,i,r,s,o,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new q,this.errorHandler=zj,this.malformedUriErrorHandler=Uj,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:tS,afterPreactivation:tS},this.urlHandlingStrategy=new jj,this.routeReuseStrategy=new Vj,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get($r),this.console=o.get(Pw);const u=o.get(_e);this.isNgZoneEnabled=u instanceof _e&&_e.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function _5(){return new ho(new tt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new eS(o,a,m=>this.triggerEvent(new dE(m)),m=>this.triggerEvent(new uE(m))),this.routerState=TE(this.currentUrlTree,this.rootComponentType),this.transitions=new ai({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(jt(r=>0!==r.id),Le(r=>Object.assign(Object.assign({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),As(r=>{let s=!1,o=!1;return De(r).pipe(Dn(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),As(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return nS(a.source)&&(this.browserUrlTree=a.extractedUrl),De(a).pipe(As(u=>{const m=this.transitions.getValue();return i.next(new Ug(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),m!==this.transitions.getValue()?Ui:Promise.resolve(u)}),function hj(t,n,e,i){return As(r=>function cj(t,n,e,i,r){return new dj(t,n,e,i,r).apply()}(t,n,e,r.extractedUrl,i).pipe(Le(s=>Object.assign(Object.assign({},r),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Dn(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function Rj(t,n,e,i,r){return fn(s=>function Sj(t,n,e,i,r="emptyOnly",s="legacy"){try{const o=new Aj(t,n,e,i,r,s).recognize();return null===o?qE(new Ej):De(o)}catch(o){return qE(o)}}(t,n,s.urlAfterRedirects,e(s.urlAfterRedirects),i,r).pipe(Le(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),Dn(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const g=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(g,u)}this.browserUrlTree=u.urlAfterRedirects}const m=new r5(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);i.next(m)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:m,extractedUrl:g,source:v,restoredState:C,extras:S}=a,k=new Ug(m,this.serializeUrl(g),v,C);i.next(k);const D=TE(g,this.rootComponentType).snapshot;return De(Object.assign(Object.assign({},a),{targetSnapshot:D,urlAfterRedirects:g,extras:Object.assign(Object.assign({},S),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Ui}),i_(a=>{const{targetSnapshot:l,id:c,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:m,replaceUrl:g}}=a;return this.hooks.beforePreactivation(l,{navigationId:c,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!m,replaceUrl:!!g})}),Dn(a=>{const l=new s5(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),Le(a=>Object.assign(Object.assign({},a),{guards:fj(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function vj(t,n){return fn(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?De(Object.assign(Object.assign({},e),{guardsResult:!0})):function yj(t,n,e,i){return xn(t).pipe(fn(r=>function Mj(t,n,e,i,r){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?De(s.map(a=>{const l=Wu(a,n,r);let c;if(function X5(t){return t&&Ts(t.canDeactivate)}(l))c=Mr(l.canDeactivate(t,n,e,i));else{if(!Ts(l))throw new Error("Invalid CanDeactivate guard");c=Mr(l(t,n,e,i))}return c.pipe(Oa())})).pipe(yc()):De(!0)}(r.component,r.route,e,n,i)),Oa(r=>!0!==r,!0))}(o,i,r,t).pipe(fn(a=>a&&function Y5(t){return"boolean"==typeof t}(a)?function bj(t,n,e,i){return xn(n).pipe(Ia(r=>Hg(function Cj(t,n){return null!==t&&n&&n(new c5(t)),De(!0)}(r.route.parent,i),function xj(t,n){return null!==t&&n&&n(new u5(t)),De(!0)}(r.route,i),function Dj(t,n,e){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>function pj(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=>jg(()=>De(o.guards.map(l=>{const c=Wu(l,o.node,e);let d;if(function Z5(t){return t&&Ts(t.canActivateChild)}(c))d=Mr(c.canActivateChild(i,t));else{if(!Ts(c))throw new Error("Invalid CanActivateChild guard");d=Mr(c(i,t))}return d.pipe(Oa())})).pipe(yc())));return De(s).pipe(yc())}(t,r.path,e),function wj(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return De(!0);const r=i.map(s=>jg(()=>{const o=Wu(s,n,e);let a;if(function K5(t){return t&&Ts(t.canActivate)}(o))a=Mr(o.canActivate(n,t));else{if(!Ts(o))throw new Error("Invalid CanActivate guard");a=Mr(o(n,t))}return a.pipe(Oa())}));return De(r).pipe(yc())}(t,r.route,e))),Oa(r=>!0!==r,!0))}(i,s,t,n):De(a)),Le(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Dn(a=>{if(po(a.guardsResult)){const c=Gg(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw c.url=a.guardsResult,c}const l=new o5(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),jt(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),i_(a=>{if(a.guards.canActivateChecks.length)return De(a).pipe(Dn(l=>{const c=new a5(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),As(l=>{let c=!1;return De(l).pipe(function Fj(t,n){return fn(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return De(e);let s=0;return xn(r).pipe(Ia(o=>function Oj(t,n,e,i){return function Pj(t,n,e,i){const r=JE(t);if(0===r.length)return De({});const s={};return xn(r).pipe(fn(o=>function Lj(t,n,e,i){const r=Wu(t,n,i);return Mr(r.resolve?r.resolve(n,e):r(n,e))}(t[o],n,e,i).pipe(Dn(a=>{s[o]=a}))),zg(1),fn(()=>JE(s).length===r.length?De(s):Ui))}(t._resolve,t,n,i).pipe(Le(s=>(t._resolvedData=s,t.data=Object.assign(Object.assign({},t.data),kE(t,e).resolve),null)))}(o.route,i,t,n)),Dn(()=>s++),zg(1),fn(o=>s===r.length?De(e):Ui))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Dn({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),Dn(l=>{const c=new l5(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),i_(a=>{const{targetSnapshot:l,id:c,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:m,replaceUrl:g}}=a;return this.hooks.afterPreactivation(l,{navigationId:c,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!m,replaceUrl:!!g})}),Le(a=>{const l=function P5(t,n,e){const i=gc(t,n._root,e?e._root:void 0);return new AE(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),Dn(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((t,n,e)=>Le(i=>(new W5(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Dn({next(){s=!0},complete(){s=!0}}),lE(()=>{var a;s||o||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===r.id&&(this.currentNavigation=null)}),Kr(a=>{if(o=!0,function p5(t){return t&&t[fE]}(a)){const l=po(a.url);l||(this.navigated=!0,this.restoreHistory(r,!0));const c=new cE(r.id,this.serializeUrl(r.extractedUrl),a.message);i.next(c),l?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||nS(r.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new n5(r.id,this.serializeUrl(r.extractedUrl),a);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return Ui}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var r;const s={replaceUrl:!0},o=(null===(r=e.state)||void 0===r?void 0:r.navigationId)?e.state:null;if(o){const l=Object.assign({},o);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){VE(e),this.config=e.map(t_),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,d=l?this.currentUrlTree.fragment:o;let u=null;switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}return null!==u&&(u=this.removeEmptyProps(u)),function B5(t,n,e,i,r){if(0===e.length)return Zg(n.root,n.root,n.root,i,r);const s=function V5(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new OE(!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 kn(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 OE(e,n,i)}(e);if(s.toRoot())return Zg(n.root,n.root,new tt([],{}),i,r);const o=function H5(t,n,e){if(t.isAbsolute)return new Xg(n.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new Xg(s,s===n.root,0)}const i=Bu(t.commands[0])?0:1;return function j5(t,n,e){let i=t,r=n,s=e;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new Xg(i,!1,r-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,n,t),a=o.processChildren?Vu(o.segmentGroup,o.index,s.commands):PE(o.segmentGroup,o.index,s.commands);return Zg(n.root,o.segmentGroup,a,i,r)}(c,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=po(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function Wj(t){for(let n=0;n{const s=e[r];return null!=s&&(i[r]=s),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new fc(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,s,o){var a,l;if(this.disposed)return Promise.resolve(!1);let c,d,u;o?(c=o.resolve,d=o.reject,u=o.promise):u=new Promise((v,C)=>{c=v,d=C});const m=++this.navigationId;let g;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),g=r&&r.\u0275routerPageId?r.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):g=0,this.setTransition({id:m,targetPageId:g,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:c,reject:d,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(v=>Promise.reject(v))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},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){var r,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}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))}cancelNavigationTransition(e,i){const r=new cE(e.id,this.serializeUrl(e.extractedUrl),i);this.triggerEvent(r),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){Pl()},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function nS(t){return"imperative"!==t}let qu=(()=>{class t{constructor(e,i,r,s,o){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=s,this.el=o,this.commands=null,this.onChanges=new q,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,r=this.el.nativeElement;null!==e?i.setAttribute(r,"tabindex",e):i.removeAttribute(r,"tabindex")}ngOnChanges(e){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(){if(null===this.urlTree)return!0;const e={skipLocationChange:Ba(this.skipLocationChange),replaceUrl:Ba(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}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:Ba(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(p(en),p(Na),pi("tabindex"),p(nr),p(Y))},t.\u0275dir=I({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&we("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[Wt]}),t})();function Ba(t){return""===t||!!t}class iS{}class rS{preload(n,e){return De(null)}}let sS=(()=>{class t{constructor(e,i,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new eS(r,i,l=>e.triggerEvent(new dE(l)),l=>e.triggerEvent(new uE(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(jt(e=>e instanceof fc),Ia(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get($r);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const s of i)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;r.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?r.push(this.preloadConfig(e,s)):s.children&&r.push(this.processRoutes(e,s.children));return xn(r).pipe(sl(),Le(s=>{}))}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>(i._loadedConfig?De(i._loadedConfig):this.loader.load(e.injector,i)).pipe(fn(s=>(i._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(w(en),w(Lw),w(Vt),w(iS))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),o_=(()=>{class t{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Ug?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof fc&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof hE&&(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.router.triggerEvent(new hE(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){Pl()},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const mo=new j("ROUTER_CONFIGURATION"),oS=new j("ROUTER_FORROOT_GUARD"),Kj=[Kl,{provide:CE,useClass:wE},{provide:en,useFactory:function t8(t,n,e,i,r,s,o={},a,l){const c=new en(null,t,n,e,i,r,mE(s));return a&&(c.urlHandlingStrategy=a),l&&(c.routeReuseStrategy=l),function n8(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(o,c),o.enableTracing&&c.events.subscribe(d=>{var u,m;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(m=console.groupEnd)||void 0===m||m.call(console)}),c},deps:[CE,bc,Kl,Vt,Lw,r_,mo,[class Hj{},new ii],[class Nj{},new ii]]},bc,{provide:Na,useFactory:function r8(t){return t.routerState.root},deps:[en]},sS,rS,class Qj{preload(n,e){return e().pipe(Kr(()=>De(null)))}},{provide:mo,useValue:{enableTracing:!1}}];function Zj(){return new jw("Router",en)}let a_=(()=>{class t{constructor(e,i){}static forRoot(e,i){return{ngModule:t,providers:[Kj,aS(e),{provide:oS,useFactory:e8,deps:[[en,new ii,new jr]]},{provide:mo,useValue:i||{}},{provide:Ta,useFactory:Jj,deps:[oo,[new Cd(zm),new ii],mo]},{provide:o_,useFactory:Xj,deps:[en,KV,mo]},{provide:iS,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:rS},{provide:jw,multi:!0,useFactory:Zj},[l_,{provide:Sm,multi:!0,useFactory:s8,deps:[l_]},{provide:lS,useFactory:o8,deps:[l_]},{provide:km,multi:!0,useExisting:lS}]]}}static forChild(e){return{ngModule:t,providers:[aS(e)]}}}return t.\u0275fac=function(e){return new(e||t)(w(oS,8),w(en,8))},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})();function Xj(t,n,e){return e.scrollOffset&&n.setOffset(e.scrollOffset),new o_(t,n,e)}function Jj(t,n,e={}){return e.useHash?new PB(t,n):new aD(t,n)}function e8(t){return"guarded"}function aS(t){return[{provide:wR,multi:!0,useValue:t},{provide:r_,multi:!0,useValue:t}]}let l_=(()=>{class t{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new q}appInitializer(){return this.injector.get(RB,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let i=null;const r=new Promise(a=>i=a),s=this.injector.get(en),o=this.injector.get(mo);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),i(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?De(null):(this.initNavigation=!0,i(!0),this.resultOfPreactivationDone),s.initialNavigation()):i(!0),r})}bootstrapListener(e){const i=this.injector.get(mo),r=this.injector.get(sS),s=this.injector.get(o_),o=this.injector.get(en),a=this.injector.get(Aa);e===a.components[0]&&(("enabledNonBlocking"===i.initialNavigation||void 0===i.initialNavigation)&&o.initialNavigation(),r.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(w(Vt))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function s8(t){return t.appInitializer.bind(t)}function o8(t){return t.bootstrapListener.bind(t)}const lS=new j("Router Initializer"),l8=new j("cdk-dir-doc",{providedIn:"root",factory:function c8(){return Ks(Se)}}),d8=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let c_,Kn=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new be,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function u8(t){const n=(null==t?void 0:t.toLowerCase())||"";return"auto"===n&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?d8.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(w(l8,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),go=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})();try{c_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(t){c_=!1}let Va,dn=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ws(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c_)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(w(ri))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const dS=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function uS(){if(Va)return Va;if("object"!=typeof document||!document)return Va=new Set(dS),Va;let t=document.createElement("input");return Va=new Set(dS.filter(n=>(t.setAttribute("type",n),t.type===n))),Va}let Dc,Yu,vo,d_;function _o(t){return function h8(){if(null==Dc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Dc=!0}))}finally{Dc=Dc||!1}return Dc}()?t:!!t.capture}function hS(){if(null==vo){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return vo=!1,vo;if("scrollBehavior"in document.documentElement.style)vo=!0;else{const t=Element.prototype.scrollTo;vo=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return vo}function Mc(){if("object"!=typeof document||!document)return 0;if(null==Yu){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Yu=0,0===t.scrollLeft&&(t.scrollLeft=1,Yu=0===t.scrollLeft?1:2),t.remove()}return Yu}function fS(t){if(function f8(){if(null==d_){const t="undefined"!=typeof document?document.head:null;d_=!(!t||!t.createShadowRoot&&!t.attachShadow)}return d_}()){const n=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function u_(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function yo(t){return t.composedPath?t.composedPath()[0]:t.target}function h_(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function bo(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class M8 extends W{constructor(n,e){super()}schedule(n,e=0){return this}}const Qu={setInterval(t,n,...e){const{delegate:i}=Qu;return(null==i?void 0:i.setInterval)?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=Qu;return((null==n?void 0:n.clearInterval)||clearInterval)(t)},delegate:void 0};class m_ extends M8{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const r=this.id,s=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(s,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(s,this.id,e),this}requestAsyncId(n,e,i=0){return Qu.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Qu.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r,i=!1;try{this.work(n)}catch(s){i=!0,r=s||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,he(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const CS={now:()=>(CS.delegate||Date).now(),delegate:void 0};class Ec{constructor(n,e=Ec.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}Ec.now=CS.now;class g_ extends Ec{constructor(n,e=Ec.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const __=new g_(m_),E8=__;function v_(t,n=__){return Mt((e,i)=>{let r=null,s=null,o=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=s;s=null,i.next(c)}};function l(){const c=o+t,d=n.now();if(d{s=c,o=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{s=r=null}))})}function wS(t){return jt((n,e)=>t<=e)}function y_(t,n=nn){return t=null!=t?t:S8,Mt((e,i)=>{let r,s=!0;e.subscribe(bt(i,o=>{const a=n(o);(s||!t(r,a))&&(s=!1,r=a,i.next(o))}))})}function S8(t,n){return t===n}function nt(t){return Mt((n,e)=>{ei(t).subscribe(bt(e,()=>e.complete(),Oe)),!e.closed&&n.subscribe(e)})}function Re(t){return null!=t&&"false"!=`${t}`}function Bn(t,n=0){return function A8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function DS(t){return Array.isArray(t)?t:[t]}function un(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Jr(t){return t instanceof Y?t.nativeElement:t}let MS=(()=>{class t{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),T8=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Jr(e);return new Ye(r=>{const o=this._observeElement(i).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new q,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(w(MS))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ku=(()=>{class t{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new be,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Re(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Bn(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(v_(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(p(T8),p(Y),p(_e))},t.\u0275dir=I({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Sc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[MS]}),t})();class AS extends class R8{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new q,this._typeaheadSubscription=W.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new q,this.change=new q,n instanceof io&&n.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Dn(e=>this._pressedLetters.push(e)),v_(n),jt(()=>this._pressedLetters.length>0),Le(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||bo(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n),r=e[i];this._activeItem=null==r?null:r,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof io?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let b_=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function O8(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function F8(t){try{return t.frameElement}catch(n){return null}}(function z8(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===kS(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),s=kS(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function H8(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==s:"video"===r?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function j8(t){return!function L8(t){return function B8(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function P8(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function N8(t){return function V8(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||TS(t))}(e)&&!this.isDisabled(e)&&((null==i?void 0:i.ignoreVisibility)||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(w(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function TS(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function kS(t){if(!TS(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class U8{constructor(n,e,i,r,s=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return null==i||i.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Nn(1)).subscribe(n)}}let IS=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new U8(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(w(b_),w(_e),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function RS(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function FS(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const G8=new j("cdk-input-modality-detector-options"),$8={ignoreKeys:[18,17,224,91,16]},Ha=_o({passive:!0,capture:!0});let W8=(()=>{class t{constructor(e,i,r,s){this._platform=e,this._mostRecentTarget=null,this._modality=new ai(null),this._lastTouchMs=0,this._onKeydown=o=>{var a,l;(null===(l=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===l?void 0:l.some(c=>c===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=yo(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(RS(o)?"keyboard":"mouse"),this._mostRecentTarget=yo(o))},this._onTouchstart=o=>{FS(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=yo(o))},this._options=Object.assign(Object.assign({},$8),s),this.modalityDetected=this._modality.pipe(wS(1)),this.modalityChanged=this.modalityDetected.pipe(y_()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ha),r.addEventListener("mousedown",this._onMousedown,Ha),r.addEventListener("touchstart",this._onTouchstart,Ha)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ha),document.removeEventListener("mousedown",this._onMousedown,Ha),document.removeEventListener("touchstart",this._onTouchstart,Ha))}}return t.\u0275fac=function(e){return new(e||t)(w(dn),w(_e),w(Se),w(G8,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Y8=new j("cdk-focus-monitor-default-options"),Zu=_o({passive:!0,capture:!0});let Er=(()=>{class t{constructor(e,i,r,s,o){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new q,this._rootNodeFocusAndBlurListener=a=>{const l=yo(a),c="focus"===a.type?this._onFocus:this._onBlur;for(let d=l;d;d=d.parentElement)c.call(this,a,d)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(e,i=!1){const r=Jr(e);if(!this._platform.isBrowser||1!==r.nodeType)return De(null);const s=fS(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;const a={checkChildren:i,subject:new q,rootNode:s};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Jr(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const s=Jr(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),s=yo(e);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(e,i){this._ngZone.run(()=>e.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zu)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(nt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,s)=>{(s===e||r.checkChildren&&s.contains(e))&&i.push([s,r])}),i}}return t.\u0275fac=function(e){return new(e||t)(w(_e),w(dn),w(W8),w(Se,8),w(Y8,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Q8=(()=>{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this.cdkFocusChange=new be}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>this.cdkFocusChange.emit(i))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Er))},t.\u0275dir=I({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const PS="cdk-high-contrast-black-on-white",LS="cdk-high-contrast-white-on-black",x_="cdk-high-contrast-active";let NS=(()=>{class t{constructor(e,i){this._platform=e,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(x_),e.remove(PS),e.remove(LS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(e.add(x_),e.add(PS)):2===i&&(e.add(x_),e.add(LS))}}}return t.\u0275fac=function(e){return new(e||t)(w(dn),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),BS=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(w(NS))},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Sc]]}),t})();class VS{}const es="*";function Vn(t,n){return{type:7,name:t,definitions:n,options:{}}}function It(t,n=null){return{type:4,styles:n,timings:t}}function HS(t,n=null){return{type:3,steps:t,options:n}}function jS(t,n=null){return{type:2,steps:t,options:n}}function xe(t){return{type:6,styles:t,offset:null}}function lt(t,n,e){return{type:0,name:t,styles:n,options:e}}function Dt(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Xu(t=null){return{type:9,options:t}}function Ju(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function zS(t){Promise.resolve(null).then(t)}class Tc{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],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._onStartFns.push(n)}onDone(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(){zS(()=>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}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 US{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?zS(()=>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 it=!1;function GS(t){return new le(3e3,it)}function I4(){return"undefined"!=typeof window&&void 0!==window.document}function w_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ks(t){switch(t.length){case 0:return new Tc;case 1:return t[0];default:return new US(t)}}function $S(t,n,e,i,r={},s={}){const o=[],a=[];let l=-1,c=null;if(i.forEach(d=>{const u=d.offset,m=u==l,g=m&&c||{};Object.keys(d).forEach(v=>{let C=v,S=d[v];if("offset"!==v)switch(C=n.normalizePropertyName(C,o),S){case"!":S=r[v];break;case es:S=s[v];break;default:S=n.normalizeStyleValue(v,C,S,o)}g[C]=S}),m||a.push(g),c=g,l=u}),o.length)throw function b4(t){return new le(3502,it)}();return a}function D_(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&M_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&M_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&M_(e,"destroy",t)))}}function M_(t,n,e){const i=e.totalTime,s=E_(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,null==i?t.totalTime:i,!!e.disabled),o=t._data;return null!=o&&(s._data=o),s}function E_(t,n,e,i,r="",s=0,o){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function yi(t,n,e){let i;return t instanceof Map?(i=t.get(n),i||t.set(n,i=e)):(i=t[n],i||(i=t[n]=e)),i}function WS(t){const n=t.indexOf(":");return[t.substring(1,n),t.substr(n+1)]}let S_=(t,n)=>!1,qS=(t,n,e)=>[],YS=null;function A_(t){const n=t.parentNode||t.host;return n===YS?null:n}(w_()||"undefined"!=typeof Element)&&(I4()?(YS=(()=>document.documentElement)(),S_=(t,n)=>{for(;n;){if(n===t)return!0;n=A_(n)}return!1}):S_=(t,n)=>t.contains(n),qS=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let xo=null,QS=!1;function KS(t){xo||(xo=function F4(){return"undefined"!=typeof document?document.body:null}()||{},QS=!!xo.style&&"WebkitAppearance"in xo.style);let n=!0;return xo.style&&!function R4(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in xo.style,!n&&QS&&(n="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in xo.style)),n}const ZS=S_,XS=qS;let JS=(()=>{class t{validateStyleProperty(e){return KS(e)}matchesElement(e,i){return!1}containsElement(e,i){return ZS(e,i)}getParentElement(e){return A_(e)}query(e,i,r){return XS(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,s,o,a=[],l){return new Tc(r,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),T_=(()=>{class t{}return t.NOOP=new JS,t})();const k_="ng-enter",th="ng-leave",nh="ng-trigger",ih=".ng-trigger",tA="ng-animating",I_=".ng-animating";function Co(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:R_(parseFloat(n[1]),n[2])}function R_(t,n){return"s"===n?1e3*t:t}function rh(t,n,e){return t.hasOwnProperty("duration")?t:function L4(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(GS()),{duration:0,delay:0,easing:""};r=R_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=R_(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 Z8(){return new le(3100,it)}()),a=!0),s<0&&(n.push(function X8(){return new le(3101,it)}()),a=!0),a&&n.splice(l,0,GS())}return{duration:r,delay:s,easing:o}}(t,n,e)}function ja(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function Is(t,n,e={}){if(n)for(let i in t)e[i]=t[i];else ja(t,e);return e}function iA(t,n,e){return e?n+":"+e+";":""}function rA(t){let n="";for(let e=0;e{const r=O_(i);e&&!e.hasOwnProperty(i)&&(e[i]=t.style[r]),t.style[r]=n[i]}),w_()&&rA(t))}function wo(t,n){t.style&&(Object.keys(n).forEach(e=>{const i=O_(e);t.style[i]=""}),w_()&&rA(t))}function kc(t){return Array.isArray(t)?1==t.length?t[0]:jS(t):t}const F_=new RegExp("{{\\s*(.+?)\\s*}}","g");function sA(t){let n=[];if("string"==typeof t){let e;for(;e=F_.exec(t);)n.push(e[1]);F_.lastIndex=0}return n}function sh(t,n,e){const i=t.toString(),r=i.replace(F_,(s,o)=>{let a=n[o];return n.hasOwnProperty(o)||(e.push(function e4(t){return new le(3003,it)}()),a=""),a.toString()});return r==i?t:r}function oh(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const B4=/-+([a-z0-9])/g;function O_(t){return t.replace(B4,(...n)=>n[1].toUpperCase())}function V4(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function bi(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 t4(t){return new le(3004,it)}()}}function oA(t,n){return window.getComputedStyle(t)[n]}function $4(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function W4(t,n,e){if(":"==t[0]){const l=function q4(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 m4(t){return new le(3015,it)}()),n;const r=i[1],s=i[2],o=i[3];n.push(aA(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&n.push(aA(o,r))}(i,e,n)):e.push(t),e}const dh=new Set(["true","1"]),uh=new Set(["false","0"]);function aA(t,n){const e=dh.has(t)||uh.has(t),i=dh.has(n)||uh.has(n);return(r,s)=>{let o="*"==t||t==r,a="*"==n||n==s;return!o&&e&&"boolean"==typeof r&&(o=r?dh.has(t):uh.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?dh.has(n):uh.has(n)),o&&a}}const Y4=new RegExp("s*:selfs*,?","g");function P_(t,n,e,i){return new Q4(t).build(n,e,i)}class Q4{constructor(n){this._driver=n}build(n,e,i){const r=new X4(e);this._resetContextStyleTimingState(r);const s=bi(this,kc(n),r);return r.unsupportedCSSPropertiesFound.size&&r.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},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 r4(){return new le(3006,it)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,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 s4(){return new le(3007,it)}())}),{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=>{if(hh(a)){const l=a;Object.keys(l).forEach(c=>{sA(l[c]).forEach(d=>{o.hasOwnProperty(d)||s.add(d)})})}}),s.size&&(oh(s.values()),e.errors.push(function o4(t,n){return new le(3008,it)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=bi(this,kc(n.animation),e);return{type:1,matchers:$4(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Do(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>bi(this,i,e)),options:Do(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const s=n.steps.map(o=>{e.currentTime=i;const a=bi(this,o,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:s,options:Do(n.options)}}visitAnimate(n,e){const i=function ez(t,n){let e=null;if(t.hasOwnProperty("duration"))e=t;else if("number"==typeof t)return L_(rh(t,n).duration,0,"");const i=t;if(i.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=L_(0,0,"");return s.dynamic=!0,s.strValue=i,s}return e=e||rh(i,n),L_(e.duration,e.delay,e.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,s=n.styles?n.styles:xe({});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=xe(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=[];Array.isArray(n.styles)?n.styles.forEach(o=>{"string"==typeof o?o==es?i.push(o):e.errors.push(function a4(t){return new le(3002,it)}()):i.push(o)}):i.push(n.styles);let r=!1,s=null;return i.forEach(o=>{if(hh(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!r)for(let c in a)if(a[c].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,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&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete o[a],void e.unsupportedCSSPropertiesFound.add(a);const l=e.collectedStyles[e.currentQuerySelector],c=l[a];let d=!0;c&&(s!=r&&s>=c.startTime&&r<=c.endTime&&(e.errors.push(function l4(t,n,e,i,r){return new le(3010,it)}()),d=!1),s=c.startTime),d&&(l[a]={startTime:s,endTime:r}),e.options&&function N4(t,n,e){const i=n.params||{},r=sA(t);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||e.push(function J8(t){return new le(3001,it)}())})}(o[a],e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function c4(){return new le(3011,it)}()),i;let s=0;const o=[];let a=!1,l=!1,c=0;const d=n.steps.map(k=>{const D=this._makeStyleAst(k,e);let z=null!=D.offset?D.offset:function J4(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(hh(e)&&e.hasOwnProperty("offset")){const i=e;n=parseFloat(i.offset),delete i.offset}});else if(hh(t)&&t.hasOwnProperty("offset")){const e=t;n=parseFloat(e.offset),delete e.offset}return n}(D.styles),J=0;return null!=z&&(s++,J=D.offset=z),l=l||J<0||J>1,a=a||J0&&s{const z=m>0?D==g?1:m*D:o[D],J=z*S;e.currentTime=v+C.delay+J,C.duration=J,this._validateStyleAst(k,e),k.offset=z,i.styles.push(k)}),i}visitReference(n,e){return{type:8,animation:bi(this,kc(n.animation),e),options:Do(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:Do(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Do(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[s,o]=function K4(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(Y4,"")),t=t.replace(/@\*/g,ih).replace(/@\w+/g,e=>ih+"-"+e.substr(1)).replace(/:animating/g,I_),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+s:s,yi(e.collectedStyles,e.currentQuerySelector,{});const a=bi(this,kc(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:Do(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function f4(){return new le(3013,it)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:rh(n.timings,e.errors,!0);return{type:12,animation:bi(this,kc(n.animation),e),timings:i,options:null}}}class X4{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={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function hh(t){return!Array.isArray(t)&&"object"==typeof t}function Do(t){return t?(t=ja(t)).params&&(t.params=function Z4(t){return t?ja(t):null}(t.params)):t={},t}function L_(t,n,e){return{duration:t,delay:n,easing:e}}function N_(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 fh{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 iz=new RegExp(":enter","g"),sz=new RegExp(":leave","g");function B_(t,n,e,i,r,s={},o={},a,l,c=[]){return(new oz).buildKeyframes(t,n,e,i,r,s,o,a,l,c)}class oz{buildKeyframes(n,e,i,r,s,o,a,l,c,d=[]){c=c||new fh;const u=new V_(n,e,c,r,s,d,[]);u.options=l,u.currentTimeline.setStyles([o],null,u.errors,l),bi(this,i,u);const m=u.timelines.filter(g=>g.containsAnimation());if(Object.keys(a).length){let g;for(let v=m.length-1;v>=0;v--){const C=m[v];if(C.element===e){g=C;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,u.errors,l)}return m.length?m.map(g=>g.buildKeyframes()):[N_(e,[],[],[],0,0,"",!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.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,i){let s=e.currentTimeline.currentTime;const o=null!=i.duration?Co(i.duration):null,a=null!=i.delay?Co(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),bi(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=ph);const o=Co(s.delay);r.delayNextStep(o)}n.steps.length&&(n.steps.forEach(o=>bi(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?Co(n.options.delay):0;n.steps.forEach(o=>{const a=e.createSubContext(n.options);s&&a.delayNextStep(s),bi(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 rh(e.params?sh(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.getCurrentStyleProperties().length&&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?Co(r.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ph);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,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(n.options,c);s&&u.delayNextStep(s),c===e.element&&(l=u.currentTimeline),bi(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,u.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 d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;bi(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const ph={};class V_{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=ph,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new mh(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=Co(i.duration)),null!=i.delay&&(r.delay=Co(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]=sh(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 V_(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=ph,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+n.delay,easing:""},s=new az(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(iz,"."+this._enterClassName)).replace(sz,"."+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 p4(t){return new le(3014,it)}()),a}}class mh{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),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.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new mh(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=Object.create(this._backFill,{}),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[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||es,this._currentKeyframe[e]=es}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},o=function lz(t,n){const e={};let i;return t.forEach(r=>{"*"===r?(i=i||Object.keys(n),i.forEach(s=>{e[s]=es})):Is(r,!1,e)}),e}(n,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=sh(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:es),this._updateStyle(a,l)})}applyStylesToKeyframe(){const n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(i=>{this._currentKeyframe[i]=n[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(n=>{const e=this._localTimelineStyles[n];this._pendingStyles[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){Object.keys(n._styleSummary).forEach(e=>{const i=this._styleSummary[e],r=n._styleSummary[e];(!i||r.time>i.time)&&this._updateStyle(e,r.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=Is(a,!0);Object.keys(c).forEach(d=>{const u=c[d];"!"==u?n.add(d):u==es&&e.add(d)}),i||(c.offset=l/this.duration),r.push(c)});const s=n.size?oh(n.values()):[],o=e.size?oh(e.values()):[];if(i){const a=r[0],l=ja(a);a.offset=0,l.offset=1,r=[a,l]}return N_(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class az extends mh{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=Is(n[0],!1);l.offset=0,s.push(l);const c=Is(n[0],!1);c.offset=dA(a),s.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let m=Is(n[u],!1);m.offset=dA((e+m.offset*i)/o),s.push(m)}i=o,e=0,r="",n=s}return N_(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function dA(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class H_{}class cz extends H_{normalizePropertyName(n,e){return O_(n)}normalizeStyleValue(n,e,i,r){let s="";const o=i.toString().trim();if(dz[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 n4(t,n){return new le(3005,it)}())}return o+s}}const dz=(()=>function uz(t){const n={};return t.forEach(e=>n[e]=!0),n}("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".split(",")))();function uA(t,n,e,i,r,s,o,a,l,c,d,u,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}const j_={};class hA{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function hz(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){const r=this._stateStyles["*"],s=this._stateStyles[n],o=r?r.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(n,e,i,r,s,o,a,l,c,d){const u=[],m=this.ast.options&&this.ast.options.params||j_,v=this.buildStyles(i,a&&a.params||j_,u),C=l&&l.params||j_,S=this.buildStyles(r,C,u),k=new Set,D=new Map,z=new Map,J="void"===r,Ce={params:Object.assign(Object.assign({},m),C)},ut=d?[]:B_(n,e,this.ast.animation,s,o,v,S,Ce,c,u);let gt=0;if(ut.forEach(hn=>{gt=Math.max(hn.duration+hn.delay,gt)}),u.length)return uA(e,this._triggerName,i,r,J,v,S,[],[],D,z,gt,u);ut.forEach(hn=>{const Ci=hn.element,el=yi(D,Ci,{});hn.preStyleProps.forEach(lr=>el[lr]=!0);const us=yi(z,Ci,{});hn.postStyleProps.forEach(lr=>us[lr]=!0),Ci!==e&&k.add(Ci)});const yn=oh(k.values());return uA(e,this._triggerName,i,r,J,v,S,ut,yn,D,z,gt)}}class fz{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i={},r=ja(this.defaultParams);return Object.keys(n).forEach(s=>{const o=n[s];null!=o&&(r[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=sh(l,r,e));const c=this.normalizer.normalizePropertyName(a,e);l=this.normalizer.normalizeStyleValue(a,c,l,e),i[c]=l})}}),i}}class mz{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new fz(r.style,r.options&&r.options.params||{},i)}),fA(this.states,"true","1"),fA(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new hA(n,r,this.states))}),this.fallbackTransition=function gz(t,n,e){return new hA(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 fA(t,n,e){t.hasOwnProperty(n)?t.hasOwnProperty(e)||(t[e]=t[n]):t.hasOwnProperty(e)&&(t[n]=t[e])}const _z=new fh;class vz{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(n,e){const i=[],s=P_(this._driver,e,i,[]);if(i.length)throw function x4(t){return new le(3503,it)}();this._animations[n]=s}_buildPlayer(n,e,i){const r=n.element,s=$S(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[n];let o;const a=new Map;if(s?(o=B_(this._driver,e,s,k_,th,{},{},i,_z,r),o.forEach(d=>{const u=yi(a,d.element,{});d.postStyleProps.forEach(m=>u[m]=null)})):(r.push(function C4(){return new le(3300,it)}()),o=[]),r.length)throw function w4(t){return new le(3504,it)}();a.forEach((d,u)=>{Object.keys(d).forEach(m=>{d[m]=this._driver.computeStyle(u,m,es)})});const c=ks(o.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[n]=c,c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),delete this._playersById[n];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById[n];if(!e)throw function D4(t){return new le(3301,it)}();return e}listen(n,e,i,r){const s=E_(e,"","","");return D_(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 pA="ng-animate-queued",z_="ng-animate-disabled",wz=[],mA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Dz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ni="__ng_removed";class U_{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function Az(t){return null!=t?t:null}(i?n.value:n),i){const s=ja(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return 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 Ic="void",G_=new U_(Ic);class Mz{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Bi(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.hasOwnProperty(e))throw function M4(t,n){return new le(3302,it)}();if(null==i||0==i.length)throw function E4(t){return new le(3303,it)}();if(!function Tz(t){return"start"==t||"done"==t}(i))throw function S4(t,n){return new le(3400,it)}();const s=yi(this._elementListeners,n,[]),o={name:e,phase:i,callback:r};s.push(o);const a=yi(this._engine.statesByElement,n,{});return a.hasOwnProperty(e)||(Bi(n,nh),Bi(n,nh+"-"+e),a[e]=G_),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers[e]||delete a[e]})}}register(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)}_getTrigger(n){const e=this._triggers[n];if(!e)throw function A4(t){return new le(3401,it)}();return e}trigger(n,e,i,r=!0){const s=this._getTrigger(e),o=new $_(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Bi(n,nh),Bi(n,nh+"-"+e),this._engine.statesByElement.set(n,a={}));let l=a[e];const c=new U_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a[e]=c,l||(l=G_),c.value!==Ic&&l.value===c.value){if(!function Rz(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r{wo(n,S),Sr(n,k)})}return}const m=yi(this._engine.playersByElement,n,[]);m.forEach(C=>{C.namespaceId==this.id&&C.triggerName==e&&C.queued&&C.destroy()});let g=s.matchTransition(l.value,c.value,n,c.params),v=!1;if(!g){if(!r)return;g=s.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:g,fromState:l,toState:c,player:o,isFallbackTransition:v}),v||(Bi(n,pA),o.onStart(()=>{za(n,pA)})),o.onDone(()=>{let C=this.players.indexOf(o);C>=0&&this.players.splice(C,1);const S=this._engine.playersByElement.get(n);if(S){let k=S.indexOf(o);k>=0&&S.splice(k,1)}}),this.players.push(o),m.push(o),o}deregister(n){delete this._triggers[n],this._engine.statesByElement.forEach((e,i)=>{delete e[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,ih,!0);i.forEach(r=>{if(r[Ni])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(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const c=this.trigger(n,l,Ic,r);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,o),i&&ks(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[o].fallbackTransition,c=i[o]||G_,d=new U_(Ic),u=new $_(this.id,o,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:o,transition:l,fromState:c,toState:d,player:u,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[Ni];(!s||s===mA)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Bi(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=E_(s,i.triggerName,i.fromState.value,i.toState.value);l._data=n,D_(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 Ez{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)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}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 Mz(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,s=i.length-1;if(s>=0){let o=!1;if(void 0!==this.driver.getParentElement){let 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)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(i[a].hostElement,e)){i.splice(a+1,0,n),o=!0;break}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){const r=Object.keys(i);for(let s=0;s=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),Bi(n,z_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),za(n,z_))}removeNode(n,e,i,r){if(gh(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[Ni]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,i,r,s){return gh(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,ih,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,I_,!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 ks(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const i=n[Ni];if(i&&i.setForRemoval){if(n[Ni]=mA,i.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,i.setForRemoval)}(null===(e=n.classList)||void 0===e?void 0:e.contains(z_))&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!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?ks(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function T4(t){return new le(3402,it)}()}_flushAnimations(n,e){const i=new fh,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(ce=>{d.add(ce);const Me=this.driver.query(ce,".ng-animate-queued",!0);for(let Fe=0;Fe{const Fe=k_+C++;v.set(Me,Fe),ce.forEach(ht=>Bi(ht,Fe))});const S=[],k=new Set,D=new Set;for(let ce=0;cek.add(ht)):D.add(Me))}const z=new Map,J=vA(m,Array.from(k));J.forEach((ce,Me)=>{const Fe=th+C++;z.set(Me,Fe),ce.forEach(ht=>Bi(ht,Fe))}),n.push(()=>{g.forEach((ce,Me)=>{const Fe=v.get(Me);ce.forEach(ht=>za(ht,Fe))}),J.forEach((ce,Me)=>{const Fe=z.get(Me);ce.forEach(ht=>za(ht,Fe))}),S.forEach(ce=>{this.processLeaveNode(ce)})});const Ce=[],ut=[];for(let ce=this._namespaceList.length-1;ce>=0;ce--)this._namespaceList[ce].drainQueuedTransitions(e).forEach(Fe=>{const ht=Fe.player,Mn=Fe.element;if(Ce.push(ht),this.collectedEnterElements.length){const Xn=Mn[Ni];if(Xn&&Xn.setForMove){if(Xn.previousTriggersValues&&Xn.previousTriggersValues.has(Fe.triggerName)){const No=Xn.previousTriggersValues.get(Fe.triggerName),zs=this.statesByElement.get(Fe.element);zs&&zs[Fe.triggerName]&&(zs[Fe.triggerName].value=No)}return void ht.destroy()}}const kr=!u||!this.driver.containsElement(u,Mn),wi=z.get(Mn),js=v.get(Mn),Gt=this._buildInstruction(Fe,i,js,wi,kr);if(Gt.errors&&Gt.errors.length)return void ut.push(Gt);if(kr)return ht.onStart(()=>wo(Mn,Gt.fromStyles)),ht.onDestroy(()=>Sr(Mn,Gt.toStyles)),void r.push(ht);if(Fe.isFallbackTransition)return ht.onStart(()=>wo(Mn,Gt.fromStyles)),ht.onDestroy(()=>Sr(Mn,Gt.toStyles)),void r.push(ht);const Zk=[];Gt.timelines.forEach(Xn=>{Xn.stretchStartingKeyframe=!0,this.disabledNodes.has(Xn.element)||Zk.push(Xn)}),Gt.timelines=Zk,i.append(Mn,Gt.timelines),o.push({instruction:Gt,player:ht,element:Mn}),Gt.queriedElements.forEach(Xn=>yi(a,Xn,[]).push(ht)),Gt.preStyleProps.forEach((Xn,No)=>{const zs=Object.keys(Xn);if(zs.length){let Bo=l.get(No);Bo||l.set(No,Bo=new Set),zs.forEach(fy=>Bo.add(fy))}}),Gt.postStyleProps.forEach((Xn,No)=>{const zs=Object.keys(Xn);let Bo=c.get(No);Bo||c.set(No,Bo=new Set),zs.forEach(fy=>Bo.add(fy))})});if(ut.length){const ce=[];ut.forEach(Me=>{ce.push(function k4(t,n){return new le(3505,it)}())}),Ce.forEach(Me=>Me.destroy()),this.reportError(ce)}const gt=new Map,yn=new Map;o.forEach(ce=>{const Me=ce.element;i.has(Me)&&(yn.set(Me,Me),this._beforeAnimationBuild(ce.player.namespaceId,ce.instruction,gt))}),r.forEach(ce=>{const Me=ce.element;this._getPreviousPlayers(Me,!1,ce.namespaceId,ce.triggerName,null).forEach(ht=>{yi(gt,Me,[]).push(ht),ht.destroy()})});const hn=S.filter(ce=>bA(ce,l,c)),Ci=new Map;_A(Ci,this.driver,D,c,es).forEach(ce=>{bA(ce,l,c)&&hn.push(ce)});const us=new Map;g.forEach((ce,Me)=>{_A(us,this.driver,new Set(ce),l,"!")}),hn.forEach(ce=>{const Me=Ci.get(ce),Fe=us.get(ce);Ci.set(ce,Object.assign(Object.assign({},Me),Fe))});const lr=[],tl=[],nl={};o.forEach(ce=>{const{element:Me,player:Fe,instruction:ht}=ce;if(i.has(Me)){if(d.has(Me))return Fe.onDestroy(()=>Sr(Me,ht.toStyles)),Fe.disabled=!0,Fe.overrideTotalTime(ht.totalTime),void r.push(Fe);let Mn=nl;if(yn.size>1){let wi=Me;const js=[];for(;wi=wi.parentNode;){const Gt=yn.get(wi);if(Gt){Mn=Gt;break}js.push(wi)}js.forEach(Gt=>yn.set(Gt,Mn))}const kr=this._buildAnimation(Fe.namespaceId,ht,gt,s,us,Ci);if(Fe.setRealPlayer(kr),Mn===nl)lr.push(Fe);else{const wi=this.playersByElement.get(Mn);wi&&wi.length&&(Fe.parentPlayer=ks(wi)),r.push(Fe)}}else wo(Me,ht.fromStyles),Fe.onDestroy(()=>Sr(Me,ht.toStyles)),tl.push(Fe),d.has(Me)&&r.push(Fe)}),tl.forEach(ce=>{const Me=s.get(ce.element);if(Me&&Me.length){const Fe=ks(Me);ce.setRealPlayer(Fe)}}),r.forEach(ce=>{ce.parentPlayer?ce.syncPlayerEvents(ce.parentPlayer):ce.destroy()});for(let ce=0;ce!kr.destroyed);Mn.length?kz(this,Me,Mn):this.processLeaveNode(Me)}return S.length=0,lr.forEach(ce=>{this.players.push(ce),ce.onDone(()=>{ce.destroy();const Me=this.players.indexOf(ce);this.players.splice(Me,1)}),ce.play()}),lr}elementContainsData(n,e){let i=!1;const r=e[Ni];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==Ic;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,d=c!==s,u=yi(i,c,[]);this._getPreviousPlayers(c,d,o,a,e.toState).forEach(g=>{const v=g.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),g.destroy(),u.push(g)})}wo(s,e.fromStyles)}_buildAnimation(n,e,i,r,s,o){const a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,m=e.timelines.map(v=>{const C=v.element;d.add(C);const S=C[Ni];if(S&&S.removedBeforeQueried)return new Tc(v.duration,v.delay);const k=C!==l,D=function Iz(t){const n=[];return yA(t,n),n}((i.get(C)||wz).map(gt=>gt.getRealPlayer())).filter(gt=>!!gt.element&>.element===C),z=s.get(C),J=o.get(C),Ce=$S(0,this._normalizer,0,v.keyframes,z,J),ut=this._buildPlayer(v,Ce,D);if(v.subTimeline&&r&&u.add(C),k){const gt=new $_(n,a,C);gt.setRealPlayer(ut),c.push(gt)}return ut});c.forEach(v=>{yi(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>function Sz(t,n,e){let i;if(t instanceof Map){if(i=t.get(n),i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}}else if(i=t[n],i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&delete t[n]}return i}(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>Bi(v,tA));const g=ks(m);return g.onDestroy(()=>{d.forEach(v=>za(v,tA)),Sr(l,e.toStyles)}),u.forEach(v=>{yi(r,v,[]).push(g)}),g}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Tc(n.duration,n.delay)}}class $_{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Tc,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>D_(n,e,void 0,i))}),this._queuedCallbacks={},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){yi(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 gh(t){return t&&1===t.nodeType}function gA(t,n){const e=t.style.display;return t.style.display=null!=n?n:"none",e}function _A(t,n,e,i,r){const s=[];e.forEach(l=>s.push(gA(l)));const o=[];i.forEach((l,c)=>{const d={};l.forEach(u=>{const m=d[u]=n.computeStyle(c,u,r);(!m||0==m.length)&&(c[Ni]=Dz,o.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>gA(l,s[a++])),o}function vA(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 Bi(t,n){var e;null===(e=t.classList)||void 0===e||e.add(n)}function za(t,n){var e;null===(e=t.classList)||void 0===e||e.remove(n)}function kz(t,n,e){ks(e).onDone(()=>t.processLeaveNode(n))}function yA(t,n){for(let e=0;er.add(s)):n.set(t,i),e.delete(t),!0}class _h{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Ez(n,e,i),this._timelineEngine=new vz(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=[],d=P_(this._driver,s,l,[]);if(l.length)throw function y4(t,n){return new le(3404,it)}();a=function pz(t,n,e){return new mz(t,n,e)}(r,d,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]=WS(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]=WS(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 Oz=(()=>{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={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Sr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Sr(this._element,this._initialStyles),this._endStyles&&(Sr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(wo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wo(this._element,this._endStyles),this._endStyles=null),Sr(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function W_(t){let n=null;const e=Object.keys(t);for(let i=0;in()),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]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(n,e,i){return n.animate(e,i)}onStart(n){this._onStartFns.push(n)}onDone(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}_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={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(i=>{"offset"!=i&&(n[i]=this._finished?e[i]:oA(this.element,i))})}this.currentSnapshot=n}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Lz{validateStyleProperty(n){return KS(n)}matchesElement(n,e){return!1}containsElement(n,e){return ZS(n,e)}getParentElement(n){return A_(n)}query(n,e,i){return XS(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={},d=o.filter(m=>m instanceof xA);(function H4(t,n){return 0===t||0===n})(i,r)&&d.forEach(m=>{let g=m.currentSnapshot;Object.keys(g).forEach(v=>c[v]=g[v])}),e=function j4(t,n,e){const i=Object.keys(e);if(i.length&&n.length){let s=n[0],o=[];if(i.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=e[a]}),o.length)for(var r=1;rIs(m,!1)),c);const u=function Fz(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=W_(n[0]),n.length>1&&(i=W_(n[n.length-1]))):n&&(e=W_(n)),e||i?new Oz(t,e,i):null}(n,e);return new xA(n,e,l,u)}}let Nz=(()=>{class t extends VS{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:$i.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?jS(e):e;return CA(this._renderer,null,i,"register",[r]),new Bz(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(w(Gl),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class Bz extends class K8{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new Vz(this._id,n,e||{},this._renderer)}}class Vz{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 CA(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(){var n,e;return null!==(e=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==e?e:0}}function CA(t,n,e,i,r){return t.setProperty(n,`@@${e}:${i}`,r)}const wA="@.disabled";let Hz=(()=>{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=null==o?void 0: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 d=this._rendererCache.get(s);return d||(d=new DA("",s,this.engine),this._rendererCache.set(s,d)),d}const o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(o,a,e,d.name,d)};return i.data.animation.forEach(l),new jz(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)(w(Gl),w(_h),w(_e))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class DA{constructor(n,e,i){this.namespaceId=n,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}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==wA?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 jz extends DA{constructor(n,e,i,r){super(e,i,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==wA?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.substr(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const r=function zz(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function Uz(t){const n=t.indexOf(".");return[t.substring(0,n),t.substr(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)}}let Gz=(()=>{class t extends _h{constructor(e,i,r){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(w(Se),w(T_),w(H_))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const tn=new j("AnimationModuleType"),MA=[{provide:VS,useClass:Nz},{provide:H_,useFactory:function $z(){return new cz}},{provide:_h,useClass:Gz},{provide:Gl,useFactory:function Wz(t,n,e){return new Hz(t,n,e)},deps:[fu,_h,_e]}],EA=[{provide:T_,useFactory:()=>new Lz},{provide:tn,useValue:"BrowserAnimations"},...MA],qz=[{provide:T_,useClass:JS},{provide:tn,useValue:"NoopAnimations"},...MA];let Yz=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?qz:EA}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:EA,imports:[PD]}),t})();const Xz=new j("mat-sanity-checks",{providedIn:"root",factory:function Zz(){return!0}});let Te=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!h_()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(w(NS),w(Xz,8),w(Se))},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[go],go]}),t})();function Mo(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=Re(n)}}}function ts(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function Rs(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Re(n)}}}function yh(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Bn(e):this.defaultTabIndex}}}function Jz(t){return class extends t{constructor(...n){super(...n),this.stateChanges=new q,this.errorState=!1}updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}}}let q_=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),bh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te],Te]}),t})();class iU{constructor(n,e,i){this._renderer=n,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const AA={enterDuration:225,exitDuration:150},Y_=_o({passive:!0}),TA=["mousedown","touchstart"],kA=["mouseup","mouseleave","touchend","touchcancel"];class sU{constructor(n,e,i,r){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Jr(i))}fadeInRipple(n,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},AA),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);const o=i.radius||function aU(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}(n,e,r),a=n-r.left,l=e-r.top,c=s.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-o+"px",d.style.top=l-o+"px",d.style.height=2*o+"px",d.style.width=2*o+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d),function oU(t){window.getComputedStyle(t).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new iU(this,d,i);return u.state=0,this._activeRipples.add(u),i.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const m=u===this._mostRecentTransientRipple;u.state=1,!i.persistent&&(!m||!this._isPointerDown)&&u.fadeOut()},c),u}fadeOutRipple(n){const e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=n.element,r=Object.assign(Object.assign({},AA),n.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,i.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Jr(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(TA))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(kA),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const e=RS(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,e))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,Y_)})})}_removeTriggerEvents(){this._triggerElement&&(TA.forEach(n=>{this._triggerElement.removeEventListener(n,this,Y_)}),this._pointerUpEventsRegistered&&kA.forEach(n=>{this._triggerElement.removeEventListener(n,this,Y_)}))}}const lU=new j("mat-ripple-global-options");let Ar=(()=>{class t{constructor(e,i,r,s,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new sU(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(_e),p(dn),p(lU,8),p(tn,8))},t.\u0275dir=I({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Pe("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Fs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te],Te]}),t})(),Q_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te]]}),t})(),IA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Fs,Pn,Te,Q_]]}),t})();const dU=["*",[["mat-toolbar-row"]]],uU=["*","mat-toolbar-row"],hU=ts(class{constructor(t){this._elementRef=t}});let RA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),fU=(()=>{class t extends hU{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(dn),p(Se))},t.\u0275cmp=me({type:t,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&at(r,RA,5),2&e){let s;re(s=se())&&(i._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Pe("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[F],ngContentSelectors:uU,decls:2,vars:0,template:function(e,i){1&e&&(Tt(dU),He(0),He(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),pU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te],Te]}),t})();const mU=["addListener","removeListener"],gU=["addEventListener","removeEventListener"],_U=["on","off"];function ns(t,n,e,i){if(N(e)&&(i=e,e=void 0),i)return ns(t,n,e).pipe(gg(i));const[r,s]=function bU(t){return N(t.addEventListener)&&N(t.removeEventListener)}(t)?gU.map(o=>a=>t[o](n,a,e)):function vU(t){return N(t.addListener)&&N(t.removeListener)}(t)?mU.map(FA(t,n)):function yU(t){return N(t.on)&&N(t.off)}(t)?_U.map(FA(t,n)):[];if(!r&&cf(t))return fn(o=>ns(o,n,e))(ei(t));if(!r)throw new TypeError("Invalid event target");return new Ye(o=>{const a=(...l)=>o.next(1s(a)})}function FA(t,n){return e=>i=>t[e](n,i)}const Fc={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Fc;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=n(s=>{e=void 0,t(s)});return new W(()=>null==e?void 0:e(r))},requestAnimationFrame(...t){const{delegate:n}=Fc;return((null==n?void 0:n.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=Fc;return((null==n?void 0:n.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0};new class CU extends g_{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class xU extends m_{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Fc.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:s}=n;null!=e&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==e&&(Fc.cancelAnimationFrame(e),n._scheduled=void 0)}});let K_,DU=1;const xh={};function OA(t){return t in xh&&(delete xh[t],!0)}const MU={setImmediate(t){const n=DU++;return xh[n]=!0,K_||(K_=Promise.resolve()),K_.then(()=>OA(n)&&t()),n},clearImmediate(t){OA(t)}},{setImmediate:EU,clearImmediate:SU}=MU,Ch={setImmediate(...t){const{delegate:n}=Ch;return((null==n?void 0:n.setImmediate)||EU)(...t)},clearImmediate(t){const{delegate:n}=Ch;return((null==n?void 0:n.clearImmediate)||SU)(t)},delegate:void 0};new class TU extends g_{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class AU extends m_{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ch.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:s}=n;null!=e&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==e&&(Ch.clearImmediate(e),n._scheduled=void 0)}});function PA(t=0,n,e=E8){let i=-1;return null!=n&&(wy(n)?e=n:i=n),new Ye(r=>{let s=function RU(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;s<0&&(s=0);let o=0;return e.schedule(function(){r.closed||(r.next(o++),0<=i?this.schedule(void 0,i):r.complete())},s)})}function LA(t,n=__){return function IU(t){return Mt((n,e)=>{let i=!1,r=null,s=null,o=!1;const a=()=>{if(null==s||s.unsubscribe(),s=null,i){i=!1;const c=r;r=null,e.next(c)}o&&e.complete()},l=()=>{s=null,o&&e.complete()};n.subscribe(bt(e,c=>{i=!0,r=c,s||ei(t(c)).subscribe(s=bt(e,a,l))},()=>{o=!0,(!i||!s||s.closed)&&e.complete()}))})}(()=>PA(t,n))}let wh=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new q,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ye(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(LA(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):De()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(jt(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Jr(i),s=e.getElementRef().nativeElement;do{if(r==s)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ns(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(w(_e),w(dn),w(Se,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Oc=(()=>{class t{constructor(e,i,r,s){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=s,this._destroyed=new q,this._elementScrolled=new Ye(o=>this.ngZone.runOutsideAngular(()=>ns(this.elementRef.nativeElement,"scroll").pipe(nt(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=Mc()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Mc()?e.left=e.right:1==Mc()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;hS()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",s=this.elementRef.nativeElement;if("top"==e)return s.scrollTop;if("bottom"==e)return s.scrollHeight-s.clientHeight-s.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?r:i:"end"==e&&(e=o?i:r),o&&2==Mc()?e==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:o&&1==Mc()?e==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:e==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(wh),p(_e),p(Kn,8))},t.\u0275dir=I({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),Os=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new q,this._changeListener=s=>{this._change.next(s)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,s=r.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(LA(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(w(dn),w(_e),w(Se,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ua=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})(),Z_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[go,Ua],go,Ua]}),t})();function NA(t){return Le(()=>t)}const Dh=["*"],PU=["content"];function LU(t,n){if(1&t){const e=Gn();x(0,"div",2),we("click",function(){return Pt(e),te()._onBackdropClicked()}),b()}2&t&&Pe("mat-drawer-shown",te()._isShowingBackdrop())}function NU(t,n){1&t&&(x(0,"mat-drawer-content"),He(1,2),b())}const BU=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],VU=["mat-drawer","mat-drawer-content","*"];function HU(t,n){if(1&t){const e=Gn();x(0,"div",2),we("click",function(){return Pt(e),te()._onBackdropClicked()}),b()}2&t&&Pe("mat-drawer-shown",te()._isShowingBackdrop())}function jU(t,n){1&t&&(x(0,"mat-sidenav-content"),He(1,2),b())}const zU=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],UU=["mat-sidenav","mat-sidenav-content","*"],BA={transformDrawer:Vn("transform",[lt("open, open-instant",xe({transform:"none",visibility:"visible"})),lt("void",xe({"box-shadow":"none",visibility:"hidden"})),Dt("void => open-instant",It("0ms")),Dt("void <=> open, open-instant => void",It("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},$U=new j("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function WU(){return!1}}),X_=new j("MAT_DRAWER_CONTAINER");let Mh=(()=>{class t extends Oc{constructor(e,i,r,s,o){super(r,s,o),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(p(kt),p(Xe(()=>HA)),p(Y),p(wh),p(_e))},t.\u0275cmp=me({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,i){2&e&&Tn("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[pe([{provide:Oc,useExisting:t}]),F],ngContentSelectors:Dh,decls:1,vars:0,template:function(e,i){1&e&&(Tt(),He(0))},encapsulation:2,changeDetection:0}),t})(),VA=(()=>{class t{constructor(e,i,r,s,o,a,l,c){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=s,this._ngZone=o,this._interactivityChecker=a,this._doc=l,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new q,this._animationEnd=new q,this._animationState="void",this.openedChange=new be(!0),this._openedStream=this.openedChange.pipe(jt(d=>d),Le(()=>{})),this.openedStart=this._animationStarted.pipe(jt(d=>d.fromState!==d.toState&&0===d.toState.indexOf("open")),NA(void 0)),this._closedStream=this.openedChange.pipe(jt(d=>!d),Le(()=>{})),this.closedStart=this._animationStarted.pipe(jt(d=>d.fromState!==d.toState&&"void"===d.toState),NA(void 0)),this._destroyed=new q,this.onPositionChanged=new be,this._modeChanged=new q,this.openedChange.subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{ns(this._elementRef.nativeElement,"keydown").pipe(jt(d=>27===d.keyCode&&!this.disableClose&&!bo(d)),nt(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(y_((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{const{fromState:u,toState:m}=d;(0===m.indexOf("open")&&"void"===u||"void"===m&&0===u.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Re(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Re(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Re(e))}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(s=>{this.openedChange.pipe(Nn(1)).subscribe(o=>s(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,r=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(IS),p(Er),p(dn),p(_e),p(b_),p(Se,8),p(X_,8))},t.\u0275cmp=me({type:t,selectors:[["mat-drawer"]],viewQuery:function(e,i){if(1&e&&ot(PU,5),2&e){let r;re(r=se())&&(i._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,i){1&e&&Vd("@transform.start",function(s){return i._animationStarted.next(s)})("@transform.done",function(s){return i._animationEnd.next(s)}),2&e&&(Ue("align",null),Vl("@transform",i._animationState),Pe("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Dh,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(Tt(),x(0,"div",0,1),He(2),b())},directives:[Oc],encapsulation:2,data:{animation:[BA.transformDrawer]},changeDetection:0}),t})(),HA=(()=>{class t{constructor(e,i,r,s,o,a=!1,l){this._dir=e,this._element=i,this._ngZone=r,this._changeDetectorRef=s,this._animationMode=l,this._drawers=new io,this.backdropClick=new be,this._destroyed=new q,this._doCheckSubject=new q,this._contentMargins={left:null,right:null},this._contentMarginChanges=new q,e&&e.change.pipe(nt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(nt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Re(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Re(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Pi(this._allDrawers),nt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Pi(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(v_(10),nt(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,i-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();i+=r,e-=r}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(jt(i=>i.fromState!==i.toState),nt(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(nt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(nt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Nn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(nt(Lr(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return t.\u0275fac=function(e){return new(e||t)(p(Kn,8),p(Y),p(_e),p(kt),p(Os),p($U),p(tn,8))},t.\u0275cmp=me({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(e,i,r){if(1&e&&(at(r,Mh,5),at(r,VA,5)),2&e){let s;re(s=se())&&(i._content=s.first),re(s=se())&&(i._allDrawers=s)}},viewQuery:function(e,i){if(1&e&&ot(Mh,5),2&e){let r;re(r=se())&&(i._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,i){2&e&&Pe("mat-drawer-container-explicit-backdrop",i._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[pe([{provide:X_,useExisting:t}])],ngContentSelectors:VU,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(Tt(BU),$(0,LU,1,2,"div",0),He(1),He(2,1),$(3,NU,2,0,"mat-drawer-content",1)),2&e&&(O("ngIf",i.hasBackdrop),T(3),O("ngIf",!i._content))},directives:[Mh,oi],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),t})(),J_=(()=>{class t extends Mh{constructor(e,i,r,s,o){super(e,i,r,s,o)}}return t.\u0275fac=function(e){return new(e||t)(p(kt),p(Xe(()=>zA)),p(Y),p(wh),p(_e))},t.\u0275cmp=me({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,i){2&e&&Tn("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[pe([{provide:Oc,useExisting:t}]),F],ngContentSelectors:Dh,decls:1,vars:0,template:function(e,i){1&e&&(Tt(),He(0))},encapsulation:2,changeDetection:0}),t})(),jA=(()=>{class t extends VA{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Re(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Bn(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Bn(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275cmp=me({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,i){2&e&&(Ue("align",null),Tn("top",i.fixedInViewport?i.fixedTopGap:null,"px")("bottom",i.fixedInViewport?i.fixedBottomGap:null,"px"),Pe("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened)("mat-sidenav-fixed",i.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[F],ngContentSelectors:Dh,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(Tt(),x(0,"div",0,1),He(2),b())},directives:[Oc],encapsulation:2,data:{animation:[BA.transformDrawer]},changeDetection:0}),t})(),zA=(()=>{class t extends HA{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275cmp=me({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(e,i,r){if(1&e&&(at(r,J_,5),at(r,jA,5)),2&e){let s;re(s=se())&&(i._content=s.first),re(s=se())&&(i._allDrawers=s)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,i){2&e&&Pe("mat-drawer-container-explicit-backdrop",i._backdropOverride)},exportAs:["matSidenavContainer"],features:[pe([{provide:X_,useExisting:t}]),F],ngContentSelectors:UU,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(Tt(zU),$(0,HU,1,2,"div",0),He(1),He(2,1),$(3,jU,2,0,"mat-sidenav-content",1)),2&e&&(O("ngIf",i.hasBackdrop),T(3),O("ngIf",!i._content))},directives:[J_,oi],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),t})(),qU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn,Te,Ua],Ua,Te]}),t})();const UA=["mat-button",""],GA=["*"],KU=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ZU=ts(Mo(Rs(class{constructor(t){this._elementRef=t}})));let Eo=(()=>{class t extends ZU{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of KU)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Er),p(tn,8))},t.\u0275cmp=me({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&ot(Ar,5),2&e){let r;re(r=se())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Ue("disabled",i.disabled||null),Pe("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[F],attrs:UA,ngContentSelectors:GA,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Tt(),x(0,"span",0),He(1),b(),ge(2,"span",1)(3,"span",2)),2&e&&(T(2),Pe("mat-button-ripple-round",i.isRoundButton||i.isIconButton),O("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[Ar],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),XU=(()=>{class t extends Eo{constructor(e,i,r,s){super(i,e,r),this._ngZone=s,this._haltDisabledEvents=o=>{this.disabled&&(o.preventDefault(),o.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){return new(e||t)(p(Er),p(Y),p(tn,8),p(_e,8))},t.\u0275cmp=me({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,i){2&e&&(Ue("tabindex",i.disabled?-1:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),Pe("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[F],attrs:UA,ngContentSelectors:GA,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Tt(),x(0,"span",0),He(1),b(),ge(2,"span",1)(3,"span",2)),2&e&&(T(2),Pe("mat-button-ripple-round",i.isRoundButton||i.isIconButton),O("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[Ar],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),ev=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Fs,Te],Te]}),t})();const JU=["*"];let Eh;function Pc(t){var n;return(null===(n=function eG(){if(void 0===Eh&&(Eh=null,"undefined"!=typeof window)){const t=window;void 0!==t.trustedTypes&&(Eh=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Eh}())||void 0===n?void 0:n.createHTML(t))||t}function $A(t){return Error(`Unable to find icon with the name "${t}"`)}function WA(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function qA(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class So{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Sh=(()=>{class t{constructor(e,i,r,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,s){return this._addSvgIconConfig(e,i,new So(r,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,s){const o=this._sanitizer.sanitize(dt.HTML,r);if(!o)throw qA(r);const a=Pc(o);return this._addSvgIconConfig(e,i,new So("",a,s))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new So(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const s=this._sanitizer.sanitize(dt.HTML,i);if(!s)throw qA(i);const o=Pc(s);return this._addSvgIconSetConfig(e,new So("",o,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(dt.RESOURCE_URL,e);if(!i)throw WA(e);const r=this._cachedIconsByUrl.get(i);return r?De(Ah(r)):this._loadSvgIconFromConfig(new So(e,null)).pipe(Dn(s=>this._cachedIconsByUrl.set(i,s)),Le(s=>Ah(s)))}getNamedSvgIcon(e,i=""){const r=YA(i,e);let s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):hc($A(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?De(Ah(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Le(i=>Ah(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?De(r):XD(i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Kr(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(dt.RESOURCE_URL,o.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),De(null)})))).pipe(Le(()=>{const o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw $A(e);return o}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const s=i[r];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(o,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Dn(i=>e.svgText=i),Le(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?De(null):this._fetchIcon(e).pipe(Dn(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const s=e.querySelector(`[id="${i}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,r);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),r);const a=this._svgElementFromString(Pc(""));return a.appendChild(o),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Pc("")),r=e.attributes;for(let s=0;sPc(d)),lE(()=>this._inProgressUrlFetches.delete(a)),Ay());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(YA(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rn?n.pathname+n.search:""}}}),QA=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],aG=QA.map(t=>`[${t}]`).join(", "),lG=/^url\(['"]?#(.*?)['"]?\)$/;let KA=(()=>{class t extends rG{constructor(e,i,r,s,o){super(e),this._iconRegistry=i,this._location=s,this._errorHandler=o,this._inline=!1,this._currentIconFetch=W.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Re(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();i!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),i&&e.classList.add(i),this._previousFontSetClass=i),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(o=>{s.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(aG),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=i[s],l=a.getAttribute(o),c=l?l.match(lG):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:o,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Nn(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${s.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Sh),pi("aria-hidden"),p(sG),p(ys))},t.\u0275cmp=me({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(Ue("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Pe("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[F],ngContentSelectors:JU,decls:1,vars:0,template:function(e,i){1&e&&(Tt(),He(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),ZA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te],Te]}),t})(),cG=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=Re(e)}get inset(){return this._inset}set inset(e){this._inset=Re(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(Ue("aria-orientation",i.vertical?"vertical":"horizontal"),Pe("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),XA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te],Te]}),t})();class tv{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class nv extends tv{constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class iv extends tv{constructor(n,e,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class dG extends tv{constructor(n){super(),this.element=n instanceof Y?n.nativeElement:n}}class rv{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof nv?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof iv?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof dG?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class uG extends rv{constructor(n,e,i,r,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Vt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context);return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Lc=(()=>{class t extends rv{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new be,this.attachDomPortal=s=>{const o=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),o.parentNode.insertBefore(a,o),this._getRootNode().appendChild(o),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(o,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=i.createComponent(s,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(p(Gr),p(_n),p(Se))},t.\u0275dir=I({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[F]}),t})(),Th=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})();const JA=hS();class hG{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=un(-this._previousScrollPosition.left),n.style.top=un(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,s=i.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),JA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),JA&&(i.scrollBehavior=s,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class fG{constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class e1{enable(){}disable(){}attach(){}}function sv(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function t1(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class pG{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();sv(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let mG=(()=>{class t{constructor(e,i,r,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new e1,this.close=o=>new fG(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new hG(this._viewportRuler,this._document),this.reposition=o=>new pG(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=s}}return t.\u0275fac=function(e){return new(e||t)(w(wh),w(Os),w(_e),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class n1{constructor(n){if(this.scrollStrategy=new e1,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class gG{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}class _G{constructor(n,e,i,r,s,o,a,l,c){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=s,this._keyboardDispatcher=o,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new q,this._attachments=new q,this._detachments=new q,this._locationChanges=W.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new q,this._outsidePointerEvents=new q,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Nn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=Object.assign(Object.assign({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Object.assign(Object.assign({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=un(this._config.width),n.height=un(this._config.height),n.minWidth=un(this._config.minWidth),n.minHeight=un(this._config.minHeight),n.maxWidth=un(this._config.maxWidth),n.maxHeight=un(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;!n||(n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500)))}_toggleClasses(n,e,i){const r=DS(e||[]).filter(s=>!!s);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(nt(Lr(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let ov=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||h_()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,s=[];let o;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?s.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!o||o.overlayFit.visibleAreal&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ao(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(r1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r,s;if("center"==i.originX)r=n.left+n.width/2;else{const o=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?o:a}return e.left<0&&(r-=e.left),s="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:r,y:s}}_getOverlayPoint(n,e,i){let r,s;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+r,y:n.y+s}}_getOverlayFit(n,e,i,r){const s=o1(e);let{x:o,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(o+=l),c&&(a+=c);let m=0-a,g=a+s.height-i.height,v=this._subtractOverflows(s.width,0-o,o+s.width-i.width),C=this._subtractOverflows(s.height,m,g),S=v*C;return{visibleArea:S,isCompletelyWithinViewport:s.width*s.height===S,fitsInViewportVertically:C===s.height,fitsInViewportHorizontally:v==s.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,s=i.right-e.x,o=s1(this._overlayRef.getConfig().minHeight),a=s1(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportHorizontally||null!=a&&a<=s;return(n.fitsInViewportVertically||null!=o&&o<=r)&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=o1(e),s=this._viewportRect,o=Math.max(n.x+r.width-s.width,0),a=Math.max(n.y+r.height-s.height,0),l=Math.max(s.top-i.top-n.y,0),c=Math.max(s.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=s.width?c||-o:n.xv&&!this._isInitialRender&&!this._growAfterOpen&&(o=n.y-v/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)m=i.width-n.x+this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=n.x,d=i.right-n.x;else{const g=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;d=2*g,u=n.x-g,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-v/2)}return{top:o,left:u,bottom:a,right:m,width:d,height:s}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=un(i.height),r.top=un(i.top),r.bottom=un(i.bottom),r.width=un(i.width),r.left=un(i.left),r.right=un(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(r.maxHeight=un(s)),o&&(r.maxWidth=un(o))}this._lastBoundingBoxSize=i,Ao(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ao(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ao(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},r=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Ao(i,this._getExactOverlayY(e,n,d)),Ao(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),o.maxHeight&&(r?i.maxHeight=un(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(r?i.maxWidth=un(o.maxWidth):s&&(i.maxWidth="")),Ao(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":r.top=un(s.y),r}_getExactOverlayX(n,e,i){let o,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),o=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===o?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=un(s.x),r}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:t1(n,i),isOriginOutsideView:sv(n,i),isOverlayClipped:t1(e,i),isOverlayOutsideView:sv(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&DS(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Y)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Ao(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function s1(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(vG);return e&&"px"!==e?null:parseFloat(n)}return t||null}function o1(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const a1="cdk-global-overlay-wrapper";class bG{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(a1),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:s,maxWidth:o,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=l?"0":this._leftOffset,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,l?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(a1),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let xG=(()=>{class t{constructor(e,i,r,s){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=s}global(){return new bG}flexibleConnectedTo(e){return new yG(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(w(Os),w(Se),w(dn),w(ov))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),l1=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),CG=(()=>{class t extends l1{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const s=this._attachedOverlays;for(let o=s.length-1;o>-1;o--)if(s[o]._keydownEvents.observers.length>0){const a=s[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(w(Se),w(_e,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wG=(()=>{class t extends l1{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=yo(s)},this._clickListener=s=>{const o=yo(s),a="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(o)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(s)):u.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(w(Se),w(dn),w(_e,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),DG=0,Ga=(()=>{class t{constructor(e,i,r,s,o,a,l,c,d,u,m){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=m}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),o=new n1(e);return o.direction=o.direction||this._directionality.value,new _G(s,i,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+DG++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Aa)),new uG(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(w(mG),w(ov),w(Gr),w(xG),w(CG),w(Vt),w(_e),w(Se),w(Kn),w(Kl),w(wG))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const SG={provide:new j("cdk-connected-overlay-scroll-strategy"),deps:[Ga],useFactory:function EG(t){return()=>t.scrollStrategies.reposition()}};let av=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[Ga,SG],imports:[[go,Th,Z_],Z_]}),t})();function AG(t,n){}class lv{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const TG={dialogContainer:Vn("dialogContainer",[lt("void, exit",xe({opacity:0,transform:"scale(0.7)"})),lt("enter",xe({transform:"none"})),Dt("* => enter",HS([It("150ms cubic-bezier(0, 0, 0.2, 1)",xe({transform:"none",opacity:1})),Ju("@*",Xu(),{optional:!0})])),Dt("* => void, * => exit",HS([It("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",xe({opacity:0})),Ju("@*",Xu(),{optional:!0})]))])};let kG=(()=>{class t extends rv{constructor(e,i,r,s,o,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._changeDetectorRef=r,this._config=o,this._interactivityChecker=a,this._ngZone=l,this._focusMonitor=c,this._animationStateChanged=new be,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=o.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=u_())}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const i=u_(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=u_();return e===i||e.contains(i)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(IS),p(kt),p(Se,8),p(lv),p(b_),p(_e),p(Er))},t.\u0275dir=I({type:t,viewQuery:function(e,i){if(1&e&&ot(Lc,7),2&e){let r;re(r=se())&&(i._portalOutlet=r.first)}},features:[F]}),t})(),IG=(()=>{class t extends kG{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275cmp=me({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,i){1&e&&Vd("@dialogContainer.start",function(s){return i._onAnimationStart(s)})("@dialogContainer.done",function(s){return i._onAnimationDone(s)}),2&e&&(to("id",i._id),Ue("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),Vl("@dialogContainer",i._state))},features:[F],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&$(0,AG,0,0,"ng-template",0)},directives:[Lc],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[TG.dialogContainer]}}),t})(),RG=0;class FG{constructor(n,e,i="mat-dialog-"+RG++){this._overlayRef=n,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new q,this._afterClosed=new q,this._beforeClosed=new q,this._state=0,e._id=i,e._animationStateChanged.pipe(jt(r=>"opened"===r.state),Nn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(jt(r=>"closed"===r.state),Nn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),n.keydownEvents().pipe(jt(r=>27===r.keyCode&&!this.disableClose&&!bo(r))).subscribe(r=>{r.preventDefault(),c1(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():c1(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(jt(e=>"closing"===e.state),Nn(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",e=""){return this._overlayRef.updateSize({width:n,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function c1(t,n,e){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=n),t.close(e)}const OG=new j("MatDialogData"),PG=new j("mat-dialog-default-options"),d1=new j("mat-dialog-scroll-strategy"),NG={provide:d1,deps:[Ga],useFactory:function LG(t){return()=>t.scrollStrategies.block()}};let BG=(()=>{class t{constructor(e,i,r,s,o,a,l,c,d,u){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=s,this._overlayContainer=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._ariaHiddenElements=new Map,this.afterAllClosed=jg(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Pi(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){i=function HG(t,n){return Object.assign(Object.assign({},n),t)}(i,this._defaultOptions||new lv),i.id&&this.getDialogById(i.id);const r=this._createOverlay(i),s=this._attachDialogContainer(r,i),o=this._attachDialogContent(e,s,r,i);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(()=>this._removeOpenDialog(o)),this.afterOpened.next(o),s._initializeWithAttachedContent(),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const i=this._getOverlayConfig(e);return this._overlay.create(i)}_getOverlayConfig(e){const i=new n1({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachDialogContainer(e,i){const s=Vt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:lv,useValue:i}]}),o=new nv(this._dialogContainerType,i.viewContainerRef,s,i.componentFactoryResolver);return e.attach(o).instance}_attachDialogContent(e,i,r,s){const o=new this._dialogRefConstructor(r,i,s.id);if(e instanceof on)i.attachTemplatePortal(new iv(e,null,{$implicit:s.data,dialogRef:o}));else{const a=this._createInjector(s,o,i),l=i.attachComponentPortal(new nv(e,s.viewContainerRef,a,s.componentFactoryResolver));o.componentInstance=l.instance}return o.updateSize(s.width,s.height).updatePosition(s.position),o}_createInjector(e,i,r){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:i}];return e.direction&&(!s||!s.get(Kn,null,Ne.Optional))&&o.push({provide:Kn,useValue:{value:e.direction,change:De()}}),Vt.create({parent:s||this._injector,providers:o})}_removeOpenDialog(e){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let s=i[r];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){Pl()},t.\u0275dir=I({type:t}),t})(),VG=(()=>{class t extends BG{constructor(e,i,r,s,o,a,l,c){super(e,i,s,a,l,o,FG,IG,OG,c)}}return t.\u0275fac=function(e){return new(e||t)(w(Ga),w(Vt),w(Kl,8),w(PG,8),w(d1),w(t,12),w(ov),w(tn,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),jG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[VG,NG],imports:[[av,Th,Te],Te]}),t})();const zG=["connectionContainer"],UG=["inputContainer"],GG=["label"];function $G(t,n){1&t&&(Ii(0),x(1,"div",14),ge(2,"div",15)(3,"div",16)(4,"div",17),b(),x(5,"div",18),ge(6,"div",15)(7,"div",16)(8,"div",17),b(),Ri())}function WG(t,n){if(1&t){const e=Gn();x(0,"div",19),we("cdkObserveContent",function(){return Pt(e),te().updateOutlineGap()}),He(1,1),b()}2&t&&O("cdkObserveContentDisabled","outline"!=te().appearance)}function qG(t,n){if(1&t&&(Ii(0),He(1,2),x(2,"span"),R(3),b(),Ri()),2&t){const e=te(2);T(3),sn(e._control.placeholder)}}function YG(t,n){1&t&&He(0,3,["*ngSwitchCase","true"])}function QG(t,n){1&t&&(x(0,"span",23),R(1," *"),b())}function KG(t,n){if(1&t){const e=Gn();x(0,"label",20,21),we("cdkObserveContent",function(){return Pt(e),te().updateOutlineGap()}),$(2,qG,4,1,"ng-container",12),$(3,YG,1,0,"ng-content",12),$(4,QG,2,0,"span",22),b()}if(2&t){const e=te();Pe("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),O("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Ue("for",e._control.id)("aria-owns",e._control.id),T(2),O("ngSwitchCase",!1),T(1),O("ngSwitchCase",!0),T(1),O("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function ZG(t,n){1&t&&(x(0,"div",24),He(1,4),b())}function XG(t,n){if(1&t&&(x(0,"div",25),ge(1,"span",26),b()),2&t){const e=te();T(1),Pe("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function JG(t,n){1&t&&(x(0,"div"),He(1,5),b()),2&t&&O("@transitionMessages",te()._subscriptAnimationState)}function e6(t,n){if(1&t&&(x(0,"div",30),R(1),b()),2&t){const e=te(2);O("id",e._hintLabelId),T(1),sn(e.hintLabel)}}function t6(t,n){if(1&t&&(x(0,"div",27),$(1,e6,2,2,"div",28),He(2,6),ge(3,"div",29),He(4,7),b()),2&t){const e=te();O("@transitionMessages",e._subscriptAnimationState),T(1),O("ngIf",e.hintLabel)}}const n6=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],r6=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let s6=0;const u1=new j("MatError");let cv=(()=>{class t{constructor(e,i){this.id="mat-error-"+s6++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(pi("aria-live"),p(Y))},t.\u0275dir=I({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&Ue("id",i.id)},inputs:{id:"id"},features:[pe([{provide:u1,useExisting:t}])]}),t})();const o6={transitionMessages:Vn("transitionMessages",[lt("enter",xe({opacity:1,transform:"translateY(0%)"})),Dt("void => enter",[xe({opacity:0,transform:"translateY(-5px)"}),It("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let dv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t}),t})();const a6=new j("MatHint");let Nc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["mat-label"]]}),t})(),l6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["mat-placeholder"]]}),t})();const h1=new j("MatPrefix");let c6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["","matPrefix",""]],features:[pe([{provide:h1,useExisting:t}])]}),t})();const d6=new j("MatSuffix");let f1=0;const h6=ts(class{constructor(t){this._elementRef=t}},"primary"),f6=new j("MAT_FORM_FIELD_DEFAULT_OPTIONS"),m1=new j("MatFormField");let uv=(()=>{class t extends h6{constructor(e,i,r,s,o,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=s,this._platform=o,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new q,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+f1++,this._labelId="mat-form-field-label-"+f1++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Re(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Pi(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(nt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(nt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Lr(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Pi(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Pi(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(nt(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ns(this._label.nativeElement,"transitionend").pipe(Nn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,r=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const d=i.querySelectorAll(`${r}, ${s}`);for(let u=0;u0?.75*v+10:0}for(let d=0;d{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn,Te,Sc],Te]}),t})();const g1=_o({passive:!0});let p6=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ui;const i=Jr(e),r=this._monitoredElements.get(i);if(r)return r.subject;const s=new q,o="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1}))):(i.classList.add(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,g1),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",a,g1)}}),s}stopMonitoring(e){const i=Jr(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(w(dn),w(_e))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})();const m6=new j("MAT_INPUT_VALUE_ACCESSOR"),g6=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let _6=0;const v6=Jz(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i}});let hv=(()=>{class t extends v6{constructor(e,i,r,s,o,a,l,c,d,u){super(a,s,o,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+_6++,this.focused=!1,this.stateChanges=new q,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>uS().has(v)),this._iOSKeyupListener=v=>{const C=v.target;!C.value&&0===C.selectionStart&&0===C.selectionEnd&&(C.setSelectionRange(1,1),C.setSelectionRange(0,0))};const m=this._elementRef.nativeElement,g=m.nodeName.toLowerCase();this._inputValueAccessor=l||m,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===g,this._isTextarea="textarea"===g,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Re(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Ln.required))&&void 0!==s&&s}set required(e){this._required=Re(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&uS().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Re(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,i;const r=(null===(i=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===i?void 0:i.call(e))?null:this.placeholder;if(r!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=r,r?s.setAttribute("placeholder",r):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){g6.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(dn),p(Qr,10),p(Au,8),p(co,8),p(q_),p(m6,10),p(p6),p(_e),p(m1,8))},t.\u0275dir=I({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&we("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(to("disabled",i.disabled)("required",i.required),Ue("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Pe("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[pe([{provide:dv,useExisting:t}]),F,Wt]}),t})(),y6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[q_],imports:[[_1,kh,Te],_1,kh]}),t})();const b6=["*",[["mat-card-footer"]]],x6=["*","mat-card-footer"],C6=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],w6=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],D6=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],M6=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let fv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),v1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),E6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=I({type:t,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),t})(),pv=(()=>{class t{constructor(e){this._animationMode=e}}return t.\u0275fac=function(e){return new(e||t)(p(tn,8))},t.\u0275cmp=me({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&Pe("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:x6,decls:2,vars:0,template:function(e,i){1&e&&(Tt(b6),He(0),He(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),y1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:w6,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,i){1&e&&(Tt(C6),He(0),x(1,"div",0),He(2,1),b(),He(3,2))},encapsulation:2,changeDetection:0}),t})(),S6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:M6,decls:4,vars:0,template:function(e,i){1&e&&(Tt(D6),x(0,"div"),He(1),b(),He(2,1),He(3,2))},encapsulation:2,changeDetection:0}),t})(),A6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te],Te]}),t})();const F6={provide:new j("mat-select-scroll-strategy"),deps:[Ga],useFactory:function R6(t){return()=>t.scrollStrategies.reposition()}};let x1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[F6],imports:[[Pn,av,IA,Te],Ua,kh,IA,Te]}),t})();const N6={provide:new j("mat-tooltip-scroll-strategy"),deps:[Ga],useFactory:function L6(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}};let V6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[N6],imports:[[BS,Pn,av,Te],Te,Ua]}),t})(),mv=(()=>{class t{constructor(){this.changes=new q,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const s=e*i;return`${s+1} \u2013 ${s<(r=Math.max(r,0))?Math.min(s+i,r):s+i} of ${r}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const G6={provide:mv,deps:[[new ii,new jr,mv]],useFactory:function U6(t){return t||new mv}};let $6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[G6],imports:[[Pn,ev,x1,V6,Te]]}),t})(),gv=(()=>{class t{constructor(){this.changes=new q}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const q6={provide:gv,deps:[[new ii,new jr,gv]],useFactory:function W6(t){return t||new gv}};let Y6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[q6],imports:[[Pn,Te]]}),t})(),Q6=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),d$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Z_]]}),t})(),S$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[d$,Te],Te]}),t})(),N1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})(),H$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Fs,Te,Sc,N1],Te,N1]}),t})();function B1(t){for(let n in t){let e=t[n]||"";switch(n){case"display":t.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":e=e||"row",t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e}}return t}const Av="inline",Hh=["row","column","row-reverse","column-reverse"];function V1(t){let[n,e,i]=H1(t);return function z$(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}(n,e,i)}function H1(t){var n;t=null!==(n=null==t?void 0:t.toLowerCase())&&void 0!==n?n:"";let[e,i,r]=t.split(" ");return Hh.find(s=>s===e)||(e=Hh[0]),i===Av&&(i=r!==Av?r:"",r=Av),[e,j$(i),!!r]}function jc(t){let[n]=H1(t);return n.indexOf("row")>-1}function j$(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}function ss(t,...n){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}const G$={provide:km,useFactory:function U$(t,n){return()=>{if(ws(n)){const e=Array.from(t.querySelectorAll(`[class*=${j1}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${j1}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[Se,ri],multi:!0},j1="flex-layout-";let Tv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[G$]}),t})();class To{constructor(n=!1,e="all",i="",r="",s=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=s,this.property=""}clone(){return new To(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let $$=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){const s=this.stylesheet.get(e);s?s.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const r=this.stylesheet.get(e);let s="";if(r){const o=r.get(i);("number"==typeof o||"string"==typeof o)&&(s=o+"")}return s}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const kv={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},or=new j("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>kv}),Ya=new j("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Iv=new j("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function z1(t,n){return t=t?t.clone():new To,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}class Kt{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}}let Rt=(()=>{class t{constructor(e,i,r,s){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=s}applyStyleToElement(e,i,r=null){let s={};"string"==typeof i&&(s[i]=r,i=s),s=this.layoutConfig.disableVendorPrefixes?i:B1(i),this._applyMultiValueStyleToElement(s,e)}applyStyleToElements(e,i=[]){const r=this.layoutConfig.disableVendorPrefixes?e:B1(e);i.forEach(s=>{this._applyMultiValueStyleToElement(r,s)})}getFlowDirection(e){const i="flex-direction";let r=this.lookupStyle(e,i);return[r||"row",this.lookupInlineStyle(e,i)||ka(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){var r;return null!==(r=e.getAttribute(i))&&void 0!==r?r:""}lookupInlineStyle(e,i){return ws(this._platformId)?e.style.getPropertyValue(i):function W$(t,n){var e;return null!==(e=U1(t)[n])&&void 0!==e?e:""}(e,i)}lookupStyle(e,i,r=!1){let s="";return e&&((s=this.lookupInlineStyle(e,i))||(ws(this._platformId)?r||(s=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(e,i)))),s?s.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{const s=e[r],o=Array.isArray(s)?s:[s];o.sort();for(let a of o)a=a?a+"":"",ws(this._platformId)||!this._serverModuleLoaded?ws(this._platformId)?i.style.setProperty(r,a):q$(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}}return t.\u0275fac=function(e){return new(e||t)(w($$),w(Ya),w(ri),w(or))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function q$(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=U1(t);i[n]=null!=e?e:"",function Y$(t,n){let e="";for(const i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}(t,i)}function U1(t){const n={},e=t.getAttribute("style");if(e){const i=e.split(/;+/g);for(let r=0;r0){const o=s.indexOf(":");if(-1===o)throw new Error(`Invalid CSS style: ${s}`);n[s.substr(0,o).trim()]=s.substr(o+1).trim()}}}return n}function zc(t,n){return(n&&n.priority||0)-(t&&t.priority||0)}function Q$(t,n){return(t.priority||0)-(n.priority||0)}let Rv=(()=>{class t{constructor(e,i,r){this._zone=e,this._platformId=i,this._document=r,this.source=new ai(new To(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){var i;const r=this.registry.get(e);return null!==(i=null==r?void 0:r.matches)&&void 0!==i?i:this.registerQuery(e).some(s=>s.matches)}observe(e,i=!1){if(e&&e.length){const r=this._observable$.pipe(jt(o=>!i||e.indexOf(o.mediaQuery)>-1));return Lr(new Ye(o=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(c=>{o.next(c)}),this.source.next(l)}o.complete()}),r)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],r=[];return function K$(t,n){const e=t.filter(i=>!G1[i]);if(e.length>0){const i=e.join(", ");try{const r=n.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(n.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),n.head.appendChild(r),e.forEach(s=>G1[s]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(s=>{const o=l=>{this._zone.run(()=>this.source.next(new To(l.matches,s)))};let a=this.registry.get(s);a||(a=this.buildMQL(s),a.addListener(o),this.pendingRemoveListenerFns.push(()=>a.removeListener(o)),this.registry.set(s,a)),a.matches&&r.push(new To(!0,s))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function Z$(t,n){return n&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,ws(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(w(_e),w(ri),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const G1={},X$=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],$1="(orientation: portrait) and (max-width: 599.98px)",W1="(orientation: landscape) and (max-width: 959.98px)",q1="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Y1="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Q1="(orientation: portrait) and (min-width: 840px)",K1="(orientation: landscape) and (min-width: 1280px)",os={HANDSET:`${$1}, ${W1}`,TABLET:`${q1} , ${Y1}`,WEB:`${Q1}, ${K1} `,HANDSET_PORTRAIT:`${$1}`,TABLET_PORTRAIT:`${q1} `,WEB_PORTRAIT:`${Q1}`,HANDSET_LANDSCAPE:`${W1}`,TABLET_LANDSCAPE:`${Y1}`,WEB_LANDSCAPE:`${K1}`},J$=[{alias:"handset",priority:2e3,mediaQuery:os.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:os.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:os.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:os.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:os.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:os.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:os.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:os.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:os.WEB_PORTRAIT,overlapping:!0}],e7=/(\.|-|_)/g;function t7(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}const o7=new j("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Ks(Iv),n=Ks(or),e=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r]));return function s7(t,n=[]){const e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?ss(e[i.alias],i):e[i.alias]=i}),function r7(t){return t.forEach(n=>{n.suffix||(n.suffix=function n7(t){return t.replace(e7,"|").split("|").map(t7).join("")}(n.alias),n.overlapping=!!n.overlapping)}),t}(Object.keys(e).map(i=>e[i]))}((n.disableDefaultBps?[]:X$).concat(n.addOrientationBps?J$:[]),e)}});let Fv=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(Q$)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var i;return null!==(i=null==e?void 0:e.suffix)&&void 0!==i?i:""})}findWithPredicate(e,i){var r;let s=this.findByMap.get(e);return s||(s=null!==(r=this.items.find(i))&&void 0!==r?r:null,this.findByMap.set(e,s)),null!=s?s:null}}return t.\u0275fac=function(e){return new(e||t)(w(o7))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Qa="print",a7={alias:Qa,mediaQuery:Qa,priority:1e3};let l7=(()=>{class t{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new c7,this.deactivations=[]}withPrintQuery(e){return[...e,Qa]}isPrintEvent(e){return e.mediaQuery.startsWith(Qa)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(zc)}updateEvent(e){var i;let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(i=null==r?void 0:r.mediaQuery)&&void 0!==i?i:""),z1(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new To(!0,Qa))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const s=this.formerActivations&&this.formerActivations.includes(r),o=!this.formerActivations&&e.activatedBreakpoints.includes(r);(s||o)&&(this.deactivations.push(r),this.deactivations.sort(zc))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return t.\u0275fac=function(e){return new(e||t)(w(Fv),w(or),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class c7{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(a7),n.sort(zc),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)&&(this.printBreakpoints=function d7(t){var n;return null!==(n=null==t?void 0:t.mediaQuery.startsWith(Qa))&&void 0!==n&&n}(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}}let Lt=(()=>{class t{constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new q,this.observeActivations()}get activatedAlias(){var e,i;return null!==(i=null===(e=this.activatedBreakpoints[0])||void 0===e?void 0:e.alias)&&void 0!==i?i:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=z1(e,i);const r=this.activatedBreakpoints.indexOf(i);e.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(zc),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(zc),this.updateStyles())}}init(e,i,r,s,o=[]){Z1(this.updateMap,e,i,r),Z1(this.clearMap,e,i,s),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,o)}getValue(e,i,r){const s=this.elementMap.get(e);if(s){const o=void 0!==r?s.get(r):this.getActivatedValues(s,i);if(o)return o.get(i)}}hasValue(e,i){const r=this.elementMap.get(e);if(r){const s=this.getActivatedValues(r,i);if(s)return void 0!==s.get(i)||!1}return!1}setValue(e,i,r,s){var o;let a=this.elementMap.get(e);if(a){const c=(null!==(o=a.get(s))&&void 0!==o?o:new Map).set(i,r);a.set(s,c),this.elementMap.set(e,a)}else a=(new Map).set(s,(new Map).set(i,r)),this.elementMap.set(e,a);const l=this.getValue(e,i);void 0!==l&&this.updateElement(e,i,l)}trackValue(e,i){return this.subject.asObservable().pipe(jt(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const r=new Set(this.elementKeyMap.get(i));let s=this.getActivatedValues(e);s&&s.forEach((o,a)=>{this.updateElement(i,a,o),r.delete(a)}),r.forEach(o=>{if(s=this.getActivatedValues(e,o),s){const a=s.get(o);this.updateElement(i,o,a)}else this.clearElement(i,o)})})}clearElement(e,i){const r=this.clearMap.get(e);if(r){const s=r.get(i);s&&(s(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){const s=this.updateMap.get(e);if(s){const o=s.get(i);o&&(o(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(s=>s.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((s,o)=>r.delete(o)),this.elementMap.delete(e))}triggerUpdate(e,i){const r=this.elementMap.get(e);if(r){const s=this.getActivatedValues(r,i);s&&(i?this.updateElement(e,i,s.get(i)):s.forEach((o,a)=>this.updateElement(e,a,o)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let s=this.watcherMap.get(e);if(s||(s=new Map,this.watcherMap.set(e,s)),!s.get(i)){const a=Lr(...r).subscribe(()=>{const l=this.getValue(e,i);this.updateElement(e,i,l)});s.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let s=0;si.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Dn(this.hook.interceptEvents(this)),jt(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(w(Rv),w(Fv),w(l7))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Z1(t,n,e,i){var r;if(void 0!==i){const s=null!==(r=t.get(n))&&void 0!==r?r:new Map;s.set(e,i),t.set(n,s)}}let Ut=(()=>{class t{constructor(e,i,r,s){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new q,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const r=this.styleBuilder,s=r.shouldCache;let o=this.styleCache.get(e);(!o||!s)&&(o=r.buildStyles(e,i),s&&this.styleCache.set(e,o)),this.mru=Object.assign({},o),this.applyStyleToElement(o),r.sideEffect(e,o,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[r,s]=this.styler.getFlowDirection(e);if(!s&&i){const o=V1(r);this.styler.applyStyleToElements(o,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Kt),p(Rt),p(Lt))},t.\u0275dir=I({type:t,features:[Wt]}),t})();function X1(t,n="1",e="1"){let i=[n,e,t],r=t.indexOf("calc");if(r>0){i[2]=J1(t.substring(r).trim());let s=t.substr(0,r).trim().split(" ");2==s.length&&(i[0]=s[0],i[1]=s[1])}else if(0==r)i[2]=J1(t.trim());else{let s=t.split(" ");i=3===s.length?s:[n,e,t]}return i}function J1(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let v7=(()=>{class t extends Ut{constructor(e,i,r,s,o,a,l){super(e,null,i,r),this.ngClassInstance=l,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new ao(s,o,e,a)),this.init(),this.setValue("","")}set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Rt),p(Lt),p(Cr),p(so),p(nr),p(ao,10))},t.\u0275dir=I({type:t,inputs:{klass:["class","klass"]},features:[F]}),t})();const y7=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let zh=(()=>{class t extends v7{constructor(){super(...arguments),this.inputs=y7}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[F]}),t})(),b7=(()=>{class t extends Kt{buildStyles(e,i){return{display:"true"===e?i.display||(i.isServer?"initial":""):"none"}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),x7=(()=>{class t extends Ut{constructor(e,i,r,s,o,a,l){super(e,i,r,s),this.layoutConfig=o,this.platformId=a,this.serverModuleLoaded=l,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const e=Array.from(this.nativeElement.children);for(let r=0;r{if(-1!==this.inputs.indexOf(i)){const r=i.split("."),s=r.slice(1).join("."),o=e[i].currentValue;let a=""===o||0!==o&&Re(o);"fxHide"===r[0]&&(a=!a),this.setValue(a,s)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(e=>{this.marshal.trackValue(this.nativeElement,e).pipe(nt(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(e=!0){if(""===e)return;const i=ka(this.platformId);this.addStyles(e?"true":"false",{display:this.display,isServer:i}),i&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(b7),p(Rt),p(Lt),p(or),p(ri),p(Ya))},t.\u0275dir=I({type:t,features:[F,Wt]}),t})();const Ov=new WeakMap,C7=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let tT=(()=>{class t extends x7{constructor(){super(...arguments),this.inputs=C7}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[F]}),t})();class w7{constructor(n,e,i=!0){this.key=n,this.value=e,this.key=i?n.replace(/['"]/g,"").trim():n.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function nT(t){let n=typeof t;return"object"===n?t.constructor===Array?"array":t.constructor===Set?"set":"object":n}function rT(t){const[n,...e]=t.split(":");return new w7(n,e.join(":"))}function sT(t,n){return n.key&&(t[n.key]=n.value),t}let E7=(()=>{class t extends Ut{constructor(e,i,r,s,o,a,l,c,d){var u;super(e,null,i,r),this.sanitizer=s,this.ngStyleInstance=l,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new tc(e,o,a)),this.init();const m=null!==(u=this.nativeElement.getAttribute("style"))&&void 0!==u?u:"";this.fallbackStyles=this.buildStyleMap(m),this.isServer=c&&ka(d)}updateWithValue(e){const i=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),i),this.isServer&&this.applyStyleToElement(i),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const i=r=>{var s;return null!==(s=this.sanitizer.sanitize(dt.STYLE,r))&&void 0!==s?s:""};if(e)switch(nT(e)){case"string":return aT(function D7(t,n=";"){return String(t).trim().split(n).map(e=>e.trim()).filter(e=>""!==e)}(e),i);case"array":return aT(e,i);default:return function iT(t,n){let e=[];return"set"===nT(t)?t.forEach(i=>e.push(i)):Object.keys(t).forEach(i=>{e.push(`${i}:${t[i]}`)}),function M7(t,n){return t.map(rT).filter(i=>!!i).map(i=>(n&&(i.value=n(i.value)),i)).reduce(sT,{})}(e,n)}(e,i)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Rt),p(Lt),p(rc),p(so),p(nr),p(tc,10),p(Ya),p(ri))},t.\u0275dir=I({type:t,features:[F]}),t})();const S7=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let oT=(()=>{class t extends E7{constructor(){super(...arguments),this.inputs=S7}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[F]}),t})();function aT(t,n){return t.map(rT).filter(i=>!!i).map(i=>(n&&(i.value=n(i.value)),i)).reduce(sT,{})}let lT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Tv]]}),t})(),A7=(()=>{class t extends Kt{buildStyles(e,{display:i}){const r=V1(e);return Object.assign(Object.assign({},r),{display:"none"===i?i:r.display})}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const T7=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let k7=(()=>{class t extends Ut{constructor(e,i,r,s,o){super(e,r,i,s),this._config=o,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var i;const s=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(i=cT.get(s))&&void 0!==i?i:new Map,cT.set(s,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:s}),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Rt),p(A7),p(Lt),p(or))},t.\u0275dir=I({type:t,features:[F]}),t})(),ko=(()=>{class t extends k7{constructor(){super(...arguments),this.inputs=T7}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[F]}),t})();const cT=new Map;let z7=(()=>{class t extends Kt{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,s,...o]=e.split(" "),a=o.join(" ");const l=i.direction.indexOf("column")>-1?"column":"row",c=jc(l)?"max-width":"max-height",d=jc(l)?"min-width":"min-height",u=String(a).indexOf("calc")>-1,m=u||"auto"===a,g=String(a).indexOf("%")>-1&&!u,v=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let C=u||v;r="0"==r?0:r,s="0"==s?0:s;const S=!r&&!s;let k={};const D={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const z=!1!==this.layoutConfig.useColumnBasisZero;a="row"===l?"0%":z?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":s=0,a="auto";break;case"auto":break;case"none":r=0,s=0,a="auto";break;default:!C&&!g&&!isNaN(a)&&(a+="%"),"0%"===a&&(C=!0),"0px"===a&&(a="0%"),k=ss(D,u?{"flex-grow":r,"flex-shrink":s,"flex-basis":C?a:"100%"}:{flex:`${r} ${s} ${C?a:"100%"}`})}return k.flex||k["flex-grow"]||(k=ss(D,u?{"flex-grow":r,"flex-shrink":s,"flex-basis":a}:{flex:`${r} ${s} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(k[d]=S||C&&r?a:null,k[c]=S||!m&&s?a:null),k[d]||k[c]?i.hasWrap&&(k[u?"flex-basis":"flex"]=k[c]?u?k[c]:`${r} ${s} ${k[c]}`:u?k[d]:`${r} ${s} ${k[d]}`):k=ss(D,u?{"flex-grow":r,"flex-shrink":s,"flex-basis":a}:{flex:`${r} ${s} ${a}`}),ss(k,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(w(or))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const U7=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let G7=(()=>{class t extends Ut{constructor(e,i,r,s,o){super(e,s,i,o),this.layoutConfig=r,this.marshal=o,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(nt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(nt(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const r=e.value.split(" ");this.direction=r[0],this.wrap=void 0!==r[1]&&"wrap"===r[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const r=this.direction,s=r.startsWith("row"),o=this.wrap;s&&o?this.styleCache=q7:s&&!o?this.styleCache=$7:!s&&o?this.styleCache=Y7:!s&&!o&&(this.styleCache=W7);const l=X1(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:o})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const i=X1(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Rt),p(or),p(z7),p(Lt))},t.\u0275dir=I({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[F]}),t})(),hT=(()=>{class t extends G7{constructor(){super(...arguments),this.inputs=U7}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[F]}),t})();const $7=new Map,W7=new Map,q7=new Map,Y7=new Map,f9={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let p9=(()=>{class t extends Kt{buildStyles(e){return f9}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fT=(()=>{class t extends Ut{constructor(e,i,r,s){super(e,r,i,s),this.styleCache=m9,this.addStyles("")}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Rt),p(p9),p(Lt))},t.\u0275dir=I({type:t,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[F]}),t})();const m9=new Map;let g9=(()=>{class t extends Kt{buildStyles(e,i){const r={},[s,o]=e.split(" ");switch(s){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(o){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return ss(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===o?jc(i.layout)?null:"100%":null,"max-height":"stretch"===o&&jc(i.layout)?"100%":null})}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const _9=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let v9=(()=>{class t extends Ut{constructor(e,i,r,s){super(e,r,i,s),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(nt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=w9:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=M9:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=D9:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=E9:"column-reverse"===i&&!r&&(this.styleCache=C9):this.styleCache=b9:this.styleCache=x9:this.styleCache=y9,this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Hh.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Rt),p(g9),p(Lt))},t.\u0275dir=I({type:t,features:[F]}),t})(),Io=(()=>{class t extends v9{constructor(){super(...arguments),this.inputs=_9}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[F]}),t})();const y9=new Map,b9=new Map,x9=new Map,C9=new Map,w9=new Map,D9=new Map,M9=new Map,E9=new Map;let pT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Tv,go]]}),t})(),CT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Tv]]}),t})(),YW=(()=>{class t{constructor(e,i){ka(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:or,useValue:Object.assign(Object.assign({},kv),e)},{provide:Iv,useValue:i,multi:!0},{provide:Ya,useValue:!0}]:[{provide:or,useValue:Object.assign(Object.assign({},kv),e)},{provide:Iv,useValue:i,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(w(Ya),w(ri))},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[pT,lT,CT],pT,lT,CT]}),t})();function wT(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,i)}return e}function oe(t){for(var n=1;nt.length)&&(n=t.length);for(var e=0,i=new Array(n);e0;)n+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return n}function Ka(t){for(var n=[],e=(t||[]).length>>>0;e--;)n[e]=t[e];return n}function Uv(t){return t.classList?Ka(t.classList):(t.getAttribute("class")||"").split(" ").filter(function(n){return n})}function zT(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Kh(t){return Object.keys(t||{}).reduce(function(n,e){return n+"".concat(e,": ").concat(t[e].trim(),";")},"")}function Gv(t){return t.size!==Tr.size||t.x!==Tr.x||t.y!==Tr.y||t.rotate!==Tr.rotate||t.flipX||t.flipY}function UT(){var t="fa",n=PT,e=Ee.familyPrefix,i=Ee.replacementClass,r=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(e!==t||i!==n){var s=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(n),"g");r=r.replace(s,".".concat(e,"-")).replace(o,"--".concat(e,"-")).replace(a,".".concat(i))}return r}var GT=!1;function $v(){Ee.autoAddCss&&!GT&&(function xq(t){if(t&&as){var n=Ft.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=t;for(var e=Ft.head.childNodes,i=null,r=e.length-1;r>-1;r--){var s=e[r],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=s)}Ft.head.insertBefore(n,i)}}(UT()),GT=!0)}var Sq={mixout:function(){return{dom:{css:UT,insertCss:$v}}},hooks:function(){return{beforeDOMElementCreation:function(){$v()},beforeI2svg:function(){$v()}}}},cs=Ls||{};cs[ls]||(cs[ls]={}),cs[ls].styles||(cs[ls].styles={}),cs[ls].hooks||(cs[ls].hooks={}),cs[ls].shims||(cs[ls].shims=[]);var ar=cs[ls],$T=[],Zh=!1;function Tq(t){!as||(Zh?setTimeout(t,0):$T.push(t))}function Wc(t){var n=t.tag,e=t.attributes,i=void 0===e?{}:e,r=t.children,s=void 0===r?[]:r;return"string"==typeof t?zT(t):"<".concat(n," ").concat(function wq(t){return Object.keys(t||{}).reduce(function(n,e){return n+"".concat(e,'="').concat(zT(t[e]),'" ')},"").trim()}(i),">").concat(s.map(Wc).join(""),"")}function WT(t,n,e){if(t&&t[n]&&t[n][e])return{prefix:n,iconName:e,icon:t[n][e]}}as&&((Zh=(Ft.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ft.readyState))||Ft.addEventListener("DOMContentLoaded",function t(){Ft.removeEventListener("DOMContentLoaded",t),Zh=1,$T.map(function(n){return n()})}));var Wv=function(n,e,i,r){var l,c,d,s=Object.keys(n),o=s.length,a=void 0!==r?function(n,e){return function(i,r,s,o){return n.call(e,i,r,s,o)}}(e,r):e;for(void 0===i?(l=1,d=n[s[0]]):(l=0,d=i);l=55296&&r<=56319&&e2&&void 0!==arguments[2]?arguments[2]:{},i=e.skipHooks,r=void 0!==i&&i,s=qT(n);"function"!=typeof ar.hooks.addPack||r?ar.styles[t]=oe(oe({},ar.styles[t]||{}),s):ar.hooks.addPack(t,qT(n)),"fas"===t&&Yv("fa",n)}var qc=ar.styles,Fq=ar.shims,Oq=Object.values(BT),Qv=null,YT={},QT={},KT={},ZT={},XT={},Pq=Object.keys(zv);function Nq(t,n){var e=n.split("-"),i=e[0],r=e.slice(1).join("-");return i!==t||""===r||function Lq(t){return~mq.indexOf(t)}(r)?null:r}var JT=function(){var n=function(s){return Wv(qc,function(o,a,l){return o[l]=Wv(a,s,{}),o},{})};YT=n(function(r,s,o){return s[3]&&(r[s[3]]=o),s[2]&&s[2].filter(function(l){return"number"==typeof l}).forEach(function(l){r[l.toString(16)]=o}),r}),QT=n(function(r,s,o){return r[o]=o,s[2]&&s[2].filter(function(l){return"string"==typeof l}).forEach(function(l){r[l]=o}),r}),XT=n(function(r,s,o){var a=s[2];return r[o]=o,a.forEach(function(l){r[l]=o}),r});var e="far"in qc||Ee.autoFetchSvg,i=Wv(Fq,function(r,s){var o=s[0],a=s[1],l=s[2];return"far"===a&&!e&&(a="fas"),"string"==typeof o&&(r.names[o]={prefix:a,iconName:l}),"number"==typeof o&&(r.unicodes[o.toString(16)]={prefix:a,iconName:l}),r},{names:{},unicodes:{}});KT=i.names,ZT=i.unicodes,Qv=Xh(Ee.styleDefault)};function Kv(t,n){return(YT[t]||{})[n]}function Za(t,n){return(XT[t]||{})[n]}function ek(t){return KT[t]||{prefix:null,iconName:null}}function Bs(){return Qv}function Xh(t){return Yh[t]||Yh[zv[t]]||(t in ar.styles?t:null)||null}function Jh(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.skipLookups,i=void 0!==e&&e,r=null,s=t.reduce(function(o,a){var l=Nq(Ee.familyPrefix,a);if(qc[a]?(a=Oq.includes(a)?cq[a]:a,r=a,o.prefix=a):Pq.indexOf(a)>-1?(r=a,o.prefix=Xh(a)):l?o.iconName=l:a!==Ee.replacementClass&&o.rest.push(a),!i&&o.prefix&&o.iconName){var c="fa"===r?ek(o.iconName):{},d=Za(o.prefix,o.iconName);c.prefix&&(r=null),o.iconName=c.iconName||d||o.iconName,o.prefix=c.prefix||o.prefix,"far"===o.prefix&&!qc.far&&qc.fas&&!Ee.autoFetchSvg&&(o.prefix="fas")}return o},{prefix:null,iconName:null,rest:[]});return("fa"===s.prefix||"fa"===r)&&(s.prefix=Bs()||"fas"),s}(function bq(t){Qh.push(t)})(function(t){Qv=Xh(t.styleDefault)}),JT();var Hq=function(){function t(){(function QW(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")})(this,t),this.definitions={}}return function KW(t,n,e){n&&DT(t.prototype,n),e&&DT(t,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"add",value:function(){for(var e=this,i=arguments.length,r=new Array(i),s=0;s0&&d.forEach(function(u){"string"==typeof u&&(e[a][u]=c)}),e[a][l]=c}),e}}]),t}(),tk=[],Xa={},Ja={},jq=Object.keys(Ja);function Xv(t,n){for(var e=arguments.length,i=new Array(e>2?e-2:0),r=2;r1?n-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{};return as?(Oo("beforeI2svg",n),ds("pseudoElements2svg",n),ds("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.autoReplaceSvgRoot;!1===Ee.autoReplaceSvg&&(Ee.autoReplaceSvg=!0),Ee.observeMutations=!0,Tq(function(){Wq({autoReplaceSvgRoot:e}),Oo("watch",n)})}},xi={noAuto:function(){Ee.autoReplaceSvg=!1,Ee.observeMutations=!1,Oo("noAuto")},config:Ee,dom:Gq,parse:{icon:function(n){if(null===n)return null;if("object"===Gh(n)&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:Za(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&2===n.length){var e=0===n[1].indexOf("fa-")?n[1].slice(3):n[1],i=Xh(n[0]);return{prefix:i,iconName:Za(i,e)||e}}if("string"==typeof n&&(n.indexOf("".concat(Ee.familyPrefix,"-"))>-1||n.match(dq))){var r=Jh(n.split(" "),{skipLookups:!0});return{prefix:r.prefix||Bs(),iconName:Za(r.prefix,r.iconName)||r.iconName}}if("string"==typeof n){var s=Bs();return{prefix:s,iconName:Za(s,n)||n}}}},library:nk,findIconDefinition:Jv,toHtml:Wc},Wq=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.autoReplaceSvgRoot,i=void 0===e?Ft:e;(Object.keys(ar.styles).length>0||Ee.autoFetchSvg)&&as&&Ee.autoReplaceSvg&&xi.dom.i2svg({node:i})};function ef(t,n){return Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(i){return Wc(i)})}}),Object.defineProperty(t,"node",{get:function(){if(as){var i=Ft.createElement("div");return i.innerHTML=t.html,i.children}}}),t}function ey(t){var n=t.icons,e=n.main,i=n.mask,r=t.prefix,s=t.iconName,o=t.transform,a=t.symbol,l=t.title,c=t.maskId,d=t.titleId,u=t.extra,m=t.watchable,g=void 0!==m&&m,v=i.found?i:e,C=v.width,S=v.height,k="fak"===r,D=[Ee.replacementClass,s?"".concat(Ee.familyPrefix,"-").concat(s):""].filter(function(hn){return-1===u.classes.indexOf(hn)}).filter(function(hn){return""!==hn||!!hn}).concat(u.classes).join(" "),z={children:[],attributes:oe(oe({},u.attributes),{},{"data-prefix":r,"data-icon":s,class:D,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(C," ").concat(S)})},J=k&&!~u.classes.indexOf("fa-fw")?{width:"".concat(C/S*16*.0625,"em")}:{};g&&(z.attributes[Ro]=""),l&&(z.children.push({tag:"title",attributes:{id:z.attributes["aria-labelledby"]||"title-".concat(d||$c())},children:[l]}),delete z.attributes.title);var Ce=oe(oe({},z),{},{prefix:r,iconName:s,main:e,mask:i,maskId:c,transform:o,symbol:a,styles:oe(oe({},J),u.styles)}),ut=i.found&&e.found?ds("generateAbstractMask",Ce)||{children:[],attributes:{}}:ds("generateAbstractIcon",Ce)||{children:[],attributes:{}},yn=ut.attributes;return Ce.children=ut.children,Ce.attributes=yn,a?function Yq(t){var e=t.iconName,i=t.children,r=t.attributes,s=t.symbol,o=!0===s?"".concat(t.prefix,"-").concat(Ee.familyPrefix,"-").concat(e):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:oe(oe({},r),{},{id:o}),children:i}]}]}(Ce):function qq(t){var n=t.children,e=t.main,i=t.mask,r=t.attributes,s=t.styles,o=t.transform;if(Gv(o)&&e.found&&!i.found){var c={x:e.width/e.height/2,y:.5};r.style=Kh(oe(oe({},s),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:n}]}(Ce)}function ik(t){var n=t.content,e=t.width,i=t.height,r=t.transform,s=t.title,o=t.extra,a=t.watchable,l=void 0!==a&&a,c=oe(oe(oe({},o.attributes),s?{title:s}:{}),{},{class:o.classes.join(" ")});l&&(c[Ro]="");var d=oe({},o.styles);Gv(r)&&(d.transform=function Mq(t){var n=t.transform,e=t.width,r=t.height,s=void 0===r?16:r,o=t.startCentered,a=void 0!==o&&o,l="";return l+=a&&FT?"translate(".concat(n.x/16-(void 0===e?16:e)/2,"em, ").concat(n.y/16-s/2,"em) "):a?"translate(calc(-50% + ".concat(n.x/16,"em), calc(-50% + ").concat(n.y/16,"em)) "):"translate(".concat(n.x/16,"em, ").concat(n.y/16,"em) "),(l+="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "))+"rotate(".concat(n.rotate,"deg) ")}({transform:r,startCentered:!0,width:e,height:i}),d["-webkit-transform"]=d.transform);var u=Kh(d);u.length>0&&(c.style=u);var m=[];return m.push({tag:"span",attributes:c,children:[n]}),s&&m.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),m}function Qq(t){var n=t.content,e=t.title,i=t.extra,r=oe(oe(oe({},i.attributes),e?{title:e}:{}),{},{class:i.classes.join(" ")}),s=Kh(i.styles);s.length>0&&(r.style=s);var o=[];return o.push({tag:"span",attributes:r,children:[n]}),e&&o.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),o}var ty=ar.styles;function ny(t){var n=t[0],e=t[1],s=Pv(t.slice(4),1)[0];return{found:!0,width:n,height:e,icon:Array.isArray(s)?{tag:"g",attributes:{class:"".concat(Ee.familyPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(Ee.familyPrefix,"-").concat("secondary"),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(Ee.familyPrefix,"-").concat("primary"),fill:"currentColor",d:s[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:s}}}}var Kq={found:!1,width:512,height:512};function iy(t,n){var e=n;return"fa"===n&&null!==Ee.styleDefault&&(n=Bs()),new Promise(function(i,r){if(ds("missingIconAbstract"),"fa"===e){var o=ek(t)||{};t=o.iconName||t,n=o.prefix||n}if(t&&n&&ty[n]&&ty[n][t])return i(ny(ty[n][t]));(function Zq(t,n){!NT&&!Ee.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(n,'" is missing.'))})(t,n),i(oe(oe({},Kq),{},{icon:Ee.showMissingIcons&&t&&ds("missingIconAbstract")||{}}))})}var rk=function(){},ry=Ee.measurePerformance&&qh&&qh.mark&&qh.measure?qh:{mark:rk,measure:rk},Yc='FA "6.1.1"',sy_begin=function(n){return ry.mark("".concat(Yc," ").concat(n," begins")),function(){return function(n){ry.mark("".concat(Yc," ").concat(n," ends")),ry.measure("".concat(Yc," ").concat(n),"".concat(Yc," ").concat(n," begins"),"".concat(Yc," ").concat(n," ends"))}(n)}},tf=function(){};function ok(t){return"string"==typeof(t.getAttribute?t.getAttribute(Ro):null)}function nY(t){return Ft.createElementNS("http://www.w3.org/2000/svg",t)}function iY(t){return Ft.createElement(t)}function ak(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n.ceFn,i=void 0===e?"svg"===t.tag?nY:iY:e;if("string"==typeof t)return Ft.createTextNode(t);var r=i(t.tag);Object.keys(t.attributes||[]).forEach(function(o){r.setAttribute(o,t.attributes[o])});var s=t.children||[];return s.forEach(function(o){r.appendChild(ak(o,{ceFn:i}))}),r}var nf={replace:function(n){var e=n[0];if(e.parentNode)if(n[1].forEach(function(r){e.parentNode.insertBefore(ak(r),e)}),null===e.getAttribute(Ro)&&Ee.keepOriginalSource){var i=Ft.createComment(function rY(t){var n=" ".concat(t.outerHTML," ");return"".concat(n,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(i,e)}else e.remove()},nest:function(n){var e=n[0],i=n[1];if(~Uv(e).indexOf(Ee.replacementClass))return nf.replace(n);var r=new RegExp("".concat(Ee.familyPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var s=i[0].attributes.class.split(" ").reduce(function(a,l){return l===Ee.replacementClass||l.match(r)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});i[0].attributes.class=s.toSvg.join(" "),0===s.toNode.length?e.removeAttribute("class"):e.setAttribute("class",s.toNode.join(" "))}var o=i.map(function(a){return Wc(a)}).join("\n");e.setAttribute(Ro,""),e.innerHTML=o}};function lk(t){t()}function ck(t,n){var e="function"==typeof n?n:tf;if(0===t.length)e();else{var i=lk;"async"===Ee.mutateApproach&&(i=Ls.requestAnimationFrame||lk),i(function(){var r=function tY(){return!0===Ee.autoReplaceSvg?nf.replace:nf[Ee.autoReplaceSvg]||nf.replace}(),s=sy_begin("mutate");t.map(r),s(),e()})}}var oy=!1;function dk(){oy=!0}function ay(){oy=!1}var rf=null;function uk(t){if(RT&&Ee.observeMutations){var n=t.treeCallback,e=void 0===n?tf:n,i=t.nodeCallback,r=void 0===i?tf:i,s=t.pseudoElementsCallback,o=void 0===s?tf:s,a=t.observeMutationsRoot,l=void 0===a?Ft:a;rf=new RT(function(c){if(!oy){var d=Bs();Ka(c).forEach(function(u){if("childList"===u.type&&u.addedNodes.length>0&&!ok(u.addedNodes[0])&&(Ee.searchPseudoElements&&o(u.target),e(u.target)),"attributes"===u.type&&u.target.parentNode&&Ee.searchPseudoElements&&o(u.target.parentNode),"attributes"===u.type&&ok(u.target)&&~pq.indexOf(u.attributeName))if("class"===u.attributeName&&function Jq(t){var n=t.getAttribute?t.getAttribute(Hv):null,e=t.getAttribute?t.getAttribute(jv):null;return n&&e}(u.target)){var m=Jh(Uv(u.target)),v=m.iconName;u.target.setAttribute(Hv,m.prefix||d),v&&u.target.setAttribute(jv,v)}else(function eY(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(Ee.replacementClass)})(u.target)&&r(u.target)})}}),as&&rf.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function oY(t){var n=t.getAttribute("style"),e=[];return n&&(e=n.split(";").reduce(function(i,r){var s=r.split(":"),o=s[0],a=s.slice(1);return o&&a.length>0&&(i[o]=a.join(":").trim()),i},{})),e}function aY(t){var n=t.getAttribute("data-prefix"),e=t.getAttribute("data-icon"),i=void 0!==t.innerText?t.innerText.trim():"",r=Jh(Uv(t));return r.prefix||(r.prefix=Bs()),n&&e&&(r.prefix=n,r.iconName=e),r.iconName&&r.prefix||r.prefix&&i.length>0&&(r.iconName=function Bq(t,n){return(QT[t]||{})[n]}(r.prefix,t.innerText)||Kv(r.prefix,qv(t.innerText))),r}function lY(t){var n=Ka(t.attributes).reduce(function(r,s){return"class"!==r.name&&"style"!==r.name&&(r[s.name]=s.value),r},{}),e=t.getAttribute("title"),i=t.getAttribute("data-fa-title-id");return Ee.autoA11y&&(e?n["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(i||$c()):(n["aria-hidden"]="true",n.focusable="false")),n}function hk(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},e=aY(t),i=e.iconName,r=e.prefix,s=e.rest,o=lY(t),a=Xv("parseNodeAttributes",{},t),l=n.styleParser?oY(t):[];return oe({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:r,transform:Tr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:o}},a)}var dY=ar.styles;function fk(t){var n="nest"===Ee.autoReplaceSvg?hk(t,{styleParser:!1}):hk(t);return~n.extra.classes.indexOf(VT)?ds("generateLayersText",t,n):ds("generateSvgReplacementMutation",t,n)}function pk(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!as)return Promise.resolve();var e=Ft.documentElement.classList,i=function(u){return e.add("".concat(LT,"-").concat(u))},r=function(u){return e.remove("".concat(LT,"-").concat(u))},s=Object.keys(Ee.autoFetchSvg?zv:dY),o=[".".concat(VT,":not([").concat(Ro,"])")].concat(s.map(function(d){return".".concat(d,":not([").concat(Ro,"])")})).join(", ");if(0===o.length)return Promise.resolve();var a=[];try{a=Ka(t.querySelectorAll(o))}catch(d){}if(!(a.length>0))return Promise.resolve();i("pending"),r("complete");var l=sy_begin("onTree"),c=a.reduce(function(d,u){try{var m=fk(u);m&&d.push(m)}catch(g){NT||"MissingIcon"===g.name&&console.error(g)}return d},[]);return new Promise(function(d,u){Promise.all(c).then(function(m){ck(m,function(){i("active"),i("complete"),r("pending"),"function"==typeof n&&n(),l(),d()})}).catch(function(m){l(),u(m)})})}function uY(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;fk(t).then(function(e){e&&ck([e],n)})}var fY=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,r=void 0===i?Tr:i,s=e.symbol,o=void 0!==s&&s,a=e.mask,l=void 0===a?null:a,c=e.maskId,d=void 0===c?null:c,u=e.title,m=void 0===u?null:u,g=e.titleId,v=void 0===g?null:g,C=e.classes,S=void 0===C?[]:C,k=e.attributes,D=void 0===k?{}:k,z=e.styles,J=void 0===z?{}:z;if(n){var Ce=n.prefix,ut=n.iconName,gt=n.icon;return ef(oe({type:"icon"},n),function(){return Oo("beforeDOMElementCreation",{iconDefinition:n,params:e}),Ee.autoA11y&&(m?D["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(v||$c()):(D["aria-hidden"]="true",D.focusable="false")),ey({icons:{main:ny(gt),mask:l?ny(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Ce,iconName:ut,transform:oe(oe({},Tr),r),symbol:o,title:m,maskId:d,titleId:v,extra:{attributes:D,styles:J,classes:S}})})}},pY={mixout:function(){return{icon:(t=fY,function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(n||{}).icon?n:Jv(n||{}),r=e.mask;return r&&(r=(r||{}).icon?r:Jv(r||{})),t(i,oe(oe({},e),{},{mask:r}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=pk,e.nodeCallback=uY,e}}},provides:function(n){n.i2svg=function(e){var i=e.node,s=e.callback;return pk(void 0===i?Ft:i,void 0===s?function(){}:s)},n.generateSvgReplacementMutation=function(e,i){var r=i.iconName,s=i.title,o=i.titleId,a=i.prefix,l=i.transform,c=i.symbol,d=i.mask,u=i.maskId,m=i.extra;return new Promise(function(g,v){Promise.all([iy(r,a),d.iconName?iy(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(C){var S=Pv(C,2);g([e,ey({icons:{main:S[0],mask:S[1]},prefix:a,iconName:r,transform:l,symbol:c,maskId:u,title:s,titleId:o,extra:m,watchable:!0})])}).catch(v)})},n.generateAbstractIcon=function(e){var c,i=e.children,r=e.attributes,s=e.main,o=e.transform,l=Kh(e.styles);return l.length>0&&(r.style=l),Gv(o)&&(c=ds("generateAbstractTransformGrouping",{main:s,transform:o,containerWidth:s.width,iconWidth:s.width})),i.push(c||s.icon),{children:i,attributes:r}}}},mY={mixout:function(){return{layer:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.classes,s=void 0===r?[]:r;return ef({type:"layer"},function(){Oo("beforeDOMElementCreation",{assembler:e,params:i});var o=[];return e(function(a){Array.isArray(a)?a.map(function(l){o=o.concat(l.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.familyPrefix,"-layers")].concat(Wh(s)).join(" ")},children:o}]})}}}},gY={mixout:function(){return{counter:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.title,s=void 0===r?null:r,o=i.classes,a=void 0===o?[]:o,l=i.attributes,c=void 0===l?{}:l,d=i.styles,u=void 0===d?{}:d;return ef({type:"counter",content:e},function(){return Oo("beforeDOMElementCreation",{content:e,params:i}),Qq({content:e.toString(),title:s,extra:{attributes:c,styles:u,classes:["".concat(Ee.familyPrefix,"-layers-counter")].concat(Wh(a))}})})}}}},_Y={mixout:function(){return{text:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.transform,s=void 0===r?Tr:r,o=i.title,a=void 0===o?null:o,l=i.classes,c=void 0===l?[]:l,d=i.attributes,u=void 0===d?{}:d,m=i.styles,g=void 0===m?{}:m;return ef({type:"text",content:e},function(){return Oo("beforeDOMElementCreation",{content:e,params:i}),ik({content:e,transform:oe(oe({},Tr),s),title:a,extra:{attributes:u,styles:g,classes:["".concat(Ee.familyPrefix,"-layers-text")].concat(Wh(c))}})})}}},provides:function(n){n.generateLayersText=function(e,i){var r=i.title,s=i.transform,o=i.extra,a=null,l=null;if(FT){var c=parseInt(getComputedStyle(e).fontSize,10),d=e.getBoundingClientRect();a=d.width/c,l=d.height/c}return Ee.autoA11y&&!r&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,ik({content:e.innerHTML,width:a,height:l,transform:s,title:r,extra:o,watchable:!0})])}}},vY=new RegExp('"',"ug"),mk=[1105920,1112319];function gk(t,n){var e="".concat("data-fa-pseudo-element-pending").concat(n.replace(":","-"));return new Promise(function(i,r){if(null!==t.getAttribute(e))return i();var o=Ka(t.children).filter(function(ut){return ut.getAttribute(Vv)===n})[0],a=Ls.getComputedStyle(t,n),l=a.getPropertyValue("font-family").match(uq),c=a.getPropertyValue("font-weight"),d=a.getPropertyValue("content");if(o&&!l)return t.removeChild(o),i();if(l&&"none"!==d&&""!==d){var u=a.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Yh[l[2].toLowerCase()]:hq[c],g=function yY(t){var n=t.replace(vY,""),e=function Rq(t,n){var r,e=t.length,i=t.charCodeAt(n);return i>=55296&&i<=56319&&e>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(i-55296)+r-56320+65536:i}(n,0),i=e>=mk[0]&&e<=mk[1],r=2===n.length&&n[0]===n[1];return{value:qv(r?n[0]:n),isSecondary:i||r}}(u),v=g.value,C=g.isSecondary,S=l[0].startsWith("FontAwesome"),k=Kv(m,v),D=k;if(S){var z=function Vq(t){var n=ZT[t],e=Kv("fas",t);return n||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}(v);z.iconName&&z.prefix&&(k=z.iconName,m=z.prefix)}if(!k||C||o&&o.getAttribute(Hv)===m&&o.getAttribute(jv)===D)i();else{t.setAttribute(e,D),o&&t.removeChild(o);var J=function cY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Tr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Ce=J.extra;Ce.attributes[Vv]=n,iy(k,m).then(function(ut){var gt=ey(oe(oe({},J),{},{icons:{main:ut,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:D,extra:Ce,watchable:!0})),yn=Ft.createElement("svg");"::before"===n?t.insertBefore(yn,t.firstChild):t.appendChild(yn),yn.outerHTML=gt.map(function(hn){return Wc(hn)}).join("\n"),t.removeAttribute(e),i()}).catch(r)}}else i()})}function bY(t){return Promise.all([gk(t,"::before"),gk(t,"::after")])}function xY(t){return!(t.parentNode===document.head||~lq.indexOf(t.tagName.toUpperCase())||t.getAttribute(Vv)||t.parentNode&&"svg"===t.parentNode.tagName)}function _k(t){if(as)return new Promise(function(n,e){var i=Ka(t.querySelectorAll("*")).filter(xY).map(bY),r=sy_begin("searchPseudoElements");dk(),Promise.all(i).then(function(){r(),ay(),n()}).catch(function(){r(),ay(),e()})})}var vk=!1,yk=function(n){return n.toLowerCase().split(" ").reduce(function(i,r){var s=r.toLowerCase().split("-"),o=s[0],a=s.slice(1).join("-");if(o&&"h"===a)return i.flipX=!0,i;if(o&&"v"===a)return i.flipY=!0,i;if(a=parseFloat(a),isNaN(a))return i;switch(o){case"grow":i.size=i.size+a;break;case"shrink":i.size=i.size-a;break;case"left":i.x=i.x-a;break;case"right":i.x=i.x+a;break;case"up":i.y=i.y-a;break;case"down":i.y=i.y+a;break;case"rotate":i.rotate=i.rotate+a}return i},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ly={x:0,y:0,width:"100%",height:"100%"};function bk(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||n)&&(t.attributes.fill="black"),t}!function zq(t,n){var e=n.mixoutsTo;tk=t,Xa={},Object.keys(Ja).forEach(function(i){-1===jq.indexOf(i)&&delete Ja[i]}),tk.forEach(function(i){var r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(function(o){"function"==typeof r[o]&&(e[o]=r[o]),"object"===Gh(r[o])&&Object.keys(r[o]).forEach(function(a){e[o]||(e[o]={}),e[o][a]=r[o][a]})}),i.hooks){var s=i.hooks();Object.keys(s).forEach(function(o){Xa[o]||(Xa[o]=[]),Xa[o].push(s[o])})}i.provides&&i.provides(Ja)})}([Sq,pY,mY,gY,_Y,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=_k,e}}},provides:function(n){n.pseudoElements2svg=function(e){var i=e.node;Ee.searchPseudoElements&&_k(void 0===i?Ft:i)}}},{mixout:function(){return{dom:{unwatch:function(){dk(),vk=!0}}}},hooks:function(){return{bootstrap:function(){uk(Xv("mutationObserverCallbacks",{}))},noAuto:function(){!function sY(){!rf||rf.disconnect()}()},watch:function(e){var i=e.observeMutationsRoot;vk?ay():uk(Xv("mutationObserverCallbacks",{observeMutationsRoot:i}))}}}},{mixout:function(){return{parse:{transform:function(e){return yk(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,i){var r=i.getAttribute("data-fa-transform");return r&&(e.transform=yk(r)),e}}},provides:function(n){n.generateAbstractTransformGrouping=function(e){var i=e.main,r=e.transform,o=e.iconWidth,a={transform:"translate(".concat(e.containerWidth/2," 256)")},l="translate(".concat(32*r.x,", ").concat(32*r.y,") "),c="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),d="rotate(".concat(r.rotate," 0 0)"),g={outer:a,inner:{transform:"".concat(l," ").concat(c," ").concat(d)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:oe({},g.outer),children:[{tag:"g",attributes:oe({},g.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:oe(oe({},i.icon.attributes),g.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(e,i){var r=i.getAttribute("data-fa-mask"),s=r?Jh(r.split(" ").map(function(o){return o.trim()})):{prefix:null,iconName:null,rest:[]};return s.prefix||(s.prefix=Bs()),e.mask=s,e.maskId=i.getAttribute("data-fa-mask-id"),e}}},provides:function(n){n.generateAbstractMask=function(e){var t,i=e.children,r=e.attributes,s=e.main,o=e.mask,a=e.maskId,d=s.icon,m=o.icon,g=function Dq(t){var n=t.transform,i=t.iconWidth,r={transform:"translate(".concat(t.containerWidth/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),a="rotate(".concat(n.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(s," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(i/2*-1," -256)")}}}({transform:e.transform,containerWidth:o.width,iconWidth:s.width}),v={tag:"rect",attributes:oe(oe({},ly),{},{fill:"white"})},C=d.children?{children:d.children.map(bk)}:{},S={tag:"g",attributes:oe({},g.inner),children:[bk(oe({tag:d.tag,attributes:oe(oe({},d.attributes),g.path)},C))]},k={tag:"g",attributes:oe({},g.outer),children:[S]},D="mask-".concat(a||$c()),z="clip-".concat(a||$c()),J={tag:"mask",attributes:oe(oe({},ly),{},{id:D,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,k]},Ce={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:(t=m,"g"===t.tag?t.children:[t])},J]};return i.push(Ce,{tag:"rect",attributes:oe({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(D,")")},ly)}),{children:i,attributes:r}}}},{provides:function(n){var e=!1;Ls.matchMedia&&(e=Ls.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var i=[],r={fill:"currentColor"},s={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:oe(oe({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=oe(oe({},s),{},{attributeName:"opacity"}),a={tag:"circle",attributes:oe(oe({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||a.children.push({tag:"animate",attributes:oe(oe({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:oe(oe({},o),{},{values:"1;0;1;1;0;1;"})}),i.push(a),i.push({tag:"path",attributes:oe(oe({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:oe(oe({},o),{},{values:"1;0;0;0;0;1;"})}]}),e||i.push({tag:"path",attributes:oe(oe({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:oe(oe({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},{hooks:function(){return{parseNodeAttributes:function(e,i){var r=i.getAttribute("data-fa-symbol");return e.symbol=null!==r&&(""===r||r),e}}}}],{mixoutsTo:xi});let IY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})(),RY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[go]]}),t})(),cy=(()=>{class t{constructor(){this.changes=new q,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const UY={provide:cy,deps:[[new ii,new jr,cy]],useFactory:function zY(t){return t||new cy}};let GY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({providers:[UY,q_],imports:[[Te,Pn,Th,ev,RY,ZA,Fs],Te]}),t})();const Ck=["*"],KY=Mo(Rs(class{})),ZY=new j("MatNavList");let XY=(()=>{class t extends KY{constructor(){super(...arguments),this._stateChanges=new q}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275cmp=me({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[pe([{provide:ZY,useExisting:t}]),F,Wt],ngContentSelectors:Ck,decls:1,vars:0,template:function(e,i){1&e&&(Tt(),He(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})(),oQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[bh,Fs,Te,Q_,Pn],bh,Te,Q_,XA]}),t})();function aQ(t,n){if(1&t&&(hl(),ge(0,"circle",4)),2&t){const e=te(),i=Xi(1);Tn("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Ue("r",e._getCircleRadius())}}function lQ(t,n){if(1&t&&(hl(),ge(0,"circle",4)),2&t){const e=te(),i=Xi(1);Tn("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Ue("r",e._getCircleRadius())}}const dQ=ts(class{constructor(t){this._elementRef=t}},"primary"),uQ=new j("mat-progress-spinner-default-options",{providedIn:"root",factory:function hQ(){return{diameter:100}}});class Vi extends dQ{constructor(n,e,i,r,s,o,a,l){super(n),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=W.EMPTY,this.mode="determinate";const c=Vi._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),c.has(i.head)||c.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,"mat-spinner"===n.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&o&&l&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&l.run(()=>o.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=Bn(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=Bn(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,Bn(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=fS(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){var e;const i=50*(null!==(e=n.currentScale)&&void 0!==e?e:1);return`${i}% ${i}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,i=Vi._diameters;let r=i.get(n);if(!r||!r.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),n.appendChild(s),r||(r=new Set,i.set(n,r)),r.add(e)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Vi._diameters=new WeakMap,Vi.\u0275fac=function(n){return new(n||Vi)(p(Y),p(dn),p(Se,8),p(tn,8),p(uQ),p(kt),p(Os),p(_e))},Vi.\u0275cmp=me({type:Vi,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(Ue("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Tn("width",e.diameter,"px")("height",e.diameter,"px"),Pe("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[F],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(hl(),x(0,"svg",0,1),$(2,aQ,1,11,"circle",2),$(3,lQ,1,9,"circle",3),b()),2&n&&(Tn("width",e.diameter,"px")("height",e.diameter,"px"),O("ngSwitch","indeterminate"===e.mode),Ue("viewBox",e._getViewBox()),T(2),O("ngSwitchCase",!0),T(1),O("ngSwitchCase",!1))},directives:[ec,Jm],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let pQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Te,Pn],Te]}),t})(),gQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn,Te],Te]}),t})();const _Q=["thumbContainer"],vQ=["toggleBar"],yQ=["input"],bQ=function(t){return{enterDuration:t}},xQ=["*"],CQ=new j("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let wQ=0;const DQ={provide:Yn,useExisting:Xe(()=>Dk),multi:!0};class MQ{constructor(n,e){this.source=n,this.checked=e}}const EQ=yh(ts(Rs(Mo(class{constructor(t){this._elementRef=t}}))));let Dk=(()=>{class t extends EQ{constructor(e,i,r,s,o,a){super(e),this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=o,this._onChange=l=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++wQ,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new be,this.toggleChange=new be,this.tabIndex=parseInt(s)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===a}get required(){return this._required}set required(e){this._required=Re(e)}get checked(){return this._checked}set checked(e){this._checked=Re(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new MQ(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Er),p(kt),pi("tabindex"),p(CQ),p(tn,8))},t.\u0275cmp=me({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&(ot(_Q,5),ot(vQ,5),ot(yQ,5)),2&e){let r;re(r=se())&&(i._thumbEl=r.first),re(r=se())&&(i._thumbBarEl=r.first),re(r=se())&&(i._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(to("id",i.id),Ue("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Pe("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[pe([DQ]),F],ngContentSelectors:xQ,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Tt(),x(0,"label",0,1)(2,"span",2,3)(4,"input",4,5),we("change",function(s){return i._onChangeEvent(s)})("click",function(s){return i._onInputClick(s)}),b(),x(6,"span",6,7),ge(8,"span",8),x(9,"span",9),ge(10,"span",10),b()()(),x(11,"span",11,12),we("cdkObserveContent",function(){return i._onLabelTextChange()}),x(13,"span",13),R(14,"\xa0"),b(),He(15),b()()),2&e){const r=Xi(1),s=Xi(12);Ue("for",i.inputId),T(2),Pe("mat-slide-toggle-bar-no-side-margin",!s.textContent||!s.textContent.trim()),T(2),O("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),Ue("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),T(5),O("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Wn(18,bQ,i._noopAnimations?0:150))}},directives:[Ar,Ku],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),Mk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({}),t})(),TQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Mk,Fs,Te,Sc],Mk,Te]}),t})(),RQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[bh,Te],bh,Te]}),t})();function FQ(t,n){1&t&&He(0)}const Sk=["*"];function OQ(t,n){}const PQ=function(t){return{animationDuration:t}},LQ=function(t,n){return{value:t,params:n}},NQ=["tabListContainer"],BQ=["tabList"],VQ=["tabListInner"],HQ=["nextPaginator"],jQ=["previousPaginator"],zQ=["tabBodyWrapper"],UQ=["tabHeader"];function GQ(t,n){}function $Q(t,n){1&t&&$(0,GQ,0,0,"ng-template",10),2&t&&O("cdkPortalOutlet",te().$implicit.templateLabel)}function WQ(t,n){1&t&&R(0),2&t&&sn(te().$implicit.textLabel)}function qQ(t,n){if(1&t){const e=Gn();x(0,"div",6),we("click",function(){const r=Pt(e),s=r.$implicit,o=r.index,a=te(),l=Xi(1);return a._handleClick(s,l,o)})("cdkFocusChange",function(r){const o=Pt(e).index;return te()._tabFocusChanged(r,o)}),x(1,"div",7),$(2,$Q,1,1,"ng-template",8),$(3,WQ,1,1,"ng-template",null,9,gw),b()()}if(2&t){const e=n.$implicit,i=n.index,r=Xi(4),s=te();Pe("mat-tab-label-active",s.selectedIndex===i),O("id",s._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||s.disableRipple),Ue("tabIndex",s._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(i))("aria-selected",s.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),T(2),O("ngIf",e.templateLabel)("ngIfElse",r)}}function YQ(t,n){if(1&t){const e=Gn();x(0,"mat-tab-body",11),we("_onCentered",function(){return Pt(e),te()._removeTabBodyWrapperHeight()})("_onCentering",function(r){return Pt(e),te()._setTabBodyWrapperHeight(r)}),b()}if(2&t){const e=n.$implicit,i=n.index,r=te();Pe("mat-tab-body-active",r.selectedIndex===i),O("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration),Ue("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const QQ=new j("MatInkBarPositioner",{providedIn:"root",factory:function KQ(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let Ak=(()=>{class t{constructor(e,i,r,s){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=r,this._animationMode=s}alignToElement(e){this.show(),this._ngZone.onStable.pipe(Nn(1)).subscribe(()=>{const i=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=i.left,r.style.width=i.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(_e),p(QQ),p(tn,8))},t.\u0275dir=I({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&Pe("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const ZQ=new j("MatTabContent"),XQ=new j("MatTabLabel"),JQ=new j("MAT_TAB"),eK=Mo(class{}),Tk=new j("MAT_TAB_GROUP");let kk=(()=>{class t extends eK{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new q,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new iv(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(p(_n),p(Tk,8))},t.\u0275cmp=me({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(at(r,XQ,5),at(r,ZQ,7,on)),2&e){let s;re(s=se())&&(i.templateLabel=s.first),re(s=se())&&(i._explicitContent=s.first)}},viewQuery:function(e,i){if(1&e&&ot(on,7),2&e){let r;re(r=se())&&(i._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[pe([{provide:JQ,useExisting:t}]),F,Wt],ngContentSelectors:Sk,decls:1,vars:0,template:function(e,i){1&e&&(Tt(),$(0,FQ,1,0,"ng-template"))},encapsulation:2}),t})();const tK={translateTab:Vn("translateTab",[lt("center, void, left-origin-center, right-origin-center",xe({transform:"none"})),lt("left",xe({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),lt("right",xe({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Dt("* => left, * => right, left => center, right => center",It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Dt("void => left-origin-center",[xe({transform:"translate3d(-100%, 0, 0)"}),It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Dt("void => right-origin-center",[xe({transform:"translate3d(100%, 0, 0)"}),It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let nK=(()=>{class t extends Lc{constructor(e,i,r,s){super(e,i,s),this._host=r,this._centeringSub=W.EMPTY,this._leavingSub=W.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Pi(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(p(Gr),p(_n),p(Xe(()=>Ik)),p(Se))},t.\u0275dir=I({type:t,selectors:[["","matTabBodyHost",""]],features:[F]}),t})(),iK=(()=>{class t{constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=W.EMPTY,this._translateTabComplete=new q,this._onCentering=new be,this._beforeCentering=new be,this._afterLeavingCenter=new be,this._onCentered=new be(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(s=>{this._computePositionAnimationState(s),r.markForCheck()})),this._translateTabComplete.pipe(y_((s,o)=>s.fromState===o.fromState&&s.toState===o.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Kn,8),p(kt))},t.\u0275dir=I({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),Ik=(()=>{class t extends iK{constructor(e,i,r){super(e,i,r)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(Kn,8),p(kt))},t.\u0275cmp=me({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&ot(Lc,5),2&e){let r;re(r=se())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[F],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(x(0,"div",0,1),we("@translateTab.start",function(s){return i._onTranslateTabStarted(s)})("@translateTab.done",function(s){return i._translateTabComplete.next(s)}),$(2,OQ,0,0,"ng-template",2),b()),2&e&&O("@translateTab",nw(3,LQ,i._position,Wn(1,PQ,i.animationDuration)))},directives:[nK],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[tK.translateTab]}}),t})();const Rk=new j("MAT_TABS_CONFIG"),rK=Mo(class{});let Fk=(()=>{class t extends rK{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(p(Y))},t.\u0275dir=I({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Ue("aria-disabled",!!i.disabled),Pe("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[F]}),t})();const Ok=_o({passive:!0});let aK=(()=>{class t{constructor(e,i,r,s,o,a,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=s,this._ngZone=o,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new q,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new q,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new be,this.indexFocused=new be,o.runOutsideAngular(()=>{ns(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Bn(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){ns(this._previousPaginator.nativeElement,"touchstart",Ok).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),ns(this._nextPaginator.nativeElement,"touchstart",Ok).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:De("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new AS(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Nn(1)).subscribe(r),Lr(e,i,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(nt(this._destroyed)).subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return"function"!=typeof ResizeObserver?Ui:this._items.changes.pipe(Pi(this._items),As(e=>new Ye(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(()=>{i.next()});return e.forEach(s=>{r.observe(s.elementRef.nativeElement)}),()=>{r.disconnect()}}))),wS(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!bo(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:o}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=s,l=a+o):(l=this._tabListInner.nativeElement.offsetWidth-s,a=l-o);const c=this.scrollDistance,d=this.scrollDistance+r;ad&&(this.scrollDistance+=l-d+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),PA(650,100).pipe(nt(Lr(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:s}=this._scrollHeader(e);(0===s||s>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(kt),p(Os),p(Kn,8),p(_e),p(dn),p(tn,8))},t.\u0275dir=I({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),lK=(()=>{class t extends aK{constructor(e,i,r,s,o,a,l){super(e,i,r,s,o,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Re(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(kt),p(Os),p(Kn,8),p(_e),p(dn),p(tn,8))},t.\u0275dir=I({type:t,inputs:{disableRipple:"disableRipple"},features:[F]}),t})(),cK=(()=>{class t extends lK{constructor(e,i,r,s,o,a,l){super(e,i,r,s,o,a,l)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(kt),p(Os),p(Kn,8),p(_e),p(dn),p(tn,8))},t.\u0275cmp=me({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&at(r,Fk,4),2&e){let s;re(s=se())&&(i._items=s)}},viewQuery:function(e,i){if(1&e&&(ot(Ak,7),ot(NQ,7),ot(BQ,7),ot(VQ,7),ot(HQ,5),ot(jQ,5)),2&e){let r;re(r=se())&&(i._inkBar=r.first),re(r=se())&&(i._tabListContainer=r.first),re(r=se())&&(i._tabList=r.first),re(r=se())&&(i._tabListInner=r.first),re(r=se())&&(i._nextPaginator=r.first),re(r=se())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Pe("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[F],ngContentSelectors:Sk,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Tt(),x(0,"button",0,1),we("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(s){return i._handlePaginatorPress("before",s)})("touchend",function(){return i._stopInterval()}),ge(2,"div",2),b(),x(3,"div",3,4),we("keydown",function(s){return i._handleKeydown(s)}),x(5,"div",5,6),we("cdkObserveContent",function(){return i._onContentChanges()}),x(7,"div",7,8),He(9),b(),ge(10,"mat-ink-bar"),b()(),x(11,"button",9,10),we("mousedown",function(s){return i._handlePaginatorPress("after",s)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),ge(13,"div",2),b()),2&e&&(Pe("mat-tab-header-pagination-disabled",i._disableScrollBefore),O("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),T(5),Pe("_mat-animation-noopable","NoopAnimations"===i._animationMode),T(6),Pe("mat-tab-header-pagination-disabled",i._disableScrollAfter),O("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},directives:[Ar,Ku,Ak],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),t})(),dK=0;class uK{}const hK=ts(Rs(class{constructor(t){this._elementRef=t}}),"primary");let fK=(()=>{class t extends hK{constructor(e,i,r,s){var o;super(e),this._changeDetectorRef=i,this._animationMode=s,this._tabs=new io,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=W.EMPTY,this._tabLabelSubscription=W.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new be,this.focusChange=new be,this.animationDone=new be,this.selectedTabChange=new be(!0),this._groupId=dK++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=null!==(o=null==r?void 0:r.contentTabIndex)&&void 0!==o?o:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Re(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Bn(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Bn(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,s)=>r.isActive=s===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let s=0;s{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Pi(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new uK;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Lr(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){e.disabled||(this.selectedIndex=i.focusIndex=r)}_getTabIndex(e,i){var r;return e.disabled?null:i===(null!==(r=this._lastFocusedTabIndex)&&void 0!==r?r:this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(kt),p(Rk,8),p(tn,8))},t.\u0275dir=I({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[F]}),t})(),pK=(()=>{class t extends fK{constructor(e,i,r,s){super(e,i,r,s)}}return t.\u0275fac=function(e){return new(e||t)(p(Y),p(kt),p(Rk,8),p(tn,8))},t.\u0275cmp=me({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&at(r,kk,5),2&e){let s;re(s=se())&&(i._allTabs=s)}},viewQuery:function(e,i){if(1&e&&(ot(zQ,5),ot(UQ,5)),2&e){let r;re(r=se())&&(i._tabBodyWrapper=r.first),re(r=se())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&Pe("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[pe([{provide:Tk,useExisting:t}]),F],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,i){1&e&&(x(0,"mat-tab-header",0,1),we("indexFocused",function(s){return i._focusChanged(s)})("selectFocusedIndex",function(s){return i.selectedIndex=s}),$(2,qQ,5,15,"div",2),b(),x(3,"div",3,4),$(5,YQ,1,10,"mat-tab-body",5),b()),2&e&&(O("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),T(2),O("ngForOf",i._tabs),T(1),Pe("_mat-animation-noopable","NoopAnimations"===i._animationMode),T(2),O("ngForOf",i._tabs))},directives:[cK,Ik,Jl,Fk,Ar,Q8,ao,oi,Lc],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})(),mK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn,Te,Th,Fs,Sc,BS],Te]}),t})(),EK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn,Te],Te]}),t})();const SK=["input"],AK=function(t){return{enterDuration:t}},TK=["*"],kK=new j("mat-radio-default-options",{providedIn:"root",factory:function IK(){return{color:"accent"}}});let Bk=0;const RK={provide:Yn,useExisting:Xe(()=>jk),multi:!0};class Vk{constructor(n,e){this.source=n,this.value=e}}const Hk=new j("MatRadioGroup");let FK=(()=>{class t{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+Bk++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new be}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Re(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Re(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Vk(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(p(kt))},t.\u0275dir=I({type:t,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),t})(),jk=(()=>{class t extends FK{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Q(t)))(i||t)}}(),t.\u0275dir=I({type:t,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&at(r,zk,5),2&e){let s;re(s=se())&&(i._radios=s)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[pe([RK,{provide:Hk,useExisting:t}]),F]}),t})();class OK{constructor(n){this._elementRef=n}}const PK=Rs(yh(OK));let LK=(()=>{class t extends PK{constructor(e,i,r,s,o,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=s,this._radioDispatcher=o,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++Bk,this.id=this._uniqueId,this.change=new be,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=Bn(c,0)),this._removeUniqueSelectionListener=o.listen((d,u)=>{d!==this.id&&u===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=Re(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Re(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Re(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Vk(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){var e;const i=this.radioGroup;let r;if(r=i&&i.selected&&!this.disabled?i.selected===this?this.tabIndex:-1:this.tabIndex,r!==this._previousTabIndex){const s=null===(e=this._inputElement)||void 0===e?void 0:e.nativeElement;s&&(s.setAttribute("tabindex",r+""),this._previousTabIndex=r)}}}return t.\u0275fac=function(e){Pl()},t.\u0275dir=I({type:t,viewQuery:function(e,i){if(1&e&&ot(SK,5),2&e){let r;re(r=se())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[F]}),t})(),zk=(()=>{class t extends LK{constructor(e,i,r,s,o,a,l,c){super(e,i,r,s,o,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(p(Hk,8),p(Y),p(kt),p(Er),p(Q6),p(tn,8),p(kK,8),pi("tabindex"))},t.\u0275cmp=me({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&we("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(Ue("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Pe("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[F],ngContentSelectors:TK,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(Tt(),x(0,"label",0,1)(2,"span",2),ge(3,"span",3)(4,"span",4),x(5,"input",5,6),we("change",function(s){return i._onInputInteraction(s)})("click",function(s){return i._onInputClick(s)}),b(),x(7,"span",7),ge(8,"span",8),b()(),x(9,"span",9)(10,"span",10),R(11,"\xa0"),b(),He(12),b()()),2&e){const r=Xi(1);Ue("for",i.inputId),T(5),O("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),Ue("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),T(2),O("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Wn(17,AK,i._noopAnimations?0:150)),T(2),Pe("mat-radio-label-before","before"==i.labelPosition)}},directives:[Ar],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),NK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Fs,Te],Te]}),t})();const Uk=["toast-component",""];function BK(t,n){if(1&t){const e=Gn();x(0,"button",5),we("click",function(){return Pt(e),te().remove()}),x(1,"span",6),R(2,"\xd7"),b()()}}function VK(t,n){if(1&t&&(Ii(0),R(1),Ri()),2&t){const e=te(2);T(1),wt("[",e.duplicatesCount+1,"]")}}function HK(t,n){if(1&t&&(x(0,"div"),R(1),$(2,VK,2,1,"ng-container",4),b()),2&t){const e=te();Ji(e.options.titleClass),Ue("aria-label",e.title),T(1),wt(" ",e.title," "),T(1),O("ngIf",e.duplicatesCount)}}function jK(t,n){if(1&t&&ge(0,"div",7),2&t){const e=te();Ji(e.options.messageClass),O("innerHTML",e.message,ip)}}function zK(t,n){if(1&t&&(x(0,"div",8),R(1),b()),2&t){const e=te();Ji(e.options.messageClass),Ue("aria-label",e.message),T(1),wt(" ",e.message," ")}}function UK(t,n){if(1&t&&(x(0,"div"),ge(1,"div",9),b()),2&t){const e=te();T(1),Tn("width",e.width+"%")}}function GK(t,n){if(1&t){const e=Gn();x(0,"button",5),we("click",function(){return Pt(e),te().remove()}),x(1,"span",6),R(2,"\xd7"),b()()}}function $K(t,n){if(1&t&&(Ii(0),R(1),Ri()),2&t){const e=te(2);T(1),wt("[",e.duplicatesCount+1,"]")}}function WK(t,n){if(1&t&&(x(0,"div"),R(1),$(2,$K,2,1,"ng-container",4),b()),2&t){const e=te();Ji(e.options.titleClass),Ue("aria-label",e.title),T(1),wt(" ",e.title," "),T(1),O("ngIf",e.duplicatesCount)}}function qK(t,n){if(1&t&&ge(0,"div",7),2&t){const e=te();Ji(e.options.messageClass),O("innerHTML",e.message,ip)}}function YK(t,n){if(1&t&&(x(0,"div",8),R(1),b()),2&t){const e=te();Ji(e.options.messageClass),Ue("aria-label",e.message),T(1),wt(" ",e.message," ")}}function QK(t,n){if(1&t&&(x(0,"div"),ge(1,"div",9),b()),2&t){const e=te();T(1),Tn("width",e.width+"%")}}class KK{constructor(n,e){this.component=n,this.injector=e}attach(n,e){return this._attachedHost=n,n.attach(this,e)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class sf{constructor(n,e,i,r,s,o){this.toastId=n,this.config=e,this.message=i,this.title=r,this.toastType=s,this.toastRef=o,this._onTap=new q,this._onAction=new q,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const Gk={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},$k=new j("ToastConfig");class XK{constructor(n){this._overlayRef=n,this.duplicatesCount=0,this._afterClosed=new q,this._activate=new q,this._manualClose=new q,this._resetTimeout=new q,this._countDuplicate=new q}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,e){n&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}}class JK{constructor(n,e){this._toastPackage=n,this._parentInjector=e}get(n,e,i){return n===sf?this._toastPackage:this._parentInjector.get(n,e,i)}}class eZ extends class ZK{attach(n,e){return this._attachedPortal=n,this.attachComponentPortal(n,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}{constructor(n,e,i){super(),this._hostDomElement=n,this._componentFactoryResolver=e,this._appRef=i}attachComponentPortal(n,e){const i=this._componentFactoryResolver.resolveComponentFactory(n.component);let r;return r=i.create(n.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}class tZ{constructor(n){this._portalHost=n}attach(n,e=!0){return this._portalHost.attach(n,e)}detach(){return this._portalHost.detach()}}let nZ=(()=>{class t{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),iZ=(()=>{class t{constructor(e,i,r,s){this._overlayContainer=e,this._componentFactoryResolver=i,this._appRef=r,this._document=s,this._paneElements=new Map}create(e,i){return this._createOverlayRef(this.getPaneElement(e,i))}getPaneElement(e="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[e]||(this._paneElements.get(i)[e]=this._createPaneElement(e,i)),this._paneElements.get(i)[e]}_createPaneElement(e,i){const r=this._document.createElement("div");return r.id="toast-container",r.classList.add(e),r.classList.add("toast-container"),i?i.getContainerElement().appendChild(r):this._overlayContainer.getContainerElement().appendChild(r),r}_createPortalHost(e){return new eZ(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new tZ(this._createPortalHost(e))}}return t.\u0275fac=function(e){return new(e||t)(w(nZ),w(Gr),w(Aa),w(Se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lo=(()=>{class t{constructor(e,i,r,s,o){this.overlay=i,this._injector=r,this.sanitizer=s,this.ngZone=o,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},e.default.iconClasses),e.config.iconClasses))}show(e,i,r={},s=""){return this._preBuildNotification(s,e,i,this.applyConfig(r))}success(e,i,r={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,i,this.applyConfig(r))}error(e,i,r={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,i,this.applyConfig(r))}info(e,i,r={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,i,this.applyConfig(r))}warning(e,i,r={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,i,this.applyConfig(r))}clear(e){for(const i of this.toasts)if(void 0!==e){if(i.toastId===e)return void i.toastRef.manualClose()}else i.toastRef.manualClose()}remove(e){const i=this._findToast(e);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(e,i,r,s)):this._buildNotification(e,i,r,s)}_buildNotification(e,i,r,s){if(!s.toastComponent)throw new Error("toastComponent required");const o=this.findDuplicate(r,i,this.toastrConfig.resetTimeoutOnDuplicate&&s.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&r||i)&&this.toastrConfig.preventDuplicates&&null!==o)return o;this.previousToastMessage=i;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const l=this.overlay.create(s.positionClass,this.overlayContainer);this.index=this.index+1;let c=i;i&&s.enableHtml&&(c=this.sanitizer.sanitize(dt.HTML,i));const d=new XK(l),u=new sf(this.index,s,c,r,e,d),m=new JK(u,this._injector),g=new KK(s.toastComponent,m),v=l.attach(g,this.toastrConfig.newestOnTop);d.componentInstance=v.instance;const C={toastId:this.index,title:r||"",message:i||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:v};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{C.toastRef.activate()})),this.toasts.push(C),C}}return t.\u0275fac=function(e){return new(e||t)(w($k),w(iZ),w(Vt),w(rc),w(_e))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),rZ=(()=>{class t{constructor(e,i,r){this.toastrService=e,this.toastPackage=i,this.ngZone=r,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(s=>{this.duplicatesCount=s})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),i)):this.timeout=setTimeout(()=>e(),i)}outsideInterval(e,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),i)):this.intervalId=setInterval(()=>e(),i)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}}return t.\u0275fac=function(e){return new(e||t)(p(Lo),p(sf),p(_e))},t.\u0275cmp=me({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,i){1&e&&we("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&e&&(Vl("@flyInOut",i.state),Ji(i.toastClasses),Tn("display",i.displayStyle))},attrs:Uk,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){1&e&&($(0,BK,3,0,"button",0),$(1,HK,3,5,"div",1),$(2,jK,1,3,"div",2),$(3,zK,2,4,"div",3),$(4,UK,2,2,"div",4)),2&e&&(O("ngIf",i.options.closeButton),T(1),O("ngIf",i.title),T(1),O("ngIf",i.message&&i.options.enableHtml),T(1),O("ngIf",i.message&&!i.options.enableHtml),T(1),O("ngIf",i.options.progressBar))},directives:[oi],encapsulation:2,data:{animation:[Vn("flyInOut",[lt("inactive",xe({opacity:0})),lt("active",xe({opacity:1})),lt("removed",xe({opacity:0})),Dt("inactive => active",It("{{ easeTime }}ms {{ easing }}")),Dt("active => removed",It("{{ easeTime }}ms {{ easing }}"))])]}}),t})();const sZ=Object.assign(Object.assign({},Gk),{toastComponent:rZ});let oZ=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:$k,useValue:{default:sZ,config:e}}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn]]}),t})(),aZ=(()=>{class t{constructor(e,i,r){this.toastrService=e,this.toastPackage=i,this.appRef=r,this.width=-1,this.toastClasses="",this.state="inactive",this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(s=>{this.duplicatesCount=s})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return t.\u0275fac=function(e){return new(e||t)(p(Lo),p(sf),p(Aa))},t.\u0275cmp=me({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,i){1&e&&we("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&e&&(Ji(i.toastClasses),Tn("display",i.displayStyle))},attrs:Uk,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){1&e&&($(0,GK,3,0,"button",0),$(1,WK,3,5,"div",1),$(2,qK,1,3,"div",2),$(3,YK,2,4,"div",3),$(4,QK,2,2,"div",4)),2&e&&(O("ngIf",i.options.closeButton),T(1),O("ngIf",i.title),T(1),O("ngIf",i.message&&i.options.enableHtml),T(1),O("ngIf",i.message&&!i.options.enableHtml),T(1),O("ngIf",i.options.progressBar))},directives:[oi],encapsulation:2}),t})();Object.assign(Object.assign({},Gk),{toastComponent:aZ});const lZ=["input"];function cZ(t,n){if(1&t){const e=Gn();x(0,"span")(1,"input",1,2),we("click",function(r){return Pt(e),te().onClick(r)})("paste",function(r){const o=Pt(e).index;return te().onPaste(r,o)})("input",function(r){const o=Pt(e).index;return te().onInput(r,o)})("keydown",function(r){const o=Pt(e).index;return te().onKeydown(r,o)}),b()()}if(2&t){const e=te();Pe("code-hidden",e.isCodeHidden),T(1),O("type",e.inputType)("disabled",e.disabled),Ue("autocapitalize",e.autocapitalize)}}const Wk=new j("CodeInputComponentConfig"),qk={codeLength:4,inputType:"tel",initialFocusField:void 0,isCharsCode:!1,isCodeHidden:!1,isPrevFocusableAfterClearing:!0,isFocusingOnLastByClickIfFilled:!1,code:void 0,disabled:!1,autocapitalize:void 0};var Vs=(()=>{return(t=Vs||(Vs={}))[t.ready=0]="ready",t[t.reset=1]="reset",Vs;var t})();let dZ=(()=>{class t{constructor(e){if(this.isNonDigitsCode=!1,this.codeChanged=new be,this.codeCompleted=new be,this.placeholders=[],this.inputs=[],this.inputsStates=[],this.state={isFocusingAfterAppearingCompleted:!1,isInitialFocusFieldEnabled:!1},Object.assign(this,qk),e)for(const i in e)!e.hasOwnProperty(i)||!qk.hasOwnProperty(i)||(this[i]=e[i])}ngOnInit(){this.state.isInitialFocusFieldEnabled=!this.isEmpty(this.initialFocusField),this.onCodeLengthChanges()}ngAfterViewInit(){this.inputsListSubscription=this.inputsList.changes.subscribe(this.onInputsListChanges.bind(this)),this.onInputsListChanges(this.inputsList)}ngAfterViewChecked(){this.focusOnInputAfterAppearing()}ngOnChanges(e){e.code&&this.onInputCodeChanges(),e.codeLength&&this.onCodeLengthChanges()}ngOnDestroy(){this.inputsListSubscription&&this.inputsListSubscription.unsubscribe()}reset(e=!1){this.onInputCodeChanges(),this.state.isInitialFocusFieldEnabled&&this.focusOnField(this.initialFocusField),e&&this.emitChanges()}focusOnField(e){if(e>=this._codeLength)throw new Error("The index of the focusing input box should be less than the codeLength.");this.inputs[e].focus()}onClick(e){if(!this.isFocusingOnLastByClickIfFilled)return;const r=this.inputs[this._codeLength-1];e.target===r||!(this.getCurrentFilledCode().length>=this._codeLength)||setTimeout(()=>r.focus())}onInput(e,i){const r=e.target,s=e.data||r.value;if(this.isEmpty(s))return;if(!this.canInputValue(s))return e.preventDefault(),e.stopPropagation(),this.setInputValue(r,null),void this.setStateForInput(r,Vs.reset);const o=s.toString().trim().split("");for(let l=0;lthis._codeLength-1)break;this.setInputValue(this.inputs[c],o[l])}this.emitChanges();const a=i+o.length;a>this._codeLength-1?r.blur():this.inputs[a].focus()}onPaste(e,i){e.preventDefault(),e.stopPropagation();const r=e.clipboardData?e.clipboardData.getData("text").trim():void 0;if(this.isEmpty(r))return;const s=r.split("");let o=0;for(let a=i;a{this.setInputValue(r,null)});const e=this.code.toString().trim().split("");let i=!0;for(const r of e)if(!this.canInputValue(r)){i=!1;break}this.inputs.forEach((r,s)=>{this.setInputValue(r,i?e[s]:null)})}onCodeLengthChanges(){if(this.codeLength)if(this._codeLength=this.codeLength,this._codeLength>this.placeholders.length){const e=Array(this._codeLength-this.placeholders.length).fill(1);this.placeholders.splice(this.placeholders.length-1,0,...e)}else this._codeLengththis.inputs.length){const i=e.filter((s,o)=>o>this.inputs.length-1);this.inputs.splice(this.inputs.length,0,...i.map(s=>s.nativeElement));const r=Array(i.length).fill(Vs.ready);this.inputsStates.splice(this.inputsStates.length,0,...r)}else e.lengththis.emitCode(),50)}emitCode(){const e=this.getCurrentFilledCode();this.codeChanged.emit(e),e.length>=this._codeLength&&this.codeCompleted.emit(e)}getCurrentFilledCode(){let e="";for(const i of this.inputs)this.isEmpty(i.value)||(e+=i.value);return e}isBackspaceKey(e){return e.key&&"backspace"===e.key.toLowerCase()||e.keyCode&&8===e.keyCode?Promise.resolve(!0):e.keyCode&&229===e.keyCode?new Promise(r=>{setTimeout(()=>{const s=e.target,o=this.getStateForInput(s)===Vs.reset;o&&this.setStateForInput(s,Vs.ready),r(0===s.selectionStart&&!o)})}):Promise.resolve(!1)}isDeleteKey(e){return e.key&&"delete"===e.key.toLowerCase()||e.keyCode&&46===e.keyCode}setInputValue(e,i){const s="has-value",o="empty";this.isEmpty(i)?(e.value="",e.classList.remove(s),e.parentElement.classList.add(o)):(e.value=i,e.classList.add(s),e.parentElement.classList.remove(o))}canInputValue(e){return!this.isEmpty(e)&&(/^[0-9]+$/.test(e.toString())||this.isCharsCode||this.isNonDigitsCode)}setStateForInput(e,i){const r=this.inputs.indexOf(e);r<0||(this.inputsStates[r]=i)}getStateForInput(e){const i=this.inputs.indexOf(e);return this.inputsStates[i]}isEmpty(e){return null==e||!e.toString().length}}return t.\u0275fac=function(e){return new(e||t)(p(Wk,8))},t.\u0275cmp=me({type:t,selectors:[["code-input"]],viewQuery:function(e,i){if(1&e&&ot(lZ,5),2&e){let r;re(r=se())&&(i.inputsList=r)}},inputs:{isNonDigitsCode:"isNonDigitsCode",codeLength:"codeLength",inputType:"inputType",initialFocusField:"initialFocusField",isCharsCode:"isCharsCode",isCodeHidden:"isCodeHidden",isPrevFocusableAfterClearing:"isPrevFocusableAfterClearing",isFocusingOnLastByClickIfFilled:"isFocusingOnLastByClickIfFilled",code:"code",disabled:"disabled",autocapitalize:"autocapitalize"},outputs:{codeChanged:"codeChanged",codeCompleted:"codeCompleted"},features:[Wt],decls:1,vars:1,consts:[[3,"code-hidden",4,"ngFor","ngForOf"],["autocomplete","one-time-code",3,"type","disabled","click","paste","input","keydown"],["input",""]],template:function(e,i){1&e&&$(0,cZ,3,5,"span",0),2&e&&O("ngForOf",i.placeholders)},directives:[Jl],styles:["[_nghost-%COMP%]{--text-security-type:disc;--item-spacing:4px;--item-height:4.375em;--item-border:1px solid #ddd;--item-border-bottom:1px solid #ddd;--item-border-has-value:1px solid #ddd;--item-border-bottom-has-value:1px solid #ddd;--item-border-focused:1px solid #ddd;--item-border-bottom-focused:1px solid #ddd;--item-shadow-focused:0px 1px 5px #ddd;--item-border-radius:5px;--item-background:transparent;--color:#171516;display:flex;transform:translateZ(0);font-size:inherit;color:var(--color)}[_nghost-%COMP%] span[_ngcontent-%COMP%]{display:block;flex:1;padding-right:var(--item-spacing)}[_nghost-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-left:var(--item-spacing)}[_nghost-%COMP%] span.code-hidden[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-security:var(--text-security-type);-webkit-text-security:var(--text-security-type);-moz-text-security:var(--text-security-type)}[_nghost-%COMP%] input[_ngcontent-%COMP%]{width:100%;height:var(--item-height);color:inherit;background:var(--item-background);text-align:center;font-size:inherit;border:var(--item-border);border-bottom:var(--item-border-bottom);border-radius:var(--item-border-radius);-webkit-appearance:none;transform:translateZ(0);-webkit-transform:translateZ(0);outline:none}[_nghost-%COMP%] input.has-value[_ngcontent-%COMP%]{border:var(--item-border-has-value);border-bottom:var(--item-border-bottom-has-value)}[_nghost-%COMP%] input[_ngcontent-%COMP%]:focus{border:var(--item-border-focused);border-bottom:var(--item-border-bottom-focused);box-shadow:var(--item-shadow-focused)}"]}),t})(),uZ=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:Wk,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[Pn]]}),t})(),hZ=(()=>{class t{constructor(e){this.tokenExtractor=e}intercept(e,i){console.log("[Interceptor] => REQ:",e);const r="X-CSRF-TOKEN",s=this.tokenExtractor.getToken();return console.log("[Interceptor] => token : ",s),null!=s&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,s)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(w(pg))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();let Hs=(()=>{class t{constructor(e){this.http=e}loginUser(e){const r={headers:new zt({"Content-Type":"application/json",Authorization:"Basic "+btoa(e.login+":"+e.password)}),withCredentials:!0};return this.http.post("/api/configurateur/login",{},r)}isConnected(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/userConnected",i)}logoutUser(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.post("/api/configurateur/logout",{},i)}getCurrentUser(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/current",i)}updatePasswd(e){const r={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.post("/api/configurateur/update_passwd",e,r)}retreiveParams(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/params",i)}updateParams(e){const r={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.post("/api/configurateur/update_params",e,r)}retreiveScheduler(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/scheduler",i)}updateScheduler(e){const r={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.post("/api/configurateur/update_schedulers",e,r)}retreiveConfLogs(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/conf_logs",i)}retreiveAppLogs(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/app_logs",i)}retreiveInfos(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/infos",i)}processAlive(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.get("/api/configurateur/alive",i)}rebootSys(){const i={headers:new zt({"Content-Type":"application/json"}),withCredentials:!0};return this.http.post("/api/configurateur/reboot",{},i)}}return t.\u0275fac=function(e){return new(e||t)(w(mu))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fZ=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["app-workspace"]],decls:1,vars:0,template:function(e,i){1&e&&ge(0,"router-outlet")},directives:[Hu],styles:[""]}),t})(),pZ=(()=>{class t{constructor(e,i){this.bs=e,this.router=i}ngOnInit(){}logout(){this.bs.logoutUser().subscribe(e=>{this.router.navigateByUrl("/login")},e=>{})}}return t.\u0275fac=function(e){return new(e||t)(p(Hs),p(en))},t.\u0275cmp=me({type:t,selectors:[["app-home"]],decls:59,vars:0,consts:[["color","primary"],["mat-icon-button","","fxShow","true","fxHide.gt-sm","",3,"click"],[1,"menu-spacer"],["fxShow","true","fxHide.lt-md",""],["href","/compte","mat-button",""],["href","/parameters","mat-button",""],["href","/hours","mat-button",""],["href","/infos","mat-button",""],["href","/logs","mat-button",""],["href","/logout","mat-button",""],["fxFlexFill",""],["sidenav",""],["fxLayout","column","fxLayoutAlign","center start"],["mat-button","","routerLink","/account",1,"menu-button"],["mat-button","","routerLink","/parameters",1,"menu-button"],["mat-button","","routerLink","/hours",1,"menu-button"],["mat-button","","routerLink","/infos",1,"menu-button"],["mat-button","","routerLink","/logs",1,"menu-button"],["mat-button","",1,"menu-button",3,"click"]],template:function(e,i){if(1&e){const r=Gn();x(0,"mat-toolbar",0)(1,"mat-toolbar-row")(2,"button",1),we("click",function(){return Pt(r),Xi(23).toggle()}),x(3,"mat-icon"),R(4,"menu"),b()(),x(5,"span"),R(6,"Configurateur"),b(),ge(7,"span",2),x(8,"div",3)(9,"a",4),R(10,"Compte"),b(),x(11,"a",5),R(12,"Param\xe8tres"),b(),x(13,"a",6),R(14,"Horaires"),b(),x(15,"a",7),R(16,"Informations"),b(),x(17,"a",8),R(18,"Logs"),b(),x(19,"a",9),R(20,"D\xe9connecter"),b()()()(),x(21,"mat-sidenav-container",10)(22,"mat-sidenav",null,11)(24,"mat-nav-list")(25,"div",12)(26,"button",13)(27,"mat-icon"),R(28,"account_circle"),b(),x(29,"span"),R(30," Compte"),b()(),x(31,"button",14)(32,"mat-icon"),R(33,"build"),b(),x(34,"span"),R(35," Param\xe8tres"),b()(),x(36,"button",15)(37,"mat-icon"),R(38,"calendar_today"),b(),x(39,"span"),R(40," Horaires"),b()(),x(41,"button",16)(42,"mat-icon"),R(43,"perm_device_information"),b(),x(44,"span"),R(45," Informations"),b()(),x(46,"button",17)(47,"mat-icon"),R(48,"list_alt"),b(),x(49,"span"),R(50," Logs"),b()()(),ge(51,"mat-divider"),x(52,"button",18),we("click",function(){return i.logout()}),x(53,"mat-icon"),R(54,"eject"),b(),x(55,"span"),R(56," D\xe9connecter"),b()()()(),x(57,"mat-sidenav-content",10),ge(58,"app-workspace"),b()()}},directives:[fU,RA,Eo,tT,KA,XU,zA,fT,jA,XY,ko,Io,qu,cG,J_,fZ],styles:[".menu-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.menu-button[_ngcontent-%COMP%]{padding:.5rem 1.5rem .2rem .5rem}"]}),t})(),mZ=(()=>{class t{constructor(e,i){this.document=e,this.platformId=i,this.documentIsAccessible=ws(this.platformId)}static getCookieRegExp(e){const i=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+i+"|;\\s*"+i+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(i){return e}}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie))}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);const r=t.getCookieRegExp(e).exec(this.document.cookie);return r[1]?t.safeDecodeURIComponent(r[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const e={},i=this.document;return i.cookie&&""!==i.cookie&&i.cookie.split(";").forEach(r=>{const[s,o]=r.split("=");e[t.safeDecodeURIComponent(s.replace(/^ /,""))]=t.safeDecodeURIComponent(o)}),e}set(e,i,r,s,o,a,l){if(!this.documentIsAccessible)return;if("number"==typeof r||r instanceof Date||s||o||a||l)return void this.set(e,i,{expires:r,path:s,domain:o,secure:a,sameSite:l||"Lax"});let c=encodeURIComponent(e)+"="+encodeURIComponent(i)+";";const d=r||{};d.expires&&(c+="number"==typeof d.expires?"expires="+new Date((new Date).getTime()+1e3*d.expires*60*60*24).toUTCString()+";":"expires="+d.expires.toUTCString()+";"),d.path&&(c+="path="+d.path+";"),d.domain&&(c+="domain="+d.domain+";"),!1===d.secure&&"None"===d.sameSite&&(d.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),d.secure&&(c+="secure;"),d.sameSite||(d.sameSite="Lax"),c+="sameSite="+d.sameSite+";",this.document.cookie=c}delete(e,i,r,s,o="Lax"){if(!this.documentIsAccessible)return;const a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:a,path:i,domain:r,secure:s,sameSite:o})}deleteAll(e,i,r,s="Lax"){if(!this.documentIsAccessible)return;const o=this.getAll();for(const a in o)o.hasOwnProperty(a)&&this.delete(a,e,i,r,s)}}return t.\u0275fac=function(e){return new(e||t)(w(Se),w(ri))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function gZ(t,n){1&t&&(x(0,"mat-error",8),R(1,"L'identifiant est requis !"),b())}function _Z(t,n){1&t&&(x(0,"mat-error",8),R(1,"Le mot de passe est requis !"),b())}function vZ(t,n){1&t&&(x(0,"mat-error",9),R(1,"Mauvais couple Identifiant/Mot de passe, Recommencez ...."),b())}function yZ(t,n){if(1&t&&(x(0,"mat-error",9),R(1),b()),2&t){const e=te();T(1),wt("Un autre utilisateur (",e.usernameConn,") est d\xe9j\xe0 connect\xe9, veuillez recommencer ult\xe9rieurement ...")}}function bZ(t,n){1&t&&(x(0,"mat-error",9),R(1,"Erreur de connexion avec le backend ..."),b())}const Yk=function(t){return{"is-invalid":t}};let xZ=(()=>{class t{constructor(e,i,r,s){this.fb=e,this.bs=i,this.router=r,this.cs=s,this.submitted=!1,this.wrongCredentials=!1,this.userConnected=!1,this.errorProcess=!1,this.usernameConn=""}ngOnInit(){this.loginFG=this.fb.group({login:["",Ln.required],password:["",Ln.required]})}onLogin(){this.submitted=!0,!this.loginFG.invalid&&this.bs.loginUser(this.loginFG.value).subscribe(e=>{console.log(e),this.router.navigateByUrl("/infos")},e=>{this.wrongCredentials=!0})}}return t.\u0275fac=function(e){return new(e||t)(p(Vg),p(Hs),p(en),p(mZ))},t.\u0275cmp=me({type:t,selectors:[["app-login"]],decls:22,vars:12,consts:[[1,"container"],[1,"mat-elevation-z8"],[3,"formGroup"],["matInput","","type","text","formControlName","login","name","login","placeholder","Identifiant",1,"form-control","fadeIn","second",3,"ngClass"],["class","myError",4,"ngIf"],["matInput","","type","password","formControlName","password","name","password","placeholder","Mot de passe",1,"form-control","fadeIn","third",3,"ngClass"],["mat-raised-button","","color","primary",3,"click"],["class","cred",4,"ngIf"],[1,"myError"],[1,"cred"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"mat-card",1)(2,"mat-card-header")(3,"h2"),R(4,"Configurateur InterCOM"),b()(),x(5,"mat-card-content")(6,"form",2)(7,"mat-form-field")(8,"mat-label"),R(9,"Identifiant"),b(),ge(10,"input",3),$(11,gZ,2,0,"mat-error",4),b(),x(12,"mat-form-field")(13,"mat-label"),R(14,"Mot de passe"),b(),ge(15,"input",5),$(16,_Z,2,0,"mat-error",4),b(),x(17,"button",6),we("click",function(){return i.onLogin()}),R(18,"Connexion"),b(),$(19,vZ,2,0,"mat-error",7),$(20,yZ,2,1,"mat-error",7),$(21,bZ,2,0,"mat-error",7),b()()()()),2&e&&(T(6),O("formGroup",i.loginFG),T(4),O("ngClass",Wn(8,Yk,i.submitted&&i.loginFG.controls.login.errors)),T(1),O("ngIf",i.loginFG.controls.login.hasError("required")),T(4),O("ngClass",Wn(10,Yk,i.submitted&&i.loginFG.controls.password.errors)),T(1),O("ngIf",i.loginFG.controls.password.hasError("required")),T(3),O("ngIf",i.wrongCredentials),T(1),O("ngIf",i.userConnected),T(1),O("ngIf",i.errorProcess))},directives:[pv,y1,fv,Tu,vu,co,uv,Nc,hv,Ra,oc,uc,ao,zh,oi,cv,Eo],styles:[".container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%;background-color:#b8b8b8}mat-card[_ngcontent-%COMP%]{width:90%;max-width:300px}mat-card-header[_ngcontent-%COMP%]{display:block;text-align:center}mat-form-field[_ngcontent-%COMP%]{width:100%}button[_ngcontent-%COMP%]{display:block;width:100%}.myError[_ngcontent-%COMP%]{display:block;width:100%;font-size:smaller}.cred[_ngcontent-%COMP%]{display:block;width:100%;text-align:center;font-size:smaller;margin-top:1rem}"]}),t})(),CZ=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["app-not-found"]],decls:2,vars:0,template:function(e,i){1&e&&(x(0,"p"),R(1,"not-found works!"),b())},styles:[""]}),t})();function wZ(t,n){1&t&&(x(0,"mat-error",7),R(1,"L'ancien mot de passe est requis !"),b())}function DZ(t,n){1&t&&(x(0,"mat-error",7),R(1,"Le nouveau mot de passe est requis !"),b())}function MZ(t,n){if(1&t&&(x(0,"mat-error",7),R(1),b()),2&t){const e=te();T(1),eo("Le mot de passe doit avoir minimum ",e.minPw," caract\xe8res et maximum ",e.maxPw," avec 1 carat\xe8re minuscule, 1 majuscule et 1 chiffre")}}function EZ(t,n){1&t&&(x(0,"mat-error",7),R(1,"La confirmation du nouveau mot de passe est requis !"),b())}function SZ(t,n){if(1&t&&(x(0,"mat-error",7),R(1),b()),2&t){const e=te();T(1),eo("Le mot de passe doit avoir minimum ",e.minPw," caract\xe8res et maximum ",e.maxPw," avec 1 carat\xe8re minuscule, 1 majuscule et 1 chiffre")}}function AZ(t,n){1&t&&(x(0,"mat-error",7),R(1,"La confirmation doit correspondre au mot de passe"),b())}const hy=function(t){return{"is-invalid":t}},Qk=ee(244);let TZ=(()=>{class t{constructor(e,i,r,s){this.fb=e,this.bs=i,this.router=r,this.toast=s,this.submitted=!1,this.minPw=8,this.maxPw=24,this.hash_new="",this.hash_old="",this.isDisabled=!1,this.timeLeft=0,this.buttonText="Mise \xe0 jour"}ngOnInit(){this.passwdFG=this.fb.group({old_passwd:["",Ln.required],new_passwd:["",[Ln.required,Ln.pattern("(?=\\D*\\d)(?=[^a-z])(?=[^A-Z]*[A-Z]).{"+this.minPw+","+this.maxPw+"}")]],confirmation:["",[Ln.required,Ln.pattern("(?=\\D*\\d)(?=[^a-z])(?=[^A-Z]*[A-Z]).{"+this.minPw+","+this.maxPw+"}"),kZ]]})}setTimeoutDisabledButton(e){this.timeLeft=e,this.isDisabled=!0,this.buttonText="Mise \xe0 jour ... ("+this.timeLeft+")",this.interval=setInterval(()=>{this.timeLeft>0?(this.timeLeft--,this.buttonText="Mise \xe0 jour ... ("+this.timeLeft+")"):(this.isDisabled=!1,this.buttonText="mise \xe0 jour",clearInterval(this.interval))},1e3)}onUpdate(){if(this.passwdFG.invalid)return;this.hash_new=Qk("sha256").update(this.passwdFG.get("new_passwd").value).digest("hex"),this.hash_old=Qk("sha256").update(this.passwdFG.get("old_passwd").value).digest("hex");const e={old:this.hash_old,new:this.hash_new};this.setTimeoutDisabledButton(3),this.bs.updatePasswd(e).subscribe(i=>{this.toast.success("Mise \xe0 jour r\xe9ussie")},i=>{401==i.status?this.router.navigateByUrl("/login"):this.toast.error(i.error.description)})}}return t.\u0275fac=function(e){return new(e||t)(p(Vg),p(Hs),p(en),p(Lo))},t.\u0275cmp=me({type:t,selectors:[["app-account"]],decls:22,vars:18,consts:[["fxLayout","column","fxLayoutAlign","space-around center",1,"container"],["fxLayout","column",3,"formGroup"],["matInput","","type","password","formControlName","old_passwd","name","old_passwd","placeholder","Ancien mot de passe",1,"form-control",3,"ngClass"],["class","myError",4,"ngIf"],["matInput","","type","password","formControlName","new_passwd","name","new_password","placeholder","Nouveau mot de passe",1,"form-control",3,"ngClass"],["matInput","","type","password","formControlName","confirmation","name","confirmation","placeholder","Confirmation",1,"form-control",3,"ngClass"],["mat-raised-button","","color","primary",3,"disabled","click"],[1,"myError"]],template:function(e,i){1&e&&(x(0,"div",0)(1,"form",1)(2,"mat-form-field")(3,"mat-label"),R(4,"Ancien mot de passe"),b(),ge(5,"input",2),$(6,wZ,2,0,"mat-error",3),b(),x(7,"mat-form-field")(8,"mat-label"),R(9,"Nouveau mot de passe"),b(),ge(10,"input",4),$(11,DZ,2,0,"mat-error",3),$(12,MZ,2,2,"mat-error",3),b(),x(13,"mat-form-field")(14,"mat-label"),R(15,"Confirmation"),b(),ge(16,"input",5),$(17,EZ,2,0,"mat-error",3),$(18,SZ,2,2,"mat-error",3),$(19,AZ,2,0,"mat-error",3),b(),x(20,"button",6),we("click",function(){return i.onUpdate()}),R(21),b()()()),2&e&&(T(1),O("formGroup",i.passwdFG),T(4),O("ngClass",Wn(12,hy,i.submitted&&i.passwdFG.controls.old_passwd.errors)),T(1),O("ngIf",i.passwdFG.controls.old_passwd.hasError("required")),T(4),O("ngClass",Wn(14,hy,i.submitted&&i.passwdFG.controls.new_passwd.errors)),T(1),O("ngIf",i.passwdFG.controls.new_passwd.hasError("required")),T(1),O("ngIf",i.passwdFG.controls.new_passwd.hasError("pattern")),T(4),O("ngClass",Wn(16,hy,i.submitted&&i.passwdFG.controls.confirmation.errors)),T(1),O("ngIf",i.passwdFG.controls.confirmation.hasError("required")),T(1),O("ngIf",i.passwdFG.controls.confirmation.hasError("pattern")),T(1),O("ngIf",i.passwdFG.controls.confirmation.hasError("mismatch")),T(1),O("disabled",i.isDisabled),T(1),sn(i.buttonText))},directives:[ko,Io,Tu,vu,co,uv,Nc,hv,Ra,oc,uc,ao,zh,oi,cv,Eo],styles:[".container[_ngcontent-%COMP%]{margin:10px}form[_ngcontent-%COMP%]{width:70%;min-width:70%}mat-label[_ngcontent-%COMP%]{font-size:smaller}input[_ngcontent-%COMP%]{font-size:smaller}button[_ngcontent-%COMP%]{display:block;width:100%;margin-top:2rem}.myError[_ngcontent-%COMP%]{display:block;width:100%;font-size:smaller}.cred[_ngcontent-%COMP%]{display:block;width:100%;text-align:center;font-size:smaller;margin-top:1rem}"]}),t})();const kZ=t=>{var n,e;let i=t.parent;return i?(null===(n=i.get("new_passwd"))||void 0===n?void 0:n.value)===(null===(e=i.get("confirmation"))||void 0===e?void 0:e.value)?null:{mismatch:!0}:null};function IZ(t,n){1&t&&(x(0,"div",2),ge(1,"mat-spinner"),b())}function RZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le num\xe9ro est requis !"),b())}function FZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le num\xe9ro est compos\xe9 de maximum 14 chiffres"),b())}function OZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le nombre de sonneries est requis !"),b())}function PZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le nombre est compos\xe9 de 1 chiffre (entre 1 et 5)"),b())}function LZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le code DTMF est requis !"),b())}function NZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le code DTMF est compos\xe9 de 1 caract\xe8re alphanum\xe9rique ou num\xe9rique (0-9, A-D, #, *)"),b())}function BZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le temps d'\xe9mission du code DTMF est requis !"),b())}function VZ(t,n){1&t&&(x(0,"mat-error",16),R(1,"Le temps d'\xe9mission du code DTMF est compris entre 1 et 255 (1/10 secondes)"),b())}const af=function(t){return{"is-invalid":t}};function HZ(t,n){if(1&t){const e=Gn();x(0,"div",3)(1,"form",4)(2,"mat-slide-toggle",5),we("change",function(r){return Pt(e),te().onSlideChanged(r)}),R(3,"Activer code PIN"),b(),x(4,"code-input",6),we("codeChanged",function(r){return Pt(e),te().onCodeChanged(r)})("codeCompleted",function(r){return Pt(e),te().onCodeCompleted(r)}),b(),x(5,"mat-form-field",7)(6,"mat-label"),R(7,"T\xe9l\xe9phone accept\xe9"),b(),x(8,"span",8),R(9,"+33 \xa0"),b(),ge(10,"input",9),$(11,RZ,2,0,"mat-error",10),$(12,FZ,2,0,"mat-error",10),b(),x(13,"mat-form-field",11)(14,"mat-label"),R(15,"Nombre de sonneries avant d\xe9crochage"),b(),ge(16,"input",12),$(17,OZ,2,0,"mat-error",10),$(18,PZ,2,0,"mat-error",10),b(),x(19,"mat-form-field",11)(20,"mat-label"),R(21,"Code DTMF \xe0 \xe9mettre"),b(),ge(22,"input",13),$(23,LZ,2,0,"mat-error",10),$(24,NZ,2,0,"mat-error",10),b(),x(25,"mat-form-field",11)(26,"mat-label"),R(27,"Dur\xe9e d'\xe9mission du code DTMF"),b(),ge(28,"input",14),$(29,BZ,2,0,"mat-error",10),$(30,VZ,2,0,"mat-error",10),b(),x(31,"button",15),we("click",function(){return Pt(e),te().onUpdate()}),R(32),b()()()}if(2&t){const e=te();T(1),O("formGroup",e.paramsFG),T(1),O("checked",e.slideDisable),T(2),O("isCodeHidden",!1)("codeLength",4)("disabled",!e.pinChecked)("code",e.pinNumber),T(6),O("ngClass",Wn(20,af,e.submitted&&e.paramsFG.controls.num_accepted.errors)),T(1),O("ngIf",e.paramsFG.controls.num_accepted.hasError("required")),T(1),O("ngIf",e.paramsFG.controls.num_accepted.hasError("pattern")),T(4),O("ngClass",Wn(22,af,e.submitted&&e.paramsFG.controls.num_tone.errors)),T(1),O("ngIf",e.paramsFG.controls.num_tone.hasError("required")),T(1),O("ngIf",e.paramsFG.controls.num_tone.hasError("pattern")),T(4),O("ngClass",Wn(24,af,e.submitted&&e.paramsFG.controls.dtmf_code.errors)),T(1),O("ngIf",e.paramsFG.controls.dtmf_code.hasError("required")),T(1),O("ngIf",e.paramsFG.controls.dtmf_code.hasError("pattern")),T(4),O("ngClass",Wn(26,af,e.submitted&&e.paramsFG.controls.dtmf_duration.errors)),T(1),O("ngIf",e.paramsFG.controls.dtmf_duration.hasError("required")),T(1),O("ngIf",e.paramsFG.controls.dtmf_duration.hasError("pattern")),T(1),O("disabled",e.isDisabled),T(1),sn(e.buttonText)}}function zZ(t,n){1&t&&(x(0,"div",2),ge(1,"mat-spinner"),b())}function UZ(t,n){1&t&&(x(0,"div",20)(1,"mat-icon",21),R(2,"check_circle"),b()())}function GZ(t,n){1&t&&(x(0,"div",20)(1,"mat-icon",22),R(2,"cancel"),b()())}function $Z(t,n){1&t&&(x(0,"div",20)(1,"mat-icon",21),R(2,"check_circle"),b()())}function WZ(t,n){1&t&&(x(0,"div",20)(1,"mat-icon",22),R(2,"cancel"),b()())}function qZ(t,n){if(1&t){const e=Gn();x(0,"div",3)(1,"mat-card",4)(2,"mat-card-content",5)(3,"div",6)(4,"span",7)(5,"b"),R(6,"Processus InterCOM:"),b()(),$(7,UZ,3,0,"div",8),$(8,GZ,3,0,"div",8),b()()(),x(9,"mat-card",9)(10,"mat-card-header")(11,"mat-card-title-group",10)(12,"mat-card-title"),R(13,"Syst\xe8me"),b(),ge(14,"img",11),b()(),x(15,"mat-card-content",5)(16,"div",6)(17,"span",12)(18,"b"),R(19,"Architecture:"),b()(),x(20,"span"),R(21),b()(),x(22,"div",6)(23,"span",12)(24,"b"),R(25,"Machine:"),b()(),x(26,"span"),R(27),b()(),x(28,"div",6)(29,"span",12)(30,"b"),R(31,"OS:"),b()(),x(32,"span"),R(33),b()(),x(34,"div",6)(35,"span",12)(36,"b"),R(37,"Usage CPU:"),b()(),x(38,"span")(39,"b"),R(40),b()()(),x(41,"div",6)(42,"span",12)(43,"b"),R(44,"M\xe9moire totale:"),b()(),x(45,"span"),R(46),b()(),x(47,"div",6)(48,"span",12)(49,"b"),R(50,"M\xe9moire disponible:"),b()(),x(51,"span"),R(52),b()(),x(53,"div",6)(54,"span",12)(55,"b"),R(56,"M\xe9moire utilis\xe9e:"),b()(),x(57,"span"),R(58),b(),x(59,"span"),R(60,"("),x(61,"b"),R(62),b(),R(63,")"),b()(),x(64,"div",6)(65,"span",12)(66,"b"),R(67,"Disque total:"),b()(),x(68,"span"),R(69),b()(),x(70,"div",6)(71,"span",12)(72,"b"),R(73,"Disque libre:"),b()(),x(74,"span"),R(75),b()(),x(76,"div",6)(77,"span",12)(78,"b"),R(79,"Disque utilis\xe9:"),b()(),x(80,"span"),R(81),b(),x(82,"span"),R(83,"("),x(84,"b"),R(85),b(),R(86,")"),b()()()(),x(87,"mat-card",4)(88,"mat-card-header")(89,"mat-card-title-group",10)(90,"mat-card-title"),R(91,"Module GSM"),b(),ge(92,"img",13),b()(),x(93,"mat-card-content",5)(94,"div",6)(95,"span",14)(96,"b"),R(97,"Fabricant:"),b()(),x(98,"span"),R(99),b()(),x(100,"div",6)(101,"span",14)(102,"b"),R(103,"Mod\xe8le:"),b()(),x(104,"span"),R(105),b()(),x(106,"div",6)(107,"span",14)(108,"b"),R(109,"R\xe9vision mat\xe9rielle:"),b()(),x(110,"span"),R(111),b()(),x(112,"div",6)(113,"span",14)(114,"b"),R(115,"Num\xe9ro de s\xe9rie:"),b()(),x(116,"span"),R(117),b()()()(),x(118,"mat-card",15)(119,"mat-card-header")(120,"mat-card-title-group",10)(121,"mat-card-title"),R(122,"Contr\xf4le"),b()()(),x(123,"mat-card-content",5)(124,"div",6)(125,"span",16)(126,"b"),R(127,"Op\xe9rateur:"),b()(),x(128,"span"),R(129),b()(),x(130,"div",6)(131,"span",16)(132,"b"),R(133,"Provider:"),b()(),x(134,"span"),R(135),b()(),x(136,"div",17)(137,"span",16)(138,"b"),R(139,"Signal:"),b()(),x(140,"span"),R(141),b(),x(142,"span"),R(143,"("),x(144,"b"),R(145),b(),R(146,")"),b()(),x(147,"div",6)(148,"span",18)(149,"b"),R(150,"carte SIM:"),b()(),$(151,$Z,3,0,"div",8),$(152,WZ,3,0,"div",8),b()()(),x(153,"button",19),we("click",function(){return Pt(e),te().onReboot()}),R(154,"Red\xe9marrer le syst\xe8me"),b()()}if(2&t){const e=te();T(7),O("ngIf",e.isAlive),T(1),O("ngIf",!e.isAlive),T(13),sn(e.infos.system.arch),T(6),sn(e.infos.system.machine),T(6),eo("",e.infos.system.os," ",e.infos.system.version,""),T(5),Bl("color:",e.cpu_color,""),T(2),wt("",e.infos.system.cpu_usage,"%"),T(6),wt("",e.infos.system.total_mem," Mo"),T(6),wt("",e.infos.system.avail_mem," Mo"),T(6),wt("",e.infos.system.used_mem," Mo"),T(1),Bl("margin-left: 5px; color:",e.mem_color,""),T(3),wt("",e.infos.system.percent_used_mem,"%"),T(7),wt("",e.infos.system.total_disk," Mo"),T(6),wt("",e.infos.system.free_disk," Mo"),T(6),wt("",e.infos.system.used_disk," Mo"),T(1),Bl("margin-left: 5px; color:",e.disk_color,""),T(3),wt("",e.infos.system.percent_used_disk,"%"),T(14),sn(e.infos.manufacturer.identification),T(6),sn(e.infos.manufacturer.model),T(6),sn(e.infos.manufacturer.hardware_rev),T(6),sn(e.infos.manufacturer.serial_number),T(12),sn(e.infos.operator),T(6),sn(e.infos.provider),T(6),wt("",e.infos.signal_dbm,"dbm"),T(1),Bl("margin-left: 5px; color:",e.qos_color,""),T(3),sn(e.infos.signal_qos),T(6),O("ngIf",e.infos.sim_inserted),T(1),O("ngIf",!e.infos.sim_inserted)}}function QZ(t,n){1&t&&(x(0,"div",2),ge(1,"mat-spinner"),b())}function KZ(t,n){if(1&t&&(x(0,"mat-radio-button",10),R(1),b()),2&t){const e=n.$implicit;O("value",e),T(1),wt(" ",e," ")}}function ZZ(t,n){if(1&t&&(Ii(0),x(1,"th"),R(2),b(),Ri()),2&t){const e=n.$implicit;T(2),sn(e.name)}}const XZ=function(t){return{"background-color":t}};function JZ(t,n){if(1&t){const e=Gn();x(0,"td",12),we("click",function(){const s=Pt(e).index,o=te().index;return te(2).updateCell(s,o)}),b()}if(2&t){const e=n.index,i=te().index,r=te(2);O("ngStyle",Wn(1,XZ,r.schedule[e].horaires[i].state?"green":"red"))}}const Kk=function(){return[]};function eX(t,n){if(1&t&&(x(0,"tr")(1,"td"),R(2),b(),$(3,JZ,1,3,"td",11),b()),2&t){const e=n.index,i=te(2);T(2),sn(i.schedule[0].horaires[e].name),T(1),O("ngForOf",pm(2,Kk).constructor(i.schedCols))}}function tX(t,n){if(1&t){const e=Gn();x(0,"div",3)(1,"div",4)(2,"mat-radio-group",5),we("ngModelChange",function(r){return Pt(e),te().defaultOp=r}),$(3,KZ,2,2,"mat-radio-button",6),b()(),x(4,"table",7)(5,"thead")(6,"tr"),ge(7,"th"),$(8,ZZ,3,1,"ng-container",8),b()(),$(9,eX,4,3,"tr",8),b(),x(10,"button",9),we("click",function(){return Pt(e),te().onUpdate()}),R(11),b()()}if(2&t){const e=te();T(2),O("ngModel",e.defaultOp),T(1),O("ngForOf",e.operations),T(5),O("ngForOf",e.schedule),T(1),O("ngForOf",pm(6,Kk).constructor(e.schedRows)),T(1),O("disabled",e.isDisabled),T(1),sn(e.buttonText)}}function iX(t,n){1&t&&(x(0,"div",5),ge(1,"mat-spinner"),b())}function rX(t,n){if(1&t&&(x(0,"div"),R(1),ge(2,"br"),R(3),b()),2&t){const e=n.$implicit,i=n.last,r=te(3);Ji(e.gravity),T(1),eo(" ",e.datetime," - ",e.msg,""),T(2),wt(" ",i?r.scrollToBottom():""," ")}}function sX(t,n){if(1&t&&(Ii(0),$(1,rX,4,6,"div",14),Ri()),2&t){const e=te(2);T(1),O("ngForOf",e.confLogs)}}function oX(t,n){if(1&t&&(x(0,"div",6)(1,"mat-card",7)(2,"mat-card-title",8)(3,"div",9)(4,"b"),R(5,"DEBUG"),b()(),x(6,"div",10)(7,"b"),R(8,"INFO"),b()(),x(9,"div",11)(10,"b"),R(11,"WARNING"),b()(),x(12,"div",12)(13,"b"),R(14,"ERROR"),b()()(),x(15,"mat-card-content"),$(16,sX,2,1,"ng-container",13),b()()()),2&t){const e=te();T(16),O("ngIf",e.confLogs)}}function aX(t,n){1&t&&(x(0,"div",5),ge(1,"mat-spinner"),b())}function lX(t,n){if(1&t&&(x(0,"div"),R(1),ge(2,"br"),R(3),b()),2&t){const e=n.$implicit,i=n.last,r=te(3);Ji(e.gravity),T(1),eo(" ",e.datetime," - ",e.msg,""),T(2),wt(" ",i?r.scrollToBottom():""," ")}}function cX(t,n){if(1&t&&(Ii(0),$(1,lX,4,6,"div",14),Ri()),2&t){const e=te(2);T(1),O("ngForOf",e.appLogs)}}function dX(t,n){if(1&t&&(x(0,"div",6)(1,"mat-card",7)(2,"mat-card-title",8)(3,"div",9)(4,"b"),R(5,"DEBUG"),b()(),x(6,"div",10)(7,"b"),R(8,"INFO"),b()(),x(9,"div",11)(10,"b"),R(11,"WARNING"),b()(),x(12,"div",12)(13,"b"),R(14,"ERROR"),b()()(),x(15,"mat-card-content"),$(16,cX,2,1,"ng-container",13),b()()()),2&t){const e=te();T(16),O("ngIf",e.appLogs)}}const uX=[{path:"login",component:xZ},{path:"",component:pZ,children:[{path:"account",component:TZ},{path:"parameters",component:(()=>{class t{constructor(e,i,r,s){this.fb=e,this.bs=i,this.router=r,this.toast=s,this.submitted=!1,this.slideDisable=!1,this.pinChecked=!1,this.pinNumber="0000",this.isProcessing=!0,this.isDisabled=!0,this.timeLeft=0,this.buttonText="Mise \xe0 jour"}ngOnInit(){this.paramsFG=this.fb.group({num_accepted:["",[Ln.required,Ln.pattern("^[0-9]{9,15}$")]],num_tone:["",[Ln.required,Ln.pattern("^[1-5]{1}$")]],dtmf_code:["",[Ln.required,Ln.pattern("^[0-9A-D#*]{1}$")]],dtmf_duration:["",[Ln.required,Ln.pattern("^[1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-5][0-5]$")]]}),this.bs.retreiveParams().subscribe(e=>{this.paramsFG.get("num_accepted").setValue(e.num_autorized),this.paramsFG.get("num_tone").setValue(e.tone_duration),this.paramsFG.get("dtmf_code").setValue(e.dtmf_code),this.paramsFG.get("dtmf_duration").setValue(e.dtmf_duration),this.slideDisable=e.pin_actif,this.pinChecked=e.pin_actif,this.pinNumber=e.code_pin,this.isProcessing=!1,this.isDisabled=!1},e=>{401==e.status?this.router.navigateByUrl("/login"):this.toast.error(e.error.description)})}onSlideChanged(e){console.log("checked ?",e.checked),this.pinChecked=e.checked}onCodeChanged(e){}onCodeCompleted(e){this.pinNumber=e}setTimeoutDisabledButton(e){this.timeLeft=e,this.isDisabled=!0,this.buttonText="Mise \xe0 jour ... ("+this.timeLeft+")",this.interval=setInterval(()=>{this.timeLeft>0?(this.timeLeft--,this.buttonText="Mise \xe0 jour ... ("+this.timeLeft+")"):(this.isDisabled=!1,this.buttonText="Mise \xe0 jour",clearInterval(this.interval))},1e3)}onUpdate(){if(this.paramsFG.invalid)return void console.log("Form invalid !!");let e={pin_actif:!1,code_pin:"",num_autorized:"",tone_duration:0,dtmf_code:"",dtmf_duration:0};e.pin_actif=this.pinChecked,e.code_pin=0==this.pinChecked?"0000":this.pinNumber,e.num_autorized=this.paramsFG.get("num_accepted").value,e.tone_duration=this.paramsFG.get("num_tone").value,e.dtmf_code=this.paramsFG.get("dtmf_code").value,e.dtmf_duration=this.paramsFG.get("dtmf_duration").value,this.setTimeoutDisabledButton(5),this.bs.updateParams(e).subscribe(i=>{this.toast.success("Mise \xe0 jour des param\xe8tres r\xe9ussie")},i=>{401==i.status?this.router.navigateByUrl("/login"):this.toast.error(i.error.description)})}}return t.\u0275fac=function(e){return new(e||t)(p(Vg),p(Hs),p(en),p(Lo))},t.\u0275cmp=me({type:t,selectors:[["app-parametres"]],decls:2,vars:2,consts:[["class","process","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["class","container","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["fxLayout","column","fxLayoutAlign","space-around center",1,"process"],["fxLayout","column","fxLayoutAlign","space-around center",1,"container"],["fxLayout","column",3,"formGroup"],[2,"margin-left","10px","margin-top","0.3rem","margin-bottom","1rem","font-size","smaller",3,"checked","change"],[2,"margin-bottom","1rem",3,"isCodeHidden","codeLength","disabled","code","codeChanged","codeCompleted"],[2,"margin","5px 10px 5px 10px"],["matPrefix","",2,"font-size","smaller"],["matInput","","type","text","formControlName","num_accepted","name","num_accepted","placeholder","Num\xe9ro accept\xe9",1,"form-control",3,"ngClass"],["class","myError",4,"ngIf"],[2,"margin","2.5px 10px 2.5px 10px"],["matInput","","type","text","formControlName","num_tone","name","num_tone","placeholder","Nombre de sonneries",1,"form-control",3,"ngClass"],["matInput","","type","text","formControlName","dtmf_code","name","dtmf_code","placeholder","Cpde DTMF (0-9, A-D, #, *)",1,"form-control",3,"ngClass"],["matInput","","type","text","formControlName","dtmf_duration","name","dtmf_duration","placeholder","Dur\xe9e d'\xe9mission du code DTMF",1,"form-control",3,"ngClass"],["mat-raised-button","","color","primary",3,"disabled","click"],[1,"myError"]],template:function(e,i){1&e&&($(0,IZ,2,0,"div",0),$(1,HZ,33,28,"div",1)),2&e&&(O("ngIf",i.isProcessing),T(1),O("ngIf",!i.isProcessing))},directives:[oi,ko,Io,Vi,Tu,vu,co,Dk,dZ,uv,Nc,c6,hv,Ra,oc,uc,ao,zh,cv,Eo],styles:[".container[_ngcontent-%COMP%]{margin-bottom:100px;overflow-x:hidden;overflow-y:auto}.process[_ngcontent-%COMP%]{width:100%;height:75%}form[_ngcontent-%COMP%]{width:70%;min-width:50%;margin:.5rem}mat-label[_ngcontent-%COMP%]{font-size:smaller}input[_ngcontent-%COMP%]{font-size:smaller}button[_ngcontent-%COMP%]{display:block;width:100%;margin-top:2rem}code-input[_ngcontent-%COMP%]{--item-spacing: 10px;--item-height: 3rem;color:#b8b8b8;margin-right:50%;font-weight:700;font-size:larger}.myError[_ngcontent-%COMP%]{display:block;width:100%;font-size:smaller}.cred[_ngcontent-%COMP%]{display:block;width:100%;text-align:center;font-size:smaller;margin-top:1rem}"]}),t})()},{path:"infos",component:(()=>{class t{constructor(e,i,r){this.bs=e,this.router=i,this.toast=r,this.cpu_color="green",this.mem_color="green",this.disk_color="green",this.qos_color="green",this.isProcessing=!0,this.isAlive=!1}ngOnInit(){this.bs.retreiveInfos().subscribe(e=>{this.infos=e,e.system.percent_used_mem>=65?this.mem_color="orange":e.system.percent_used_mem>80&&(this.mem_color="red"),e.system.cpu_usage>=70?this.cpu_color="orange":e.system.cpu_usage>80&&(this.cpu_color="red"),e.system.percent_used_disk>=50?this.disk_color="orange":e.system.percent_used_disk>80&&(this.disk_color="red"),"Marginal"==e.signal_qos?this.qos_color="red":"OK"==e.signal_qos?this.qos_color="orange":"Good"==e.signal_qos?this.qos_color="blue":"Excellent"==e.signal_qos&&(this.qos_color="green"),this.bs.processAlive().subscribe(i=>{this.isAlive=i.alive,this.isProcessing=!1},i=>{401==i.status?this.router.navigateByUrl("/login"):this.toast.error(i.error.description)})},e=>{401==e.status?this.router.navigateByUrl("/login"):this.toast.error(e.error.description)})}onReboot(){this.bs.rebootSys().subscribe(e=>{this.toast.info("Red\xe9marrage du syst\xe8me en cours ..."),this.router.navigateByUrl("/login")},e=>{401==e.status?this.router.navigateByUrl("/login"):this.toast.error(e.error.description)})}}return t.\u0275fac=function(e){return new(e||t)(p(Hs),p(en),p(Lo))},t.\u0275cmp=me({type:t,selectors:[["app-infos"]],decls:2,vars:2,consts:[["class","process","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["class","container","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["fxLayout","column","fxLayoutAlign","space-around center",1,"process"],["fxLayout","column","fxLayoutAlign","space-around center",1,"container"],[1,"info-card"],[1,"info-content"],["fxLayout","row",2,"width","100%","margin-bottom","0.25rem"],["fxFlex","50",2,"display","grid","align-items","center"],["style","display: grid; align-items: center;",4,"ngIf"],[1,"sys-card"],[1,"info-title"],["mat-card-sm-image","","src","/assets/img/linux.png"],["fxFlex","50"],["mat-card-sm-image","","src","/assets/img/GNSS_GSM_GPS_rpi.png"],["fxFlex","45"],[1,"control-card"],["fxFlex","40"],["fxLayout","row","fxLayoutAlign","none center",2,"width","100%","margin-bottom","0.25rem"],["fxFlex","40",2,"display","grid","align-items","center"],["mat-raised-button","","color","warn",3,"click"],[2,"display","grid","align-items","center"],[2,"color","green"],[2,"color","red"]],template:function(e,i){1&e&&($(0,zZ,2,0,"div",0),$(1,qZ,155,37,"div",1)),2&e&&(O("ngIf",i.isProcessing),T(1),O("ngIf",!i.isProcessing))},directives:[oi,ko,Io,Vi,pv,fv,hT,KA,y1,S6,v1,E6,Eo],styles:[".container[_ngcontent-%COMP%]{margin-bottom:100px;overflow-x:hidden;overflow-y:auto}.process[_ngcontent-%COMP%]{width:100%;height:75%}.mat-spinner[_ngcontent-%COMP%]{margin-top:3rem}.info-card[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem;width:85%}.info-title[_ngcontent-%COMP%]{width:100%}.info-content[_ngcontent-%COMP%]{margin-top:.5rem}.sys-card[_ngcontent-%COMP%], .control-card[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem;width:85%}button[_ngcontent-%COMP%]{width:89%;margin-top:1.5rem}"]}),t})()},{path:"hours",component:(()=>{class t{constructor(e,i,r){this.bs=e,this.router=i,this.toast=r,this.isProcessing=!0,this.isDisabled=!0,this.schedCols=0,this.schedRows=0,this.colorFlag="red",this.defaultOp="Manuel ON",this.operations=["Manuel ON","Manuel OFF","Horaires"],this.timeLeft=0,this.buttonText="Mise \xe0 jour"}ngOnInit(){this.bs.retreiveScheduler().subscribe(e=>{this.schedule=e.days,this.defaultOp=e.mode,this.schedCols=Object.keys(e.days).length,this.schedRows=Object.keys(e.days[0].horaires).length,this.isProcessing=!1,this.isDisabled=!1},e=>{401==e.status?this.router.navigateByUrl("/login"):this.toast.error(e.error.description),this.isProcessing=!1})}setTimeoutDisabledButton(e){this.timeLeft=e,this.isDisabled=!0,this.buttonText="Mise \xe0 jour ... ("+this.timeLeft+")",this.interval=setInterval(()=>{this.timeLeft>0?(this.timeLeft--,this.buttonText="Mise \xe0 jour ... ("+this.timeLeft+")"):(this.isDisabled=!1,this.buttonText="mise \xe0 jour",clearInterval(this.interval))},1e3)}onUpdate(){let e={mode:this.defaultOp,days:this.schedule};this.setTimeoutDisabledButton("Manuel ON"==this.defaultOp?60:15),this.bs.updateScheduler(e).subscribe(i=>{this.toast.success("Mise \xe0 jour des horaires r\xe9ussie")},i=>{401==i.status?this.router.navigateByUrl("/login"):this.toast.error(i.error.description)})}updateCell(e,i){this.schedule[e].horaires[i].state=1==this.schedule[e].horaires[i].state?0:1}}return t.\u0275fac=function(e){return new(e||t)(p(Hs),p(en),p(Lo))},t.\u0275cmp=me({type:t,selectors:[["app-hours"]],decls:2,vars:2,consts:[["class","process","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["class","container","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["fxLayout","column","fxLayoutAlign","space-around center",1,"process"],["fxLayout","column","fxLayoutAlign","space-around center",1,"container"],[1,"radioprocess"],["fxLayout","row","fxLayoutAlign","space-around center",3,"ngModel","ngModelChange"],["style","margin: 10px; font-size: normal;",3,"value",4,"ngFor","ngForOf"],["border","0","cellspacing","1","cellpadding","1"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"disabled","click"],[2,"margin","10px","font-size","normal",3,"value"],[3,"ngStyle","click",4,"ngFor","ngForOf"],[3,"ngStyle","click"]],template:function(e,i){1&e&&($(0,QZ,2,0,"div",0),$(1,tX,12,7,"div",1)),2&e&&(O("ngIf",i.isProcessing),T(1),O("ngIf",!i.isProcessing))},directives:[oi,ko,Io,Vi,jk,oc,Rg,Jl,zk,tc,oT,Eo],styles:[".container[_ngcontent-%COMP%]{margin-bottom:100px;overflow-x:hidden;overflow-y:auto}.process[_ngcontent-%COMP%]{width:90%;height:75%}table[_ngcontent-%COMP%]{margin:1rem;table-layout:fixed;align:center;width:90%;border:1px solid #cccccc}td[_ngcontent-%COMP%]{text-align:center;font-size:normal}tr[_ngcontent-%COMP%]{text-align:center;font-size:.85em}button[_ngcontent-%COMP%]{margin-top:1rem;width:90%}.radioprocess[_ngcontent-%COMP%]{margin-top:1rem;width:90%;font-size:1em}@media (max-width: 500px){tr[_ngcontent-%COMP%]{text-align:center;font-size:.5em}.radioprocess[_ngcontent-%COMP%]{margin-top:1rem;width:90%;font-size:.8em}}"]}),t})()},{path:"logs",component:(()=>{class t{constructor(e,i,r){this.bs=e,this.router=i,this.toast=r,this.isProcessing=!0,this.gravity=["DEBUG","INFO","WARNING","ERROR"]}ngOnInit(){this.bs.retreiveConfLogs().subscribe(e=>{this.confLogs=e,this.isProcessing=!1},e=>{401==e.status?this.router.navigateByUrl("/login"):this.toast.error(e.error.description)})}scrollToBottom(){}onTabChanged(e){switch(e.tab.textLabel){case"Configurateur.log":this.isProcessing=!0,this.bs.retreiveConfLogs().subscribe(i=>{this.confLogs=i,this.isProcessing=!1},i=>{401==i.status?this.router.navigateByUrl("/login"):this.toast.error(i.error.description)});break;case"KineIntercom.log":this.isProcessing=!0,this.bs.retreiveAppLogs().subscribe(i=>{this.appLogs=i,this.isProcessing=!1},i=>{401==i.status?this.router.navigateByUrl("/login"):this.toast.error(i.error.description)})}}}return t.\u0275fac=function(e){return new(e||t)(p(Hs),p(en),p(Lo))},t.\u0275cmp=me({type:t,selectors:[["app-logs"]],decls:7,vars:4,consts:[["animationDuration","0ms","selectedIndex","0",3,"selectedTabChange"],["label","Configurateur.log"],["class","process","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["class","container","fxLayout","column","fxLayoutAlign","space-around center",4,"ngIf"],["label","KineIntercom.log"],["fxLayout","column","fxLayoutAlign","space-around center",1,"process"],["fxLayout","column","fxLayoutAlign","space-around center",1,"container"],[1,"scrollable-content"],["fxLayout","row","fxLayoutAlign","space-around center"],[1,"logHeaderDebug","mat-elevation-z2"],[1,"logHeaderInfo","mat-elevation-z2"],[1,"logHeaderWarn","mat-elevation-z2"],[1,"logHeaderErr","mat-elevation-z2"],[4,"ngIf"],[3,"class",4,"ngFor","ngForOf"]],template:function(e,i){1&e&&(x(0,"mat-tab-group",0),we("selectedTabChange",function(s){return i.onTabChanged(s)}),x(1,"mat-tab",1),$(2,iX,2,0,"div",2),$(3,oX,17,1,"div",3),b(),x(4,"mat-tab",4),$(5,aX,2,0,"div",2),$(6,dX,17,1,"div",3),b()()),2&e&&(T(2),O("ngIf",i.isProcessing),T(1),O("ngIf",!i.isProcessing),T(2),O("ngIf",i.isProcessing),T(1),O("ngIf",!i.isProcessing))},directives:[pK,kk,oi,ko,Io,Vi,pv,v1,fv,Jl],styles:[".container[_ngcontent-%COMP%]{margin-bottom:100px;overflow-x:hidden;overflow-y:auto}.process[_ngcontent-%COMP%]{width:100%;height:100%}.mat-spinner[_ngcontent-%COMP%]{margin-top:3rem}.mat-card.scrollable-content[_ngcontent-%COMP%]{overflow:hidden;display:flex;flex-direction:column;margin-top:.25rem;height:80%;width:85%}.mat-card.scrollable-content[_ngcontent-%COMP%] > .mat-card-content[_ngcontent-%COMP%]{overflow-y:hidden;overflow-x:hidden}div.DEBUG[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:#add8e6;font-size:smaller}div.INFO[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:#90ee90;font-size:smaller}div.WARNING[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:orange;font-size:smaller}div.ERROR[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:red;font-size:smaller}.logHeaderDebug[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:#add8e6;margin-bottom:.8rem;font-size:smaller}.logHeaderInfo[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:#90ee90;margin-bottom:.8rem;font-size:smaller}.logHeaderWarn[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:orange;margin-bottom:.8rem;font-size:smaller}.logHeaderErr[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:red;margin-bottom:.8rem;font-size:smaller}@media (max-width: 500px){div.DEBUG[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:#add8e6;font-size:.7em}div.INFO[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:#90ee90;font-size:.7em}div.WARNING[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:orange;font-size:.7em}div.ERROR[_ngcontent-%COMP%]{margin-bottom:.2rem;background-color:red;font-size:.7em}.logHeaderDebug[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:#add8e6;margin-bottom:.6rem;font-size:.5em}.logHeaderInfo[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:#90ee90;margin-bottom:.6rem;font-size:.5em}.logHeaderWarn[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:orange;margin-bottom:.6rem;font-size:.5em}.logHeaderErr[_ngcontent-%COMP%]{border-radius:5px;padding:.45rem;background-color:red;margin-bottom:.6rem;font-size:.5em}}"]}),t})()}],canActivate:[(()=>{class t{constructor(e,i){this.bs=e,this.router=i}getProfile(){return new Ye(e=>{this.bs.getCurrentUser().subscribe(i=>{this.profile=i,e.next(i),e.complete()},i=>{e.error(i),e.complete()})})}canActivate(e,i){return new Ye(r=>{this.getProfile().subscribe(s=>{r.next(!0),r.complete()},s=>{this.router.navigateByUrl("/login"),r.next(!1),r.complete()})})}}return t.\u0275fac=function(e){return new(e||t)(w(Hs),w(en))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()]},{path:"not-found",component:CZ},{path:"**",redirectTo:"/not-found"}];let hX=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=de({imports:[[a_.forRoot(uX)],a_]}),t})(),fX=(()=>{class t{constructor(){this.title="Kine-frontend"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=me({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(e,i){1&e&&ge(0,"router-outlet")},directives:[Hu],styles:[""]}),t})(),pX=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ue({type:t,bootstrap:[fX]}),t.\u0275inj=de({providers:[{provide:ug,useClass:hZ,multi:!0}],imports:[[PD,hX,Yz,$H,QD.withOptions({cookieName:"csrf_access_token"}),q3,nE,pU,qU,ZA,XA,jG,kh,y6,ev,A6,$6,Y6,S$,x1,H$,oQ,pQ,gQ,GY,TQ,RQ,mK,EK,NK,YW,a_,IY,oZ.forRoot(),uZ]]}),t})();(function uB(){qw=!1})(),xH().bootstrapModule(pX).catch(t=>console.error(t))},343:(yt,_t)=>{"use strict";_t.byteLength=function M(P){var ae=G(P),K=ae[1];return 3*(ae[0]+K)/4-K},_t.toByteArray=function et(P){var ae,ct,ne=G(P),K=ne[0],U=ne[1],fe=new ve(function Ve(P,ae,ne){return 3*(ae+ne)/4-ne}(0,K,U)),Qe=0,pt=U>0?K-4:K;for(ct=0;ct>16&255,fe[Qe++]=ae>>8&255,fe[Qe++]=255&ae;return 2===U&&(ae=N[P.charCodeAt(ct)]<<2|N[P.charCodeAt(ct+1)]>>4,fe[Qe++]=255&ae),1===U&&(ae=N[P.charCodeAt(ct)]<<10|N[P.charCodeAt(ct+1)]<<4|N[P.charCodeAt(ct+2)]>>2,fe[Qe++]=ae>>8&255,fe[Qe++]=255&ae),fe},_t.fromByteArray=function Oe(P){for(var ae,ne=P.length,K=ne%3,U=[],Qe=0,pt=ne-K;Qept?pt:Qe+16383));return 1===K?U.push(ee[(ae=P[ne-1])>>2]+ee[ae<<4&63]+"=="):2===K&&U.push(ee[(ae=(P[ne-2]<<8)+P[ne-1])>>10]+ee[ae>>4&63]+ee[ae<<2&63]+"="),U.join("")};for(var ee=[],N=[],ve="undefined"!=typeof Uint8Array?Uint8Array:Array,ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",he=0,W=ke.length;he0)throw new Error("Invalid string. Length must be a multiple of 4");var ne=P.indexOf("=");return-1===ne&&(ne=ae),[ne,ne===ae?0:4-ne%4]}function ye(P){return ee[P>>18&63]+ee[P>>12&63]+ee[P>>6&63]+ee[63&P]}function ie(P,ae,ne){for(var U=[],fe=ae;fe{"use strict";var N=ee(343),ve=ee(461),ke="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;_t.Buffer=M,_t.SlowBuffer=function fe(_){return+_!=_&&(_=0),M.alloc(+_)},_t.INSPECT_MAX_BYTES=50;var he=2147483647;function G(_){if(_>he)throw new RangeError('The value "'+_+'" is invalid for option "size"');var h=new Uint8Array(_);return Object.setPrototypeOf(h,M.prototype),h}function M(_,h,f){if("number"==typeof _){if("string"==typeof h)throw new TypeError('The "string" argument must be of type string. Received type number');return ie(_)}return Ve(_,h,f)}function Ve(_,h,f){if("string"==typeof _)return function Oe(_,h){if(("string"!=typeof h||""===h)&&(h="utf8"),!M.isEncoding(h))throw new TypeError("Unknown encoding: "+h);var f=0|Qe(_,h),y=G(f),E=y.write(_,h);return E!==f&&(y=y.slice(0,E)),y}(_,h);if(ArrayBuffer.isView(_))return function ae(_){if(ci(_,Uint8Array)){var h=new Uint8Array(_);return ne(h.buffer,h.byteOffset,h.byteLength)}return P(_)}(_);if(null==_)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _);if(ci(_,ArrayBuffer)||_&&ci(_.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(ci(_,SharedArrayBuffer)||_&&ci(_.buffer,SharedArrayBuffer)))return ne(_,h,f);if("number"==typeof _)throw new TypeError('The "value" argument must not be of type number. Received type number');var y=_.valueOf&&_.valueOf();if(null!=y&&y!==_)return M.from(y,h,f);var E=function K(_){if(M.isBuffer(_)){var h=0|U(_.length),f=G(h);return 0===f.length||_.copy(f,0,0,h),f}return void 0!==_.length?"number"!=typeof _.length||Vo(_.length)?G(0):P(_):"Buffer"===_.type&&Array.isArray(_.data)?P(_.data):void 0}(_);if(E)return E;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof _[Symbol.toPrimitive])return M.from(_[Symbol.toPrimitive]("string"),h,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _)}function et(_){if("number"!=typeof _)throw new TypeError('"size" argument must be of type number');if(_<0)throw new RangeError('The value "'+_+'" is invalid for option "size"')}function ie(_){return et(_),G(_<0?0:0|U(_))}function P(_){for(var h=_.length<0?0:0|U(_.length),f=G(h),y=0;y=he)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+he.toString(16)+" bytes");return 0|_}function Qe(_,h){if(M.isBuffer(_))return _.length;if(ArrayBuffer.isView(_)||ci(_,ArrayBuffer))return _.byteLength;if("string"!=typeof _)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof _);var f=_.length,y=arguments.length>2&&!0===arguments[2];if(!y&&0===f)return 0;for(var E=!1;;)switch(h){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return Le(_).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*f;case"hex":return f>>>1;case"base64":return Di(_).length;default:if(E)return y?-1:Le(_).length;h=(""+h).toLowerCase(),E=!0}}function pt(_,h,f){var y=!1;if((void 0===h||h<0)&&(h=0),h>this.length||((void 0===f||f>this.length)&&(f=this.length),f<=0)||(f>>>=0)<=(h>>>=0))return"";for(_||(_="utf8");;)switch(_){case"hex":return Fr(this,h,f);case"utf8":case"utf-8":return nn(this,h,f);case"ascii":return Ye(this,h,f);case"latin1":case"binary":return Nt(this,h,f);case"base64":return zi(this,h,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Or(this,h,f);default:if(y)throw new TypeError("Unknown encoding: "+_);_=(_+"").toLowerCase(),y=!0}}function ct(_,h,f){var y=_[h];_[h]=_[f],_[f]=y}function En(_,h,f,y,E){if(0===_.length)return-1;if("string"==typeof f?(y=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),Vo(f=+f)&&(f=E?0:_.length-1),f<0&&(f=_.length+f),f>=_.length){if(E)return-1;f=_.length-1}else if(f<0){if(!E)return-1;f=0}if("string"==typeof h&&(h=M.from(h,y)),M.isBuffer(h))return 0===h.length?-1:Zt(_,h,f,y,E);if("number"==typeof h)return h&=255,"function"==typeof Uint8Array.prototype.indexOf?E?Uint8Array.prototype.indexOf.call(_,h,f):Uint8Array.prototype.lastIndexOf.call(_,h,f):Zt(_,[h],f,y,E);throw new TypeError("val must be string, number or Buffer")}function Zt(_,h,f,y,E){var rt,V=1,H=_.length,Ge=h.length;if(void 0!==y&&("ucs2"===(y=String(y).toLowerCase())||"ucs-2"===y||"utf16le"===y||"utf-16le"===y)){if(_.length<2||h.length<2)return-1;V=2,H/=2,Ge/=2,f/=2}function ft(lf,Kc){return 1===V?lf[Kc]:lf.readUInt16BE(Kc*V)}if(E){var bn=-1;for(rt=f;rtH&&(f=H-Ge),rt=f;rt>=0;rt--){for(var Bt=!0,Ho=0;HoE&&(y=E):y=E;var V=h.length;y>V/2&&(y=V/2);for(var H=0;H>8,V.push(f%256),V.push(y);return V}(h,_.length-f),_,f,y)}function zi(_,h,f){return N.fromByteArray(0===h&&f===_.length?_:_.slice(h,f))}function nn(_,h,f){f=Math.min(_.length,f);for(var y=[],E=h;E239?4:V>223?3:V>191?2:1;if(E+Ge<=f)switch(Ge){case 1:V<128&&(H=V);break;case 2:128==(192&(ft=_[E+1]))&&(Bt=(31&V)<<6|63&ft)>127&&(H=Bt);break;case 3:rt=_[E+2],128==(192&(ft=_[E+1]))&&128==(192&rt)&&(Bt=(15&V)<<12|(63&ft)<<6|63&rt)>2047&&(Bt<55296||Bt>57343)&&(H=Bt);break;case 4:rt=_[E+2],bn=_[E+3],128==(192&(ft=_[E+1]))&&128==(192&rt)&&128==(192&bn)&&(Bt=(15&V)<<18|(63&ft)<<12|(63&rt)<<6|63&bn)>65535&&Bt<1114112&&(H=Bt)}null===H?(H=65533,Ge=1):H>65535&&(y.push((H-=65536)>>>10&1023|55296),H=56320|1023&H),y.push(H),E+=Ge}return function cr(_){var h=_.length;if(h<=4096)return String.fromCharCode.apply(String,_);for(var f="",y=0;yy)&&(f=y);for(var E="",V=h;Vf)throw new RangeError("Trying to access beyond buffer length")}function q(_,h,f,y,E,V){if(!M.isBuffer(_))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>E||h_.length)throw new RangeError("Index out of range")}function Us(_,h,f,y,E,V){if(f+y>_.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function hs(_,h,f,y,E){return h=+h,f>>>=0,E||Us(_,0,f,4),ve.write(_,h,f,y,23,4),f+4}function Mt(_,h,f,y,E){return h=+h,f>>>=0,E||Us(_,0,f,8),ve.write(_,h,f,y,52,8),f+8}_t.kMaxLength=he,!(M.TYPED_ARRAY_SUPPORT=function W(){try{var _=new Uint8Array(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,Uint8Array.prototype),Object.setPrototypeOf(_,h),42===_.foo()}catch(f){return!1}}())&&"undefined"!=typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(M.prototype,"parent",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.buffer}}),Object.defineProperty(M.prototype,"offset",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.byteOffset}}),M.poolSize=8192,M.from=function(_,h,f){return Ve(_,h,f)},Object.setPrototypeOf(M.prototype,Uint8Array.prototype),Object.setPrototypeOf(M,Uint8Array),M.alloc=function(_,h,f){return function ye(_,h,f){return et(_),_<=0?G(_):void 0!==h?"string"==typeof f?G(_).fill(h,f):G(_).fill(h):G(_)}(_,h,f)},M.allocUnsafe=function(_){return ie(_)},M.allocUnsafeSlow=function(_){return ie(_)},M.isBuffer=function(h){return null!=h&&!0===h._isBuffer&&h!==M.prototype},M.compare=function(h,f){if(ci(h,Uint8Array)&&(h=M.from(h,h.offset,h.byteLength)),ci(f,Uint8Array)&&(f=M.from(f,f.offset,f.byteLength)),!M.isBuffer(h)||!M.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(h===f)return 0;for(var y=h.length,E=f.length,V=0,H=Math.min(y,E);VE.length?M.from(H).copy(E,V):Uint8Array.prototype.set.call(E,H,V);else{if(!M.isBuffer(H))throw new TypeError('"list" argument must be an Array of Buffers');H.copy(E,V)}V+=H.length}return E},M.byteLength=Qe,M.prototype._isBuffer=!0,M.prototype.swap16=function(){var h=this.length;if(h%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var f=0;ff&&(h+=" ... "),""},ke&&(M.prototype[ke]=M.prototype.inspect),M.prototype.compare=function(h,f,y,E,V){if(ci(h,Uint8Array)&&(h=M.from(h,h.offset,h.byteLength)),!M.isBuffer(h))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof h);if(void 0===f&&(f=0),void 0===y&&(y=h?h.length:0),void 0===E&&(E=0),void 0===V&&(V=this.length),f<0||y>h.length||E<0||V>this.length)throw new RangeError("out of range index");if(E>=V&&f>=y)return 0;if(E>=V)return-1;if(f>=y)return 1;if(this===h)return 0;for(var H=(V>>>=0)-(E>>>=0),Ge=(y>>>=0)-(f>>>=0),ft=Math.min(H,Ge),rt=this.slice(E,V),bn=h.slice(f,y),Bt=0;Bt>>=0,isFinite(y)?(y>>>=0,void 0===E&&(E="utf8")):(E=y,y=void 0)}var V=this.length-f;if((void 0===y||y>V)&&(y=V),h.length>0&&(y<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");E||(E="utf8");for(var H=!1;;)switch(E){case"hex":return Sn(this,h,f,y);case"utf8":case"utf-8":return li(this,h,f,y);case"ascii":case"latin1":case"binary":return Jn(this,h,f,y);case"base64":return ji(this,h,f,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ir(this,h,f,y);default:if(H)throw new TypeError("Unknown encoding: "+E);E=(""+E).toLowerCase(),H=!0}},M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},M.prototype.slice=function(h,f){var y=this.length;(h=~~h)<0?(h+=y)<0&&(h=0):h>y&&(h=y),(f=void 0===f?y:~~f)<0?(f+=y)<0&&(f=0):f>y&&(f=y),f>>=0,f>>>=0,y||$t(h,f,this.length);for(var E=this[h],V=1,H=0;++H>>=0,f>>>=0,y||$t(h,f,this.length);for(var E=this[h+--f],V=1;f>0&&(V*=256);)E+=this[h+--f]*V;return E},M.prototype.readUint8=M.prototype.readUInt8=function(h,f){return h>>>=0,f||$t(h,1,this.length),this[h]},M.prototype.readUint16LE=M.prototype.readUInt16LE=function(h,f){return h>>>=0,f||$t(h,2,this.length),this[h]|this[h+1]<<8},M.prototype.readUint16BE=M.prototype.readUInt16BE=function(h,f){return h>>>=0,f||$t(h,2,this.length),this[h]<<8|this[h+1]},M.prototype.readUint32LE=M.prototype.readUInt32LE=function(h,f){return h>>>=0,f||$t(h,4,this.length),(this[h]|this[h+1]<<8|this[h+2]<<16)+16777216*this[h+3]},M.prototype.readUint32BE=M.prototype.readUInt32BE=function(h,f){return h>>>=0,f||$t(h,4,this.length),16777216*this[h]+(this[h+1]<<16|this[h+2]<<8|this[h+3])},M.prototype.readIntLE=function(h,f,y){h>>>=0,f>>>=0,y||$t(h,f,this.length);for(var E=this[h],V=1,H=0;++H=(V*=128)&&(E-=Math.pow(2,8*f)),E},M.prototype.readIntBE=function(h,f,y){h>>>=0,f>>>=0,y||$t(h,f,this.length);for(var E=f,V=1,H=this[h+--E];E>0&&(V*=256);)H+=this[h+--E]*V;return H>=(V*=128)&&(H-=Math.pow(2,8*f)),H},M.prototype.readInt8=function(h,f){return h>>>=0,f||$t(h,1,this.length),128&this[h]?-1*(255-this[h]+1):this[h]},M.prototype.readInt16LE=function(h,f){h>>>=0,f||$t(h,2,this.length);var y=this[h]|this[h+1]<<8;return 32768&y?4294901760|y:y},M.prototype.readInt16BE=function(h,f){h>>>=0,f||$t(h,2,this.length);var y=this[h+1]|this[h]<<8;return 32768&y?4294901760|y:y},M.prototype.readInt32LE=function(h,f){return h>>>=0,f||$t(h,4,this.length),this[h]|this[h+1]<<8|this[h+2]<<16|this[h+3]<<24},M.prototype.readInt32BE=function(h,f){return h>>>=0,f||$t(h,4,this.length),this[h]<<24|this[h+1]<<16|this[h+2]<<8|this[h+3]},M.prototype.readFloatLE=function(h,f){return h>>>=0,f||$t(h,4,this.length),ve.read(this,h,!0,23,4)},M.prototype.readFloatBE=function(h,f){return h>>>=0,f||$t(h,4,this.length),ve.read(this,h,!1,23,4)},M.prototype.readDoubleLE=function(h,f){return h>>>=0,f||$t(h,8,this.length),ve.read(this,h,!0,52,8)},M.prototype.readDoubleBE=function(h,f){return h>>>=0,f||$t(h,8,this.length),ve.read(this,h,!1,52,8)},M.prototype.writeUintLE=M.prototype.writeUIntLE=function(h,f,y,E){h=+h,f>>>=0,y>>>=0,E||q(this,h,f,y,Math.pow(2,8*y)-1,0);var H=1,Ge=0;for(this[f]=255&h;++Ge>>=0,y>>>=0,E||q(this,h,f,y,Math.pow(2,8*y)-1,0);var H=y-1,Ge=1;for(this[f+H]=255&h;--H>=0&&(Ge*=256);)this[f+H]=h/Ge&255;return f+y},M.prototype.writeUint8=M.prototype.writeUInt8=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,1,255,0),this[f]=255&h,f+1},M.prototype.writeUint16LE=M.prototype.writeUInt16LE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,2,65535,0),this[f]=255&h,this[f+1]=h>>>8,f+2},M.prototype.writeUint16BE=M.prototype.writeUInt16BE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,2,65535,0),this[f]=h>>>8,this[f+1]=255&h,f+2},M.prototype.writeUint32LE=M.prototype.writeUInt32LE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,4,4294967295,0),this[f+3]=h>>>24,this[f+2]=h>>>16,this[f+1]=h>>>8,this[f]=255&h,f+4},M.prototype.writeUint32BE=M.prototype.writeUInt32BE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,4,4294967295,0),this[f]=h>>>24,this[f+1]=h>>>16,this[f+2]=h>>>8,this[f+3]=255&h,f+4},M.prototype.writeIntLE=function(h,f,y,E){if(h=+h,f>>>=0,!E){var V=Math.pow(2,8*y-1);q(this,h,f,y,V-1,-V)}var H=0,Ge=1,ft=0;for(this[f]=255&h;++H>0)-ft&255;return f+y},M.prototype.writeIntBE=function(h,f,y,E){if(h=+h,f>>>=0,!E){var V=Math.pow(2,8*y-1);q(this,h,f,y,V-1,-V)}var H=y-1,Ge=1,ft=0;for(this[f+H]=255&h;--H>=0&&(Ge*=256);)h<0&&0===ft&&0!==this[f+H+1]&&(ft=1),this[f+H]=(h/Ge>>0)-ft&255;return f+y},M.prototype.writeInt8=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,1,127,-128),h<0&&(h=255+h+1),this[f]=255&h,f+1},M.prototype.writeInt16LE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,2,32767,-32768),this[f]=255&h,this[f+1]=h>>>8,f+2},M.prototype.writeInt16BE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,2,32767,-32768),this[f]=h>>>8,this[f+1]=255&h,f+2},M.prototype.writeInt32LE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,4,2147483647,-2147483648),this[f]=255&h,this[f+1]=h>>>8,this[f+2]=h>>>16,this[f+3]=h>>>24,f+4},M.prototype.writeInt32BE=function(h,f,y){return h=+h,f>>>=0,y||q(this,h,f,4,2147483647,-2147483648),h<0&&(h=4294967295+h+1),this[f]=h>>>24,this[f+1]=h>>>16,this[f+2]=h>>>8,this[f+3]=255&h,f+4},M.prototype.writeFloatLE=function(h,f,y){return hs(this,h,f,!0,y)},M.prototype.writeFloatBE=function(h,f,y){return hs(this,h,f,!1,y)},M.prototype.writeDoubleLE=function(h,f,y){return Mt(this,h,f,!0,y)},M.prototype.writeDoubleBE=function(h,f,y){return Mt(this,h,f,!1,y)},M.prototype.copy=function(h,f,y,E){if(!M.isBuffer(h))throw new TypeError("argument should be a Buffer");if(y||(y=0),!E&&0!==E&&(E=this.length),f>=h.length&&(f=h.length),f||(f=0),E>0&&E=this.length)throw new RangeError("Index out of range");if(E<0)throw new RangeError("sourceEnd out of bounds");E>this.length&&(E=this.length),h.length-f>>=0,y=void 0===y?this.length:y>>>0,h||(h=0),"number"==typeof h)for(H=f;H55295&&f<57344){if(!E){if(f>56319){(h-=3)>-1&&V.push(239,191,189);continue}if(H+1===y){(h-=3)>-1&&V.push(239,191,189);continue}E=f;continue}if(f<56320){(h-=3)>-1&&V.push(239,191,189),E=f;continue}f=65536+(E-55296<<10|f-56320)}else E&&(h-=3)>-1&&V.push(239,191,189);if(E=null,f<128){if((h-=1)<0)break;V.push(f)}else if(f<2048){if((h-=2)<0)break;V.push(f>>6|192,63&f|128)}else if(f<65536){if((h-=3)<0)break;V.push(f>>12|224,f>>6&63|128,63&f|128)}else{if(!(f<1114112))throw new Error("Invalid code point");if((h-=4)<0)break;V.push(f>>18|240,f>>12&63|128,f>>6&63|128,63&f|128)}}return V}function Di(_){return N.toByteArray(function il(_){if((_=(_=_.split("=")[0]).trim().replace(bt,"")).length<2)return"";for(;_.length%4!=0;)_+="=";return _}(_))}function Gs(_,h,f,y){for(var E=0;E=h.length||E>=_.length);++E)h[E+f]=_[E];return E}function ci(_,h){return _ instanceof h||null!=_&&null!=_.constructor&&null!=_.constructor.name&&_.constructor.name===h.name}function Vo(_){return _!=_}var rl=function(){for(var _="0123456789abcdef",h=new Array(256),f=0;f<16;++f)for(var y=16*f,E=0;E<16;++E)h[y+E]=_[f]+_[E];return h}()},461:(yt,_t)=>{_t.read=function(ee,N,ve,ke,he){var W,G,M=8*he-ke-1,Ve=(1<>1,ye=-7,ie=ve?he-1:0,Oe=ve?-1:1,P=ee[N+ie];for(ie+=Oe,W=P&(1<<-ye)-1,P>>=-ye,ye+=M;ye>0;W=256*W+ee[N+ie],ie+=Oe,ye-=8);for(G=W&(1<<-ye)-1,W>>=-ye,ye+=ke;ye>0;G=256*G+ee[N+ie],ie+=Oe,ye-=8);if(0===W)W=1-et;else{if(W===Ve)return G?NaN:1/0*(P?-1:1);G+=Math.pow(2,ke),W-=et}return(P?-1:1)*G*Math.pow(2,W-ke)},_t.write=function(ee,N,ve,ke,he,W){var G,M,Ve,et=8*W-he-1,ye=(1<>1,Oe=23===he?Math.pow(2,-24)-Math.pow(2,-77):0,P=ke?0:W-1,ae=ke?1:-1,ne=N<0||0===N&&1/N<0?1:0;for(N=Math.abs(N),isNaN(N)||N===1/0?(M=isNaN(N)?1:0,G=ye):(G=Math.floor(Math.log(N)/Math.LN2),N*(Ve=Math.pow(2,-G))<1&&(G--,Ve*=2),(N+=G+ie>=1?Oe/Ve:Oe*Math.pow(2,1-ie))*Ve>=2&&(G++,Ve/=2),G+ie>=ye?(M=0,G=ye):G+ie>=1?(M=(N*Ve-1)*Math.pow(2,he),G+=ie):(M=N*Math.pow(2,ie-1)*Math.pow(2,he),G=0));he>=8;ee[ve+P]=255&M,P+=ae,M/=256,he-=8);for(G=G<0;ee[ve+P]=255&G,P+=ae,G/=256,et-=8);ee[ve+P-ae]|=128*ne}},894:yt=>{yt.exports="function"==typeof Object.create?function(ee,N){N&&(ee.super_=N,ee.prototype=Object.create(N.prototype,{constructor:{value:ee,enumerable:!1,writable:!0,configurable:!0}}))}:function(ee,N){if(N){ee.super_=N;var ve=function(){};ve.prototype=N.prototype,ee.prototype=new ve,ee.prototype.constructor=ee}}},502:(yt,_t,ee)=>{var N=ee(172),ve=N.Buffer;function ke(W,G){for(var M in W)G[M]=W[M]}function he(W,G,M){return ve(W,G,M)}ve.from&&ve.alloc&&ve.allocUnsafe&&ve.allocUnsafeSlow?yt.exports=N:(ke(N,_t),_t.Buffer=he),ke(ve,he),he.from=function(W,G,M){if("number"==typeof W)throw new TypeError("Argument must not be a number");return ve(W,G,M)},he.alloc=function(W,G,M){if("number"!=typeof W)throw new TypeError("Argument must be a number");var Ve=ve(W);return void 0!==G?"string"==typeof M?Ve.fill(G,M):Ve.fill(G):Ve.fill(0),Ve},he.allocUnsafe=function(W){if("number"!=typeof W)throw new TypeError("Argument must be a number");return ve(W)},he.allocUnsafeSlow=function(W){if("number"!=typeof W)throw new TypeError("Argument must be a number");return N.SlowBuffer(W)}},692:(yt,_t,ee)=>{var N=ee(502).Buffer;function ve(ke,he){this._block=N.alloc(ke),this._finalSize=he,this._blockSize=ke,this._len=0}ve.prototype.update=function(ke,he){"string"==typeof ke&&(ke=N.from(ke,he=he||"utf8"));for(var W=this._block,G=this._blockSize,M=ke.length,Ve=this._len,et=0;et=this._finalSize&&(this._update(this._block),this._block.fill(0));var W=8*this._len;if(W<=4294967295)this._block.writeUInt32BE(W,this._blockSize-4);else{var G=(4294967295&W)>>>0;this._block.writeUInt32BE((W-G)/4294967296,this._blockSize-8),this._block.writeUInt32BE(G,this._blockSize-4)}this._update(this._block);var Ve=this._hash();return ke?Ve.toString(ke):Ve},ve.prototype._update=function(){throw new Error("_update must be implemented by subclass")},yt.exports=ve},244:(yt,_t,ee)=>{var N=yt.exports=function(ke){ke=ke.toLowerCase();var he=N[ke];if(!he)throw new Error(ke+" is not supported (we accept pull requests)");return new he};N.sha=ee(932),N.sha1=ee(736),N.sha224=ee(44),N.sha256=ee(14),N.sha384=ee(540),N.sha512=ee(117)},932:(yt,_t,ee)=>{var N=ee(894),ve=ee(692),ke=ee(502).Buffer,he=[1518500249,1859775393,-1894007588,-899497514],W=new Array(80);function G(){this.init(),this._w=W,ve.call(this,64,56)}function M(ye){return ye<<5|ye>>>27}function Ve(ye){return ye<<30|ye>>>2}function et(ye,ie,Oe,P){return 0===ye?ie&Oe|~ie&P:2===ye?ie&Oe|ie&P|Oe&P:ie^Oe^P}N(G,ve),G.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},G.prototype._update=function(ye){for(var ie=this._w,Oe=0|this._a,P=0|this._b,ae=0|this._c,ne=0|this._d,K=0|this._e,U=0;U<16;++U)ie[U]=ye.readInt32BE(4*U);for(;U<80;++U)ie[U]=ie[U-3]^ie[U-8]^ie[U-14]^ie[U-16];for(var fe=0;fe<80;++fe){var Qe=~~(fe/20),pt=M(Oe)+et(Qe,P,ae,ne)+K+ie[fe]+he[Qe]|0;K=ne,ne=ae,ae=Ve(P),P=Oe,Oe=pt}this._a=Oe+this._a|0,this._b=P+this._b|0,this._c=ae+this._c|0,this._d=ne+this._d|0,this._e=K+this._e|0},G.prototype._hash=function(){var ye=ke.allocUnsafe(20);return ye.writeInt32BE(0|this._a,0),ye.writeInt32BE(0|this._b,4),ye.writeInt32BE(0|this._c,8),ye.writeInt32BE(0|this._d,12),ye.writeInt32BE(0|this._e,16),ye},yt.exports=G},736:(yt,_t,ee)=>{var N=ee(894),ve=ee(692),ke=ee(502).Buffer,he=[1518500249,1859775393,-1894007588,-899497514],W=new Array(80);function G(){this.init(),this._w=W,ve.call(this,64,56)}function M(ie){return ie<<1|ie>>>31}function Ve(ie){return ie<<5|ie>>>27}function et(ie){return ie<<30|ie>>>2}function ye(ie,Oe,P,ae){return 0===ie?Oe&P|~Oe&ae:2===ie?Oe&P|Oe&ae|P&ae:Oe^P^ae}N(G,ve),G.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},G.prototype._update=function(ie){for(var Oe=this._w,P=0|this._a,ae=0|this._b,ne=0|this._c,K=0|this._d,U=0|this._e,fe=0;fe<16;++fe)Oe[fe]=ie.readInt32BE(4*fe);for(;fe<80;++fe)Oe[fe]=M(Oe[fe-3]^Oe[fe-8]^Oe[fe-14]^Oe[fe-16]);for(var Qe=0;Qe<80;++Qe){var pt=~~(Qe/20),ct=Ve(P)+ye(pt,ae,ne,K)+U+Oe[Qe]+he[pt]|0;U=K,K=ne,ne=et(ae),ae=P,P=ct}this._a=P+this._a|0,this._b=ae+this._b|0,this._c=ne+this._c|0,this._d=K+this._d|0,this._e=U+this._e|0},G.prototype._hash=function(){var ie=ke.allocUnsafe(20);return ie.writeInt32BE(0|this._a,0),ie.writeInt32BE(0|this._b,4),ie.writeInt32BE(0|this._c,8),ie.writeInt32BE(0|this._d,12),ie.writeInt32BE(0|this._e,16),ie},yt.exports=G},44:(yt,_t,ee)=>{var N=ee(894),ve=ee(14),ke=ee(692),he=ee(502).Buffer,W=new Array(64);function G(){this.init(),this._w=W,ke.call(this,64,56)}N(G,ve),G.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},G.prototype._hash=function(){var M=he.allocUnsafe(28);return M.writeInt32BE(this._a,0),M.writeInt32BE(this._b,4),M.writeInt32BE(this._c,8),M.writeInt32BE(this._d,12),M.writeInt32BE(this._e,16),M.writeInt32BE(this._f,20),M.writeInt32BE(this._g,24),M},yt.exports=G},14:(yt,_t,ee)=>{var N=ee(894),ve=ee(692),ke=ee(502).Buffer,he=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W=new Array(64);function G(){this.init(),this._w=W,ve.call(this,64,56)}function M(P,ae,ne){return ne^P&(ae^ne)}function Ve(P,ae,ne){return P&ae|ne&(P|ae)}function et(P){return(P>>>2|P<<30)^(P>>>13|P<<19)^(P>>>22|P<<10)}function ye(P){return(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7)}function ie(P){return(P>>>7|P<<25)^(P>>>18|P<<14)^P>>>3}function Oe(P){return(P>>>17|P<<15)^(P>>>19|P<<13)^P>>>10}N(G,ve),G.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},G.prototype._update=function(P){for(var ae=this._w,ne=0|this._a,K=0|this._b,U=0|this._c,fe=0|this._d,Qe=0|this._e,pt=0|this._f,ct=0|this._g,En=0|this._h,Zt=0;Zt<16;++Zt)ae[Zt]=P.readInt32BE(4*Zt);for(;Zt<64;++Zt)ae[Zt]=Oe(ae[Zt-2])+ae[Zt-7]+ie(ae[Zt-15])+ae[Zt-16]|0;for(var Sn=0;Sn<64;++Sn){var li=En+ye(Qe)+M(Qe,pt,ct)+he[Sn]+ae[Sn]|0,Jn=et(ne)+Ve(ne,K,U)|0;En=ct,ct=pt,pt=Qe,Qe=fe+li|0,fe=U,U=K,K=ne,ne=li+Jn|0}this._a=ne+this._a|0,this._b=K+this._b|0,this._c=U+this._c|0,this._d=fe+this._d|0,this._e=Qe+this._e|0,this._f=pt+this._f|0,this._g=ct+this._g|0,this._h=En+this._h|0},G.prototype._hash=function(){var P=ke.allocUnsafe(32);return P.writeInt32BE(this._a,0),P.writeInt32BE(this._b,4),P.writeInt32BE(this._c,8),P.writeInt32BE(this._d,12),P.writeInt32BE(this._e,16),P.writeInt32BE(this._f,20),P.writeInt32BE(this._g,24),P.writeInt32BE(this._h,28),P},yt.exports=G},540:(yt,_t,ee)=>{var N=ee(894),ve=ee(117),ke=ee(692),he=ee(502).Buffer,W=new Array(160);function G(){this.init(),this._w=W,ke.call(this,128,112)}N(G,ve),G.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},G.prototype._hash=function(){var M=he.allocUnsafe(48);function Ve(et,ye,ie){M.writeInt32BE(et,ie),M.writeInt32BE(ye,ie+4)}return Ve(this._ah,this._al,0),Ve(this._bh,this._bl,8),Ve(this._ch,this._cl,16),Ve(this._dh,this._dl,24),Ve(this._eh,this._el,32),Ve(this._fh,this._fl,40),M},yt.exports=G},117:(yt,_t,ee)=>{var N=ee(894),ve=ee(692),ke=ee(502).Buffer,he=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],W=new Array(160);function G(){this.init(),this._w=W,ve.call(this,128,112)}function M(K,U,fe){return fe^K&(U^fe)}function Ve(K,U,fe){return K&U|fe&(K|U)}function et(K,U){return(K>>>28|U<<4)^(U>>>2|K<<30)^(U>>>7|K<<25)}function ye(K,U){return(K>>>14|U<<18)^(K>>>18|U<<14)^(U>>>9|K<<23)}function ie(K,U){return(K>>>1|U<<31)^(K>>>8|U<<24)^K>>>7}function Oe(K,U){return(K>>>1|U<<31)^(K>>>8|U<<24)^(K>>>7|U<<25)}function P(K,U){return(K>>>19|U<<13)^(U>>>29|K<<3)^K>>>6}function ae(K,U){return(K>>>19|U<<13)^(U>>>29|K<<3)^(K>>>6|U<<26)}function ne(K,U){return K>>>0>>0?1:0}N(G,ve),G.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},G.prototype._update=function(K){for(var U=this._w,fe=0|this._ah,Qe=0|this._bh,pt=0|this._ch,ct=0|this._dh,En=0|this._eh,Zt=0|this._fh,Sn=0|this._gh,li=0|this._hh,Jn=0|this._al,ji=0|this._bl,Ir=0|this._cl,zi=0|this._dl,nn=0|this._el,Rr=0|this._fl,cr=0|this._gl,Ye=0|this._hl,Nt=0;Nt<32;Nt+=2)U[Nt]=K.readInt32BE(4*Nt),U[Nt+1]=K.readInt32BE(4*Nt+4);for(;Nt<160;Nt+=2){var Fr=U[Nt-30],Or=U[Nt-30+1],$t=ie(Fr,Or),q=Oe(Or,Fr),Us=P(Fr=U[Nt-4],Or=U[Nt-4+1]),hs=ae(Or,Fr),il=U[Nt-32],Le=U[Nt-32+1],An=q+U[Nt-14+1]|0,dr=$t+U[Nt-14]+ne(An,q)|0;dr=(dr=dr+Us+ne(An=An+hs|0,hs)|0)+il+ne(An=An+Le|0,Le)|0,U[Nt]=dr,U[Nt+1]=An}for(var Di=0;Di<160;Di+=2){dr=U[Di],An=U[Di+1];var Gs=Ve(fe,Qe,pt),ci=Ve(Jn,ji,Ir),Vo=et(fe,Jn),rl=et(Jn,fe),_=ye(En,nn),h=ye(nn,En),f=he[Di],y=he[Di+1],E=M(En,Zt,Sn),V=M(nn,Rr,cr),H=Ye+h|0,Ge=li+_+ne(H,Ye)|0;Ge=(Ge=(Ge=Ge+E+ne(H=H+V|0,V)|0)+f+ne(H=H+y|0,y)|0)+dr+ne(H=H+An|0,An)|0;var ft=rl+ci|0,rt=Vo+Gs+ne(ft,rl)|0;li=Sn,Ye=cr,Sn=Zt,cr=Rr,Zt=En,Rr=nn,En=ct+Ge+ne(nn=zi+H|0,zi)|0,ct=pt,zi=Ir,pt=Qe,Ir=ji,Qe=fe,ji=Jn,fe=Ge+rt+ne(Jn=H+ft|0,H)|0}this._al=this._al+Jn|0,this._bl=this._bl+ji|0,this._cl=this._cl+Ir|0,this._dl=this._dl+zi|0,this._el=this._el+nn|0,this._fl=this._fl+Rr|0,this._gl=this._gl+cr|0,this._hl=this._hl+Ye|0,this._ah=this._ah+fe+ne(this._al,Jn)|0,this._bh=this._bh+Qe+ne(this._bl,ji)|0,this._ch=this._ch+pt+ne(this._cl,Ir)|0,this._dh=this._dh+ct+ne(this._dl,zi)|0,this._eh=this._eh+En+ne(this._el,nn)|0,this._fh=this._fh+Zt+ne(this._fl,Rr)|0,this._gh=this._gh+Sn+ne(this._gl,cr)|0,this._hh=this._hh+li+ne(this._hl,Ye)|0},G.prototype._hash=function(){var K=ke.allocUnsafe(64);function U(fe,Qe,pt){K.writeInt32BE(fe,pt),K.writeInt32BE(Qe,pt+4)}return U(this._ah,this._al,0),U(this._bh,this._bl,8),U(this._ch,this._cl,16),U(this._dh,this._dl,24),U(this._eh,this._el,32),U(this._fh,this._fl,40),U(this._gh,this._gl,48),U(this._hh,this._hl,56),K},yt.exports=G}},yt=>{yt(yt.s=793)}]); \ No newline at end of file diff --git a/prod/app-configurateur/material-icons-outlined.78a93b2079680a08.woff b/prod/app-configurateur/material-icons-outlined.78a93b2079680a08.woff new file mode 100644 index 0000000..edeb9df Binary files /dev/null and b/prod/app-configurateur/material-icons-outlined.78a93b2079680a08.woff differ diff --git a/prod/app-configurateur/material-icons-outlined.f86cb7b0aa53f0fe.woff2 b/prod/app-configurateur/material-icons-outlined.f86cb7b0aa53f0fe.woff2 new file mode 100644 index 0000000..d44b948 Binary files /dev/null and b/prod/app-configurateur/material-icons-outlined.f86cb7b0aa53f0fe.woff2 differ diff --git a/prod/app-configurateur/material-icons-round.92dc7ca2f4c591e7.woff b/prod/app-configurateur/material-icons-round.92dc7ca2f4c591e7.woff new file mode 100644 index 0000000..bc0002b Binary files /dev/null and b/prod/app-configurateur/material-icons-round.92dc7ca2f4c591e7.woff differ diff --git a/prod/app-configurateur/material-icons-round.b10ec9db5b7fbc74.woff2 b/prod/app-configurateur/material-icons-round.b10ec9db5b7fbc74.woff2 new file mode 100644 index 0000000..e9e305f Binary files /dev/null and b/prod/app-configurateur/material-icons-round.b10ec9db5b7fbc74.woff2 differ diff --git a/prod/app-configurateur/material-icons-sharp.3885863ee4746422.woff2 b/prod/app-configurateur/material-icons-sharp.3885863ee4746422.woff2 new file mode 100644 index 0000000..4062685 Binary files /dev/null and b/prod/app-configurateur/material-icons-sharp.3885863ee4746422.woff2 differ diff --git a/prod/app-configurateur/material-icons-sharp.a71cb2bf66c604de.woff b/prod/app-configurateur/material-icons-sharp.a71cb2bf66c604de.woff new file mode 100644 index 0000000..80d8c99 Binary files /dev/null and b/prod/app-configurateur/material-icons-sharp.a71cb2bf66c604de.woff differ diff --git a/prod/app-configurateur/material-icons-two-tone.588d63134de807a7.woff b/prod/app-configurateur/material-icons-two-tone.588d63134de807a7.woff new file mode 100644 index 0000000..ddf106c Binary files /dev/null and b/prod/app-configurateur/material-icons-two-tone.588d63134de807a7.woff differ diff --git a/prod/app-configurateur/material-icons-two-tone.675bd578bd14533e.woff2 b/prod/app-configurateur/material-icons-two-tone.675bd578bd14533e.woff2 new file mode 100644 index 0000000..8f79990 Binary files /dev/null and b/prod/app-configurateur/material-icons-two-tone.675bd578bd14533e.woff2 differ diff --git a/prod/app-configurateur/material-icons.4ad034d2c499d9b6.woff b/prod/app-configurateur/material-icons.4ad034d2c499d9b6.woff new file mode 100644 index 0000000..88fdf4d Binary files /dev/null and b/prod/app-configurateur/material-icons.4ad034d2c499d9b6.woff differ diff --git a/prod/app-configurateur/material-icons.59322316b3fd6063.woff2 b/prod/app-configurateur/material-icons.59322316b3fd6063.woff2 new file mode 100644 index 0000000..5492a6e Binary files /dev/null and b/prod/app-configurateur/material-icons.59322316b3fd6063.woff2 differ diff --git a/prod/app-configurateur/polyfills.a75a17ebd1634711.js b/prod/app-configurateur/polyfills.a75a17ebd1634711.js new file mode 100644 index 0000000..3f67f92 --- /dev/null +++ b/prod/app-configurateur/polyfills.a75a17ebd1634711.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkKine_frontend=self.webpackChunkKine_frontend||[]).push([[429],{435:(ie,Ee,de)=>{de(583)},583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;EU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe="undefined"!=typeof window,Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch(e){}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch(u){}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch(T){return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;Tfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch(N){}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=435)}]); \ No newline at end of file diff --git a/prod/app-configurateur/runtime.f7ad02de45306a03.js b/prod/app-configurateur/runtime.f7ad02de45306a03.js new file mode 100644 index 0000000..7844d13 --- /dev/null +++ b/prod/app-configurateur/runtime.f7ad02de45306a03.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,_={},d={};function a(e){var n=d[e];if(void 0!==n)return n.exports;var r=d[e]={exports:{}};return _[e](r,r.exports,a),r.exports}a.m=_,e=[],a.O=(n,r,u,t)=>{if(!r){var c=1/0;for(f=0;f=t)&&Object.keys(a.O).every(h=>a.O[h](r[l]))?r.splice(l--,1):(s=!1,t0&&e[f-1][2]>t;f--)e[f]=e[f-1];e[f]=[r,u,t]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={666:0};a.O.j=u=>0===e[u];var n=(u,t)=>{var l,o,[f,c,s]=t,v=0;if(f.some(b=>0!==e[b])){for(l in c)a.o(c,l)&&(a.m[l]=c[l]);if(s)var i=s(a)}for(u&&u(t);v0&&t-1 in e)}r.fn=r.prototype={jquery:"3.6.1",constructor:r,length:0,toArray:function(){return ve.call(this)},get:function(e){return null==e?ve.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=r.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return r.each(this,e)},map:function(e){return this.pushStack(r.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ve.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(r.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+_+")"+_+"*"),Bi=new RegExp(_+"|>"),$i=new RegExp(Ot),zi=new RegExp("^"+Ae+"$"),lt={ID:new RegExp("^#("+Ae+")"),CLASS:new RegExp("^\\.("+Ae+")"),TAG:new RegExp("^("+Ae+"|[*])"),ATTR:new RegExp("^"+Hn),PSEUDO:new RegExp("^"+Ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),bool:new RegExp("^(?:"+Ht+")$","i"),needsContext:new RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},Ui=/HTML$/i,Vi=/^(?:input|select|textarea|button)$/i,Xi=/^h\d$/i,Qe=/^[^{]+\{\s*\[native \w/,Gi=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Pt=/[+~]/,ge=new RegExp("\\\\[\\da-fA-F]{1,6}"+_+"?|\\\\([^\\r\\n\\f])","g"),ye=function(s,l){var d="0x"+s.slice(1)-65536;return l||(d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320))},Pn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,In=function(s,l){return l?"\0"===s?"\ufffd":s.slice(0,-1)+"\\"+s.charCodeAt(s.length-1).toString(16)+" ":"\\"+s},Mn=function(){g()},Qi=pt(function(s){return!0===s.disabled&&"fieldset"===s.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{me.apply(Z=Ln.call(q.childNodes),q.childNodes)}catch(s){me={apply:Z.length?function(l,d){ae.apply(l,Ln.call(d))}:function(l,d){for(var b=l.length,p=0;l[b++]=d[p++];);l.length=b-1}}}function W(s,l,d,b){var p,m,T,C,w,D,E,j=l&&l.ownerDocument,P=l?l.nodeType:9;if(d=d||[],"string"!=typeof s||!s||1!==P&&9!==P&&11!==P)return d;if(!b&&(g(l),l=l||v,L)){if(11!==P&&(w=Gi.exec(s)))if(p=w[1]){if(9===P){if(!(T=l.getElementById(p)))return d;if(T.id===p)return d.push(T),d}else if(j&&(T=j.getElementById(p))&&ee(l,T)&&T.id===p)return d.push(T),d}else{if(w[2])return me.apply(d,l.getElementsByTagName(s)),d;if((p=w[3])&&n.getElementsByClassName&&l.getElementsByClassName)return me.apply(d,l.getElementsByClassName(p)),d}if(n.qsa&&!te[s+" "]&&(!N||!N.test(s))&&(1!==P||"object"!==l.nodeName.toLowerCase())){if(E=s,j=l,1===P&&(Bi.test(s)||On.test(s))){for(((j=Pt.test(s)&&Mt(l.parentNode)||l)!==l||!n.scope)&&((C=l.getAttribute("id"))?C=C.replace(Pn,In):l.setAttribute("id",C=F)),m=(D=a(s)).length;m--;)D[m]=(C?"#"+C:":scope")+" "+dt(D[m]);E=D.join(",")}try{return me.apply(d,j.querySelectorAll(E)),d}catch(B){te(s,!0)}finally{C===F&&l.removeAttribute("id")}}}return f(s.replace(ft,"$1"),l,d,b)}function ct(){var s=[];return function l(d,b){return s.push(d+" ")>i.cacheLength&&delete l[s.shift()],l[d+" "]=b}}function fe(s){return s[F]=!0,s}function le(s){var l=v.createElement("fieldset");try{return!!s(l)}catch(d){return!1}finally{l.parentNode&&l.parentNode.removeChild(l),l=null}}function It(s,l){for(var d=s.split("|"),b=d.length;b--;)i.attrHandle[d[b]]=l}function Rn(s,l){var d=l&&s,b=d&&1===s.nodeType&&1===l.nodeType&&s.sourceIndex-l.sourceIndex;if(b)return b;if(d)for(;d=d.nextSibling;)if(d===l)return-1;return s?1:-1}function Yi(s){return function(l){return"input"===l.nodeName.toLowerCase()&&l.type===s}}function Ji(s){return function(l){var d=l.nodeName.toLowerCase();return("input"===d||"button"===d)&&l.type===s}}function _n(s){return function(l){return"form"in l?l.parentNode&&!1===l.disabled?"label"in l?"label"in l.parentNode?l.parentNode.disabled===s:l.disabled===s:l.isDisabled===s||l.isDisabled!==!s&&Qi(l)===s:l.disabled===s:"label"in l&&l.disabled===s}}function De(s){return fe(function(l){return l=+l,fe(function(d,b){for(var p,m=s([],d.length,l),T=m.length;T--;)d[p=m[T]]&&(d[p]=!(b[p]=d[p]))})})}function Mt(s){return s&&void 0!==s.getElementsByTagName&&s}for(t in n=W.support={},u=W.isXML=function(s){var d=s&&(s.ownerDocument||s).documentElement;return!Ui.test(s&&s.namespaceURI||d&&d.nodeName||"HTML")},g=W.setDocument=function(s){var l,d,b=s?s.ownerDocument||s:q;return b==v||9!==b.nodeType||!b.documentElement||(S=(v=b).documentElement,L=!u(v),q!=v&&(d=v.defaultView)&&d.top!==d&&(d.addEventListener?d.addEventListener("unload",Mn,!1):d.attachEvent&&d.attachEvent("onunload",Mn)),n.scope=le(function(p){return S.appendChild(p).appendChild(v.createElement("div")),void 0!==p.querySelectorAll&&!p.querySelectorAll(":scope fieldset div").length}),n.attributes=le(function(p){return p.className="i",!p.getAttribute("className")}),n.getElementsByTagName=le(function(p){return p.appendChild(v.createComment("")),!p.getElementsByTagName("*").length}),n.getElementsByClassName=Qe.test(v.getElementsByClassName),n.getById=le(function(p){return S.appendChild(p).id=F,!v.getElementsByName||!v.getElementsByName(F).length}),n.getById?(i.filter.ID=function(p){var m=p.replace(ge,ye);return function(T){return T.getAttribute("id")===m}},i.find.ID=function(p,m){if(void 0!==m.getElementById&&L){var T=m.getElementById(p);return T?[T]:[]}}):(i.filter.ID=function(p){var m=p.replace(ge,ye);return function(T){var C=void 0!==T.getAttributeNode&&T.getAttributeNode("id");return C&&C.value===m}},i.find.ID=function(p,m){if(void 0!==m.getElementById&&L){var T,C,w,D=m.getElementById(p);if(D){if((T=D.getAttributeNode("id"))&&T.value===p)return[D];for(w=m.getElementsByName(p),C=0;D=w[C++];)if((T=D.getAttributeNode("id"))&&T.value===p)return[D]}return[]}}),i.find.TAG=n.getElementsByTagName?function(p,m){return void 0!==m.getElementsByTagName?m.getElementsByTagName(p):n.qsa?m.querySelectorAll(p):void 0}:function(p,m){var T,C=[],w=0,D=m.getElementsByTagName(p);if("*"===p){for(;T=D[w++];)1===T.nodeType&&C.push(T);return C}return D},i.find.CLASS=n.getElementsByClassName&&function(p,m){if(void 0!==m.getElementsByClassName&&L)return m.getElementsByClassName(p)},V=[],N=[],(n.qsa=Qe.test(v.querySelectorAll))&&(le(function(p){var m;S.appendChild(p).innerHTML="",p.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+_+"*(?:''|\"\")"),p.querySelectorAll("[selected]").length||N.push("\\["+_+"*(?:value|"+Ht+")"),p.querySelectorAll("[id~="+F+"-]").length||N.push("~="),(m=v.createElement("input")).setAttribute("name",""),p.appendChild(m),p.querySelectorAll("[name='']").length||N.push("\\["+_+"*name"+_+"*="+_+"*(?:''|\"\")"),p.querySelectorAll(":checked").length||N.push(":checked"),p.querySelectorAll("a#"+F+"+*").length||N.push(".#.+[+~]"),p.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),le(function(p){p.innerHTML="";var m=v.createElement("input");m.setAttribute("type","hidden"),p.appendChild(m).setAttribute("name","D"),p.querySelectorAll("[name=d]").length&&N.push("name"+_+"*[*^$|!~]?="),2!==p.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),S.appendChild(p).disabled=!0,2!==p.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),p.querySelectorAll("*,:x"),N.push(",.*:")})),(n.matchesSelector=Qe.test(U=S.matches||S.webkitMatchesSelector||S.mozMatchesSelector||S.oMatchesSelector||S.msMatchesSelector))&&le(function(p){n.disconnectedMatch=U.call(p,"*"),U.call(p,"[s!='']:x"),V.push("!=",Ot)}),N=N.length&&new RegExp(N.join("|")),V=V.length&&new RegExp(V.join("|")),l=Qe.test(S.compareDocumentPosition),ee=l||Qe.test(S.contains)?function(p,m){var T=9===p.nodeType?p.documentElement:p,C=m&&m.parentNode;return p===C||!(!C||1!==C.nodeType||!(T.contains?T.contains(C):p.compareDocumentPosition&&16&p.compareDocumentPosition(C)))}:function(p,m){if(m)for(;m=m.parentNode;)if(m===p)return!0;return!1},Se=l?function(p,m){if(p===m)return x=!0,0;var T=!p.compareDocumentPosition-!m.compareDocumentPosition;return T||(1&(T=(p.ownerDocument||p)==(m.ownerDocument||m)?p.compareDocumentPosition(m):1)||!n.sortDetached&&m.compareDocumentPosition(p)===T?p==v||p.ownerDocument==q&&ee(q,p)?-1:m==v||m.ownerDocument==q&&ee(q,m)?1:y?Ee(y,p)-Ee(y,m):0:4&T?-1:1)}:function(p,m){if(p===m)return x=!0,0;var T,C=0,w=p.parentNode,D=m.parentNode,E=[p],j=[m];if(!w||!D)return p==v?-1:m==v?1:w?-1:D?1:y?Ee(y,p)-Ee(y,m):0;if(w===D)return Rn(p,m);for(T=p;T=T.parentNode;)E.unshift(T);for(T=m;T=T.parentNode;)j.unshift(T);for(;E[C]===j[C];)C++;return C?Rn(E[C],j[C]):E[C]==q?-1:j[C]==q?1:0}),v},W.matches=function(s,l){return W(s,null,null,l)},W.matchesSelector=function(s,l){if(g(s),n.matchesSelector&&L&&!te[l+" "]&&(!V||!V.test(l))&&(!N||!N.test(l)))try{var d=U.call(s,l);if(d||n.disconnectedMatch||s.document&&11!==s.document.nodeType)return d}catch(b){te(l,!0)}return W(l,v,null,[s]).length>0},W.contains=function(s,l){return(s.ownerDocument||s)!=v&&g(s),ee(s,l)},W.attr=function(s,l){(s.ownerDocument||s)!=v&&g(s);var d=i.attrHandle[l.toLowerCase()],b=d&&Ne.call(i.attrHandle,l.toLowerCase())?d(s,l,!L):void 0;return void 0!==b?b:n.attributes||!L?s.getAttribute(l):(b=s.getAttributeNode(l))&&b.specified?b.value:null},W.escape=function(s){return(s+"").replace(Pn,In)},W.error=function(s){throw new Error("Syntax error, unrecognized expression: "+s)},W.uniqueSort=function(s){var l,d=[],b=0,p=0;if(x=!n.detectDuplicates,y=!n.sortStable&&s.slice(0),s.sort(Se),x){for(;l=s[p++];)l===s[p]&&(b=d.push(p));for(;b--;)s.splice(d[b],1)}return y=null,s},o=W.getText=function(s){var l,d="",b=0,p=s.nodeType;if(p){if(1===p||9===p||11===p){if("string"==typeof s.textContent)return s.textContent;for(s=s.firstChild;s;s=s.nextSibling)d+=o(s)}else if(3===p||4===p)return s.nodeValue}else for(;l=s[b++];)d+=o(l);return d},(i=W.selectors={cacheLength:50,createPseudo:fe,match:lt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(s){return s[1]=s[1].replace(ge,ye),s[3]=(s[3]||s[4]||s[5]||"").replace(ge,ye),"~="===s[2]&&(s[3]=" "+s[3]+" "),s.slice(0,4)},CHILD:function(s){return s[1]=s[1].toLowerCase(),"nth"===s[1].slice(0,3)?(s[3]||W.error(s[0]),s[4]=+(s[4]?s[5]+(s[6]||1):2*("even"===s[3]||"odd"===s[3])),s[5]=+(s[7]+s[8]||"odd"===s[3])):s[3]&&W.error(s[0]),s},PSEUDO:function(s){var l,d=!s[6]&&s[2];return lt.CHILD.test(s[0])?null:(s[3]?s[2]=s[4]||s[5]||"":d&&$i.test(d)&&(l=a(d,!0))&&(l=d.indexOf(")",d.length-l)-d.length)&&(s[0]=s[0].slice(0,l),s[2]=d.slice(0,l)),s.slice(0,3))}},filter:{TAG:function(s){var l=s.replace(ge,ye).toLowerCase();return"*"===s?function(){return!0}:function(d){return d.nodeName&&d.nodeName.toLowerCase()===l}},CLASS:function(s){var l=z[s+" "];return l||(l=new RegExp("(^|"+_+")"+s+"("+_+"|$)"))&&z(s,function(d){return l.test("string"==typeof d.className&&d.className||void 0!==d.getAttribute&&d.getAttribute("class")||"")})},ATTR:function(s,l,d){return function(b){var p=W.attr(b,s);return null==p?"!="===l:!l||(p+="","="===l?p===d:"!="===l?p!==d:"^="===l?d&&0===p.indexOf(d):"*="===l?d&&p.indexOf(d)>-1:"$="===l?d&&p.slice(-d.length)===d:"~="===l?(" "+p.replace(Fi," ")+" ").indexOf(d)>-1:"|="===l&&(p===d||p.slice(0,d.length+1)===d+"-"))}},CHILD:function(s,l,d,b,p){var m="nth"!==s.slice(0,3),T="last"!==s.slice(-4),C="of-type"===l;return 1===b&&0===p?function(w){return!!w.parentNode}:function(w,D,E){var j,P,B,k,X,G,ne=m!==T?"nextSibling":"previousSibling",$=w.parentNode,Ye=C&&w.nodeName.toLowerCase(),Je=!E&&!C,ie=!1;if($){if(m){for(;ne;){for(k=w;k=k[ne];)if(C?k.nodeName.toLowerCase()===Ye:1===k.nodeType)return!1;G=ne="only"===s&&!G&&"nextSibling"}return!0}if(G=[T?$.firstChild:$.lastChild],T&&Je){for(ie=(X=(j=(P=(B=(k=$)[F]||(k[F]={}))[k.uniqueID]||(B[k.uniqueID]={}))[s]||[])[0]===K&&j[1])&&j[2],k=X&&$.childNodes[X];k=++X&&k&&k[ne]||(ie=X=0)||G.pop();)if(1===k.nodeType&&++ie&&k===w){P[s]=[K,X,ie];break}}else if(Je&&(ie=X=(j=(P=(B=(k=w)[F]||(k[F]={}))[k.uniqueID]||(B[k.uniqueID]={}))[s]||[])[0]===K&&j[1]),!1===ie)for(;(k=++X&&k&&k[ne]||(ie=X=0)||G.pop())&&((C?k.nodeName.toLowerCase()!==Ye:1!==k.nodeType)||!++ie||(Je&&((P=(B=k[F]||(k[F]={}))[k.uniqueID]||(B[k.uniqueID]={}))[s]=[K,ie]),k!==w)););return(ie-=p)===b||ie%b==0&&ie/b>=0}}},PSEUDO:function(s,l){var d,b=i.pseudos[s]||i.setFilters[s.toLowerCase()]||W.error("unsupported pseudo: "+s);return b[F]?b(l):b.length>1?(d=[s,s,"",l],i.setFilters.hasOwnProperty(s.toLowerCase())?fe(function(p,m){for(var T,C=b(p,l),w=C.length;w--;)p[T=Ee(p,C[w])]=!(m[T]=C[w])}):function(p){return b(p,0,d)}):b}},pseudos:{not:fe(function(s){var l=[],d=[],b=c(s.replace(ft,"$1"));return b[F]?fe(function(p,m,T,C){for(var w,D=b(p,null,C,[]),E=p.length;E--;)(w=D[E])&&(p[E]=!(m[E]=w))}):function(p,m,T){return l[0]=p,b(l,null,T,d),l[0]=null,!d.pop()}}),has:fe(function(s){return function(l){return W(s,l).length>0}}),contains:fe(function(s){return s=s.replace(ge,ye),function(l){return(l.textContent||o(l)).indexOf(s)>-1}}),lang:fe(function(s){return zi.test(s||"")||W.error("unsupported lang: "+s),s=s.replace(ge,ye).toLowerCase(),function(l){var d;do{if(d=L?l.lang:l.getAttribute("xml:lang")||l.getAttribute("lang"))return(d=d.toLowerCase())===s||0===d.indexOf(s+"-")}while((l=l.parentNode)&&1===l.nodeType);return!1}}),target:function(s){var l=e.location&&e.location.hash;return l&&l.slice(1)===s.id},root:function(s){return s===S},focus:function(s){return s===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(s.type||s.href||~s.tabIndex)},enabled:_n(!1),disabled:_n(!0),checked:function(s){var l=s.nodeName.toLowerCase();return"input"===l&&!!s.checked||"option"===l&&!!s.selected},selected:function(s){return!0===s.selected},empty:function(s){for(s=s.firstChild;s;s=s.nextSibling)if(s.nodeType<6)return!1;return!0},parent:function(s){return!i.pseudos.empty(s)},header:function(s){return Xi.test(s.nodeName)},input:function(s){return Vi.test(s.nodeName)},button:function(s){var l=s.nodeName.toLowerCase();return"input"===l&&"button"===s.type||"button"===l},text:function(s){var l;return"input"===s.nodeName.toLowerCase()&&"text"===s.type&&(null==(l=s.getAttribute("type"))||"text"===l.toLowerCase())},first:De(function(){return[0]}),last:De(function(s,l){return[l-1]}),eq:De(function(s,l,d){return[d<0?d+l:d]}),even:De(function(s,l){for(var d=0;dl?l:d;--b>=0;)s.push(b);return s}),gt:De(function(s,l,d){for(var b=d<0?d+l:d;++b1?function(l,d,b){for(var p=s.length;p--;)if(!s[p](l,d,b))return!1;return!0}:s[0]}function ht(s,l,d,b,p){for(var m,T=[],C=0,w=s.length,D=null!=l;C-1&&(T[E]=!(C[E]=P))}}else $=ht($===C?$.splice(X,$.length):$),p?p(null,C,$,D):me.apply(C,$)})}function Ft(s){for(var l,d,b,p=s.length,m=i.relative[s[0].type],T=m||i.relative[" "],C=m?1:0,w=pt(function(j){return j===l},T,!0),D=pt(function(j){return Ee(l,j)>-1},T,!0),E=[function(j,P,B){var k=!m&&(B||P!==h)||((l=P).nodeType?w(j,P,B):D(j,P,B));return l=null,k}];C1&&Rt(E),C>1&&dt(s.slice(0,C-1).concat({value:" "===s[C-2].type?"*":""})).replace(ft,"$1"),d,C0,b=s.length>0,p=function(m,T,C,w,D){var E,j,P,B=0,k="0",X=m&&[],G=[],ne=h,$=m||b&&i.find.TAG("*",D),Ye=K+=null==ne?1:Math.random()||.1,Je=$.length;for(D&&(h=T==v||T||D);k!==Je&&null!=(E=$[k]);k++){if(b&&E){for(j=0,!T&&E.ownerDocument!=v&&(g(E),C=!L);P=s[j++];)if(P(E,T||v,C)){w.push(E);break}D&&(K=Ye)}d&&((E=!P&&E)&&B--,m&&X.push(E))}if(B+=k,d&&k!==B){for(j=0;P=l[j++];)P(X,G,T,C);if(m){if(B>0)for(;k--;)X[k]||G[k]||(G[k]=be.call(w));G=ht(G)}me.apply(w,G),D&&!m&&G.length>0&&B+l.length>1&&W.uniqueSort(w)}return D&&(K=Ye,h=ne),X};return d?fe(p):p}(p,b)),m.selector=s}return m},f=W.select=function(s,l,d,b){var p,m,T,C,w,D="function"==typeof s&&s,E=!b&&a(s=D.selector||s);if(d=d||[],1===E.length){if((m=E[0]=E[0].slice(0)).length>2&&"ID"===(T=m[0]).type&&9===l.nodeType&&L&&i.relative[m[1].type]){if(!(l=(i.find.ID(T.matches[0].replace(ge,ye),l)||[])[0]))return d;D&&(l=l.parentNode),s=s.slice(m.shift().value.length)}for(p=lt.needsContext.test(s)?0:m.length;p--&&!i.relative[C=(T=m[p]).type];)if((w=i.find[C])&&(b=w(T.matches[0].replace(ge,ye),Pt.test(m[0].type)&&Mt(l.parentNode)||l))){if(m.splice(p,1),!(s=b.length&&dt(m)))return me.apply(d,b),d;break}}return(D||c(s,E))(b,l,!L,d,!l||Pt.test(s)&&Mt(l.parentNode)||l),d},n.sortStable=F.split("").sort(Se).join("")===F,n.detectDuplicates=!!x,g(),n.sortDetached=le(function(s){return 1&s.compareDocumentPosition(v.createElement("fieldset"))}),le(function(s){return s.innerHTML="","#"===s.firstChild.getAttribute("href")})||It("type|href|height|width",function(s,l,d){if(!d)return s.getAttribute(l,"type"===l.toLowerCase()?1:2)}),(!n.attributes||!le(function(s){return s.innerHTML="",s.firstChild.setAttribute("value",""),""===s.firstChild.getAttribute("value")}))&&It("value",function(s,l,d){if(!d&&"input"===s.nodeName.toLowerCase())return s.defaultValue}),le(function(s){return null==s.getAttribute("disabled")})||It(Ht,function(s,l,d){var b;if(!d)return!0===s[l]?l.toLowerCase():(b=s.getAttributeNode(l))&&b.specified?b.value:null}),W}(H);r.find=xe,r.expr=xe.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=xe.uniqueSort,r.text=xe.getText,r.isXMLDoc=xe.isXML,r.contains=xe.contains,r.escapeSelector=xe.escape;var qe=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&r(e).is(n))break;i.push(e)}return i},Xt=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Gt=r.expr.match.needsContext;function oe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Qt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function vt(e,t,n){return O(t)?r.grep(e,function(i,o){return!!t.call(i,o,i)!==n}):t.nodeType?r.grep(e,function(i){return i===t!==n}):"string"!=typeof t?r.grep(e,function(i){return Ke.call(t,i)>-1!==n}):r.filter(t,e,n)}r.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?r.find.matchesSelector(i,e)?[i]:[]:r.find.matches(e,r.grep(t,function(o){return 1===o.nodeType}))},r.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(r(e).filter(function(){for(t=0;t1?r.uniqueSort(n):n},filter:function(e){return this.pushStack(vt(this,e||[],!1))},not:function(e){return this.pushStack(vt(this,e||[],!0))},is:function(e){return!!vt(this,"string"==typeof e&&Gt.test(e)?r(e):e||[],!1).length}});var Yt,$n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,zn=r.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||Yt,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:$n.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(r.merge(this,r.parseHTML(i[1],(t=t instanceof r?t[0]:t)&&t.nodeType?t.ownerDocument||t:I,!0)),Qt.test(i[1])&&r.isPlainObject(t))for(i in t)O(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=I.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):O(e)?void 0!==n.ready?n.ready(e):e(r):r.makeArray(e,this)};zn.prototype=r.fn,Yt=r(I);var Un=/^(?:parents|prev(?:Until|All))/,Vn={children:!0,contents:!0,next:!0,prev:!0};function Jt(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}r.fn.extend({has:function(e){var t=r(e,this),n=t.length;return this.filter(function(){for(var i=0;i-1:1===n.nodeType&&r.find.matchesSelector(n,e))){u.push(n);break}return this.pushStack(u.length>1?r.uniqueSort(u):u)},index:function(e){return e?"string"==typeof e?Ke.call(r(e),this[0]):Ke.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),r.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return qe(e,"parentNode")},parentsUntil:function(e,t,n){return qe(e,"parentNode",n)},next:function(e){return Jt(e,"nextSibling")},prev:function(e){return Jt(e,"previousSibling")},nextAll:function(e){return qe(e,"nextSibling")},prevAll:function(e){return qe(e,"previousSibling")},nextUntil:function(e,t,n){return qe(e,"nextSibling",n)},prevUntil:function(e,t,n){return qe(e,"previousSibling",n)},siblings:function(e){return Xt((e.parentNode||{}).firstChild,e)},children:function(e){return Xt(e.firstChild)},contents:function(e){return null!=e.contentDocument&&Wt(e.contentDocument)?e.contentDocument:(oe(e,"template")&&(e=e.content||e),r.merge([],e.childNodes))}},function(e,t){r.fn[e]=function(n,i){var o=r.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=r.filter(i,o)),this.length>1&&(Vn[e]||r.uniqueSort(o),Un.test(e)&&o.reverse()),this.pushStack(o)}});var ce=/[^\x20\t\r\n\f]+/g;function Le(e){return e}function tt(e){throw e}function Kt(e,t,n,i){var o;try{e&&O(o=e.promise)?o.call(e).done(t).fail(n):e&&O(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(u){n.apply(void 0,[u])}}r.Callbacks=function(e){e="string"==typeof e?function Xn(e){var t={};return r.each(e.match(ce)||[],function(n,i){t[i]=!0}),t}(e):r.extend({},e);var t,n,i,o,u=[],a=[],c=-1,f=function(){for(o=o||e.once,i=t=!0;a.length;c=-1)for(n=a.shift();++c-1;)u.splice(g,1),g<=c&&c--}),this},has:function(y){return y?r.inArray(y,u)>-1:u.length>0},empty:function(){return u&&(u=[]),this},disable:function(){return o=a=[],u=n="",this},disabled:function(){return!u},lock:function(){return o=a=[],!n&&!t&&(u=n=""),this},locked:function(){return!!o},fireWith:function(y,x){return o||(x=[y,(x=x||[]).slice?x.slice():x],a.push(x),t||f()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h},r.extend({Deferred:function(e){var t=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(u){return i.then(null,u)},pipe:function(){var u=arguments;return r.Deferred(function(a){r.each(t,function(c,f){var h=O(u[f[4]])&&u[f[4]];o[f[1]](function(){var y=h&&h.apply(this,arguments);y&&O(y.promise)?y.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[f[0]+"With"](this,h?[y]:arguments)})}),u=null}).promise()},then:function(u,a,c){var f=0;function h(y,x,g,v){return function(){var S=this,L=arguments,N=function(){var U,ee;if(!(y=f&&(g!==tt&&(S=void 0,L=[U]),x.rejectWith(S,L))}};y?V():(r.Deferred.getStackHook&&(V.stackTrace=r.Deferred.getStackHook()),H.setTimeout(V))}}return r.Deferred(function(y){t[0][3].add(h(0,y,O(c)?c:Le,y.notifyWith)),t[1][3].add(h(0,y,O(u)?u:Le)),t[2][3].add(h(0,y,O(a)?a:tt))}).promise()},promise:function(u){return null!=u?r.extend(u,i):i}},o={};return r.each(t,function(u,a){var c=a[2],f=a[5];i[a[1]]=c.add,f&&c.add(function(){n=f},t[3-u][2].disable,t[3-u][3].disable,t[0][2].lock,t[0][3].lock),c.add(a[3].fire),o[a[0]]=function(){return o[a[0]+"With"](this===o?void 0:this,arguments),this},o[a[0]+"With"]=c.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),o=ve.call(arguments),u=r.Deferred(),a=function(c){return function(f){i[c]=this,o[c]=arguments.length>1?ve.call(arguments):f,--t||u.resolveWith(i,o)}};if(t<=1&&(Kt(e,u.done(a(n)).resolve,u.reject,!t),"pending"===u.state()||O(o[n]&&o[n].then)))return u.then();for(;n--;)Kt(o[n],a(n),u.reject);return u.promise()}});var Gn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(e,t){H.console&&H.console.warn&&e&&Gn.test(e.name)&&H.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},r.readyException=function(e){H.setTimeout(function(){throw e})};var bt=r.Deferred();function nt(){I.removeEventListener("DOMContentLoaded",nt),H.removeEventListener("load",nt),r.ready()}r.fn.ready=function(e){return bt.then(e).catch(function(t){r.readyException(t)}),this},r.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--r.readyWait:r.isReady)||(r.isReady=!0,!(!0!==e&&--r.readyWait>0)&&bt.resolveWith(I,[r]))}}),r.ready.then=bt.then,"complete"===I.readyState||"loading"!==I.readyState&&!I.documentElement.doScroll?H.setTimeout(r.ready):(I.addEventListener("DOMContentLoaded",nt),H.addEventListener("load",nt));var pe=function(e,t,n,i,o,u,a){var c=0,f=e.length,h=null==n;if("object"===je(n))for(c in o=!0,n)pe(e,t,c,n[c],!0,u,a);else if(void 0!==i&&(o=!0,O(i)||(a=!0),h&&(a?(t.call(e,i),t=null):(h=t,t=function(y,x,g){return h.call(r(y),g)})),t))for(;c1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),r.extend({queue:function(e,t,n){var i;if(e)return i=A.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=A.access(e,t,r.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){var n=r.queue(e,t=t||"fx"),i=n.length,o=n.shift(),u=r._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete u.stop,o.call(e,function(){r.dequeue(e,t)},u)),!i&&u&&u.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return A.get(e,n)||A.access(e,n,{empty:r.Callbacks("once memory").add(function(){A.remove(e,[t+"queue",n])})})}}),r.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,on=/^$|^module$|\/(?:java|ecma)script/i;t=I.createDocumentFragment().appendChild(I.createElement("div")),(n=I.createElement("input")).setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),R.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",R.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="",R.option=!!t.lastChild;var ue={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Y(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&oe(e,t)?r.merge([e],n):n}function mt(e,t){for(var n=0,i=e.length;n",""]);var ii=/<|&#?\w+;/;function un(e,t,n,i,o){for(var u,a,c,f,h,y,x=t.createDocumentFragment(),g=[],v=0,S=e.length;v-1)o&&o.push(u);else if(h=He(u),a=Y(x.appendChild(u),"script"),h&&mt(a),n)for(y=0;u=a[y++];)on.test(u.type||"")&&n.push(u);return x}var an=/^([^.]*)(?:\.(.+)|)/;function Pe(){return!0}function Ie(){return!1}function ri(e,t){return e===function oi(){try{return I.activeElement}catch(e){}}()==("focus"===t)}function xt(e,t,n,i,o,u){var a,c;if("object"==typeof t){for(c in"string"!=typeof n&&(i=i||n,n=void 0),t)xt(e,c,n,i,t[c],u);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Ie;else if(!o)return e;return 1===u&&(a=o,o=function(f){return r().off(f),a.apply(this,arguments)},o.guid=a.guid||(a.guid=r.guid++)),e.each(function(){r.event.add(this,t,o,i,n)})}function rt(e,t,n){n?(A.set(e,t,!1),r.event.add(e,t,{namespace:!1,handler:function(i){var o,u,a=A.get(this,t);if(1&i.isTrigger&&this[t]){if(a.length)(r.event.special[t]||{}).delegateType&&i.stopPropagation();else if(a=ve.call(arguments),A.set(this,t,a),o=n(this,t),this[t](),a!==(u=A.get(this,t))||o?A.set(this,t,!1):u={},a!==u)return i.stopImmediatePropagation(),i.preventDefault(),u&&u.value}else a.length&&(A.set(this,t,{value:r.event.trigger(r.extend(a[0],r.Event.prototype),a.slice(1),this)}),i.stopImmediatePropagation())}})):void 0===A.get(e,t)&&r.event.add(e,t,Pe)}r.event={global:{},add:function(e,t,n,i,o){var u,a,c,f,h,y,x,g,v,S,L,N=A.get(e);if(Fe(e))for(n.handler&&(n=(u=n).handler,o=u.selector),o&&r.find.matchesSelector(Te,o),n.guid||(n.guid=r.guid++),(f=N.events)||(f=N.events=Object.create(null)),(a=N.handle)||(a=N.handle=function(V){return void 0!==r&&r.event.triggered!==V.type?r.event.dispatch.apply(e,arguments):void 0}),h=(t=(t||"").match(ce)||[""]).length;h--;)v=L=(c=an.exec(t[h])||[])[1],S=(c[2]||"").split(".").sort(),v&&(x=r.event.special[v]||{},x=r.event.special[v=(o?x.delegateType:x.bindType)||v]||{},y=r.extend({type:v,origType:L,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&r.expr.match.needsContext.test(o),namespace:S.join(".")},u),(g=f[v])||((g=f[v]=[]).delegateCount=0,(!x.setup||!1===x.setup.call(e,i,S,a))&&e.addEventListener&&e.addEventListener(v,a)),x.add&&(x.add.call(e,y),y.handler.guid||(y.handler.guid=n.guid)),o?g.splice(g.delegateCount++,0,y):g.push(y),r.event.global[v]=!0)},remove:function(e,t,n,i,o){var u,a,c,f,h,y,x,g,v,S,L,N=A.hasData(e)&&A.get(e);if(N&&(f=N.events)){for(h=(t=(t||"").match(ce)||[""]).length;h--;)if(v=L=(c=an.exec(t[h])||[])[1],S=(c[2]||"").split(".").sort(),v){for(x=r.event.special[v]||{},g=f[v=(i?x.delegateType:x.bindType)||v]||[],c=c[2]&&new RegExp("(^|\\.)"+S.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=u=g.length;u--;)y=g[u],(o||L===y.origType)&&(!n||n.guid===y.guid)&&(!c||c.test(y.namespace))&&(!i||i===y.selector||"**"===i&&y.selector)&&(g.splice(u,1),y.selector&&g.delegateCount--,x.remove&&x.remove.call(e,y));a&&!g.length&&((!x.teardown||!1===x.teardown.call(e,S,N.handle))&&r.removeEvent(e,v,N.handle),delete f[v])}else for(v in f)r.event.remove(e,v+t[h],n,i,!0);r.isEmptyObject(f)&&A.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,u,a,c=new Array(arguments.length),f=r.event.fix(e),h=(A.get(this,"events")||Object.create(null))[f.type]||[],y=r.event.special[f.type]||{};for(c[0]=f,t=1;t=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==e.type||!0!==h.disabled)){for(u=[],a={},n=0;n-1:r.find(o,this,null,[h]).length),a[o]&&u.push(i);u.length&&c.push({elem:h,handlers:u})}return h=this,f\s*$/g;function sn(e,t){return oe(e,"table")&&oe(11!==t.nodeType?t:t.firstChild,"tr")&&r(e).children("tbody")[0]||e}function fi(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function li(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function fn(e,t){var n,i,o,a,c,f;if(1===t.nodeType){if(A.hasData(e)&&(f=A.get(e).events))for(o in A.remove(t,"handle events"),f)for(n=0,i=f[o].length;n1&&"string"==typeof v&&!R.checkClone&&ai.test(v))return e.each(function(L){var N=e.eq(L);S&&(t[0]=v.call(this,L,N.html())),Me(N,t,n,i)});if(x&&(u=(o=un(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=u),u||i)){for(c=(a=r.map(Y(o,"script"),fi)).length;y0&&mt(a,!f&&Y(e,"script")),c},cleanData:function(e){for(var t,n,i,o=r.event.special,u=0;void 0!==(n=e[u]);u++)if(Fe(n)){if(t=n[A.expando]){if(t.events)for(i in t.events)o[i]?r.event.remove(n,i):r.removeEvent(n,i,t.handle);n[A.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),r.fn.extend({detach:function(e){return ln(this,e,!0)},remove:function(e){return ln(this,e)},text:function(e){return pe(this,function(t){return void 0===t?r.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,e,arguments.length)},append:function(){return Me(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||sn(this,e).appendChild(e)})},prepend:function(){return Me(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=sn(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(r.cleanData(Y(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return r.clone(this,e,t)})},html:function(e){return pe(this,function(t){var n=this[0]||{},i=0,o=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof t&&!ui.test(t)&&!ue[(rn.exec(t)||["",""])[1].toLowerCase()]){t=r.htmlPrefilter(t);try{for(;i=0&&(f+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-u-f-c-.5))||0),f}function mn(e,t,n){var i=ot(e),u=(!R.boxSizingReliable()||n)&&"border-box"===r.css(e,"boxSizing",!1,i),a=u,c=ze(e,t,i),f="offset"+t[0].toUpperCase()+t.slice(1);if(Tt.test(c)){if(!n)return c;c="auto"}return(!R.boxSizingReliable()&&u||!R.reliableTrDimensions()&&oe(e,"tr")||"auto"===c||!parseFloat(c)&&"inline"===r.css(e,"display",!1,i))&&e.getClientRects().length&&(u="border-box"===r.css(e,"boxSizing",!1,i),(a=f in e)&&(c=e[f])),(c=parseFloat(c)||0)+St(e,t,n||(u?"border":"content"),a,i,c)+"px"}function J(e,t,n,i,o){return new J.prototype.init(e,t,n,i,o)}r.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,u,a,c=de(t),f=Ct.test(t),h=e.style;if(f||(t=wt(c)),a=r.cssHooks[t]||r.cssHooks[c],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:h[t];if("string"==(u=typeof n)&&(o=Be.exec(n))&&o[1]&&(n=tn(e,t,o),u="number"),null==n||n!=n)return;"number"===u&&!f&&(n+=o&&o[3]||(r.cssNumber[c]?"":"px")),!R.clearCloneStyle&&""===n&&0===t.indexOf("background")&&(h[t]="inherit"),(!a||!("set"in a)||void 0!==(n=a.set(e,n,i)))&&(f?h.setProperty(t,n):h[t]=n)}},css:function(e,t,n,i){var o,u,a,c=de(t);return Ct.test(t)||(t=wt(c)),(a=r.cssHooks[t]||r.cssHooks[c])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=ze(e,t,i)),"normal"===o&&t in vn&&(o=vn[t]),""===n||n?(u=parseFloat(o),!0===n||isFinite(u)?u||0:o):o}}),r.each(["height","width"],function(e,t){r.cssHooks[t]={get:function(n,i,o){if(i)return!gi.test(r.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?mn(n,t,o):cn(n,yi,function(){return mn(n,t,o)})},set:function(n,i,o){var u,a=ot(n),c=!R.scrollboxSize()&&"absolute"===a.position,h=(c||o)&&"border-box"===r.css(n,"boxSizing",!1,a),y=o?St(n,t,o,h,a):0;return h&&c&&(y-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-St(n,t,"border",!1,a)-.5)),y&&(u=Be.exec(i))&&"px"!==(u[3]||"px")&&(n.style[t]=i,i=r.css(n,t)),bn(0,i,y)}}}),r.cssHooks.marginLeft=pn(R.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-cn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(e,t){r.cssHooks[e+t]={expand:function(n){for(var i=0,o={},u="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+he[i]+t]=u[i]||u[i-2]||u[0];return o}},"margin"!==e&&(r.cssHooks[e+t].set=bn)}),r.fn.extend({css:function(e,t){return pe(this,function(n,i,o){var u,a,c={},f=0;if(Array.isArray(i)){for(u=ot(n),a=i.length;f1)}}),r.Tween=J,(J.prototype={constructor:J,init:function(e,t,n,i,o,u){this.elem=e,this.prop=n,this.easing=o||r.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=u||(r.cssNumber[n]?"":"px")},cur:function(){var e=J.propHooks[this.prop];return e&&e.get?e.get(this):J.propHooks._default.get(this)},run:function(e){var t,n=J.propHooks[this.prop];return this.pos=t=this.options.duration?r.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):J.propHooks._default.set(this),this}}).init.prototype=J.prototype,(J.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=r.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){r.fx.step[e.prop]?r.fx.step[e.prop](e):1!==e.elem.nodeType||!r.cssHooks[e.prop]&&null==e.elem.style[wt(e.prop)]?e.elem[e.prop]=e.now:r.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=J.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},r.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},r.fx=J.prototype.init,r.fx.step={};var Re,ut,vi=/^(?:toggle|show|hide)$/,bi=/queueHooks$/;function Nt(){ut&&(!1===I.hidden&&H.requestAnimationFrame?H.requestAnimationFrame(Nt):H.setTimeout(Nt,r.fx.interval),r.fx.tick())}function xn(){return H.setTimeout(function(){Re=void 0}),Re=Date.now()}function at(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=he[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function Tn(e,t,n){for(var i,o=(se.tweeners[t]||[]).concat(se.tweeners["*"]),u=0,a=o.length;u1)},removeAttr:function(e){return this.each(function(){r.removeAttr(this,e)})}}),r.extend({attr:function(e,t,n){var i,o,u=e.nodeType;if(3!==u&&8!==u&&2!==u)return void 0===e.getAttribute?r.prop(e,t,n):((1!==u||!r.isXMLDoc(e))&&(o=r.attrHooks[t.toLowerCase()]||(r.expr.match.bool.test(t)?Cn:void 0)),void 0!==n?null===n?void r.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=r.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!R.radioValue&&"radio"===t&&oe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(ce);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),Cn={set:function(e,t,n){return!1===t?r.removeAttr(e,n):e.setAttribute(n,n),n}},r.each(r.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ue[t]||r.find.attr;Ue[t]=function(i,o,u){var a,c,f=o.toLowerCase();return u||(c=Ue[f],Ue[f]=a,a=null!=n(i,o,u)?f:null,Ue[f]=c),a}});var Ti=/^(?:input|select|textarea|button)$/i,Ci=/^(?:a|area)$/i;function Ce(e){return(e.match(ce)||[]).join(" ")}function we(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(ce)||[]}r.fn.extend({prop:function(e,t){return pe(this,r.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[r.propFix[e]||e]})}}),r.extend({prop:function(e,t,n){var i,o,u=e.nodeType;if(3!==u&&8!==u&&2!==u)return(1!==u||!r.isXMLDoc(e))&&(o=r.propHooks[t=r.propFix[t]||t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=r.find.attr(e,"tabindex");return t?parseInt(t,10):Ti.test(e.nodeName)||Ci.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),R.optSelected||(r.propHooks.selected={get:function(e){return null},set:function(e){}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this}),r.fn.extend({addClass:function(e){var t,n,i,o,u,a;return O(e)?this.each(function(c){r(this).addClass(e.call(this,c,we(this)))}):(t=Et(e)).length?this.each(function(){if(i=we(this),n=1===this.nodeType&&" "+Ce(i)+" "){for(u=0;u-1;)n=n.replace(" "+o+" "," ");a=Ce(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,o,u,a=typeof e,c="string"===a||Array.isArray(e);return O(e)?this.each(function(f){r(this).toggleClass(e.call(this,f,we(this),t),t)}):"boolean"==typeof t&&c?t?this.addClass(e):this.removeClass(e):(n=Et(e),this.each(function(){if(c)for(u=r(this),o=0;o-1)return!0;return!1}});var wi=/\r/g;r.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=O(e),this.each(function(u){var a;1===this.nodeType&&(null==(a=i?e.call(this,u,r(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=r.map(a,function(c){return null==c?"":c+""})),(!(t=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()])||!("set"in t)||void 0===t.set(this,a,"value"))&&(this.value=a))})):o?(t=r.valHooks[o.type]||r.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wi,""):null==n?"":n:void 0}}),r.extend({valHooks:{option:{get:function(e){var t=r.find.attr(e,"value");return null!=t?t:Ce(r.text(e))}},select:{get:function(e){var t,n,i,o=e.options,u=e.selectedIndex,a="select-one"===e.type,c=a?null:[],f=a?u+1:o.length;for(i=u<0?f:a?u:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),u}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=r.inArray(r(e).val(),t)>-1}},R.checkOn||(r.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),R.focusin="onfocusin"in H;var wn=/^(?:focusinfocus|focusoutblur)$/,Sn=function(e){e.stopPropagation()};r.extend(r.event,{trigger:function(e,t,n,i){var o,u,a,c,f,h,y,x,g=[n||I],v=et.call(e,"type")?e.type:e,S=et.call(e,"namespace")?e.namespace.split("."):[];if(u=x=a=n=n||I,3!==n.nodeType&&8!==n.nodeType&&!wn.test(v+r.event.triggered)&&(v.indexOf(".")>-1&&(S=v.split("."),v=S.shift(),S.sort()),f=v.indexOf(":")<0&&"on"+v,(e=e[r.expando]?e:new r.Event(v,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=S.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+S.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:r.makeArray(t,[e]),y=r.event.special[v]||{},i||!y.trigger||!1!==y.trigger.apply(n,t))){if(!i&&!y.noBubble&&!ke(n)){for(wn.test((c=y.delegateType||v)+v)||(u=u.parentNode);u;u=u.parentNode)g.push(u),a=u;a===(n.ownerDocument||I)&&g.push(a.defaultView||a.parentWindow||H)}for(o=0;(u=g[o++])&&!e.isPropagationStopped();)x=u,e.type=o>1?c:y.bindType||v,(h=(A.get(u,"events")||Object.create(null))[e.type]&&A.get(u,"handle"))&&h.apply(u,t),(h=f&&u[f])&&h.apply&&Fe(u)&&(e.result=h.apply(u,t),!1===e.result&&e.preventDefault());return e.type=v,!i&&!e.isDefaultPrevented()&&(!y._default||!1===y._default.apply(g.pop(),t))&&Fe(n)&&f&&O(n[v])&&!ke(n)&&((a=n[f])&&(n[f]=null),r.event.triggered=v,e.isPropagationStopped()&&x.addEventListener(v,Sn),n[v](),e.isPropagationStopped()&&x.removeEventListener(v,Sn),r.event.triggered=void 0,a&&(n[f]=a)),e.result}},simulate:function(e,t,n){var i=r.extend(new r.Event,n,{type:e,isSimulated:!0});r.event.trigger(i,null,t)}}),r.fn.extend({trigger:function(e,t){return this.each(function(){r.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return r.event.trigger(e,t,n,!0)}}),R.focusin||r.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(i){r.event.simulate(t,i.target,r.event.fix(i))};r.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=A.access(i,t);o||i.addEventListener(e,n,!0),A.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=A.access(i,t)-1;o?A.access(i,t,o):(i.removeEventListener(e,n,!0),A.remove(i,t))}}});var Ve=H.location,Nn={guid:Date.now()},At=/\?/;r.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new H.DOMParser).parseFromString(e,"text/xml")}catch(i){}return n=t&&t.getElementsByTagName("parsererror")[0],(!t||n)&&r.error("Invalid XML: "+(n?r.map(n.childNodes,function(i){return i.textContent}).join("\n"):e)),t};var Si=/\[\]$/,En=/\r?\n/g,Ni=/^(?:submit|button|image|reset|file)$/i,Ei=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,i){var o;if(Array.isArray(t))r.each(t,function(u,a){n||Si.test(e)?i(e,a):Dt(e+"["+("object"==typeof a&&null!=a?u:"")+"]",a,n,i)});else if(n||"object"!==je(t))i(e,t);else for(o in t)Dt(e+"["+o+"]",t[o],n,i)}r.param=function(e,t){var n,i=[],o=function(u,a){var c=O(a)?a():a;i[i.length]=encodeURIComponent(u)+"="+encodeURIComponent(null==c?"":c)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!r.isPlainObject(e))r.each(e,function(){o(this.name,this.value)});else for(n in e)Dt(n,e[n],t,o);return i.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=r.prop(this,"elements");return e?r.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!r(this).is(":disabled")&&Ei.test(this.nodeName)&&!Ni.test(e)&&(this.checked||!$e.test(e))}).map(function(e,t){var n=r(this).val();return null==n?null:Array.isArray(n)?r.map(n,function(i){return{name:t.name,value:i.replace(En,"\r\n")}}):{name:t.name,value:n.replace(En,"\r\n")}}).get()}});var Ai=/%20/g,Di=/#.*$/,ki=/([?&])_=[^&]*/,ji=/^(.*?):[ \t]*([^\r\n]*)$/gm,Li=/^(?:GET|HEAD)$/,Hi=/^\/\//,An={},kt={},Dn="*/".concat("*"),jt=I.createElement("a");function kn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,u=t.toLowerCase().match(ce)||[];if(O(n))for(;i=u[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function jn(e,t,n,i){var o={},u=e===kt;function a(c){var f;return o[c]=!0,r.each(e[c]||[],function(h,y){var x=y(t,n,i);return"string"!=typeof x||u||o[x]?u?!(f=x):void 0:(t.dataTypes.unshift(x),a(x),!1)}),f}return a(t.dataTypes[0])||!o["*"]&&a("*")}function qt(e,t){var n,i,o=r.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&r.extend(!0,e,i),e}jt.href=Ve.href,r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ve.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ve.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,r.ajaxSettings),t):qt(r.ajaxSettings,e)},ajaxPrefilter:kn(An),ajaxTransport:kn(kt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var n,i,o,u,a,c,f,h,y,x,g=r.ajaxSetup({},t=t||{}),v=g.context||g,S=g.context&&(v.nodeType||v.jquery)?r(v):r.event,L=r.Deferred(),N=r.Callbacks("once memory"),V=g.statusCode||{},U={},ee={},F="canceled",q={readyState:0,getResponseHeader:function(M){var z;if(f){if(!u)for(u={};z=ji.exec(o);)u[z[1].toLowerCase()+" "]=(u[z[1].toLowerCase()+" "]||[]).concat(z[2]);z=u[M.toLowerCase()+" "]}return null==z?null:z.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(M,z){return null==f&&(M=ee[M.toLowerCase()]=ee[M.toLowerCase()]||M,U[M]=z),this},overrideMimeType:function(M){return null==f&&(g.mimeType=M),this},statusCode:function(M){var z;if(M)if(f)q.always(M[q.status]);else for(z in M)V[z]=[V[z],M[z]];return this},abort:function(M){var z=M||F;return n&&n.abort(z),K(0,z),this}};if(L.promise(q),g.url=((e||g.url||Ve.href)+"").replace(Hi,Ve.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(ce)||[""],null==g.crossDomain){c=I.createElement("a");try{c.href=g.url,c.href=c.href,g.crossDomain=jt.protocol+"//"+jt.host!=c.protocol+"//"+c.host}catch(M){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=r.param(g.data,g.traditional)),jn(An,g,t,q),f)return q;for(y in(h=r.event&&g.global)&&0==r.active++&&r.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Li.test(g.type),i=g.url.replace(Di,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ai,"+")):(x=g.url.slice(i.length),g.data&&(g.processData||"string"==typeof g.data)&&(i+=(At.test(i)?"&":"?")+g.data,delete g.data),!1===g.cache&&(i=i.replace(ki,"$1"),x=(At.test(i)?"&":"?")+"_="+Nn.guid+++x),g.url=i+x),g.ifModified&&(r.lastModified[i]&&q.setRequestHeader("If-Modified-Since",r.lastModified[i]),r.etag[i]&&q.setRequestHeader("If-None-Match",r.etag[i])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&q.setRequestHeader("Content-Type",g.contentType),q.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Dn+"; q=0.01":""):g.accepts["*"]),g.headers)q.setRequestHeader(y,g.headers[y]);if(g.beforeSend&&(!1===g.beforeSend.call(v,q,g)||f))return q.abort();if(F="abort",N.add(g.complete),q.done(g.success),q.fail(g.error),n=jn(kt,g,t,q)){if(q.readyState=1,h&&S.trigger("ajaxSend",[q,g]),f)return q;g.async&&g.timeout>0&&(a=H.setTimeout(function(){q.abort("timeout")},g.timeout));try{f=!1,n.send(U,K)}catch(M){if(f)throw M;K(-1,M)}}else K(-1,"No Transport");function K(M,z,Ge,st){var te,Se,Ne,Z,be,ae=z;f||(f=!0,a&&H.clearTimeout(a),n=void 0,o=st||"",q.readyState=M>0?4:0,te=M>=200&&M<300||304===M,Ge&&(Z=function Oi(e,t,n){for(var i,o,u,a,c=e.contents,f=e.dataTypes;"*"===f[0];)f.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in c)if(c[o]&&c[o].test(i)){f.unshift(o);break}if(f[0]in n)u=f[0];else{for(o in n){if(!f[0]||e.converters[o+" "+f[0]]){u=o;break}a||(a=o)}u=u||a}if(u)return u!==f[0]&&f.unshift(u),n[u]}(g,q,Ge)),!te&&r.inArray("script",g.dataTypes)>-1&&r.inArray("json",g.dataTypes)<0&&(g.converters["text script"]=function(){}),Z=function Pi(e,t,n,i){var o,u,a,c,f,h={},y=e.dataTypes.slice();if(y[1])for(a in e.converters)h[a.toLowerCase()]=e.converters[a];for(u=y.shift();u;)if(e.responseFields[u]&&(n[e.responseFields[u]]=t),!f&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),f=u,u=y.shift())if("*"===u)u=f;else if("*"!==f&&f!==u){if(!(a=h[f+" "+u]||h["* "+u]))for(o in h)if((c=o.split(" "))[1]===u&&(a=h[f+" "+c[0]]||h["* "+c[0]])){!0===a?a=h[o]:!0!==h[o]&&(u=c[0],y.unshift(c[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(x){return{state:"parsererror",error:a?x:"No conversion from "+f+" to "+u}}}return{state:"success",data:t}}(g,Z,q,te),te?(g.ifModified&&((be=q.getResponseHeader("Last-Modified"))&&(r.lastModified[i]=be),(be=q.getResponseHeader("etag"))&&(r.etag[i]=be)),204===M||"HEAD"===g.type?ae="nocontent":304===M?ae="notmodified":(ae=Z.state,Se=Z.data,te=!(Ne=Z.error))):(Ne=ae,(M||!ae)&&(ae="error",M<0&&(M=0))),q.status=M,q.statusText=(z||ae)+"",te?L.resolveWith(v,[Se,ae,q]):L.rejectWith(v,[q,ae,Ne]),q.statusCode(V),V=void 0,h&&S.trigger(te?"ajaxSuccess":"ajaxError",[q,g,te?Se:Ne]),N.fireWith(v,[q,ae]),h&&(S.trigger("ajaxComplete",[q,g]),--r.active||r.event.trigger("ajaxStop")))}return q},getJSON:function(e,t,n){return r.get(e,t,n,"json")},getScript:function(e,t){return r.get(e,void 0,t,"script")}}),r.each(["get","post"],function(e,t){r[t]=function(n,i,o,u){return O(i)&&(u=u||o,o=i,i=void 0),r.ajax(r.extend({url:n,type:t,dataType:u,data:i,success:o},r.isPlainObject(n)&&n))}}),r.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),r._evalUrl=function(e,t,n){return r.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){r.globalEval(i,t,n)}})},r.fn.extend({wrapAll:function(e){var t;return this[0]&&(O(e)&&(e=e.call(this[0])),t=r(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return O(e)?this.each(function(t){r(this).wrapInner(e.call(this,t))}):this.each(function(){var t=r(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=O(e);return this.each(function(n){r(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(e){return!r.expr.pseudos.visible(e)},r.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new H.XMLHttpRequest}catch(e){}};var Ii={0:200,1223:204},Xe=r.ajaxSettings.xhr();R.cors=!!Xe&&"withCredentials"in Xe,R.ajax=Xe=!!Xe,r.ajaxTransport(function(e){var t,n;if(R.cors||Xe&&!e.crossDomain)return{send:function(i,o){var u,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(u in e.xhrFields)a[u]=e.xhrFields[u];for(u in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),!e.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(u,i[u]);t=function(c){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===c?a.abort():"error"===c?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ii[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&H.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(c){if(t)throw c}},abort:function(){t&&t()}}}),r.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return r.globalEval(e),e}}}),r.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),r.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=r("