From 84e552e39b405d3207e69cd6f0ccba2882ee3724 Mon Sep 17 00:00:00 2001 From: alberto-art3ch Date: Thu, 12 Jun 2025 04:46:39 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20openMF/w?= =?UTF-8?q?eb-app@0a8aa1d5e93818e4d277152eba42a6d674c95d5b=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpartylicenses.txt | 2726 +- {browser/assets => assets}/env.js | 0 {browser/assets => assets}/env.template.js | 0 .../assets => assets}/images/MifosX_logo.png | Bin .../images/MifosX_logoSmall.png | Bin .../images/center_placeholder.png | Bin .../images/cover_image_resized.webp | Bin .../images/fd_account_placeholder.png | Bin .../images/group_placeholder.png | Bin .../images/icons_account_placeholder.svg | 0 .../images/mifos-logo-flat.png | Bin .../images/mifos_lg-logo.jpg | Bin .../images/mifos_lg-logo.png | Bin ...recurring-deposits_account_placeholder.png | Bin .../images/savings_account_placeholder.png | Bin .../images/shares_account_placeholder.png | Bin .../images/user_placeholder.png | Bin .../assets => assets}/mock/user.mock.json | 0 {browser/assets => assets}/styles/_align.scss | 0 .../assets => assets}/styles/_background.scss | 0 .../assets => assets}/styles/_border.scss | 0 .../assets => assets}/styles/_colours.scss | 0 .../assets => assets}/styles/_display.scss | 0 {browser/assets => assets}/styles/_float.scss | 0 {browser/assets => assets}/styles/_form.scss | 0 .../assets => assets}/styles/_helper.scss | 0 .../assets => assets}/styles/_loader.scss | 0 .../assets => assets}/styles/_margin.scss | 0 {browser/assets => assets}/styles/_misc.scss | 0 .../assets => assets}/styles/_overflow.scss | 0 .../assets => assets}/styles/_padding.scss | 0 .../assets => assets}/styles/_position.scss | 0 .../assets => assets}/styles/_status.scss | 0 {browser/assets => assets}/styles/_text.scss | 0 .../styles/_width-height.scss | 0 .../assets => assets}/styles/_z-index.scss | 0 .../assets => assets}/translations/cs-CS.json | 0 .../assets => assets}/translations/de-DE.json | 0 .../assets => assets}/translations/en-US.json | 0 .../assets => assets}/translations/es-CL.json | 0 .../assets => assets}/translations/es-MX.json | 0 .../assets => assets}/translations/fr-FR.json | 0 .../assets => assets}/translations/it-IT.json | 0 .../assets => assets}/translations/ko-KO.json | 0 .../assets => assets}/translations/lt-LT.json | 0 .../assets => assets}/translations/lv-LV.json | 0 .../assets => assets}/translations/ne-NE.json | 0 .../assets => assets}/translations/pt-PT.json | 0 .../assets => assets}/translations/sw-SW.json | 0 browser/account-transfers.module-4HO2HR74.js | 1016 - browser/chunk-5Y6MWJHO.js | 1 - browser/chunk-AGAVVHNS.js | 1 - browser/chunk-CCP3JU5F.js | 1 - browser/chunk-FK6H3RFT.js | 1 - browser/chunk-O7S4L63H.js | 1 - browser/chunk-RO62NWKH.js | 1 - browser/chunk-SR4VE5NL.js | 1606 - browser/chunk-UVOJZPMS.js | 11 - browser/chunk-Y4A5RXFJ.js | 1 - browser/collaterals.module-VECBX4CH.js | 103 - browser/fixed-deposits.module-NZV62SCH.js | 2270 - browser/html2canvas-CRGYTWK7.js | 5 - browser/index.es-EESG2MHV.js | 5 - browser/index.html | 50 - browser/loans.module-CDWDPYCE.js | 5886 --- browser/main.js | 41618 ---------------- browser/mifosx-theme.css | 1 - browser/polyfills.js | 2 - browser/purify.es-JY7NAS75.js | 2 - browser/recurring-deposits.module-DRZKJFRB.js | 2462 - browser/savings.module-S4ZE7HEI.js | 2463 - browser/shares.module-R4HFFTAR.js | 1111 - browser/styles.css | 1 - common.js | 1 + ...e_resized.webp => cover_image_resized.webp | Bin ...t-transfers_account-transfers_module_ts.js | 1 + ...s-src_app_shared_input-amount_in-d965db.js | 1 + .../fa-brands-400.ttf => fa-brands-400.ttf | Bin ...fa-brands-400.woff2 => fa-brands-400.woff2 | Bin .../fa-regular-400.ttf => fa-regular-400.ttf | Bin ...-regular-400.woff2 => fa-regular-400.woff2 | Bin .../fa-solid-900.ttf => fa-solid-900.ttf | Bin .../fa-solid-900.woff2 => fa-solid-900.woff2 | Bin ...ompatibility.ttf => fa-v4compatibility.ttf | Bin ...tibility.woff2 => fa-v4compatibility.woff2 | Bin browser/favicon.ico => favicon.ico | Bin index.html | 50 + main.js | 1 + browser/manifest.json => manifest.json | 0 mifosx-theme.css | 1 + node_modules_canvg_lib_index_es_js.js | 1 + node_modules_dompurify_dist_purify_es_mjs.js | 1 + ...modules_html2canvas_dist_html2canvas_js.js | 1 + polyfills.js | 1 + browser/robots.txt => robots.txt | 0 runtime.js | 1 + ...-transfers_account-transfers_service_ts.js | 1 + src_app_collaterals_collaterals_module_ts.js | 1 + ...fixed-deposits_fixed-deposits_module_ts.js | 1 + ...g-deposits_recurring-deposits_module_ts.js | 1 + src_app_loans_loans_module_ts.js | 129 + src_app_savings_savings_module_ts.js | 1 + src_app_shares_shares_module_ts.js | 1 + styles.css | 5 + 104 files changed, 1467 insertions(+), 60078 deletions(-) rename {browser/assets => assets}/env.js (100%) rename {browser/assets => assets}/env.template.js (100%) rename {browser/assets => assets}/images/MifosX_logo.png (100%) rename {browser/assets => assets}/images/MifosX_logoSmall.png (100%) rename {browser/assets => assets}/images/center_placeholder.png (100%) rename {browser/assets => assets}/images/cover_image_resized.webp (100%) rename {browser/assets => assets}/images/fd_account_placeholder.png (100%) rename {browser/assets => assets}/images/group_placeholder.png (100%) rename {browser/assets => assets}/images/icons_account_placeholder.svg (100%) rename {browser/assets => assets}/images/mifos-logo-flat.png (100%) rename {browser/assets => assets}/images/mifos_lg-logo.jpg (100%) rename {browser/assets => assets}/images/mifos_lg-logo.png (100%) rename {browser/assets => assets}/images/recurring-deposits_account_placeholder.png (100%) rename {browser/assets => assets}/images/savings_account_placeholder.png (100%) rename {browser/assets => assets}/images/shares_account_placeholder.png (100%) rename {browser/assets => assets}/images/user_placeholder.png (100%) rename {browser/assets => assets}/mock/user.mock.json (100%) rename {browser/assets => assets}/styles/_align.scss (100%) rename {browser/assets => assets}/styles/_background.scss (100%) rename {browser/assets => assets}/styles/_border.scss (100%) rename {browser/assets => assets}/styles/_colours.scss (100%) rename {browser/assets => assets}/styles/_display.scss (100%) rename {browser/assets => assets}/styles/_float.scss (100%) rename {browser/assets => assets}/styles/_form.scss (100%) rename {browser/assets => assets}/styles/_helper.scss (100%) rename {browser/assets => assets}/styles/_loader.scss (100%) rename {browser/assets => assets}/styles/_margin.scss (100%) rename {browser/assets => assets}/styles/_misc.scss (100%) rename {browser/assets => assets}/styles/_overflow.scss (100%) rename {browser/assets => assets}/styles/_padding.scss (100%) rename {browser/assets => assets}/styles/_position.scss (100%) rename {browser/assets => assets}/styles/_status.scss (100%) rename {browser/assets => assets}/styles/_text.scss (100%) rename {browser/assets => assets}/styles/_width-height.scss (100%) rename {browser/assets => assets}/styles/_z-index.scss (100%) rename {browser/assets => assets}/translations/cs-CS.json (100%) rename {browser/assets => assets}/translations/de-DE.json (100%) rename {browser/assets => assets}/translations/en-US.json (100%) rename {browser/assets => assets}/translations/es-CL.json (100%) rename {browser/assets => assets}/translations/es-MX.json (100%) rename {browser/assets => assets}/translations/fr-FR.json (100%) rename {browser/assets => assets}/translations/it-IT.json (100%) rename {browser/assets => assets}/translations/ko-KO.json (100%) rename {browser/assets => assets}/translations/lt-LT.json (100%) rename {browser/assets => assets}/translations/lv-LV.json (100%) rename {browser/assets => assets}/translations/ne-NE.json (100%) rename {browser/assets => assets}/translations/pt-PT.json (100%) rename {browser/assets => assets}/translations/sw-SW.json (100%) delete mode 100644 browser/account-transfers.module-4HO2HR74.js delete mode 100644 browser/chunk-5Y6MWJHO.js delete mode 100644 browser/chunk-AGAVVHNS.js delete mode 100644 browser/chunk-CCP3JU5F.js delete mode 100644 browser/chunk-FK6H3RFT.js delete mode 100644 browser/chunk-O7S4L63H.js delete mode 100644 browser/chunk-RO62NWKH.js delete mode 100644 browser/chunk-SR4VE5NL.js delete mode 100644 browser/chunk-UVOJZPMS.js delete mode 100644 browser/chunk-Y4A5RXFJ.js delete mode 100644 browser/collaterals.module-VECBX4CH.js delete mode 100644 browser/fixed-deposits.module-NZV62SCH.js delete mode 100644 browser/html2canvas-CRGYTWK7.js delete mode 100644 browser/index.es-EESG2MHV.js delete mode 100644 browser/index.html delete mode 100644 browser/loans.module-CDWDPYCE.js delete mode 100644 browser/main.js delete mode 100644 browser/mifosx-theme.css delete mode 100644 browser/polyfills.js delete mode 100644 browser/purify.es-JY7NAS75.js delete mode 100644 browser/recurring-deposits.module-DRZKJFRB.js delete mode 100644 browser/savings.module-S4ZE7HEI.js delete mode 100644 browser/shares.module-R4HFFTAR.js delete mode 100644 browser/styles.css create mode 100644 common.js rename browser/media/cover_image_resized.webp => cover_image_resized.webp (100%) create mode 100644 default-src_app_account-transfers_account-transfers_module_ts.js create mode 100644 default-src_app_account-transfers_account-transfers_service_ts-src_app_shared_input-amount_in-d965db.js rename browser/media/fa-brands-400.ttf => fa-brands-400.ttf (100%) rename browser/media/fa-brands-400.woff2 => fa-brands-400.woff2 (100%) rename browser/media/fa-regular-400.ttf => fa-regular-400.ttf (100%) rename browser/media/fa-regular-400.woff2 => fa-regular-400.woff2 (100%) rename browser/media/fa-solid-900.ttf => fa-solid-900.ttf (100%) rename browser/media/fa-solid-900.woff2 => fa-solid-900.woff2 (100%) rename browser/media/fa-v4compatibility.ttf => fa-v4compatibility.ttf (100%) rename browser/media/fa-v4compatibility.woff2 => fa-v4compatibility.woff2 (100%) rename browser/favicon.ico => favicon.ico (100%) create mode 100644 index.html create mode 100644 main.js rename browser/manifest.json => manifest.json (100%) create mode 100644 mifosx-theme.css create mode 100644 node_modules_canvg_lib_index_es_js.js create mode 100644 node_modules_dompurify_dist_purify_es_mjs.js create mode 100644 node_modules_html2canvas_dist_html2canvas_js.js create mode 100644 polyfills.js rename browser/robots.txt => robots.txt (100%) create mode 100644 runtime.js create mode 100644 src_app_account-transfers_account-transfers_service_ts.js create mode 100644 src_app_collaterals_collaterals_module_ts.js create mode 100644 src_app_deposits_fixed-deposits_fixed-deposits_module_ts.js create mode 100644 src_app_deposits_recurring-deposits_recurring-deposits_module_ts.js create mode 100644 src_app_loans_loans_module_ts.js create mode 100644 src_app_savings_savings_module_ts.js create mode 100644 src_app_shares_shares_module_ts.js create mode 100644 styles.css diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 1429c73e0..9afe1d315 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -1,21 +1,79 @@ +@angular/animations +MIT --------------------------------------------------------------------------------- -Package: lodash -License: "MIT" +@angular/cdk +MIT +The MIT License -Copyright OpenJS Foundation and other contributors +Copyright (c) 2024 Google LLC. -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors +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: -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -The following license applies to all parts of this software except as -documented below: +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -==== + +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/localize +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2024 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 + +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -36,166 +94,30 @@ 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 and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. +@ckeditor/ckeditor5-angular +GPL-2.0-or-later +Software License Agreement +========================== -CC0: http://creativecommons.org/publicdomain/zero/1.0/ +**CKEditor 5 component for Angular** – https://github.com/ckeditor/ckeditor5-angular
+Copyright (c) 2003-2023, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved. -==== +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- --------------------------------------------------------------------------------- -Package: base64-js -License: "MIT" +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. -The MIT License (MIT) +Trademarks +---------- -Copyright (c) 2014 Jameson Little +**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: ieee754 -License: "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. - --------------------------------------------------------------------------------- -Package: buffer -License: "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. - --------------------------------------------------------------------------------- -Package: graphlib -License: "MIT" - -Copyright (c) 2012-2014 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: dagre -License: "MIT" - -Copyright (c) 2012-2014 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: webcola -License: "MIT" - -The MIT License (MIT) - -Copyright (c) 2013 Tim Dwyer - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. --------------------------------------------------------------------------------- -Package: @ckeditor/ckeditor5-build-classic -License: "GPL-2.0-or-later" +@ckeditor/ckeditor5-build-classic +GPL-2.0-or-later Software License Agreement ========================== @@ -218,13 +140,668 @@ Trademarks **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. --------------------------------------------------------------------------------- -Package: exceljs -License: "MIT" +@ckeditor/ckeditor5-watchdog +GPL-2.0-or-later +Software License Agreement +========================== + +**CKEditor 5 watchdog feature** – https://github.com/ckeditor/ckeditor5-watchdog
+Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): + +* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. + + +@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-free +(CC-BY-4.0 AND OFL-1.1 AND 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) 2024 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 2024 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.** + + +@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.** + + +@fortawesome/free-solid-svg-icons +(CC-BY-4.0 AND 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.** + + +@ngx-translate/core +MIT +Copyright (c) 2018 Olivier Combe +Copyright (c) 2024 Andreas Löw / CodeAndWeb GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +@ngx-translate/http-loader +MIT +Copyright (c) 2018 Olivier Combe +Copyright (c) 2024 Andreas Löw / CodeAndWeb GmbH + +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. + + +@swimlane/ngx-graph +MIT +(The MIT License) + +Copyright (c) 2016 Swimlane + +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-2019 Guyon Roche +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. + + +canvg +MIT +The MIT License (MIT) + +Copyright (c) 2010 - present Gabe Lerner (gabelerner@gmail.com) - https://github.com/canvg/canvg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -245,88 +822,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/animations -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: @angular/platform-browser -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: @angular/common -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: chart.js -License: "MIT" - +chart.js +MIT The MIT License (MIT) Copyright (c) 2018 Chart.js Contributors @@ -337,28 +834,32 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-selection -License: "ISC" -Copyright 2010-2021 Mike Bostock +core-js +MIT +Copyright (c) 2014-2025 Denis Pushkarev -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. +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 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. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. --------------------------------------------------------------------------------- -Package: d3-shape -License: "ISC" +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. + +d3-color +ISC Copyright 2010-2022 Mike Bostock Permission to use, copy, modify, and/or distribute this software for any purpose @@ -373,11 +874,10 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-path -License: "ISC" -Copyright 2015-2022 Mike Bostock +d3-dispatch +ISC +Copyright 2010-2021 Mike Bostock 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 @@ -391,10 +891,9 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-ease -License: "BSD-3-Clause" +d3-ease +BSD-3-Clause Copyright 2010-2021 Mike Bostock Copyright 2001 Robert Penner All rights reserved. @@ -424,10 +923,9 @@ 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. --------------------------------------------------------------------------------- -Package: d3-dispatch -License: "ISC" +d3-force +ISC Copyright 2010-2021 Mike Bostock Permission to use, copy, modify, and/or distribute this software for any purpose @@ -442,10 +940,9 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-timer -License: "ISC" +d3-interpolate +ISC Copyright 2010-2021 Mike Bostock Permission to use, copy, modify, and/or distribute this software for any purpose @@ -460,10 +957,26 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-transition -License: "ISC" +d3-path +ISC +Copyright 2015-2022 Mike Bostock + +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. + + +d3-quadtree +ISC Copyright 2010-2021 Mike Bostock Permission to use, copy, modify, and/or distribute this software for any purpose @@ -478,10 +991,43 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-color -License: "ISC" +d3-scale +ISC +Copyright 2010-2021 Mike Bostock + +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. + + +d3-selection +ISC +Copyright 2010-2021 Mike Bostock + +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. + + +d3-shape +ISC Copyright 2010-2022 Mike Bostock Permission to use, copy, modify, and/or distribute this software for any purpose @@ -496,10 +1042,9 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-interpolate -License: "ISC" +d3-timer +ISC Copyright 2010-2021 Mike Bostock Permission to use, copy, modify, and/or distribute this software for any purpose @@ -514,13 +1059,27 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: transformation-matrix -License: "MIT" -MIT License +d3-transition +ISC +Copyright 2010-2021 Mike Bostock -Copyright (c) 2017 https://github.com/chrvadala +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. + + +dagre +MIT +Copyright (c) 2012-2014 Chris Pettitt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -529,258 +1088,20 @@ 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 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. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. --------------------------------------------------------------------------------- -Package: internmap -License: "ISC" - -Copyright 2021 Mike Bostock - -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. - --------------------------------------------------------------------------------- -Package: d3-scale -License: "ISC" - -Copyright 2010-2021 Mike Bostock - -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. - --------------------------------------------------------------------------------- -Package: @swimlane/ngx-graph -License: "MIT" - -(The MIT License) - -Copyright (c) 2016 Swimlane - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: d3-force -License: "ISC" - -Copyright 2010-2021 Mike Bostock - -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. - --------------------------------------------------------------------------------- -Package: d3-quadtree -License: "ISC" - -Copyright 2010-2021 Mike Bostock - -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. - --------------------------------------------------------------------------------- -Package: @ckeditor/ckeditor5-watchdog -License: "GPL-2.0-or-later" - -Software License Agreement -========================== - -**CKEditor 5 watchdog feature** – https://github.com/ckeditor/ckeditor5-watchdog
-Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. - -Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). - -Sources of Intellectual Property Included in CKEditor ------------------------------------------------------ - -Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. - -The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): - -* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. - -Trademarks ----------- - -**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. - --------------------------------------------------------------------------------- -Package: lodash-es -License: "MIT" - -Copyright OpenJS Foundation and other contributors - -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -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 and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. - --------------------------------------------------------------------------------- -Package: @ckeditor/ckeditor5-angular -License: "GPL-2.0-or-later" - -Software License Agreement -========================== - -**CKEditor 5 component for Angular** – https://github.com/ckeditor/ckeditor5-angular
-Copyright (c) 2003-2023, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved. - -Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). - -Sources of Intellectual Property Included in CKEditor ------------------------------------------------------ - -Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. - -Trademarks ----------- - -**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. - --------------------------------------------------------------------------------- -Package: @ngx-translate/http-loader -License: "MIT" - -Copyright (c) 2018 Olivier Combe -Copyright (c) 2024 Andreas Löw / CodeAndWeb GmbH - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: html2canvas -License: "MIT" - -Copyright (c) 2012 Niklas von Hertzen - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: dompurify -License: "(MPL-2.0 OR Apache-2.0)" +dompurify +(MPL-2.0 OR Apache-2.0) DOMPurify Copyright 2025 Dr.-Ing. Mario Heiderich, Cure53 @@ -1350,11 +1671,60 @@ Exhibit B - “Incompatible With Secondary Licenses” Notice the Mozilla Public License, v. 2.0. --------------------------------------------------------------------------------- -Package: core-js -License: "MIT" -Copyright (c) 2014-2025 Denis Pushkarev +exceljs +MIT +The MIT License (MIT) + +Copyright (c) 2014-2019 Guyon Roche + +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. + + + +fflate +MIT +MIT License + +Copyright (c) 2023 Arjun Barrett + +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. + +graphlib +MIT +Copyright (c) 2012-2014 Chris Pettitt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -1374,15 +1744,281 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: performance-now -License: "MIT" + +html2canvas +MIT +Copyright (c) 2012 Niklas von Hertzen + +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. --------------------------------------------------------------------------------- -Package: raf -License: "MIT" +internmap +ISC +Copyright 2021 Mike Bostock +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. + + +jspdf +MIT +Copyright +(c) 2010-2021 James Hall, https://github.com/MrRio/jsPDF +(c) 2015-2021 yWorks GmbH, https://www.yworks.com/ + +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. + + +jspdf-autotable +MIT +The MIT License (MIT) + +Copyright (c) 2014 Simon Bengtsson, https://github.com/simonbengtsson/jspdf-autotable + +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. + + +lodash +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +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 and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash-es +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +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 and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +moment +MIT +Copyright (c) JS Foundation 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. + + +ngx-mat-select-search +MIT +MIT License + +Copyright (c) 2018 Bithost GmbH + +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. + + +performance-now +MIT +Copyright (c) 2013 Braveg1rl + +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. + +raf +MIT Copyright 2013 Chris Dickinson 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: @@ -1391,10 +2027,9 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: rgbcolor -License: "MIT OR SEE LICENSE IN FEEL-FREE.md" +rgbcolor +MIT OR SEE LICENSE IN FEEL-FREE.md Copyright (c) 2016 Stoyan Stefanov, http://phpied.com/ Permission is hereby granted, free of charge, to any person obtaining @@ -1422,252 +2057,9 @@ Exemptions Please either apply this, the MIT license, or the license in './FEEL-FREE.md' --------------------------------------------------------------------------------- -Package: canvg -License: "MIT" - -The MIT License (MIT) - -Copyright (c) 2010 - present Gabe Lerner (gabelerner@gmail.com) - https://github.com/canvg/canvg - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - --------------------------------------------------------------------------------- -Package: @babel/runtime -License: "MIT" - -MIT License - -Copyright (c) 2014-present Sebastian McKenzie 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. - --------------------------------------------------------------------------------- -Package: svg-pathdata -License: "MIT" - -The MIT License (MIT) -Copyright © 2017 Nicolas Froidure - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the “Software”), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: stackblur-canvas -License: "MIT" - - --------------------------------------------------------------------------------- -Package: fflate -License: "MIT" - -MIT License - -Copyright (c) 2023 Arjun Barrett - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. --------------------------------------------------------------------------------- -Package: jspdf -License: "MIT" - -Copyright -(c) 2010-2021 James Hall, https://github.com/MrRio/jsPDF -(c) 2015-2021 yWorks GmbH, https://www.yworks.com/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: jspdf-autotable -License: "MIT" - -The MIT License (MIT) - -Copyright (c) 2014 Simon Bengtsson, https://github.com/simonbengtsson/jspdf-autotable - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: moment -License: "MIT" - -Copyright (c) JS Foundation 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. - --------------------------------------------------------------------------------- -Package: vkbeautify -License: "MIT" - -The MIT License (MIT) - -Copyright (c) 2015 aabluedragon - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - --------------------------------------------------------------------------------- -Package: @angular/core -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: rxjs -License: "Apache-2.0" +rxjs +Apache-2.0 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -1871,45 +2263,40 @@ License: "Apache-2.0" limitations under the License. --------------------------------------------------------------------------------- -Package: tslib -License: "0BSD" -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: @ngx-translate/core -License: "MIT" +stackblur-canvas +MIT +Copyright (c) 2010 Mario Klingemann -Copyright (c) 2018 Olivier Combe -Copyright (c) 2024 Andreas Löw / CodeAndWeb GmbH +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: -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 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. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/forms -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license +svg-pathdata +MIT +The MIT License (MIT) +Copyright © 2017 Nicolas Froidure Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal +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 @@ -1918,7 +2305,7 @@ 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 +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 @@ -1926,457 +2313,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/cdk -License: "MIT" - -The MIT License - -Copyright (c) 2024 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. - --------------------------------------------------------------------------------- -Package: @angular/material -License: "MIT" - -The MIT License - -Copyright (c) 2024 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. - --------------------------------------------------------------------------------- -Package: @fortawesome/fontawesome-svg-core -License: "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) 2024 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 2024 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.** - --------------------------------------------------------------------------------- -Package: @fortawesome/angular-fontawesome -License: "MIT" +transformation-matrix +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. - --------------------------------------------------------------------------------- -Package: @angular/router -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: @fortawesome/free-solid-svg-icons -License: "(CC-BY-4.0 AND 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.** - --------------------------------------------------------------------------------- -Package: ngx-mat-select-search -License: "MIT" - -MIT License - -Copyright (c) 2018 Bithost GmbH +Copyright (c) 2017 https://github.com/chrvadala Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -2396,13 +2338,27 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/localize -License: "MIT" -The MIT License +tslib +0BSD +Copyright (c) Microsoft Corporation. -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license +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. + +vkbeautify +MIT +The MIT License (MIT) + +Copyright (c) 2015 aabluedragon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -2411,21 +2367,45 @@ 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 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. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. --------------------------------------------------------------------------------- -Package: zone.js -License: "MIT" + +webcola +MIT +The MIT License (MIT) + +Copyright (c) 2013 Tim Dwyer + +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. + +zone.js +MIT The MIT License Copyright (c) 2010-2024 Google LLC. https://angular.io/license @@ -2447,175 +2427,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: @fortawesome/fontawesome-free -License: "(CC-BY-4.0 AND OFL-1.1 AND 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) 2024 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 2024 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.** - --------------------------------------------------------------------------------- diff --git a/browser/assets/env.js b/assets/env.js similarity index 100% rename from browser/assets/env.js rename to assets/env.js diff --git a/browser/assets/env.template.js b/assets/env.template.js similarity index 100% rename from browser/assets/env.template.js rename to assets/env.template.js diff --git a/browser/assets/images/MifosX_logo.png b/assets/images/MifosX_logo.png similarity index 100% rename from browser/assets/images/MifosX_logo.png rename to assets/images/MifosX_logo.png diff --git a/browser/assets/images/MifosX_logoSmall.png b/assets/images/MifosX_logoSmall.png similarity index 100% rename from browser/assets/images/MifosX_logoSmall.png rename to assets/images/MifosX_logoSmall.png diff --git a/browser/assets/images/center_placeholder.png b/assets/images/center_placeholder.png similarity index 100% rename from browser/assets/images/center_placeholder.png rename to assets/images/center_placeholder.png diff --git a/browser/assets/images/cover_image_resized.webp b/assets/images/cover_image_resized.webp similarity index 100% rename from browser/assets/images/cover_image_resized.webp rename to assets/images/cover_image_resized.webp diff --git a/browser/assets/images/fd_account_placeholder.png b/assets/images/fd_account_placeholder.png similarity index 100% rename from browser/assets/images/fd_account_placeholder.png rename to assets/images/fd_account_placeholder.png diff --git a/browser/assets/images/group_placeholder.png b/assets/images/group_placeholder.png similarity index 100% rename from browser/assets/images/group_placeholder.png rename to assets/images/group_placeholder.png diff --git a/browser/assets/images/icons_account_placeholder.svg b/assets/images/icons_account_placeholder.svg similarity index 100% rename from browser/assets/images/icons_account_placeholder.svg rename to assets/images/icons_account_placeholder.svg diff --git a/browser/assets/images/mifos-logo-flat.png b/assets/images/mifos-logo-flat.png similarity index 100% rename from browser/assets/images/mifos-logo-flat.png rename to assets/images/mifos-logo-flat.png diff --git a/browser/assets/images/mifos_lg-logo.jpg b/assets/images/mifos_lg-logo.jpg similarity index 100% rename from browser/assets/images/mifos_lg-logo.jpg rename to assets/images/mifos_lg-logo.jpg diff --git a/browser/assets/images/mifos_lg-logo.png b/assets/images/mifos_lg-logo.png similarity index 100% rename from browser/assets/images/mifos_lg-logo.png rename to assets/images/mifos_lg-logo.png diff --git a/browser/assets/images/recurring-deposits_account_placeholder.png b/assets/images/recurring-deposits_account_placeholder.png similarity index 100% rename from browser/assets/images/recurring-deposits_account_placeholder.png rename to assets/images/recurring-deposits_account_placeholder.png diff --git a/browser/assets/images/savings_account_placeholder.png b/assets/images/savings_account_placeholder.png similarity index 100% rename from browser/assets/images/savings_account_placeholder.png rename to assets/images/savings_account_placeholder.png diff --git a/browser/assets/images/shares_account_placeholder.png b/assets/images/shares_account_placeholder.png similarity index 100% rename from browser/assets/images/shares_account_placeholder.png rename to assets/images/shares_account_placeholder.png diff --git a/browser/assets/images/user_placeholder.png b/assets/images/user_placeholder.png similarity index 100% rename from browser/assets/images/user_placeholder.png rename to assets/images/user_placeholder.png diff --git a/browser/assets/mock/user.mock.json b/assets/mock/user.mock.json similarity index 100% rename from browser/assets/mock/user.mock.json rename to assets/mock/user.mock.json diff --git a/browser/assets/styles/_align.scss b/assets/styles/_align.scss similarity index 100% rename from browser/assets/styles/_align.scss rename to assets/styles/_align.scss diff --git a/browser/assets/styles/_background.scss b/assets/styles/_background.scss similarity index 100% rename from browser/assets/styles/_background.scss rename to assets/styles/_background.scss diff --git a/browser/assets/styles/_border.scss b/assets/styles/_border.scss similarity index 100% rename from browser/assets/styles/_border.scss rename to assets/styles/_border.scss diff --git a/browser/assets/styles/_colours.scss b/assets/styles/_colours.scss similarity index 100% rename from browser/assets/styles/_colours.scss rename to assets/styles/_colours.scss diff --git a/browser/assets/styles/_display.scss b/assets/styles/_display.scss similarity index 100% rename from browser/assets/styles/_display.scss rename to assets/styles/_display.scss diff --git a/browser/assets/styles/_float.scss b/assets/styles/_float.scss similarity index 100% rename from browser/assets/styles/_float.scss rename to assets/styles/_float.scss diff --git a/browser/assets/styles/_form.scss b/assets/styles/_form.scss similarity index 100% rename from browser/assets/styles/_form.scss rename to assets/styles/_form.scss diff --git a/browser/assets/styles/_helper.scss b/assets/styles/_helper.scss similarity index 100% rename from browser/assets/styles/_helper.scss rename to assets/styles/_helper.scss diff --git a/browser/assets/styles/_loader.scss b/assets/styles/_loader.scss similarity index 100% rename from browser/assets/styles/_loader.scss rename to assets/styles/_loader.scss diff --git a/browser/assets/styles/_margin.scss b/assets/styles/_margin.scss similarity index 100% rename from browser/assets/styles/_margin.scss rename to assets/styles/_margin.scss diff --git a/browser/assets/styles/_misc.scss b/assets/styles/_misc.scss similarity index 100% rename from browser/assets/styles/_misc.scss rename to assets/styles/_misc.scss diff --git a/browser/assets/styles/_overflow.scss b/assets/styles/_overflow.scss similarity index 100% rename from browser/assets/styles/_overflow.scss rename to assets/styles/_overflow.scss diff --git a/browser/assets/styles/_padding.scss b/assets/styles/_padding.scss similarity index 100% rename from browser/assets/styles/_padding.scss rename to assets/styles/_padding.scss diff --git a/browser/assets/styles/_position.scss b/assets/styles/_position.scss similarity index 100% rename from browser/assets/styles/_position.scss rename to assets/styles/_position.scss diff --git a/browser/assets/styles/_status.scss b/assets/styles/_status.scss similarity index 100% rename from browser/assets/styles/_status.scss rename to assets/styles/_status.scss diff --git a/browser/assets/styles/_text.scss b/assets/styles/_text.scss similarity index 100% rename from browser/assets/styles/_text.scss rename to assets/styles/_text.scss diff --git a/browser/assets/styles/_width-height.scss b/assets/styles/_width-height.scss similarity index 100% rename from browser/assets/styles/_width-height.scss rename to assets/styles/_width-height.scss diff --git a/browser/assets/styles/_z-index.scss b/assets/styles/_z-index.scss similarity index 100% rename from browser/assets/styles/_z-index.scss rename to assets/styles/_z-index.scss diff --git a/browser/assets/translations/cs-CS.json b/assets/translations/cs-CS.json similarity index 100% rename from browser/assets/translations/cs-CS.json rename to assets/translations/cs-CS.json diff --git a/browser/assets/translations/de-DE.json b/assets/translations/de-DE.json similarity index 100% rename from browser/assets/translations/de-DE.json rename to assets/translations/de-DE.json diff --git a/browser/assets/translations/en-US.json b/assets/translations/en-US.json similarity index 100% rename from browser/assets/translations/en-US.json rename to assets/translations/en-US.json diff --git a/browser/assets/translations/es-CL.json b/assets/translations/es-CL.json similarity index 100% rename from browser/assets/translations/es-CL.json rename to assets/translations/es-CL.json diff --git a/browser/assets/translations/es-MX.json b/assets/translations/es-MX.json similarity index 100% rename from browser/assets/translations/es-MX.json rename to assets/translations/es-MX.json diff --git a/browser/assets/translations/fr-FR.json b/assets/translations/fr-FR.json similarity index 100% rename from browser/assets/translations/fr-FR.json rename to assets/translations/fr-FR.json diff --git a/browser/assets/translations/it-IT.json b/assets/translations/it-IT.json similarity index 100% rename from browser/assets/translations/it-IT.json rename to assets/translations/it-IT.json diff --git a/browser/assets/translations/ko-KO.json b/assets/translations/ko-KO.json similarity index 100% rename from browser/assets/translations/ko-KO.json rename to assets/translations/ko-KO.json diff --git a/browser/assets/translations/lt-LT.json b/assets/translations/lt-LT.json similarity index 100% rename from browser/assets/translations/lt-LT.json rename to assets/translations/lt-LT.json diff --git a/browser/assets/translations/lv-LV.json b/assets/translations/lv-LV.json similarity index 100% rename from browser/assets/translations/lv-LV.json rename to assets/translations/lv-LV.json diff --git a/browser/assets/translations/ne-NE.json b/assets/translations/ne-NE.json similarity index 100% rename from browser/assets/translations/ne-NE.json rename to assets/translations/ne-NE.json diff --git a/browser/assets/translations/pt-PT.json b/assets/translations/pt-PT.json similarity index 100% rename from browser/assets/translations/pt-PT.json rename to assets/translations/pt-PT.json diff --git a/browser/assets/translations/sw-SW.json b/assets/translations/sw-SW.json similarity index 100% rename from browser/assets/translations/sw-SW.json rename to assets/translations/sw-SW.json diff --git a/browser/account-transfers.module-4HO2HR74.js b/browser/account-transfers.module-4HO2HR74.js deleted file mode 100644 index 6f2c244ee..000000000 --- a/browser/account-transfers.module-4HO2HR74.js +++ /dev/null @@ -1,1016 +0,0 @@ -import{a as D}from"./chunk-RO62NWKH.js";import{$ as a,Aa as Et,Ac as gt,Af as Fe,Ba as Dt,Bc as U,Bf as Me,C as R,Ca as E,Cd as Ee,D as Nt,Da as t,Ea as p,F as O,Fa as v,Ga as I,Gc as Z,H as A,Ha as ue,He as Rt,Hf as j,I as qt,Ic as G,Ie as Lt,Ja as fe,Jc as _,Je as Ht,Ka as xe,Kc as z,Kf as we,L as h,La as ve,Lc as tt,Le as jt,M as y,Me as $t,Oa as M,Oc as At,Oe as Ut,Pa as xt,Pb as N,Pc as Te,Pe as Gt,Qc as et,Ra as o,Rc as St,Re as zt,Sa as s,Sb as _t,Sc as he,Se as Qt,Ta as Pt,Tb as $,Tc as nt,Ue as Wt,Vb as ee,Wc as it,Wd as De,We as kt,X as te,Xd as Ae,Zb as X,Zc as at,_a as Ie,_b as L,_c as ye,_d as q,aa as g,ab as _e,ad as Tt,bb as K,be as H,cb as w,cg as Ne,dd as Q,de as dt,ed as rt,fa as u,fd as Ce,ha as m,hd as ot,id as W,jd as Vt,kd as Y,la as n,ld as st,ma as e,mc as ge,md as lt,na as f,nd as mt,oa as P,od as pt,pa as V,qd as be,qe as ut,ra as k,sa as T,ta as C,ud as ct,uf as ft,vc as B,wa as Ot,xc as Se,xf as ke,za as bt,zf as Be}from"./chunk-SR4VE5NL.js";import{a as Mt,b as wt}from"./chunk-O7S4L63H.js";var Qe=()=>["../","edit"],We=()=>["../","list-account-transactions"];function Ye(i,c){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",M(4,We)),a(),v(` - `,s(2,2,"labels.buttons.View Transactions History"),` - `))}function Je(i,c){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Within Bank")," "))}function Ke(i,c){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Own Account")," "))}var qe=(()=>{class i{constructor(r){this.route=r,this.allowclientedit=!1,this.route.data.subscribe(d=>{this.standingInstructionsData=d.standingInstructionsData,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1)})}static{this.\u0275fac=function(d){return new(d||i)(g(N))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-view-standing-instructions"]],decls:215,vars:90,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h2","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[4,"ngIf"]],template:function(d,l){d&1&&(n(0,"div",0),t(1,` - `),n(2,"button",1),t(3,` - `),f(4,"fa-icon",2),t(5),o(6,"translate"),e(),t(7,` - `),u(8,Ye,3,5,"button",3),t(9,` -`),e(),t(10,` - -`),n(11,"div",4),t(12,` - `),n(13,"mat-card"),t(14,` - `),n(15,"mat-card-content"),t(16,` - `),n(17,"div",5),t(18,` - `),n(19,"h2",6),t(20),e(),t(21,` - - `),f(22,"mat-divider",7),t(23,` - - `),n(24,"div",8),t(25,` - `),n(26,"span",9),t(27),o(28,"translate"),e(),t(29,` - `),n(30,"span",10),t(31),e(),t(32,` - `),e(),t(33,` - - `),n(34,"div",8),t(35,` - `),n(36,"span",9),t(37),o(38,"translate"),e(),t(39,` - `),n(40,"span",10),t(41),e(),t(42,` - `),e(),t(43,` - - `),n(44,"div",8),t(45,` - `),n(46,"span",9),t(47),o(48,"translate"),e(),t(49,` - `),n(50,"span",10),t(51),e(),t(52,` - `),e(),t(53,` - - `),n(54,"div",8),t(55,` - `),n(56,"span",9),t(57),o(58,"translate"),e(),t(59,` - `),n(60,"span",10),t(61),e(),t(62,` - `),e(),t(63,` - - `),n(64,"div",8),t(65,` - `),n(66,"span",9),t(67),o(68,"translate"),e(),t(69,` - `),n(70,"span",10),t(71),e(),t(72,` - `),e(),t(73,` - - `),n(74,"div",8),t(75,` - `),n(76,"span",9),t(77),o(78,"translate"),e(),t(79,` - `),n(80,"span",10),t(81),e(),t(82,` - `),e(),t(83,` - - `),n(84,"div",8),t(85,` - `),n(86,"span",9),t(87),o(88,"translate"),e(),t(89,` - `),n(90,"span",10),t(91,` - `),u(92,Je,3,3,"span",11),t(93,` - `),u(94,Ke,3,3,"span",11),t(95,` - `),e(),t(96,` - `),e(),t(97,` - - `),n(98,"div",8),t(99,` - `),n(100,"span",9),t(101),o(102,"translate"),e(),t(103,` - `),n(104,"span",10),t(105),e(),t(106,` - `),e(),t(107,` - - `),n(108,"div",8),t(109,` - `),n(110,"span",9),t(111),o(112,"translate"),e(),t(113,` - `),n(114,"span",10),t(115),e(),t(116,` - `),e(),t(117,` - - `),n(118,"div",8),t(119,` - `),n(120,"span",9),t(121),o(122,"translate"),e(),t(123,` - `),n(124,"span",10),t(125),e(),t(126,` - `),e(),t(127,` - - `),n(128,"div",8),t(129,` - `),n(130,"span",9),t(131),o(132,"translate"),e(),t(133,` - `),n(134,"span",10),t(135),e(),t(136,` - `),e(),t(137,` - - `),n(138,"div",8),t(139,` - `),n(140,"span",9),t(141),o(142,"translate"),e(),t(143,` - `),n(144,"span",10),t(145),e(),t(146,` - `),e(),t(147,` - - `),n(148,"div",8),t(149,` - `),n(150,"span",9),t(151),o(152,"translate"),e(),t(153,` - `),n(154,"span",10),t(155),e(),t(156,` - `),e(),t(157,` - - `),n(158,"div",8),t(159,` - `),n(160,"span",9),t(161),o(162,"translate"),e(),t(163,` - `),n(164,"span",10),t(165),o(166,"dateFormat"),o(167,"dateFormat"),e(),t(168,` - `),e(),t(169,` - - `),n(170,"div",8),t(171,` - `),n(172,"span",9),t(173),o(174,"translate"),e(),t(175,` - `),n(176,"span",10),t(177),e(),t(178,` - `),e(),t(179,` - - `),n(180,"div",8),t(181,` - `),n(182,"span",9),t(183),o(184,"translate"),e(),t(185,` - `),n(186,"span",10),t(187),e(),t(188,` - `),e(),t(189,` - - `),n(190,"div",8),t(191,` - `),n(192,"span",9),t(193),o(194,"translate"),e(),t(195,` - `),n(196,"span",10),t(197),e(),t(198,` - `),e(),t(199,` - - `),n(200,"div",8),t(201,` - `),n(202,"span",9),t(203),o(204,"translate"),e(),t(205,` - `),n(206,"span",10),t(207),o(208,"dateFormat"),e(),t(209,` - `),e(),t(210,` - `),e(),t(211,` - `),e(),t(212,` - `),e(),t(213,` -`),e(),t(214,` -`)),d&2&&(a(2),m("routerLink",M(89,Qe)),a(3),v(` - `,s(6,45,"labels.buttons.Edit"),` - `),a(3),m("mifosxHasPermission","READ_ACCOUNTTRANSFER"),a(12),p(l.standingInstructionsData.name),a(2),m("inset",!0),a(5),v("",s(28,47,"labels.inputs.Applicant"),":"),a(4),p(l.standingInstructionsData.fromClient.displayName),a(6),v("",s(38,49,"labels.inputs.Type"),":"),a(4),p(l.standingInstructionsData.transferType.value),a(6),v("",s(48,51,"labels.inputs.Priority"),":"),a(4),p(l.standingInstructionsData.priority.value),a(6),v("",s(58,53,"labels.inputs.Status"),":"),a(4),p(l.standingInstructionsData.status.value),a(6),v("",s(68,55,"labels.inputs.From Account Type"),":"),a(4),p(l.standingInstructionsData.fromAccountType.value),a(6),v("",s(78,57,"labels.inputs.From Account"),":"),a(4),I("",l.standingInstructionsData.fromAccount.productName,` - - `,l.standingInstructionsData.fromAccount.accountNo,""),a(6),v("",s(88,59,"labels.inputs.Destination"),":"),a(5),m("ngIf",l.allowclientedit),a(2),m("ngIf",!l.allowclientedit),a(7),v("",s(102,61,"labels.inputs.To Office"),":"),a(4),p(l.standingInstructionsData.toOffice.name),a(6),v("",s(112,63,"labels.inputs.Beneficiary"),":"),a(4),p(l.standingInstructionsData.toClient.displayName),a(6),v("",s(122,65,"labels.inputs.To Account Type"),":"),a(4),p(l.standingInstructionsData.toAccountType.value),a(6),v("",s(132,67,"labels.inputs.To Account"),":"),a(4),I("",l.standingInstructionsData.toAccount.productName,` - - `,l.standingInstructionsData.toAccount.accountNo,""),a(6),v("",s(142,69,"labels.inputs.Standing Instruction Type"),":"),a(4),p(l.standingInstructionsData.instructionType.value),a(6),v("",s(152,71,"labels.inputs.Amount"),":"),a(4),p(l.standingInstructionsData.amount),a(6),v("",s(162,73,"labels.inputs.Validity"),":"),a(4),I("",s(166,75,l.standingInstructionsData.validFrom),` - - `,s(167,77,l.standingInstructionsData.validTill),""),a(8),v("",s(174,79,"labels.inputs.Recurrence Type"),":"),a(4),p(l.standingInstructionsData.recurrenceType.value),a(6),v("",s(184,81,"labels.inputs.Interval"),":"),a(4),p(l.standingInstructionsData.recurrenceInterval),a(6),v("",s(194,83,"labels.inputs.Recurrence Frequency"),":"),a(4),p(l.standingInstructionsData.recurrenceFrequency.value),a(6),v("",s(204,85,"labels.inputs.On Month Day"),":"),a(4),p(s(208,87,l.standingInstructionsData.recurrenceOnMonthDay)))},dependencies:[w,Z,L,q,H,ct,j,$,B,ft],styles:[".mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}.margin-t[_ngcontent-%COMP%]{margin-top:1em}mat-divider[_ngcontent-%COMP%]{margin:0 0 1em}"]})}}return i})();var Xe=()=>["../view"];function Ze(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function tn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Priority")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function en(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function nn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Status")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function an(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function rn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Valid From Date")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function on(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Valid Till Date")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function sn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function ln(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Recurrence Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function mn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function pn(i,c){if(i&1){let r=k();n(0,"button",35),T("click",function(){h(r);let l=C();return y(l.submit())}),t(1),o(2,"translate"),e()}if(i&2){let r=C();m("disabled",!r.editStandingInstructionsForm.valid),a(),v(` - `,s(2,2,"labels.buttons.Submit"),` - `)}}var Pe=(()=>{class i{constructor(r,d,l,x,S,b){this.formBuilder=r,this.route=d,this.router=l,this.accountTransfersService=x,this.settingsService=S,this.dateUtils=b,this.allowclientedit=!1,this.minDate=new Date(2e3,0,1),this.maxDate=new Date(2100,0,1),this.route.data.subscribe(It=>{this.standingInstructionsData=It.standingInstructionsDataAndTemplate,this.standingInstructionsId=It.standingInstructionsDataAndTemplate.id,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1),this.setOptions()})}ngOnInit(){this.createEditStandingInstructionsForm();let d=new Date().getFullYear();this.standingInstructionsData.recurrenceOnMonthDay&&this.standingInstructionsData.recurrenceOnMonthDay.push(d),this.editStandingInstructionsForm.patchValue({name:this.standingInstructionsData.name,applicant:this.standingInstructionsData.fromClient.displayName,type:this.standingInstructionsData.transferType.value,priority:this.standingInstructionsData.priority.id,status:this.standingInstructionsData.status.id,fromAccountType:this.standingInstructionsData.fromAccountType.value,fromAccount:this.standingInstructionsData.fromAccount.productName,destination:this.allowclientedit?"Within Bank":"Own Account",toOffice:this.standingInstructionsData.toOffice.name,toClientId:this.standingInstructionsData.toClient.displayName,toAccountType:this.standingInstructionsData.toAccountType.value,toAccount:this.standingInstructionsData.toAccount.productName,instructionType:this.standingInstructionsData.instructionType.id,amount:this.standingInstructionsData.amount,validFrom:this.standingInstructionsData.validFrom&&new Date(this.standingInstructionsData.validFrom),validTill:this.standingInstructionsData.validTill&&new Date(this.standingInstructionsData.validTill),recurrenceType:this.standingInstructionsData.recurrenceType.id,recurrenceInterval:this.standingInstructionsData.recurrenceInterval,recurrenceFrequency:this.standingInstructionsData.recurrenceFrequency.id,recurrenceOnMonthDay:this.standingInstructionsData.recurrenceOnMonthDay&&new Date(this.standingInstructionsData.recurrenceOnMonthDay)})}createEditStandingInstructionsForm(){this.editStandingInstructionsForm=this.formBuilder.group({name:[{value:"",disabled:!0}],applicant:[{value:"",disabled:!0}],type:[{value:"",disabled:!0}],priority:["",_.required],status:["",_.required],fromAccountType:[{value:"",disabled:!0}],fromAccount:[{value:"",disabled:!0}],destination:[{value:"",disabled:!0}],toOffice:[{value:"",disabled:!0}],toClientId:[{value:"",disabled:!0}],toAccountType:[{value:"",disabled:!0}],toAccount:[{value:"",disabled:!0}],instructionType:"",amount:"",validFrom:["",_.required],validTill:["",_.required],recurrenceType:["",_.required],recurrenceInterval:"",recurrenceFrequency:"",recurrenceOnMonthDay:""})}setOptions(){this.priorityTypeData=this.standingInstructionsData.priorityOptions,this.statusTypeData=this.standingInstructionsData.statusOptions,this.instructionTypeData=this.standingInstructionsData.instructionTypeOptions,this.recurrenceTypeData=this.standingInstructionsData.recurrenceTypeOptions,this.recurrenceFrequencyTypeData=this.standingInstructionsData.recurrenceFrequencyOptions}submit(){let r=this.settingsService.dateFormat,d=this.settingsService.language.code,l={amount:this.editStandingInstructionsForm.value.amount,dateFormat:r,instructionType:this.editStandingInstructionsForm.value.instructionType,locale:d,monthDayFormat:"dd MMMM",priority:this.editStandingInstructionsForm.value.priority,recurrenceFrequency:this.editStandingInstructionsForm.value.recurrenceFrequency,recurrenceInterval:this.editStandingInstructionsForm.value.recurrenceInterval,recurrenceOnMonthDay:this.dateUtils.formatDate(this.editStandingInstructionsForm.value.recurrenceOnMonthDay,"dd MMMM"),recurrenceType:this.editStandingInstructionsForm.value.recurrenceType,status:this.editStandingInstructionsForm.value.status,validFrom:this.dateUtils.formatDate(this.editStandingInstructionsForm.value.validFrom,r),validTill:this.dateUtils.formatDate(this.editStandingInstructionsForm.value.validTill,r)};this.accountTransfersService.updateStandingInstructionsData(this.standingInstructionsId,l).subscribe(x=>{this.router.navigate(["../view"],{relativeTo:this.route})})}static{this.\u0275fac=function(d){return new(d||i)(g(Tt),g(N),g(_t),g(D),g(U),g(gt))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-edit-standing-instructions"]],decls:244,vars:89,consts:[["validFromDatePicker",""],["validTillDatePicker",""],["recurrenceOnMonthDayDatePicker",""],[1,"container"],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["matInput","","formControlName","name"],["matInput","","formControlName","applicant"],["matInput","","formControlName","type"],["matInput","","formControlName","fromAccountType"],["required","","formControlName","priority"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["required","","formControlName","status"],["matInput","","formControlName","fromAccount"],["matInput","","formControlName","destination"],["matInput","","formControlName","toOffice"],["matInput","","formControlName","toClientId"],["matInput","","formControlName","toAccountType"],["matInput","","formControlName","toAccount"],["formControlName","instructionType"],["matInput","","formControlName","amount"],[1,"flex-48",3,"click"],["matInput","","required","","formControlName","validFrom",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","validTill",3,"min","max","matDatepicker"],["required","","formControlName","recurrenceType"],["matInput","","formControlName","recurrenceInterval"],["formControlName","recurrenceFrequency"],["matInput","","formControlName","recurrenceOnMonthDay",3,"min","max","matDatepicker"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled","click",4,"mifosxHasPermission"],[3,"value"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(d,l){if(d&1){let x=k();n(0,"div",3),t(1,` - `),n(2,"mat-card"),t(3,` - `),n(4,"form",4),t(5,` - `),n(6,"mat-card-content"),t(7,` - `),n(8,"div",5),t(9,` - `),n(10,"mat-form-field",6),t(11,` - `),n(12,"mat-label"),t(13),o(14,"translate"),e(),t(15,` - `),f(16,"input",7),t(17,` - `),e(),t(18,` - - `),n(19,"mat-form-field",6),t(20,` - `),n(21,"mat-label"),t(22),o(23,"translate"),e(),t(24,` - `),f(25,"input",8),t(26,` - `),e(),t(27,` - - `),n(28,"mat-form-field",6),t(29,` - `),n(30,"mat-label"),t(31),o(32,"translate"),e(),t(33,` - `),f(34,"input",9),t(35,` - `),e(),t(36,` - - `),n(37,"mat-form-field",6),t(38,` - `),n(39,"mat-label"),t(40),o(41,"translate"),e(),t(42,` - `),f(43,"input",10),t(44,` - `),e(),t(45,` - - `),n(46,"mat-form-field",6),t(47,` - `),n(48,"mat-label"),t(49),o(50,"translate"),e(),t(51,` - `),n(52,"mat-select",11),t(53,` - `),u(54,Ze,2,2,"mat-option",12),t(55,` - `),e(),t(56,` - `),u(57,tn,8,9,"mat-error",13),t(58,` - `),e(),t(59,` - - `),n(60,"mat-form-field",6),t(61,` - `),n(62,"mat-label"),t(63),o(64,"translate"),e(),t(65,` - `),n(66,"mat-select",14),t(67,` - `),u(68,en,2,2,"mat-option",12),t(69,` - `),e(),t(70,` - `),u(71,nn,8,9,"mat-error",13),t(72,` - `),e(),t(73,` - - `),n(74,"mat-form-field",6),t(75,` - `),n(76,"mat-label"),t(77),o(78,"translate"),e(),t(79,` - `),f(80,"input",15),t(81,` - `),e(),t(82,` - - `),n(83,"mat-form-field",6),t(84,` - `),n(85,"mat-label"),t(86),o(87,"translate"),e(),t(88,` - `),f(89,"input",16),t(90,` - `),e(),t(91,` - - `),n(92,"mat-form-field",6),t(93,` - `),n(94,"mat-label"),t(95),o(96,"translate"),e(),t(97,` - `),f(98,"input",17),t(99,` - `),e(),t(100,` - - `),n(101,"mat-form-field",6),t(102,` - `),n(103,"mat-label"),t(104),o(105,"translate"),e(),t(106,` - `),f(107,"input",18),t(108,` - `),e(),t(109,` - - `),n(110,"mat-form-field",6),t(111,` - `),n(112,"mat-label"),t(113),o(114,"translate"),e(),t(115,` - `),f(116,"input",19),t(117,` - `),e(),t(118,` - - `),n(119,"mat-form-field",6),t(120,` - `),n(121,"mat-label"),t(122),o(123,"translate"),e(),t(124,` - `),f(125,"input",20),t(126,` - `),e(),t(127,` - - `),n(128,"mat-form-field",6),t(129,` - `),n(130,"mat-label"),t(131),o(132,"translate"),e(),t(133,` - `),n(134,"mat-select",21),t(135,` - `),u(136,an,2,2,"mat-option",12),t(137,` - `),e(),t(138,` - `),e(),t(139,` - - `),n(140,"mat-form-field",6),t(141,` - `),n(142,"mat-label"),t(143),o(144,"translate"),e(),t(145,` - `),f(146,"input",22),t(147,` - `),e(),t(148,` - - `),n(149,"mat-form-field",23),T("click",function(){h(x);let b=E(160);return y(b.open())}),t(150,` - `),n(151,"mat-label"),t(152),o(153,"translate"),e(),t(154,` - `),f(155,"input",24),t(156,` - `),f(157,"mat-datepicker-toggle",25),t(158,` - `),f(159,"mat-datepicker",null,0),t(161,` - `),u(162,rn,8,9,"mat-error",13),t(163,` - `),e(),t(164,` - - `),n(165,"mat-form-field",23),T("click",function(){h(x);let b=E(176);return y(b.open())}),t(166,` - `),n(167,"mat-label"),t(168),o(169,"translate"),e(),t(170,` - `),f(171,"input",26),t(172,` - `),f(173,"mat-datepicker-toggle",25),t(174,` - `),f(175,"mat-datepicker",null,1),t(177,` - `),u(178,on,8,9,"mat-error",13),t(179,` - `),e(),t(180,` - - `),n(181,"mat-form-field",6),t(182,` - `),n(183,"mat-label"),t(184),o(185,"translate"),e(),t(186,` - `),n(187,"mat-select",27),t(188,` - `),u(189,sn,2,2,"mat-option",12),t(190,` - `),e(),t(191,` - `),u(192,ln,8,9,"mat-error",13),t(193,` - `),e(),t(194,` - - `),n(195,"mat-form-field",6),t(196,` - `),n(197,"mat-label"),t(198),o(199,"translate"),e(),t(200,` - `),f(201,"input",28),t(202,` - `),e(),t(203,` - - `),n(204,"mat-form-field",6),t(205,` - `),n(206,"mat-label"),t(207),o(208,"translate"),e(),t(209,` - `),n(210,"mat-select",29),t(211,` - `),u(212,mn,2,2,"mat-option",12),t(213,` - `),e(),t(214,` - `),e(),t(215,` - - `),n(216,"mat-form-field",23),T("click",function(){h(x);let b=E(227);return y(b.open())}),t(217,` - `),n(218,"mat-label"),t(219),o(220,"translate"),e(),t(221,` - `),f(222,"input",30),t(223,` - `),f(224,"mat-datepicker-toggle",25),t(225,` - `),f(226,"mat-datepicker",null,2),t(228,` - `),e(),t(229,` - `),e(),t(230,` - `),e(),t(231,` - - `),n(232,"mat-card-actions",31),t(233,` - `),n(234,"button",32),t(235),o(236,"translate"),e(),t(237,` - `),u(238,pn,3,4,"button",33),t(239,` - `),e(),t(240,` - `),e(),t(241,` - `),e(),t(242,` -`),e(),t(243,` -`)}if(d&2){let x=E(160),S=E(176),b=E(227);a(4),m("formGroup",l.editStandingInstructionsForm),a(9),p(s(14,46,"labels.inputs.name")),a(9),p(s(23,48,"labels.inputs.Applicant")),a(9),p(s(32,50,"labels.inputs.Type")),a(9),p(s(41,52,"labels.inputs.From Account Type")),a(9),p(s(50,54,"labels.inputs.Priority")),a(5),m("ngForOf",l.priorityTypeData),a(3),m("ngIf",l.editStandingInstructionsForm.controls.priority.hasError("required")),a(6),p(s(64,56,"labels.inputs.Status")),a(5),m("ngForOf",l.statusTypeData),a(3),m("ngIf",l.editStandingInstructionsForm.controls.status.hasError("required")),a(6),p(s(78,58,"labels.inputs.From Account")),a(9),p(s(87,60,"labels.inputs.Destination")),a(9),p(s(96,62,"labels.inputs.To Office")),a(9),p(s(105,64,"labels.inputs.Beneficiary")),a(9),p(s(114,66,"labels.inputs.To Account Type")),a(9),p(s(123,68,"labels.inputs.To Account")),a(9),p(s(132,70,"labels.inputs.Standing Instruction Type")),a(5),m("ngForOf",l.instructionTypeData),a(7),p(s(144,72,"labels.inputs.Amount")),a(9),p(s(153,74,"labels.inputs.Validity from")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",x),a(2),m("for",x),a(5),m("ngIf",l.editStandingInstructionsForm.controls.validFrom.hasError("required")),a(6),p(s(169,76,"labels.inputs.Validity To")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",S),a(2),m("for",S),a(5),m("ngIf",l.editStandingInstructionsForm.controls.validTill.hasError("required")),a(6),p(s(185,78,"labels.inputs.Recurrence Type")),a(5),m("ngForOf",l.recurrenceTypeData),a(3),m("ngIf",l.editStandingInstructionsForm.controls.recurrenceType.hasError("required")),a(6),p(s(199,80,"labels.inputs.Interval")),a(9),p(s(208,82,"labels.inputs.Recurrence Frequency")),a(5),m("ngForOf",l.recurrenceFrequencyTypeData),a(7),p(s(220,84,"labels.inputs.On Month Day")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",b),a(2),m("for",b),a(10),m("routerLink",M(88,Xe)),a(),v(` - `,s(236,86,"labels.buttons.Cancel"),` - `),a(3),m("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION")}},dependencies:[K,w,X,L,q,dt,H,st,lt,mt,W,Q,rt,ot,Y,pt,et,G,z,tt,at,nt,it,j,$,B]})}}return i})();var cn=()=>["../"];function dn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.name")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.inputs.required")))}function un(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function fn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Transfer Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.inputs.required")))}function xn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function vn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Priority")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function In(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function _n(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Status")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function gn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function Sn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.From Account Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Tn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),I(` - `,r.productName," - ",r.accountNo,` - `)}}function hn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.From Account")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function yn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function Cn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Destination")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function bn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.name,` - `)}}function En(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.To Office")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Dn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.displayName,` - `)}}function An(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Beneficiary")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function kn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function Bn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.To Account Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Fn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),I(` - `,r.productName," - ",r.accountNo,` - `)}}function Mn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.To Account")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function wn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function Nn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Standing Instruction Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function qn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Amount")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function On(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Valid From Date")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Pn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Valid Till Date")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Vn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function Rn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Recurrence Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Ln(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Recurrence Interval")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Hn(i,c){if(i&1&&(n(0,"mat-option",34),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function jn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Recurrence Frequency")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function $n(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.On Month Day")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Un(i,c){if(i&1){let r=k();n(0,"button",35),T("click",function(){h(r);let l=C();return y(l.submit())}),t(1),o(2,"translate"),e()}if(i&2){let r=C();m("disabled",!r.createStandingInstructionsForm.valid),a(),v(` - `,s(2,2,"labels.buttons.Submit"),` - `)}}var Ve=(()=>{class i{constructor(r,d,l,x,S,b){this.formBuilder=r,this.route=d,this.router=l,this.accountTransfersService=x,this.settingsService=S,this.dateUtils=b,this.minDate=new Date(2e3,0,1),this.maxDate=new Date(2100,0,1),this.allowclientedit=!0,this.route.data.subscribe(It=>{this.standingIntructionsTemplate=It.standingIntructionsTemplate,this.setParams(),this.setOptions()})}setParams(){switch(this.officeId=this.route.snapshot.queryParams.officeId,this.accountType=this.route.snapshot.queryParams.accountType,this.clientId=this.route.parent.snapshot.params.clientId,this.accountType){case"fromloans":this.accountTypeId="1";break;case"fromsavings":this.accountTypeId="2";break;default:this.accountTypeId="0"}}ngOnInit(){this.createCreateStandingInstructionsForm(),this.buildDependencies(),this.createStandingInstructionsForm.patchValue({applicant:this.standingIntructionsTemplate.fromClient.displayName})}createCreateStandingInstructionsForm(){this.createStandingInstructionsForm=this.formBuilder.group({name:["",_.required],applicant:[{value:"",disabled:!0}],transferType:["",_.required],priority:["",_.required],status:["",_.required],fromAccountType:["",_.required],fromAccountId:["",_.required],destination:["",_.required],toOfficeId:["",_.required],toClientId:["",_.required],toAccountType:["",_.required],toAccountId:["",_.required],instructionType:["",_.required],amount:["",_.required],validFrom:["",_.required],validTill:["",_.required],recurrenceType:["",_.required],recurrenceInterval:["",_.required],recurrenceFrequency:["",_.required],recurrenceOnMonthDay:["",_.required]})}setOptions(){this.transferTypeData=this.standingIntructionsTemplate.transferTypeOptions,this.priorityTypeData=this.standingIntructionsTemplate.priorityOptions,this.statusTypeData=this.standingIntructionsTemplate.statusOptions,this.fromAccountTypeData=this.standingIntructionsTemplate.fromAccountTypeOptions,this.fromAccountData=this.standingIntructionsTemplate.fromAccountOptions,this.destinationTypeData=[{id:1,value:"own account"},{id:2,value:"with in bank"}],this.toOfficeTypeData=this.standingIntructionsTemplate.toOfficeOptions,this.toClientTypeData=this.standingIntructionsTemplate.toClientOptions,this.toAccountTypeData=this.standingIntructionsTemplate.toAccountTypeOptions,this.toAccountData=this.standingIntructionsTemplate.toAccountOptions,this.instructionTypeData=this.standingIntructionsTemplate.instructionTypeOptions,this.recurrenceTypeData=this.standingIntructionsTemplate.recurrenceTypeOptions,this.recurrenceFrequencyTypeData=this.standingIntructionsTemplate.recurrenceFrequencyOptions}buildDependencies(){this.createStandingInstructionsForm.get("destination").valueChanges.subscribe(r=>{r===1?(this.allowclientedit=!1,this.createStandingInstructionsForm.patchValue({toOfficeId:this.officeId,toClientId:this.clientId}),this.ToOfficeId=!0,this.ToClientId=!0,this.changeEvent()):(this.allowclientedit=!0,this.createStandingInstructionsForm.patchValue({toOfficeId:"",toClientId:""}),this.createStandingInstructionsForm.controls.toOfficeId.enable(),this.createStandingInstructionsForm.controls.toClientId.enable())})}changeEvent(){let r=this.refineObject(this.createStandingInstructionsForm.value);this.accountTransfersService.getStandingInstructionsTemplate(this.clientId,this.officeId,this.accountTypeId,r).subscribe(d=>{this.standingIntructionsTemplate=d,this.setOptions()})}refineObject(r){let d=Object.getOwnPropertyNames(r);for(let l=0;l{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(d){return new(d||i)(g(Tt),g(N),g(_t),g(D),g(U),g(gt))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-create-standing-instructions"]],decls:296,vars:113,consts:[["validFromDatePicker",""],["validTillDatePicker",""],["recurrenceOnMonthDayDatePicker",""],[1,"container"],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["matInput","","required","","formControlName","name"],[4,"ngIf"],["matInput","","formControlName","applicant"],["required","","formControlName","transferType",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["required","","formControlName","priority"],["required","","formControlName","status"],["required","","formControlName","fromAccountType",3,"selectionChange"],["required","","formControlName","fromAccountId",3,"selectionChange"],["required","","formControlName","destination"],["required","","formControlName","toOfficeId",3,"selectionChange","disabled"],["required","","formControlName","toClientId",3,"selectionChange","disabled"],["required","","formControlName","toAccountType",3,"selectionChange"],["required","","formControlName","toAccountId",3,"selectionChange"],["formControlName","instructionType"],["type","number","matInput","","required","","formControlName","amount"],[1,"flex-48",3,"click"],["matInput","","required","","formControlName","validFrom",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","validTill",3,"min","max","matDatepicker"],["required","","formControlName","recurrenceType"],["type","number","matInput","","required","","formControlName","recurrenceInterval"],["required","","formControlName","recurrenceFrequency"],["required","","matInput","","formControlName","recurrenceOnMonthDay",3,"min","max","matDatepicker"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled","click",4,"mifosxHasPermission"],[3,"value"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(d,l){if(d&1){let x=k();n(0,"div",3),t(1,` - `),n(2,"mat-card"),t(3,` - `),n(4,"form",4),t(5,` - `),n(6,"mat-card-content"),t(7,` - `),n(8,"div",5),t(9,` - `),n(10,"mat-form-field",6),t(11,` - `),n(12,"mat-label"),t(13),o(14,"translate"),e(),t(15,` - `),f(16,"input",7),t(17,` - `),u(18,dn,8,9,"mat-error",8),t(19,` - `),e(),t(20,` - - `),n(21,"mat-form-field",6),t(22,` - `),n(23,"mat-label"),t(24),o(25,"translate"),e(),t(26,` - `),f(27,"input",9),t(28,` - `),e(),t(29,` - - `),n(30,"mat-form-field",6),t(31,` - `),n(32,"mat-label"),t(33),o(34,"translate"),e(),t(35,` - `),n(36,"mat-select",10),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(37,` - `),u(38,un,2,2,"mat-option",11),t(39,` - `),e(),t(40,` - `),u(41,fn,8,9,"mat-error",8),t(42,` - `),e(),t(43,` - - `),n(44,"mat-form-field",6),t(45,` - `),n(46,"mat-label"),t(47),o(48,"translate"),e(),t(49,` - `),n(50,"mat-select",12),t(51,` - `),u(52,xn,2,2,"mat-option",11),t(53,` - `),e(),t(54,` - `),u(55,vn,8,9,"mat-error",8),t(56,` - `),e(),t(57,` - - `),n(58,"mat-form-field",6),t(59,` - `),n(60,"mat-label"),t(61),o(62,"translate"),e(),t(63,` - `),n(64,"mat-select",13),t(65,` - `),u(66,In,2,2,"mat-option",11),t(67,` - `),e(),t(68,` - `),u(69,_n,8,9,"mat-error",8),t(70,` - `),e(),t(71,` - - `),n(72,"mat-form-field",6),t(73,` - `),n(74,"mat-label"),t(75),o(76,"translate"),e(),t(77,` - `),n(78,"mat-select",14),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(79,` - `),u(80,gn,2,2,"mat-option",11),t(81,` - `),e(),t(82,` - `),u(83,Sn,8,9,"mat-error",8),t(84,` - `),e(),t(85,` - - `),n(86,"mat-form-field",6),t(87,` - `),n(88,"mat-label"),t(89),o(90,"translate"),e(),t(91,` - `),n(92,"mat-select",15),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(93,` - `),u(94,Tn,2,3,"mat-option",11),t(95,` - `),e(),t(96,` - `),u(97,hn,8,9,"mat-error",8),t(98,` - `),e(),t(99,` - - `),n(100,"mat-form-field",6),t(101,` - `),n(102,"mat-label"),t(103),o(104,"translate"),e(),t(105,` - `),n(106,"mat-select",16),t(107,` - `),u(108,yn,2,2,"mat-option",11),t(109,` - `),e(),t(110,` - `),u(111,Cn,8,9,"mat-error",8),t(112,` - `),e(),t(113,` - - `),n(114,"mat-form-field",6),t(115,` - `),n(116,"mat-label"),t(117),o(118,"translate"),e(),t(119,` - `),n(120,"mat-select",17),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(121,` - `),u(122,bn,2,2,"mat-option",11),t(123,` - `),e(),t(124,` - `),u(125,En,8,9,"mat-error",8),t(126,` - `),e(),t(127,` - - `),n(128,"mat-form-field",6),t(129,` - `),n(130,"mat-label"),t(131),o(132,"translate"),e(),t(133,` - `),n(134,"mat-select",18),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(135,` - `),u(136,Dn,2,2,"mat-option",11),t(137,` - `),e(),t(138,` - `),u(139,An,8,9,"mat-error",8),t(140,` - `),e(),t(141,` - - `),n(142,"mat-form-field",6),t(143,` - `),n(144,"mat-label"),t(145),o(146,"translate"),e(),t(147,` - `),n(148,"mat-select",19),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(149,` - `),u(150,kn,2,2,"mat-option",11),t(151,` - `),e(),t(152,` - `),u(153,Bn,8,9,"mat-error",8),t(154,` - `),e(),t(155,` - - `),n(156,"mat-form-field",6),t(157,` - `),n(158,"mat-label"),t(159),o(160,"translate"),e(),t(161,` - `),n(162,"mat-select",20),T("selectionChange",function(){return h(x),y(l.changeEvent())}),t(163,` - `),u(164,Fn,2,3,"mat-option",11),t(165,` - `),e(),t(166,` - `),u(167,Mn,8,9,"mat-error",8),t(168,` - `),e(),t(169,` - - `),n(170,"mat-form-field",6),t(171,` - `),n(172,"mat-label"),t(173),o(174,"translate"),e(),t(175,` - `),n(176,"mat-select",21),t(177,` - `),u(178,wn,2,2,"mat-option",11),t(179,` - `),e(),t(180,` - `),u(181,Nn,8,9,"mat-error",8),t(182,` - `),e(),t(183,` - - `),n(184,"mat-form-field",6),t(185,` - `),n(186,"mat-label"),t(187),o(188,"translate"),e(),t(189,` - `),f(190,"input",22),t(191,` - `),u(192,qn,8,9,"mat-error",8),t(193,` - `),e(),t(194,` - - `),n(195,"mat-form-field",23),T("click",function(){h(x);let b=E(206);return y(b.open())}),t(196,` - `),n(197,"mat-label"),t(198),o(199,"translate"),e(),t(200,` - `),f(201,"input",24),t(202,` - `),f(203,"mat-datepicker-toggle",25),t(204,` - `),f(205,"mat-datepicker",null,0),t(207,` - `),u(208,On,8,9,"mat-error",8),t(209,` - `),e(),t(210,` - - `),n(211,"mat-form-field",23),T("click",function(){h(x);let b=E(222);return y(b.open())}),t(212,` - `),n(213,"mat-label"),t(214),o(215,"translate"),e(),t(216,` - `),f(217,"input",26),t(218,` - `),f(219,"mat-datepicker-toggle",25),t(220,` - `),f(221,"mat-datepicker",null,1),t(223,` - `),u(224,Pn,8,9,"mat-error",8),t(225,` - `),e(),t(226,` - - `),n(227,"mat-form-field",6),t(228,` - `),n(229,"mat-label"),t(230),o(231,"translate"),e(),t(232,` - `),n(233,"mat-select",27),t(234,` - `),u(235,Vn,2,2,"mat-option",11),t(236,` - `),e(),t(237,` - `),u(238,Rn,8,9,"mat-error",8),t(239,` - `),e(),t(240,` - - `),n(241,"mat-form-field",6),t(242,` - `),n(243,"mat-label"),t(244),o(245,"translate"),e(),t(246,` - `),f(247,"input",28),t(248,` - `),u(249,Ln,8,9,"mat-error",8),t(250,` - `),e(),t(251,` - - `),n(252,"mat-form-field",6),t(253,` - `),n(254,"mat-label"),t(255),o(256,"translate"),e(),t(257,` - `),n(258,"mat-select",29),t(259,` - `),u(260,Hn,2,2,"mat-option",11),t(261,` - `),e(),t(262,` - `),u(263,jn,8,9,"mat-error",8),t(264,` - `),e(),t(265,` - - `),n(266,"mat-form-field",23),T("click",function(){h(x);let b=E(277);return y(b.open())}),t(267,` - `),n(268,"mat-label"),t(269),o(270,"translate"),e(),t(271,` - `),f(272,"input",30),t(273,` - `),f(274,"mat-datepicker-toggle",25),t(275,` - `),f(276,"mat-datepicker",null,2),t(278,` - `),u(279,$n,8,9,"mat-error",8),t(280,` - `),e(),t(281,` - `),e(),t(282,` - `),e(),t(283,` - - `),n(284,"mat-card-actions",31),t(285,` - `),n(286,"button",32),t(287),o(288,"translate"),e(),t(289,` - `),u(290,Un,3,4,"button",33),t(291,` - `),e(),t(292,` - `),e(),t(293,` - `),e(),t(294,` -`),e(),t(295,` -`)}if(d&2){let x=E(206),S=E(222),b=E(277);a(4),m("formGroup",l.createStandingInstructionsForm),a(9),p(s(14,70,"labels.inputs.name")),a(5),m("ngIf",l.createStandingInstructionsForm.controls.name.hasError("required")),a(6),p(s(25,72,"labels.inputs.Applicant")),a(9),p(s(34,74,"labels.inputs.Type")),a(5),m("ngForOf",l.transferTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.transferType.hasError("required")),a(6),p(s(48,76,"labels.inputs.Priority")),a(5),m("ngForOf",l.priorityTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.priority.hasError("required")),a(6),p(s(62,78,"labels.inputs.Status")),a(5),m("ngForOf",l.statusTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.status.hasError("required")),a(6),p(s(76,80,"labels.inputs.From Account Type")),a(5),m("ngForOf",l.fromAccountTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.fromAccountType.hasError("required")),a(6),p(s(90,82,"labels.inputs.From Account")),a(5),m("ngForOf",l.fromAccountData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.fromAccountId.hasError("required")),a(6),p(s(104,84,"labels.inputs.Destination")),a(5),m("ngForOf",l.destinationTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.destination.hasError("required")),a(6),p(s(118,86,"labels.inputs.To Office")),a(3),m("disabled",l.ToOfficeId),a(2),m("ngForOf",l.toOfficeTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.toOfficeId.hasError("required")),a(6),p(s(132,88,"labels.inputs.Beneficiary")),a(3),m("disabled",l.ToClientId),a(2),m("ngForOf",l.toClientTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.toClientId.hasError("required")),a(6),p(s(146,90,"labels.inputs.To Account Type")),a(5),m("ngForOf",l.toAccountTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.toAccountType.hasError("required")),a(6),p(s(160,92,"labels.inputs.To Account")),a(5),m("ngForOf",l.toAccountData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.toAccountId.hasError("required")),a(6),p(s(174,94,"labels.inputs.Standing Instruction Type")),a(5),m("ngForOf",l.instructionTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.instructionType.hasError("required")),a(6),p(s(188,96,"labels.inputs.Amount")),a(5),m("ngIf",l.createStandingInstructionsForm.controls.amount.hasError("required")),a(6),p(s(199,98,"labels.inputs.Validity from")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",x),a(2),m("for",x),a(5),m("ngIf",l.createStandingInstructionsForm.controls.validFrom.hasError("required")),a(6),p(s(215,100,"labels.inputs.Validity To")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",S),a(2),m("for",S),a(5),m("ngIf",l.createStandingInstructionsForm.controls.validTill.hasError("required")),a(6),p(s(231,102,"labels.inputs.Recurrence Type")),a(5),m("ngForOf",l.recurrenceTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.recurrenceType.hasError("required")),a(6),p(s(245,104,"labels.inputs.Interval")),a(5),m("ngIf",l.createStandingInstructionsForm.controls.recurrenceInterval.hasError("required")),a(6),p(s(256,106,"labels.inputs.Recurrence Frequency")),a(5),m("ngForOf",l.recurrenceFrequencyTypeData),a(3),m("ngIf",l.createStandingInstructionsForm.controls.recurrenceFrequency.hasError("required")),a(6),p(s(270,108,"labels.inputs.On Month Day")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",b),a(2),m("for",b),a(5),m("ngIf",l.createStandingInstructionsForm.controls.recurrenceOnMonthDay.hasError("required")),a(7),m("routerLink",M(112,cn)),a(),v(` - `,s(288,110,"labels.buttons.Cancel"),` - `),a(3),m("mifosxHasPermission","CREATE_STANDINGINSTRUCTION")}},dependencies:[K,w,X,L,q,dt,H,st,lt,mt,W,Q,rt,ot,Y,pt,et,G,St,z,tt,at,nt,it,j,$,B]})}}return i})();var zn=i=>({balance:i});function Qn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Transaction Date")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Wn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Amount")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function Yn(i,c){if(i&1&&(n(0,"mat-error"),t(1,` - `),f(2,"fa-icon",16),t(3),o(4,"translate"),e()),i&2){let r=C();a(3),v(` - `,Pt(4,1,"errors.validation.msg.savingsproduct.insufficient.balance",xt(4,zn,r.balance)),` - `)}}function Jn(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Transfer Description")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}var Re=(()=>{class i{constructor(){this.minDate=new Date(2e3,0,1),this.maxDate=new Date(2100,0,1)}static{this.\u0275fac=function(d){return new(d||i)}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-make-account-interbank-transfers"]],inputs:{makeAccountTransferForm:"makeAccountTransferForm",balance:"balance"},decls:83,vars:30,consts:[["transferDatePicker",""],["amntInput",""],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-98",3,"click"],["matInput","","required","","formControlName","transferDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"flex-98"],["matInput","","formControlName","toBank"],["matInput","","formControlName","toClientId"],["matInput","","formControlName","toAccountType"],["matInput","","formControlName","toAccountId"],[1,"flex-98","error-warn"],["type","number","matInput","","required","","formControlName","transferAmount"],["matInput","","formControlName","transferDescription","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],["icon","exclamation-triangle","size","md"]],template:function(d,l){if(d&1){let x=k();n(0,"form",2),t(1,` - `),n(2,"div",3),t(3,` - `),n(4,"mat-form-field",4),T("click",function(){h(x);let b=E(15);return y(b.open())}),t(5,` - `),n(6,"mat-label"),t(7),o(8,"translate"),e(),t(9,` - `),f(10,"input",5),t(11,` - `),f(12,"mat-datepicker-toggle",6),t(13,` - `),f(14,"mat-datepicker",null,0),t(16,` - `),u(17,Qn,8,9,"mat-error",7),t(18,` - `),e(),t(19,` - - `),n(20,"mat-form-field",8),t(21,` - `),n(22,"mat-label"),t(23),o(24,"translate"),e(),t(25,` - `),f(26,"input",9),t(27,` - `),e(),t(28,` - - `),n(29,"mat-form-field",8),t(30,` - `),n(31,"mat-label"),t(32),o(33,"translate"),e(),t(34,` - `),f(35,"input",10),t(36,` - `),e(),t(37,` - - `),n(38,"mat-form-field",8),t(39,` - `),n(40,"mat-label"),t(41),o(42,"translate"),e(),t(43,` - `),f(44,"input",11),t(45,` - `),e(),t(46,` - - `),n(47,"mat-form-field",8),t(48,` - `),n(49,"mat-label"),t(50),o(51,"translate"),e(),t(52,` - `),f(53,"input",12),t(54,` - `),e(),t(55,` - - `),n(56,"mat-form-field",13),t(57,` - `),n(58,"mat-label"),t(59),o(60,"translate"),e(),t(61,` - `),f(62,"input",14,1),t(64,` - `),u(65,Wn,8,9,"mat-error",7),t(66,` - `),u(67,Yn,5,6,"mat-error",7),t(68,` - `),e(),t(69,` - - `),n(70,"mat-form-field",8),t(71,` - `),n(72,"mat-label"),t(73),o(74,"translate"),e(),t(75,` - `),f(76,"textarea",15),t(77,` - `),u(78,Jn,8,9,"mat-error",7),t(79,` - `),e(),t(80,` - `),e(),t(81,` -`),e(),t(82,` -`)}if(d&2){let x,S=E(15);m("formGroup",l.makeAccountTransferForm),a(7),p(s(8,16,"labels.inputs.Transaction Date")),a(3),m("min",l.minDate)("max",l.maxDate)("matDatepicker",S),a(2),m("for",S),a(5),m("ngIf",l.makeAccountTransferForm.controls.transferDate.hasError("required")),a(6),p(s(24,18,"labels.inputs.Bank")),a(9),p(s(33,20,"labels.inputs.Client")),a(9),p(s(42,22,"labels.inputs.Account Type")),a(9),p(s(51,24,"labels.inputs.Account")),a(9),p(s(60,26,"labels.inputs.Amount")),a(6),m("ngIf",l.makeAccountTransferForm.controls.transferAmount.hasError("required")),a(2),m("ngIf",(x=l.makeAccountTransferForm.get("transferAmount"))==null?null:x.hasError("amountExceedsBalance")),a(6),p(s(74,28,"labels.inputs.Description")),a(5),m("ngIf",l.makeAccountTransferForm.controls.transferDescription.hasError("required"))}},dependencies:[w,Z,st,lt,mt,W,Q,rt,ot,Y,Vt,et,G,St,z,tt,at,nt,it,B],styles:["h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}.margin-t[_ngcontent-%COMP%]{margin-top:1em}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return i})();var Le=()=>["../.."],Xn=i=>({balance:i});function Zn(i,c){i&1&&(n(0,"div",6),t(1,` - `),f(2,"div",7),t(3,` - `),f(4,"div",8),t(5,` - `),f(6,"div",9),t(7,` - `),f(8,"div",10),t(9,` - `),e())}function ti(i,c){if(i&1){let r=k();n(0,"button",26),T("click",function(){h(r);let l=C(4);return y(l.searchAccountByNumber())}),t(1),o(2,"translate"),e()}if(i&2){let r=C(4);m("disabled",r.phoneAccount.length!==10),a(),v(` - `,s(2,2,"labels.buttons.Search"),` - `)}}function ei(i,c){i&1&&(n(0,"mat-card-actions",23),t(1,` - `),n(2,"button",24),t(3),o(4,"translate"),e(),t(5,` - `),u(6,ti,3,4,"button",25),t(7,` - `),e()),i&2&&(a(2),m("routerLink",M(5,Le)),a(),v(` - `,s(4,3,"labels.buttons.Cancel"),` - `),a(3),m("mifosxHasPermission","CREATE_ACCOUNTTRANSFER"))}function ni(i,c){if(i&1){let r=k();n(0,"div"),t(1,` - `),n(2,"div",14),t(3,` - `),n(4,"h3",20),t(5),o(6,"translate"),e(),t(7,` - `),n(8,"mat-form-field",15),t(9,` - `),n(10,"mat-label"),t(11),o(12,"translate"),e(),t(13,` - `),n(14,"input",21,0),ve("ngModelChange",function(l){h(r);let x=C(2);return xe(x.phoneAccount,l)||(x.phoneAccount=l),y(l)}),e(),t(16,` - `),n(17,"mat-hint",22),t(18),e(),t(19,` - `),e(),t(20,` - `),e(),t(21,` - - `),u(22,ei,8,6,"mat-card-actions",19),t(23,` - `),e()}if(i&2){let r=C(2);a(5),v(` - `,s(6,6,"labels.heading.Transferred To"),` - `),a(6),p(s(12,8,"labels.inputs.Phone Number")),a(3),m("disabled",r.interbankTransferForm),fe("ngModel",r.phoneAccount),a(4),v("",r.phoneAccount.length||0,"/10"),a(4),m("ngIf",!r.interbankTransferForm)}}function ii(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Transaction Date")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function ai(i,c){if(i&1&&(n(0,"mat-option",41),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.name,` - `)}}function ri(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Office")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function oi(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Client")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function si(i,c){if(i&1&&(n(0,"mat-option",41),t(1),e()),i&2){let r=c.$implicit;m("value",r),a(),I(` - `,r.id," - ",r.displayName,` - `)}}function li(i,c){if(i&1&&(n(0,"mat-option",41),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function mi(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Account Type")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function pi(i,c){if(i&1&&(n(0,"mat-option",41),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),I(` - `,r.productName," - ",r.accountNo,` - `)}}function ci(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Account")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function di(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Amount")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function ui(i,c){if(i&1&&(n(0,"mat-error"),t(1,` - `),f(2,"fa-icon",42),t(3),o(4,"translate"),e()),i&2){let r=C(3);a(3),v(` - `,Pt(4,1,"errors.validation.msg.savingsproduct.insufficient.balance",xt(4,Xn,r.balance)),` - `)}}function fi(i,c){i&1&&(n(0,"mat-error"),t(1),o(2,"translate"),o(3,"translate"),n(4,"strong"),t(5),o(6,"translate"),e(),t(7,` - `),e()),i&2&&(a(),I(` - `,s(2,3,"labels.inputs.Transfer Description")," ",s(3,5,"labels.commons.is"),` - `),a(4),p(s(6,7,"labels.commons.required")))}function xi(i,c){if(i&1){let r=k();n(0,"form",27),t(1,` - `),n(2,"div",28),t(3,` - `),n(4,"mat-form-field",29),T("click",function(){h(r);let l=E(15);return y(l.open())}),t(5,` - `),n(6,"mat-label"),t(7),o(8,"translate"),e(),t(9,` - `),f(10,"input",30),t(11,` - `),f(12,"mat-datepicker-toggle",31),t(13,` - `),f(14,"mat-datepicker",null,1),t(16,` - `),u(17,ii,8,9,"mat-error",5),t(18,` - `),e(),t(19,` - - `),n(20,"mat-form-field",32),t(21,` - `),n(22,"mat-label"),t(23),o(24,"translate"),e(),t(25,` - `),n(26,"mat-select",33),T("selectionChange",function(){h(r);let l=C(2);return y(l.changeEvent())}),t(27,` - `),u(28,ai,2,2,"mat-option",34),t(29,` - `),e(),t(30,` - `),u(31,ri,8,9,"mat-error",5),t(32,` - `),e(),t(33,` - - `),n(34,"mat-form-field",32),t(35,` - `),n(36,"mat-label"),t(37),o(38,"translate"),e(),t(39,` - `),f(40,"input",35),t(41,` - `),u(42,oi,8,9,"mat-error",5),t(43,` - `),e(),t(44,` - - `),n(45,"mat-autocomplete",36,2),t(47,` - `),u(48,si,2,3,"mat-option",34),t(49,` - `),e(),t(50,` - - `),n(51,"mat-form-field",32),t(52,` - `),n(53,"mat-label"),t(54),o(55,"translate"),e(),t(56,` - `),n(57,"mat-select",37),T("selectionChange",function(){h(r);let l=C(2);return y(l.changeEvent())}),t(58,` - `),u(59,li,2,2,"mat-option",34),t(60,` - `),e(),t(61,` - `),u(62,mi,8,9,"mat-error",5),t(63,` - `),e(),t(64,` - - `),n(65,"mat-form-field",32),t(66,` - `),n(67,"mat-label"),t(68),o(69,"translate"),e(),t(70,` - `),n(71,"mat-select",38),T("selectionChange",function(){h(r);let l=C(2);return y(l.changeEvent())}),t(72,` - `),u(73,pi,2,3,"mat-option",34),t(74,` - `),e(),t(75,` - `),u(76,ci,8,9,"mat-error",5),t(77,` - `),e(),t(78,` - - `),n(79,"mat-form-field",32),t(80,` - `),n(81,"mat-label"),t(82),o(83,"translate"),e(),t(84,` - `),f(85,"input",39),t(86,` - `),u(87,di,8,9,"mat-error",5),t(88,` - `),u(89,ui,5,6,"mat-error",5),t(90,` - `),e(),t(91,` - - `),n(92,"mat-form-field",32),t(93,` - `),n(94,"mat-label"),t(95),o(96,"translate"),e(),t(97,` - `),f(98,"textarea",40),t(99,` - `),u(100,fi,8,9,"mat-error",5),t(101,` - `),e(),t(102,` - `),e(),t(103,` - `),e()}if(i&2){let r,d=E(15),l=E(46),x=C(2);m("formGroup",x.makeAccountTransferForm),a(7),p(s(8,26,"labels.inputs.Transaction Date")),a(3),m("min",x.minDate)("max",x.maxDate)("matDatepicker",d),a(2),m("for",d),a(5),m("ngIf",x.makeAccountTransferForm.controls.transferDate.hasError("required")),a(6),p(s(24,28,"labels.inputs.Office")),a(5),m("ngForOf",x.toOfficeTypeData),a(3),m("ngIf",x.makeAccountTransferForm.controls.toOfficeId.hasError("required")),a(6),p(s(38,30,"labels.inputs.Client")),a(3),m("matAutocomplete",l),a(2),m("ngIf",x.makeAccountTransferForm.controls.toClientId.hasError("required")),a(3),m("displayWith",x.displayClient),a(3),m("ngForOf",x.clientsData),a(6),p(s(55,32,"labels.inputs.Account Type")),a(5),m("ngForOf",x.toAccountTypeData),a(3),m("ngIf",x.makeAccountTransferForm.controls.toAccountType.hasError("required")),a(6),p(s(69,34,"labels.inputs.Account")),a(5),m("ngForOf",x.toAccountData),a(3),m("ngIf",x.makeAccountTransferForm.controls.toAccountId.hasError("required")),a(6),p(s(83,36,"labels.inputs.Amount")),a(5),m("ngIf",x.makeAccountTransferForm.controls.transferAmount.hasError("required")),a(2),m("ngIf",(r=x.makeAccountTransferForm.get("transferAmount"))==null?null:r.hasError("amountExceedsBalance")),a(6),p(s(96,38,"labels.inputs.Description")),a(5),m("ngIf",x.makeAccountTransferForm.controls.transferDescription.hasError("required"))}}function vi(i,c){if(i&1&&f(0,"mifosx-make-account-interbank-transfers",43),i&2){let r=C(2);m("makeAccountTransferForm",r.makeAccountTransferForm)("balance",r.balance)}}function Ii(i,c){if(i&1){let r=k();n(0,"button",45),T("click",function(){h(r);let l=C(3);return y(l.submit())}),t(1),o(2,"translate"),e()}if(i&2){let r=C(3);m("disabled",!r.makeAccountTransferForm.valid),a(),v(` - `,s(2,2,"labels.buttons.Submit"),` - `)}}function _i(i,c){i&1&&(n(0,"mat-card-actions",23),t(1,` - `),n(2,"button",24),t(3),o(4,"translate"),e(),t(5,` - `),u(6,Ii,3,4,"button",44),t(7,` - `),e()),i&2&&(a(2),m("routerLink",M(5,Le)),a(),v(` - `,s(4,3,"labels.buttons.Cancel"),` - `),a(3),m("mifosxHasPermission","CREATE_ACCOUNTTRANSFER"))}function gi(i,c){if(i&1&&(n(0,"mat-card"),t(1,` - `),n(2,"mat-card-content"),t(3,` - `),n(4,"div",11),t(5,` - `),n(6,"h3",12),t(7),o(8,"translate"),e(),t(9,` - - `),f(10,"mat-divider",13),t(11,` - - `),n(12,"div",14),t(13,` - `),n(14,"span",15),t(15),o(16,"translate"),e(),t(17,` - `),n(18,"span",16),t(19),e(),t(20,` - `),e(),t(21,` - - `),n(22,"div",14),t(23,` - `),n(24,"span",15),t(25),o(26,"translate"),e(),t(27,` - `),n(28,"span",16),t(29),e(),t(30,` - `),e(),t(31,` - - `),n(32,"div",14),t(33,` - `),n(34,"span",15),t(35),o(36,"translate"),e(),t(37,` - `),n(38,"span",16),t(39),e(),t(40,` - `),e(),t(41,` - - `),n(42,"div",14),t(43,` - `),n(44,"span",15),t(45),o(46,"translate"),e(),t(47,` - `),n(48,"span",16),t(49),e(),t(50,` - `),e(),t(51,` - - `),n(52,"div",14),t(53,` - `),n(54,"span",15),t(55),o(56,"translate"),e(),t(57,` - `),n(58,"span",16),t(59),e(),t(60,` - `),e(),t(61,` - `),e(),t(62,` - - `),u(63,ni,24,10,"div",5),t(64,` - - `),f(65,"mat-divider",13),t(66,` - - `),u(67,xi,104,40,"form",17),t(68,` - `),u(69,vi,1,2,"mifosx-make-account-interbank-transfers",18),t(70,` - `),e(),t(71,` - - `),u(72,_i,8,6,"mat-card-actions",19),t(73,` - `),e()),i&2){let r=C();a(7),p(s(8,18,"labels.heading.Transferring From Details")),a(3),m("inset",!0),a(5),p(s(16,20,"labels.inputs.Applicant")),a(4),p(r.accountTransferTemplateData.fromClient.displayName),a(6),p(s(26,22,"labels.inputs.Office")),a(4),p(r.accountTransferTemplateData.fromOffice.name),a(6),p(s(36,24,"labels.inputs.From Account")),a(4),I("",r.accountTransferTemplateData.fromAccount.productName,"\xA0-\xA0#",r.accountTransferTemplateData.fromAccount.accountNo,""),a(6),p(s(46,26,"labels.inputs.From Account Type")),a(4),p(r.accountTransferTemplateData.fromAccountType.value),a(6),p(s(56,28,"labels.inputs.Currency")),a(4),p(r.accountTransferTemplateData.currency.name),a(4),m("ngIf",r.interbank),a(2),m("inset",!0),a(2),m("ngIf",!r.interbank),a(2),m("ngIf",r.interbank&&r.interbankTransferForm),a(3),m("ngIf",!r.interbankTransferForm)}}var He=(()=>{class i{constructor(r,d,l,x,S,b,It){this.formBuilder=r,this.route=d,this.router=l,this.accountTransfersService=x,this.dateUtils=S,this.settingsService=b,this.clientsService=It,this.minDate=new Date(2e3,0,1),this.maxDate=new Date(2100,0,1),this.interbank=!1,this.phoneAccount="",this.interbankTransferForm=!1,this.balance=0,this.isLoading=!1,this.route.data.subscribe(ze=>{this.accountTransferTemplateData=ze.accountTransferTemplate,this.setParams(),this.setOptions()})}setParams(){switch(this.accountType=this.route.snapshot.queryParams.accountType,this.accountType){case"fromloans":this.accountTypeId="1",this.id=this.route.snapshot.queryParams.loanId;break;case"fromsavings":case"interbank":this.accountTypeId="2",this.id=this.route.snapshot.queryParams.savingsId,this.interbank=this.route.snapshot.queryParams.interbank==="true",this.balance=this.router.getCurrentNavigation().extras.state.balance,console.log("is interbank?",this.interbank);break;default:this.accountTypeId="0"}}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.interbank||this.createMakeAccountTransferForm()}createMakeAccountTransferForm(){this.makeAccountTransferForm=this.formBuilder.group({toOfficeId:["",_.required],toClientId:["",_.required],toAccountType:["",_.required],toAccountId:["",_.required],transferAmount:[this.accountTransferTemplateData.transferAmount,[_.required,_.min(.01),this.amountExceedsBalanceValidator.bind(this)]],transferDate:[this.settingsService.businessDate,_.required],transferDescription:["",_.required]})}createMakeAccountInterbankTransferForm(r){this.makeAccountTransferForm=this.formBuilder.group({toBank:[{value:r.sourceFspId,disabled:!0},_.required],toClientId:[{value:r.firsName+" "+r.lastName,disabled:!0},_.required],toAccountType:[{value:"Saving Account",disabled:!0},_.required],toAccountId:[{value:r.partyId,disabled:!0},_.required],transferAmount:[this.accountTransferTemplateData.transferAmount,[_.required,_.min(.01),this.amountExceedsBalanceValidator.bind(this)]],transferDate:[this.settingsService.businessDate,_.required],transferDescription:["",_.required]}),this.isLoading=!1}amountExceedsBalanceValidator(r){return r.value>this.balance?{amountExceedsBalance:!0}:null}setOptions(){this.toOfficeTypeData=this.accountTransferTemplateData.toOfficeOptions,this.toAccountTypeData=this.accountTransferTemplateData.toAccountTypeOptions,this.toAccountData=this.accountTransferTemplateData.toAccountOptions}changeEvent(){let r=this.refineObject(this.makeAccountTransferForm.value);this.accountTransfersService.newAccountTranferResource(this.id,this.accountTypeId,r).subscribe(d=>{this.accountTransferTemplateData=d,this.toClientTypeData=d.toClientOptions,this.setOptions()})}refineObject(r){delete r.transferAmount,delete r.transferDate,delete r.transferDescription,r.toClientId&&(r.toClientId=r.toClientId.id);let d=Object.getOwnPropertyNames(r);for(let l=0;l{r.length>=2&&(this.clientsService.getFilteredClients("displayName","ASC",!0,r).subscribe(d=>{this.clientsData=d.pageItems}),this.changeEvent())})}displayClient(r){return r?r.displayName:void 0}submit(){this.interbank?this.makeInterbankTransfer():this.makeTransfer()}makeTransfer(){this.isLoading=!0;let r=this.settingsService.dateFormat,d=this.settingsService.language.code,l=wt(Mt({},this.makeAccountTransferForm.value),{transferDate:this.dateUtils.formatDate(this.makeAccountTransferForm.value.transferDate,r),dateFormat:r,locale:d,toClientId:this.makeAccountTransferForm.controls.toClientId.value.id,fromAccountId:this.id,fromAccountType:this.accountTypeId,fromClientId:this.accountTransferTemplateData.fromClient.id,fromOfficeId:this.accountTransferTemplateData.fromClient.officeId});this.accountTransfersService.createAccountTransfer(l).subscribe(()=>{this.isLoading=!1,this.router.navigate(["../../transactions"],{relativeTo:this.route})})}makeInterbankTransfer(){this.isLoading=!0;let r={homeTransactionId:crypto.randomUUID(),from:{fspId:Se.fineractPlatformTenantId,idType:"MSISDN",idValue:this.accountTransferTemplateData.fromAccount.externalId.trim()},to:{fspId:this.makeAccountTransferForm.controls.toBank.value,idType:"MSISDN",idValue:this.makeAccountTransferForm.controls.toAccountId.value},amountType:"SEND",amount:{currencyCode:this.accountTransferTemplateData.currency.code,amount:this.makeAccountTransferForm.controls.transferAmount.value},transactionType:{scenario:"TRANSFER",subScenario:"DOMESTIC",initiator:"PAYER",initiatorType:"CUSTOMER"},note:this.makeAccountTransferForm.controls.transferDescription.value};this.accountTransfersService.sendInterbankTransfer(JSON.stringify(r)).subscribe(d=>{d.systemMessage&&(this.isLoading=!1,this.router.navigate(["../../transactions"],{relativeTo:this.route}))},d=>{this.isLoading=!1})}searchAccountByNumber(){this.isLoading=!0,this.accountTransfersService.getAccountByNumber(this.phoneAccount,this.accountTransferTemplateData.currency.code).subscribe(r=>{this.interbankTransferForm=!0,this.createMakeAccountInterbankTransferForm(r)},r=>{this.isLoading=!1})}static{this.\u0275fac=function(d){return new(d||i)(g(Tt),g(N),g(_t),g(D),g(gt),g(U),g(Me))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-make-account-transfers"]],decls:7,vars:2,consts:[["input",""],["transferDatePicker",""],["clientsAutocomplete","matAutocomplete"],[1,"container"],["class","loader-wrapper",4,"ngIf"],[4,"ngIf"],[1,"loader-wrapper"],[1,"bottom","triangle"],[1,"top","triangle"],[1,"left","triangle"],[1,"right","triangle"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h3","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[3,"formGroup",4,"ngIf"],[3,"makeAccountTransferForm","balance",4,"ngIf"],["class","layout-row align-center gap-5px responsive-column",4,"ngIf"],[1,"mat-h3","flex-40","align-start-center"],["matInput","","type","tel","maxlength","10","required","",3,"ngModelChange","disabled","ngModel"],["align","end"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary","id","search-button",3,"disabled","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary","id","search-button",3,"click","disabled"],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-98",3,"click"],["matInput","","required","","formControlName","transferDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[1,"flex-98"],["required","","formControlName","toOfficeId",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","toClientId",3,"matAutocomplete"],["autoActiveFirstOption","",3,"displayWith"],["required","","formControlName","toAccountType",3,"selectionChange"],["required","","formControlName","toAccountId",3,"selectionChange"],["type","number","matInput","","required","","formControlName","transferAmount"],["matInput","","formControlName","transferDescription","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[3,"value"],["icon","exclamation-triangle","size","md"],[3,"makeAccountTransferForm","balance"],["mat-raised-button","","color","primary",3,"disabled","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(d,l){d&1&&(n(0,"div",3),t(1,` - `),u(2,Zn,10,0,"div",4),t(3,` - `),u(4,gi,74,30,"mat-card",5),t(5,` -`),e(),t(6,` -`)),d&2&&(a(2),m("ngIf",l.isLoading),a(2),m("ngIf",!l.isLoading))},dependencies:[K,w,Z,De,X,Ae,L,q,dt,H,st,lt,mt,ct,W,Q,Ce,rt,ot,Y,Vt,pt,et,G,St,z,tt,at,ye,Te,nt,it,j,$,Re,B],styles:["h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}.margin-t[_ngcontent-%COMP%]{margin-top:1em}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.container[_ngcontent-%COMP%]{max-width:37rem} mat-form-field.error-warn.mat-form-field-invalid .mat-form-field-ripple{background-color:#000000de!important} mat-form-field.error-warn.mat-form-field-invalid .mat-form-field-label{color:#0009!important} mat-form-field.error-warn.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#0009!important} mat-form-field.error-warn.mat-form-field-invalid .mat-error{color:#0009!important}"]})}}return i})();var hi=["instructionsTable"],yi=()=>[10,25,50,100],Ci=i=>["../",i,"edit"],bi=i=>["../",i,"view"];function Ei(i,c){if(i&1&&(n(0,"div",23),t(1,` - `),n(2,"span",24),t(3,` - `),n(4,"h3",25),t(5),o(6,"translate"),e(),t(7,` - `),e(),t(8,` - `),n(9,"span",26),t(10,` - `),n(11,"h3",25),t(12),e(),t(13,` - `),e(),t(14,` - `),e()),i&2){let r=C();a(5),p(s(6,2,"labels.heading.Client Type")),a(7),p(r.clientName)}}function Di(i,c){if(i&1&&(n(0,"div",23),t(1,` - `),n(2,"mat-form-field",5),t(3,` - `),f(4,"input",27),t(5,` - `),e(),t(6,` - `),n(7,"mat-form-field",5),t(8,` - `),f(9,"input",28),t(10,` - `),e(),t(11,` - `),e()),i&2){let r=C();a(4),m("formControl",r.clientNameControl),a(5),m("formControl",r.fromClientId)}}function Ai(i,c){if(i&1&&(n(0,"mat-option",29),t(1),e()),i&2){let r=c.$implicit;m("value",r.id),a(),v(` - `,r.value,` - `)}}function ki(i,c){if(i&1){let r=k();n(0,"button",30),T("click",function(){h(r);let l=C();return y(l.filterStandingInstructions())}),t(1),o(2,"translate"),e()}i&2&&(a(),v(` - \xA0\xA0`,s(2,1,"labels.buttons.Filter"),` - `))}function Bi(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Client")))}function Fi(i,c){if(i&1&&(n(0,"td",32),t(1),e()),i&2){let r=c.$implicit;a(),I(` - `,r.fromClient.displayName,"-",r.fromClient.id,` - `)}}function Mi(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.From Account")))}function wi(i,c){if(i&1&&(n(0,"td",32),t(1),e()),i&2){let r=c.$implicit;a(),I(` - `,r.fromAccount.accountNo," (",r.fromAccountType.value,`) - `)}}function Ni(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Beneficiary")))}function qi(i,c){if(i&1&&(n(0,"td",32),t(1),e()),i&2){let r=c.$implicit;a(),p(r.toClient.displayName)}}function Oi(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.To Account")))}function Pi(i,c){if(i&1&&(n(0,"td",32),t(1),e()),i&2){let r=c.$implicit;a(),I(` - `,r.toAccount.accountNo," (",r.toAccountType.value,`) - `)}}function Vi(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Amount")))}function Ri(i,c){if(i&1&&(n(0,"td",32),t(1),e()),i&2){let r=c.$implicit;a(),I("",r.instructionType.value,"/",r.amount,"")}}function Li(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Validity")))}function Hi(i,c){if(i&1&&(n(0,"td",32),t(1),o(2,"dateFormat"),o(3,"dateFormat"),e()),i&2){let r=c.$implicit;a(),I(` - `,s(2,2,r.validFrom)," to ",s(3,4,r.validTill),` - `)}}function ji(i,c){i&1&&(n(0,"th",31),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Actions")))}function $i(i,c){if(i&1&&(n(0,"button",35),o(1,"translate"),t(2,` - `),f(3,"i",36),t(4,` - `),e()),i&2){let r=C(2).$implicit;Ot("matTooltip",s(1,2,"tooltips.Edit Standing Instruction")),m("routerLink",xt(4,Ci,r.id))}}function Ui(i,c){i&1&&(n(0,"span"),t(1,` - `),u(2,$i,5,6,"button",34),t(3,` - `),e()),i&2&&(a(2),m("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION"))}function Gi(i,c){if(i&1){let r=k();n(0,"button",38),o(1,"translate"),T("click",function(){h(r);let l=C(2).$implicit,x=C();return y(x.deleteStandingInstruction(l.id))}),t(2,` - `),f(3,"i",39),t(4,` - `),e()}i&2&&Ot("matTooltip",s(1,1,"tooltips.Delete Standing Instruction"))}function zi(i,c){i&1&&(n(0,"span"),t(1,` - `),u(2,Gi,5,3,"button",37),t(3,` - `),e()),i&2&&(a(2),m("mifosxHasPermission","DELETE_STANDINGINSTRUCTION"))}function Qi(i,c){if(i&1&&(n(0,"button",35),o(1,"translate"),t(2,` - `),f(3,"i",40),t(4,` - `),e()),i&2){let r=C().$implicit;Ot("matTooltip",s(1,2,"tooltips.View Standing Instruction")),m("routerLink",xt(4,bi,r.id))}}function Wi(i,c){if(i&1&&(n(0,"td",32),t(1,` - `),u(2,Ui,4,1,"span",33),t(3,` - `),u(4,zi,4,1,"span",33),t(5,` - `),u(6,Qi,5,6,"button",34),t(7,` - `),e()),i&2){let r=c.$implicit;a(2),m("ngIf",r.status.value!=="Deleted"),a(2),m("ngIf",r.status.value!=="Deleted"),a(2),m("mifosxHasPermission","READ_STANDINGINSTRUCTION")}}function Yi(i,c){i&1&&f(0,"tr",41)}function Ji(i,c){i&1&&f(0,"tr",42)}var je=(()=>{class i{constructor(r,d,l,x){this.route=r,this.accountTransfersService=d,this.settingsService=l,this.dialog=x,this.transferType=new At,this.fromAccountId=new At,this.clientNameControl=new At,this.fromClientId=new At,this.dataSource=new kt,this.displayedColumns=["client","fromAccount","beneficiary","toAccount","amount","validity","actions"],this.route.data.subscribe(S=>{this.standingIntructionsTemplateData=S.standingIntructionsTemplate,S.standingIntructionsTemplate.fromClient&&(this.clientName=this.standingIntructionsTemplateData.fromClient.displayName,this.getStandingInstructions()),this.setParams(),this.transferTypeDatas=this.standingIntructionsTemplateData.transferTypeOptions})}setParams(){switch(this.accountType=this.route.snapshot.queryParams.accountType,this.accountType){case"fromloans":this.accountTypeId="1";break;case"fromsavings":this.accountTypeId="2";break;default:this.accountTypeId="0"}this.isFromClient=!!this.route.parent.parent.snapshot.params.clientId}filterStandingInstructions(){this.getStandingInstructions()}getStandingInstructions(){let r=this.settingsService.dateFormat,d=this.settingsService.language.code,l={clientId:this.standingIntructionsTemplateData.fromClient.id||this.fromClientId.value,clientName:this.standingIntructionsTemplateData.fromClient.displayName||this.clientNameControl.value,locale:d,dateFormat:r,limit:14,offset:0,fromAccountType:this.accountTypeId,fromAccountId:this.fromAccountId.value,fromTransferType:this.transferType.value};this.accountTransfersService.getStandingInstructions(l).subscribe(x=>{this.instructionsData=x.pageItems,this.dataSource.data=this.instructionsData,this.instructionTableRef.renderRows()})}deleteStandingInstruction(r){this.dialog.open(be,{data:{deleteContext:`standing instruction id: ${r}`}}).afterClosed().subscribe(l=>{l.delete&&this.accountTransfersService.deleteStandingInstrucions(r).subscribe(()=>{})})}static{this.\u0275fac=function(d){return new(d||i)(g(N),g(D),g(U),g(ge))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-list-standing-instructions"]],viewQuery:function(d,l){if(d&1&&(bt(hi,7),bt(ut,7)),d&2){let x;Et(x=Dt())&&(l.instructionTableRef=x.first),Et(x=Dt())&&(l.paginator=x.first)}},decls:90,vars:16,consts:[["instructionsTable",""],[1,"container"],[1,"layout-row-wrap","gap-2px","responsive-column"],["class","flex-fill",4,"ngIf"],[3,"inset"],[1,"flex-30"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","From Account Id",3,"formControl"],["mat-raised-button","","color","primary","class","filter-button",3,"click",4,"mifosxHasPermission"],["mat-table","",3,"dataSource"],["matColumnDef","client"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fromAccount"],["matColumnDef","beneficiary"],["matColumnDef","toAccount"],["matColumnDef","amount"],["matColumnDef","validity"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSize","pageSizeOptions"],[1,"flex-fill"],[1,"flex-40"],[1,"mat-h3"],[1,"flex-60"],["matInput","","placeholder","ClientName",3,"formControl"],["matInput","","placeholder","From Client Id",3,"formControl"],[3,"value"],["mat-raised-button","","color","primary",1,"filter-button",3,"click"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip","routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"matTooltip","routerLink"],[1,"fa","fa-edit"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-times"],[1,"fa","fa-eye"],["mat-header-row",""],["mat-row",""]],template:function(d,l){d&1&&(n(0,"mat-card",1),t(1,` - `),n(2,"div",2),t(3,` - `),u(4,Ei,15,4,"div",3),t(5,` - - `),u(6,Di,12,2,"div",3),t(7,` - - `),f(8,"mat-divider",4),t(9,` - - `),n(10,"mat-form-field",5),t(11,` - `),n(12,"mat-label"),t(13),o(14,"translate"),e(),t(15,` - `),n(16,"mat-select",6),t(17,` - `),u(18,Ai,2,2,"mat-option",7),t(19,` - `),e(),t(20,` - `),e(),t(21,` - - `),n(22,"mat-form-field",5),t(23,` - `),f(24,"input",8),t(25,` - `),e(),t(26,` - - `),u(27,ki,3,3,"button",9),t(28,` - `),e(),t(29,` - - `),n(30,"table",10,0),t(32,` - `),P(33,11),t(34,` - `),u(35,Bi,3,3,"th",12),t(36,` - `),u(37,Fi,2,2,"td",13),t(38,` - `),V(),t(39,` - - `),P(40,14),t(41,` - `),u(42,Mi,3,3,"th",12),t(43,` - `),u(44,wi,2,2,"td",13),t(45,` - `),V(),t(46,` - - `),P(47,15),t(48,` - `),u(49,Ni,3,3,"th",12),t(50,` - `),u(51,qi,2,1,"td",13),t(52,` - `),V(),t(53,` - - `),P(54,16),t(55,` - `),u(56,Oi,3,3,"th",12),t(57,` - `),u(58,Pi,2,2,"td",13),t(59,` - `),V(),t(60,` - - `),P(61,17),t(62,` - `),u(63,Vi,3,3,"th",12),t(64,` - `),u(65,Ri,2,2,"td",13),t(66,` - `),V(),t(67,` - - `),P(68,18),t(69,` - `),u(70,Li,3,3,"th",12),t(71,` - `),u(72,Hi,4,6,"td",13),t(73,` - `),V(),t(74,` - - `),P(75,19),t(76,` - `),u(77,ji,3,3,"th",12),t(78,` - `),u(79,Wi,8,3,"td",13),t(80,` - `),V(),t(81,` - - `),u(82,Yi,1,0,"tr",20),t(83,` - `),u(84,Ji,1,0,"tr",21),t(85,` - `),e(),t(86,` - - `),f(87,"mat-paginator",22),t(88,` -`),e(),t(89,` -`)),d&2&&(a(4),m("ngIf",l.isFromClient),a(2),m("ngIf",!l.isFromClient),a(2),m("inset",!0),a(5),p(s(14,13,"labels.inputs.Type")),a(3),m("formControl",l.transferType),a(2),m("ngForOf",l.transferTypeDatas),a(6),m("formControl",l.fromAccountId),a(3),m("mifosxHasPermission","READ_STANDINGINSTRUCTION"),a(3),m("dataSource",l.dataSource),a(52),m("matHeaderRowDef",l.displayedColumns),a(2),m("matRowDefColumns",l.displayedColumns),a(3),m("pageSize",10)("pageSizeOptions",M(15,yi)))},dependencies:[K,w,X,L,q,ct,W,Q,Y,ut,pt,Rt,Ht,Gt,jt,Lt,zt,$t,Ut,Qt,Wt,Ee,G,z,he,j,$,B,ft],styles:[".container[_ngcontent-%COMP%] .filter-button[_ngcontent-%COMP%]{height:2.5rem;margin-top:1rem}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.mat-divider[_ngcontent-%COMP%]{border-top-color:#fff}"]})}}return i})();var Ki=()=>[5,10,25,50,100];function Xi(i,c){i&1&&(n(0,"th",16),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Transaction Date")))}function Zi(i,c){if(i&1&&(n(0,"td",17),t(1),o(2,"dateFormat"),e()),i&2){let r=c.$implicit;a(),p(s(2,1,r.transferDate))}}function ta(i,c){i&1&&(n(0,"th",16),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Amount")))}function ea(i,c){if(i&1&&(n(0,"td",17),t(1),e()),i&2){let r=c.$implicit;a(),p(r.transferAmount)}}function na(i,c){i&1&&(n(0,"th",16),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Notes")))}function ia(i,c){if(i&1&&(n(0,"td",17),t(1),e()),i&2){let r=c.$implicit;a(),p(r.transferDescription)}}function aa(i,c){i&1&&(n(0,"th",16),t(1),o(2,"translate"),e()),i&2&&(a(),p(s(2,1,"labels.inputs.Reversed")))}function ra(i,c){if(i&1&&(n(0,"td",17),t(1),o(2,"yesNo"),e()),i&2){let r=c.$implicit;a(),p(s(2,1,r.reversed))}}function oa(i,c){i&1&&f(0,"tr",18)}function sa(i,c){i&1&&f(0,"tr",19)}var $e=(()=>{class i{constructor(r){this.route=r,this.dataSource=new kt,this.displayedColumns=["transactionDate","amount","notes","reversed"],this.route.data.subscribe(d=>{this.listTransactionData=d.listTransactionData,this.dataSource=new kt(this.listTransactionData.transactions.pageItems),this.dataSource.paginator=this.paginator})}static{this.\u0275fac=function(d){return new(d||i)(g(N))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-list-transactions"]],viewQuery:function(d,l){if(d&1&&bt(ut,7),d&2){let x;Et(x=Dt())&&(l.paginator=x.first)}},decls:73,vars:19,consts:[[1,"container","m-b-20"],[1,"mat-elevation-z8"],[1,"layout-row-wrap"],[1,"flex-25","header"],[1,"flex-25"],[1,"mat-elevation-z8","container"],["mat-table","",3,"dataSource"],["matColumnDef","transactionDate"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amount"],["matColumnDef","notes"],["matColumnDef","reversed"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(d,l){d&1&&(n(0,"div",0),t(1,` - `),n(2,"mat-card",1),t(3,` - `),n(4,"mat-card-content"),t(5,` - `),n(6,"div",2),t(7,` - `),n(8,"div",3),t(9),o(10,"translate"),e(),t(11,` - - `),n(12,"div",4),t(13),e(),t(14,` - - `),n(15,"div",3),t(16),o(17,"translate"),e(),t(18,` - - `),n(19,"div",4),t(20),e(),t(21,` - - `),n(22,"div",3),t(23),o(24,"translate"),e(),t(25,` - - `),n(26,"div",4),t(27),e(),t(28,` - `),e(),t(29,` - `),e(),t(30,` - `),e(),t(31,` -`),e(),t(32,` - -`),n(33,"div",5),t(34,` - `),n(35,"table",6),t(36,` - `),P(37,7),t(38,` - `),u(39,Xi,3,3,"th",8),t(40,` - `),u(41,Zi,3,3,"td",9),t(42,` - `),V(),t(43,` - - `),P(44,10),t(45,` - `),u(46,ta,3,3,"th",8),t(47,` - `),u(48,ea,2,1,"td",9),t(49,` - `),V(),t(50,` - - `),P(51,11),t(52,` - `),u(53,na,3,3,"th",8),t(54,` - `),u(55,ia,2,1,"td",9),t(56,` - `),V(),t(57,` - - `),P(58,12),t(59,` - `),u(60,aa,3,3,"th",8),t(61,` - `),u(62,ra,3,3,"td",9),t(63,` - `),V(),t(64,` - - `),u(65,oa,1,0,"tr",13),t(66,` - `),u(67,sa,1,0,"tr",14),t(68,` - `),e(),t(69,` - - `),f(70,"mat-paginator",15),t(71,` -`),e(),t(72,` -`)),d&2&&(a(9),v(` - `,s(10,12,"labels.inputs.From Account"),` - `),a(4),I(` - `,l.listTransactionData.fromAccount.accountNo,"(",l.listTransactionData.fromAccountType.value,`) - `),a(3),v(` - `,s(17,14,"labels.inputs.To Account"),` - `),a(4),I(` - `,l.listTransactionData.toAccount.accountNo,"(",l.listTransactionData.toAccountType.value,`) - `),a(3),v(` - `,s(24,16,"labels.inputs.Destination"),` - `),a(4),v(` - `,l.listTransactionData.toClient.displayName,` - `),a(8),m("dataSource",l.dataSource),a(30),m("matHeaderRowDef",l.displayedColumns),a(2),m("matRowDefColumns",l.displayedColumns),a(3),m("pageSizeOptions",M(18,Ki)))},dependencies:[q,H,ut,Rt,Ht,Gt,jt,Lt,zt,$t,Ut,Qt,Wt,B,ft,Be],styles:[".content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{line-height:3rem}.content[_ngcontent-%COMP%] div.header[_ngcontent-%COMP%]{font-weight:500}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .select-row[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return i})();function la(i,c){i&1&&(n(0,"button",14),t(1,` - `),f(2,"fa-icon",15),t(3),o(4,"translate"),e()),i&2&&(a(3),v("",s(4,1,"labels.buttons.Undo"),` - `))}function ma(i,c){i&1&&(n(0,"span"),t(1,` - `),u(2,la,5,3,"button",13),t(3,` - `),e()),i&2&&(a(2),m("mifosxHasPermission","ADJUST_ACCOUNTTRANSFER"))}var Ue=(()=>{class i{constructor(r,d){this.route=r,this.location=d,this.route.data.subscribe(l=>{this.viewAccountTransferData=l.viewAccountTransferData})}transferToClient(r){return`/#/clients/${r.id}`}transferToAccount(r,d){return`/#/clients/${r.id}/savings-accounts/${d.id}`}goBack(){this.location.back()}transactionColor(){return this.viewAccountTransferData.reversed?"undo":"active"}static{this.\u0275fac=function(d){return new(d||i)(g(N),g(Ie))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-view-account-transfer"]],decls:160,vars:69,consts:[[1,"container"],[1,"container","m-b-20","align-end","gap-2px"],[4,"ngIf"],[1,"layout-row-wrap","responsive-column"],[1,"flex-100",3,"ngClass"],[1,"mat-h3","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[3,"href"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","color","primary","mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",4,"mifosxHasPermission"],["mat-raised-button","","color","warn"],["icon","undo",1,"m-r-10"]],template:function(d,l){d&1&&(n(0,"div",0),t(1,` - `),n(2,"div",1),t(3,` - `),u(4,ma,4,1,"span",2),t(5,` - `),e(),t(6,` - - `),n(7,"mat-card"),t(8,` - `),n(9,"mat-card-content"),t(10,` - `),n(11,"div",3),t(12,` - `),f(13,"div",4),t(14,` - - `),n(15,"h3",5),t(16),o(17,"translate"),e(),t(18,` - - `),f(19,"mat-divider",6),t(20,` - - `),n(21,"div",7),t(22,` - `),n(23,"span",8),t(24),o(25,"translate"),e(),t(26,` - `),n(27,"span",9),t(28),o(29,"formatNumber"),e(),t(30,` - `),e(),t(31,` - - `),n(32,"div",7),t(33,` - `),n(34,"span",8),t(35),o(36,"translate"),e(),t(37,` - `),n(38,"span",9),t(39),o(40,"dateFormat"),e(),t(41,` - `),e(),t(42,` - - `),n(43,"div",7),t(44,` - `),n(45,"span",8),t(46),o(47,"translate"),e(),t(48,` - `),n(49,"span",9),t(50),e(),t(51,` - `),e(),t(52,` - - `),n(53,"h3",5),t(54),o(55,"translate"),e(),t(56,` - - `),f(57,"mat-divider",6),t(58,` - - `),n(59,"div",7),t(60,` - `),n(61,"span",8),t(62),o(63,"translate"),e(),t(64,` - `),n(65,"span",9),t(66),e(),t(67,` - `),e(),t(68,` - - `),n(69,"div",7),t(70,` - `),n(71,"span",8),t(72),o(73,"translate"),e(),t(74,` - `),n(75,"span",9),t(76),e(),t(77,` - `),e(),t(78,` - - `),n(79,"div",7),t(80,` - `),n(81,"span",8),t(82),o(83,"translate"),e(),t(84,` - `),n(85,"span",9),t(86),e(),t(87,` - `),e(),t(88,` - - `),n(89,"div",7),t(90,` - `),n(91,"span",8),t(92),o(93,"translate"),e(),t(94,` - `),n(95,"span",9),t(96),e(),t(97,` - `),e(),t(98,` - - `),n(99,"h3",5),t(100),o(101,"translate"),e(),t(102,` - - `),f(103,"mat-divider",6),t(104,` - - `),n(105,"div",7),t(106,` - `),n(107,"span",8),t(108),o(109,"translate"),e(),t(110,` - `),n(111,"span",9),t(112),e(),t(113,` - `),e(),t(114,` - - `),n(115,"div",7),t(116,` - `),n(117,"span",8),t(118),o(119,"translate"),e(),t(120,` - `),n(121,"span",9)(122,"a",10),t(123),e(),t(124,` - `),e(),t(125,` - `),e(),t(126,` - - `),n(127,"div",7),t(128,` - `),n(129,"span",8),t(130),o(131,"translate"),e(),t(132,` - `),n(133,"span",9),t(134),e(),t(135,` - `),e(),t(136,` - - `),n(137,"div",7),t(138,` - `),n(139,"span",8),t(140),o(141,"translate"),e(),t(142,` - `),n(143,"span",9)(144,"a",10),t(145),e(),t(146,` - `),e(),t(147,` - `),e(),t(148,` - `),e(),t(149,` - `),e(),t(150,` - - `),n(151,"mat-card-actions",11),t(152,` - `),n(153,"button",12),T("click",function(){return l.goBack()}),t(154),o(155,"translate"),e(),t(156,` - `),e(),t(157,` - `),e(),t(158,` -`),e(),t(159,` -`)),d&2&&(a(4),m("ngIf",!l.viewAccountTransferData.reversed),a(9),m("ngClass",l.transactionColor()),a(3),p(s(17,35,"labels.heading.Transaction Details")),a(3),m("inset",!0),a(5),v("",s(25,37,"labels.inputs.Transaction Amount"),":"),a(4),ue("",l.viewAccountTransferData.currency.displaySymbol,` - `,s(29,39,l.viewAccountTransferData.transferAmount)," (",l.viewAccountTransferData.currency.code,")"),a(7),v("",s(36,41,"labels.inputs.Transaction Date"),":"),a(4),p(s(40,43,l.viewAccountTransferData.transferDate)),a(7),v("",s(47,45,"labels.inputs.Destination"),":"),a(4),p(l.viewAccountTransferData.transferDescription),a(4),p(s(55,47,"labels.heading.Transferred From")),a(3),m("inset",!0),a(5),v("",s(63,49,"labels.inputs.Office"),":"),a(4),p(l.viewAccountTransferData.fromOffice.name),a(6),v("",s(73,51,"labels.inputs.Client"),":"),a(4),p(l.viewAccountTransferData.fromClient.displayName),a(6),v("",s(83,53,"labels.inputs.Account Type"),":"),a(4),p(l.viewAccountTransferData.fromAccountType.value),a(6),v("",s(93,55,"labels.inputs.Account No"),":"),a(4),p(l.viewAccountTransferData.fromAccount.accountNo),a(4),p(s(101,57,"labels.heading.Transferred To")),a(3),m("inset",!0),a(5),v("",s(109,59,"labels.inputs.Office"),":"),a(4),p(l.viewAccountTransferData.toOffice.name),a(6),v("",s(119,61,"labels.inputs.Client"),":"),a(4),m("href",l.transferToClient(l.viewAccountTransferData.toClient),te),a(),v(` - `,l.viewAccountTransferData.toClient.displayName,""),a(7),v("",s(131,63,"labels.inputs.Account Type"),":"),a(4),p(l.viewAccountTransferData.toAccountType.value),a(6),v("",s(141,65,"labels.inputs.Account No"),":"),a(4),m("href",l.transferToAccount(l.viewAccountTransferData.toClient,l.viewAccountTransferData.toAccount),te),a(),v(` - `,l.viewAccountTransferData.toAccount.accountNo,""),a(9),v(` - `,s(155,67,"labels.buttons.Back"),` - `))},dependencies:[_e,w,Z,L,q,dt,H,ct,j,B,ft,ke],styles:["h3[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}"]})}}return i})();var le=(()=>{class i{constructor(r){this.accountTransfersService=r}resolve(r){let d=r.parent.paramMap.get("standingInstructionsId");return this.accountTransfersService.getStandingInstructionsData(d)}static{this.\u0275fac=function(d){return new(d||i)(O(D))}}static{this.\u0275prov=R({token:i,factory:i.\u0275fac})}}return i})();var me=(()=>{class i{constructor(r){this.accountTransfersService=r}resolve(r){let d=r.parent.paramMap.get("standingInstructionsId");return this.accountTransfersService.getStandingInstructionsDataAndTemplate(d)}static{this.\u0275fac=function(d){return new(d||i)(O(D))}}static{this.\u0275prov=R({token:i,factory:i.\u0275fac})}}return i})();var Zt=(()=>{class i{constructor(r){this.accountTransfersService=r}resolve(r){let d=r.queryParamMap.get("officeId"),l=r.queryParamMap.get("accountType"),x=r.parent.paramMap.get("clientId");switch(l){case"fromloans":this.accountTypeId="1";break;case"fromsavings":this.accountTypeId="2";break;default:this.accountTypeId="0"}return this.accountTransfersService.getStandingInstructionsTemplate(x,d,this.accountTypeId)}static{this.\u0275fac=function(d){return new(d||i)(O(D))}}static{this.\u0275prov=R({token:i,factory:i.\u0275fac})}}return i})();var pe=(()=>{class i{constructor(r){this.accountTransfersService=r}resolve(r){switch(r.queryParamMap.get("accountType")){case"fromloans":this.accountTypeId="1",this.id=r.queryParamMap.get("loanId");break;case"fromsavings":this.accountTypeId="2",this.id=r.queryParamMap.get("savingsId");break;case"interbank":this.accountTypeId="2",this.id=r.queryParamMap.get("savingsId");break;default:this.accountTypeId="0"}return this.accountTransfersService.newAccountTranferResource(this.id,this.accountTypeId)}static{this.\u0275fac=function(d){return new(d||i)(O(D))}}static{this.\u0275prov=R({token:i,factory:i.\u0275fac})}}return i})();var ce=(()=>{class i{constructor(r,d){this.accountTransfersService=r,this.settingsService=d}resolve(r){let d=r.parent.paramMap.get("standingInstructionsId"),l=this.settingsService.dateFormat,x=this.settingsService.language.code;return this.accountTransfersService.getStandingInstructionsTransactions(d,l,x)}static{this.\u0275fac=function(d){return new(d||i)(O(D),O(U))}}static{this.\u0275prov=R({token:i,factory:i.\u0275fac})}}return i})();var de=(()=>{class i{constructor(r){this.accountTransfersService=r}resolve(r){let d=r.paramMap.get("transferid");return this.accountTransfersService.getViewAccountTransferDetails(d)}static{this.\u0275fac=function(d){return new(d||i)(O(D))}}static{this.\u0275prov=R({token:i,factory:i.\u0275fac})}}return i})();var pa=[{path:"",children:[{path:"create-standing-instructions",data:{title:"Create Standing Instructions",breadcrumb:"Create Standing Instructions",routeParamBreadcrumb:"Create Standing Instructions"},component:Ve,resolve:{standingIntructionsTemplate:Zt}},{path:"make-account-transfer",data:{title:"Account Transfer",breadcrumb:"Account Transfer",routeParamBreadcrumb:"Account Transfer"},component:He,resolve:{accountTransferTemplate:pe}},{path:"list-standing-instructions",data:{title:"List Standing Instructions",breadcrumb:"List Standing Instructions",routeParamBreadcrumb:"List Standing Instructions"},component:je,resolve:{standingIntructionsTemplate:Zt}},{path:"account-transfers",data:{title:"View Account Transfer",breadcrumb:"Account Transfers",routeParamBreadcrumb:!1},children:[{path:":transferid",data:{routeParamBreadcrumb:"transferid"},component:Ue,resolve:{viewAccountTransferData:de}}]},{path:":standingInstructionsId",data:{title:"Standing Instructions",routeParamBreadcrumb:"standingInstructionsId"},children:[{path:"view",data:{title:"View Standing Instructions",breadcrumb:"view",routeParamBreadcrumb:!1},component:qe,resolve:{standingInstructionsData:le}},{path:"edit",data:{title:"Edit Standing Instructions",breadcrumb:"edit",routeParamBreadcrumb:!1},component:Pe,resolve:{standingInstructionsDataAndTemplate:me}},{path:"list-account-transactions",data:{title:"List Account Transactions",breadcrumb:"List Account Transactions",routeParamBreadcrumb:"List Account Transactions"},component:$e,resolve:{listTransactionData:ce}}]}]}],Ge=(()=>{class i{static{this.\u0275fac=function(d){return new(d||i)}}static{this.\u0275mod=qt({type:i})}static{this.\u0275inj=Nt({providers:[le,me,Zt,pe,ce,de],imports:[ee.forChild(pa),ee]})}}return i})();var co=(()=>{class i{static{this.\u0275fac=function(d){return new(d||i)}}static{this.\u0275mod=qt({type:i})}static{this.\u0275inj=Nt({imports:[Ne,Fe,we,Ge]})}}return i})();export{co as AccountTransfersModule}; diff --git a/browser/chunk-5Y6MWJHO.js b/browser/chunk-5Y6MWJHO.js deleted file mode 100644 index a5b480def..000000000 --- a/browser/chunk-5Y6MWJHO.js +++ /dev/null @@ -1 +0,0 @@ -import{Bc as c,C as p,F as o,sb as r,ub as u}from"./chunk-SR4VE5NL.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class i{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let a=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:a})}executeExternalAssetOwnerTransferCommand(t,e,s){let a=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:a})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||i)(o(u))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var T=(()=>{class i{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[i.DAYS_BEFORE_REPAYMENT_IS_DUE,i.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(a=>{let n=this.resolvePropertyName(a.name);n!==""&&(e?(!t[n]||t[n]==="")&&(t[n]=a.value):t[n]=a.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,a=this.settingsService.language.code,n=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:a});return delete n.allowAttributeConfiguration,delete n.advancedAccountingRules,n.allowPartialPeriodInterestCalcualtion=n.allowPartialPeriodInterestCalculation,delete n.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!n[l]||n[l]==="")&&(n[l]=h.value)}),n}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||i)(o(c))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var N=(()=>{class i{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let a=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:a})}editOfficeDatatableEntry(t,e,s){let a=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:a})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let a=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:a})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let a=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:a})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let a=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:a})}allocateCash(t,e,s){let a=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:a})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,a){let n=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(n=n.set("officeId",e.toString())),s&&(n=n.set("staffId",s.toString())),a.length&&(n=n.set("legalFormType",a)),this.http.get(`${t}/downloadtemplate`,{params:n,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let a=new r;s.length&&(a=a.set("legalFormType",s));let n=new FormData;return n.append("file",t),n.append("locale",this.settingsService.language.code),n.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,n,{params:a})}static{this.\u0275fac=function(e){return new(e||i)(o(u),o(c))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var _=(()=>{class i{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{E as a,T as b,N as c,_ as d}; diff --git a/browser/chunk-AGAVVHNS.js b/browser/chunk-AGAVVHNS.js deleted file mode 100644 index b8bf4df94..000000000 --- a/browser/chunk-AGAVVHNS.js +++ /dev/null @@ -1 +0,0 @@ -import{C as i,Cf as n,F as p,h as u,sb as c,ub as d}from"./chunk-SR4VE5NL.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d}; diff --git a/browser/chunk-CCP3JU5F.js b/browser/chunk-CCP3JU5F.js deleted file mode 100644 index bb143bc29..000000000 --- a/browser/chunk-CCP3JU5F.js +++ /dev/null @@ -1 +0,0 @@ -import{C as r,Ef as n,F as i}from"./chunk-SR4VE5NL.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b}; diff --git a/browser/chunk-FK6H3RFT.js b/browser/chunk-FK6H3RFT.js deleted file mode 100644 index 81a107983..000000000 --- a/browser/chunk-FK6H3RFT.js +++ /dev/null @@ -1 +0,0 @@ -function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a}; diff --git a/browser/chunk-O7S4L63H.js b/browser/chunk-O7S4L63H.js deleted file mode 100644 index ab6a29a3c..000000000 --- a/browser/chunk-O7S4L63H.js +++ /dev/null @@ -1 +0,0 @@ -var v=Object.create;var n=Object.defineProperty,w=Object.defineProperties,x=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,A=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var l=(a,b)=>(b=Symbol[a])?b:Symbol.for("Symbol."+a),B=a=>{throw TypeError(a)};var r=(a,b,c)=>b in a?n(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,D=(a,b)=>{for(var c in b||={})o.call(b,c)&&r(a,c,b[c]);if(m)for(var c of m(b))s.call(b,c)&&r(a,c,b[c]);return a},E=(a,b)=>w(a,y(b));var F=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var G=(a,b)=>{var c={};for(var d in a)o.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&m)for(var d of m(a))b.indexOf(d)<0&&s.call(a,d)&&(c[d]=a[d]);return c};var H=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),I=(a,b)=>{for(var c in b)n(a,c,{get:b[c],enumerable:!0})},C=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of z(b))!o.call(a,e)&&e!==c&&n(a,e,{get:()=>b[e],enumerable:!(d=x(b,e))||d.enumerable});return a};var J=(a,b,c)=>(c=a!=null?v(A(a)):{},C(b||!a||!a.__esModule?n(c,"default",{value:a,enumerable:!0}):c,a));var K=(a,b,c)=>new Promise((d,e)=>{var f=g=>{try{i(c.next(g))}catch(j){e(j)}},h=g=>{try{i(c.throw(g))}catch(j){e(j)}},i=g=>g.done?d(g.value):Promise.resolve(g.value).then(f,h);i((c=c.apply(a,b)).next())}),t=function(a,b){this[0]=a,this[1]=b},L=(a,b,c)=>{var d=(h,i,g,j)=>{try{var p=c[h](i),q=(i=p.value)instanceof t,u=p.done;Promise.resolve(q?i[0]:i).then(k=>q?d(h==="return"?h:"next",i[1]?{done:k.done,value:k.value}:k,g,j):g({value:k,done:u})).catch(k=>d("throw",k,g,j))}catch(k){j(k)}},e=h=>f[h]=i=>new Promise((g,j)=>d(h,i,g,j)),f={};return c=c.apply(a,b),f[l("asyncIterator")]=()=>f,e("next"),e("throw"),e("return"),f},M=a=>{var b=a[l("asyncIterator")],c=!1,d,e={};return b==null?(b=a[l("iterator")](),d=f=>e[f]=h=>b[f](h)):(b=b.call(a),d=f=>e[f]=h=>{if(c){if(c=!1,f==="throw")throw h;return h}return c=!0,{done:!1,value:new t(new Promise(i=>{var g=b[f](h);g instanceof Object||B("Object expected"),i(g)}),1)}}),e[l("iterator")]=()=>e,d("next"),"throw"in b?d("throw"):e.throw=f=>{throw f},"return"in b&&d("return"),e},N=(a,b,c)=>(b=a[l("asyncIterator")])?b.call(a):(a=a[l("iterator")](),b={},c=(d,e)=>(e=a[d])&&(b[d]=f=>new Promise((h,i,g)=>(f=e.call(a,f),g=f.done,Promise.resolve(f.value).then(j=>h({value:j,done:g}),i)))),c("next"),c("return"),b);export{D as a,E as b,F as c,G as d,H as e,I as f,J as g,K as h,t as i,L as j,M as k,N as l}; diff --git a/browser/chunk-RO62NWKH.js b/browser/chunk-RO62NWKH.js deleted file mode 100644 index 1b70d401c..000000000 --- a/browser/chunk-RO62NWKH.js +++ /dev/null @@ -1 +0,0 @@ -import{C as f,F as l,rb as m,sb as a,ub as N,x as g,xc as i}from"./chunk-SR4VE5NL.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; diff --git a/browser/chunk-SR4VE5NL.js b/browser/chunk-SR4VE5NL.js deleted file mode 100644 index cbb911a77..000000000 --- a/browser/chunk-SR4VE5NL.js +++ /dev/null @@ -1,1606 +0,0 @@ -import{a as Y,b as Ge,c as v9,e as b9,g as H4,h as R4}from"./chunk-O7S4L63H.js";var ku=b9((X8,Hl)=>{(function(t,n){typeof X8=="object"&&typeof Hl<"u"?Hl.exports=n():typeof define=="function"&&define.amd?define(n):t.moment=n()})(X8,function(){"use strict";var t;function n(){return t.apply(null,arguments)}function e(c){t=c}function i(c){return c instanceof Array||Object.prototype.toString.call(c)==="[object Array]"}function r(c){return c!=null&&Object.prototype.toString.call(c)==="[object Object]"}function a(c,u){return Object.prototype.hasOwnProperty.call(c,u)}function o(c){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(c).length===0;var u;for(u in c)if(a(c,u))return!1;return!0}function s(c){return c===void 0}function l(c){return typeof c=="number"||Object.prototype.toString.call(c)==="[object Number]"}function h(c){return c instanceof Date||Object.prototype.toString.call(c)==="[object Date]"}function v(c,u){var _=[],b,x=c.length;for(b=0;b>>0,b;for(b=0;b<_;b++)if(b in u&&c.call(this,u[b],b,u))return!0;return!1};function te(c){var u=null,_=!1,b=c._d&&!isNaN(c._d.getTime());if(b&&(u=V(c),_=K.call(u.parsedDateParts,function(x){return x!=null}),b=u.overflow<0&&!u.empty&&!u.invalidEra&&!u.invalidMonth&&!u.invalidWeekday&&!u.weekdayMismatch&&!u.nullInput&&!u.invalidFormat&&!u.userInvalidated&&(!u.meridiem||u.meridiem&&_),c._strict&&(b=b&&u.charsLeftOver===0&&u.unusedTokens.length===0&&u.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(c))c._isValid=b;else return b;return c._isValid}function ge(c){var u=D(NaN);return c!=null?y(V(u),c):V(u).userInvalidated=!0,u}var Oe=n.momentProperties=[],He=!1;function Mt(c,u){var _,b,x,P=Oe.length;if(s(u._isAMomentObject)||(c._isAMomentObject=u._isAMomentObject),s(u._i)||(c._i=u._i),s(u._f)||(c._f=u._f),s(u._l)||(c._l=u._l),s(u._strict)||(c._strict=u._strict),s(u._tzm)||(c._tzm=u._tzm),s(u._isUTC)||(c._isUTC=u._isUTC),s(u._offset)||(c._offset=u._offset),s(u._pf)||(c._pf=V(u)),s(u._locale)||(c._locale=u._locale),P>0)for(_=0;_=0;return(P?_?"+":"":"-")+Math.pow(10,Math.max(0,x)).toString().substr(1)+b}var qm=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,_4=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ym={},Bc={};function Fe(c,u,_,b){var x=b;typeof b=="string"&&(x=function(){return this[b]()}),c&&(Bc[c]=x),u&&(Bc[u[0]]=function(){return ba(x.apply(this,arguments),u[1],u[2])}),_&&(Bc[_]=function(){return this.localeData().ordinal(x.apply(this,arguments),c)})}function QT(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function KT(c){var u=c.match(qm),_,b;for(_=0,b=u.length;_=0&&_4.test(c);)c=c.replace(_4,b),_4.lastIndex=0,_-=1;return c}var ZT={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function XT(c){var u=this._longDateFormat[c],_=this._longDateFormat[c.toUpperCase()];return u||!_?u:(this._longDateFormat[c]=_.match(qm).map(function(b){return b==="MMMM"||b==="MM"||b==="DD"||b==="dddd"?b.slice(1):b}).join(""),this._longDateFormat[c])}var JT="Invalid date";function eV(){return this._invalidDate}var tV="%d",iV=/\d{1,2}/;function nV(c){return this._ordinal.replace("%d",c)}var rV={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function aV(c,u,_,b){var x=this._relativeTime[_];return va(x)?x(c,u,_,b):x.replace(/%d/i,c)}function oV(c,u){var _=this._relativeTime[c>0?"future":"past"];return va(_)?_(u):_.replace(/%s/i,u)}var I_={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Er(c){return typeof c=="string"?I_[c]||I_[c.toLowerCase()]:void 0}function Qm(c){var u={},_,b;for(b in c)a(c,b)&&(_=Er(b),_&&(u[_]=c[b]));return u}var sV={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function cV(c){var u=[],_;for(_ in c)a(c,_)&&u.push({unit:_,priority:sV[_]});return u.sort(function(b,x){return b.priority-x.priority}),u}var E_=/\d/,fr=/\d\d/,O_=/\d{3}/,Km=/\d{4}/,b4=/[+-]?\d{6}/,oi=/\d\d?/,P_=/\d\d\d\d?/,T_=/\d\d\d\d\d\d?/,y4=/\d{1,3}/,Zm=/\d{1,4}/,C4=/[+-]?\d{1,6}/,Uc=/\d+/,x4=/[+-]?\d+/,lV=/Z|[+-]\d\d:?\d\d/gi,M4=/Z|[+-]\d\d(?::?\d\d)?/gi,dV=/[+-]?\d+(\.\d{1,3})?/,K2=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,$c=/^[1-9]\d?/,Xm=/^([1-9]\d|\d)/,w4;w4={};function Ee(c,u,_){w4[c]=va(u)?u:function(b,x){return b&&_?_:u}}function uV(c,u){return a(w4,c)?w4[c](u._strict,u._locale):new RegExp(hV(c))}function hV(c){return Za(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(u,_,b,x,P){return _||b||x||P}))}function Za(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Or(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function bt(c){var u=+c,_=0;return u!==0&&isFinite(u)&&(_=Or(u)),_}var Jm={};function qt(c,u){var _,b=u,x;for(typeof c=="string"&&(c=[c]),l(u)&&(b=function(P,Z){Z[u]=bt(P)}),x=c.length,_=0;_68?1900:2e3)};var V_=Gc("FullYear",!0);function gV(){return D4(this.year())}function Gc(c,u){return function(_){return _!=null?(A_(this,c,_),n.updateOffset(this,u),this):J2(this,c)}}function J2(c,u){if(!c.isValid())return NaN;var _=c._d,b=c._isUTC;switch(u){case"Milliseconds":return b?_.getUTCMilliseconds():_.getMilliseconds();case"Seconds":return b?_.getUTCSeconds():_.getSeconds();case"Minutes":return b?_.getUTCMinutes():_.getMinutes();case"Hours":return b?_.getUTCHours():_.getHours();case"Date":return b?_.getUTCDate():_.getDate();case"Day":return b?_.getUTCDay():_.getDay();case"Month":return b?_.getUTCMonth():_.getMonth();case"FullYear":return b?_.getUTCFullYear():_.getFullYear();default:return NaN}}function A_(c,u,_){var b,x,P,Z,Ie;if(!(!c.isValid()||isNaN(_))){switch(b=c._d,x=c._isUTC,u){case"Milliseconds":return void(x?b.setUTCMilliseconds(_):b.setMilliseconds(_));case"Seconds":return void(x?b.setUTCSeconds(_):b.setSeconds(_));case"Minutes":return void(x?b.setUTCMinutes(_):b.setMinutes(_));case"Hours":return void(x?b.setUTCHours(_):b.setHours(_));case"Date":return void(x?b.setUTCDate(_):b.setDate(_));case"FullYear":break;default:return}P=_,Z=c.month(),Ie=c.date(),Ie=Ie===29&&Z===1&&!D4(P)?28:Ie,x?b.setUTCFullYear(P,Z,Ie):b.setFullYear(P,Z,Ie)}}function _V(c){return c=Er(c),va(this[c])?this[c]():this}function vV(c,u){if(typeof c=="object"){c=Qm(c);var _=cV(c),b,x=_.length;for(b=0;b=0?(Ie=new Date(c+400,u,_,b,x,P,Z),isFinite(Ie.getFullYear())&&Ie.setFullYear(c)):Ie=new Date(c,u,_,b,x,P,Z),Ie}function e1(c){var u,_;return c<100&&c>=0?(_=Array.prototype.slice.call(arguments),_[0]=c+400,u=new Date(Date.UTC.apply(null,_)),isFinite(u.getUTCFullYear())&&u.setUTCFullYear(c)):u=new Date(Date.UTC.apply(null,arguments)),u}function S4(c,u,_){var b=7+u-_,x=(7+e1(c,0,b).getUTCDay()-u)%7;return-x+b-1}function F_(c,u,_,b,x){var P=(7+_-b)%7,Z=S4(c,b,x),Ie=1+7*(u-1)+P+Z,it,wt;return Ie<=0?(it=c-1,wt=X2(it)+Ie):Ie>X2(c)?(it=c+1,wt=Ie-X2(c)):(it=c,wt=Ie),{year:it,dayOfYear:wt}}function t1(c,u,_){var b=S4(c.year(),u,_),x=Math.floor((c.dayOfYear()-b-1)/7)+1,P,Z;return x<1?(Z=c.year()-1,P=x+eo(Z,u,_)):x>eo(c.year(),u,_)?(P=x-eo(c.year(),u,_),Z=c.year()+1):(Z=c.year(),P=x),{week:P,year:Z}}function eo(c,u,_){var b=S4(c,u,_),x=S4(c+1,u,_);return(X2(c)-b+x)/7}Fe("w",["ww",2],"wo","week"),Fe("W",["WW",2],"Wo","isoWeek"),Ee("w",oi,$c),Ee("ww",oi,fr),Ee("W",oi,$c),Ee("WW",oi,fr),Z2(["w","ww","W","WW"],function(c,u,_,b){u[b.substr(0,1)]=bt(c)});function PV(c){return t1(c,this._week.dow,this._week.doy).week}var TV={dow:0,doy:6};function VV(){return this._week.dow}function AV(){return this._week.doy}function zV(c){var u=this.localeData().week(this);return c==null?u:this.add((c-u)*7,"d")}function LV(c){var u=t1(this,1,4).week;return c==null?u:this.add((c-u)*7,"d")}Fe("d",0,"do","day"),Fe("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),Fe("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),Fe("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),Fe("e",0,0,"weekday"),Fe("E",0,0,"isoWeekday"),Ee("d",oi),Ee("e",oi),Ee("E",oi),Ee("dd",function(c,u){return u.weekdaysMinRegex(c)}),Ee("ddd",function(c,u){return u.weekdaysShortRegex(c)}),Ee("dddd",function(c,u){return u.weekdaysRegex(c)}),Z2(["dd","ddd","dddd"],function(c,u,_,b){var x=_._locale.weekdaysParse(c,b,_._strict);x!=null?u.d=x:V(_).invalidWeekday=c}),Z2(["d","e","E"],function(c,u,_,b){u[b]=bt(c)});function HV(c,u){return typeof c!="string"?c:isNaN(c)?(c=u.weekdaysParse(c),typeof c=="number"?c:null):parseInt(c,10)}function RV(c,u){return typeof c=="string"?u.weekdaysParse(c)%7||7:isNaN(c)?null:c}function tp(c,u){return c.slice(u,7).concat(c.slice(0,u))}var NV="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),j_="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),FV="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jV=K2,BV=K2,UV=K2;function $V(c,u){var _=i(this._weekdays)?this._weekdays:this._weekdays[c&&c!==!0&&this._weekdays.isFormat.test(u)?"format":"standalone"];return c===!0?tp(_,this._week.dow):c?_[c.day()]:_}function GV(c){return c===!0?tp(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort}function WV(c){return c===!0?tp(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin}function qV(c,u,_){var b,x,P,Z=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],b=0;b<7;++b)P=D([2e3,1]).day(b),this._minWeekdaysParse[b]=this.weekdaysMin(P,"").toLocaleLowerCase(),this._shortWeekdaysParse[b]=this.weekdaysShort(P,"").toLocaleLowerCase(),this._weekdaysParse[b]=this.weekdays(P,"").toLocaleLowerCase();return _?u==="dddd"?(x=Ei.call(this._weekdaysParse,Z),x!==-1?x:null):u==="ddd"?(x=Ei.call(this._shortWeekdaysParse,Z),x!==-1?x:null):(x=Ei.call(this._minWeekdaysParse,Z),x!==-1?x:null):u==="dddd"?(x=Ei.call(this._weekdaysParse,Z),x!==-1||(x=Ei.call(this._shortWeekdaysParse,Z),x!==-1)?x:(x=Ei.call(this._minWeekdaysParse,Z),x!==-1?x:null)):u==="ddd"?(x=Ei.call(this._shortWeekdaysParse,Z),x!==-1||(x=Ei.call(this._weekdaysParse,Z),x!==-1)?x:(x=Ei.call(this._minWeekdaysParse,Z),x!==-1?x:null)):(x=Ei.call(this._minWeekdaysParse,Z),x!==-1||(x=Ei.call(this._weekdaysParse,Z),x!==-1)?x:(x=Ei.call(this._shortWeekdaysParse,Z),x!==-1?x:null))}function YV(c,u,_){var b,x,P;if(this._weekdaysParseExact)return qV.call(this,c,u,_);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),b=0;b<7;b++){if(x=D([2e3,1]).day(b),_&&!this._fullWeekdaysParse[b]&&(this._fullWeekdaysParse[b]=new RegExp("^"+this.weekdays(x,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[b]=new RegExp("^"+this.weekdaysShort(x,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[b]=new RegExp("^"+this.weekdaysMin(x,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[b]||(P="^"+this.weekdays(x,"")+"|^"+this.weekdaysShort(x,"")+"|^"+this.weekdaysMin(x,""),this._weekdaysParse[b]=new RegExp(P.replace(".",""),"i")),_&&u==="dddd"&&this._fullWeekdaysParse[b].test(c))return b;if(_&&u==="ddd"&&this._shortWeekdaysParse[b].test(c))return b;if(_&&u==="dd"&&this._minWeekdaysParse[b].test(c))return b;if(!_&&this._weekdaysParse[b].test(c))return b}}function QV(c){if(!this.isValid())return c!=null?this:NaN;var u=J2(this,"Day");return c!=null?(c=HV(c,this.localeData()),this.add(c-u,"d")):u}function KV(c){if(!this.isValid())return c!=null?this:NaN;var u=(this.day()+7-this.localeData()._week.dow)%7;return c==null?u:this.add(c-u,"d")}function ZV(c){if(!this.isValid())return c!=null?this:NaN;if(c!=null){var u=RV(c,this.localeData());return this.day(this.day()%7?u:u-7)}else return this.day()||7}function XV(c){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||ip.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=jV),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)}function JV(c){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||ip.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=BV),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function eA(c){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||ip.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=UV),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ip(){function c(zn,ao){return ao.length-zn.length}var u=[],_=[],b=[],x=[],P,Z,Ie,it,wt;for(P=0;P<7;P++)Z=D([2e3,1]).day(P),Ie=Za(this.weekdaysMin(Z,"")),it=Za(this.weekdaysShort(Z,"")),wt=Za(this.weekdays(Z,"")),u.push(Ie),_.push(it),b.push(wt),x.push(Ie),x.push(it),x.push(wt);u.sort(c),_.sort(c),b.sort(c),x.sort(c),this._weekdaysRegex=new RegExp("^("+x.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+b.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function np(){return this.hours()%12||12}function tA(){return this.hours()||24}Fe("H",["HH",2],0,"hour"),Fe("h",["hh",2],0,np),Fe("k",["kk",2],0,tA),Fe("hmm",0,0,function(){return""+np.apply(this)+ba(this.minutes(),2)}),Fe("hmmss",0,0,function(){return""+np.apply(this)+ba(this.minutes(),2)+ba(this.seconds(),2)}),Fe("Hmm",0,0,function(){return""+this.hours()+ba(this.minutes(),2)}),Fe("Hmmss",0,0,function(){return""+this.hours()+ba(this.minutes(),2)+ba(this.seconds(),2)});function B_(c,u){Fe(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),u)})}B_("a",!0),B_("A",!1);function U_(c,u){return u._meridiemParse}Ee("a",U_),Ee("A",U_),Ee("H",oi,Xm),Ee("h",oi,$c),Ee("k",oi,$c),Ee("HH",oi,fr),Ee("hh",oi,fr),Ee("kk",oi,fr),Ee("hmm",P_),Ee("hmmss",T_),Ee("Hmm",P_),Ee("Hmmss",T_),qt(["H","HH"],Gi),qt(["k","kk"],function(c,u,_){var b=bt(c);u[Gi]=b===24?0:b}),qt(["a","A"],function(c,u,_){_._isPm=_._locale.isPM(c),_._meridiem=c}),qt(["h","hh"],function(c,u,_){u[Gi]=bt(c),V(_).bigHour=!0}),qt("hmm",function(c,u,_){var b=c.length-2;u[Gi]=bt(c.substr(0,b)),u[Zr]=bt(c.substr(b)),V(_).bigHour=!0}),qt("hmmss",function(c,u,_){var b=c.length-4,x=c.length-2;u[Gi]=bt(c.substr(0,b)),u[Zr]=bt(c.substr(b,2)),u[Ja]=bt(c.substr(x)),V(_).bigHour=!0}),qt("Hmm",function(c,u,_){var b=c.length-2;u[Gi]=bt(c.substr(0,b)),u[Zr]=bt(c.substr(b))}),qt("Hmmss",function(c,u,_){var b=c.length-4,x=c.length-2;u[Gi]=bt(c.substr(0,b)),u[Zr]=bt(c.substr(b,2)),u[Ja]=bt(c.substr(x))});function iA(c){return(c+"").toLowerCase().charAt(0)==="p"}var nA=/[ap]\.?m?\.?/i,rA=Gc("Hours",!0);function aA(c,u,_){return c>11?_?"pm":"PM":_?"am":"AM"}var $_={calendar:qT,longDateFormat:ZT,invalidDate:JT,ordinal:tV,dayOfMonthOrdinalParse:iV,relativeTime:rV,months:yV,monthsShort:z_,week:TV,weekdays:NV,weekdaysMin:FV,weekdaysShort:j_,meridiemParse:nA},hi={},i1={},n1;function oA(c,u){var _,b=Math.min(c.length,u.length);for(_=0;_0;){if(x=k4(P.slice(0,_).join("-")),x)return x;if(b&&b.length>=_&&oA(P,b)>=_-1)break;_--}u++}return n1}function cA(c){return!!(c&&c.match("^[^/\\\\]*$"))}function k4(c){var u=null,_;if(hi[c]===void 0&&typeof Hl<"u"&&Hl&&Hl.exports&&cA(c))try{u=n1._abbr,_=v9,_("./locale/"+c),$o(u)}catch{hi[c]=null}return hi[c]}function $o(c,u){var _;return c&&(s(u)?_=to(c):_=rp(c,u),_?n1=_:typeof console<"u"&&console.warn&&console.warn("Locale "+c+" not found. Did you forget to load it?")),n1._abbr}function rp(c,u){if(u!==null){var _,b=$_;if(u.abbr=c,hi[c]!=null)S_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),b=hi[c]._config;else if(u.parentLocale!=null)if(hi[u.parentLocale]!=null)b=hi[u.parentLocale]._config;else if(_=k4(u.parentLocale),_!=null)b=_._config;else return i1[u.parentLocale]||(i1[u.parentLocale]=[]),i1[u.parentLocale].push({name:c,config:u}),null;return hi[c]=new Gm($m(b,u)),i1[c]&&i1[c].forEach(function(x){rp(x.name,x.config)}),$o(c),hi[c]}else return delete hi[c],null}function lA(c,u){if(u!=null){var _,b,x=$_;hi[c]!=null&&hi[c].parentLocale!=null?hi[c].set($m(hi[c]._config,u)):(b=k4(c),b!=null&&(x=b._config),u=$m(x,u),b==null&&(u.abbr=c),_=new Gm(u),_.parentLocale=hi[c],hi[c]=_),$o(c)}else hi[c]!=null&&(hi[c].parentLocale!=null?(hi[c]=hi[c].parentLocale,c===$o()&&$o(c)):hi[c]!=null&&delete hi[c]);return hi[c]}function to(c){var u;if(c&&c._locale&&c._locale._abbr&&(c=c._locale._abbr),!c)return n1;if(!i(c)){if(u=k4(c),u)return u;c=[c]}return sA(c)}function dA(){return Wm(hi)}function ap(c){var u,_=c._a;return _&&V(c).overflow===-2&&(u=_[Xa]<0||_[Xa]>11?Xa:_[ya]<1||_[ya]>ep(_[Cn],_[Xa])?ya:_[Gi]<0||_[Gi]>24||_[Gi]===24&&(_[Zr]!==0||_[Ja]!==0||_[js]!==0)?Gi:_[Zr]<0||_[Zr]>59?Zr:_[Ja]<0||_[Ja]>59?Ja:_[js]<0||_[js]>999?js:-1,V(c)._overflowDayOfYear&&(uya)&&(u=ya),V(c)._overflowWeeks&&u===-1&&(u=pV),V(c)._overflowWeekday&&u===-1&&(u=fV),V(c).overflow=u),c}var uA=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,hA=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mA=/Z|[+-]\d\d(?::?\d\d)?/,I4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],op=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pA=/^\/?Date\((-?\d+)/i,fA=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gA={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function W_(c){var u,_,b=c._i,x=uA.exec(b)||hA.exec(b),P,Z,Ie,it,wt=I4.length,zn=op.length;if(x){for(V(c).iso=!0,u=0,_=wt;u<_;u++)if(I4[u][1].exec(x[1])){Z=I4[u][0],P=I4[u][2]!==!1;break}if(Z==null){c._isValid=!1;return}if(x[3]){for(u=0,_=zn;u<_;u++)if(op[u][1].exec(x[3])){Ie=(x[2]||" ")+op[u][0];break}if(Ie==null){c._isValid=!1;return}}if(!P&&Ie!=null){c._isValid=!1;return}if(x[4])if(mA.exec(x[4]))it="Z";else{c._isValid=!1;return}c._f=Z+(Ie||"")+(it||""),cp(c)}else c._isValid=!1}function _A(c,u,_,b,x,P){var Z=[vA(c),z_.indexOf(u),parseInt(_,10),parseInt(b,10),parseInt(x,10)];return P&&Z.push(parseInt(P,10)),Z}function vA(c){var u=parseInt(c,10);return u<=49?2e3+u:u<=999?1900+u:u}function bA(c){return c.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function yA(c,u,_){if(c){var b=j_.indexOf(c),x=new Date(u[0],u[1],u[2]).getDay();if(b!==x)return V(_).weekdayMismatch=!0,_._isValid=!1,!1}return!0}function CA(c,u,_){if(c)return gA[c];if(u)return 0;var b=parseInt(_,10),x=b%100,P=(b-x)/100;return P*60+x}function q_(c){var u=fA.exec(bA(c._i)),_;if(u){if(_=_A(u[4],u[3],u[2],u[5],u[6],u[7]),!yA(u[1],_,c))return;c._a=_,c._tzm=CA(u[8],u[9],u[10]),c._d=e1.apply(null,c._a),c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),V(c).rfc2822=!0}else c._isValid=!1}function xA(c){var u=pA.exec(c._i);if(u!==null){c._d=new Date(+u[1]);return}if(W_(c),c._isValid===!1)delete c._isValid;else return;if(q_(c),c._isValid===!1)delete c._isValid;else return;c._strict?c._isValid=!1:n.createFromInputFallback(c)}n.createFromInputFallback=Ki("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(c){c._d=new Date(c._i+(c._useUTC?" UTC":""))});function Wc(c,u,_){return c??u??_}function MA(c){var u=new Date(n.now());return c._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()]}function sp(c){var u,_,b=[],x,P,Z;if(!c._d){for(x=MA(c),c._w&&c._a[ya]==null&&c._a[Xa]==null&&wA(c),c._dayOfYear!=null&&(Z=Wc(c._a[Cn],x[Cn]),(c._dayOfYear>X2(Z)||c._dayOfYear===0)&&(V(c)._overflowDayOfYear=!0),_=e1(Z,0,c._dayOfYear),c._a[Xa]=_.getUTCMonth(),c._a[ya]=_.getUTCDate()),u=0;u<3&&c._a[u]==null;++u)c._a[u]=b[u]=x[u];for(;u<7;u++)c._a[u]=b[u]=c._a[u]==null?u===2?1:0:c._a[u];c._a[Gi]===24&&c._a[Zr]===0&&c._a[Ja]===0&&c._a[js]===0&&(c._nextDay=!0,c._a[Gi]=0),c._d=(c._useUTC?e1:OV).apply(null,b),P=c._useUTC?c._d.getUTCDay():c._d.getDay(),c._tzm!=null&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[Gi]=24),c._w&&typeof c._w.d<"u"&&c._w.d!==P&&(V(c).weekdayMismatch=!0)}}function wA(c){var u,_,b,x,P,Z,Ie,it,wt;u=c._w,u.GG!=null||u.W!=null||u.E!=null?(P=1,Z=4,_=Wc(u.GG,c._a[Cn],t1(si(),1,4).year),b=Wc(u.W,1),x=Wc(u.E,1),(x<1||x>7)&&(it=!0)):(P=c._locale._week.dow,Z=c._locale._week.doy,wt=t1(si(),P,Z),_=Wc(u.gg,c._a[Cn],wt.year),b=Wc(u.w,wt.week),u.d!=null?(x=u.d,(x<0||x>6)&&(it=!0)):u.e!=null?(x=u.e+P,(u.e<0||u.e>6)&&(it=!0)):x=P),b<1||b>eo(_,P,Z)?V(c)._overflowWeeks=!0:it!=null?V(c)._overflowWeekday=!0:(Ie=F_(_,b,x,P,Z),c._a[Cn]=Ie.year,c._dayOfYear=Ie.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function cp(c){if(c._f===n.ISO_8601){W_(c);return}if(c._f===n.RFC_2822){q_(c);return}c._a=[],V(c).empty=!0;var u=""+c._i,_,b,x,P,Z,Ie=u.length,it=0,wt,zn;for(x=k_(c._f,c._locale).match(qm)||[],zn=x.length,_=0;_0&&V(c).unusedInput.push(Z),u=u.slice(u.indexOf(b)+b.length),it+=b.length),Bc[P]?(b?V(c).empty=!1:V(c).unusedTokens.push(P),mV(P,b,c)):c._strict&&!b&&V(c).unusedTokens.push(P);V(c).charsLeftOver=Ie-it,u.length>0&&V(c).unusedInput.push(u),c._a[Gi]<=12&&V(c).bigHour===!0&&c._a[Gi]>0&&(V(c).bigHour=void 0),V(c).parsedDateParts=c._a.slice(0),V(c).meridiem=c._meridiem,c._a[Gi]=DA(c._locale,c._a[Gi],c._meridiem),wt=V(c).era,wt!==null&&(c._a[Cn]=c._locale.erasConvertYear(wt,c._a[Cn])),sp(c),ap(c)}function DA(c,u,_){var b;return _==null?u:c.meridiemHour!=null?c.meridiemHour(u,_):(c.isPM!=null&&(b=c.isPM(_),b&&u<12&&(u+=12),!b&&u===12&&(u=0)),u)}function SA(c){var u,_,b,x,P,Z,Ie=!1,it=c._f.length;if(it===0){V(c).invalidFormat=!0,c._d=new Date(NaN);return}for(x=0;xthis?this:c:ge()});function K_(c,u){var _,b;if(u.length===1&&i(u[0])&&(u=u[0]),!u.length)return si();for(_=u[0],b=1;bthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qA(){if(!s(this._isDSTShifted))return this._isDSTShifted;var c={},u;return Mt(c,this),c=Y_(c),c._a?(u=c._isUTC?D(c._a):si(c._a),this._isDSTShifted=this.isValid()&&RA(c._a,u.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function YA(){return this.isValid()?!this._isUTC:!1}function QA(){return this.isValid()?this._isUTC:!1}function X_(){return this.isValid()?this._isUTC&&this._offset===0:!1}var KA=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ZA=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xr(c,u){var _=c,b=null,x,P,Z;return O4(c)?_={ms:c._milliseconds,d:c._days,M:c._months}:l(c)||!isNaN(+c)?(_={},u?_[u]=+c:_.milliseconds=+c):(b=KA.exec(c))?(x=b[1]==="-"?-1:1,_={y:0,d:bt(b[ya])*x,h:bt(b[Gi])*x,m:bt(b[Zr])*x,s:bt(b[Ja])*x,ms:bt(lp(b[js]*1e3))*x}):(b=ZA.exec(c))?(x=b[1]==="-"?-1:1,_={y:Bs(b[2],x),M:Bs(b[3],x),w:Bs(b[4],x),d:Bs(b[5],x),h:Bs(b[6],x),m:Bs(b[7],x),s:Bs(b[8],x)}):_==null?_={}:typeof _=="object"&&("from"in _||"to"in _)&&(Z=XA(si(_.from),si(_.to)),_={},_.ms=Z.milliseconds,_.M=Z.months),P=new E4(_),O4(c)&&a(c,"_locale")&&(P._locale=c._locale),O4(c)&&a(c,"_isValid")&&(P._isValid=c._isValid),P}Xr.fn=E4.prototype,Xr.invalid=HA;function Bs(c,u){var _=c&&parseFloat(c.replace(",","."));return(isNaN(_)?0:_)*u}function J_(c,u){var _={};return _.months=u.month()-c.month()+(u.year()-c.year())*12,c.clone().add(_.months,"M").isAfter(u)&&--_.months,_.milliseconds=+u-+c.clone().add(_.months,"M"),_}function XA(c,u){var _;return c.isValid()&&u.isValid()?(u=up(u,c),c.isBefore(u)?_=J_(c,u):(_=J_(u,c),_.milliseconds=-_.milliseconds,_.months=-_.months),_):{milliseconds:0,months:0}}function e9(c,u){return function(_,b){var x,P;return b!==null&&!isNaN(+b)&&(S_(u,"moment()."+u+"(period, number) is deprecated. Please use moment()."+u+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),P=_,_=b,b=P),x=Xr(_,b),t9(this,x,c),this}}function t9(c,u,_,b){var x=u._milliseconds,P=lp(u._days),Z=lp(u._months);c.isValid()&&(b=b??!0,Z&&H_(c,J2(c,"Month")+Z*_),P&&A_(c,"Date",J2(c,"Date")+P*_),x&&c._d.setTime(c._d.valueOf()+x*_),b&&n.updateOffset(c,P||Z))}var JA=e9(1,"add"),ez=e9(-1,"subtract");function i9(c){return typeof c=="string"||c instanceof String}function tz(c){return Et(c)||h(c)||i9(c)||l(c)||nz(c)||iz(c)||c===null||c===void 0}function iz(c){var u=r(c)&&!o(c),_=!1,b=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],x,P,Z=b.length;for(x=0;x_.valueOf():_.valueOf()9999?v4(_,u?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):va(Date.prototype.toISOString)?u?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",v4(_,"Z")):v4(_,u?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _z(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var c="moment",u="",_,b,x,P;return this.isLocal()||(c=this.utcOffset()===0?"moment.utc":"moment.parseZone",u="Z"),_="["+c+'("]',b=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",x="-MM-DD[T]HH:mm:ss.SSS",P=u+'[")]',this.format(_+b+x+P)}function vz(c){c||(c=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var u=v4(this,c);return this.localeData().postformat(u)}function bz(c,u){return this.isValid()&&(Et(c)&&c.isValid()||si(c).isValid())?Xr({to:this,from:c}).locale(this.locale()).humanize(!u):this.localeData().invalidDate()}function yz(c){return this.from(si(),c)}function Cz(c,u){return this.isValid()&&(Et(c)&&c.isValid()||si(c).isValid())?Xr({from:this,to:c}).locale(this.locale()).humanize(!u):this.localeData().invalidDate()}function xz(c){return this.to(si(),c)}function n9(c){var u;return c===void 0?this._locale._abbr:(u=to(c),u!=null&&(this._locale=u),this)}var r9=Ki("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(c){return c===void 0?this.localeData():this.locale(c)});function a9(){return this._locale}var T4=1e3,qc=60*T4,V4=60*qc,o9=(365*400+97)*24*V4;function Yc(c,u){return(c%u+u)%u}function s9(c,u,_){return c<100&&c>=0?new Date(c+400,u,_)-o9:new Date(c,u,_).valueOf()}function c9(c,u,_){return c<100&&c>=0?Date.UTC(c+400,u,_)-o9:Date.UTC(c,u,_)}function Mz(c){var u,_;if(c=Er(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(_=this._isUTC?c9:s9,c){case"year":u=_(this.year(),0,1);break;case"quarter":u=_(this.year(),this.month()-this.month()%3,1);break;case"month":u=_(this.year(),this.month(),1);break;case"week":u=_(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":u=_(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":u=_(this.year(),this.month(),this.date());break;case"hour":u=this._d.valueOf(),u-=Yc(u+(this._isUTC?0:this.utcOffset()*qc),V4);break;case"minute":u=this._d.valueOf(),u-=Yc(u,qc);break;case"second":u=this._d.valueOf(),u-=Yc(u,T4);break}return this._d.setTime(u),n.updateOffset(this,!0),this}function wz(c){var u,_;if(c=Er(c),c===void 0||c==="millisecond"||!this.isValid())return this;switch(_=this._isUTC?c9:s9,c){case"year":u=_(this.year()+1,0,1)-1;break;case"quarter":u=_(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":u=_(this.year(),this.month()+1,1)-1;break;case"week":u=_(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":u=_(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":u=_(this.year(),this.month(),this.date()+1)-1;break;case"hour":u=this._d.valueOf(),u+=V4-Yc(u+(this._isUTC?0:this.utcOffset()*qc),V4)-1;break;case"minute":u=this._d.valueOf(),u+=qc-Yc(u,qc)-1;break;case"second":u=this._d.valueOf(),u+=T4-Yc(u,T4)-1;break}return this._d.setTime(u),n.updateOffset(this,!0),this}function Dz(){return this._d.valueOf()-(this._offset||0)*6e4}function Sz(){return Math.floor(this.valueOf()/1e3)}function kz(){return new Date(this.valueOf())}function Iz(){var c=this;return[c.year(),c.month(),c.date(),c.hour(),c.minute(),c.second(),c.millisecond()]}function Ez(){var c=this;return{years:c.year(),months:c.month(),date:c.date(),hours:c.hours(),minutes:c.minutes(),seconds:c.seconds(),milliseconds:c.milliseconds()}}function Oz(){return this.isValid()?this.toISOString():null}function Pz(){return te(this)}function Tz(){return y({},V(this))}function Vz(){return V(this).overflow}function Az(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Fe("N",0,0,"eraAbbr"),Fe("NN",0,0,"eraAbbr"),Fe("NNN",0,0,"eraAbbr"),Fe("NNNN",0,0,"eraName"),Fe("NNNNN",0,0,"eraNarrow"),Fe("y",["y",1],"yo","eraYear"),Fe("y",["yy",2],0,"eraYear"),Fe("y",["yyy",3],0,"eraYear"),Fe("y",["yyyy",4],0,"eraYear"),Ee("N",mp),Ee("NN",mp),Ee("NNN",mp),Ee("NNNN",Gz),Ee("NNNNN",Wz),qt(["N","NN","NNN","NNNN","NNNNN"],function(c,u,_,b){var x=_._locale.erasParse(c,b,_._strict);x?V(_).era=x:V(_).invalidEra=c}),Ee("y",Uc),Ee("yy",Uc),Ee("yyy",Uc),Ee("yyyy",Uc),Ee("yo",qz),qt(["y","yy","yyy","yyyy"],Cn),qt(["yo"],function(c,u,_,b){var x;_._locale._eraYearOrdinalRegex&&(x=c.match(_._locale._eraYearOrdinalRegex)),_._locale.eraYearOrdinalParse?u[Cn]=_._locale.eraYearOrdinalParse(c,x):u[Cn]=parseInt(c,10)});function zz(c,u){var _,b,x,P=this._eras||to("en")._eras;for(_=0,b=P.length;_=0)return P[b]}function Hz(c,u){var _=c.since<=c.until?1:-1;return u===void 0?n(c.since).year():n(c.since).year()+(u-c.offset)*_}function Rz(){var c,u,_,b=this.localeData().eras();for(c=0,u=b.length;cP&&(u=P),eL.call(this,c,u,_,b,x))}function eL(c,u,_,b,x){var P=F_(c,u,_,b,x),Z=e1(P.year,0,P.dayOfYear);return this.year(Z.getUTCFullYear()),this.month(Z.getUTCMonth()),this.date(Z.getUTCDate()),this}Fe("Q",0,"Qo","quarter"),Ee("Q",E_),qt("Q",function(c,u){u[Xa]=(bt(c)-1)*3});function tL(c){return c==null?Math.ceil((this.month()+1)/3):this.month((c-1)*3+this.month()%3)}Fe("D",["DD",2],"Do","date"),Ee("D",oi,$c),Ee("DD",oi,fr),Ee("Do",function(c,u){return c?u._dayOfMonthOrdinalParse||u._ordinalParse:u._dayOfMonthOrdinalParseLenient}),qt(["D","DD"],ya),qt("Do",function(c,u){u[ya]=bt(c.match(oi)[0])});var d9=Gc("Date",!0);Fe("DDD",["DDDD",3],"DDDo","dayOfYear"),Ee("DDD",y4),Ee("DDDD",O_),qt(["DDD","DDDD"],function(c,u,_){_._dayOfYear=bt(c)});function iL(c){var u=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return c==null?u:this.add(c-u,"d")}Fe("m",["mm",2],0,"minute"),Ee("m",oi,Xm),Ee("mm",oi,fr),qt(["m","mm"],Zr);var nL=Gc("Minutes",!1);Fe("s",["ss",2],0,"second"),Ee("s",oi,Xm),Ee("ss",oi,fr),qt(["s","ss"],Ja);var rL=Gc("Seconds",!1);Fe("S",0,0,function(){return~~(this.millisecond()/100)}),Fe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Fe(0,["SSS",3],0,"millisecond"),Fe(0,["SSSS",4],0,function(){return this.millisecond()*10}),Fe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Fe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Fe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Fe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Fe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ee("S",y4,E_),Ee("SS",y4,fr),Ee("SSS",y4,O_);var Go,u9;for(Go="SSSS";Go.length<=9;Go+="S")Ee(Go,Uc);function aL(c,u){u[js]=bt(("0."+c)*1e3)}for(Go="S";Go.length<=9;Go+="S")qt(Go,aL);u9=Gc("Milliseconds",!1),Fe("z",0,0,"zoneAbbr"),Fe("zz",0,0,"zoneName");function oL(){return this._isUTC?"UTC":""}function sL(){return this._isUTC?"Coordinated Universal Time":""}var be=It.prototype;be.add=JA,be.calendar=oz,be.clone=sz,be.diff=pz,be.endOf=wz,be.format=vz,be.from=bz,be.fromNow=yz,be.to=Cz,be.toNow=xz,be.get=_V,be.invalidAt=Vz,be.isAfter=cz,be.isBefore=lz,be.isBetween=dz,be.isSame=uz,be.isSameOrAfter=hz,be.isSameOrBefore=mz,be.isValid=Pz,be.lang=r9,be.locale=n9,be.localeData=a9,be.max=PA,be.min=OA,be.parsingFlags=Tz,be.set=vV,be.startOf=Mz,be.subtract=ez,be.toArray=Iz,be.toObject=Ez,be.toDate=kz,be.toISOString=gz,be.inspect=_z,typeof Symbol<"u"&&Symbol.for!=null&&(be[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),be.toJSON=Oz,be.toString=fz,be.unix=Sz,be.valueOf=Dz,be.creationData=Az,be.eraName=Rz,be.eraNarrow=Nz,be.eraAbbr=Fz,be.eraYear=jz,be.year=V_,be.isLeapYear=gV,be.weekYear=Yz,be.isoWeekYear=Qz,be.quarter=be.quarters=tL,be.month=R_,be.daysInMonth=kV,be.week=be.weeks=zV,be.isoWeek=be.isoWeeks=LV,be.weeksInYear=Xz,be.weeksInWeekYear=Jz,be.isoWeeksInYear=Kz,be.isoWeeksInISOWeekYear=Zz,be.date=d9,be.day=be.days=QV,be.weekday=KV,be.isoWeekday=ZV,be.dayOfYear=iL,be.hour=be.hours=rA,be.minute=be.minutes=nL,be.second=be.seconds=rL,be.millisecond=be.milliseconds=u9,be.utcOffset=FA,be.utc=BA,be.local=UA,be.parseZone=$A,be.hasAlignedHourOffset=GA,be.isDST=WA,be.isLocal=YA,be.isUtcOffset=QA,be.isUtc=X_,be.isUTC=X_,be.zoneAbbr=oL,be.zoneName=sL,be.dates=Ki("dates accessor is deprecated. Use date instead.",d9),be.months=Ki("months accessor is deprecated. Use month instead",R_),be.years=Ki("years accessor is deprecated. Use year instead",V_),be.zone=Ki("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",jA),be.isDSTShifted=Ki("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qA);function cL(c){return si(c*1e3)}function lL(){return si.apply(null,arguments).parseZone()}function h9(c){return c}var Vt=Gm.prototype;Vt.calendar=YT,Vt.longDateFormat=XT,Vt.invalidDate=eV,Vt.ordinal=nV,Vt.preparse=h9,Vt.postformat=h9,Vt.relativeTime=aV,Vt.pastFuture=oV,Vt.set=WT,Vt.eras=zz,Vt.erasParse=Lz,Vt.erasConvertYear=Hz,Vt.erasAbbrRegex=Uz,Vt.erasNameRegex=Bz,Vt.erasNarrowRegex=$z,Vt.months=MV,Vt.monthsShort=wV,Vt.monthsParse=SV,Vt.monthsRegex=EV,Vt.monthsShortRegex=IV,Vt.week=PV,Vt.firstDayOfYear=AV,Vt.firstDayOfWeek=VV,Vt.weekdays=$V,Vt.weekdaysMin=WV,Vt.weekdaysShort=GV,Vt.weekdaysParse=YV,Vt.weekdaysRegex=XV,Vt.weekdaysShortRegex=JV,Vt.weekdaysMinRegex=eA,Vt.isPM=iA,Vt.meridiem=aA;function z4(c,u,_,b){var x=to(),P=D().set(b,u);return x[_](P,c)}function m9(c,u,_){if(l(c)&&(u=c,c=void 0),c=c||"",u!=null)return z4(c,u,_,"month");var b,x=[];for(b=0;b<12;b++)x[b]=z4(c,b,_,"month");return x}function fp(c,u,_,b){typeof c=="boolean"?(l(u)&&(_=u,u=void 0),u=u||""):(u=c,_=u,c=!1,l(u)&&(_=u,u=void 0),u=u||"");var x=to(),P=c?x._week.dow:0,Z,Ie=[];if(_!=null)return z4(u,(_+P)%7,b,"day");for(Z=0;Z<7;Z++)Ie[Z]=z4(u,(Z+P)%7,b,"day");return Ie}function dL(c,u){return m9(c,u,"months")}function uL(c,u){return m9(c,u,"monthsShort")}function hL(c,u,_){return fp(c,u,_,"weekdays")}function mL(c,u,_){return fp(c,u,_,"weekdaysShort")}function pL(c,u,_){return fp(c,u,_,"weekdaysMin")}$o("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(c){var u=c%10,_=bt(c%100/10)===1?"th":u===1?"st":u===2?"nd":u===3?"rd":"th";return c+_}}),n.lang=Ki("moment.lang is deprecated. Use moment.locale instead.",$o),n.langData=Ki("moment.langData is deprecated. Use moment.localeData instead.",to);var io=Math.abs;function fL(){var c=this._data;return this._milliseconds=io(this._milliseconds),this._days=io(this._days),this._months=io(this._months),c.milliseconds=io(c.milliseconds),c.seconds=io(c.seconds),c.minutes=io(c.minutes),c.hours=io(c.hours),c.months=io(c.months),c.years=io(c.years),this}function p9(c,u,_,b){var x=Xr(u,_);return c._milliseconds+=b*x._milliseconds,c._days+=b*x._days,c._months+=b*x._months,c._bubble()}function gL(c,u){return p9(this,c,u,1)}function _L(c,u){return p9(this,c,u,-1)}function f9(c){return c<0?Math.floor(c):Math.ceil(c)}function vL(){var c=this._milliseconds,u=this._days,_=this._months,b=this._data,x,P,Z,Ie,it;return c>=0&&u>=0&&_>=0||c<=0&&u<=0&&_<=0||(c+=f9(gp(_)+u)*864e5,u=0,_=0),b.milliseconds=c%1e3,x=Or(c/1e3),b.seconds=x%60,P=Or(x/60),b.minutes=P%60,Z=Or(P/60),b.hours=Z%24,u+=Or(Z/24),it=Or(g9(u)),_+=it,u-=f9(gp(it)),Ie=Or(_/12),_%=12,b.days=u,b.months=_,b.years=Ie,this}function g9(c){return c*4800/146097}function gp(c){return c*146097/4800}function bL(c){if(!this.isValid())return NaN;var u,_,b=this._milliseconds;if(c=Er(c),c==="month"||c==="quarter"||c==="year")switch(u=this._days+b/864e5,_=this._months+g9(u),c){case"month":return _;case"quarter":return _/3;case"year":return _/12}else switch(u=this._days+Math.round(gp(this._months)),c){case"week":return u/7+b/6048e5;case"day":return u+b/864e5;case"hour":return u*24+b/36e5;case"minute":return u*1440+b/6e4;case"second":return u*86400+b/1e3;case"millisecond":return Math.floor(u*864e5)+b;default:throw new Error("Unknown unit "+c)}}function no(c){return function(){return this.as(c)}}var _9=no("ms"),yL=no("s"),CL=no("m"),xL=no("h"),ML=no("d"),wL=no("w"),DL=no("M"),SL=no("Q"),kL=no("y"),IL=_9;function EL(){return Xr(this)}function OL(c){return c=Er(c),this.isValid()?this[c+"s"]():NaN}function Us(c){return function(){return this.isValid()?this._data[c]:NaN}}var PL=Us("milliseconds"),TL=Us("seconds"),VL=Us("minutes"),AL=Us("hours"),zL=Us("days"),LL=Us("months"),HL=Us("years");function RL(){return Or(this.days()/7)}var ro=Math.round,Qc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function NL(c,u,_,b,x){return x.relativeTime(u||1,!!_,c,b)}function FL(c,u,_,b){var x=Xr(c).abs(),P=ro(x.as("s")),Z=ro(x.as("m")),Ie=ro(x.as("h")),it=ro(x.as("d")),wt=ro(x.as("M")),zn=ro(x.as("w")),ao=ro(x.as("y")),Wo=P<=_.ss&&["s",P]||P<_.s&&["ss",P]||Z<=1&&["m"]||Z<_.m&&["mm",Z]||Ie<=1&&["h"]||Ie<_.h&&["hh",Ie]||it<=1&&["d"]||it<_.d&&["dd",it];return _.w!=null&&(Wo=Wo||zn<=1&&["w"]||zn<_.w&&["ww",zn]),Wo=Wo||wt<=1&&["M"]||wt<_.M&&["MM",wt]||ao<=1&&["y"]||["yy",ao],Wo[2]=u,Wo[3]=+c>0,Wo[4]=b,NL.apply(null,Wo)}function jL(c){return c===void 0?ro:typeof c=="function"?(ro=c,!0):!1}function BL(c,u){return Qc[c]===void 0?!1:u===void 0?Qc[c]:(Qc[c]=u,c==="s"&&(Qc.ss=u-1),!0)}function UL(c,u){if(!this.isValid())return this.localeData().invalidDate();var _=!1,b=Qc,x,P;return typeof c=="object"&&(u=c,c=!1),typeof c=="boolean"&&(_=c),typeof u=="object"&&(b=Object.assign({},Qc,u),u.s!=null&&u.ss==null&&(b.ss=u.s-1)),x=this.localeData(),P=FL(this,!_,b,x),_&&(P=x.pastFuture(+this,P)),x.postformat(P)}var _p=Math.abs;function Kc(c){return(c>0)-(c<0)||+c}function L4(){if(!this.isValid())return this.localeData().invalidDate();var c=_p(this._milliseconds)/1e3,u=_p(this._days),_=_p(this._months),b,x,P,Z,Ie=this.asSeconds(),it,wt,zn,ao;return Ie?(b=Or(c/60),x=Or(b/60),c%=60,b%=60,P=Or(_/12),_%=12,Z=c?c.toFixed(3).replace(/\.?0+$/,""):"",it=Ie<0?"-":"",wt=Kc(this._months)!==Kc(Ie)?"-":"",zn=Kc(this._days)!==Kc(Ie)?"-":"",ao=Kc(this._milliseconds)!==Kc(Ie)?"-":"",it+"P"+(P?wt+P+"Y":"")+(_?wt+_+"M":"")+(u?zn+u+"D":"")+(x||b||c?"T":"")+(x?ao+x+"H":"")+(b?ao+b+"M":"")+(c?ao+Z+"S":"")):"P0D"}var St=E4.prototype;St.isValid=LA,St.abs=fL,St.add=gL,St.subtract=_L,St.as=bL,St.asMilliseconds=_9,St.asSeconds=yL,St.asMinutes=CL,St.asHours=xL,St.asDays=ML,St.asWeeks=wL,St.asMonths=DL,St.asQuarters=SL,St.asYears=kL,St.valueOf=IL,St._bubble=vL,St.clone=EL,St.get=OL,St.milliseconds=PL,St.seconds=TL,St.minutes=VL,St.hours=AL,St.days=zL,St.weeks=RL,St.months=LL,St.years=HL,St.humanize=UL,St.toISOString=L4,St.toString=L4,St.toJSON=L4,St.locale=n9,St.localeData=a9,St.toIsoString=Ki("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",L4),St.lang=r9,Fe("X",0,0,"unix"),Fe("x",0,0,"valueOf"),Ee("x",x4),Ee("X",dV),qt("X",function(c,u,_){_._d=new Date(parseFloat(c)*1e3)}),qt("x",function(c,u,_){_._d=new Date(bt(c))});return n.version="2.30.1",e(si),n.fn=be,n.min=TA,n.max=VA,n.now=AA,n.utc=D,n.unix=cL,n.months=dL,n.isDate=h,n.locale=$o,n.invalid=ge,n.duration=Xr,n.isMoment=Et,n.weekdays=hL,n.parseZone=lL,n.localeData=to,n.isDuration=O4,n.monthsShort=uL,n.weekdaysMin=pL,n.defineLocale=rp,n.updateLocale=lA,n.locales=dA,n.weekdaysShort=mL,n.normalizeUnits=Er,n.relativeTimeRounding=jL,n.relativeTimeThreshold=BL,n.calendarFormat=az,n.prototype=be,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});var cM=b9((Kme,sM)=>{function Pu(t){var n=" ";if(isNaN(parseInt(t)))n=t;else switch(t){case 1:n=" ";break;case 2:n=" ";break;case 3:n=" ";break;case 4:n=" ";break;case 5:n=" ";break;case 6:n=" ";break;case 7:n=" ";break;case 8:n=" ";break;case 9:n=" ";break;case 10:n=" ";break;case 11:n=" ";break;case 12:n=" ";break}for(var e=[` -`],i=0;i<100;i++)e.push(e[i]+n);return e}function So(){this.step=" ",this.shift=Pu(this.step)}So.prototype.xml=function(t,n){var e=t.replace(/>\s{0,}<").replace(/-1?(o+=l[a]+e[s],r=!0,(e[s].search(/-->/)>-1||e[s].search(/\]>/)>-1||e[s].search(/!DOCTYPE/)>-1)&&(r=!1)):e[s].search(/-->/)>-1||e[s].search(/\]>/)>-1?(o+=e[s],r=!1):/^<\w/.exec(e[s-1])&&/^<\/\w/.exec(e[s])&&/^<[\w:\-\.\,]+/.exec(e[s-1])==/^<\/[\w:\-\.\,]+/.exec(e[s])[0].replace("/","")?(o+=e[s],r||a--):e[s].search(/<\w/)>-1&&e[s].search(/<\//)==-1&&e[s].search(/\/>/)==-1?o=r?o+=e[s]:o+=l[a++]+e[s]:e[s].search(/<\w/)>-1&&e[s].search(/<\//)>-1?o=r?o+=e[s]:o+=l[a]+e[s]:e[s].search(/<\//)>-1?o=r?o+=e[s]:o+=l[--a]+e[s]:e[s].search(/\/>/)>-1?o=r?o+=e[s]:o+=l[a]+e[s]:e[s].search(/<\?/)>-1||e[s].search(/xmlns\:/)>-1||e[s].search(/xmlns\=/)>-1?o+=l[a]+e[s]:o+=e[s];return o[0]==` -`?o.slice(1):o};So.prototype.json=function(t,e){var e=e||this.step;return typeof JSON>"u"?t:typeof t=="string"?JSON.stringify(JSON.parse(t),null,e):typeof t=="object"?JSON.stringify(t,null,e):t};So.prototype.css=function(t,n){var e=t.replace(/\s{1,}/g," ").replace(/\{/g,"{~::~").replace(/\}/g,"~::~}~::~").replace(/\;/g,";~::~").replace(/\/\*/g,"~::~/*").replace(/\*\//g,"*/~::~").replace(/~::~\s{0,}~::~/g,"~::~").split("~::~"),i=e.length,r=0,a="",o=0,s=n?Pu(n):this.shift;for(o=0;o/g,"").replace(/[ \r\n\t]{1,}xmlns/g," xmlns");return e.replace(/>\s{0,}<")};So.prototype.jsonmin=function(t){return typeof JSON>"u"?t:JSON.stringify(JSON.parse(t),null,0)};So.prototype.cssmin=function(t,n){var e=n?t:t.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g,"");return e.replace(/\s{1,}/g," ").replace(/\{\s{1,}/g,"{").replace(/\}\s{1,}/g,"}").replace(/\;\s{1,}/g,";").replace(/\/\*\s{1,}/g,"/*").replace(/\*\/\s{1,}/g,"*/")};So.prototype.sqlmin=function(t){return t.replace(/\s{1,}/g," ").replace(/\s{1,}\(/,"(").replace(/\s{1,}\)/,")")};sM.exports=new So});function y9(t,n){return Object.is(t,n)}var Wi=null,a1=!1,N4=1,Pr=Symbol("SIGNAL");function _t(t){let n=Wi;return Wi=t,n}function C9(){return Wi}function $L(){return a1}var Zc={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Cp(t){if(a1)throw new Error("");if(Wi===null)return;Wi.consumerOnSignalRead(t);let n=Wi.nextProducerIndex++;if(G4(Wi),nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function B4(t){G4(t);for(let n=0;n0}function G4(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function k9(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function I9(t){return t.producerNode!==void 0}function xp(t){let n=Object.create(WL);n.computation=t;let e=()=>{if(x9(n),Cp(n),n.value===F4)throw n.error;return n.value};return e[Pr]=n,e}var vp=Symbol("UNSET"),bp=Symbol("COMPUTING"),F4=Symbol("ERRORED"),WL=Ge(Y({},Zc),{value:vp,dirty:!0,error:null,equal:y9,producerMustRecompute(t){return t.value===vp||t.value===bp},producerRecomputeValue(t){if(t.value===bp)throw new Error("Detected cycle in computations.");let n=t.value;t.value=bp;let e=s1(t),i;try{i=t.computation()}catch(r){i=F4,t.error=r}finally{j4(t,e)}if(n!==vp&&n!==F4&&i!==F4&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});function qL(){throw new Error}var E9=qL;function O9(){E9()}function P9(t){E9=t}var YL=null;function T9(t){let n=Object.create(A9);n.value=t;let e=()=>(Cp(n),n.value);return e[Pr]=n,e}function Mp(t,n){w9()||O9(),t.equal(t.value,n)||(t.value=n,QL(t))}function V9(t,n){w9()||O9(),Mp(t,n(t.value))}var A9=Ge(Y({},Zc),{equal:y9,value:void 0});function QL(t){t.version++,GL(),M9(t),YL?.()}function z9(t,n,e){let i=Object.create(KL);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;let r=l=>{i.cleanupFn=l};function a(l){return l.fn===null&&l.schedule===null}function o(l){a(l)||(U4(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=yp)}let s=()=>{if(i.fn===null)return;if($L())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!B4(i))return;i.hasRun=!0;let l=s1(i);try{i.cleanupFn(),i.cleanupFn=yp,i.fn(r)}finally{j4(i,l)}};return i.ref={notify:()=>D9(i),run:s,cleanup:()=>i.cleanupFn(),destroy:()=>o(i),[Pr]:i},i.ref}var yp=()=>{},KL=Ge(Y({},Zc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:yp});function We(t){return typeof t=="function"}function Xc(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var W4=Xc(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: -${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=e});function $s(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var xe=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let a of e)a.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(We(i))try{i()}catch(a){n=a instanceof W4?a.errors:[a]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let a of r)try{L9(a)}catch(o){n=n??[],o instanceof W4?n=[...n,...o.errors]:n.push(o)}}if(n)throw new W4(n)}}add(n){var e;if(n&&n!==this)if(this.closed)L9(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&$s(e,n)}remove(n){let{_finalizers:e}=this;e&&$s(e,n),n instanceof t&&n._removeParent(this)}};xe.EMPTY=(()=>{let t=new xe;return t.closed=!0,t})();var wp=xe.EMPTY;function q4(t){return t instanceof xe||t&&"closed"in t&&We(t.remove)&&We(t.add)&&We(t.unsubscribe)}function L9(t){We(t)?t():t.unsubscribe()}var Jr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Jc={setTimeout(t,n,...e){let{delegate:i}=Jc;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Jc;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Y4(t){Jc.setTimeout(()=>{let{onUnhandledError:n}=Jr;if(n)n(t);else throw t})}function Gs(){}var H9=Dp("C",void 0,void 0);function R9(t){return Dp("E",void 0,t)}function N9(t){return Dp("N",t,void 0)}function Dp(t,n,e){return{kind:t,value:n,error:e}}var Ws=null;function el(t){if(Jr.useDeprecatedSynchronousErrorHandling){let n=!Ws;if(n&&(Ws={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Ws;if(Ws=null,e)throw i}}else t()}function F9(t){Jr.useDeprecatedSynchronousErrorHandling&&Ws&&(Ws.errorThrown=!0,Ws.error=t)}var qs=class extends xe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,q4(n)&&n.add(this)):this.destination=JL}static create(n,e,i){return new oo(n,e,i)}next(n){this.isStopped?kp(N9(n),this):this._next(n)}error(n){this.isStopped?kp(R9(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?kp(H9,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()}}},ZL=Function.prototype.bind;function Sp(t,n){return ZL.call(t,n)}var Ip=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Q4(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Q4(i)}else Q4(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Q4(e)}}},oo=class extends qs{constructor(n,e,i){super();let r;if(We(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let a;this&&Jr.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Sp(n.next,a),error:n.error&&Sp(n.error,a),complete:n.complete&&Sp(n.complete,a)}):r=n}this.destination=new Ip(r)}};function Q4(t){Jr.useDeprecatedSynchronousErrorHandling?F9(t):Y4(t)}function XL(t){throw t}function kp(t,n){let{onStoppedNotification:e}=Jr;e&&Jc.setTimeout(()=>e(t,n))}var JL={closed:!0,next:Gs,error:XL,complete:Gs};var tl=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ln(t){return t}function Ep(...t){return Op(t)}function Op(t){return t.length===0?Ln:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var je=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let a=tH(e)?e:new oo(e,i,r);return el(()=>{let{operator:o,source:s}=this;a.add(o?o.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=j9(i),new i((r,a)=>{let o=new oo({next:s=>{try{e(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[tl](){return this}pipe(...e){return Op(e)(this)}toPromise(e){return e=j9(e),new e((i,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>i(a))})}}return t.create=n=>new t(n),t})();function j9(t){var n;return(n=t??Jr.Promise)!==null&&n!==void 0?n:Promise}function eH(t){return t&&We(t.next)&&We(t.error)&&We(t.complete)}function tH(t){return t&&t instanceof qs||eH(t)&&q4(t)}function Pp(t){return We(t?.lift)}function qe(t){return n=>{if(Pp(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 Ye(t,n,e,i,r){return new Tp(t,n,e,i,r)}var Tp=class extends qs{constructor(n,e,i,r,a,o){super(n),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function il(){return qe((t,n)=>{let e=null;t._refCount++;let i=Ye(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,a=e;e=null,r&&(!a||r===a)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var qo=class extends je{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Pp(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new xe;let e=this.getSubject();n.add(this.source.subscribe(Ye(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=xe.EMPTY)}return n}refCount(){return il()(this)}};var nl={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=nl;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=n(a=>{e=void 0,t(a)});return new xe(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:n}=nl;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=nl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var B9=Xc(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var U=(()=>{class t extends je{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new K4(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new B9}next(e){el(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){el(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){el(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((e=this.observers)===null||e===void 0?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){let{hasError:i,isStopped:r,observers:a}=this;return i||r?wp:(this.currentObservers=null,a.push(e),new xe(()=>{this.currentObservers=null,$s(a,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:a}=this;i?e.error(r):a&&e.complete()}asObservable(){let e=new je;return e.source=this,e}}return t.create=(n,e)=>new K4(n,e),t})(),K4=class extends U{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:wp}};var at=class extends U{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var c1={now(){return(c1.delegate||Date).now()},delegate:void 0};var ea=class extends U{constructor(n=1/0,e=1/0,i=c1){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:a,_windowTime:o}=this;e||(i.push(n),!r&&i.push(a.now()+o)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,a=r.slice();for(let o=0;oU9(n)&&t()),n},clearImmediate(t){U9(t)}};var{setImmediate:nH,clearImmediate:rH}=$9,d1={setImmediate(...t){let{delegate:n}=d1;return(n?.setImmediate||nH)(...t)},clearImmediate(t){let{delegate:n}=d1;return(n?.clearImmediate||rH)(t)},delegate:void 0};var X4=class extends Yo{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=d1.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:a}=n;e!=null&&((r=a[a.length-1])===null||r===void 0?void 0:r.id)!==e&&(d1.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var rl=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};rl.now=c1.now;var Qo=class extends rl{constructor(n,e=rl.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}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}}};var J4=class extends Qo{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,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}}};var u1=new J4(X4);var so=new Qo(Yo),G9=so;var e3=class extends Yo{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=nl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:a}=n;e!=null&&((r=a[a.length-1])===null||r===void 0?void 0:r.id)!==e&&(nl.cancelAnimationFrame(e),n._scheduled=void 0)}};var t3=class extends Qo{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,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}}};var i3=new t3(e3);var ci=new je(t=>t.complete());function n3(t){return t&&We(t.schedule)}function zp(t){return t[t.length-1]}function r3(t){return We(zp(t))?t.pop():void 0}function Ca(t){return n3(zp(t))?t.pop():void 0}function W9(t,n){return typeof zp(t)=="number"?t.pop():n}function i1e(t,n,e,i){var r=arguments.length,a=r<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,e):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,n,e,i);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(n,e,a):o(n,e))||a);return r>3&&a&&Object.defineProperty(n,e,a),a}function Y9(t,n,e,i){function r(a){return a instanceof e?a:new e(function(o){o(a)})}return new(e||(e=Promise))(function(a,o){function s(v){try{h(i.next(v))}catch(y){o(y)}}function l(v){try{h(i.throw(v))}catch(y){o(y)}}function h(v){v.done?a(v.value):r(v.value).then(s,l)}h((i=i.apply(t,n||[])).next())})}function q9(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")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.")}function Ys(t){return this instanceof Ys?(this.v=t,this):new Ys(t)}function Q9(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,a=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),r[Symbol.asyncIterator]=function(){return this},r;function o(S){return function(V){return Promise.resolve(V).then(S,y)}}function s(S,V){i[S]&&(r[S]=function(K){return new Promise(function(te,ge){a.push([S,K,te,ge])>1||l(S,K)})},V&&(r[S]=V(r[S])))}function l(S,V){try{h(i[S](V))}catch(K){D(a[0][3],K)}}function h(S){S.value instanceof Ys?Promise.resolve(S.value.v).then(v,y):D(a[0][2],S)}function v(S){l("next",S)}function y(S){l("throw",S)}function D(S,V){S(V),a.shift(),a.length&&l(a[0][0],a[0][1])}}function K9(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof q9=="function"?q9(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(a){e[a]=t[a]&&function(o){return new Promise(function(s,l){o=t[a](o),r(s,l,o.done,o.value)})}}function r(a,o,s,l){Promise.resolve(l).then(function(h){a({value:h,done:s})},o)}}var al=t=>t&&typeof t.length=="number"&&typeof t!="function";function a3(t){return We(t?.then)}function o3(t){return We(t[tl])}function s3(t){return Symbol.asyncIterator&&We(t?.[Symbol.asyncIterator])}function c3(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function aH(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var l3=aH();function d3(t){return We(t?.[l3])}function u3(t){return Q9(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Ys(e.read());if(r)return yield Ys(void 0);yield yield Ys(i)}}finally{e.releaseLock()}})}function h3(t){return We(t?.getReader)}function Ot(t){if(t instanceof je)return t;if(t!=null){if(o3(t))return oH(t);if(al(t))return sH(t);if(a3(t))return cH(t);if(s3(t))return Z9(t);if(d3(t))return lH(t);if(h3(t))return dH(t)}throw c3(t)}function oH(t){return new je(n=>{let e=t[tl]();if(We(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function sH(t){return new je(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Y4)})}function lH(t){return new je(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Z9(t){return new je(n=>{uH(t,n).catch(e=>n.error(e))})}function dH(t){return Z9(u3(t))}function uH(t,n){var e,i,r,a;return Y9(this,void 0,void 0,function*(){try{for(e=K9(t);i=yield e.next(),!i.done;){let o=i.value;if(n.next(o),n.closed)return}}catch(o){r={error:o}}finally{try{i&&!i.done&&(a=e.return)&&(yield a.call(e))}finally{if(r)throw r.error}}n.complete()})}function qn(t,n,e,i=0,r=!1){let a=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(a),!r)return a}function m3(t,n=0){return qe((e,i)=>{e.subscribe(Ye(i,r=>qn(i,t,()=>i.next(r),n),()=>qn(i,t,()=>i.complete(),n),r=>qn(i,t,()=>i.error(r),n)))})}function p3(t,n=0){return qe((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function X9(t,n){return Ot(t).pipe(p3(n),m3(n))}function J9(t,n){return Ot(t).pipe(p3(n),m3(n))}function ev(t,n){return new je(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function tv(t,n){return new je(e=>{let i;return qn(e,n,()=>{i=t[l3](),qn(e,n,()=>{let r,a;try{({value:r,done:a}=i.next())}catch(o){e.error(o);return}a?e.complete():e.next(r)},0,!0)}),()=>We(i?.return)&&i.return()})}function f3(t,n){if(!t)throw new Error("Iterable cannot be null");return new je(e=>{qn(e,n,()=>{let i=t[Symbol.asyncIterator]();qn(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function iv(t,n){return f3(u3(t),n)}function nv(t,n){if(t!=null){if(o3(t))return X9(t,n);if(al(t))return ev(t,n);if(a3(t))return J9(t,n);if(s3(t))return f3(t,n);if(d3(t))return tv(t,n);if(h3(t))return iv(t,n)}throw c3(t)}function Yt(t,n){return n?nv(t,n):Ot(t)}function ce(...t){let n=Ca(t);return Yt(t,n)}function Ko(t,n){let e=We(t)?t:()=>t,i=r=>r.error(e());return new je(n?r=>n.schedule(i,0,r):i)}function Li(t){return!!t&&(t instanceof je||We(t.lift)&&We(t.subscribe))}var co=Xc(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function rv(t){return t instanceof Date&&!isNaN(t)}function me(t,n){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,a=>{i.next(t.call(n,a,r++))}))})}var{isArray:hH}=Array;function mH(t,n){return hH(n)?t(...n):t(n)}function ol(t){return me(n=>mH(t,n))}var{isArray:pH}=Array,{getPrototypeOf:fH,prototype:gH,keys:_H}=Object;function g3(t){if(t.length===1){let n=t[0];if(pH(n))return{args:n,keys:null};if(vH(n)){let e=_H(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function vH(t){return t&&typeof t=="object"&&fH(t)===gH}function _3(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function on(...t){let n=Ca(t),e=r3(t),{args:i,keys:r}=g3(t);if(i.length===0)return Yt([],n);let a=new je(bH(i,n,r?o=>_3(r,o):Ln));return e?a.pipe(ol(e)):a}function bH(t,n,e=Ln){return i=>{av(n,()=>{let{length:r}=t,a=new Array(r),o=r,s=r;for(let l=0;l{let h=Yt(t[l],n),v=!1;h.subscribe(Ye(i,y=>{a[l]=y,v||(v=!0,s--),s||i.next(e(a.slice()))},()=>{--o||i.complete()}))},i)},i)}}function av(t,n,e){t?qn(e,t,n):n()}function ov(t,n,e,i,r,a,o,s){let l=[],h=0,v=0,y=!1,D=()=>{y&&!l.length&&!h&&n.complete()},S=K=>h{a&&n.next(K),h++;let te=!1;Ot(e(K,v++)).subscribe(Ye(n,ge=>{r?.(ge),a?S(ge):n.next(ge)},()=>{te=!0},void 0,()=>{if(te)try{for(h--;l.length&&hV(ge)):V(ge)}D()}catch(ge){n.error(ge)}}))};return t.subscribe(Ye(n,S,()=>{y=!0,D()})),()=>{s?.()}}function mi(t,n,e=1/0){return We(n)?mi((i,r)=>me((a,o)=>n(i,a,r,o))(Ot(t(i,r))),e):(typeof n=="number"&&(e=n),qe((i,r)=>ov(i,r,t,e)))}function xa(t=1/0){return mi(Ln,t)}function sv(){return xa(1)}function xn(...t){return sv()(Yt(t,Ca(t)))}function Hn(t){return new je(n=>{Ot(t()).subscribe(n)})}function lo(...t){let n=r3(t),{args:e,keys:i}=g3(t),r=new je(a=>{let{length:o}=e;if(!o){a.complete();return}let s=new Array(o),l=o,h=o;for(let v=0;v{y||(y=!0,h--),s[v]=D},()=>l--,void 0,()=>{(!l||!y)&&(h||a.next(i?_3(i,s):s),a.complete())}))}});return n?r.pipe(ol(n)):r}var yH=["addListener","removeListener"],CH=["addEventListener","removeEventListener"],xH=["on","off"];function Zi(t,n,e,i){if(We(e)&&(i=e,e=void 0),i)return Zi(t,n,e).pipe(ol(i));let[r,a]=DH(t)?CH.map(o=>s=>t[o](n,s,e)):MH(t)?yH.map(cv(t,n)):wH(t)?xH.map(cv(t,n)):[];if(!r&&al(t))return mi(o=>Zi(o,n,e))(Ot(t));if(!r)throw new TypeError("Invalid event target");return new je(o=>{let s=(...l)=>o.next(1a(s)})}function cv(t,n){return e=>i=>t[e](n,i)}function MH(t){return We(t.addListener)&&We(t.removeListener)}function wH(t){return We(t.on)&&We(t.off)}function DH(t){return We(t.addEventListener)&&We(t.removeEventListener)}function ta(t=0,n,e=G9){let i=-1;return n!=null&&(n3(n)?e=n:i=n),new je(r=>{let a=rv(t)?+t-e.now():t;a<0&&(a=0);let o=0;return e.schedule(function(){r.closed||(r.next(o++),0<=i?this.schedule(void 0,i):r.complete())},a)})}function Lp(t=0,n=so){return t<0&&(t=0),ta(t,t,n)}function nt(...t){let n=Ca(t),e=W9(t,1/0),i=t;return i.length?i.length===1?Ot(i[0]):xa(e)(Yt(i,n)):ci}function Ve(t,n){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,a=>t.call(n,a,r++)&&i.next(a)))})}function lv(t){return qe((n,e)=>{let i=!1,r=null,a=null,o=!1,s=()=>{if(a?.unsubscribe(),a=null,i){i=!1;let h=r;r=null,e.next(h)}o&&e.complete()},l=()=>{a=null,o&&e.complete()};n.subscribe(Ye(e,h=>{i=!0,r=h,a||Ot(t(h)).subscribe(a=Ye(e,s,l))},()=>{o=!0,(!i||!a||a.closed)&&e.complete()}))})}function sl(t,n=so){return lv(()=>ta(t,n))}function Ma(t){return qe((n,e)=>{let i=null,r=!1,a;i=n.subscribe(Ye(e,void 0,void 0,o=>{a=Ot(t(o,Ma(t)(n))),i?(i.unsubscribe(),i=null,a.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,a.subscribe(e))})}function v3(t,n,e,i,r){return(a,o)=>{let s=e,l=n,h=0;a.subscribe(Ye(o,v=>{let y=h++;l=s?t(l,v,y):(s=!0,v),i&&o.next(l)},r&&(()=>{s&&o.next(l),o.complete()})))}}function b3(t,n){return qe(v3(t,n,arguments.length>=2,!1,!0))}function Yn(t,n){return We(n)?mi(t,n,1):mi(t,1)}function ia(t,n=so){return qe((e,i)=>{let r=null,a=null,o=null,s=()=>{if(r){r.unsubscribe(),r=null;let h=a;a=null,i.next(h)}};function l(){let h=o+t,v=n.now();if(v{a=h,o=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{a=r=null}))})}function Zo(t){return qe((n,e)=>{let i=!1;n.subscribe(Ye(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function Ue(t){return t<=0?()=>ci:qe((n,e)=>{let i=0;n.subscribe(Ye(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function dv(){return qe((t,n)=>{t.subscribe(Ye(n,Gs))})}function Xo(t){return me(()=>t)}function Hp(t,n){return n?e=>xn(n.pipe(Ue(1),dv()),e.pipe(Hp(t))):mi((e,i)=>Ot(t(e,i)).pipe(Ue(1),Xo(e)))}function Jo(t,n=so){let e=ta(t,n);return Hp(()=>e)}function es(t,n=Ln){return t=t??SH,qe((e,i)=>{let r,a=!0;e.subscribe(Ye(i,o=>{let s=n(o);(a||!t(r,s))&&(a=!1,r=s,i.next(o))}))})}function SH(t,n){return t===n}function y3(t=kH){return qe((n,e)=>{let i=!1;n.subscribe(Ye(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function kH(){return new co}function wa(t){return qe((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Da(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Ve((r,a)=>t(r,a,i)):Ln,Ue(1),e?Zo(n):y3(()=>new co))}function cl(t){return t<=0?()=>ci:qe((n,e)=>{let i=[];n.subscribe(Ye(e,r=>{i.push(r),t{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function Rp(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Ve((r,a)=>t(r,a,i)):Ln,cl(1),e?Zo(n):y3(()=>new co))}function IH(t){let n=1/0,e;return t!=null&&(typeof t=="object"?{count:n=1/0,delay:e}=t:n=t),n<=0?()=>ci:qe((i,r)=>{let a=0,o,s=()=>{if(o?.unsubscribe(),o=null,e!=null){let h=typeof e=="number"?ta(e):Ot(e(a)),v=Ye(r,()=>{v.unsubscribe(),l()});h.subscribe(v)}else l()},l=()=>{let h=!1;o=i.subscribe(Ye(r,void 0,()=>{++a=2,!0))}function h1(t={}){let{connector:n=()=>new U,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return a=>{let o,s,l,h=0,v=!1,y=!1,D=()=>{s?.unsubscribe(),s=void 0},S=()=>{D(),o=l=void 0,v=y=!1},V=()=>{let K=o;S(),K?.unsubscribe()};return qe((K,te)=>{h++,!y&&!v&&D();let ge=l=l??n();te.add(()=>{h--,h===0&&!y&&!v&&(s=Fp(V,r))}),ge.subscribe(te),!o&&h>0&&(o=new oo({next:Oe=>ge.next(Oe),error:Oe=>{y=!0,D(),s=Fp(S,e,Oe),ge.error(Oe)},complete:()=>{v=!0,D(),s=Fp(S,i),ge.complete()}}),Ot(K).subscribe(o))})(a)}}function Fp(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new oo({next:()=>{i.unsubscribe(),t()}});return Ot(n(...e)).subscribe(i)}function Qs(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,h1({connector:()=>new ea(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Ks(t){return Ve((n,e)=>t<=e)}function Qe(...t){let n=Ca(t);return qe((e,i)=>{(n?xn(t,e,n):xn(t,e)).subscribe(i)})}function dt(t,n){return qe((e,i)=>{let r=null,a=0,o=!1,s=()=>o&&!r&&i.complete();e.subscribe(Ye(i,l=>{r?.unsubscribe();let h=0,v=a++;Ot(t(l,v)).subscribe(r=Ye(i,y=>i.next(n?n(l,y,v,h++):y),()=>{r=null,s()}))},()=>{o=!0,s()}))})}function _e(t){return qe((n,e)=>{Ot(t).subscribe(Ye(e,()=>e.complete(),Gs)),!e.closed&&n.subscribe(e)})}function jp(t,n=!1){return qe((e,i)=>{let r=0;e.subscribe(Ye(i,a=>{let o=t(a,r++);(o||n)&&i.next(a),!o&&i.complete()}))})}function yt(t,n,e){let i=We(t)||n||e?{next:t,error:n,complete:e}:t;return i?qe((r,a)=>{var o;(o=i.subscribe)===null||o===void 0||o.call(i);let s=!0;r.subscribe(Ye(a,l=>{var h;(h=i.next)===null||h===void 0||h.call(i,l),a.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),a.complete()},l=>{var h;s=!1,(h=i.error)===null||h===void 0||h.call(i,l),a.error(l)},()=>{var l,h;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(h=i.finalize)===null||h===void 0||h.call(i)}))}):Ln}var nb="https://g.co/ng/security#xss",ke=class extends Error{constructor(n,e){super(h0(n,e)),this.code=n}};function h0(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function D1(t){return{toString:t}.toString()}var C3="__parameters__";function EH(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function rb(t,n,e){return D1(()=>{let i=EH(n);function r(...a){if(this instanceof r)return i.apply(this,a),this;let o=new r(...a);return s.annotation=o,s;function s(l,h,v){let y=l.hasOwnProperty(C3)?l[C3]:Object.defineProperty(l,C3,{value:[]})[C3];for(;y.length<=v;)y.push(null);return(y[v]=y[v]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var sn=globalThis;function Zt(t){for(let n in t)if(t[n]===Zt)return n;throw Error("Could not find renamed property on target object.")}function OH(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Nn(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Nn).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(` -`);return e===-1?n:n.substring(0,e)}function t6(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var PH=Zt({__forward_ref__:Zt});function ct(t){return t.__forward_ref__=ct,t.toString=function(){return Nn(this())},t}function cn(t){return ab(t)?t():t}function ab(t){return typeof t=="function"&&t.hasOwnProperty(PH)&&t.__forward_ref__===ct}function N(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function J(t){return{providers:t.providers||[],imports:t.imports||[]}}function m0(t){return uv(t,sb)||uv(t,cb)}function ob(t){return m0(t)!==null}function uv(t,n){return t.hasOwnProperty(n)?t[n]:null}function TH(t){let n=t&&(t[sb]||t[cb]);return n||null}function hv(t){return t&&(t.hasOwnProperty(mv)||t.hasOwnProperty(VH))?t[mv]:null}var sb=Zt({\u0275prov:Zt}),mv=Zt({\u0275inj:Zt}),cb=Zt({ngInjectableDef:Zt}),VH=Zt({ngInjectorDef:Zt}),L=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=N({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function lb(t){return t&&!!t.\u0275providers}var AH=Zt({\u0275cmp:Zt}),zH=Zt({\u0275dir:Zt}),LH=Zt({\u0275pipe:Zt}),HH=Zt({\u0275mod:Zt}),z3=Zt({\u0275fac:Zt}),p1=Zt({__NG_ELEMENT_ID__:Zt}),pv=Zt({__NG_ENV_ID__:Zt});function Kn(t){return typeof t=="string"?t:t==null?"":String(t)}function RH(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Kn(t)}function NH(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ke(-200,t)}function pf(t,n){throw new ke(-201,!1)}var ft=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ft||{}),i6;function db(){return i6}function Qn(t){let n=i6;return i6=t,n}function ub(t,n,e){let i=m0(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&ft.Optional)return null;if(n!==void 0)return n;pf(t,"Injector")}var FH={},_1=FH,n6="__NG_DI_FLAG__",L3="ngTempTokenPath",jH="ngTokenPath",BH=/\n/gm,UH="\u0275",fv="__source",hl;function $H(){return hl}function ts(t){let n=hl;return hl=t,n}function GH(t,n=ft.Default){if(hl===void 0)throw new ke(-203,!1);return hl===null?ub(t,void 0,n):hl.get(t,n&ft.Optional?null:void 0,n)}function k(t,n=ft.Default){return(db()||GH)(cn(t),n)}function z(t,n=ft.Default){return k(t,p0(n))}function p0(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function r6(t){let n=[];for(let e=0;e ");else if(typeof n=="object"){let a=[];for(let o in n)if(n.hasOwnProperty(o)){let s=n[o];a.push(o+":"+(typeof s=="string"?JSON.stringify(s):Nn(s)))}r=`{${a.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(BH,` - `)}`}var Jn=hb(rb("Optional"),8);var vr=hb(rb("SkipSelf"),4);function Js(t,n){let e=t.hasOwnProperty(z3);return e?t[z3]:null}function QH(t,n,e){if(t.length!==n.length)return!1;for(let i=0;iArray.isArray(e)?ff(e,n):n(e))}function mb(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function H3(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ZH(t,n){let e=[];for(let i=0;in;){let a=r-2;t[r]=t[a],r--}t[n]=e,t[n+1]=i}}function f0(t,n,e){let i=S1(t,n);return i>=0?t[i|1]=e:(i=~i,XH(t,i,n,e)),i}function Bp(t,n){let e=S1(t,n);if(e>=0)return t[e|1]}function S1(t,n){return JH(t,n,1)}function JH(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let a=i+(r-i>>1),o=t[a<n?r=a:i=a+1}return~(r<n){o=a-1;break}}}for(;a-1){let a;for(;++ra?y="":y=r[v+1].toLowerCase(),i&2&&h!==y){if(na(i))return!1;o=!0}}}}return na(i)||o}function na(t){return(t&1)===0}function aR(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let a=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else i&8?r+="."+o:i&4&&(r+=" "+o);else r!==""&&!na(o)&&(n+=_v(a,r),r=""),i=o,a=a||!na(i);e++}return r!==""&&(n+=_v(a,r)),n}function uR(t){return t.map(dR).join(",")}function hR(t){let n=[],e=[],i=1,r=2;for(;i{let n=Mb(t),e=Ge(Y({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===gb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ia.Emulated,styles:t.styles||Rn,_:null,schemas:t.schemas||null,tView:null,id:""});wb(e);let i=t.dependencies;return e.directiveDefs=N3(i,!1),e.pipeDefs=N3(i,!0),e.id=fR(e),e})}function mR(t){return ho(t)||_f(t)}function pR(t){return t!==null}function ee(t){return D1(()=>({type:t.type,bootstrap:t.bootstrap||Rn,declarations:t.declarations||Rn,imports:t.imports||Rn,exports:t.exports||Rn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function vv(t,n){if(t==null)return uo;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],a,o,s=as.None;Array.isArray(r)?(s=r[0],a=r[1],o=r[2]??a):(a=r,o=r),n?(e[a]=s!==as.None?[i,s]:i,n[a]=o):e[a]=i}return e}function T(t){return D1(()=>{let n=Mb(t);return wb(n),n})}function gt(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ho(t){return t[AH]||null}function _f(t){return t[zH]||null}function yb(t){return t[LH]||null}function Cb(t){let n=ho(t)||_f(t)||yb(t);return n!==null?n.standalone:!1}function xb(t,n){let e=t[HH]||null;if(!e&&n===!0)throw new Error(`Type ${Nn(t)} does not have '\u0275mod' property.`);return e}function Mb(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||uo,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Rn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vv(t.inputs,n),outputs:vv(t.outputs),debugInfo:null}}function wb(t){t.features?.forEach(n=>n(t))}function N3(t,n){if(!t)return null;let e=n?yb:mR;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(pR)}function fR(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of e)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function k1(t){return{\u0275providers:t}}function gR(...t){return{\u0275providers:Db(!0,t),\u0275fromNgModule:!0}}function Db(t,...n){let e=[],i=new Set,r,a=o=>{e.push(o)};return ff(n,o=>{let s=o;o6(s,a,[],i)&&(r||=[],r.push(s))}),r!==void 0&&Sb(r,a),e}function Sb(t,n){for(let e=0;e{n(a,i)})}}function o6(t,n,e,i){if(t=cn(t),!t)return!1;let r=null,a=hv(t),o=!a&&ho(t);if(!a&&!o){let l=t.ngModule;if(a=hv(l),a)r=l;else return!1}else{if(o&&!o.standalone)return!1;r=t}let s=i.has(r);if(o){if(s)return!1;if(i.add(r),o.dependencies){let l=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let h of l)o6(h,n,e,i)}}else if(a){if(a.imports!=null&&!s){i.add(r);let h;try{ff(a.imports,v=>{o6(v,n,e,i)&&(h||=[],h.push(v))})}finally{}h!==void 0&&Sb(h,n)}if(!s){let h=Js(r)||(()=>new r);n({provide:r,useFactory:h,deps:Rn},r),n({provide:fb,useValue:r,multi:!0},r),n({provide:pl,useValue:()=>k(r),multi:!0},r)}let l=a.providers;if(l!=null&&!s){let h=t;vf(l,v=>{n(v,h)})}}else return!1;return r!==t&&t.providers!==void 0}function vf(t,n){for(let e of t)lb(e)&&(e=e.\u0275providers),Array.isArray(e)?vf(e,n):n(e)}var _R=Zt({provide:String,useValue:Zt});function kb(t){return t!==null&&typeof t=="object"&&_R in t}function vR(t){return!!(t&&t.useExisting)}function bR(t){return!!(t&&t.useFactory)}function fl(t){return typeof t=="function"}function yR(t){return!!t.useClass}var g0=new L(""),E3={},CR={},Up;function _0(){return Up===void 0&&(Up=new R3),Up}var Oi=class{},b1=class extends Oi{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,c6(n,o=>this.processProvider(o)),this.records.set(pb,ll(void 0,this)),r.has("environment")&&this.records.set(Oi,ll(void 0,this));let a=this.records.get(g0);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(fb,Rn,ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=_t(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_t(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=ts(this),i=Qn(void 0),r;try{return n()}finally{ts(e),Qn(i)}}get(n,e=_1,i=ft.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(pv))return n[pv](this);i=p0(i);let r,a=ts(this),o=Qn(void 0);try{if(!(i&ft.SkipSelf)){let l=this.records.get(n);if(l===void 0){let h=SR(n)&&m0(n);h&&this.injectableDefInScope(h)?l=ll(s6(n),E3):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let s=i&ft.Self?_0():this.parent;return e=i&ft.Optional&&e===_1?null:e,s.get(n,e)}catch(s){if(s.name==="NullInjectorError"){if((s[L3]=s[L3]||[]).unshift(Nn(n)),a)throw s;return qH(s,n,"R3InjectorError",this.source)}else throw s}finally{Qn(o),ts(a)}}resolveInjectorInitializers(){let n=_t(null),e=ts(this),i=Qn(void 0),r;try{let a=this.get(pl,Rn,ft.Self);for(let o of a)o()}finally{ts(e),Qn(i),_t(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Nn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processProvider(n){n=cn(n);let e=fl(n)?n:cn(n&&n.provide),i=MR(n);if(!fl(n)&&n.multi===!0){let r=this.records.get(e);r||(r=ll(void 0,E3,!0),r.factory=()=>r6(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=_t(null);try{return e.value===E3&&(e.value=CR,e.value=e.factory()),typeof e.value=="object"&&e.value&&DR(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{_t(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=cn(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function s6(t){let n=m0(t),e=n!==null?n.factory:Js(t);if(e!==null)return e;if(t instanceof L)throw new ke(204,!1);if(t instanceof Function)return xR(t);throw new ke(204,!1)}function xR(t){if(t.length>0)throw new ke(204,!1);let e=TH(t);return e!==null?()=>e.factory(t):()=>new t}function MR(t){if(kb(t))return ll(void 0,t.useValue);{let n=Ib(t);return ll(n,E3)}}function Ib(t,n,e){let i;if(fl(t)){let r=cn(t);return Js(r)||s6(r)}else if(kb(t))i=()=>cn(t.useValue);else if(bR(t))i=()=>t.useFactory(...r6(t.deps||[]));else if(vR(t))i=()=>k(cn(t.useExisting));else{let r=cn(t&&(t.useClass||t.provide));if(wR(t))i=()=>new r(...r6(t.deps));else return Js(r)||s6(r)}return i}function ll(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function wR(t){return!!t.deps}function DR(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function SR(t){return typeof t=="function"||typeof t=="object"&&t instanceof L}function c6(t,n){for(let e of t)Array.isArray(e)?c6(e,n):e&&lb(e)?c6(e.\u0275providers,n):n(e)}function Vr(t,n){t instanceof b1&&t.assertNotDestroyed();let e,i=ts(t),r=Qn(void 0);try{return n()}finally{ts(i),Qn(r)}}function Eb(){return db()!==void 0||$H()!=null}function bf(t){if(!Eb())throw new ke(-203,!1)}function kR(t){let n=sn.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function IR(t){return typeof t=="function"}var Ta=0,rt=1,Ke=2,Dn=3,aa=4,er=5,gl=6,F3=7,Mn=8,_l=9,Ea=10,ti=11,y1=12,bv=13,wl=14,gr=15,ec=16,dl=17,mo=18,v0=19,Ob=20,ns=21,O3=22,Tr=23,Hi=25,yf=1;var tc=7,j3=8,vl=9,wn=10,B3=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(B3||{});function rs(t){return Array.isArray(t)&&typeof t[yf]=="object"}function go(t){return Array.isArray(t)&&t[yf]===!0}function Cf(t){return(t.flags&4)!==0}function b0(t){return t.componentOffset>-1}function y0(t){return(t.flags&1)===1}function po(t){return!!t.template}function l6(t){return(t[Ke]&512)!==0}var d6=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Pb(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Te(){return Tb}function Tb(t){return t.type.prototype.ngOnChanges&&(t.setInput=OR),ER}Te.ngInherit=!0;function ER(){let t=Ab(this),n=t?.current;if(n){let e=t.previous;if(e===uo)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function OR(t,n,e,i,r){let a=this.declaredInputs[i],o=Ab(t)||PR(t,{previous:uo,current:null}),s=o.current||(o.current={}),l=o.previous,h=l[a];s[a]=new d6(h&&h.currentValue,e,l===uo),Pb(t,n,r,e)}var Vb="__ngSimpleChanges__";function Ab(t){return t[Vb]||null}function PR(t,n){return t[Vb]=n}var yv=null;var Sa=function(t,n,e){yv?.(t,n,e)},zb="svg",TR="math";function Oa(t){for(;Array.isArray(t);)t=t[Ta];return t}function VR(t){for(;Array.isArray(t);){if(typeof t[yf]=="object")return t;t=t[Ta]}return null}function Lb(t,n){return Oa(n[t])}function Ar(t,n){return Oa(n[t.index])}function xf(t,n){return t.data[n]}function I1(t,n){return t[n]}function ls(t,n){let e=n[t];return rs(e)?e:e[Ta]}function AR(t){return(t[Ke]&4)===4}function Mf(t){return(t[Ke]&128)===128}function zR(t){return go(t[Dn])}function os(t,n){return n==null?null:t[n]}function Hb(t){t[dl]=0}function Rb(t){t[Ke]&1024||(t[Ke]|=1024,Mf(t)&&x0(t))}function LR(t,n){for(;t>0;)n=n[wl],t--;return n}function C0(t){return!!(t[Ke]&9216||t[Tr]?.dirty)}function u6(t){t[Ea].changeDetectionScheduler?.notify(8),t[Ke]&64&&(t[Ke]|=1024),C0(t)&&x0(t)}function x0(t){t[Ea].changeDetectionScheduler?.notify(0);let n=ic(t);for(;n!==null&&!(n[Ke]&8192||(n[Ke]|=8192,!Mf(n)));)n=ic(n)}function Nb(t,n){if((t[Ke]&256)===256)throw new ke(911,!1);t[ns]===null&&(t[ns]=[]),t[ns].push(n)}function HR(t,n){if(t[ns]===null)return;let e=t[ns].indexOf(n);e!==-1&&t[ns].splice(e,1)}function ic(t){let n=t[Dn];return go(n)?n[Dn]:n}var ut={lFrame:qb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fb=!1;function RR(){return ut.lFrame.elementDepthCount}function NR(){ut.lFrame.elementDepthCount++}function FR(){ut.lFrame.elementDepthCount--}function jb(){return ut.bindingsEnabled}function Bb(){return ut.skipHydrationRootTNode!==null}function jR(t){return ut.skipHydrationRootTNode===t}function BR(){ut.skipHydrationRootTNode=null}function Be(){return ut.lFrame.lView}function Xt(){return ut.lFrame.tView}function F(t){return ut.lFrame.contextLView=t,t[Mn]}function j(t){return ut.lFrame.contextLView=null,t}function Xi(){let t=Ub();for(;t!==null&&t.type===64;)t=t.parent;return t}function Ub(){return ut.lFrame.currentTNode}function UR(){let t=ut.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function lc(t,n){let e=ut.lFrame;e.currentTNode=t,e.isParent=n}function wf(){return ut.lFrame.isParent}function Df(){ut.lFrame.isParent=!1}function $R(){return ut.lFrame.contextLView}function $b(){return Fb}function Cv(t){Fb=t}function dc(){let t=ut.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Sf(){return ut.lFrame.bindingIndex}function GR(t){return ut.lFrame.bindingIndex=t}function ds(){return ut.lFrame.bindingIndex++}function E1(t){let n=ut.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function WR(){return ut.lFrame.inI18n}function qR(t,n){let e=ut.lFrame;e.bindingIndex=e.bindingRootIndex=t,h6(n)}function YR(){return ut.lFrame.currentDirectiveIndex}function h6(t){ut.lFrame.currentDirectiveIndex=t}function kf(t){let n=ut.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function If(){return ut.lFrame.currentQueryIndex}function M0(t){ut.lFrame.currentQueryIndex=t}function QR(t){let n=t[rt];return n.type===2?n.declTNode:n.type===1?t[er]:null}function Gb(t,n,e){if(e&ft.SkipSelf){let r=n,a=t;for(;r=r.parent,r===null&&!(e&ft.Host);)if(r=QR(a),r===null||(a=a[wl],r.type&10))break;if(r===null)return!1;n=r,t=a}let i=ut.lFrame=Wb();return i.currentTNode=n,i.lView=t,!0}function Ef(t){let n=Wb(),e=t[rt];ut.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Wb(){let t=ut.lFrame,n=t===null?null:t.child;return n===null?qb(t):n}function qb(t){let 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 t!==null&&(t.child=n),n}function Yb(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Qb=Yb;function Of(){let t=Yb();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 KR(t){return(ut.lFrame.contextLView=LR(t,ut.lFrame.contextLView))[Mn]}function oa(){return ut.lFrame.selectedIndex}function nc(t){ut.lFrame.selectedIndex=t}function uc(){let t=ut.lFrame;return xf(t.tView,t.selectedIndex)}function Jt(){ut.lFrame.currentNamespace=zb}function Va(){ZR()}function ZR(){ut.lFrame.currentNamespace=null}function XR(){return ut.lFrame.currentNamespace}var Kb=!0;function w0(){return Kb}function D0(t){Kb=t}function JR(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=n.type.prototype;if(i){let o=Tb(n);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}function S0(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[dl]+=65536),(s>14>16&&(t[Ke]&3)===n&&(t[Ke]+=16384,xv(s,a)):xv(s,a)}var ml=-1,rc=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function tN(t){return t instanceof rc}function iN(t){return(t.flags&8)!==0}function nN(t){return(t.flags&16)!==0}var Gp={},m6=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=p0(i);let r=this.injector.get(n,Gp,i);return r!==Gp||e===Gp?r:this.parentInjector.get(n,e,i)}};function Xb(t){return t!==ml}function U3(t){return t&32767}function rN(t){return t>>16}function $3(t,n){let e=rN(t),i=n;for(;e>0;)i=i[wl],e--;return i}var p6=!0;function G3(t){let n=p6;return p6=t,n}var aN=256,Jb=aN-1,ey=5,oN=0,ka={};function sN(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(p1)&&(i=e[p1]),i==null&&(i=e[p1]=oN++);let r=i&Jb,a=1<>ey)]|=a}function W3(t,n){let e=ty(t,n);if(e!==-1)return e;let i=n[rt];i.firstCreatePass&&(t.injectorIndex=n.length,Wp(i.data,t),Wp(n,null),Wp(i.blueprint,null));let r=Pf(t,n),a=t.injectorIndex;if(Xb(r)){let o=U3(r),s=$3(r,n),l=s[rt].data;for(let h=0;h<8;h++)n[a+h]=s[o+h]|l[o+h]}return n[a+8]=r,a}function Wp(t,n){t.push(0,0,0,0,0,0,0,0,n)}function ty(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Pf(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=oy(r),i===null)return ml;if(e++,r=r[wl],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ml}function f6(t,n,e){sN(t,n,e)}function cN(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r>20,y=i?s:s+v,D=r?s+v:h;for(let S=y;S=l&&V.type===e)return S}if(r){let S=o[l];if(S&&po(S)&&S.type===e)return l}return null}function ac(t,n,e,i){let r=t[e],a=n.data;if(tN(r)){let o=r;o.resolving&&NH(RH(a[e]));let s=G3(o.canSeeViewProviders);o.resolving=!0;let l,h=o.injectImpl?Qn(o.injectImpl):null,v=Gb(t,i,ft.Default);try{r=t[e]=o.factory(void 0,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&JR(e,a[e],n)}finally{h!==null&&Qn(h),G3(s),o.resolving=!1,Qb()}}return r}function dN(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(p1)?t[p1]:void 0;return typeof n=="number"?n>=0?n&Jb:uN:n}function Mv(t,n,e){let i=1<>ey)]&i)}function wv(t,n){return!(t&ft.Self)&&!(t&ft.Host&&n)}var Xs=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return ry(this._tNode,this._lView,n,p0(i),e)}};function uN(){return new Xs(Xi(),Be())}function Ae(t){return D1(()=>{let n=t.prototype.constructor,e=n[z3]||g6(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let a=r[z3]||g6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function g6(t){return ab(t)?()=>{let n=g6(cn(t));return n&&n()}:Js(t)}function hN(t,n,e,i,r){let a=t,o=n;for(;a!==null&&o!==null&&o[Ke]&2048&&!(o[Ke]&512);){let s=ay(a,o,e,i|ft.Self,ka);if(s!==ka)return s;let l=a.parent;if(!l){let h=o[Ob];if(h){let v=h.get(e,ka,i);if(v!==ka)return v}l=oy(o),o=o[wl]}a=l}return r}function oy(t){let n=t[rt],e=n.type;return e===2?n.declTNode:e===1?t[er]:null}function Gt(t){return cN(Xi(),t)}function Dv(t,n=null,e=null,i){let r=sy(t,n,e,i);return r.resolveInjectorInitializers(),r}function sy(t,n=null,e=null,i,r=new Set){let a=[e||Rn,gR(t)];return i=i||(typeof t=="object"?void 0:Nn(t)),new b1(a,n||_0(),i||null,r)}var Le=class t{static{this.THROW_IF_NOT_FOUND=_1}static{this.NULL=new R3}static create(n,e){if(Array.isArray(n))return Dv({name:""},e,n,"");{let i=n.name??"";return Dv({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=N({token:t,providedIn:"any",factory:()=>k(pb)})}static{this.__NG_ELEMENT_ID__=-1}};var mN=new L("");mN.__NG_ELEMENT_ID__=t=>{let n=Xi();if(n===null)throw new ke(204,!1);if(n.type&2)return n.value;if(t&ft.Optional)return null;throw new ke(204,!1)};var pN="ngOriginalError";function qp(t){return t[pN]}var cy=!0,k0=(()=>{class t{static{this.__NG_ELEMENT_ID__=fN}static{this.__NG_ENV_ID__=e=>e}}return t})(),_6=class extends k0{constructor(n){super(),this._lView=n}onDestroy(n){return Nb(this._lView,n),()=>HR(this._lView,n)}};function fN(){return new _6(Be())}var Aa=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new at(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}}return t})();var v6=class extends U{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Eb()&&(this.destroyRef=z(k0,{optional:!0})??void 0,this.pendingTasks=z(Aa,{optional:!0})??void 0)}emit(n){let e=_t(null);try{super.next(n)}finally{_t(e)}}subscribe(n,e,i){let r=n,a=e||(()=>null),o=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),a=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(a=this.wrapInTimeout(a),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:a,complete:o});return n instanceof xe&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},B=v6;function q3(...t){}function ly(t){let n,e;function i(){t=q3;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Sv(t){return queueMicrotask(()=>t()),()=>{t=q3}}var Tf="isAngularZone",Y3=Tf+"_ID",gN=0,oe=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new B(!1),this.onMicrotaskEmpty=new B(!1),this.onStable=new B(!1),this.onError=new B(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=cy}=n;if(typeof Zone>"u")throw new ke(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,bN(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Tf)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new ke(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new ke(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,n,_N,q3,q3);try{return a.runTask(o,e,i)}finally{a.cancelTask(o)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},_N={};function Vf(t){if(t._nesting==0&&!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 vN(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){ly(()=>{t.callbackScheduled=!1,b6(t),t.isCheckStableRunning=!0,Vf(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),b6(t)}function bN(t){let n=()=>{vN(t)},e=gN++;t._inner=t._inner.fork({name:"angular",properties:{[Tf]:!0,[Y3]:e,[Y3+e]:!0},onInvokeTask:(i,r,a,o,s,l)=>{if(yN(l))return i.invokeTask(a,o,s,l);try{return kv(t),i.invokeTask(a,o,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Iv(t)}},onInvoke:(i,r,a,o,s,l,h)=>{try{return kv(t),i.invoke(a,o,s,l,h)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!CN(l)&&n(),Iv(t)}},onHasTask:(i,r,a,o)=>{i.hasTask(a,o),r===a&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,b6(t),Vf(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,r,a,o)=>(i.handleError(a,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function b6(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function kv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Iv(t){t._nesting--,Vf(t)}var Q3=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new B,this.onMicrotaskEmpty=new B,this.onStable=new B,this.onError=new B}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)}};function yN(t){return dy(t,"__ignore_ng_zone__")}function CN(t){return dy(t,"__scheduler_tick__")}function dy(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function xN(t="zone.js",n){return t==="noop"?new Q3:t==="zone.js"?new oe(n):t}var Zn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&qp(n);for(;e&&qp(e);)e=qp(e);return e||null}},MN=new L("",{providedIn:"root",factory:()=>{let t=z(oe),n=z(Zn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function wN(){return Dl(Xi(),Be())}function Dl(t,n){return new $(Ar(t,n))}var $=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=wN}}return t})();function uy(t){return t instanceof $?t.nativeElement:t}function DN(){return this._results[Symbol.iterator]()}var Pi=class t{get changes(){return this._changes??=new B}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=DN)}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){this.dirty=!1;let i=KH(n);(this._changesDetected=!QH(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function hy(t){return(t.flags&128)===128}var my=new Map,SN=0;function kN(){return SN++}function IN(t){my.set(t[v0],t)}function y6(t){my.delete(t[v0])}var Ev="__ngContext__";function ss(t,n){rs(n)?(t[Ev]=n[v0],IN(n)):t[Ev]=n}function py(t){return gy(t[y1])}function fy(t){return gy(t[aa])}function gy(t){for(;t!==null&&!go(t);)t=t[aa];return t}var C6;function _y(t){C6=t}function vy(){if(C6!==void 0)return C6;if(typeof document<"u")return document;throw new ke(210,!1)}var Sl=new L("",{providedIn:"root",factory:()=>EN}),EN="ng",Af=new L(""),zr=new L("",{providedIn:"platform",factory:()=>"unknown"});var ot=new L(""),O1=new L("",{providedIn:"root",factory:()=>vy().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ON="h",PN="b";var TN=()=>null;function zf(t,n,e=!1){return TN(t,n,e)}var by=!1,VN=new L("",{providedIn:"root",factory:()=>by});var x3;function AN(){if(x3===void 0&&(x3=null,sn.trustedTypes))try{x3=sn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return x3}function I0(t){return AN()?.createHTML(t)||t}var M3;function yy(){if(M3===void 0&&(M3=null,sn.trustedTypes))try{M3=sn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return M3}function Ov(t){return yy()?.createHTML(t)||t}function Pv(t){return yy()?.createScriptURL(t)||t}var fo=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nb})`}},x6=class extends fo{getTypeName(){return"HTML"}},M6=class extends fo{getTypeName(){return"Style"}},w6=class extends fo{getTypeName(){return"Script"}},D6=class extends fo{getTypeName(){return"URL"}},S6=class extends fo{getTypeName(){return"ResourceURL"}};function Lr(t){return t instanceof fo?t.changingThisBreaksApplicationSecurity:t}function _o(t,n){let e=zN(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${nb})`)}return e===n}function zN(t){return t instanceof fo&&t.getTypeName()||null}function Cy(t){return new x6(t)}function xy(t){return new M6(t)}function My(t){return new w6(t)}function wy(t){return new D6(t)}function Dy(t){return new S6(t)}function LN(t){let n=new I6(t);return HN()?new k6(n):n}var k6=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(I0(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},I6=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=I0(n),e}};function HN(){try{return!!new window.DOMParser().parseFromString(I0(""),"text/html")}catch{return!1}}var RN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function E0(t){return t=String(t),t.match(RN)?t:"unsafe:"+t}function vo(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function P1(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var Sy=vo("area,br,col,hr,img,wbr"),ky=vo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Iy=vo("rp,rt"),NN=P1(Iy,ky),FN=P1(ky,vo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),jN=P1(Iy,vo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Tv=P1(Sy,FN,jN,NN),Ey=vo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),BN=vo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),UN=vo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),$N=P1(Ey,BN,UN),GN=vo("script,style,template"),E6=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=YN(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let a=qN(e);if(a){e=a;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=Vv(n).toLowerCase();if(!Tv.hasOwnProperty(e))return this.sanitizedSomething=!0,!GN.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r"),!0}endElement(n){let e=Vv(n).toLowerCase();Tv.hasOwnProperty(e)&&!Sy.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(Av(n))}};function WN(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qN(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw Oy(n);return n}function YN(t){let n=t.firstChild;if(n&&WN(t,n))throw Oy(n);return n}function Vv(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function Oy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var QN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,KN=/([^\#-~ |!])/g;function Av(t){return t.replace(/&/g,"&").replace(QN,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(KN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var w3;function Lf(t,n){let e=null;try{w3=w3||LN(t);let i=n?String(n):"";e=w3.getInertBodyElement(i);let r=5,a=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=e.innerHTML,e=w3.getInertBodyElement(i)}while(i!==a);let s=new E6().sanitizeChildren(zv(e)||e);return I0(s)}finally{if(e){let i=zv(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function zv(t){return"content"in t&&ZN(t)?t.content:null}function ZN(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ln=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ln||{});function kl(t){let n=Rf();return n?Ov(n.sanitize(ln.HTML,t)||""):_o(t,"HTML")?Ov(Lr(t)):Lf(vy(),Kn(t))}function Hf(t){let n=Rf();return n?n.sanitize(ln.URL,t)||"":_o(t,"URL")?Lr(t):E0(Kn(t))}function XN(t){let n=Rf();if(n)return Pv(n.sanitize(ln.RESOURCE_URL,t)||"");if(_o(t,"ResourceURL"))return Pv(Lr(t));throw new ke(904,!1)}function JN(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?XN:Hf}function Py(t,n,e){return JN(n,e)(t)}function Rf(){let t=Be();return t&&t[Ea].sanitizer}var eF=/^>|^->||--!>|)/g,iF="\u200B$1\u200B";function nF(t){return t.replace(eF,n=>n.replace(tF,iF))}function mhe(t){return t.ownerDocument.defaultView}function phe(t){return t.ownerDocument}function Ty(t){return t instanceof Function?t():t}function Vy(t){return(t??z(Le)).get(zr)==="browser"}var Pa=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Pa||{}),rF;function Nf(t,n){return rF(t,n)}function ul(t,n,e,i,r){if(i!=null){let a,o=!1;go(i)?a=i:rs(i)&&(o=!0,i=i[Ta]);let s=Oa(i);t===0&&e!==null?r==null?Ry(n,e,s):K3(n,e,s,r||null,!0):t===1&&e!==null?K3(n,e,s,r||null,!0):t===2?vF(n,s,o):t===3&&n.destroyNode(s),a!=null&&yF(n,t,a,e,r)}}function aF(t,n){return t.createText(n)}function oF(t,n,e){t.setValue(n,e)}function sF(t,n){return t.createComment(nF(n))}function Ay(t,n,e){return t.createElement(n,e)}function cF(t,n){zy(t,n),n[Ta]=null,n[er]=null}function lF(t,n,e,i,r,a){i[Ta]=r,i[er]=n,T0(t,i,e,1,r,a)}function zy(t,n){n[Ea].changeDetectionScheduler?.notify(9),T0(t,n,n[ti],2,null,null)}function dF(t){let n=t[y1];if(!n)return Yp(t[rt],t);for(;n;){let e=null;if(rs(n))e=n[y1];else{let i=n[wn];i&&(e=i)}if(!e){for(;n&&!n[aa]&&n!==t;)rs(n)&&Yp(n[rt],n),n=n[Dn];n===null&&(n=t),rs(n)&&Yp(n[rt],n),e=n&&n[aa]}n=e}}function uF(t,n,e,i){let r=wn+i,a=e.length;i>0&&(e[r-1][aa]=n),i0&&(t[e-1][aa]=i[aa]);let a=H3(t,wn+n);cF(i[rt],i);let o=a[mo];o!==null&&o.detachView(a[rt]),i[Dn]=null,i[aa]=null,i[Ke]&=-129}return i}function O0(t,n){if(!(n[Ke]&256)){let e=n[ti];e.destroyNode&&T0(t,n,e,3,null,null),dF(n)}}function Yp(t,n){if(n[Ke]&256)return;let e=_t(null);try{n[Ke]&=-129,n[Ke]|=256,n[Tr]&&U4(n[Tr]),mF(t,n),hF(t,n),n[rt].type===1&&n[ti].destroy();let i=n[ec];if(i!==null&&go(n[Dn])){i!==n[Dn]&&Ff(i,n);let r=n[mo];r!==null&&r.detachView(t)}y6(n)}finally{_t(e)}}function hF(t,n){let e=t.cleanup,i=n[F3];if(e!==null)for(let a=0;a=0?i[o]():i[-o].unsubscribe(),a+=2}else{let o=i[e[a+1]];e[a].call(o)}i!==null&&(n[F3]=null);let r=n[ns];if(r!==null){n[ns]=null;for(let a=0;a-1){let{encapsulation:a}=t.data[i.directiveStart+r];if(a===Ia.None||a===Ia.Emulated)return null}return Ar(i,e)}}function K3(t,n,e,i,r){t.insertBefore(n,e,i,r)}function Ry(t,n,e){t.appendChild(n,e)}function Lv(t,n,e,i,r){i!==null?K3(t,n,e,i,r):Ry(t,n,e)}function Ny(t,n){return t.parentNode(n)}function fF(t,n){return t.nextSibling(n)}function Fy(t,n,e){return _F(t,n,e)}function gF(t,n,e){return t.type&40?Ar(t,e):null}var _F=gF,Hv;function P0(t,n,e,i){let r=Hy(t,i,n),a=n[ti],o=i.parent||n[er],s=Fy(o,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;lHi&&Gy(t,n,Hi,!1),Sa(o?2:0,r),e(i,r)}finally{nc(a),Sa(o?3:1,r)}}function Bf(t,n,e){if(Cf(n)){let i=_t(null);try{let r=n.directiveStart,a=n.directiveEnd;for(let o=r;onull;function EF(t,n,e,i){let r=eC(n);r.push(e),t.firstCreatePass&&tC(t).push(i,r.length-1)}function OF(t,n,e,i,r,a){let o=n?n.injectorIndex:-1,s=0;return Bb()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Rv(t,n,e,i,r){for(let a in n){if(!n.hasOwnProperty(a))continue;let o=n[a];if(o===void 0)continue;i??={};let s,l=as.None;Array.isArray(o)?(s=o[0],l=o[1]):s=o;let h=a;if(r!==null){if(!r.hasOwnProperty(a))continue;h=r[a]}t===0?Nv(i,e,h,s,l):Nv(i,e,h,s)}return i}function Nv(t,n,e,i,r){let a;t.hasOwnProperty(e)?(a=t[e]).push(n,i):a=t[e]=[n,i],r!==void 0&&a.push(r)}function PF(t,n,e){let i=n.directiveStart,r=n.directiveEnd,a=t.data,o=n.attrs,s=[],l=null,h=null;for(let v=i;v0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function LF(t,n,e,i){let r=e.directiveStart,a=e.directiveEnd;b0(e)&&UF(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||W3(e,n),ss(i,n);let o=e.initialInputs;for(let s=r;s{x0(t.lView)},consumerOnSignalRead(){this.lView[Tr]=this}});function ij(t){let n=t[Tr]??Object.create(nj);return n.lView=t,n}var nj=Ge(Y({},Zc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=ic(t.lView);for(;n&&!sC(n[rt]);)n=ic(n);n&&Rb(n)},consumerOnSignalRead(){this.lView[Tr]=this}});function sC(t){return t.type!==2}var rj=100;function cC(t,n=!0,e=0){let i=t[Ea],r=i.rendererFactory,a=!1;a||r.begin?.();try{aj(t,e)}catch(o){throw n&&nC(t,o),o}finally{a||(r.end?.(),i.inlineEffectRunner?.flush())}}function aj(t,n){let e=$b();try{Cv(!0),V6(t,n);let i=0;for(;C0(t);){if(i===rj)throw new ke(103,!1);i++,V6(t,1)}}finally{Cv(e)}}function oj(t,n,e,i){let r=n[Ke];if((r&256)===256)return;let a=!1,o=!1;!a&&n[Ea].inlineEffectRunner?.flush(),Ef(n);let s=!0,l=null,h=null;a||(sC(t)?(h=XF(n),l=s1(h)):C9()===null?(s=!1,h=ij(n),l=s1(h)):n[Tr]&&(U4(n[Tr]),n[Tr]=null));try{Hb(n),GR(t.bindingStartIndex),e!==null&&Yy(t,n,e,2,i);let v=(r&3)===3;if(!a)if(v){let S=t.preOrderCheckHooks;S!==null&&P3(n,S,null)}else{let S=t.preOrderHooks;S!==null&&T3(n,S,0,null),$p(n,0)}if(o||sj(n),lC(n,0),t.contentQueries!==null&&Jy(t,n),!a)if(v){let S=t.contentCheckHooks;S!==null&&P3(n,S)}else{let S=t.contentHooks;S!==null&&T3(n,S,1),$p(n,1)}MF(t,n);let y=t.components;y!==null&&uC(n,y,0);let D=t.viewQuery;if(D!==null&&T6(2,D,i),!a)if(v){let S=t.viewCheckHooks;S!==null&&P3(n,S)}else{let S=t.viewHooks;S!==null&&T3(n,S,2),$p(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[O3]){for(let S of n[O3])S();n[O3]=null}a||(n[Ke]&=-73)}catch(v){throw a||x0(n),v}finally{h!==null&&(j4(h,l),s&&ej(h)),Of()}}function lC(t,n){for(let e=py(t);e!==null;e=fy(e))for(let i=wn;i-1&&(C1(n,i),H3(e,i))}this._attachedToViewContainer=!1}O0(this._lView[rt],this._lView)}onDestroy(n){Nb(this._lView,n)}markForCheck(){Qf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ke]&=-129}reattach(){u6(this._lView),this._lView[Ke]|=128}detectChanges(){this._lView[Ke]|=1024,cC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=l6(this._lView),e=this._lView[ec];e!==null&&!n&&Ff(e,this._lView),zy(this._lView[rt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ke(902,!1);this._appRef=n;let e=l6(this._lView),i=this._lView[ec];i!==null&&!e&&Ly(i,this._lView),u6(this._lView)}},$e=(()=>{class t{static{this.__NG_ELEMENT_ID__=uj}}return t})(),lj=$e,dj=class extends lj{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=T1(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new oc(r)}};function uj(){return L0(Xi(),Be())}function L0(t,n){return t.type&4?new dj(n,t,Dl(t,n)):null}var ghe=new RegExp(`^(\\d+)*(${PN}|${ON})*(.*)`);var hj=()=>null;function yl(t,n){return hj(t,n)}var Cl=class{},Kf=new L("",{providedIn:"root",factory:()=>!1});var hC=new L(""),mC=new L(""),A6=class{},X3=class{};function mj(t){let n=Error(`No component factory found for ${Nn(t)}.`);return n[pj]=t,n}var pj="ngComponent";var z6=class{resolveComponentFactory(n){throw mj(n)}},_r=class{static{this.NULL=new z6}},xl=class{},tr=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>fj()}}return t})();function fj(){let t=Be(),n=Xi(),e=ls(n.index,t);return(rs(e)?e:t)[ti]}var gj=(()=>{class t{static{this.\u0275prov=N({token:t,providedIn:"root",factory:()=>null})}}return t})();function J3(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,a=0;if(n!==null)for(let o=0;o0&&Uy(t,e,a.join(" "))}}function Mj(t,n,e){let i=t.projection=[];for(let r=0;r{class t{static{this.__NG_ELEMENT_ID__=Dj}}return t})();function Dj(){let t=Xi();return fC(t,Be())}var Sj=Xe,pC=class extends Sj{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Dl(this._hostTNode,this._hostLView)}get injector(){return new Xs(this._hostTNode,this._hostLView)}get parentInjector(){let n=Pf(this._hostTNode,this._hostLView);if(Xb(n)){let e=$3(n,this._hostLView),i=U3(n),r=e[rt].data[i+8];return new Xs(r,e)}else return new Xs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=jv(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-wn}createEmbeddedView(n,e,i){let r,a;typeof i=="number"?r=i:i!=null&&(r=i.index,a=i.injector);let o=yl(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},a,o);return this.insertImpl(s,r,bl(this._hostTNode,o)),s}createComponent(n,e,i,r,a){let o=n&&!IR(n),s;if(o)s=e;else{let V=e||{};s=V.index,i=V.injector,r=V.projectableNodes,a=V.environmentInjector||V.ngModuleRef}let l=o?n:new sc(ho(n)),h=i||this.parentInjector;if(!a&&l.ngModule==null){let K=(o?h:this.parentInjector).get(Oi,null);K&&(a=K)}let v=ho(l.componentType??{}),y=yl(this._lContainer,v?.id??null),D=y?.firstChild??null,S=l.create(h,r,D,a);return this.insertImpl(S.hostView,s,bl(this._hostTNode,y)),S}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(zR(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[Dn],h=new pC(l,l[er],l[Dn]);h.detach(h.indexOf(n))}}let a=this._adjustIndex(e),o=this._lContainer;return V1(o,r,a,i),n.attachToViewContainerRef(),mb(Qp(o),a,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=jv(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=C1(this._lContainer,e);i&&(H3(Qp(this._lContainer),e),O0(i[rt],i))}detach(n){let e=this._adjustIndex(n,-1),i=C1(this._lContainer,e);return i&&H3(Qp(this._lContainer),e)!=null?new oc(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function jv(t){return t[j3]}function Qp(t){return t[j3]||(t[j3]=[])}function fC(t,n){let e,i=n[t.index];return go(i)?e=i:(e=Xy(i,n,null,t),n[t.index]=e,A0(n,e)),Ij(e,n,t,i),new pC(e,t,n)}function kj(t,n){let e=t[ti],i=e.createComment(""),r=Ar(n,t),a=Ny(e,r);return K3(e,a,i,fF(e,r),!1),i}var Ij=Pj,Ej=()=>!1;function Oj(t,n,e){return Ej(t,n,e)}function Pj(t,n,e,i){if(t[tc])return;let r;e.type&8?r=Oa(i):r=kj(n,e),t[tc]=r}var H6=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},R6=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let a=0;a0)i.push(o[s/2]);else{let h=a[s+1],v=n[-l];for(let y=wn;yn.trim())}function bC(t,n,e){t.queries===null&&(t.queries=new N6),t.queries.track(new F6(n,e))}function Rj(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function Xf(t,n){return t.queries.getByIndex(n)}function yC(t,n){let e=t[rt],i=Xf(e,n);return i.crossesNgTemplate?j6(e,t,n,[]):gC(e,t,i,n)}var Bv=new Set;function za(t){Bv.has(t)||(Bv.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function H0(t){return typeof t=="function"&&t[Pr]!==void 0}function ir(t,n){za("NgSignals");let e=T9(t),i=e[Pr];return n?.equal&&(i.equal=n.equal),e.set=r=>Mp(i,r),e.update=r=>V9(i,r),e.asReadonly=Nj.bind(e),e}function Nj(){let t=this[Pr];if(t.readonlyFn===void 0){let n=()=>this();n[Pr]=t,t.readonlyFn=n}return t.readonlyFn}function CC(t){return H0(t)&&typeof t.set=="function"}function xC(t,n){let e,i=xp(()=>{e._dirtyCounter();let r=Uj(e,t);if(n&&r===void 0)throw new ke(-951,!1);return r});return e=i[Pr],e._dirtyCounter=ir(0),e._flatValue=void 0,i}function Fj(){return xC(!0,!1)}function jj(){return xC(!0,!0)}function Bj(t,n){let e=t[Pr];e._lView=Be(),e._queryIndex=n,e._queryList=Zf(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function Uj(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Ke]&4)return n?void 0:Rn;let r=Zf(e,i),a=yC(e,i);return r.reset(a,uy),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function Uv(t,n){return Fj()}function $j(t,n){return jj()}var MC=(Uv.required=$j,Uv);function Gj(t){let n=[],e=new Map;function i(r){let a=e.get(r);if(!a){let o=t(r);e.set(r,a=o.then(Qj))}return a}return i0.forEach((r,a)=>{let o=[];r.templateUrl&&o.push(i(r.templateUrl).then(h=>{r.template=h}));let s=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=s,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let h=r.styles.length,v=r.styleUrls;r.styleUrls.forEach((y,D)=>{s.push(""),o.push(i(y).then(S=>{s[h+D]=S,v.splice(v.indexOf(y),1),v.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&o.push(i(r.styleUrl).then(h=>{s.push(h),r.styleUrl=void 0}));let l=Promise.all(o).then(()=>Kj(a));n.push(l)}),qj(),Promise.all(n).then(()=>{})}var i0=new Map,Wj=new Set;function qj(){let t=i0;return i0=new Map,t}function Yj(){return i0.size===0}function Qj(t){return typeof t=="string"?t:t.text()}function Kj(t){Wj.delete(t)}function Zj(t){return Object.getPrototypeOf(t.prototype).constructor}function de(t){let n=Zj(t.type),e=!0,i=[t];for(;n;){let r;if(po(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ke(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let o=t;o.inputs=D3(t.inputs),o.inputTransforms=D3(t.inputTransforms),o.declaredInputs=D3(t.declaredInputs),o.outputs=D3(t.outputs);let s=r.hostBindings;s&&iB(t,s);let l=r.viewQuery,h=r.contentQueries;if(l&&eB(t,l),h&&tB(t,h),Xj(t,r),OH(t.outputs,r.outputs),po(r)&&r.data.animation){let v=t.data;v.animation=(v.animation||[]).concat(r.data.animation)}}let a=r.features;if(a)for(let o=0;o=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=v1(r.hostAttrs,e=v1(e,r.hostAttrs))}}function D3(t){return t===uo?{}:t===Rn?[]:t}function eB(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function tB(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,a)=>{n(i,r,a),e(i,r,a)}:t.contentQueries=n}function iB(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function wC(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=DC,e.hostDirectives=i?t.map(B6):[t]):i?e.hostDirectives.unshift(...t.map(B6)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function DC(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let a of r)$v(B6(a),n,e)}else $v(i,n,e)}function $v(t,n,e){let i=_f(t.directive);nB(i.declaredInputs,t.inputs),DC(i,n,e),e.set(i,t),n.push(i)}function B6(t){return typeof t=="function"?{directive:cn(t),inputs:uo,outputs:uo}:{directive:cn(t.directive),inputs:Gv(t.inputs),outputs:Gv(t.outputs)}}function Gv(t){if(t===void 0||t.length===0)return uo;let n={};for(let e=0;ee()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},r0=class extends x1{constructor(n){super(),this.moduleType=n}create(n){return new n0(this.moduleType,n,[])}};function rB(t,n,e){return new n0(t,n,e,!1)}var U6=class extends cs{constructor(n){super(),this.componentFactoryResolver=new e0(this),this.instance=null;let e=new b1([...n.providers,{provide:cs,useValue:this},{provide:_r,useValue:this.componentFactoryResolver}],n.parent||_0(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function R0(t,n,e=null){return new U6({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function SC(t){return Jf(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function aB(t,n){if(Array.isArray(t))for(let e=0;e{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}}return t})(),$6=class t{constructor(){this.ngZone=z(oe),this.scheduler=z(Cl),this.errorHandler=z(Zn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[is.EarlyRead,is.Write,is.MixedReadWrite,is.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}},G6=class{constructor(n,e,i,r){this.impl=n,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function z1(t,n){!n?.injector&&bf(z1);let e=n?.injector??z(Le);return Vy(e)?(za("NgAfterRender"),OC(t,e,n,!1)):PC}function Ft(t,n){!n?.injector&&bf(Ft);let e=n?.injector??z(Le);return Vy(e)?(za("NgAfterNextRender"),OC(t,e,n,!0)):PC}function uB(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function OC(t,n,e,i){let r=n.get(EC);r.impl??=n.get($6);let a=e?.phase??is.MixedReadWrite,o=e?.manualCleanup!==!0?n.get(k0):null,s=new G6(r.impl,uB(t,a),i,o);return r.impl.register(s),s}var PC={destroy(){}};function ie(t,n,e,i){let r=Be(),a=ds();if(Xn(r,a,n)){let o=Xt(),s=uc();$F(s,r,t,n,e,i)}return ie}function e8(t,n,e,i){return Xn(t,ds(),e)?n+Kn(e)+i:qi}function TC(t,n,e,i,r,a){let o=Sf(),s=M1(t,o,e,r);return E1(2),s?n+Kn(e)+i+Kn(r)+a:qi}function hB(t,n,e,i,r,a,o,s){let l=Sf(),h=kC(t,l,e,r,o);return E1(3),h?n+Kn(e)+i+Kn(r)+a+Kn(o)+s:qi}function mB(t,n,e,i,r,a,o,s,l,h){let v=Sf(),y=IC(t,v,e,r,o,l);return E1(4),y?n+Kn(e)+i+Kn(r)+a+Kn(o)+s+Kn(l)+h:qi}function S3(t,n){return t<<17|n<<2}function cc(t){return t>>17&32767}function pB(t){return(t&2)==2}function fB(t,n){return t&131071|n<<17}function W6(t){return t|2}function Ml(t){return(t&131068)>>2}function Kp(t,n){return t&-131069|n<<2}function gB(t){return(t&1)===1}function q6(t){return t|1}function _B(t,n,e,i,r,a){let o=a?n.classBindings:n.styleBindings,s=cc(o),l=Ml(o);t[i]=e;let h=!1,v;if(Array.isArray(e)){let y=e;v=y[1],(v===null||S1(y,v)>0)&&(h=!0)}else v=e;if(r)if(l!==0){let D=cc(t[s+1]);t[i+1]=S3(D,s),D!==0&&(t[D+1]=Kp(t[D+1],i)),t[s+1]=fB(t[s+1],i)}else t[i+1]=S3(s,0),s!==0&&(t[s+1]=Kp(t[s+1],i)),s=i;else t[i+1]=S3(l,0),s===0?s=i:t[l+1]=Kp(t[l+1],i),l=i;h&&(t[i+1]=W6(t[i+1])),Wv(t,v,i,!0),Wv(t,v,i,!1),vB(n,v,t,i,a),o=S3(s,l),a?n.classBindings=o:n.styleBindings=o}function vB(t,n,e,i,r){let a=r?t.residualClasses:t.residualStyles;a!=null&&typeof n=="string"&&S1(a,n)>=0&&(e[i+1]=q6(e[i+1]))}function Wv(t,n,e,i){let r=t[e+1],a=n===null,o=i?cc(r):Ml(r),s=!1;for(;o!==0&&(s===!1||a);){let l=t[o],h=t[o+1];bB(l,n)&&(s=!0,t[o+1]=i?q6(h):W6(h)),o=i?cc(h):Ml(h)}s&&(t[e+1]=i?W6(r):q6(r))}function bB(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?S1(t,n)>=0:!1}var ra={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function yB(t){return t.substring(ra.key,ra.keyEnd)}function CB(t){return xB(t),VC(t,AC(t,0,ra.textEnd))}function VC(t,n){let e=ra.textEnd;return e===n?-1:(n=ra.keyEnd=MB(t,ra.key=n,e),AC(t,n,e))}function xB(t){ra.key=0,ra.keyEnd=0,ra.value=0,ra.valueEnd=0,ra.textEnd=t.length}function AC(t,n,e){for(;n32;)n++;return n}function C(t,n,e){let i=Be(),r=ds();if(Xn(i,r,n)){let a=Xt(),o=uc();Ol(a,o,i,t,n,i[ti],e,!1)}return C}function Y6(t,n,e,i,r){let a=n.inputs,o=r?"class":"style";qf(t,e,a[o],o,i)}function Pt(t,n,e){return LC(t,n,e,!1),Pt}function re(t,n){return LC(t,n,null,!0),re}function Lt(t){HC(EB,zC,t,!0)}function zC(t,n){for(let e=CB(n);e>=0;e=VC(n,e))f0(t,yB(n),!0)}function LC(t,n,e,i){let r=Be(),a=Xt(),o=E1(2);if(a.firstUpdatePass&&NC(a,t,o,i),n!==qi&&Xn(r,o,n)){let s=a.data[oa()];FC(a,s,r,r[ti],t,r[o+1]=PB(n,e),i,o)}}function HC(t,n,e,i){let r=Xt(),a=E1(2);r.firstUpdatePass&&NC(r,null,a,i);let o=Be();if(e!==qi&&Xn(o,a,e)){let s=r.data[oa()];if(jC(s,i)&&!RC(r,a)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=t6(l,e||"")),Y6(r,s,o,e,i)}else OB(r,s,o,o[ti],o[a+1],o[a+1]=IB(t,n,e),i,a)}}function RC(t,n){return n>=t.expandoStartIndex}function NC(t,n,e,i){let r=t.data;if(r[e+1]===null){let a=r[oa()],o=RC(t,e);jC(a,i)&&n===null&&!o&&(n=!1),n=wB(r,a,n,i),_B(r,a,n,e,o,i)}}function wB(t,n,e,i){let r=kf(t),a=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=Zp(null,t,n,e,i),e=w1(e,n.attrs,i),a=null);else{let o=n.directiveStylingLast;if(o===-1||t[o]!==r)if(e=Zp(r,t,n,e,i),a===null){let l=DB(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Zp(null,t,n,l[1],i),l=w1(l,n.attrs,i),SB(t,n,i,l))}else a=kB(t,n,i)}return a!==void 0&&(i?n.residualClasses=a:n.residualStyles=a),e}function DB(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ml(i)!==0)return t[cc(i)]}function SB(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[cc(r)]=i}function kB(t,n,e){let i,r=n.directiveEnd;for(let a=1+n.directiveStylingLast;a0;){let l=t[r],h=Array.isArray(l),v=h?l[1]:l,y=v===null,D=e[r+1];D===qi&&(D=y?Rn:void 0);let S=y?Bp(D,i):v===i?D:void 0;if(h&&!o0(S)&&(S=Bp(l,i)),o0(S)&&(s=S,o))return s;let V=t[r+1];r=o?cc(V):Ml(V)}if(n!==null){let l=a?n.residualClasses:n.residualStyles;l!=null&&(s=Bp(l,i))}return s}function o0(t){return t!==void 0}function PB(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Nn(Lr(t)))),t}function jC(t,n){return(t.flags&(n?8:16))!==0}function N0(t,n,e){let i=Be(),r=e8(i,t,n,e);HC(f0,zC,r,!0)}var Q6=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),a=this.detach(r);if(r-i>1){let o=this.detach(i);this.attach(i,a),this.attach(r,o)}else this.attach(i,a)}move(n,e){this.attach(e,this.detach(n))}};function Xp(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function TB(t,n,e){let i,r,a=0,o=t.length-1,s=void 0;if(Array.isArray(n)){let l=n.length-1;for(;a<=o&&a<=l;){let h=t.at(a),v=n[a],y=Xp(a,h,a,v,e);if(y!==0){y<0&&t.updateValue(a,v),a++;continue}let D=t.at(o),S=n[l],V=Xp(o,D,l,S,e);if(V!==0){V<0&&t.updateValue(o,S),o--,l--;continue}let K=e(a,h),te=e(o,D),ge=e(a,v);if(Object.is(ge,te)){let Oe=e(l,S);Object.is(Oe,K)?(t.swap(a,o),t.updateValue(o,S),l--,o--):t.move(o,a),t.updateValue(a,v),a++;continue}if(i??=new s0,r??=Qv(t,a,o,e),K6(t,i,a,ge))t.updateValue(a,v),a++,o++;else if(r.has(ge))i.set(K,t.detach(a)),o--;else{let Oe=t.create(a,n[a]);t.attach(a,Oe),a++,o++}}for(;a<=l;)Yv(t,i,e,a,n[a]),a++}else if(n!=null){let l=n[Symbol.iterator](),h=l.next();for(;!h.done&&a<=o;){let v=t.at(a),y=h.value,D=Xp(a,v,a,y,e);if(D!==0)D<0&&t.updateValue(a,y),a++,h=l.next();else{i??=new s0,r??=Qv(t,a,o,e);let S=e(a,y);if(K6(t,i,a,S))t.updateValue(a,y),a++,o++,h=l.next();else if(!r.has(S))t.attach(a,t.create(a,y)),a++,o++,h=l.next();else{let V=e(a,v);i.set(V,t.detach(a)),o--}}}for(;!h.done;)Yv(t,i,e,t.length,h.value),h=l.next()}for(;a<=o;)t.destroy(t.detach(o--));i?.forEach(l=>{t.destroy(l)})}function K6(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Yv(t,n,e,i,r){if(K6(t,n,i,e(i,r)))t.updateValue(i,r);else{let a=t.create(i,r);t.attach(i,a)}}function Qv(t,n,e,i){let r=new Set;for(let a=n;a<=e;a++)r.add(i(a,t.at(a)));return r}var s0=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function Se(t,n){za("NgControlFlow");let e=Be(),i=ds(),r=e[i]!==qi?e[i]:-1,a=r!==-1?c0(e,Hi+r):void 0,o=0;if(Xn(e,i,t)){let s=_t(null);try{if(a!==void 0&&aC(a,o),t!==-1){let l=Hi+t,h=c0(e,l),v=ef(e[rt],l),y=yl(h,v.tView.ssrId),D=T1(e,v,n,{dehydratedView:y});V1(h,D,o,bl(v,y))}}finally{_t(s)}}else if(a!==void 0){let s=rC(a,o);s!==void 0&&(s[Mn]=n)}}var Z6=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-wn}};function bo(t,n){return n}var X6=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function nr(t,n,e,i,r,a,o,s,l,h,v,y,D){za("NgControlFlow");let S=Be(),V=Xt(),K=l!==void 0,te=Be(),ge=s?o.bind(te[gr][Mn]):o,Oe=new X6(K,ge);te[Hi+t]=Oe,a0(S,V,t+1,n,e,i,r,os(V.consts,a)),K&&a0(S,V,t+2,l,h,v,y,os(V.consts,D))}var J6=class extends Q6{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-wn}at(n){return this.getLView(n)[Mn].$implicit}attach(n,e){let i=e[gl];this.needsIndexUpdate||=n!==this.length,V1(this.lContainer,e,n,bl(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,VB(this.lContainer,n)}create(n,e){let i=yl(this.lContainer,this.templateTNode.tView.ssrId),r=T1(this.hostLView,this.templateTNode,new Z6(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){O0(n[rt],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Mn].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n(D0(!0),Ay(i,r,XR()));function HB(t,n,e,i,r){let a=n.consts,o=os(a,i),s=El(n,t,8,"ng-container",o);o!==null&&J3(s,o,!0);let l=os(a,r);return Wf(n,e,s,l),n.queries!==null&&n.queries.elementStart(n,s),s}function pi(t,n,e){let i=Be(),r=Xt(),a=t+Hi,o=r.firstCreatePass?HB(a,r,i,n,e):r.data[a];lc(o,!0);let s=RB(r,i,o,t);return i[a]=s,w0()&&P0(r,i,s,o),ss(s,i),y0(o)&&(Uf(r,i,o),Bf(r,o,i)),e!=null&&$f(i,o),pi}function fi(){let t=Xi(),n=Xt();return wf()?Df():(t=t.parent,lc(t,!1)),n.firstCreatePass&&(S0(n,t),Cf(t)&&n.queries.elementEnd(t)),fi}function At(t,n,e){return pi(t,n,e),fi(),At}var RB=(t,n,e,i)=>(D0(!0),sF(n[ti],""));function le(){return Be()}function jt(t,n,e){let i=Be(),r=ds();if(Xn(i,r,n)){let a=Xt(),o=uc();Ol(a,o,i,t,n,i[ti],e,!0)}return jt}function hc(t,n,e){let i=Be(),r=ds();if(Xn(i,r,n)){let a=Xt(),o=uc(),s=kf(a.data),l=iC(s,o,i);Ol(a,o,i,t,n,l,e,!0)}return hc}var Zs=void 0;function NB(t){let n=t,e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&i===0?1:5}var FB=["en",[["a","p"],["AM","PM"],Zs],[["AM","PM"],Zs,Zs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zs,"{1} 'at' {0}",Zs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",NB],f1={};function BC(t,n,e){typeof n!="string"&&(e=n,n=t[li.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),f1[n]=t,e&&(f1[n][li.ExtraData]=e)}function ar(t){let n=jB(t),e=Kv(n);if(e)return e;let i=n.split("-")[0];if(e=Kv(i),e)return e;if(i==="en")return FB;throw new ke(701,!1)}function Kv(t){return t in f1||(f1[t]=sn.ng&&sn.ng.common&&sn.ng.common.locales&&sn.ng.common.locales[t]),f1[t]}var li=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(li||{});function jB(t){return t.toLowerCase().replace(/_/g,"-")}var l0="en-US",BB="USD";var UB=l0;function $B(t){typeof t=="string"&&(UB=t.toLowerCase().replace(/_/g,"-"))}var GB=(t,n,e)=>{};function H(t,n,e,i){let r=Be(),a=Xt(),o=Xi();return t8(a,r,r[ti],o,t,n,i),H}function mc(t,n){let e=Xi(),i=Be(),r=Xt(),a=kf(r.data),o=iC(a,e,i);return t8(r,i,o,e,t,n),mc}function WB(t,n,e,i){let r=t.cleanup;if(r!=null)for(let a=0;al?s[l]:null}typeof o=="string"&&(a+=2)}return null}function t8(t,n,e,i,r,a,o){let s=y0(i),h=t.firstCreatePass&&tC(t),v=n[Mn],y=eC(n),D=!0;if(i.type&3||o){let K=Ar(i,n),te=o?o(K):K,ge=y.length,Oe=o?Mt=>o(Oa(Mt[i.index])):i.index,He=null;if(!o&&s&&(He=WB(t,n,r,i.index)),He!==null){let Mt=He.__ngLastListenerFn__||He;Mt.__ngNextListenerFn__=a,He.__ngLastListenerFn__=a,D=!1}else{a=Xv(i,n,v,a),GB(K,r,a);let Mt=e.listen(te,r,a);y.push(a,Mt),h&&h.push(r,Oe,ge,ge+1)}}else a=Xv(i,n,v,a);let S=i.outputs,V;if(D&&S!==null&&(V=S[r])){let K=V.length;if(K)for(let te=0;te-1?ls(t.index,n):n;Qf(o,5);let s=Zv(n,e,i,a),l=r.__ngNextListenerFn__;for(;l;)s=Zv(n,e,l,a)&&s,l=l.__ngNextListenerFn__;return s}}function M(t=1){return KR(t)}function qB(t,n){let e=null,i=oR(t);for(let r=0;r=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Ct(t){let n=$R();return I1(n,Hi+t)}function d(t,n=""){let e=Be(),i=Xt(),r=t+Hi,a=i.firstCreatePass?El(i,r,1,n,null):i.data[r],o=KB(i,e,a,n,t);e[r]=o,w0()&&P0(i,e,o,a),lc(a,!1)}var KB=(t,n,e,i,r)=>(D0(!0),aF(n[ti],i));function E(t){return ne("",t,""),E}function ne(t,n,e){let i=Be(),r=e8(i,t,n,e);return r!==qi&&z0(i,oa(),r),ne}function Ht(t,n,e,i,r){let a=Be(),o=TC(a,t,n,e,i,r);return o!==qi&&z0(a,oa(),o),Ht}function i8(t,n,e,i,r,a,o){let s=Be(),l=hB(s,t,n,e,i,r,a,o);return l!==qi&&z0(s,oa(),l),i8}function ZB(t,n,e,i,r,a,o,s,l){let h=Be(),v=mB(h,t,n,e,i,r,a,o,s,l);return v!==qi&&z0(h,oa(),v),ZB}function L1(t,n,e){CC(n)&&(n=n());let i=Be(),r=ds();if(Xn(i,r,n)){let a=Xt(),o=uc();Ol(a,o,i,t,n,i[ti],e,!1)}return L1}function B0(t,n){let e=CC(t);return e&&t.set(n),e}function H1(t,n){let e=Be(),i=Xt(),r=Xi();return t8(i,e,e[ti],r,t,n),H1}function XB(t,n,e){let i=Xt();if(i.firstCreatePass){let r=po(t);tf(e,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}function tf(t,n,e,i,r){if(t=cn(t),Array.isArray(t))for(let a=0;a>20;if(fl(t)||!t.multi){let S=new rc(h,r,m),V=e6(l,n,r?v:v+D,y);V===-1?(f6(W3(s,o),a,l),Jp(a,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(S),o.push(S)):(e[V]=S,o[V]=S)}else{let S=e6(l,n,v+D,y),V=e6(l,n,v,v+D),K=S>=0&&e[S],te=V>=0&&e[V];if(r&&!te||!r&&!K){f6(W3(s,o),a,l);let ge=tU(r?eU:JB,e.length,r,i,h);!r&&te&&(e[V].providerFactory=ge),Jp(a,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(ge),o.push(ge)}else{let ge=GC(e[r?V:S],h,!r&&i);Jp(a,t,S>-1?S:V,ge)}!r&&i&&te&&e[V].componentProviders++}}}function Jp(t,n,e,i){let r=fl(n),a=yR(n);if(r||a){let l=(a?cn(n.useClass):n).prototype.ngOnDestroy;if(l){let h=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let v=h.indexOf(e);v===-1?h.push(e,[i,l]):h[v+1].push(i,l)}else h.push(e,l)}}}function GC(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function e6(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>XB(i,r?r(t):t,n)}}var iU=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Db(!1,e.type),r=i.length>0?R0([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=N({token:t,providedIn:"environment",factory:()=>new t(k(Oi))})}}return t})();function ae(t){za("NgStandalone"),t.getStandaloneInjector=n=>n.get(iU).getOrCreateStandaloneInjector(t)}function vhe(t,n,e){let i=t.\u0275cmp;i.directiveDefs=N3(n,!1),i.pipeDefs=N3(e,!0)}function or(t,n,e){let i=dc()+t,r=Be();return r[i]===qi?A1(r,i,e?n.call(e):n()):oB(r,i)}function sr(t,n,e,i){return WC(Be(),dc(),t,n,e,i)}function cr(t,n,e,i,r){return qC(Be(),dc(),t,n,e,i,r)}function U0(t,n){let e=t[n];return e===qi?void 0:e}function WC(t,n,e,i,r,a){let o=n+e;return Xn(t,o,r)?A1(t,o+1,a?i.call(a,r):i(r)):U0(t,o+1)}function qC(t,n,e,i,r,a,o){let s=n+e;return M1(t,s,r,a)?A1(t,s+2,o?i.call(o,r,a):i(r,a)):U0(t,s+2)}function nU(t,n,e,i,r,a,o,s){let l=n+e;return kC(t,l,r,a,o)?A1(t,l+3,s?i.call(s,r,a,o):i(r,a,o)):U0(t,l+3)}function rU(t,n,e,i,r,a,o,s,l){let h=n+e;return IC(t,h,r,a,o,s)?A1(t,h+4,l?i.call(l,r,a,o,s):i(r,a,o,s)):U0(t,h+4)}function I(t,n){let e=Xt(),i,r=t+Hi;e.firstCreatePass?(i=aU(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let a=i.factory||(i.factory=Js(i.type,!0)),o,s=Qn(m);try{let l=G3(!1),h=a();return G3(l),QB(e,Be(),r,h),h}finally{Qn(s)}}function aU(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function O(t,n,e){let i=t+Hi,r=Be(),a=I1(r,i);return $0(r,i)?WC(r,dc(),n,a.transform,e,a):a.transform(e)}function yo(t,n,e,i){let r=t+Hi,a=Be(),o=I1(a,r);return $0(a,r)?qC(a,dc(),n,o.transform,e,i,o):o.transform(e,i)}function bhe(t,n,e,i,r){let a=t+Hi,o=Be(),s=I1(o,a);return $0(o,a)?nU(o,dc(),n,s.transform,e,i,r,s):s.transform(e,i,r)}function n8(t,n,e,i,r,a){let o=t+Hi,s=Be(),l=I1(s,o);return $0(s,o)?rU(s,dc(),n,l.transform,e,i,r,a,l):l.transform(e,i,r,a)}function $0(t,n){return t[rt].data[n].pure}function Hr(t,n){return L0(t,n)}var k3=null;function oU(t){k3!==null&&(t.defaultEncapsulation!==k3.defaultEncapsulation||t.preserveWhitespaces!==k3.preserveWhitespaces)||(k3=t)}var G0=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();var r8=new L(""),R1=new L(""),W0=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,a8||(sU(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e()},i)),this._callbacks.push({doneCb:e,timeoutId:a,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()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static{this.\u0275fac=function(i){return new(i||t)(k(oe),k(q0),k(R1))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),q0=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return a8?.findTestabilityInTree(this,e,i)??null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function sU(t){a8=t}var a8;function us(t){return!!t&&typeof t.then=="function"}function o8(t){return!!t&&typeof t.subscribe=="function"}var Y0=new L(""),YC=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=z(Y0,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let a=r();if(us(a))e.push(a);else if(o8(a)){let o=new Promise((s,l)=>{a.subscribe({complete:s,error:l})});e.push(o)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Q0=new L("");function cU(){P9(()=>{throw new ke(600,!1)})}function lU(t){return t.isBoundToModule}var dU=10;function uU(t,n,e){try{let i=e();return us(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function QC(t,n){return Array.isArray(n)?n.reduce(QC,t):Y(Y({},t),n)}var Ji=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=z(MN),this.afterRenderManager=z(EC),this.zonelessEnabled=z(Kf),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new U,this.afterTick=new U,this.componentTypes=[],this.components=[],this.isStable=z(Aa).hasPendingTasks.pipe(me(e=>!e)),this._injector=z(Oi)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let r=e instanceof X3;if(!this._injector.get(YC).done){let D=!r&&Cb(e),S=!1;throw new ke(405,S)}let o;r?o=e:o=this._injector.get(_r).resolveComponentFactory(e),this.componentTypes.push(o.componentType);let s=lU(o)?void 0:this._injector.get(cs),l=i||o.selector,h=o.create(Le.NULL,[],l,s),v=h.location.nativeElement,y=h.injector.get(r8,null);return y?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),A3(this.components,h),y?.unregisterApplication(v)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ke(101,!1);let e=_t(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,_t(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(xl,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++C0(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;A3(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Q0,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>A3(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ke(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function A3(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function hU(t,n,e,i){if(!e&&!C0(t))return;cC(t,n,e&&!i?0:1)}var rf=class{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},K0=(()=>{class t{compileModuleSync(e){return new r0(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=xb(e),a=Ty(r.declarations).reduce((o,s)=>{let l=ho(s);return l&&o.push(new sc(l)),o},[]);return new rf(i,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),mU=new L("");function pU(t,n,e){let i=new r0(e);return Promise.resolve(i)}function Jv(t){for(let n=t.length-1;n>=0;n--)if(t[n]!==void 0)return t[n]}var fU=(()=>{class t{constructor(){this.zone=z(oe),this.changeDetectionScheduler=z(Cl),this.applicationRef=z(Ji)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function gU({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new oe(Ge(Y({},KC()),{scheduleInRootZone:e})),[{provide:oe,useFactory:t},{provide:pl,multi:!0,useFactory:()=>{let i=z(fU,{optional:!0});return()=>i.initialize()}},{provide:pl,multi:!0,useFactory:()=>{let i=z(_U);return()=>{i.initialize()}}},n===!0?{provide:hC,useValue:!0}:[],{provide:mC,useValue:e??cy}]}function KC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var _U=(()=>{class t{constructor(){this.subscription=new xe,this.initialized=!1,this.zone=z(oe),this.pendingTasks=z(Aa)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vU=(()=>{class t{constructor(){this.appRef=z(Ji),this.taskService=z(Aa),this.ngZone=z(oe),this.zonelessEnabled=z(Kf),this.disableScheduling=z(hC,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new xe,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Y3):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(z(mC,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Q3||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Sv:ly;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Y3+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Sv(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function bU(){return typeof $localize<"u"&&$localize.locale||l0}var La=new L("",{providedIn:"root",factory:()=>z(La,ft.Optional|ft.SkipSelf)||bU()}),ZC=new L("",{providedIn:"root",factory:()=>BB});var d0=new L("");function I3(t){return!t.moduleRef}function yU(t){let n=I3(t)?t.r3Injector:t.moduleRef.injector,e=n.get(oe);return e.run(()=>{I3(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Zn,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:a=>{i.handleError(a)}})}),I3(t)){let a=()=>n.destroy(),o=t.platformInjector.get(d0);o.add(a),n.onDestroy(()=>{r.unsubscribe(),o.delete(a)})}else{let a=()=>t.moduleRef.destroy(),o=t.platformInjector.get(d0);o.add(a),t.moduleRef.onDestroy(()=>{A3(t.allPlatformModules,t.moduleRef),r.unsubscribe(),o.delete(a)})}return uU(i,e,()=>{let a=n.get(YC);return a.runInitializers(),a.donePromise.then(()=>{let o=n.get(La,l0);if($B(o||l0),I3(t)){let s=n.get(Ji);return t.rootComponent!==void 0&&s.bootstrap(t.rootComponent),s}else return CU(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function CU(t,n){let e=t.injector.get(Ji);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new ke(-403,!1);n.push(t)}var XC=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){let r=i?.scheduleInRootZone,a=()=>xN(i?.ngZone,Ge(Y({},KC({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),o=i?.ignoreChangesOutsideZone,s=[gU({ngZoneFactory:a,ignoreChangesOutsideZone:o}),{provide:Cl,useExisting:vU}],l=rB(e.moduleType,this.injector,s);return yU({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){let r=QC({},i);return pU(this.injector,r,e).then(a=>this.bootstrapModuleFactory(a,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ke(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let e=this._injector.get(d0,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||t)(k(Le))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),g1=null,JC=new L("");function xU(t){if(g1&&!g1.get(JC,!1))throw new ke(400,!1);cU(),g1=t;let n=t.get(XC);return DU(t),n}function s8(t,n,e=[]){let i=`Platform: ${n}`,r=new L(i);return(a=[])=>{let o=ex();if(!o||o.injector.get(JC,!1)){let s=[...e,...a,{provide:r,useValue:!0}];t?t(s):xU(MU(s,i))}return wU(r)}}function MU(t=[],n){return Le.create({name:n,providers:[{provide:g0,useValue:"platform"},{provide:d0,useValue:new Set([()=>g1=null])},...t]})}function wU(t){let n=ex();if(!n)throw new ke(401,!1);return n}function ex(){return g1?.get(XC)??null}function DU(t){t.get(Af,null)?.forEach(e=>e())}var pe=(()=>{class t{static{this.__NG_ELEMENT_ID__=SU}}return t})();function SU(t){return kU(Xi(),Be(),(t&16)===16)}function kU(t,n,e){if(b0(t)&&!e){let i=ls(t.index,n);return new oc(i,i)}else if(t.type&175){let i=n[gr];return new oc(i,n)}return null}var af=class{constructor(){}supports(n){return SC(n)}create(n){return new of(n)}},IU=(t,n)=>n,of=class{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||IU}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,a=null;for(;e||i;){let o=!i||e&&e.currentIndex{o=this._trackByFn(r,s),e===null||!Object.is(e.trackById,o)?(e=this._mismatch(e,s,o,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,o,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;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 a;return n===null?a=this._itTail:(a=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,a,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,a,r)):n=this._addAfter(new sf(e,i),a,r)),n}_verifyReinsertion(n,e,i,r){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return a!==null?n=this._reinsertAfter(a,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,a=n._nextRemoved;return r===null?this._removalsHead=a:r._nextRemoved=a,a===null?this._removalsTail=r:a._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=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new u0),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new u0),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=n,n}},sf=class{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}},cf=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(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;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},u0=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new cf,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function eb(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let a=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;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){let 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)){let r=this._records.get(n);this._maybeAddToChanges(r,e);let a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}let i=new uf(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;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?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))}},uf=class{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 tb(){return new Fn([new af])}var Fn=(()=>{class t{static{this.\u0275prov=N({token:t,providedIn:"root",factory:tb})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||tb()),deps:[[t,new vr,new Jn]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new ke(901,!1)}}return t})();function ib(){return new Z0([new lf])}var Z0=(()=>{class t{static{this.\u0275prov=N({token:t,providedIn:"root",factory:ib})}constructor(e){this.factories=e}static create(e,i){if(i){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||ib()),deps:[[t,new vr,new Jn]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ke(901,!1)}}return t})();var tx=s8(null,"core",[]),ix=(()=>{class t{constructor(e){}static{this.\u0275fac=function(i){return new(i||t)(k(Ji))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();function q(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function st(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Co(t,n){za("NgSignals");let e=xp(t);return n?.equal&&(e[Pr].equal=n.equal),e}function lr(t){let n=_t(null);try{return t()}finally{_t(n)}}var EU=new L("",{providedIn:"root",factory:()=>z(OU)}),OU=(()=>{class t{static{this.\u0275prov=N({token:t,providedIn:"root",factory:()=>new hf})}}return t})(),hf=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=z(Aa),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(n){let e=n.creationZone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},mf=class{constructor(n,e,i,r,a,o){this.scheduler=n,this.effectFn=e,this.creationZone=i,this.injector=a,this.watcher=z9(s=>this.runEffect(s),()=>this.schedule(),o),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Zn,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function c8(t,n){za("NgSignals"),!n?.injector&&bf(c8);let e=n?.injector??z(Le),i=n?.manualCleanup!==!0?e.get(k0):null,r=new mf(e.get(EU),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),a=e.get(pe,null,{optional:!0});return!a||!(a._lView[Ke]&8)?r.watcher.notify():(a._lView[O3]??=[]).push(r.watcher.notify),r}function X0(t,n){let e=ho(t),i=n.elementInjector||_0();return new sc(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function nx(t){let n=ho(t);if(!n)return null;let e=new sc(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var mx=null;function Ra(){return mx}function px(t){mx??=t}var su=class{};var Ce=new L(""),C8=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(TU),providedIn:"platform"})}}return t})(),fx=new L(""),TU=(()=>{class t extends C8{constructor(){super(),this._doc=z(Ce),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ra().getBaseHref(this._doc)}onPopState(e){let i=Ra().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Ra().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){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>new t,providedIn:"platform"})}}return t})();function x8(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function rx(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,i=e-(t[e-1]==="/"?1:0);return t.slice(0,i)+t.slice(e)}function Mo(t){return t&&t[0]!=="?"?"?"+t:t}var Do=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(M8),providedIn:"root"})}}return t})(),gx=new L(""),M8=(()=>{class t extends Do{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??z(Ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return x8(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Mo(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,a){let o=this.prepareExternalUrl(r+Mo(a));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,a){let o=this.prepareExternalUrl(r+Mo(a));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(k(C8),k(gx,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_x=(()=>{class t extends Do{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],i!=null&&(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 i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=x8(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,a){let o=this.prepareExternalUrl(r+Mo(a));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,a){let o=this.prepareExternalUrl(r+Mo(a));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(k(C8),k(gx,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),Nr=(()=>{class t{constructor(e){this._subject=new B,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=zU(rx(ax(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Mo(i))}normalize(e){return t.stripTrailingSlash(AU(this._basePath,ax(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Mo(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Mo(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}static{this.normalizeQueryParams=Mo}static{this.joinWithSlash=x8}static{this.stripTrailingSlash=rx}static{this.\u0275fac=function(i){return new(i||t)(k(Do))}}static{this.\u0275prov=N({token:t,factory:()=>VU(),providedIn:"root"})}}return t})();function VU(){return new Nr(k(Do))}function AU(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function ax(t){return t.replace(/\/index.html$/,"")}function zU(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var vx={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},w8=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(w8||{});var jn=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(jn||{}),ei=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(ei||{}),br=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(br||{}),Sn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function LU(t){return ar(t)[li.LocaleId]}function HU(t,n,e){let i=ar(t),r=[i[li.DayPeriodsFormat],i[li.DayPeriodsStandalone]],a=Rr(r,n);return Rr(a,e)}function RU(t,n,e){let i=ar(t),r=[i[li.DaysFormat],i[li.DaysStandalone]],a=Rr(r,n);return Rr(a,e)}function NU(t,n,e){let i=ar(t),r=[i[li.MonthsFormat],i[li.MonthsStandalone]],a=Rr(r,n);return Rr(a,e)}function FU(t,n){let i=ar(t)[li.Eras];return Rr(i,n)}function J0(t,n){let e=ar(t);return Rr(e[li.DateFormat],n)}function eu(t,n){let e=ar(t);return Rr(e[li.TimeFormat],n)}function tu(t,n){let i=ar(t)[li.DateTimeFormat];return Rr(i,n)}function Ha(t,n){let e=ar(t),i=e[li.NumberSymbols][n];if(typeof i>"u"){if(n===Sn.CurrencyDecimal)return e[li.NumberSymbols][Sn.Decimal];if(n===Sn.CurrencyGroup)return e[li.NumberSymbols][Sn.Group]}return i}function bx(t,n){return ar(t)[li.NumberFormats][n]}function jU(t){return ar(t)[li.Currencies]}function yx(t){if(!t[li.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[li.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function BU(t){let n=ar(t);return yx(n),(n[li.ExtraData][2]||[]).map(i=>typeof i=="string"?l8(i):[l8(i[0]),l8(i[1])])}function UU(t,n,e){let i=ar(t);yx(i);let r=[i[li.ExtraData][0],i[li.ExtraData][1]],a=Rr(r,n)||[];return Rr(a,e)||[]}function Rr(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function l8(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}function $U(t,n,e="en"){let i=jU(e)[t]||vx[t]||[],r=i[1];return n==="narrow"&&typeof r=="string"?r:i[0]||t}var GU=2;function WU(t){let n,e=vx[t];return e&&(n=e[2]),typeof n=="number"?n:GU}var qU=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,iu={},YU=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,wo=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(wo||{}),Nt=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(Nt||{}),Rt=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(Rt||{});function QU(t,n,e,i){let r=r$(t);n=xo(e,n)||n;let o=[],s;for(;n;)if(s=YU.exec(n),s){o=o.concat(s.slice(1));let v=o.pop();if(!v)break;n=v}else{o.push(n);break}let l=r.getTimezoneOffset();i&&(l=xx(i,l),r=n$(r,i,!0));let h="";return o.forEach(v=>{let y=t$(v);h+=y?y(r,e,l):v==="''"?"'":v.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function cu(t,n,e){let i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function xo(t,n){let e=LU(t);if(iu[e]??={},iu[e][n])return iu[e][n];let i="";switch(n){case"shortDate":i=J0(t,br.Short);break;case"mediumDate":i=J0(t,br.Medium);break;case"longDate":i=J0(t,br.Long);break;case"fullDate":i=J0(t,br.Full);break;case"shortTime":i=eu(t,br.Short);break;case"mediumTime":i=eu(t,br.Medium);break;case"longTime":i=eu(t,br.Long);break;case"fullTime":i=eu(t,br.Full);break;case"short":let r=xo(t,"shortTime"),a=xo(t,"shortDate");i=nu(tu(t,br.Short),[r,a]);break;case"medium":let o=xo(t,"mediumTime"),s=xo(t,"mediumDate");i=nu(tu(t,br.Medium),[o,s]);break;case"long":let l=xo(t,"longTime"),h=xo(t,"longDate");i=nu(tu(t,br.Long),[l,h]);break;case"full":let v=xo(t,"fullTime"),y=xo(t,"fullDate");i=nu(tu(t,br.Full),[v,y]);break}return i&&(iu[e][n]=i),i}function nu(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return n!=null&&i in n?n[i]:e})),t}function sa(t,n,e="-",i,r){let a="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,a=e));let o=String(t);for(;o.length0||s>-e)&&(s+=e),t===Nt.Hours)s===0&&e===-12&&(s=12);else if(t===Nt.FractionalSeconds)return KU(s,n);let l=Ha(o,Sn.MinusSign);return sa(s,n,l,i,r)}}function ZU(t,n){switch(t){case Nt.FullYear:return n.getFullYear();case Nt.Month:return n.getMonth();case Nt.Date:return n.getDate();case Nt.Hours:return n.getHours();case Nt.Minutes:return n.getMinutes();case Nt.Seconds:return n.getSeconds();case Nt.FractionalSeconds:return n.getMilliseconds();case Nt.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function ii(t,n,e=jn.Format,i=!1){return function(r,a){return XU(r,a,t,n,e,i)}}function XU(t,n,e,i,r,a){switch(e){case Rt.Months:return NU(n,r,i)[t.getMonth()];case Rt.Days:return RU(n,r,i)[t.getDay()];case Rt.DayPeriods:let o=t.getHours(),s=t.getMinutes();if(a){let h=BU(n),v=UU(n,r,i),y=h.findIndex(D=>{if(Array.isArray(D)){let[S,V]=D,K=o>=S.hours&&s>=S.minutes,te=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case wo.Short:return(r>=0?"+":"")+sa(o,2,a)+sa(Math.abs(r%60),2,a);case wo.ShortGMT:return"GMT"+(r>=0?"+":"")+sa(o,1,a);case wo.Long:return"GMT"+(r>=0?"+":"")+sa(o,2,a)+":"+sa(Math.abs(r%60),2,a);case wo.Extended:return i===0?"Z":(r>=0?"+":"")+sa(o,2,a)+":"+sa(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${t}"`)}}}var JU=0,ou=4;function e$(t){let n=cu(t,JU,1).getDay();return cu(t,0,1+(n<=ou?ou:ou+7)-n)}function Cx(t){let n=t.getDay(),e=n===0?-3:ou-n;return cu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function d8(t,n=!1){return function(e,i){let r;if(n){let a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{let a=Cx(e),o=e$(a.getFullYear()),s=a.getTime()-o.getTime();r=1+Math.round(s/6048e5)}return sa(r,t,Ha(i,Sn.MinusSign))}}function au(t,n=!1){return function(e,i){let a=Cx(e).getFullYear();return sa(a,t,Ha(i,Sn.MinusSign),n)}}var u8={};function t$(t){if(u8[t])return u8[t];let n;switch(t){case"G":case"GG":case"GGG":n=ii(Rt.Eras,ei.Abbreviated);break;case"GGGG":n=ii(Rt.Eras,ei.Wide);break;case"GGGGG":n=ii(Rt.Eras,ei.Narrow);break;case"y":n=Ri(Nt.FullYear,1,0,!1,!0);break;case"yy":n=Ri(Nt.FullYear,2,0,!0,!0);break;case"yyy":n=Ri(Nt.FullYear,3,0,!1,!0);break;case"yyyy":n=Ri(Nt.FullYear,4,0,!1,!0);break;case"Y":n=au(1);break;case"YY":n=au(2,!0);break;case"YYY":n=au(3);break;case"YYYY":n=au(4);break;case"M":case"L":n=Ri(Nt.Month,1,1);break;case"MM":case"LL":n=Ri(Nt.Month,2,1);break;case"MMM":n=ii(Rt.Months,ei.Abbreviated);break;case"MMMM":n=ii(Rt.Months,ei.Wide);break;case"MMMMM":n=ii(Rt.Months,ei.Narrow);break;case"LLL":n=ii(Rt.Months,ei.Abbreviated,jn.Standalone);break;case"LLLL":n=ii(Rt.Months,ei.Wide,jn.Standalone);break;case"LLLLL":n=ii(Rt.Months,ei.Narrow,jn.Standalone);break;case"w":n=d8(1);break;case"ww":n=d8(2);break;case"W":n=d8(1,!0);break;case"d":n=Ri(Nt.Date,1);break;case"dd":n=Ri(Nt.Date,2);break;case"c":case"cc":n=Ri(Nt.Day,1);break;case"ccc":n=ii(Rt.Days,ei.Abbreviated,jn.Standalone);break;case"cccc":n=ii(Rt.Days,ei.Wide,jn.Standalone);break;case"ccccc":n=ii(Rt.Days,ei.Narrow,jn.Standalone);break;case"cccccc":n=ii(Rt.Days,ei.Short,jn.Standalone);break;case"E":case"EE":case"EEE":n=ii(Rt.Days,ei.Abbreviated);break;case"EEEE":n=ii(Rt.Days,ei.Wide);break;case"EEEEE":n=ii(Rt.Days,ei.Narrow);break;case"EEEEEE":n=ii(Rt.Days,ei.Short);break;case"a":case"aa":case"aaa":n=ii(Rt.DayPeriods,ei.Abbreviated);break;case"aaaa":n=ii(Rt.DayPeriods,ei.Wide);break;case"aaaaa":n=ii(Rt.DayPeriods,ei.Narrow);break;case"b":case"bb":case"bbb":n=ii(Rt.DayPeriods,ei.Abbreviated,jn.Standalone,!0);break;case"bbbb":n=ii(Rt.DayPeriods,ei.Wide,jn.Standalone,!0);break;case"bbbbb":n=ii(Rt.DayPeriods,ei.Narrow,jn.Standalone,!0);break;case"B":case"BB":case"BBB":n=ii(Rt.DayPeriods,ei.Abbreviated,jn.Format,!0);break;case"BBBB":n=ii(Rt.DayPeriods,ei.Wide,jn.Format,!0);break;case"BBBBB":n=ii(Rt.DayPeriods,ei.Narrow,jn.Format,!0);break;case"h":n=Ri(Nt.Hours,1,-12);break;case"hh":n=Ri(Nt.Hours,2,-12);break;case"H":n=Ri(Nt.Hours,1);break;case"HH":n=Ri(Nt.Hours,2);break;case"m":n=Ri(Nt.Minutes,1);break;case"mm":n=Ri(Nt.Minutes,2);break;case"s":n=Ri(Nt.Seconds,1);break;case"ss":n=Ri(Nt.Seconds,2);break;case"S":n=Ri(Nt.FractionalSeconds,1);break;case"SS":n=Ri(Nt.FractionalSeconds,2);break;case"SSS":n=Ri(Nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=ru(wo.Short);break;case"ZZZZZ":n=ru(wo.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ru(wo.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=ru(wo.Long);break;default:return null}return u8[t]=n,n}function xx(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function i$(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function n$(t,n,e){let i=e?-1:1,r=t.getTimezoneOffset(),a=xx(n,r);return i$(t,i*(a-r))}function r$(t){if(ox(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,a=1,o=1]=t.split("-").map(s=>+s);return cu(r,a-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(qU))return a$(i)}let n=new Date(t);if(!ox(n))throw new Error(`Unable to convert "${t}" into a date`);return n}function a$(t){let n=new Date(0),e=0,i=0,r=t[8]?n.setUTCFullYear:n.setFullYear,a=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,s=Number(t[5]||0)-i,l=Number(t[6]||0),h=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(n,o,s,l,h),n}function ox(t){return t instanceof Date&&!isNaN(t.valueOf())}var o$=/^(\d+)?\.((\d+)(-(\d+))?)?$/,sx=22,lu=".",N1="0",s$=";",c$=",",h8="#",cx="\xA4";function Mx(t,n,e,i,r,a,o=!1){let s="",l=!1;if(!isFinite(t))s=Ha(e,Sn.Infinity);else{let h=u$(t);o&&(h=d$(h));let v=n.minInt,y=n.minFrac,D=n.maxFrac;if(a){let Oe=a.match(o$);if(Oe===null)throw new Error(`${a} is not a valid digit info`);let He=Oe[1],Mt=Oe[3],It=Oe[5];He!=null&&(v=m8(He)),Mt!=null&&(y=m8(Mt)),It!=null?D=m8(It):Mt!=null&&y>D&&(D=y)}h$(h,y,D);let S=h.digits,V=h.integerLen,K=h.exponent,te=[];for(l=S.every(Oe=>!Oe);V0?te=S.splice(V,S.length):(te=S,S=[0]);let ge=[];for(S.length>=n.lgSize&&ge.unshift(S.splice(-n.lgSize,S.length).join(""));S.length>n.gSize;)ge.unshift(S.splice(-n.gSize,S.length).join(""));S.length&&ge.unshift(S.join("")),s=ge.join(Ha(e,i)),te.length&&(s+=Ha(e,r)+te.join("")),K&&(s+=Ha(e,Sn.Exponential)+"+"+K)}return t<0&&!l?s=n.negPre+s+n.negSuf:s=n.posPre+s+n.posSuf,s}function D8(t,n,e,i,r){let a=bx(n,w8.Currency),o=wx(a,Ha(n,Sn.MinusSign));return o.minFrac=WU(i),o.maxFrac=o.minFrac,Mx(t,o,n,Sn.CurrencyGroup,Sn.CurrencyDecimal,r).replace(cx,e).replace(cx,"").trim()}function l$(t,n,e){let i=bx(n,w8.Decimal),r=wx(i,Ha(n,Sn.MinusSign));return Mx(t,r,n,Sn.Group,Sn.Decimal,e)}function wx(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(s$),r=i[0],a=i[1],o=r.indexOf(lu)!==-1?r.split(lu):[r.substring(0,r.lastIndexOf(N1)+1),r.substring(r.lastIndexOf(N1)+1)],s=o[0],l=o[1]||"";e.posPre=s.substring(0,s.indexOf(h8));for(let v=0;v-1&&(n=n.replace(lu,"")),(a=n.search(/e/i))>0?(r<0&&(r=a),r+=+n.slice(a+1),n=n.substring(0,a)):r<0&&(r=n.length),a=0;n.charAt(a)===N1;a++);if(a===(s=n.length))i=[0],r=1;else{for(s--;n.charAt(s)===N1;)s--;for(r-=a,i=[],o=0;a<=s;a++,o++)i[o]=Number(n.charAt(a))}return r>sx&&(i=i.splice(0,sx-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}function h$(t,n,e){if(n>e)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${e}).`);let i=t.digits,r=i.length-t.integerLen,a=Math.min(Math.max(n,r),e),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let y=o;y=5)if(o-1<0){for(let y=0;y>o;y--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r=h?V.pop():l=!1),D>=10?1:0},0);v&&(i.unshift(v),t.integerLen++)}function m8(t){let n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}function Hhe(t,n,e){return BC(t,n,e)}function hu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,a]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(a)}return null}var p8=/\s+/,lx=[],Ni=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=lx,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(p8):lx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(p8):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(p8).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||t)(m($),m(tr))}}static{this.\u0275dir=T({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var f8=class{constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ni=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,a,o)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new f8(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)i.remove(a===null?void 0:a);else if(a!==null){let s=i.get(a);i.move(s,o),dx(s,r)}});for(let r=0,a=i.length;r{let a=i.get(r.currentIndex);dx(a,r)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($e),m(Fn))}}static{this.\u0275dir=T({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function dx(t,n){t.context.$implicit=n.item}var Re=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new g8,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){ux("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ux("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}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),g8=class{constructor(){this.$implicit=null,this.ngIf=null}};function ux(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Nn(n)}'.`)}var du=class{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()}},mu=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let i=e===this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let i of this._defaultViews)i.enforceState(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return t})(),Dx=(()=>{class t{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new du(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($e),m(mu,9))}}static{this.\u0275dir=T({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return t})(),Sx=(()=>{class t{constructor(e,i,r){r._addDefault(new du(e,i))}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($e),m(mu,9))}}static{this.\u0275dir=T({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return t})();var kx=(()=>{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){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[r,a]=e.split("."),o=r.indexOf("-")===-1?void 0:Pa.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${i}${a}`:i,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Z0),m(tr))}}static{this.\u0275dir=T({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),hs=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||t)(m(Xe))}}static{this.\u0275dir=T({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Te]})}}return t})();function Tl(t,n){return new ke(2100,!1)}var _8=class{createSubscription(n,e){return lr(()=>n.subscribe({next:e,error:i=>{throw i}}))}dispose(n){lr(()=>n.unsubscribe())}},v8=class{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}},m$=new v8,p$=new _8,pu=(()=>{class t{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(us(e))return m$;if(o8(e))return p$;throw Tl(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(i){return new(i||t)(m(pe,16))}}static{this.\u0275pipe=gt({name:"async",type:t,pure:!1,standalone:!0})}}return t})(),Rhe=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Tl(t,e);return e.toLowerCase()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"lowercase",type:t,pure:!0,standalone:!0})}}return t})(),f$=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Nhe=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Tl(t,e);return e.replace(f$,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"titlecase",type:t,pure:!0,standalone:!0})}}return t})();var g$="mediumDate",_$=new L(""),v$=new L(""),Vl=(()=>{class t{constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,a){if(e==null||e===""||e!==e)return null;try{let o=i??this.defaultOptions?.dateFormat??g$,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return QU(e,o,a||this.locale,s)}catch(o){throw Tl(t,o.message)}}static{this.\u0275fac=function(i){return new(i||t)(m(La,16),m(_$,24),m(v$,24))}}static{this.\u0275pipe=gt({name:"date",type:t,pure:!0,standalone:!0})}}return t})();function b$(t,n){return{key:t,value:n}}var Fhe=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=hx}transform(e,i=hx){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),a=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(b$(o.key,o.currentValue))})),(r||a)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static{this.\u0275fac=function(i){return new(i||t)(m(Z0,16))}}static{this.\u0275pipe=gt({name:"keyvalue",type:t,pure:!1,standalone:!0})}}return t})();function hx(t,n){let e=t.key,i=n.key;if(e===i)return 0;if(e===void 0)return 1;if(i===void 0)return-1;if(e===null)return 1;if(i===null)return-1;if(typeof e=="string"&&typeof i=="string")return e{class t{constructor(e){this._locale=e}transform(e,i,r){if(!Ex(e))return null;r||=this._locale;try{let a=Ox(e);return l$(a,r,i)}catch(a){throw Tl(t,a.message)}}static{this.\u0275fac=function(i){return new(i||t)(m(La,16))}}static{this.\u0275pipe=gt({name:"number",type:t,pure:!0,standalone:!0})}}return t})();var Ix=(()=>{class t{constructor(e,i="USD"){this._locale=e,this._defaultCurrencyCode=i}transform(e,i=this._defaultCurrencyCode,r="symbol",a,o){if(!Ex(e))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let s=i||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?s=$U(s,r==="symbol"?"wide":"narrow",o):s=r);try{let l=Ox(e);return D8(l,o,s,i,a)}catch(l){throw Tl(t,l.message)}}static{this.\u0275fac=function(i){return new(i||t)(m(La,16),m(ZC,16))}}static{this.\u0275pipe=gt({name:"currency",type:t,pure:!0,standalone:!0})}}return t})();function Ex(t){return!(t==null||t===""||t!==t)}function Ox(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Tt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})(),S8="browser",y$="server";function k8(t){return t===S8}function gu(t){return t===y$}var Px=(()=>{class t{static{this.\u0275prov=N({token:t,providedIn:"root",factory:()=>k8(z(zr))?new b8(z(Ce),window):new y8})}}return t})(),b8=class{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=C$(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(i-a[0],r-a[1])}};function C$(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let a=r.shadowRoot;if(a){let o=a.getElementById(n)||a.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}var y8=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Pl=class{};var j1=class{},vu=class{},dr=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),a=r.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(r,a),this.headers.has(a)?this.headers.get(a).push(o):this.headers.set(a,[o])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let 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 t?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){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let a=n.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var E8=class{encodeKey(n){return Tx(n)}encodeValue(n){return Tx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function x$(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,a)),n.decodeValue(r.slice(a+1))],l=e.get(o)||[];l.push(s),e.set(o,l)}),e}var M$=/%(\d[a-f0-9])/gi,w$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Tx(t){return encodeURIComponent(t).replace(M$,(n,e)=>w$[e]??n)}function _u(t){return`${t}`}var X=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new E8,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=x$(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(_u):[_u(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let 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){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(a=>{e.push({param:i,value:a,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=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(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":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(_u(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(_u(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var O8=class{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 D$(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Vx(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ax(t){return typeof Blob<"u"&&t instanceof Blob}function zx(t){return typeof FormData<"u"&&t instanceof FormData}function S$(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var F1=class t{constructor(n,e,i,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let a;if(D$(this.method)||r?(this.body=i!==void 0?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??=new dr,this.context??=new O8,!this.params)this.params=new X,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":sD.set(S,n.setHeaders[S]),h)),n.setParams&&(v=Object.keys(n.setParams).reduce((D,S)=>D.set(S,n.setParams[S]),v)),new t(e,i,o,{params:v,headers:h,context:y,reportProgress:l,responseType:r,withCredentials:s,transferCache:a})}},ps=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(ps||{}),B1=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new dr,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},bu=class t extends B1{constructor(n={}){super(n),this.type=ps.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},U1=class t extends B1{constructor(n={}){super(n),this.type=ps.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ms=class extends B1{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Fx=200,k$=204;function I8(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,transferCache:t.transferCache}}var Ti=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let a;if(e instanceof F1)a=e;else{let l;r.headers instanceof dr?l=r.headers:l=new dr(r.headers);let h;r.params&&(r.params instanceof X?h=r.params:h=new X({fromObject:r.params})),a=new F1(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let o=ce(a).pipe(Yn(l=>this.handler.handle(l)));if(e instanceof F1||r.observe==="events")return o;let s=o.pipe(Ve(l=>l instanceof U1));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(me(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return s.pipe(me(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return s.pipe(me(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return s.pipe(me(l=>l.body))}case"response":return s;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 X().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,I8(r,i))}post(e,i,r={}){return this.request("POST",e,I8(r,i))}put(e,i,r={}){return this.request("PUT",e,I8(r,i))}static{this.\u0275fac=function(i){return new(i||t)(k(j1))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),I$=/^\)\]\}',?\n/,E$="X-Request-URL";function Lx(t){if(t.url)return t.url;let n=E$.toLocaleLowerCase();return t.headers.get(n)}var O$=(()=>{class t{constructor(){this.fetchImpl=z(P8,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=z(oe)}handle(e){return new je(i=>{let r=new AbortController;return this.doRequest(e,r.signal,i).then(T8,a=>i.error(new ms({error:a}))),()=>r.abort()})}doRequest(e,i,r){return R4(this,null,function*(){let a=this.createRequestInit(e),o;try{let S=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,Y({signal:i},a)));P$(S),r.next({type:ps.Sent}),o=yield S}catch(S){r.error(new ms({error:S,status:S.status??0,statusText:S.statusText,url:e.urlWithParams,headers:S.headers}));return}let s=new dr(o.headers),l=o.statusText,h=Lx(o)??e.urlWithParams,v=o.status,y=null;if(e.reportProgress&&r.next(new bu({headers:s,status:v,statusText:l,url:h})),o.body){let S=o.headers.get("content-length"),V=[],K=o.body.getReader(),te=0,ge,Oe,He=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>R4(this,null,function*(){for(;;){let{done:It,value:Et}=yield K.read();if(It)break;if(V.push(Et),te+=Et.length,e.reportProgress){Oe=e.responseType==="text"?(Oe??"")+(ge??=new TextDecoder).decode(Et,{stream:!0}):void 0;let yn=()=>r.next({type:ps.DownloadProgress,total:S?+S:void 0,loaded:te,partialText:Oe});He?He.run(yn):yn()}}}));let Mt=this.concatChunks(V,te);try{let It=o.headers.get("Content-Type")??"";y=this.parseBody(e,Mt,It)}catch(It){r.error(new ms({error:It,headers:new dr(o.headers),status:o.status,statusText:o.statusText,url:Lx(o)??e.urlWithParams}));return}}v===0&&(v=y?Fx:0),v>=200&&v<300?(r.next(new U1({body:y,headers:s,status:v,statusText:l,url:h})),r.complete()):r.error(new ms({error:y,headers:s,status:v,statusText:l,url:h}))})}parseBody(e,i,r){switch(e.responseType){case"json":let a=new TextDecoder().decode(i).replace(I$,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},r=e.withCredentials?"include":void 0;if(e.headers.forEach((a,o)=>i[a]=o.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let a=e.detectContentTypeHeader();a!==null&&(i["Content-Type"]=a)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r}}concatChunks(e,i){let r=new Uint8Array(i),a=0;for(let o of e)r.set(o,a),a+=o.length;return r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),P8=class{};function T8(){}function P$(t){t.then(T8,T8)}function jx(t,n){return n(t)}function T$(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}function V$(t,n,e){return(i,r)=>Vr(e,()=>n(i,a=>t(a,r)))}var A$=new L(""),V8=new L(""),z$=new L(""),Bx=new L("",{providedIn:"root",factory:()=>!0});function L$(){let t=null;return(n,e)=>{t===null&&(t=(z(A$,{optional:!0})??[]).reduceRight(T$,jx));let i=z(Aa);if(z(Bx)){let a=i.add();return t(n,e).pipe(wa(()=>i.remove(a)))}else return t(n,e)}}var Hx=(()=>{class t extends j1{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=z(Aa),this.contributeToStability=z(Bx)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(V8),...this.injector.get(z$,[])]));this.chain=i.reduceRight((r,a)=>V$(r,a,this.injector),jx)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(wa(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(k(vu),k(Oi))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();var H$=/^\)\]\}',?\n/;function R$(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Rx=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new ke(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Yt(i.\u0275loadImpl()):ce(null)).pipe(dt(()=>new je(a=>{let o=i.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((K,te)=>o.setRequestHeader(K,te.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let K=e.detectContentTypeHeader();K!==null&&o.setRequestHeader("Content-Type",K)}if(e.responseType){let K=e.responseType.toLowerCase();o.responseType=K!=="json"?K:"text"}let s=e.serializeBody(),l=null,h=()=>{if(l!==null)return l;let K=o.statusText||"OK",te=new dr(o.getAllResponseHeaders()),ge=R$(o)||e.url;return l=new bu({headers:te,status:o.status,statusText:K,url:ge}),l},v=()=>{let{headers:K,status:te,statusText:ge,url:Oe}=h(),He=null;te!==k$&&(He=typeof o.response>"u"?o.responseText:o.response),te===0&&(te=He?Fx:0);let Mt=te>=200&&te<300;if(e.responseType==="json"&&typeof He=="string"){let It=He;He=He.replace(H$,"");try{He=He!==""?JSON.parse(He):null}catch(Et){He=It,Mt&&(Mt=!1,He={error:Et,text:He})}}Mt?(a.next(new U1({body:He,headers:K,status:te,statusText:ge,url:Oe||void 0})),a.complete()):a.error(new ms({error:He,headers:K,status:te,statusText:ge,url:Oe||void 0}))},y=K=>{let{url:te}=h(),ge=new ms({error:K,status:o.status||0,statusText:o.statusText||"Unknown Error",url:te||void 0});a.error(ge)},D=!1,S=K=>{D||(a.next(h()),D=!0);let te={type:ps.DownloadProgress,loaded:K.loaded};K.lengthComputable&&(te.total=K.total),e.responseType==="text"&&o.responseText&&(te.partialText=o.responseText),a.next(te)},V=K=>{let te={type:ps.UploadProgress,loaded:K.loaded};K.lengthComputable&&(te.total=K.total),a.next(te)};return o.addEventListener("load",v),o.addEventListener("error",y),o.addEventListener("timeout",y),o.addEventListener("abort",y),e.reportProgress&&(o.addEventListener("progress",S),s!==null&&o.upload&&o.upload.addEventListener("progress",V)),o.send(s),a.next({type:ps.Sent}),()=>{o.removeEventListener("error",y),o.removeEventListener("abort",y),o.removeEventListener("load",v),o.removeEventListener("timeout",y),e.reportProgress&&(o.removeEventListener("progress",S),s!==null&&o.upload&&o.upload.removeEventListener("progress",V)),o.readyState!==o.DONE&&o.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(k(Pl))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),Ux=new L(""),N$="XSRF-TOKEN",F$=new L("",{providedIn:"root",factory:()=>N$}),j$="X-XSRF-TOKEN",B$=new L("",{providedIn:"root",factory:()=>j$}),yu=class{},U$=(()=>{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(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=hu(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(zr),k(F$))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function $$(t,n){let e=t.url.toLowerCase();if(!z(Ux)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=z(yu).getToken(),r=z(B$);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}var $x=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}($x||{});function G$(t,n){return{\u0275kind:t,\u0275providers:n}}function eme(...t){let n=[Ti,Rx,Hx,{provide:j1,useExisting:Hx},{provide:vu,useFactory:()=>z(O$,{optional:!0})??z(Rx)},{provide:V8,useValue:$$,multi:!0},{provide:Ux,useValue:!0},{provide:yu,useClass:U$}];for(let e of t)n.push(...e.\u0275providers);return k1(n)}var Nx=new L("");function tme(){return G$($x.LegacyInterceptors,[{provide:Nx,useFactory:L$},{provide:V8,useExisting:Nx,multi:!0}])}var L8=class extends su{constructor(){super(...arguments),this.supportsDOMEvents=!0}},H8=class t extends L8{static makeCurrent(){px(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.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 e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=W$();return e==null?null:q$(e)}resetBaseElement(){$1=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hu(document.cookie,n)}},$1=null;function W$(){return $1=$1||document.querySelector("base"),$1?$1.getAttribute("href"):null}function q$(t){return new URL(t,document.baseURI).pathname}var R8=class{addToWindow(n){sn.getAngularTestability=(i,r=!0)=>{let a=n.findTestabilityInTree(i,r);if(a==null)throw new ke(5103,!1);return a},sn.getAllAngularTestabilities=()=>n.getAllTestabilities(),sn.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=sn.getAllAngularTestabilities(),a=r.length,o=function(){a--,a==0&&i()};r.forEach(s=>{s.whenStable(o)})};sn.frameworkStabilizers||(sn.frameworkStabilizers=[]),sn.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?Ra().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},Y$=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),N8=new L(""),Yx=(()=>{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)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new ke(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(k(N8),k(oe))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),Cu=class{constructor(n){this._doc=n}},A8="ng-app-id",Qx=(()=>{class t{constructor(e,i,r,a={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=gu(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${A8}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(r=>{r.textContent!=null&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){let r=this.styleRef;if(r.has(e)){let a=r.get(e);return a.usage+=i,a.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let r=this.styleNodesInDOM,a=r?.get(i);if(a?.parentNode===e)return r.delete(i),a.removeAttribute(A8),a;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=i,this.platformIsServer&&o.setAttribute(A8,this.appId),e.appendChild(o),o}}addStyleToHost(e,i){let r=this.getStyleElement(e,i),a=this.styleRef,o=a.get(i)?.elements;o?o.push(r):a.set(i,{elements:[r],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(Sl),k(O1,8),k(zr))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),z8={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},j8=/%COMP%/g,Kx="%COMP%",Q$=`_nghost-${Kx}`,K$=`_ngcontent-${Kx}`,Z$=!0,X$=new L("",{providedIn:"root",factory:()=>Z$});function J$(t){return K$.replace(j8,t)}function eG(t){return Q$.replace(j8,t)}function Zx(t,n){return n.map(e=>e.replace(j8,t))}var Gx=(()=>{class t{constructor(e,i,r,a,o,s,l,h=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=s,this.ngZone=l,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=gu(s),this.defaultRenderer=new G1(e,o,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ia.ShadowDom&&(i=Ge(Y({},i),{encapsulation:Ia.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof xu?r.applyToHost(e):r instanceof W1&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,a=r.get(i.id);if(!a){let o=this.doc,s=this.ngZone,l=this.eventManager,h=this.sharedStylesHost,v=this.removeStylesOnCompDestroy,y=this.platformIsServer;switch(i.encapsulation){case Ia.Emulated:a=new xu(l,h,i,this.appId,v,o,s,y);break;case Ia.ShadowDom:return new F8(l,h,e,i,o,s,this.nonce,y);default:a=new W1(l,h,i,v,o,s,y);break}r.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(k(Yx),k(Qx),k(Sl),k(X$),k(Ce),k(zr),k(oe),k(O1))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),G1=class{constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(z8[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Wx(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Wx(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new ke(-5104,!1);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;let a=z8[r];a?n.setAttributeNS(a,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=z8[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&(Pa.DashCase|Pa.Important)?n.style.setProperty(e,i,r&Pa.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Pa.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Ra().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Wx(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var F8=class extends G1{constructor(n,e,i,r,a,o,s,l){super(n,a,o,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=Zx(r.id,r.styles);for(let v of h){let y=document.createElement("style");s&&y.setAttribute("nonce",s),y.textContent=v,this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},W1=class extends G1{constructor(n,e,i,r,a,o,s,l){super(n,a,o,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?Zx(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},xu=class extends W1{constructor(n,e,i,r,a,o,s,l){let h=r+"-"+i.id;super(n,e,i,a,o,s,l,h),this.contentAttr=J$(h),this.hostAttr=eG(h)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},tG=(()=>{class t extends Cu{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)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),qx=["alt","control","meta","shift"],iG={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nG={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},rG=(()=>{class t extends Cu{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r){let a=t.parseEventName(i),o=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ra().onAndCancel(e,a.domEventName,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let a=t._normalizeKey(i.pop()),o="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),o="code."),qx.forEach(h=>{let v=i.indexOf(h);v>-1&&(i.splice(v,1),o+=h+".")}),o+=a,i.length!=0||a.length===0)return null;let l={};return l.domEventName=r,l.fullKey=o,l}static matchEventFullKeyCode(e,i){let r=iG[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(r=e.code,a="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),qx.forEach(o=>{if(o!==r){let s=nG[o];s(e)&&(a+=o+".")}}),a+=r,a===i)}static eventCallback(e,i,r){return a=>{t.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function aG(){H8.makeCurrent()}function oG(){return new Zn}function sG(){return _y(document),document}var cG=[{provide:zr,useValue:S8},{provide:Af,useValue:aG,multi:!0},{provide:Ce,useFactory:sG,deps:[]}],fme=s8(tx,"browser",cG),lG=new L(""),dG=[{provide:R1,useClass:R8,deps:[]},{provide:r8,useClass:W0,deps:[oe,q0,R1]},{provide:W0,useClass:W0,deps:[oe,q0,R1]}],uG=[{provide:g0,useValue:"root"},{provide:Zn,useFactory:oG,deps:[]},{provide:N8,useClass:tG,multi:!0,deps:[Ce,oe,zr]},{provide:N8,useClass:rG,multi:!0,deps:[Ce]},Gx,Qx,Yx,{provide:xl,useExisting:Gx},{provide:Pl,useClass:Y$,deps:[]},[]],gme=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Sl,useValue:e.appId}]}}static{this.\u0275fac=function(i){return new(i||t)(k(lG,12))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[...uG,...dG],imports:[Tt,ix]})}}return t})();var Xx=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var q1=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=k(hG),r},providedIn:"root"})}}return t})(),hG=(()=>{class t extends q1{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case ln.NONE:return i;case ln.HTML:return _o(i,"HTML")?Lr(i):Lf(this._doc,String(i)).toString();case ln.STYLE:return _o(i,"Style")?Lr(i):i;case ln.SCRIPT:if(_o(i,"Script"))return Lr(i);throw new ke(5200,!1);case ln.URL:return _o(i,"URL")?Lr(i):E0(String(i));case ln.RESOURCE_URL:if(_o(i,"ResourceURL"))return Lr(i);throw new ke(5201,!1);default:throw new ke(5202,!1)}}bypassSecurityTrustHtml(e){return Cy(e)}bypassSecurityTrustStyle(e){return xy(e)}bypassSecurityTrustScript(e){return My(e)}bypassSecurityTrustUrl(e){return wy(e)}bypassSecurityTrustResourceUrl(e){return Dy(e)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Al=class{},Jx=(()=>{class t extends Al{getTranslation(e){return ce({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),Q1=class{},eM=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();function wu(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,r,a,o;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(a=0;a{Z1(n[i])?i in t?e[i]=U8(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):U8({},n)}function $8(t,n){let e=n.split(".");n="";do n+=e.shift(),fs(t)&&fs(t[n])&&(Z1(t[n])||Q8(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function pG(t,n,e){let i=n.split("."),r=t;for(let a=0;a{class t extends zl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(K8(e))return this.interpolateString(e,i);if(mG(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,a)=>{let o=$8(i,a);return fs(o)?o:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),Ll=class{},iM=(()=>{class t extends Ll{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),K1=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new B;onLangChange=new B;onDefaultLangChange=new B},G8=new L("ISOLATE_TRANSLATE_SERVICE"),W8=new L("USE_DEFAULT_LANG"),q8=new L("DEFAULT_LANGUAGE"),Y8=new L("USE_EXTEND"),Y1=t=>Li(t)?t:ce(t),ca=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,i,r,a,o,s=!0,l=!1,h=!1,v){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.extend=h,l&&(this.store=new K1),v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Ue(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return ce(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return Li(i)?(i.pipe(Ue(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),ce(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Qs(1),Ue(1));return this.loadingTranslations=i.pipe(me(r=>this.compiler.compileTranslations(r,e)),Qs(1),Ue(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?Y(Y({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let a=this.compiler.compileTranslations(i,e);(r||this.extend)&&this.translations[e]?this.translations[e]=U8(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let i=e.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,r){let a;if(e&&(a=this.runInterpolation($8(e,i),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation($8(this.translations[this.defaultLang],i),r)),a===void 0){let o={key:i,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:i}runInterpolation(e,i){if(Q8(e))return e.map(r=>this.runInterpolation(r,i));if(Z1(e)){let r={};for(let a in e){let o=this.runInterpolation(e[a],i);o!==void 0&&(r[a]=o)}return r}else return this.parser.interpolate(e,i)}getParsedResult(e,i,r){if(i instanceof Array){let a={},o=!1;for(let l of i)a[l]=this.getParsedResultForKey(e,l,r),o=o||Li(a[l]);if(!o)return a;let s=i.map(l=>Y1(a[l]));return lo(s).pipe(me(l=>{let h={};return l.forEach((v,y)=>{h[i[y]]=v}),h}))}return this.getParsedResultForKey(e,i,r)}get(e,i){if(!fs(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Yn(r=>Y1(this.getParsedResult(r,e,i)))):Y1(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!fs(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return xn(Hn(()=>this.get(e,i)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,i);return Y1(a)})))}stream(e,i){if(!fs(e)||!e.length)throw new Error('Parameter "key" required');return xn(Hn(()=>this.get(e,i)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,i);return Y1(a)})))}instant(e,i){if(!fs(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,i);return Li(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,i,r=this.currentLang){pG(this.translations[r],e,K8(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||t)(k(K1),k(Al),k(Ll),k(zl),k(Q1),k(W8),k(G8),k(Y8),k(q8))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Pe=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,i);Li(o)?o.subscribe(a):a(o)}this.translate.get(e,i).subscribe(a)}transform(e,...i){if(!e||!e.length)return e;if(wu(e,this.lastKey)&&wu(i,this.lastParams))return this.value;let r;if(fs(i[0])&&i.length)if(K8(i[0])&&i[0].length){let a=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else Z1(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(m(ca,16),m(pe,16))};static \u0275pipe=gt({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var Z8=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Al,useClass:Jx},e.compiler||{provide:Ll,useClass:iM},e.parser||{provide:zl,useClass:tM},e.missingTranslationHandler||{provide:Q1,useClass:eM},K1,{provide:G8,useValue:e.isolate},{provide:W8,useValue:e.useDefaultLang},{provide:Y8,useValue:e.extend},{provide:q8,useValue:e.defaultLanguage},ca]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Al,useClass:Jx},e.compiler||{provide:Ll,useClass:iM},e.parser||{provide:zl,useClass:tM},e.missingTranslationHandler||{provide:Q1,useClass:eM},{provide:G8,useValue:e.isolate},{provide:W8,useValue:e.useDefaultLang},{provide:Y8,useValue:e.extend},{provide:q8,useValue:e.defaultLanguage},ca]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ee({type:t});static \u0275inj=J({})}return t})();var Du={mifos_x:{version:"250611",hash:"3fdebe6"},allow_switching_backend_instance:!0};var gi=window.env||{},mt={production:!0,version:Du.mifos_x.version,hash:Du.mifos_x.hash,fineractPlatformTenantId:gi.fineractPlatformTenantId||"default",fineractPlatformTenantIds:gi.fineractPlatformTenantIds||"default",baseApiUrls:gi.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:gi.fineractApiUrl||(gi.fineractApiUrls?.length>0?gi.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:gi.oauthServerUrl||gi.fineractApiUrl+gi.apiProvider,allowServerSwitch:Du.allow_switching_backend_instance,apiProvider:gi.apiProvider||"/fineract-provider/api",apiVersion:gi.apiVersion||"/v1",serverUrl:"",oauth:{enabled:gi.oauthServerEnabled||!1,serverUrl:gi.oauthServerUrl||"",appId:gi.oauthAppId||""},warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:gi.defaultLanguage||"en-US",supportedLanguages:gi.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:gi.preloadClients||!0,defaultCharDelimiter:gi.defaultCharDelimiter||",",displayBackEndInfo:gi.displayBackEndInfo||"true",displayTenantSelector:gi.displayTenantSelector||"true",waitTimeForNotifications:gi.waitTimeForNotifications||60,waitTimeForCOBCatchUp:gi.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:gi.sessionIdleTimeout||3e5}},vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:gi.minPasswordLength||12};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var nM=(()=>{class t{transform(e,i,r,a){if(e){if(i==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),i==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),i==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),i==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return i==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"accountsFilter",type:t,pure:!0})}}return t})();var rM=(()=>{class t{transform(e,i,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||i.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"chargesFilter",type:t,pure:!0})}}return t})();var aM=(()=>{class t{transform(e,i){return e&&(e=e.filter(r=>r.penalty===i)),e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var gs=(()=>{class t{constructor(){this.alertEvent=new B}alert(e){this.alertEvent.emit(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Rl=H4(ku());var Bn=(()=>{class t{static{this.DEFAULT_DATEFORMAT="yyyy-MM-dd"}static{this.DEFAULT_DATETIMEFORMAT="yyyy-MM-dd HH:mm"}constructor(e){this.datePipe=e}getDate(e){return this.datePipe.transform(e,"YYYY-MM-DD")}formatDate(e,i){return new Vl(this.language.code).transform(e,i)}formatDateAsString(e,i){return(0,Rl.default)(e).format(i)}parseDate(e){return e instanceof Array?(0,Rl.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,Rl.default)(e).toDate()}parseDatetime(e){return(0,Rl.default)(e).toDate()}convertToDate(e,i){return(0,Rl.default)(e).toDate()}get language(){return localStorage.getItem("mifosXLanguage")?JSON.parse(localStorage.getItem("mifosXLanguage")):"en"}calculateDiff(e,i){return Math.floor((Date.UTC(i.getFullYear(),i.getMonth(),i.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/(1e3*60*60*24))}static{this.\u0275fac=function(i){return new(i||t)(k(Vl))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var zt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,i){this.alertService=e,this.dateUtils=i,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){return JSON.parse(localStorage.getItem("mifosXDateFormat"))}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),JSON.parse(localStorage.getItem("mifosXLanguage"))}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return JSON.parse(localStorage.getItem("mifosXServers"))}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers()[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return JSON.parse(localStorage.getItem("mifosXTenantIdentifiers"))}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(i=>{if(i.name===t.businessDateConfigName)return i.enabled})}getBusinessDates(e,i){e.some(r=>{if(r.type===i){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:i+" Set",message:this.dateUtils.formatDate(a,this.dateFormat())});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",e)}get themeDarkEnabled(){return JSON.parse(localStorage.getItem("mifosXThemeDarkEnabled"))}static{this.\u0275fac=function(i){return new(i||t)(k(gs),k(Bn))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Iu=H4(ku());var Fr=(()=>{class t{constructor(e){this.settingsService=e}transform(e,i){let r=this.settingsService.dateFormat.replace("dd","DD");if(typeof e>"u")return"";let a;return Iu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Iu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Iu.default)(e),i==null?a.format(r):a.format(i)}static{this.\u0275fac=function(i){return new(i||t)(m(zt,16))}}static{this.\u0275pipe=gt({name:"dateFormat",type:t,pure:!0})}}return t})();var J8=H4(ku());var Fa=(()=>{class t{constructor(e){this.settingsService=e}transform(e,i){let r=this.settingsService.dateFormat.replace("dd","DD");if(typeof e>"u")return"";let a;return e instanceof Array?a=(0,J8.default)(e.join("-"),"YYYY-MM-DD HH:mm:ss"):a=(0,J8.default)(e),i==null?a.format(r+" HH:mm:ss"):a.format(i)}static{this.\u0275fac=function(i){return new(i||t)(m(zt,16))}}static{this.\u0275pipe=gt({name:"datetimeFormat",type:t,pure:!0})}}return t})();var Ou=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"externalIdentifier",type:t,pure:!0})}}return t})();var oM=(()=>{class t{transform(e,i,r,a){let o;return i&&(o=i.find(s=>s[r]===e)),o?o[a]:""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"find",type:t,pure:!0})}}return t})();var _s=(()=>{class t{constructor(e,i){this.decimalFormat=e,this.settingsService=i}transform(e,i){if(!e)return i||"";let r=this.settingsService.decimals,a=`1.${r}-${r}`;return this.decimalFormat.transform(e,a)}static{this.\u0275fac=function(i){return new(i||t)(m(fu,16),m(zt,16))}}static{this.\u0275pipe=gt({name:"formatNumber",type:t,pure:!0})}}return t})();var lM=H4(cM());var Tu=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return lM.json(e)}catch{return e}return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"prettyPrint",type:t,pure:!0})}}return t})();var dM=(()=>{class t{transform(e){return{true:"status-active",false:"status-deleted",Active:"status-active",Block:"status-block","charges.StatusType.active.true":"status-active","loanStatusType.submitted.and.pending.approval":"status-pending","loanStatusType.approved":"status-approved","loanStatusType.active":"status-active","loanStatusType.overpaid":"status-overpaid","loanStatusType.chargeoff":"status-chargeoff","loanStatusType.activeOverdue":"status-active-overdue","loanSubStatusType.contractTermination":"subStatus-contract-termination","savingsAccountStatusType.submitted.and.pending.approval":"status-pending","savingsAccountStatusType.approved":"status-approved","savingsAccountStatusType.active":"status-active","savingsAccountStatusType.activeInactive":"status-active-overdue","savingsAccountStatusType.activeDormant":"status-active-overdue","savingsAccountStatusType.matured":"status-matured","shareAccountStatusType.submitted.and.pending.approval":"status-pending","shareAccountStatusType.approved":"status-approved","shareAccountStatusType.active":"status-active","shareAccountStatusType.rejected":"status-rejected","loanProduct.active":"status-active","loanProduct.inActive":"status-inactive","clientStatusType.pending":"status-pending","clientStatusType.closed":"status-closed","clientStatusType.rejected":"status-rejected","clientStatusType.withdraw":"status-withdraw","clientStatusType.active":"status-active","clientStatusType.submitted.and.pending.approval":"status-pending","clientStatusTYpe.approved":"status-approved","clientStatusType.transfer.in.progress":"status-transfer-progress","clientStatusType.transfer.on.hold":"status-transfer-hold","groupingStatusType.active":"status-active","groupingStatusType.pending":"status-pending","groupingStatusType.submitted.and.pending.approval":"status-pending","groupingStatusType.approved":"status-approved","smsCampaignStatus.active":"status-active","smsCampaignStatus.pending":"status-pending","smsCampaignStatus.closed":"status-closed","purchasedSharesStatusType.applied":"status-pending"}[e]??"status-unknown"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"statusLookup",type:t,pure:!0})}}return t})();var J1=(()=>{class t{constructor(e){this.translateService=e}transform(e,i,r="labels"){let a=`${r}.${i}.${e}`;return this.translateService.instant(a)}static{this.\u0275fac=function(i){return new(i||t)(m(ca,16))}}static{this.\u0275pipe=gt({name:"translateKey",type:t,pure:!0})}}return t})();var Vu=(()=>{class t{transform(e,i){if(e.length<=40)return e;let r=e.substring(0,30);return i&&(r=e.substring(0,i)),r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"truncateText",type:t,pure:!0})}}return t})();var hM=(()=>{class t{transform(e){e=decodeURIComponent(e);let i=e.slice(1).split("/");if(e.includes("?")){let a=i.pop(),o=a.slice(0,a.indexOf("?"));i.push(o)}return i.map(a=>a.split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" ")).join(" | ")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=gt({name:"urlToString",type:t,pure:!0})}}return t})();var mM=(()=>{class t{constructor(e){this.translateService=e}transform(e,...i){if(e==null)return null;let r=e?"Yes":"No";return this.translateService.instant("labels.buttons."+r)}static{this.\u0275fac=function(i){return new(i||t)(m(ca,16))}}static{this.\u0275pipe=gt({name:"yesNo",type:t,pure:!0})}}return t})();var pM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[dM,nM,rM,aM,oM,hM,Fr,Fa,Ou,_s,mM,Tu,J1,Vu],imports:[Tt]})}}return t})();var ko={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Au="Authorization",yG="Fineract-Platform-TenantId",fM="Fineract-Platform-TFA-Token",gM=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,i){return this.settingsService.tenantIdentifier&&(ko.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:ko.headers}),i.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?ko.headers[Au]=`Bearer ${e}`:ko.headers[Au]=`Basic ${e}`}setTwoFactorAccessToken(e){ko.headers[fM]=e}removeAuthorization(){delete ko.headers[Au]}removeAuthorizationTenant(){delete ko.headers[Au],delete ko.headers[yG]}removeTwoFactorAuthorization(){delete ko.headers[fM]}static{this.\u0275fac=function(i){return new(i||t)(k(zt))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();var zu=(()=>{class t{changePassword(e,i){return this.http.put(`/users/${e}`,i)}constructor(e,i,r){this.http=e,this.alertService=i,this.authenticationInterceptor=r,this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token)}}login(e){if(this.alertService.alert({type:"Authentication Start",message:"Please wait..."}),this.rememberMe=e.remember,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let i=new X;i=i.set("username",e.username),i=i.set("password",e.password),i=i.set("client_id",`${mt.oauth.appId}`),i=i.set("grant_type","password");let r=new dr;return r=r.set("Content-Type","application/x-www-form-urlencoded"),this.http.disableApiPrefix().post(`${mt.oauth.serverUrl}/token`,i.toString(),{headers:r}).pipe(me(a=>(this.getUserDetails(a),ce(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password}).pipe(me(i=>(this.onLoginSuccess(i),ce(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let i=new dr;i=i.set("Authorization","bearer "+e.access_token),this.http.disableApiPrefix().get(`${mt.serverUrl}/userdetails`,{headers:i}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let i=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new X;r=r.set("username",i.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new dr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.disableApiPrefix().post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,i=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new X;r=r.set("username",i.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new dr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.disableApiPrefix().post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,ce(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(me(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let i={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(i).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(i){return new(i||t)(k(Ti),k(gs),k(gM))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();var Fl=(()=>{class t{constructor(e,i,r){this.templateRef=e,this.viewContainer=i,this.authenticationService=r;let a=this.authenticationService.getCredentials();this.userPermissions=a.permissions}set mifosxHasPermission(e){if(typeof e!="string")throw new Error("hasPermission value must be a string");this.viewContainer.clear(),this.hasPermission(e)&&this.viewContainer.createEmbeddedView(this.templateRef)}hasPermission(e){return e=e.trim(),this.userPermissions.includes("ALL_FUNCTIONS")?!0:e!==""?e.substring(0,5)==="READ_"&&this.userPermissions.includes("ALL_FUNCTIONS_READ")?!0:!!this.userPermissions.includes(e):!1}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Xe),m(zu))}}static{this.\u0275dir=T({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var DM=(()=>{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)}static{this.\u0275fac=function(i){return new(i||t)(m(tr),m($))}}static{this.\u0275dir=T({type:t})}}return t})(),SM=(()=>{class t extends DM{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,features:[de]})}}return t})(),Yi=new L("");var xG={provide:Yi,useExisting:ct(()=>en),multi:!0};function MG(){let t=Ra()?Ra().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var wG=new L(""),en=(()=>{class t extends DM{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!MG())}writeValue(e){let i=e??"";this.setProperty("value",i)}_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)}static{this.\u0275fac=function(i){return new(i||t)(m(tr),m($),m(wG,8))}}static{this.\u0275dir=T({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(i,r){i&1&&H("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[he([xG]),de]})}}return t})();function bs(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function kM(t){return t!=null&&typeof t.length=="number"}var un=new L(""),fc=new L(""),DG=/^(?=.{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])?)*$/,_i=class{static min(n){return IM(n)}static max(n){return EM(n)}static required(n){return OM(n)}static requiredTrue(n){return SG(n)}static email(n){return kG(n)}static minLength(n){return IG(n)}static maxLength(n){return PM(n)}static pattern(n){return EG(n)}static nullValidator(n){return Hu(n)}static compose(n){return HM(n)}static composeAsync(n){return RM(n)}};function IM(t){return n=>{if(bs(n.value)||bs(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(bs(n.value)||bs(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function OM(t){return bs(t.value)?{required:!0}:null}function SG(t){return t.value===!0?null:{required:!0}}function kG(t){return bs(t.value)||DG.test(t.value)?null:{email:!0}}function IG(t){return n=>bs(n.value)||!kM(n.value)?null:n.value.lengthkM(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function EG(t){if(!t)return Hu;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(bs(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Hu(t){return null}function TM(t){return t!=null}function VM(t){return us(t)?Yt(t):t}function AM(t){let n={};return t.forEach(e=>{n=e!=null?Y(Y({},n),e):n}),Object.keys(n).length===0?null:n}function zM(t,n){return n.map(e=>e(t))}function OG(t){return!t.validate}function LM(t){return t.map(n=>OG(n)?n:e=>n.validate(e))}function HM(t){if(!t)return null;let n=t.filter(TM);return n.length==0?null:function(e){return AM(zM(e,n))}}function s5(t){return t!=null?HM(LM(t)):null}function RM(t){if(!t)return null;let n=t.filter(TM);return n.length==0?null:function(e){let i=zM(e,n).map(VM);return lo(i).pipe(me(AM))}}function c5(t){return t!=null?RM(LM(t)):null}function vM(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function NM(t){return t._rawValidators}function FM(t){return t._rawAsyncValidators}function i5(t){return t?Array.isArray(t)?t:[t]:[]}function Ru(t,n){return Array.isArray(t)?t.includes(n):t===n}function bM(t,n){let e=i5(n);return i5(t).forEach(r=>{Ru(e,r)||e.push(r)}),e}function yM(t,n){return i5(n).filter(e=>!Ru(t,e))}var Nu=class{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=s5(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=c5(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=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},dn=class extends Nu{get formDirective(){return null}get path(){return null}},Fi=class extends Nu{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Fu=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},PG={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Gpe=Ge(Y({},PG),{"[class.ng-submitted]":"isSubmitted"}),vi=(()=>{class t extends Fu{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(m(Fi,2))}}static{this.\u0275dir=T({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&re("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[de]})}}return t})(),jr=(()=>{class t extends Fu{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(m(dn,10))}}static{this.\u0275dir=T({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&re("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[de]})}}return t})();var ed="VALID",Lu="INVALID",jl="PENDING",td="DISABLED",ys=class{},ju=class extends ys{constructor(n,e){super(),this.value=n,this.source=e}},nd=class extends ys{constructor(n,e){super(),this.pristine=n,this.source=e}},rd=class extends ys{constructor(n,e){super(),this.touched=n,this.source=e}},Bl=class extends ys{constructor(n,e){super(),this.status=n,this.source=e}},n5=class extends ys{constructor(n){super(),this.source=n}},r5=class extends ys{constructor(n){super(),this.source=n}};function l5(t){return(Gu(t)?t.validators:t)||null}function TG(t){return Array.isArray(t)?s5(t):t||null}function d5(t,n){return(Gu(n)?n.asyncValidators:t)||null}function VG(t){return Array.isArray(t)?c5(t):t||null}function Gu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function jM(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new ke(1e3,"");if(!i[e])throw new ke(1001,"")}function BM(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new ke(1002,"")})}var Ul=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Co(()=>this.statusReactive()),this.statusReactive=ir(void 0),this._pristine=Co(()=>this.pristineReactive()),this.pristineReactive=ir(!0),this._touched=Co(()=>this.touchedReactive()),this.touchedReactive=ir(!1),this._events=new U,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return lr(this.statusReactive)}set status(n){lr(()=>this.statusReactive.set(n))}get valid(){return this.status===ed}get invalid(){return this.status===Lu}get pending(){return this.status==jl}get disabled(){return this.status===td}get enabled(){return this.status!==td}get pristine(){return lr(this.pristineReactive)}set pristine(n){lr(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return lr(this.touchedReactive)}set touched(n){lr(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(bM(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bM(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(yM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(yM(n,this._rawAsyncValidators))}hasValidator(n){return Ru(this._rawValidators,n)}hasAsyncValidator(n){return Ru(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Ge(Y({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new rd(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new rd(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Ge(Y({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new nd(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new nd(!0,i))}markAsPending(n={}){this.status=jl;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Bl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Ge(Y({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=td,this.errors=null,this._forEachChild(r=>{r.disable(Ge(Y({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ju(this.value,i)),this._events.next(new Bl(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ge(Y({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ed,this._forEachChild(i=>{i.enable(Ge(Y({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Ge(Y({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ed||this.status===jl)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ju(this.value,e)),this._events.next(new Bl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Ge(Y({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?td:ed}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=jl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=VM(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let 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,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Bl(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new B,this.statusChanges=new B}_calculateStatus(){return this._allControlsDisabled()?td:this.errors?Lu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(jl)?jl:this._anyControlsHaveStatus(Lu)?Lu:ed}_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,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new nd(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new rd(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Gu(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=TG(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=VG(this._rawAsyncValidators)}},pc=class extends Ul{constructor(n,e,i){super(l5(e),d5(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={}){BM(this,!0,n),Object.keys(n).forEach(i=>{jM(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let 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(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,a)=>{i=e(i,r,a)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var UM=pc;var a5=class extends pc{};var $l=new L("CallSetDisabledState",{providedIn:"root",factory:()=>Wu}),Wu="always";function qu(t,n){return[...n.path,t]}function ad(t,n,e=Wu){u5(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),zG(t,n),HG(t,n),LG(t,n),AG(t,n)}function Bu(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),$u(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Uu(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function AG(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function u5(t,n){let e=NM(t);n.validator!==null?t.setValidators(vM(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=FM(t);n.asyncValidator!==null?t.setAsyncValidators(vM(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Uu(n._rawValidators,r),Uu(n._rawAsyncValidators,r)}function $u(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=NM(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==n.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(n.asyncValidator!==null){let r=FM(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==n.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let i=()=>{};return Uu(n._rawValidators,i),Uu(n._rawAsyncValidators,i),e}function zG(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&$M(t,n)})}function LG(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&$M(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function $M(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function HG(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function GM(t,n){t==null,u5(t,n)}function RG(t,n){return $u(t,n)}function h5(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function NG(t){return Object.getPrototypeOf(t.constructor)===SM}function WM(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function m5(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(a=>{a.constructor===en?e=a:NG(a)?i=a:r=a}),r||i||e||null}function FG(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var jG={provide:dn,useExisting:ct(()=>od)},id=Promise.resolve(),od=(()=>{class t extends dn{get submitted(){return lr(this.submittedReactive)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Co(()=>this.submittedReactive()),this.submittedReactive=ir(!1),this._directives=new Set,this.ngSubmit=new B,this.form=new pc({},s5(e),c5(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){id.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ad(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){id.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){id.then(()=>{let i=this._findContainer(e.path),r=new pc({});GM(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){id.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){id.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),WM(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(i){return new(i||t)(m(un,10),m(fc,10),m($l,8))}}static{this.\u0275dir=T({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&H("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([jG]),de]})}}return t})();function CM(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function xM(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var vs=class extends Ul{constructor(n=null,e,i){super(l5(e),d5(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}),Gu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(xM(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),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){CM(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){CM(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){xM(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}},kn=vs,BG=t=>t instanceof vs,UG=(()=>{class t extends dn{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return qu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,features:[de]})}}return t})();var $G={provide:Fi,useExisting:ct(()=>GG)},MM=Promise.resolve(),GG=(()=>{class t extends Fi{constructor(e,i,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new vs,this._registered=!1,this.name="",this.update=new B,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=m5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),h5(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ad(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){MM.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&q(i);MM.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?qu(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(m(dn,9),m(un,10),m(fc,10),m(Yi,10),m(pe,8),m($l,8))}}static{this.\u0275dir=T({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[he([$G]),de,Te]})}}return t})(),Cs=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return t})(),WG={provide:Yi,useExisting:ct(()=>qG),multi:!0},qG=(()=>{class t extends SM{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&H("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[he([WG]),de]})}}return t})();var p5=new L(""),YG={provide:Fi,useExisting:ct(()=>hn)},hn=(()=>{class t extends Fi{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this.update=new B,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=m5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Bu(i,this,!1),ad(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}h5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Bu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(i){return new(i||t)(m(un,10),m(fc,10),m(Yi,10),m(p5,8),m($l,8))}}static{this.\u0275dir=T({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[he([YG]),de,Te]})}}return t})(),QG={provide:dn,useExisting:ct(()=>tn)},tn=(()=>{class t extends dn{get submitted(){return lr(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Co(()=>this._submittedReactive()),this._submittedReactive=ir(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new B,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&&($u(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){let i=this.form.get(e.path);return ad(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Bu(e.control||null,e,!1),FG(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._submittedReactive.set(!0),WM(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new n5(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new r5(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(Bu(i||null,e),BG(r)&&(ad(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);GM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&RG(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){u5(this.form,this),this._oldForm&&$u(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(i){return new(i||t)(m(un,10),m(fc,10),m($l,8))}}static{this.\u0275dir=T({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&H("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([QG]),de,Te]})}}return t})(),KG={provide:dn,useExisting:ct(()=>qM)},qM=(()=>{class t extends UG{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){QM(this._parent)}static{this.\u0275fac=function(i){return new(i||t)(m(dn,13),m(un,10),m(fc,10))}}static{this.\u0275dir=T({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[he([KG]),de]})}}return t})(),ZG={provide:dn,useExisting:ct(()=>YM)},YM=(()=>{class t extends dn{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return qu(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){QM(this._parent)}static{this.\u0275fac=function(i){return new(i||t)(m(dn,13),m(un,10),m(fc,10))}}static{this.\u0275dir=T({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[he([ZG]),de]})}}return t})();function QM(t){return!(t instanceof qM)&&!(t instanceof tn)&&!(t instanceof YM)}var XG={provide:Fi,useExisting:ct(()=>la)},la=(()=>{class t extends Fi{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,a,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.name=null,this.update=new B,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=m5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),h5(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 qu(this.name==null?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._added=!0}static{this.\u0275fac=function(i){return new(i||t)(m(dn,13),m(un,10),m(fc,10),m(Yi,10),m(p5,8))}}static{this.\u0275dir=T({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[he([XG]),de,Te]})}}return t})();function JG(t){return typeof t=="number"?t:parseInt(t,10)}function KM(t){return typeof t=="number"?t:parseFloat(t)}var Yu=(()=>{class t{constructor(){this._validator=Hu}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Hu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,features:[Te]})}}return t})(),eW={provide:un,useExisting:ct(()=>tW),multi:!0},tW=(()=>{class t extends Yu{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>KM(e),this.createValidator=e=>EM(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&ie("max",r._enabled?r.max:null)},inputs:{max:"max"},features:[he([eW]),de]})}}return t})(),iW={provide:un,useExisting:ct(()=>nW),multi:!0},nW=(()=>{class t extends Yu{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>KM(e),this.createValidator=e=>IM(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&ie("min",r._enabled?r.min:null)},inputs:{min:"min"},features:[he([iW]),de]})}}return t})(),rW={provide:un,useExisting:ct(()=>da),multi:!0};var da=(()=>{class t extends Yu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=q,this.createValidator=e=>OM}enabled(e){return e}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&ie("required",r._enabled?"":null)},inputs:{required:"required"},features:[he([rW]),de]})}}return t})();var aW={provide:un,useExisting:ct(()=>oW),multi:!0},oW=(()=>{class t extends Yu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>JG(e),this.createValidator=e=>PM(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&ie("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},features:[he([aW]),de]})}}return t})();var ZM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})(),o5=class extends Ul{constructor(n,e,i){super(l5(e),d5(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(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={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){BM(this,!1,n),n.forEach((i,r)=>{jM(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(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),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>i._syncPendingControls()?!0: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(let 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)}_find(n){return this.at(n)??null}};function wM(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var sW=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let r=this._reduceControls(e),a={};return wM(i)?a=i:i!==null&&(a.validators=i.validator,a.asyncValidators=i.asyncValidator),new pc(r,a)}record(e,i=null){let r=this._reduceControls(e);return new a5(r,i)}control(e,i,r){let a={};return this.useNonNullable?(wM(i)?a=i:(a.validators=i,a.asyncValidators=r),new vs(e,Ge(Y({},a),{nonNullable:!0}))):new vs(e,i,r)}array(e,i,r){let a=e.map(o=>this._createControl(o));return new o5(a,i,r)}_reduceControls(e){let i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){if(e instanceof vs)return e;if(e instanceof Ul)return e;if(Array.isArray(e)){let i=e[0],r=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(i,r,a)}else return this.control(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xs=(()=>{class t extends sW{group(e,i=null){return super.group(e,i)}control(e,i,r){return super.control(e,i,r)}array(e,i,r){return super.array(e,i,r)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var XM=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:$l,useValue:e.callSetDisabledState??Wu}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[ZM]})}}return t})(),sd=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:p5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:$l,useValue:e.callSetDisabledState??Wu}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[ZM]})}}return t})();var JM=(()=>{class t{set _(e){let i=e.split(":");this.currencyCode=i[0],this.displaySymbol=i.length>1?i[1]:"$",this.digitsInfo=i.length>2?i[2]:"1.2-2"}blur(e){e.value=this.parse(e.value)}focus(e){typeof this.control.value>"u"?e.value="":e.value=this.control.value}ngOnInit(){setTimeout(()=>{this.el.nativeElement.value=this.parse(this.el.nativeElement.value)})}constructor(e,i,r){this.locale=e,this.el=i,this.control=r,this.format="N0",this.digitsInfo="1.0-0",this.sufix=""}parse(e){return D8(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(i){return new(i||t)(m(La),m($),m(Fi))}}static{this.\u0275dir=T({type:t,selectors:[["","mifosxFormatAmount",""]],hostBindings:function(i,r){i&1&&H("blur",function(o){return r.blur(o.target)})("focus",function(o){return r.focus(o.target)})},inputs:{sufix:"sufix",_:[0,"mifosxFormatAmount","_"]}})}}return t})();var Kpe=(()=>{class t{constructor(e,i){this.control=e,this.el=i}onFocus(){this.control.control?.markAsTouched(),this.control.control?.updateValueAndValidity()}static{this.\u0275fac=function(i){return new(i||t)(m(Fi),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","mifosxValidateOnFocus",""]],hostBindings:function(i,r){i&1&&H("focus",function(){return r.onFocus()})}})}}return t})();var ew=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Tt]})}}return t})();var Br=class{constructor(n={}){this.controlType=n.controlType||"",this.controlName=n.controlName||"",this.label=n.label||"",this.value=n.value===void 0?"":n.value,this.required=!!n.required,this.order=n.order===void 0?1:n.order}};var g5;try{g5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g5=!1}var ze=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?k8(this._platformId):typeof document=="object"&&!!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||g5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(k(zr))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Gl,tw=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function _5(){if(Gl)return Gl;if(typeof document!="object"||!document)return Gl=new Set(tw),Gl;let t=document.createElement("input");return Gl=new Set(tw.filter(n=>(t.setAttribute("type",n),t.type===n))),Gl}var cd;function lW(){if(cd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cd=!0}))}finally{cd=cd||!1}return cd}function Ci(t){return lW()?t:!!t.capture}var ua=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(ua||{}),Qu,gc;function Ku(){if(gc==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return gc=!1,gc;if("scrollBehavior"in document.documentElement.style)gc=!0;else{let t=Element.prototype.scrollTo;t?gc=!/\{\s*\[native code\]\s*\}/.test(t.toString()):gc=!1}}return gc}function Wl(){if(typeof document!="object"||!document)return ua.NORMAL;if(Qu==null){let 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";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Qu=ua.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Qu=t.scrollLeft===0?ua.NEGATED:ua.INVERTED),t.remove()}return Qu}var f5;function dW(){if(f5==null){let t=typeof document<"u"?document.head:null;f5=!!(t&&(t.createShadowRoot||t.attachShadow))}return f5}function ql(t){if(dW()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function ja(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function ji(t){return t.composedPath?t.composedPath()[0]:t.target}function ld(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function xt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function _c(t){return Li(t)?t:ce(t)}function ri(t){return t!=null&&`${t}`!="false"}function di(t,n=0){return v5(t)?Number(t):arguments.length===2?n:0}function v5(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ms(t){return Array.isArray(t)?t:[t]}function Vi(t){return t==null?"":typeof t=="string"?t:`${t}px`}function wi(t){return t instanceof $?t.nativeElement:t}function iw(t,n=/\s+/){let e=[];if(t!=null){let i=Array.isArray(t)?t:`${t}`.split(n);for(let r of i){let a=`${r}`.trim();a&&e.push(a)}}return e}function uW(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),hW=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=z(oe)}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=wi(e);return new je(r=>{let o=this._observeElement(i).pipe(me(s=>s.filter(l=>!uW(l))),Ve(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new U,r=this._mutationObserverFactory.create(a=>i.next(a));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)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(i){return new(i||t)(k(nw))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),dd=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=di(e),this._subscribe()}constructor(e,i){this._contentObserver=e,this._elementRef=i,this.event=new B,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(ia(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(m(hW),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ye]})}}return t})(),Yl=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[nw]})}}return t})();var ow=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})(),rw=new Set,vc,mW=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fW}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&pW(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(k(ze),k(O1,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function pW(t,n){if(!rw.has(t))try{vc||(vc=document.createElement("style"),n&&vc.setAttribute("nonce",n),vc.setAttribute("type","text/css"),document.head.appendChild(vc)),vc.sheet&&(vc.sheet.insertRule(`@media ${t} {body{ }}`,0),rw.add(t))}catch(e){console.error(e)}}function fW(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Ql=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new U}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return aw(Ms(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=aw(Ms(e)).map(o=>this._registerQuery(o).observable),a=on(r);return a=xn(a.pipe(Ue(1)),a.pipe(Ks(1),ia(0))),a.pipe(me(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:h})=>{s.matches=s.matches||l,s.breakpoints[h]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new je(o=>{let s=l=>this._zone.run(()=>o.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Qe(i),me(({matches:o})=>({query:e,matches:o})),_e(this._destroySubject)),mql:i};return this._queries.set(e,a),a}static{this.\u0275fac=function(i){return new(i||t)(k(mW),k(oe))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function aw(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var Zu={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var uw=" ";function e2(t,n,e){let i=th(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(uw)))}function ws(t,n,e){let i=th(t,n);e=e.trim();let r=i.filter(a=>a!==e);r.length?t.setAttribute(n,r.join(uw)):t.removeAttribute(n)}function th(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var hw="cdk-describedby-message",Xu="cdk-describedby-host",C5=0,t2=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${C5++}`,this._document=e,this._id=z(Sl)+"-"+C5++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let a=b5(i,r);typeof i!="string"?(sw(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let a=b5(i,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Xu}="${this._id}"]`);for(let i=0;ir.indexOf(hw)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);e2(e,"aria-describedby",r.messageElement.id),e.setAttribute(Xu,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,ws(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Xu)}_isElementDescribedByMessage(e,i){let r=th(e,"aria-describedby"),a=this._messageRegistry.get(i),o=a&&a.messageElement.id;return!!o&&r.indexOf(o)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(ze))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function b5(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function sw(t,n){t.id||(t.id=`${hw}-${n}-${C5++}`)}var DW=200,ih=class{constructor(n,e){this._letterKeyStream=new U,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new U,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:DW;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(yt(e=>this._pressedLetters.push(e)),ia(n),Ve(()=>this._pressedLetters.length>0),me(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;ii.disabled,this.tabOut=new U,this.change=new U,n instanceof Pi?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):H0(n)&&(this._effectRef=c8(()=>this._itemsChanged(n()),{injector:e}))}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){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new ih(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!n[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}},Zl=class extends nh{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},Ba=class extends nh{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)}},x5=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let i=0;i!1,this._trackByFn=i=>i,this._items=[],this._typeaheadSubscription=xe.EMPTY,this._hasInitialFocused=!1,this.change=new U,n instanceof Pi?(this._items=n.toArray(),n.changes.subscribe(i=>{this._items=i.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):Li(n)?n.subscribe(i=>{this._items=i,this._typeahead?.setItems(i),this._updateActiveItemIndex(i),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let i=typeof n=="number"?n:this._items.findIndex(o=>this._trackByFn(o)===this._trackByFn(n));if(i<0||i>=this._items.length)return;let r=this._items[i];if(this._activeItem!==null&&this._trackByFn(r)===this._trackByFn(this._activeItem))return;let a=this._activeItem;this._activeItem=r??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),a?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let i=n.findIndex(r=>this._trackByFn(r)===this._trackByFn(e));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(n){this._typeahead=new ih(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?_c(this._activeItem.getChildren()).pipe(Ue(1)).subscribe(n=>{let e=n.find(i=>!this._skipPredicateFn(i));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=_c(n.getChildren()):e=ce(this._items.filter(i=>i.getParent()===null)),e.pipe(Ue(1)).subscribe(i=>{for(let r of i)r.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function SW(){return(t,n)=>new x5(t,n)}var mw=new L("tree-key-manager",{providedIn:"root",factory:SW});var Io=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return IW(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=kW(LW(e));if(i&&(cw(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),a=cw(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!AW(e)?!1:r==="audio"?e.hasAttribute("controls")?a!==-1:!1:r==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return zW(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||t)(k(ze))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function kW(t){try{return t.frameElement}catch{return null}}function IW(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function EW(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function OW(t){return TW(t)&&t.type=="hidden"}function PW(t){return VW(t)&&t.hasAttribute("href")}function TW(t){return t.nodeName.toLowerCase()=="input"}function VW(t){return t.nodeName.toLowerCase()=="a"}function pw(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function cw(t){if(!pw(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function AW(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function zW(t){return OW(t)?!1:EW(t)||PW(t)||t.hasAttribute("contenteditable")||pw(t)}function LW(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var M5=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,r,a=!1,o){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}destroy(){let 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?!0:(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){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let 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;let e=n.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let 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._injector?Ft(n,{injector:this._injector}):setTimeout(n)}},yc=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=z(Le),this._document=r}create(e,i=!1){return new M5(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||t)(k(Io),k(oe),k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fw=(()=>{class t{get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}constructor(e,i,r){this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,z(ze).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=ja(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(yc),m(Ce))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",q],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",q]},exportAs:["cdkTrapFocus"],standalone:!0,features:[ye,Te]})}}return t})();function Cc(t){return t.buttons===0||t.detail===0}function xc(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var HW=new L("cdk-input-modality-detector-options"),RW={ignoreKeys:[18,17,224,91,16]},gw=650,Kl=Ci({passive:!0,capture:!0}),NW=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,a){this._platform=e,this._mostRecentTarget=null,this._modality=new at(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(s=>s===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ji(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs{if(xc(o)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ji(o)},this._options=Y(Y({},RW),a),this.modalityDetected=this._modality.pipe(Ks(1)),this.modalityChanged=this.modalityDetected.pipe(es()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Kl),r.addEventListener("mousedown",this._onMousedown,Kl),r.addEventListener("touchstart",this._onTouchstart,Kl)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Kl),document.removeEventListener("mousedown",this._onMousedown,Kl),document.removeEventListener("touchstart",this._onTouchstart,Kl))}static{this.\u0275fac=function(i){return new(i||t)(k(ze),k(oe),k(Ce),k(HW,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),FW=new L("liveAnnouncerElement",{providedIn:"root",factory:jW});function jW(){return null}var BW=new L("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),UW=0,rh=(()=>{class t{constructor(e,i,r,a){this._ngZone=i,this._defaultOptions=a,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,a,o;return i.length===1&&typeof i[0]=="number"?o=i[0]:[a,o]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),o==null&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{constructor(e,i,r,a,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 U,this._rootNodeFocusAndBlurListener=s=>{let l=ji(s);for(let h=l;h;h=h.parentElement)s.type==="focus"?this._onFocus(s,h):this._onBlur(s,h)},this._document=a,this._detectionMode=o?.detectionMode||eh.IMMEDIATE}monitor(e,i=!1){let r=wi(e);if(!this._platform.isBrowser||r.nodeType!==1)return ce();let a=ql(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;let s={checkChildren:i,subject:new U,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=wi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let a=wi(e),o=this._getDocument().activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof a.focus=="function"&&a.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:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===eh.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===eh.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?gw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),a=ji(e);!r||!r.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ju),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ju)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(_e(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ju),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ju),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,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&i.push([a,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new B}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Qt))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return t})(),bc=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(bc||{}),lw="cdk-high-contrast-black-on-white",dw="cdk-high-contrast-white-on-black",y5="cdk-high-contrast-active",S5=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=z(Ql).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return bc.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return bc.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return bc.BLACK_ON_WHITE}return bc.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(y5,lw,dw),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===bc.BLACK_ON_WHITE?e.add(y5,lw):i===bc.WHITE_ON_BLACK&&e.add(y5,dw)}}static{this.\u0275fac=function(i){return new(i||t)(k(ze),k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ds=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||t)(k(S5))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Yl]})}}return t})();var GW=new L("cdk-dir-doc",{providedIn:"root",factory:WW});function WW(){return z(Ce)}var qW=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function YW(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?qW.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Je=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new B,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=YW(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(k(GW,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ua=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();var QW=["text"],KW=[[["mat-icon"]],"*"],ZW=["mat-icon","*"];function XW(t,n){if(t&1&&R(0,"mat-pseudo-checkbox",1),t&2){let e=M();C("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function JW(t,n){if(t&1&&R(0,"mat-pseudo-checkbox",3),t&2){let e=M();C("disabled",e.disabled)}}function eq(t,n){if(t&1&&(p(0,"span",4),d(1),f()),t&2){let e=M();g(),ne("(",e.group.label,")")}}var tq=["mat-internal-form-field",""],iq=["*"];var Sw=(()=>{class t{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return t})(),kw=(()=>{class t{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return t})();function nq(){return!0}var rq=new L("mat-sanity-checks",{providedIn:"root",factory:nq}),fe=(()=>{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 ld()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(k(S5),k(rq,8),k(Ce))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Ua,Ua]})}}return t})();var Ss=class{constructor(n,e,i,r,a){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=a,this.errorState=!1}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,a=i?.isErrorState(r,e)??!1;a!==n&&(this.errorState=a,this._stateChanges.next())}};var _w=new L("MAT_DATE_LOCALE",{providedIn:"root",factory:aq});function aq(){return z(La)}var fn=class{constructor(){this._localeChanges=new U,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return n==null||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}sameDate(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareDate(n,e):i==r}return n==e}clampDate(n,e,i){return e&&this.compareDate(n,e)<0?e:i&&this.compareDate(n,i)>0?i:n}},ks=new L("mat-date-formats"),oq=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function k5(t,n){let e=Array(t);for(let i=0;i{class t extends fn{constructor(e){super(),this.useUtcForDisplay=!1,this._matDateLocale=z(_w,{optional:!0}),e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return k5(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return k5(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){let i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return k5(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),i=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return i===7?0:i}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let a=this._createDateWithOverflow(e,i,r);return a.getMonth()!=i,a}today(){return new Date}parse(e,i){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Ge(Y({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,i*12)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(oq.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,r){let a=new Date;return a.setFullYear(e,i,r),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,i){let r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}static{this.\u0275fac=function(i){return new(i||t)(k(_w,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),cq={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};var Iw=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[lq()]})}}return t})();function lq(t=cq){return[{provide:fn,useClass:sq},{provide:ks,useValue:t}]}var Gr=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),dq=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"],standalone:!0})}}return t})();var T5=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})(),Cr=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Cr||{}),O5=class{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Cr.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vw=Ci({passive:!0,capture:!0}),P5=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=ji(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(a=>a.handleEvent(n))})}}addHandler(n,e,i,r){let a=this._events.get(e);if(a){let o=a.get(i);o?o.add(r):a.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,vw)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let a=r.get(e);a&&(a.delete(i),a.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,vw)))}},bw={enterDuration:225,exitDuration:150},uq=800,yw=Ci({passive:!0,capture:!0}),Cw=["mousedown","touchstart"],xw=["mouseup","mouseleave","touchend","touchcancel"],md=class t{static{this._eventManager=new P5}constructor(n,e,i,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=wi(i))}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Y(Y({},bw),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let o=i.radius||hq(n,e,r),s=n-r.left,l=e-r.top,h=a.enterDuration,v=document.createElement("div");v.classList.add("mat-ripple-element"),v.style.left=`${s-o}px`,v.style.top=`${l-o}px`,v.style.height=`${o*2}px`,v.style.width=`${o*2}px`,i.color!=null&&(v.style.backgroundColor=i.color),v.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(v);let y=window.getComputedStyle(v),D=y.transitionProperty,S=y.transitionDuration,V=D==="none"||S==="0s"||S==="0s, 0s"||r.width===0&&r.height===0,K=new O5(this,v,i,V);v.style.transform="scale3d(1, 1, 1)",K.state=Cr.FADING_IN,i.persistent||(this._mostRecentTransientRipple=K);let te=null;return!V&&(h||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let ge=()=>{te&&(te.fallbackTimer=null),clearTimeout(He),this._finishRippleTransition(K)},Oe=()=>this._destroyRipple(K),He=setTimeout(Oe,h+100);v.addEventListener("transitionend",ge),v.addEventListener("transitioncancel",Oe),te={onTransitionEnd:ge,onTransitionCancel:Oe,fallbackTimer:He}}),this._activeRipples.set(K,te),(V||!h)&&this._finishRippleTransition(K),K}fadeOutRipple(n){if(n.state===Cr.FADING_OUT||n.state===Cr.HIDDEN)return;let e=n.element,i=Y(Y({},bw),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Cr.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=wi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Cw.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{xw.forEach(e=>{this._triggerElement.addEventListener(e,this,yw)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Cr.FADING_IN?this._startFadeOutTransition(n):n.state===Cr.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Cr.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Cr.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Cc(n),i=this._lastTouchStartEvent&&Date.now(){let e=n.state===Cr.VISIBLE||n.config.terminateOnPointerUp&&n.state===Cr.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Cw.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(xw.forEach(e=>n.removeEventListener(e,this,yw)),this._pointerUpEventsRegistered=!1))}};function hq(t,n,e){let 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)}var Eo=new L("mat-ripple-global-options"),Ai=(()=>{class t{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()}constructor(e,i,r,a,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new md(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Y(Y(Y({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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 typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,Y(Y({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Y(Y({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(ze),m(Eo,8),m(ot,8))}}static{this.\u0275dir=T({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),gn=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})(),V5=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(i){return new(i||t)(m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&re("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[ae],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return t})(),A5=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe]})}}return t})(),fd=new L("MAT_OPTION_PARENT_COMPONENT");var gd=new L("MatOptgroup");var mq=0,pd=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},Bi=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,a){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${mq++}`,this.onSelectionChange=new B,this._stateChanges=new U}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!xt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new pd(this,e))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(fd,8),m(gd,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&ue(QW,7),i&2){let a;G(a=W())&&(r._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&H("click",function(){return r._selectViaInteraction()})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(jt("id",r.id),ie("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),re("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ye,ae],ngContentSelectors:ZW,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Me(KW),w(0,XW,1,2,"mat-pseudo-checkbox",1),se(1),p(2,"span",2,0),se(4,1),f(),w(5,JW,1,1,"mat-pseudo-checkbox",3)(6,eq,2,1,"span",4),R(7,"div",5)),i&2&&(Se(r.multiple?0:-1),g(5),Se(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),g(),Se(r.group&&r.group._inert?6:-1),g(),C("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[V5,Ai],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return t})();function sh(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),a=0;for(let o=0;oe+i?Math.max(0,t-i+n):e}var i2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[gn,fe,A5]})}}return t})(),Mw={capture:!0},ww=["focus","mousedown","mouseenter","touchstart"],I5="mat-ripple-loader-uninitialized",E5="mat-ripple-loader-class-name",Dw="mat-ripple-loader-centered",oh="mat-ripple-loader-disabled",z5=(()=>{class t{constructor(){this._document=z(Ce,{optional:!0}),this._animationMode=z(ot,{optional:!0}),this._globalRippleOptions=z(Eo,{optional:!0}),this._platform=z(ze),this._ngZone=z(oe),this._hosts=new Map,this._onInteraction=e=>{let i=ji(e);if(i instanceof HTMLElement){let r=i.closest(`[${I5}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of ww)this._document?.addEventListener(e,this._onInteraction,Mw)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of ww)this._document?.removeEventListener(i,this._onInteraction,Mw)}configureRipple(e,i){e.setAttribute(I5,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(E5))&&e.setAttribute(E5,i.className||""),i.centered&&e.setAttribute(Dw,""),i.disabled&&e.setAttribute(oh,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let r=this._hosts.get(e);if(r){r.disabled=i;return}i?e.setAttribute(oh,""):e.removeAttribute(oh)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(E5)),e.append(r);let a=new Ai(new $(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(Dw),a.disabled=e.hasAttribute(oh),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(I5),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),n2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&re("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[ae],attrs:tq,ngContentSelectors:iq,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return t})();var fq=["input"],gq=["label"],_q=["*"],vq=new L("mat-checkbox-default-options",{providedIn:"root",factory:Ow});function Ow(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var On=function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t}(On||{}),bq={provide:Yi,useExisting:ct(()=>Is),multi:!0},L5=class{},yq=0,Ew=Ow(),Is=(()=>{class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new L5;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,r,a,o,s){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._animationMode=o,this._options=s,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new B,this.indeterminateChange=new B,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=On.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Ew,this.color=this._options.color||Ew.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++yq}`,this.disabledInteractive=s?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(On.Indeterminate):this._transitionCheckState(this.checked?On.Checked:On.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?On.Checked:On.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case On.Init:if(i===On.Checked)return this._animationClasses.uncheckedToChecked;if(i==On.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case On.Unchecked:return i===On.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case On.Checked:return i===On.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case On.Indeterminate:return i===On.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(oe),Gt("tabindex"),m(ot,8),m(vq,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(ue(fq,5),ue(gq,5),ue(Ai,5)),i&2){let a;G(a=W())&&(r._inputElement=a.first),G(a=W())&&(r._labelElement=a.first),G(a=W())&&(r.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(jt("id",r.id),ie("tabindex",null)("aria-label",null)("aria-labelledby",null),Lt(r.color?"mat-"+r.color:"mat-accent"),re("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:st(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],indeterminate:[2,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[he([bq,{provide:un,useExisting:t,multi:!0}]),ye,Te,ae],ngContentSelectors:_q,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",3),H("click",function(s){return F(a),j(r._preventBubblingFromLabel(s))}),p(1,"div",4,0)(3,"div",5),H("click",function(){return F(a),j(r._onTouchTargetClick())}),f(),p(4,"input",6,1),H("blur",function(){return F(a),j(r._onBlur())})("click",function(){return F(a),j(r._onInputClick())})("change",function(s){return F(a),j(r._onInteractionEvent(s))}),f(),R(6,"div",7),p(7,"div",8),Jt(),p(8,"svg",9),R(9,"path",10),f(),Va(),R(10,"div",11),f(),R(11,"div",12),f(),p(12,"label",13,2),se(14),f()()}if(i&2){let a=Ct(2);C("labelPosition",r.labelPosition),g(4),re("mdc-checkbox--selected",r.checked),C("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),ie("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("name",r.name)("value",r.value),g(7),C("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),g(),C("for",r.inputId)}},dependencies:[Ai,n2],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return t})();var lh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Is,fe,fe]})}}return t})();var Mc=class{};function o2(t){return t&&typeof t.connect=="function"&&!(t instanceof qo)}var r2=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(r2||{}),_d=new L("_ViewRepeater"),a2=class{applyChanges(n,e,i,r,a){n.forEachOperation((o,s,l)=>{let h,v;if(o.previousIndex==null){let y=i(o,s,l);h=e.createEmbeddedView(y.templateRef,y.context,y.index),v=r2.INSERTED}else l==null?(e.remove(s),v=r2.REMOVED):(h=e.get(s),e.move(h,l),v=r2.MOVED);a&&a({context:h?.context,operation:v,record:o})})}detach(){}};var ur=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new U,e&&e.length&&(n?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(a=>this._markSelected(a)),e.filter(a=>!i.has(this._getConcreteValue(a,i))).forEach(a=>this._unmarkSelected(a));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var s2=(()=>{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=[]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Cq=20,ha=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new U,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){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Cq){return this._platform.isBrowser?new je(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(sl(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ce()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ve(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=wi(i),a=e.getElementRef().nativeElement;do if(r==a)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Zi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||t)(k(oe),k(ze),k(Ce,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ma=(()=>{class t{constructor(e,i,r,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=a,this._destroyed=new U,this._elementScrolled=new je(o=>this.ngZone.runOutsideAngular(()=>Zi(this.elementRef.nativeElement,"scroll").pipe(_e(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){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Wl()!=ua.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Wl()==ua.INVERTED?e.left=e.right:Wl()==ua.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Ku()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let o=this.dir&&this.dir.value=="rtl";return e=="start"?e=o?r:i:e=="end"&&(e=o?i:r),o&&Wl()==ua.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&Wl()==ua.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ha),m(oe),m(Je,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return t})(),xq=20,Ui=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new U,this._changeListener=a=>{this._change.next(a)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let 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};let e=this._document,i=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect(),o=-a.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,s=-a.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:o,left:s}}change(e=xq){return e>0?this._change.pipe(sl(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||t)(k(ze),k(oe),k(Ce,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _n=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})(),vd=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Ua,_n,Ua,_n]})}}return t})();var bd=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},hr=class extends bd{constructor(n,e,i,r,a){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=a}},zi=class extends bd{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}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()}},N5=class extends bd{constructor(n){super(),this.element=n instanceof $?n.nativeElement:n}},Es=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof hr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof zi)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof N5)return this._attachedPortal=n,this.attachDomPortal(n)}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)}};var yd=class extends Es{constructor(n,e,i,r,a){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=a}attachComponentPortal(n){let i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Le.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,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var Pw=(()=>{class t extends zi{constructor(e,i){super(e,i)}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Xe))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[de]})}}return t})();var Qi=(()=>{class t extends Es{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new B,this.attachDomPortal=a=>{this._document;let o=a.element;o.parentNode;let s=this._document.createComment("dom-portal");a.setAttachedHost(this),o.parentNode.insertBefore(s,o),this._getRootNode().appendChild(o),this._attachedPortal=a,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(o,s)})},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._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);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);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(i){return new(i||t)(m(_r),m(Xe),m(Ce))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[de]})}}return t})();var $n=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();var Tw=Ku(),F5=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Vi(-this._previousScrollPosition.left),n.style.top=Vi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,a=i.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Tw&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Tw&&(i.scrollBehavior=a,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};var j5=class{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,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(Ve(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let 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}},dh=class{enable(){}disable(){}attach(){}};function B5(t,n){return n.some(e=>{let i=t.bottome.bottom,a=t.righte.right;return i||r||a||o})}function Vw(t,n){return n.some(e=>{let i=t.tope.bottom,a=t.lefte.right;return i||r||a||o})}var U5=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();B5(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}},Mq=(()=>{class t{constructor(e,i,r,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new dh,this.close=o=>new j5(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new F5(this._viewportRuler,this._document),this.reposition=o=>new U5(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=a}static{this.\u0275fac=function(i){return new(i||t)(k(ha),k(Ui),k(oe),k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),mr=class{constructor(n){if(this.scrollStrategy=new dh,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var $5=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var Nw=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wq=(()=>{class t extends Nw{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{let a=this._attachedOverlays;for(let o=a.length-1;o>-1;o--)if(a[o]._keydownEvents.observers.length>0){let s=a[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.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)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(oe,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Dq=(()=>{class t extends Nw{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=ji(a)},this._clickListener=a=>{let o=ji(a),s=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){let v=l[h];if(v._outsidePointerEvents.observers.length<1||!v.hasAttached())continue;if(Aw(v.overlayElement,o)||Aw(v.overlayElement,s))break;let y=v._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>y.next(a)):y.next(a)}}}add(e){if(super.add(e),!this._isAttached){let 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){let 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)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(ze),k(oe,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Aw(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var c2=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||ld()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(D),this._backdropTransitionendHandler=D=>{this._disposeBackdrop(D.target)},this._keydownEvents=new U,this._outsidePointerEvents=new U,this._renders=new U,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=lr(()=>z1(()=>{this._renders.next()},{injector:this._injector}))}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);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ft(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),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),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=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),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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=Y(Y({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Ge(Y({},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(){let n=this._config.direction;return n?typeof n=="string"?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;let n=this._pane.style;n.width=Vi(this._config.width),n.height=Vi(this._config.height),n.minWidth=Vi(this._config.minWidth),n.minHeight=Vi(this._config.minHeight),n.maxWidth=Vi(this._config.maxWidth),n.maxHeight=Vi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?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(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}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){let r=Ms(e||[]).filter(a=>!!a);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(_e(nt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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(){let 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)}},zw="cdk-overlay-connected-position-bounding-box",Sq=/([A-Za-z%]+)$/,Cd=class{get positions(){return this._preferredPositions}constructor(n,e,i,r,a){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new U,this._resizeSubscription=xe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(zw),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}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();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,a=[],o;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),h=this._getOverlayPoint(l,e,s),v=this._getOverlayFit(h,e,i,s);if(v.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(v,h,i)){a.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!o||o.overlayFit.visibleAreal&&(l=v,s=h)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&wc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(zw),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let 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,n.indexOf(this._lastPosition)===-1&&(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;if(i.originX=="center")r=n.left+n.width/2;else{let o=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?o:s}e.left<0&&(r-=e.left);let a;return i.originY=="center"?a=n.top+n.height/2:a=i.originY=="top"?n.top:n.bottom,e.top<0&&(a-=e.top),{x:r,y:a}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let a;return i.overlayY=="center"?a=-e.height/2:a=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+a}}_getOverlayFit(n,e,i,r){let a=Hw(e),{x:o,y:s}=n,l=this._getOffset(r,"x"),h=this._getOffset(r,"y");l&&(o+=l),h&&(s+=h);let v=0-o,y=o+a.width-i.width,D=0-s,S=s+a.height-i.height,V=this._subtractOverflows(a.width,v,y),K=this._subtractOverflows(a.height,D,S),te=V*K;return{visibleArea:te,isCompletelyWithinViewport:a.width*a.height===te,fitsInViewportVertically:K===a.height,fitsInViewportHorizontally:V==a.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,a=i.right-e.x,o=Lw(this._overlayRef.getConfig().minHeight),s=Lw(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||o!=null&&o<=r,h=n.fitsInViewportHorizontally||s!=null&&s<=a;return l&&h}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=Hw(e),a=this._viewportRect,o=Math.max(n.x+r.width-a.width,0),s=Math.max(n.y+r.height-a.height,0),l=Math.max(a.top-i.top-n.y,0),h=Math.max(a.left-i.left-n.x,0),v=0,y=0;return r.width<=a.width?v=h||-o:v=n.xV&&!this._isInitialRender&&!this._growAfterOpen&&(o=n.y-V/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,h=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,v,y,D;if(h)D=i.width-n.x+this._viewportMargin*2,v=n.x-this._viewportMargin;else if(l)y=n.x,v=i.right-n.x;else{let S=Math.min(i.right-n.x+i.left,n.x),V=this._lastBoundingBoxSize.width;v=S*2,y=n.x-S,v>V&&!this._isInitialRender&&!this._growAfterOpen&&(y=n.x-V/2)}return{top:o,left:y,bottom:s,right:D,width:v,height:a}}_setBoundingBoxStyles(n,e){let 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));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Vi(i.height),r.top=Vi(i.top),r.bottom=Vi(i.bottom),r.width=Vi(i.width),r.left=Vi(i.left),r.right=Vi(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",a&&(r.maxHeight=Vi(a)),o&&(r.maxWidth=Vi(o))}this._lastBoundingBoxSize=i,wc(this._boundingBox.style,r)}_resetBoundingBoxStyles(){wc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){wc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){let v=this._viewportRuler.getViewportScrollPosition();wc(i,this._getExactOverlayY(e,n,v)),wc(i,this._getExactOverlayX(e,n,v))}else i.position="static";let s="",l=this._getOffset(e,"x"),h=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),h&&(s+=`translateY(${h}px)`),i.transform=s.trim(),o.maxHeight&&(r?i.maxHeight=Vi(o.maxHeight):a&&(i.maxHeight="")),o.maxWidth&&(r?i.maxWidth=Vi(o.maxWidth):a&&(i.maxWidth="")),wc(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),n.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;r.bottom=`${o-(a.y+this._overlayRect.height)}px`}else r.top=Vi(a.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));let o;if(this._isRtl()?o=n.overlayX==="end"?"left":"right":o=n.overlayX==="end"?"right":"left",o==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(a.x+this._overlayRect.width)}px`}else r.left=Vi(a.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Vw(n,i),isOriginOutsideView:B5(n,i),isOverlayClipped:Vw(e,i),isOverlayOutsideView:B5(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let 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 this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ms(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof $)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let 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 wc(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function Lw(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Sq);return!e||e==="px"?parseFloat(n):null}return t||null}function Hw(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)}}function kq(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var Rw="cdk-global-overlay-wrapper",G5=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let 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(Rw),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="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._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:a,maxWidth:o,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!o||o==="100%"||o==="100vw"),h=(a==="100%"||a==="100vh")&&(!s||s==="100%"||s==="100vh"),v=this._xPosition,y=this._xOffset,D=this._overlayRef.getConfig().direction==="rtl",S="",V="",K="";l?K="flex-start":v==="center"?(K="center",D?V=y:S=y):D?v==="left"||v==="end"?(K="flex-end",S=y):(v==="right"||v==="start")&&(K="flex-start",V=y):v==="left"||v==="start"?(K="flex-start",S=y):(v==="right"||v==="end")&&(K="flex-end",V=y),n.position=this._cssPosition,n.marginLeft=l?"0":S,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":V,e.justifyContent=K,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Rw),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Iq=(()=>{class t{constructor(e,i,r,a){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=a}global(){return new G5}flexibleConnectedTo(e){return new Cd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||t)(k(Ui),k(Ce),k(ze),k(c2))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Eq=0,vt=(()=>{class t{constructor(e,i,r,a,o,s,l,h,v,y,D,S){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=a,this._keyboardDispatcher=o,this._injector=s,this._ngZone=l,this._document=h,this._directionality=v,this._location=y,this._outsideClickDispatcher=D,this._animationsModuleType=S}create(e){let i=this._createHostElement(),r=this._createPaneElement(i),a=this._createPortalOutlet(r),o=new mr(e);return o.direction=o.direction||this._directionality.value,new Po(a,i,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Oi))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Eq++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ji)),new yd(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||t)(k(Mq),k(c2),k(_r),k(Iq),k(wq),k(Le),k(oe),k(Ce),k(Je),k(Nr),k(Dq),k(ot,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Oq=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Fw=new L("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition()}}),xd=(()=>{class t{constructor(e){this.elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return t})(),W5=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,r,a,o){this._overlay=e,this._dir=o,this._backdropSubscription=xe.EMPTY,this._attachSubscription=xe.EMPTY,this._detachSubscription=xe.EMPTY,this._positionSubscription=xe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=z(oe),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new B,this.positionChange=new B,this.attach=new B,this.detach=new B,this.overlayKeydown=new B,this.overlayOutsideClick=new B,this._templatePortal=new zi(i,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Oq);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!xt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),a=ji(i);(!r||r!==a&&!r.contains(a))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new mr({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof xd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof xd?this.origin.elementRef.nativeElement:this.origin instanceof $?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(jp(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(m(vt),m($e),m(Xe),m(Fw),m(Je,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",q],push:[2,"cdkConnectedOverlayPush","push",q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",q]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ye,Te]})}}return t})();function Pq(t){return()=>t.scrollStrategies.reposition()}var Tq={provide:Fw,deps:[vt],useFactory:Pq},Pn=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[vt,Tq],imports:[Ua,$n,vd,vd]})}}return t})();var Vq=["mat-button",""],Bw=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Uw=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Aq=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var zq=["mat-mini-fab",""],Lq='.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Hq=["mat-icon-button",""],Rq=["*"];var Nq=new L("MAT_BUTTON_CONFIG");var Fq=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],q5=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,r,a){this._elementRef=e,this._platform=i,this._ngZone=r,this._animationMode=a,this._focusMonitor=z(Qt),this._rippleLoader=z(z5),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let o=z(Nq,{optional:!0}),s=e.nativeElement,l=s.classList;this.disabledInteractive=o?.disabledInteractive??!1,this.color=o?.color??null,this._rippleLoader?.configureRipple(s,{className:"mat-mdc-button-ripple"});for(let{attribute:h,mdcClasses:v}of Fq)s.hasAttribute(h)&&l.add(...v)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){Il()}}static{this.\u0275dir=T({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",q],disabled:[2,"disabled","disabled",q],ariaDisabled:[2,"aria-disabled","ariaDisabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},features:[ye]})}}return t})();var lt=(()=>{class t extends q5{constructor(e,i,r,a){super(e,i,r,a)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(oe),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Lt(r.color?"mat-"+r.color:""),re("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[de,ae],attrs:Vq,ngContentSelectors:Uw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Me(Bw),R(0,"span",0),se(1),p(2,"span",1),se(3,1),f(),se(4,2),R(5,"span",2)(6,"span",3)),i&2&&re("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return t})();var jq=new L("mat-mdc-fab-default-options",{providedIn:"root",factory:$w});function $w(){return{color:"accent"}}var jw=$w();var L8e=(()=>{class t extends q5{constructor(e,i,r,a,o){super(e,i,r,a),this._options=o,this._isFab=!0,this._options=this._options||jw,this.color=this._options.color||jw.color}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(oe),m(ot,8),m(jq,8))}}static{this.\u0275cmp=A({type:t,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Lt(r.color?"mat-"+r.color:""),re("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[de,ae],attrs:zq,ngContentSelectors:Uw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Me(Bw),R(0,"span",0),se(1),p(2,"span",1),se(3,1),f(),se(4,2),R(5,"span",2)(6,"span",3)),i&2&&re("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Lq],encapsulation:2,changeDetection:0})}}return t})();var bn=(()=>{class t extends q5{constructor(e,i,r,a){super(e,i,r,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(oe),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Lt(r.color?"mat-"+r.color:""),re("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[de,ae],attrs:Hq,ngContentSelectors:Rq,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Me(),R(0,"span",0),se(1),R(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Aq],encapsulation:2,changeDetection:0})}}return t})();var Ga=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,gn,fe]})}}return t})();var pa=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(pa||{}),H8e="*";function kt(t,n){return{type:pa.Trigger,name:t,definitions:n,options:{}}}function et(t,n=null){return{type:pa.Animate,styles:n,timings:t}}function Md(t,n=null){return{type:pa.Group,steps:t,options:n}}function R8e(t,n=null){return{type:pa.Sequence,steps:t,options:n}}function De(t){return{type:pa.Style,styles:t,offset:null}}function tt(t,n,e){return{type:pa.State,name:t,styles:n,options:e}}function Os(t){return{type:pa.Keyframes,steps:t}}function Ze(t,n,e=null){return{type:pa.Transition,expr:t,animation:n,options:e}}function Sc(t=null){return{type:pa.AnimateChild,options:t}}function kc(t,n,e=null){return{type:pa.Query,selector:t,animation:n,options:e}}var Gw=class{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Ww=class{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,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==a&&this._onFinish()}),o.onDestroy(()=>{++i==a&&this._onDestroy()}),o.onStart(()=>{++r==a&&this._onStart()})}),this.totalTime=this.players.reduce((o,s)=>Math.max(o,s.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){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},N8e="!";var Y5=class{constructor(n){this._box=n,this._destroyed=new U,this._resizeSubject=new U,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new je(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Ve(e=>e.some(i=>i.target===n)),Qs({bufferSize:1,refCount:!0}),_e(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},uh=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=z(oe),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Y5(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bq=["notch"],Uq=["matFormFieldNotchedOutline",""],$q=["*"],Gq=["textField"],Wq=["iconPrefixContainer"],qq=["textPrefixContainer"],Yq=["iconSuffixContainer"],Qq=["textSuffixContainer"],Kq=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Zq=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Xq(t,n){t&1&&R(0,"span",21)}function Jq(t,n){if(t&1&&(p(0,"label",20),se(1,1),w(2,Xq,1,0,"span",21),f()),t&2){let e=M(2);C("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ie("for",e._control.disableAutomaticLabeling?null:e._control.id),g(2),Se(!e.hideRequiredMarker&&e._control.required?2:-1)}}function eY(t,n){if(t&1&&w(0,Jq,3,5,"label",20),t&2){let e=M();Se(e._hasFloatingLabel()?0:-1)}}function tY(t,n){t&1&&R(0,"div",7)}function iY(t,n){}function nY(t,n){if(t&1&&w(0,iY,0,0,"ng-template",13),t&2){M(2);let e=Ct(1);C("ngTemplateOutlet",e)}}function rY(t,n){if(t&1&&(p(0,"div",9),w(1,nY,1,1,null,13),f()),t&2){let e=M();C("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),g(),Se(e._forceDisplayInfixLabel()?-1:1)}}function aY(t,n){t&1&&(p(0,"div",10,2),se(2,2),f())}function oY(t,n){t&1&&(p(0,"div",11,3),se(2,3),f())}function sY(t,n){}function cY(t,n){if(t&1&&w(0,sY,0,0,"ng-template",13),t&2){M();let e=Ct(1);C("ngTemplateOutlet",e)}}function lY(t,n){t&1&&(p(0,"div",14,4),se(2,4),f())}function dY(t,n){t&1&&(p(0,"div",15,5),se(2,5),f())}function uY(t,n){t&1&&R(0,"div",16)}function hY(t,n){if(t&1&&(p(0,"div",18),se(1,6),f()),t&2){let e=M();C("@transitionMessages",e._subscriptAnimationState)}}function mY(t,n){if(t&1&&(p(0,"mat-hint",22),d(1),f()),t&2){let e=M(2);C("id",e._hintLabelId),g(),E(e.hintLabel)}}function pY(t,n){if(t&1&&(p(0,"div",19),w(1,mY,2,2,"mat-hint",22),se(2,7),R(3,"div",23),se(4,8),f()),t&2){let e=M();C("@transitionMessages",e._subscriptAnimationState),g(),Se(e.hintLabel?1:-1)}}var Di=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-label"]],standalone:!0})}}return t})(),fY=0,eD=new L("MatError"),pr=(()=>{class t{constructor(e,i){this.id=`mat-mdc-error-${fY++}`,e||i.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(i){return new(i||t)(Gt("aria-live"),m($))}}static{this.\u0275dir=T({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){i&2&&jt("id",r.id)},inputs:{id:"id"},standalone:!0,features:[he([{provide:eD,useExisting:t}])]})}}return t})(),gY=0,mh=(()=>{class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${gY++}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(jt("id",r.id),ie("align",null),re("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return t})(),tD=new L("MatPrefix"),ph=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[he([{provide:tD,useExisting:t}])]})}}return t})(),iD=new L("MatSuffix"),l2=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[he([{provide:iD,useExisting:t}])]})}}return t})(),nD=new L("FloatingLabelParent"),qw=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=z(uh),this._ngZone=z(oe),this._parent=z(nD),this._resizeSubscription=new xe}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return _Y(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&re("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return t})();function _Y(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var Yw="mdc-line-ripple--active",hh="mdc-line-ripple--deactivating",Qw=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{let a=this._elementRef.nativeElement.classList,o=a.contains(hh);r.propertyName==="opacity"&&o&&a.remove(Yw,hh)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(hh),e.add(Yw)}deactivate(){this._elementRef.nativeElement.classList.add(hh)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe))}}static{this.\u0275dir=T({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return t})(),Kw=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe))}}static{this.\u0275cmp=A({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&ue(Bq,5),i&2){let a;G(a=W())&&(r._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&re("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[ae],attrs:Uq,ngContentSelectors:$q,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Me(),R(0,"div",1),p(1,"div",2,0),se(3),f(),R(4,"div",3))},encapsulation:2,changeDetection:0})}}return t})(),vY={transitionMessages:kt("transitionMessages",[tt("enter",De({opacity:1,transform:"translateY(0%)"})),Ze("void => enter",[De({opacity:0,transform:"translateY(-5px)"}),et("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},d2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t})}}return t})();var To=new L("MatFormField"),Q5=new L("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Zw=0,Xw="fill",bY="auto",Jw="fixed",yY="translateY(-50%)",Kt=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ri(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||bY}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||Xw;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Jw}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Jw}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,a,o,s,l,h){this._elementRef=e,this._changeDetectorRef=i,this._dir=a,this._platform=o,this._defaults=s,this._animationMode=l,this._labelChild=MC(Di),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Xw,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Zw++}`,this._hintLabelId=`mat-mdc-hint-${Zw++}`,this._subscriptAnimationState="",this._destroyed=new U,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=z(Le),this.getLabelId=Co(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=Co(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(_e(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),nt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),z1(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(_e(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,r=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):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)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,a=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,h=a?.getBoundingClientRect().width??0,v=o?.getBoundingClientRect().width??0,y=this._dir.value==="rtl"?"-1":"1",D=`${s+l}px`,V=`calc(${y} * (${D} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${yY} translateX(${V}) - )`;let K=s+l+h+v;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${K}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(oe),m(Je),m(ze),m(Q5,8),m(ot,8),m(Ce))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,a){if(i&1&&(UC(a,r._labelChild,Di,5),we(a,d2,5),we(a,tD,5),we(a,iD,5),we(a,eD,5),we(a,mh,5)),i&2){$C();let o;G(o=W())&&(r._formFieldControl=o.first),G(o=W())&&(r._prefixChildren=o),G(o=W())&&(r._suffixChildren=o),G(o=W())&&(r._errorChildren=o),G(o=W())&&(r._hintChildren=o)}},viewQuery:function(i,r){if(i&1&&(ue(Gq,5),ue(Wq,5),ue(qq,5),ue(Yq,5),ue(Qq,5),ue(qw,5),ue(Kw,5),ue(Qw,5)),i&2){let a;G(a=W())&&(r._textField=a.first),G(a=W())&&(r._iconPrefixContainer=a.first),G(a=W())&&(r._textPrefixContainer=a.first),G(a=W())&&(r._iconSuffixContainer=a.first),G(a=W())&&(r._textSuffixContainer=a.first),G(a=W())&&(r._floatingLabel=a.first),G(a=W())&&(r._notchedOutline=a.first),G(a=W())&&(r._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&re("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[he([{provide:To,useExisting:t},{provide:nD,useExisting:t}]),ae],ngContentSelectors:Zq,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let a=le();Me(Kq),w(0,eY,1,1,"ng-template",null,0,Hr),p(2,"div",6,1),H("click",function(s){return F(a),j(r._control.onContainerClick(s))}),w(4,tY,1,0,"div",7),p(5,"div",8),w(6,rY,2,2,"div",9)(7,aY,3,0,"div",10)(8,oY,3,0,"div",11),p(9,"div",12),w(10,cY,1,1,null,13),se(11),f(),w(12,lY,3,0,"div",14)(13,dY,3,0,"div",15),f(),w(14,uY,1,0,"div",16),f(),p(15,"div",17),w(16,hY,2,1,"div",18)(17,pY,5,2,"div",19),f()}if(i&2){let a;g(2),re("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),g(2),Se(!r._hasOutline()&&!r._control.disabled?4:-1),g(2),Se(r._hasOutline()?6:-1),g(),Se(r._hasIconPrefix?7:-1),g(),Se(r._hasTextPrefix?8:-1),g(2),Se(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),g(2),Se(r._hasTextSuffix?12:-1),g(),Se(r._hasIconSuffix?13:-1),g(),Se(r._hasOutline()?-1:14),g(),re("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),g(),Se((a=r._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[qw,Kw,hs,Qw,mh],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[vY.transitionMessages]},changeDetection:0})}}return t})(),Ic=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,Tt,Yl,fe]})}}return t})();var rD=Ci({passive:!0}),aD=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return ci;let i=wi(e),r=this._monitoredElements.get(i);if(r)return r.subject;let a=new U,o="cdk-text-field-autofilled",s=l=>{l.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(o)?(i.classList.add(o),this._ngZone.run(()=>a.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>a.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",s,rD),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",s,rD)}}),a}stopMonitoring(e){let i=wi(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))}static{this.\u0275fac=function(i){return new(i||t)(k(ze),k(oe))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var fh=(()=>{class t{get minRows(){return this._minRows}set minRows(e){this._minRows=di(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=di(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(e,i,r,a){this._elementRef=e,this._platform=i,this._ngZone=r,this._destroyed=new U,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=o=>{this._hasFocus=o.type==="focus"},this._document=a,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();Zi(e,"resize").pipe(sl(16),_e(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIREFOX,a=r&&this._hasFocus,o=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(o);let s=e.scrollHeight-4;return e.classList.remove(o),a&&(e.style.marginBottom=i),s}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;let a=this._measureScrollHeight(),o=Math.max(a,this._cachedPlaceholderHeight||0);i.style.height=`${o}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){let{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(oe),m(Ce,8))}}static{this.\u0275dir=T({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(i,r){i&1&&H("input",function(){return r._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",q],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[ye]})}}return t})(),oD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();var Z5=new L("MAT_INPUT_VALUE_ACCESSOR"),CY=["button","checkbox","file","hidden","image","radio","range","reset","submit"],xY=0,$i=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=ri(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(_i.required)??!1}set required(e){this._required=ri(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&_5().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}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=ri(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,r,a,o,s,l,h,v,y){this._elementRef=e,this._platform=i,this.ngControl=r,this._autofillMonitor=h,this._ngZone=v,this._formField=y,this._uid=`mat-input-${xY++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new U,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=>_5().has(V)),this._iOSKeyupListener=V=>{let K=V.target;!K.value&&K.selectionStart===0&&K.selectionEnd===0&&(K.setSelectionRange(1,1),K.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let D=this._elementRef.nativeElement,S=D.nodeName.toLowerCase();this._inputValueAccessor=l||D,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&v.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Ss(s,r,o,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=S==="select",this._isTextarea=S==="textarea",this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=D.multiple?"mat-native-select-multiple":"mat-native-select")}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),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){CY.indexOf(this._type)>-1}_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){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else 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(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(Fi,10),m(od,8),m(tn,8),m(Gr),m(Z5,10),m(aD),m(oe),m(To,8))}}static{this.\u0275dir=T({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,r){i&1&&H("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(jt("id",r.id)("disabled",r.disabled)("required",r.required),ie("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),re("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[he([{provide:d2,useExisting:t}]),Te]})}}return t})(),sD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,Ic,Ic,oD,fe]})}}return t})();var MY=["mat-calendar-body",""];function wY(t,n){return this._trackRow(n)}var fD=(t,n)=>n.id;function DY(t,n){if(t&1&&(p(0,"tr",0)(1,"td",3),d(2),f()()),t&2){let e=M();g(),Pt("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ie("colspan",e.numCols),g(),ne(" ",e.label," ")}}function SY(t,n){if(t&1&&(p(0,"td",3),d(1),f()),t&2){let e=M(2);Pt("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ie("colspan",e._firstRowOffset),g(),ne(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function kY(t,n){if(t&1){let e=le();p(0,"td",6)(1,"button",7),H("click",function(r){let a=F(e).$implicit,o=M(2);return j(o._cellClicked(a,r))})("focus",function(r){let a=F(e).$implicit,o=M(2);return j(o._emitActiveDateChange(a,r))}),p(2,"span",8),d(3),f(),R(4,"span",9),f()()}if(t&2){let e=n.$implicit,i=n.$index,r=M().$index,a=M();Pt("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),ie("data-mat-row",r)("data-mat-col",i),g(),re("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(r,i))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),C("ngClass",e.cssClasses)("tabindex",a._isActiveCell(r,i)?0:-1),ie("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null)("aria-describedby",a._getDescribedby(e.compareValue)),g(),re("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),g(),ne(" ",e.displayValue," ")}}function IY(t,n){if(t&1&&(p(0,"tr",1),w(1,SY,2,6,"td",4),nr(2,kY,5,48,"td",5,fD),f()),t&2){let e=n.$implicit,i=n.$index,r=M();g(),Se(i===0&&r._firstRowOffset?1:-1),g(),rr(e)}}function EY(t,n){if(t&1&&(p(0,"th",2)(1,"span",6),d(2),f(),p(3,"span",3),d(4),f()()),t&2){let e=n.$implicit;g(2),E(e.long),g(2),E(e.narrow)}}var OY=["*"];function PY(t,n){}function TY(t,n){if(t&1){let e=le();p(0,"mat-month-view",4),H1("activeDateChange",function(r){F(e);let a=M();return B0(a.activeDate,r)||(a.activeDate=r),j(r)}),H("_userSelection",function(r){F(e);let a=M();return j(a._dateSelected(r))})("dragStarted",function(r){F(e);let a=M();return j(a._dragStarted(r))})("dragEnded",function(r){F(e);let a=M();return j(a._dragEnded(r))}),f()}if(t&2){let e=M();L1("activeDate",e.activeDate),C("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function VY(t,n){if(t&1){let e=le();p(0,"mat-year-view",5),H1("activeDateChange",function(r){F(e);let a=M();return B0(a.activeDate,r)||(a.activeDate=r),j(r)}),H("monthSelected",function(r){F(e);let a=M();return j(a._monthSelectedInYearView(r))})("selectedChange",function(r){F(e);let a=M();return j(a._goToDateInView(r,"month"))}),f()}if(t&2){let e=M();L1("activeDate",e.activeDate),C("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function AY(t,n){if(t&1){let e=le();p(0,"mat-multi-year-view",6),H1("activeDateChange",function(r){F(e);let a=M();return B0(a.activeDate,r)||(a.activeDate=r),j(r)}),H("yearSelected",function(r){F(e);let a=M();return j(a._yearSelectedInMultiYearView(r))})("selectedChange",function(r){F(e);let a=M();return j(a._goToDateInView(r,"year"))}),f()}if(t&2){let e=M();L1("activeDate",e.activeDate),C("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function zY(t,n){}var LY=["button"],HY=[[["","matDatepickerToggleIcon",""]]],RY=["[matDatepickerToggleIcon]"];function NY(t,n){t&1&&(Jt(),p(0,"svg",2),R(1,"path",3),f())}var kd=(()=>{class t{constructor(){this.changes=new U,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),FY=0,Dd=class{constructor(n,e,i,r,a={},o=n,s){this.value=n,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.cssClasses=a,this.compareValue=o,this.rawValue=s,this.id=FY++}},jY=1,cD=Ci({passive:!1,capture:!0}),Ps=Ci({passive:!0,capture:!0}),gh=Ci({passive:!0}),h2=(()=>{class t{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,i){this._elementRef=e,this._ngZone=i,this._platform=z(ze),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new B,this.previewChange=new B,this.activeDateChange=new B,this.dragStarted=new B,this.dragEnded=new B,this._didDragSinceMouseDown=!1,this._injector=z(Le),this._trackRow=r=>r,this._enterHandler=r=>{if(this._skipNextFocus&&r.type==="focus"){this._skipNextFocus=!1;return}if(r.target&&this.isRange){let a=this._getCellFromElement(r.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:r}))}},this._touchmoveHandler=r=>{if(!this.isRange)return;let a=lD(r),o=a?this._getCellFromElement(a):null;a!==r.target&&(this._didDragSinceMouseDown=!0),J5(r.target)&&r.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:o?.enabled?o:null,event:r}))},this._leaveHandler=r=>{this.previewEnd!==null&&this.isRange&&(r.type!=="blur"&&(this._didDragSinceMouseDown=!0),r.target&&this._getCellFromElement(r.target)&&!(r.relatedTarget&&this._getCellFromElement(r.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:r})))},this._mousedownHandler=r=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=r.target&&this._getCellFromElement(r.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:r})})},this._mouseupHandler=r=>{if(!this.isRange)return;let a=J5(r.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:r})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let o=this._getCellFromElement(a);this.dragEnded.emit({value:o?.rawValue??null,event:r})})},this._touchendHandler=r=>{let a=lD(r);a&&this._mouseupHandler({target:a})},this._id=`mat-calendar-body-${jY++}`,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,i.runOutsideAngular(()=>{let r=e.nativeElement;r.addEventListener("touchmove",this._touchmoveHandler,cD),r.addEventListener("mouseenter",this._enterHandler,Ps),r.addEventListener("focus",this._enterHandler,Ps),r.addEventListener("mouseleave",this._leaveHandler,Ps),r.addEventListener("blur",this._leaveHandler,Ps),r.addEventListener("mousedown",this._mousedownHandler,gh),r.addEventListener("touchstart",this._mousedownHandler,gh),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let i=e.numCols,{rows:r,numCols:a}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?a-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/a}%`),(i||!this._cellWidth)&&(this._cellWidth=`${100/a}%`)}ngOnDestroy(){let e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,cD),e.removeEventListener("mouseenter",this._enterHandler,Ps),e.removeEventListener("focus",this._enterHandler,Ps),e.removeEventListener("mouseleave",this._leaveHandler,Ps),e.removeEventListener("blur",this._leaveHandler,Ps),e.removeEventListener("mousedown",this._mousedownHandler,gh),e.removeEventListener("touchstart",this._mousedownHandler,gh),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,i){let r=e*this.numCols+i;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){Ft(()=>{setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return eg(e,this.startValue,this.endValue)}_isRangeEnd(e){return tg(e,this.startValue,this.endValue)}_isInRange(e){return ig(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return eg(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[i][r-1];if(!a){let o=this.rows[i-1];a=o&&o[o.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[i][r+1];if(!a){let o=this.rows[i+1];a=o&&o[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return tg(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ig(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return eg(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return tg(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ig(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){let i=J5(e);if(i){let r=i.getAttribute("data-mat-row"),a=i.getAttribute("data-mat-col");if(r&&a)return this.rows[parseInt(r)][parseInt(a)]}return null}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe))}}static{this.\u0275cmp=A({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[Te,ae],attrs:MY,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,r){i&1&&(w(0,DY,3,6,"tr",0),nr(1,IY,4,1,"tr",1,wY,!0),p(3,"span",2),d(4),f(),p(5,"span",2),d(6),f()),i&2&&(Se(r._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-app-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-app-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-app-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-app-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-app-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-app-secondary))}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0})}}return t})();function X5(t){return t?.nodeName==="TD"}function J5(t){let n;return X5(t)?n=t:X5(t.parentNode)?n=t.parentNode:X5(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function eg(t,n,e){return e!==null&&n!==e&&t=n&&t===e}function ig(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function lD(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var Wr=class{constructor(n,e){this.start=n,this.end=e}},Sd=(()=>{class t{constructor(e,i){this.selection=e,this._adapter=i,this._selectionChanged=new U,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,i){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static{this.\u0275fac=function(i){Il()}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),BY=(()=>{class t extends Sd{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static{this.\u0275fac=function(i){return new(i||t)(k(fn))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function UY(t,n){return t||new BY(n)}var gD={provide:Sd,deps:[[new Jn,new vr,Sd],fn],useFactory:UY};var _D=new L("MAT_DATE_RANGE_SELECTION_STRATEGY");var ng=7,$Y=0,dD=(()=>{class t{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){e instanceof Wr?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,r,a,o){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=r,this._dir=a,this._rangeStrategy=o,this._rerenderSubscription=xe.EMPTY,this.activeDrag=null,this.selectedChange=new B,this._userSelection=new B,this.dragStarted=new B,this.dragEnded=new B,this.activeDateChange=new B,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qe(null)).subscribe(()=>this._init())}ngOnChanges(e){let i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let i=e.value,r=this._getDateFromDayOfMonth(i),a,o;this._selected instanceof Wr?(a=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):a=o=this._getDateInCurrentMonth(this._selected),(a!==i||o!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd!=null&&!xt(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(ng+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%ng,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){let r=i?i.rawValue:null,a=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this.activeDrag&&r){let o=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);o&&(this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){let i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),a=this._dateAdapter.getDayOfWeekNames("long").map((o,s)=>({long:o,narrow:i[s],id:$Y++}));this._weekdays=a.slice(e).concat(a.slice(0,e))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,a=this._firstWeekOffset;r=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!!(e&&i&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){let i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(i,r,a).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof Wr?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(ks,8),m(fn,8),m(Je,8),m(_D,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,r){if(i&1&&ue(h2,5),i&2){let a;G(a=W())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[Te,ae],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,r){i&1&&(p(0,"table",0)(1,"thead",1)(2,"tr"),nr(3,EY,5,2,"th",2,fD),f(),p(5,"tr",3),R(6,"th",4),f()(),p(7,"tbody",5),H("selectedValueChange",function(o){return r._dateSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("previewChange",function(o){return r._previewChanged(o)})("dragStarted",function(o){return r.dragStarted.emit(o)})("dragEnded",function(o){return r._dragEnded(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),f()()),i&2&&(g(3),rr(r._weekdays),g(4),C("label",r._monthLabel)("rows",r._weeks)("todayValue",r._todayDate)("startValue",r._rangeStart)("endValue",r._rangeEnd)("comparisonStart",r._comparisonRangeStart)("comparisonEnd",r._comparisonRangeEnd)("previewStart",r._previewStart)("previewEnd",r._previewEnd)("isRange",r._isRange)("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[h2],encapsulation:2,changeDetection:0})}}return t})(),Mr=24,rg=4,uD=(()=>{class t{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),vD(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){e instanceof Wr?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,r){this._changeDetectorRef=e,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=xe.EMPTY,this.selectedChange=new B,this.yearSelected=new B,this.activeDateChange=new B,this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qe(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-wd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,a=[];rthis._createCellForYear(o))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){let i=e.value,r=this._dateAdapter.createDate(i,0,1),a=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(a)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-rg);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,rg);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-wd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Mr-wd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-Mr*10:-Mr);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?Mr*10:Mr);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return wd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(e){let i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),a=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new Dd(e,r,r,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class t{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){e instanceof Wr?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,r,a){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=r,this._dir=a,this._rerenderSubscription=xe.EMPTY,this.selectedChange=new B,this.monthSelected=new B,this.activeDateChange=new B,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qe(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);let a=this._getDateFromMonth(i);this.selectedChange.emit(a)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,e[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,i){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),o=this.dateClass?this.dateClass(r,"year"):void 0;return new Dd(e,i.toLocaleUpperCase(),a,this._shouldEnableMonth(e),o)}_shouldEnableMonth(e){let i=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(i,e,1);for(let a=r;this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>a}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e{class t{constructor(e,i,r,a,o){this._intl=e,this.calendar=i,this._dateAdapter=r,this._dateFormats=a,this._id=`mat-calendar-header-${WY++}`,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>o.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Mr)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Mr)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,i){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):vD(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-wd(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+Mr-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[a,o]}static{this.\u0275fac=function(i){return new(i||t)(m(kd),m(ct(()=>ag)),m(fn,8),m(ks,8),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[ae],ngContentSelectors:OY,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,r){i&1&&(Me(),p(0,"div",0)(1,"div",1)(2,"span",2),d(3),f(),p(4,"button",3),H("click",function(){return r.currentPeriodClicked()}),p(5,"span",4),d(6),f(),Jt(),p(7,"svg",5),R(8,"polygon",6),f()(),Va(),R(9,"div",7),se(10),p(11,"button",8),H("click",function(){return r.previousClicked()}),Jt(),p(12,"svg",9),R(13,"path",10),f()(),Va(),p(14,"button",11),H("click",function(){return r.nextClicked()}),Jt(),p(15,"svg",9),R(16,"path",12),f()()()()),i&2&&(g(2),C("id",r._periodButtonLabelId),g(),E(r.periodButtonDescription),g(),ie("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),g(2),E(r.periodButtonText),g(),re("mat-calendar-invert",r.calendar.currentView!=="month"),g(4),C("disabled",!r.previousEnabled()),ie("aria-label",r.prevButtonLabel),g(3),C("disabled",!r.nextEnabled()),ie("aria-label",r.nextButtonLabel))},dependencies:[lt,bn],encapsulation:2,changeDetection:0})}}return t})(),ag=(()=>{class t{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){e instanceof Wr?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){let i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}constructor(e,i,r,a){this._dateAdapter=i,this._dateFormats=r,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new B,this.yearSelected=new B,this.monthSelected=new B,this.viewChanged=new B(!0),this._userSelection=new B,this._userDragDrop=new B,this._activeDrag=null,this.stateChanges=new U,this._intlChanges=e.changes.subscribe(()=>{a.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new hr(this.headerComponent||yD),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,a=i||r||e.dateFilter;if(a&&!a.firstChange){let o=this._getCurrentViewComponent();o&&(this._moveFocusOnNextTick=!0,this._changeDetectorRef.detectChanges(),o._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let i=e.value;(this.selected instanceof Wr||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static{this.\u0275fac=function(i){return new(i||t)(m(kd),m(fn,8),m(ks,8),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,r){if(i&1&&(ue(dD,5),ue(hD,5),ue(uD,5)),i&2){let a;G(a=W())&&(r.monthView=a.first),G(a=W())&&(r.yearView=a.first),G(a=W())&&(r.multiYearView=a.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[he([gD]),Te,ae],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,r){if(i&1&&(w(0,PY,0,0,"ng-template",0),p(1,"div",1),w(2,TY,1,11,"mat-month-view",2)(3,VY,1,6,"mat-year-view",3)(4,AY,1,6,"mat-multi-year-view",3),f()),i&2){let a;C("cdkPortalOutlet",r._calendarHeaderPortal),g(2),Se((a=r.currentView)==="month"?2:a==="year"?3:a==="multi-year"?4:-1)}},dependencies:[Qi,ah,dD,hD,uD],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-app-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-app-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-app-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-app-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-app-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-app-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-app-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return t})(),mD={transformPanel:kt("transformPanel",[Ze("void => enter-dropdown",et("120ms cubic-bezier(0, 0, 0.2, 1)",Os([De({opacity:0,transform:"scale(1, 0.8)"}),De({opacity:1,transform:"scale(1, 1)"})]))),Ze("void => enter-dialog",et("150ms cubic-bezier(0, 0, 0.2, 1)",Os([De({opacity:0,transform:"scale(0.7)"}),De({transform:"none",opacity:1})]))),Ze("* => void",et("100ms linear",De({opacity:0})))]),fadeInCalendar:kt("fadeInCalendar",[tt("void",De({opacity:0})),tt("enter",De({opacity:1})),Ze("void => *",et("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},qY=0,CD=new L("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition()}});function YY(t){return()=>t.scrollStrategies.reposition()}var QY={provide:CD,deps:[vt],useFactory:YY},xD=(()=>{class t{constructor(e,i,r,a,o,s){this._elementRef=e,this._changeDetectorRef=i,this._globalModel=r,this._dateAdapter=a,this._rangeSelectionStrategy=o,this._subscriptions=new xe,this._animationDone=new U,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=s.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let i=this._model.selection,r=e.value,a=i instanceof Wr;if(a&&this._rangeSelectionStrategy){let o=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(o,this)}else r&&(a||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating=e.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(Sd),m(fn),m(_D,8),m(kd))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,r){if(i&1&&ue(ag,5),i&2){let a;G(a=W())&&(r._calendar=a.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(i,r){i&1&&mc("@transformPanel.start",function(o){return r._handleAnimationEvent(o)})("@transformPanel.done",function(o){return r._handleAnimationEvent(o)}),i&2&&(hc("@transformPanel",r._animationState),Lt(r.color?"mat-"+r.color:""),re("mat-datepicker-content-touch",r.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[ae],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,r){if(i&1&&(p(0,"div",0)(1,"mat-calendar",1),H("yearSelected",function(o){return r.datepicker._selectYear(o)})("monthSelected",function(o){return r.datepicker._selectMonth(o)})("viewChanged",function(o){return r.datepicker._viewChanged(o)})("_userSelection",function(o){return r._handleUserSelection(o)})("_userDragDrop",function(o){return r._handleUserDragDrop(o)}),f(),w(2,zY,0,0,"ng-template",2),p(3,"button",3),H("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),d(4),f()()),i&2){let a;re("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),ie("aria-modal",!0)("aria-labelledby",(a=r._dialogLabelId)!==null&&a!==void 0?a:void 0),g(),Lt(r.datepicker.panelClass),C("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),g(),C("cdkPortalOutlet",r._actionsPortal),g(),re("cdk-visually-hidden",!r._closeButtonFocused),C("color",r.color||"primary"),g(),E(r._closeButtonText)}},dependencies:[fw,ag,Qi,lt],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-app-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-app-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-app-corner-large))}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-app-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[mD.transformPanel,mD.fadeInCalendar]},changeDetection:0})}}return t})(),pD=(()=>{class t{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=iw(e)}get opened(){return this._opened}set opened(e){e?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(e,i,r,a,o,s,l){this._overlay=e,this._viewContainerRef=r,this._dateAdapter=o,this._dir=s,this._model=l,this._inputStateChanges=xe.EMPTY,this._document=z(Ce),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new B,this.monthSelected=new B,this.viewChanged=new B(!0),this.openedStream=new B,this.closedStream=new B,this._opened=!1,this.id=`mat-datepicker-${qY++}`,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new U,this._injector=z(Le),this._changeDetectorRef=z(pe),this._dateAdapter,this._scrollStrategy=a,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let i=e.xPosition||e.yPosition;if(i&&!i.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof Cd&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=ja(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:r,location:a}=this._componentRef;r._startExitAnimation(),r._animationDone.pipe(Ue(1)).subscribe(()=>{let o=this._document.activeElement;e&&(!o||o===this._document.activeElement||a.nativeElement.contains(o))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(i):i()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,i=new hr(xD,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new mr({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(a=>{a&&a.preventDefault(),this.close()}),r.keydownEvents().subscribe(a=>{let o=a.keyCode;(o===38||o===40||o===37||o===39||o===33||o===34)&&a.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),e||Ft(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let i=this.xPosition==="end"?"end":"start",r=i==="start"?"end":"start",a=this.yPosition==="above"?"bottom":"top",o=a==="top"?"bottom":"top";return e.withPositions([{originX:i,originY:o,overlayX:i,overlayY:a},{originX:i,originY:a,overlayX:i,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o}])}_getCloseStream(e){let i=["ctrlKey","shiftKey","metaKey"];return nt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(Ve(r=>r.keyCode===27&&!xt(r)||this.datepickerInput&&xt(r,"altKey")&&r.keyCode===38&&i.every(a=>!xt(r,a)))))}static{this.\u0275fac=function(i){return new(i||t)(m(vt),m(oe),m(Xe),m(CD),m(fn,8),m(Je,8),m(Sd))}}static{this.\u0275dir=T({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",q],disabled:[2,"disabled","disabled",q],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",q],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",q]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ye,Te]})}}return t})(),MD=(()=>{class t extends pD{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[he([gD,{provide:pD,useExisting:t}]),de,ae],decls:0,vars:0,template:function(i,r){},encapsulation:2,changeDetection:0})}}return t})(),u2=class{constructor(n,e){this.target=n,this.targetElement=e,this.value=this.target.value}},KY=(()=>{class t{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let i=e,r=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){let r=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new u2(this,this._elementRef.nativeElement)),this.dateChange.emit(new u2(this,this._elementRef.nativeElement))}})}constructor(e,i,r){this._elementRef=e,this._dateAdapter=i,this._dateFormats=r,this.dateChange=new B,this.dateInput=new B,this.stateChanges=new U,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=xe.EMPTY,this._localeSubscription=xe.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=a=>{let o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!o||this._matchesFilter(o)?null:{matDatepickerFilter:!0}},this._minValidator=a=>{let o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),s=this._getMinDate();return!s||!o||this._dateAdapter.compareDate(s,o)<=0?null:{matDatepickerMin:{min:s,actual:o}}},this._maxValidator=a=>{let o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),s=this._getMaxDate();return!s||!o||this._dateAdapter.compareDate(s,o)>=0?null:{matDatepickerMax:{max:s,actual:o}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){ZY(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let i=["ctrlKey","shiftKey","metaKey"];xt(e,"altKey")&&e.keyCode===40&&i.every(a=>!xt(e,a))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let i=this._lastValueValid,r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let a=!this._dateAdapter.sameDate(r,this.value);!r||a?this._cvaOnChange(r):(e&&!this.value&&this._cvaOnChange(r),i!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(r),this.dateInput.emit(new u2(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new u2(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){let i=this._getDateFilter();return!i||i(e)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(fn,8),m(ks,8))}}static{this.\u0275dir=T({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",q]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[ye,Te]})}}return t})();function ZY(t,n){let e=Object.keys(t);for(let i of e){let{previousValue:r,currentValue:a}=t[i];if(n.isDateInstance(r)&&n.isDateInstance(a)){if(!n.sameDate(r,a))return!0}else return!0}return!1}var XY={provide:Yi,useExisting:ct(()=>_h),multi:!0},JY={provide:un,useExisting:ct(()=>_h),multi:!0},_h=(()=>{class t extends KY{set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}get max(){return this._max}set max(e){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){let i=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}constructor(e,i,r,a){super(e,i,r),this._formField=a,this._closedSubscription=xe.EMPTY,this._openedSubscription=xe.EMPTY,this._ariaOwns=ir(null),this._validator=_i.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static{this.\u0275fac=function(i){return new(i||t)(m($),m(fn,8),m(ks,8),m(To,8))}}static{this.\u0275dir=T({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,r){i&1&&H("input",function(o){return r._onInput(o.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(o){return r._onKeydown(o)}),i&2&&(jt("disabled",r.disabled),ie("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[he([XY,JY,{provide:Z5,useExisting:t}]),de]})}}return t})(),eQ=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}}return t})(),og=(()=>{class t{get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}constructor(e,i,r){this._intl=e,this._changeDetectorRef=i,this._stateChanges=xe.EMPTY;let a=Number(r);this.tabIndex=a||a===0?a:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:ce(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ce(),r=this.datepicker?nt(this.datepicker.openedStream,this.datepicker.closedStream):ce();this._stateChanges.unsubscribe(),this._stateChanges=nt(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static{this.\u0275fac=function(i){return new(i||t)(m(kd),m(pe),Gt("tabindex"))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,r,a){if(i&1&&we(a,eQ,5),i&2){let o;G(o=W())&&(r._customIcon=o.first)}},viewQuery:function(i,r){if(i&1&&ue(LY,5),i&2){let a;G(a=W())&&(r._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,r){i&1&&H("click",function(o){return r._open(o)}),i&2&&(ie("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),re("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",q],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[ye,Te,ae],ngContentSelectors:RY,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,r){i&1&&(Me(HY),p(0,"button",1,0),w(2,NY,2,0,":svg:svg",2),se(3),f()),i&2&&(C("disabled",r.disabled)("disableRipple",r.disableRipple),ie("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("tabindex",r.disabled?-1:r.tabIndex),g(2),Se(r._customIcon?-1:2))},dependencies:[bn],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-app-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-app-on-surface-variant))}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}}return t})();var wD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[kd,QY],imports:[Tt,Ga,Pn,Ds,$n,fe,xD,og,yD,_n]})}}return t})();var iQ=["trigger"],nQ=["panel"],rQ=[[["mat-select-trigger"]],"*"],aQ=["mat-select-trigger","*"];function oQ(t,n){if(t&1&&(p(0,"span",4),d(1),f()),t&2){let e=M();g(),E(e.placeholder)}}function sQ(t,n){t&1&&se(0)}function cQ(t,n){if(t&1&&(p(0,"span",11),d(1),f()),t&2){let e=M(2);g(),E(e.triggerValue)}}function lQ(t,n){if(t&1&&(p(0,"span",5),w(1,sQ,1,0)(2,cQ,2,1,"span",11),f()),t&2){let e=M();g(),Se(e.customTrigger?1:2)}}function dQ(t,n){if(t&1){let e=le();p(0,"div",12,1),H("@transformPanel.done",function(r){F(e);let a=M();return j(a._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){F(e);let a=M();return j(a._handleKeydown(r))}),se(2,1),f()}if(t&2){let e=M();N0("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),C("ngClass",e.panelClass)("@transformPanel","showing"),ie("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var uQ={transformPanelWrap:kt("transformPanelWrap",[Ze("* => void",kc("@transformPanel",[Sc()],{optional:!0}))]),transformPanel:kt("transformPanel",[tt("void",De({opacity:0,transform:"scale(1, 0.8)"})),Ze("void => showing",et("120ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:1,transform:"scale(1, 1)"}))),Ze("* => void",et("100ms linear",De({opacity:0})))])};var DD=0,SD=new L("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition()}});function hQ(t){return()=>t.scrollStrategies.reposition()}var mQ=new L("MAT_SELECT_CONFIG"),pQ={provide:SD,deps:[vt],useFactory:hQ},fQ=new L("MatSelectTrigger"),sg=class{constructor(n,e){this.source=n,this.value=e}},Tn=(()=>{class t{_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,a=sh(e,this.options,this.optionGroups),o=i._getHostElement();e===0&&a===1?r.scrollTop=0:r.scrollTop=ch(o.offsetTop,o.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new sg(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(_i.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,r,a,o,s,l,h,v,y,D,S,V,K){this._viewportRuler=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._parentFormField=v,this.ngControl=y,this._liveAnnouncer=V,this._defaultOptions=K,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(te,ge)=>te===ge,this._uid=`mat-select-${DD++}`,this._triggerAriaLabelledBy=null,this._destroy=new U,this.stateChanges=new U,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${DD++}`,this._panelDoneAnimatingStream=new U,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new U,this.optionSelectionChanges=Hn(()=>{let te=this.options;return te?te.changes.pipe(Qe(te),dt(()=>nt(...te.map(ge=>ge.onSelectionChange)))):this._initialized.pipe(dt(()=>this.optionSelectionChanges))}),this.openedChange=new B,this._openedStream=this.openedChange.pipe(Ve(te=>te),me(()=>{})),this._closedStream=this.openedChange.pipe(Ve(te=>!te),me(()=>{})),this.selectionChange=new B,this.valueChange=new B,this._trackedModal=null,this._skipPredicate=te=>this.panelOpen?!1:te.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),K?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=K.typeaheadDebounceInterval),this._errorStateTracker=new Ss(a,y,h,l,this.stateChanges),this._scrollStrategyFactory=S,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(D)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ur(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(es(),_e(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(_e(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(_e(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Qe(null),_e(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&ws(this._trackedModal,"aria-owns",i),e2(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;ws(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,a=i===13||i===32,o=this._keyManager;if(!o.isTyping()&&a&&!xt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;o.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,a=r===40||r===38,o=i.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!o&&(r===13||r===32)&&i.activeItem&&!xt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!o&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&a&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ue(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof xd?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Zl(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=nt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(_e(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),nt(...this.options.map(i=>i._stateChanges)).pipe(_e(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(i){return new(i||t)(m(Ui),m(pe),m(oe),m(Gr),m($),m(Je,8),m(od,8),m(tn,8),m(To,8),m(Fi,10),Gt("tabindex"),m(SD),m(rh),m(mQ,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,a){if(i&1&&(we(a,fQ,5),we(a,Bi,5),we(a,gd,5)),i&2){let o;G(o=W())&&(r.customTrigger=o.first),G(o=W())&&(r.options=o),G(o=W())&&(r.optionGroups=o)}},viewQuery:function(i,r){if(i&1&&(ue(iQ,5),ue(nQ,5),ue(W5,5)),i&2){let a;G(a=W())&&(r.trigger=a.first),G(a=W())&&(r.panel=a.first),G(a=W())&&(r._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&H("keydown",function(o){return r._handleKeydown(o)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(ie("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),re("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],placeholder:"placeholder",required:[2,"required","required",q],multiple:[2,"multiple","multiple",q],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",q],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",st],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[he([{provide:d2,useExisting:t},{provide:fd,useExisting:t}]),ye,Te,ae],ngContentSelectors:aQ,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let a=le();Me(rQ),p(0,"div",2,0),H("click",function(){return F(a),j(r.open())}),p(3,"div",3),w(4,oQ,2,1,"span",4)(5,lQ,3,1,"span",5),f(),p(6,"div",6)(7,"div",7),Jt(),p(8,"svg",8),R(9,"path",9),f()()()(),w(10,dQ,3,9,"ng-template",10),H("backdropClick",function(){return F(a),j(r.close())})("attach",function(){return F(a),j(r._onAttached())})("detach",function(){return F(a),j(r.close())})}if(i&2){let a=Ct(1);g(3),ie("id",r._valueId),g(),Se(r.empty?4:5),g(6),C("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[xd,W5,Ni],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[uQ.transformPanel]},changeDetection:0})}}return t})();var vh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[pQ],imports:[Tt,Pn,i2,fe,_n,Ic,i2,fe]})}}return t})();function gQ(t,n){if(t&1&&R(0,"input",9),t&2){let e=M(2);C("type",e.formfield.type)("formControlName",e.formfield.controlName)("required",e.formfield.required)}}function _Q(t,n){if(t&1&&(p(0,"mat-option",12),d(1),f()),t&2){let e=n.$implicit,i=M(3);C("value",e[i.formfield.options.value]),g(),ne(` - `,e[i.formfield.options.label],` - `)}}function vQ(t,n){if(t&1&&(p(0,"mat-select",10),d(1,` - `),w(2,_Q,2,2,"mat-option",11),d(3,` - `),f()),t&2){let e=M(2);C("formControlName",e.formfield.controlName)("required",e.formfield.required),g(2),C("ngForOf",e.formfield.options.data)}}function bQ(t,n){if(t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),p(3,"strong"),d(4),I(5,"translate"),f(),d(6,` - `),f()),t&2){let e=M(2);g(),Ht(` - `,e.formfield.label," ",O(2,3,"labels.commons.is"),` - `),g(3),E(O(5,5,"labels.commons.required"))}}function yQ(t,n){if(t&1&&(p(0,"div",5),d(1,` - `),p(2,"mat-form-field",5),d(3,` - `),p(4,"mat-label"),d(5),f(),d(6,` - - `),w(7,gQ,1,3,"input",6),d(8,` - - `),w(9,vQ,4,3,"mat-select",7),d(10,` - - `),w(11,bQ,7,7,"mat-error",8),d(12,` - `),f(),d(13,` - `),f()),t&2){let e=M();g(5),E(e.formfield.label),g(2),C("ngIf",e.formfield.controlType==="input"),g(2),C("ngIf",e.formfield.controlType==="select"),g(2),C("ngIf",e.form.controls[e.formfield.controlName].hasError("required"))}}function CQ(t,n){if(t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),p(3,"strong"),d(4),I(5,"translate"),f(),d(6,` - `),f()),t&2){let e=M(2);g(),Ht(` - `,e.formfield.label," ",O(2,3,"labels.commons.is"),` - `),g(3),E(O(5,5,"labels.commons.required"))}}function xQ(t,n){if(t&1){let e=le();p(0,"mat-form-field",13),H("click",function(){F(e);let r=Ct(10);return j(r.open())}),d(1,` - `),p(2,"mat-label"),d(3),f(),d(4,` - `),R(5,"input",14),d(6,` - `),R(7,"mat-datepicker-toggle",15),d(8,` - `),R(9,"mat-datepicker",null,0),d(11,` - `),w(12,CQ,7,7,"mat-error",8),d(13,` - `),f()}if(t&2){let e=Ct(10),i=M();g(3),E(i.formfield.label),g(2),C("matDatepicker",e)("min",i.formfield.minDate)("max",i.formfield.maxDate)("formControlName",i.formfield.controlName)("required",i.formfield.required),g(2),C("for",e),g(5),C("ngIf",i.form.controls[i.formfield.controlName].hasError("required"))}}function MQ(t,n){if(t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),p(3,"strong"),d(4),I(5,"translate"),f(),d(6,` - `),f()),t&2){let e=M(2);g(),Ht(` - `,e.formfield.label," ",O(2,3,"labels.commons.is"),` - `),g(3),E(O(5,5,"labels.commons.required"))}}function wQ(t,n){if(t&1){let e=le();p(0,"mat-form-field",13),H("click",function(){F(e);let r=M();return j(r.datePicker.open())}),d(1,` - `),p(2,"mat-label"),d(3),f(),d(4,` - `),R(5,"input",16),d(6,` - `),w(7,MQ,7,7,"mat-error",8),d(8,` - `),f()}if(t&2){let e=M();g(3),E(e.formfield.label),g(2),C("min",e.formfield.minDate)("max",e.formfield.maxDate)("formControlName",e.formfield.controlName)("required",e.formfield.required),g(2),C("ngIf",e.form.controls[e.formfield.controlName].hasError("required"))}}function DQ(t,n){if(t&1&&(p(0,"mat-checkbox",17),d(1),f()),t&2){let e=M();C("checked",e.formfield.value)("formControlName",e.formfield.controlName)("required",e.formfield.required),g(),ne(` - `,e.formfield.label,` - `)}}var kD=(()=>{class t{constructor(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-formfield"]],inputs:{form:"form",formfield:"formfield"},decls:11,vars:5,consts:[["datePicker",""],[1,"flex-fill",3,"formGroup"],["class","flex-fill",4,"ngIf"],["class","flex-fill","Fill","",3,"click",4,"ngIf"],["labelPosition","before",3,"checked","formControlName","required",4,"ngIf"],[1,"flex-fill"],["matInput","",3,"type","formControlName","required",4,"ngIf"],[3,"formControlName","required",4,"ngIf"],[4,"ngIf"],["matInput","",3,"type","formControlName","required"],[3,"formControlName","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["Fill","",1,"flex-fill",3,"click"],["matInput","",3,"matDatepicker","min","max","formControlName","required"],["matSuffix","",3,"for"],["matInput","","type","datetime-local",3,"min","max","formControlName","required"],["labelPosition","before",3,"checked","formControlName","required"]],template:function(i,r){i&1&&(p(0,"div",1),d(1,` - `),w(2,yQ,14,4,"div",2),d(3,` - - `),w(4,xQ,14,8,"mat-form-field",3),d(5,` - - `),w(6,wQ,9,6,"mat-form-field",3),d(7,` - - `),w(8,DQ,2,4,"mat-checkbox",4),d(9,` -`),f(),d(10,` -`)),i&2&&(C("formGroup",r.form),g(2),C("ngIf",r.formfield.controlType==="input"||r.formfield.controlType==="select"),g(2),C("ngIf",r.formfield.controlType==="datepicker"),g(2),C("ngIf",r.formfield.controlType==="datetimepicker"),g(2),C("ngIf",r.formfield.controlType==="checkbox"))},dependencies:[ni,Re,Bi,Is,MD,_h,og,Kt,Di,pr,l2,$i,Tn,en,vi,jr,da,tn,la,Pe]})}}return t})();function kQ(t,n){}var Ec=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var lg=(()=>{class t extends Es{constructor(e,i,r,a,o,s,l,h){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=o,this._ngZone=s,this._overlayRef=l,this._focusMonitor=h,this._platform=z(ze),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=z(pe),this._injector=z(Le),this._isDestroyed=!1,this.attachDomPortal=v=>{this._portalOutlet.hasAttached();let y=this._portalOutlet.attachDomPortal(v);return this._contentAttached(),y},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let 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(){this._isDestroyed||Ft(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=ja(),a=this._elementRef.nativeElement;(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=ja();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ja()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||t)(m($),m(yc),m(Ce,8),m(Ec),m(Io),m(oe),m(Po),m(Qt))}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&ue(Qi,7),i&2){let a;G(a=W())&&(r._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&ie("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[de,ae],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&w(0,kQ,0,0,"ng-template",0)},dependencies:[Qi],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return t})(),Id=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new U,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!xt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},IQ=new L("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.block()}}),EQ=new L("DialogData"),OQ=new L("DefaultDialogConfig");var PQ=0,dg=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,a,o,s){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new U,this._afterOpenedAtThisLevel=new U,this._ariaHiddenElements=new Map,this.afterAllClosed=Hn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Qe(void 0))),this._scrollStrategy=s}open(e,i){let r=this._defaultOptions||new Ec;i=Y(Y({},r),i),i.id=i.id||`cdk-dialog-${PQ++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),o=this._overlay.create(a),s=new Id(o,i),l=this._attachContainer(o,s,i);return s.containerInstance=l,this._attachDialogContent(e,s,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){cg(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){cg(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),cg(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new mr({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),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,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let a=r.injector||r.viewContainerRef?.injector,o=[{provide:Ec,useValue:r},{provide:Id,useValue:i},{provide:Po,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,o.push(...r.container.providers(r))):s=lg;let l=new hr(s,r.viewContainerRef,Le.create({parent:a||this._injector,providers:o}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,a){if(e instanceof $e){let o=this._createInjector(a,i,r,void 0),s={$implicit:a.data,dialogRef:i};a.templateContext&&(s=Y(Y({},s),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),r.attachTemplatePortal(new zi(e,null,s,o))}else{let o=this._createInjector(a,i,r,this._injector),s=r.attachComponentPortal(new hr(e,a.viewContainerRef,o,a.componentFactoryResolver));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,r,a){let o=e.injector||e.viewContainerRef?.injector,s=[{provide:EQ,useValue:e.data},{provide:Id,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!o||!o.get(Je,null,{optional:!0}))&&s.push({provide:Je,useValue:{value:e.direction,change:ce()}}),Le.create({parent:o||a,providers:s})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let a=i[r];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(i){return new(i||t)(k(vt),k(Le),k(OQ,8),k(t,12),k(c2),k(IQ))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function cg(t,n){let e=t.length;for(;e--;)n(t[e])}var ID=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[dg],imports:[Pn,$n,Ds,$n]})}}return t})();function TQ(t,n){}var Ed=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},ug="mdc-dialog--open",ED="mdc-dialog--opening",OD="mdc-dialog--closing",VQ=150,AQ=75,zQ=(()=>{class t extends lg{constructor(e,i,r,a,o,s,l,h,v){super(e,i,r,a,o,s,l,v),this._animationMode=h,this._animationStateChanged=new B,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?TD(this._config.enterAnimationDuration)??VQ:0,this._exitAnimationDuration=this._animationsEnabled?TD(this._config.exitAnimationDuration)??AQ:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(PD,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ED,ug)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ug),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ug),this._animationsEnabled?(this._hostElement.style.setProperty(PD,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(OD)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(ED,OD)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static{this.\u0275fac=function(i){return new(i||t)(m($),m(yc),m(Ce,8),m(Ed),m(Io),m(oe),m(Po),m(ot,8),m(Qt))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(jt("id",r._config.id),ie("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),re("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[de,ae],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",0)(1,"div",1),w(2,TQ,0,0,"ng-template",2),f()())},dependencies:[Qi],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return t})(),PD="--mat-dialog-transition-duration";function TD(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?di(t.substring(0,t.length-2)):t.endsWith("s")?di(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var bh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(bh||{}),Wt=class{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new U,this._beforeClosed=new U,this._state=bh.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Ve(r=>r.state==="opened"),Ue(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Ve(r=>r.state==="closed"),Ue(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),nt(this.backdropClick(),this.keydownEvents().pipe(Ve(r=>r.keyCode===27&&!this.disableClose&&!xt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),VD(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Ve(e=>e.state==="closing"),Ue(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=bh.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;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._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=bh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function VD(t,n,e){return t._closeInteractionType=n,t.close(e)}var Mi=new L("MatMdcDialogData"),LQ=new L("mat-mdc-dialog-default-options"),HQ=new L("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.block()}});var RQ=0,Gn=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,a,o,s,l,h){this._overlay=e,this._defaultOptions=a,this._scrollStrategy=o,this._parentDialog=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new U,this._afterOpenedAtThisLevel=new U,this.dialogConfigClass=Ed,this.afterAllClosed=Hn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Qe(void 0))),this._dialog=i.get(dg),this._dialogRefConstructor=Wt,this._dialogContainerType=zQ,this._dialogDataToken=Mi}open(e,i){let r;i=Y(Y({},this._defaultOptions||new Ed),i),i.id=i.id||`mat-mdc-dialog-${RQ++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,Ge(Y({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ec,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(o,s,l)=>(r=new this._dialogRefConstructor(o,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=a.componentRef,r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}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()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static{this.\u0275fac=function(i){return new(i||t)(k(vt),k(Le),k(Nr,8),k(LQ,8),k(HQ),k(t,12),k(c2),k(ot,8))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),NQ=0,Si=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=zD(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){VD(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(i){return new(i||t)(m(Wt,8),m($),m(Gn))}}static{this.\u0275dir=T({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&H("click",function(o){return r._onButtonClick(o)}),i&2&&ie("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Te]})}}return t})(),AD=(()=>{class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=zD(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(i){return new(i||t)(m(Wt,8),m($),m(Gn))}}static{this.\u0275dir=T({type:t,standalone:!0})}}return t})(),yi=(()=>{class t extends AD{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${NQ++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&jt("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[de]})}}return t})(),ki=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[wC([ma])]})}}return t})(),Ii=(()=>{class t extends AD{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&re("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[de]})}}return t})();function zD(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var LD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Gn],imports:[ID,Pn,$n,fe,fe]})}}return t})();var HD=(()=>{class t{constructor(){}createFormGroup(e){let i={};return e.forEach(r=>{i[r.controlName]=r.required?new kn(r.value,_i.required):new kn(r.value)}),new UM(i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var jQ=t=>[t,"responsive-column"],BQ=t=>({data:t});function UQ(t,n){if(t&1&&(p(0,"div",6),d(1,` - `),R(2,"mifosx-formfield",7),d(3,` - `),f()),t&2){let e=n.$implicit,i=M();C("ngClass","flex-"+i.layout.flex+" responsive-flex-full"),g(2),C("formfield",e)("form",i.form)}}var $Q=2,Oc=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this.data=i,this.formGroupService=r,this.layout={columns:1,columnWidth:400,flex:100,cancelButtonText:"Cancel",addButtonText:"Add"},this.dialogRef.disableClose=i.disableClose!==void 0?i.disableClose:!0,this.formfields=i.formfields.sort((a,o)=>a.order-o.order),this.pristine=i.pristine!==void 0?i.pristine:!0,this.layout=Y(Y({},this.layout),i.layout),this.layout.gap=this.layout.columns>1?$Q:0,this.layout.flex=this.layout.flex/this.layout.columns-this.layout.gap}ngOnInit(){this.dialogRef.updateSize(`${this.layout.columnWidth*this.layout.columns}px`),this.form=this.formGroupService.createFormGroup(this.formfields),this.pristine||this.form.markAsDirty()}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi),m(HD))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-form-dialog"]],decls:19,vars:16,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"formGroup","ngClass"],[3,"ngClass",4,"ngFor","ngForOf"],["align","end",1,"layout-row","layout-xs-column","layout-align-center","gap-2percent"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close","disabled"],[3,"ngClass"],[1,"flex-fill",3,"formfield","form"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),f(),d(2,` - -`),p(3,"div",1),d(4,` - `),w(5,UQ,4,3,"div",2),d(6,` -`),f(),d(7,` - -`),p(8,"mat-dialog-actions",3),d(9,` - `),p(10,"button",4),d(11),I(12,"translate"),f(),d(13,` - `),p(14,"button",5),d(15),I(16,"translate"),f(),d(17,` -`),f(),d(18,` -`)),i&2&&(g(),E(r.data.title),g(2),C("formGroup",r.form)("ngClass",sr(12,jQ,r.layout.columns>1?"flex flex-wrap gap-"+r.layout.gap+"percent":"layout-column")),g(2),C("ngForOf",r.formfields),g(6),E(O(12,8,"labels.buttons."+r.layout.cancelButtonText)),g(3),C("mat-dialog-close",sr(14,BQ,r.form))("disabled",!r.form.valid||r.form.pristine),g(),ne(` - `,O(16,10,"labels.buttons."+r.layout.addButtonText),` - `))},dependencies:[Ni,ni,lt,Si,yi,Ii,ki,jr,tn,kD,Pe]})}}return t})();var GQ=()=>({delete:!0}),Ao=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-delete-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,` -`),p(4,"div",1),d(5,` - `),p(6,"p"),d(7),I(8,"translate"),f(),d(9,` -`),f(),d(10,` -`),p(11,"mat-dialog-actions",2),d(12,` - `),p(13,"button",3),d(14),I(15,"translate"),f(),d(16,` - `),p(17,"button",4),d(18),I(19,"translate"),f(),d(20,` -`),f(),d(21,` -`)),i&2&&(g(),E(O(2,6,"labels.heading.Delete")),g(6),Ht("",O(8,8,"labels.text.Are you sure you want to delete")," ",r.data.deleteContext," ?"),g(7),E(O(15,10,"labels.buttons.Cancel")),g(3),C("mat-dialog-close",or(14,GQ)),g(),ne(` - `,O(19,12,"labels.buttons.Confirm"),` - `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();var WQ=()=>({cancel:!0});function qQ(t,n){t&1&&(p(0,"p"),d(1),I(2,"translate"),f()),t&2&&(g(),ne(` - `,O(2,1,"labels.text.Are you sure you want to leave this page and lose all inputted data"),`? - `))}function YQ(t,n){if(t&1&&(p(0,"p"),d(1),I(2,"translate"),f()),t&2){let e=M();g(),Ht(` - `,O(2,2,"labels.text.Are you sure you want to cancel")," ",e.data.cancelContext,` ? - `)}}var W7e=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-cancel-dialog"]],decls:22,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,` -`),p(4,"div",1),d(5,` - `),w(6,qQ,3,3,"p",2),d(7,` - `),w(8,YQ,3,4,"p",2),d(9,` -`),f(),d(10,` -`),p(11,"mat-dialog-actions",3),d(12,` - `),p(13,"button",4),d(14),I(15,"translate"),f(),d(16,` - `),p(17,"button",5),d(18),I(19,"translate"),f(),d(20,` -`),f(),d(21,` -`)),i&2&&(g(),E(O(2,6,"labels.buttons.Cancel")),g(5),C("ngIf",!r.data.cancelContext),g(2),C("ngIf",r.data.cancelContext),g(6),E(O(15,8,"labels.buttons.No")),g(3),C("mat-dialog-close",or(12,WQ)),g(),ne(` - `,O(19,10,"labels.buttons.Yes"),` - `))},dependencies:[Re,lt,Si,yi,Ii,ki,Pe]})}}return t})();function QQ(t,n,e){return(n=ZQ(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function RD(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 ve(t){for(var n=1;n{},Ag={},uS={},hS=null,mS={mark:ND,measure:ND};try{typeof window<"u"&&(Ag=window),typeof document<"u"&&(uS=document),typeof MutationObserver<"u"&&(hS=MutationObserver),typeof performance<"u"&&(mS=performance)}catch{}var{userAgent:FD=""}=Ag.navigator||{},Vs=Ag,ui=uS,jD=hS,yh=mS,Y7e=!!Vs.document,Ho=!!ui.documentElement&&!!ui.head&&typeof ui.addEventListener=="function"&&typeof ui.createElement=="function",pS=~FD.indexOf("MSIE")||~FD.indexOf("Trident/"),XQ=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,JQ=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,fS={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},eK={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},gS=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Vn="classic",Sh="duotone",tK="sharp",iK="sharp-duotone",_S=[Vn,Sh,tK,iK],nK={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},rK={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},aK=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),oK={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},sK=["fak","fa-kit","fakd","fa-kit-duotone"],BD={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},cK=["kit"],lK={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},dK=["fak","fakd"],uK={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},UD={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Ch={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},hK=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],mK=["fak","fa-kit","fakd","fa-kit-duotone"],pK={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},fK={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},gK={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},_g={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},_K=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],vg=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...hK,..._K],vK=["solid","regular","light","thin","duotone","brands"],vS=[1,2,3,4,5,6,7,8,9,10],bK=vS.concat([11,12,13,14,15,16,17,18,19,20]),yK=[...Object.keys(gK),...vK,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ch.GROUP,Ch.SWAP_OPACITY,Ch.PRIMARY,Ch.SECONDARY].concat(vS.map(t=>"".concat(t,"x"))).concat(bK.map(t=>"w-".concat(t))),CK={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},zo="___FONT_AWESOME___",bg=16,bS="fa",yS="svg-inline--fa",Tc="data-fa-i2svg",yg="data-fa-pseudo-element",xK="data-fa-pseudo-element-pending",zg="data-prefix",Lg="data-icon",$D="fontawesome-i2svg",MK="async",wK=["HTML","HEAD","STYLE","SCRIPT"],CS=(()=>{try{return!0}catch{return!1}})();function zd(t){return new Proxy(t,{get(n,e){return e in n?n[e]:n[Vn]}})}var xS=ve({},fS);xS[Vn]=ve(ve(ve(ve({},{"fa-duotone":"duotone"}),fS[Vn]),BD.kit),BD["kit-duotone"]);var DK=zd(xS),Cg=ve({},oK);Cg[Vn]=ve(ve(ve(ve({},{duotone:"fad"}),Cg[Vn]),UD.kit),UD["kit-duotone"]);var GD=zd(Cg),xg=ve({},_g);xg[Vn]=ve(ve({},xg[Vn]),uK.kit);var Hg=zd(xg),Mg=ve({},fK);Mg[Vn]=ve(ve({},Mg[Vn]),lK.kit);var Q7e=zd(Mg),SK=XQ,MS="fa-layers-text",kK=JQ,IK=ve({},nK),K7e=zd(IK),EK=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],hg=eK,OK=[...cK,...yK],Pd=Vs.FontAwesomeConfig||{};function PK(t){var n=ui.querySelector("script["+t+"]");if(n)return n.getAttribute(t)}function TK(t){return t===""?!0:t==="false"?!1:t==="true"?!0:t}ui&&typeof ui.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(n=>{let[e,i]=n,r=TK(PK(e));r!=null&&(Pd[i]=r)});var wS={styleDefault:"solid",familyDefault:Vn,cssPrefix:bS,replacementClass:yS,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Pd.familyPrefix&&(Pd.cssPrefix=Pd.familyPrefix);var g2=ve(ve({},wS),Pd);g2.autoReplaceSvg||(g2.observeMutations=!1);var Ne={};Object.keys(wS).forEach(t=>{Object.defineProperty(Ne,t,{enumerable:!0,set:function(n){g2[t]=n,Td.forEach(e=>e(Ne))},get:function(){return g2[t]}})});Object.defineProperty(Ne,"familyPrefix",{enumerable:!0,set:function(t){g2.cssPrefix=t,Td.forEach(n=>n(Ne))},get:function(){return g2.cssPrefix}});Vs.FontAwesomeConfig=Ne;var Td=[];function VK(t){return Td.push(t),()=>{Td.splice(Td.indexOf(t),1)}}var Ts=bg,Wa={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function AK(t){if(!t||!Ho)return;let n=ui.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=t;let e=ui.head.childNodes,i=null;for(let r=e.length-1;r>-1;r--){let a=e[r],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=a)}return ui.head.insertBefore(n,i),t}var zK="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Vd(){let t=12,n="";for(;t-- >0;)n+=zK[Math.random()*62|0];return n}function _2(t){let n=[];for(let e=(t||[]).length>>>0;e--;)n[e]=t[e];return n}function Rg(t){return t.classList?_2(t.classList):(t.getAttribute("class")||"").split(" ").filter(n=>n)}function DS(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function LK(t){return Object.keys(t||{}).reduce((n,e)=>n+"".concat(e,'="').concat(DS(t[e]),'" '),"").trim()}function kh(t){return Object.keys(t||{}).reduce((n,e)=>n+"".concat(e,": ").concat(t[e].trim(),";"),"")}function Ng(t){return t.size!==Wa.size||t.x!==Wa.x||t.y!==Wa.y||t.rotate!==Wa.rotate||t.flipX||t.flipY}function HK(t){let{transform:n,containerWidth:e,iconWidth:i}=t,r={transform:"translate(".concat(e/2," 256)")},a="translate(".concat(n.x*32,", ").concat(n.y*32,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),l={transform:"".concat(a," ").concat(o," ").concat(s)},h={transform:"translate(".concat(i/2*-1," -256)")};return{outer:r,inner:l,path:h}}function RK(t){let{transform:n,width:e=bg,height:i=bg,startCentered:r=!1}=t,a="";return r&&pS?a+="translate(".concat(n.x/Ts-e/2,"em, ").concat(n.y/Ts-i/2,"em) "):r?a+="translate(calc(-50% + ".concat(n.x/Ts,"em), calc(-50% + ").concat(n.y/Ts,"em)) "):a+="translate(".concat(n.x/Ts,"em, ").concat(n.y/Ts,"em) "),a+="scale(".concat(n.size/Ts*(n.flipX?-1:1),", ").concat(n.size/Ts*(n.flipY?-1:1),") "),a+="rotate(".concat(n.rotate,"deg) "),a}var NK=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; - --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - transform: scale(var(--fa-counter-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(-1 * var(--fa-li-width, 2em)); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - animation-name: fa-beat; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - animation-name: fa-bounce; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - animation-name: fa-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - animation-name: fa-beat-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - animation-name: fa-flip; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - animation-name: fa-shake; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - animation-name: fa-spin; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 2s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - animation-name: fa-spin; - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - animation-delay: -1ms; - animation-duration: 1ms; - animation-iteration-count: 1; - transition-delay: 0s; - transition-duration: 0s; - } -} -@keyframes fa-beat { - 0%, 90% { - transform: scale(1); - } - 45% { - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-bounce { - 0% { - transform: scale(1, 1) translateY(0); - } - 10% { - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - 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)); - } - 50% { - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - transform: scale(1, 1) translateY(0); - } - 100% { - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - transform: scale(1); - } - 50% { - opacity: 1; - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-flip { - 50% { - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-shake { - 0% { - transform: rotate(-15deg); - } - 4% { - transform: rotate(15deg); - } - 8%, 24% { - transform: rotate(-18deg); - } - 12%, 28% { - transform: rotate(18deg); - } - 16% { - transform: rotate(-22deg); - } - 20% { - transform: rotate(22deg); - } - 32% { - transform: rotate(-12deg); - } - 36% { - transform: rotate(12deg); - } - 40%, 100% { - transform: rotate(0deg); - } -} -@keyframes fa-spin { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(360deg); - } -} -.fa-rotate-90 { - transform: rotate(90deg); -} - -.fa-rotate-180 { - transform: rotate(180deg); -} - -.fa-rotate-270 { - transform: rotate(270deg); -} - -.fa-flip-horizontal { - transform: scale(-1, 1); -} - -.fa-flip-vertical { - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - transform: scale(-1, -1); -} - -.fa-rotate-by { - transform: rotate(var(--fa-rotate-angle, 0)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -}`;function SS(){let t=bS,n=yS,e=Ne.cssPrefix,i=Ne.replacementClass,r=NK;if(e!==t||i!==n){let a=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(n),"g");r=r.replace(a,".".concat(e,"-")).replace(o,"--".concat(e,"-")).replace(s,".".concat(i))}return r}var WD=!1;function mg(){Ne.autoAddCss&&!WD&&(AK(SS()),WD=!0)}var FK={mixout(){return{dom:{css:SS,insertCss:mg}}},hooks(){return{beforeDOMElementCreation(){mg()},beforeI2svg(){mg()}}}},Lo=Vs||{};Lo[zo]||(Lo[zo]={});Lo[zo].styles||(Lo[zo].styles={});Lo[zo].hooks||(Lo[zo].hooks={});Lo[zo].shims||(Lo[zo].shims=[]);var qa=Lo[zo],kS=[],IS=function(){ui.removeEventListener("DOMContentLoaded",IS),wh=1,kS.map(t=>t())},wh=!1;Ho&&(wh=(ui.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ui.readyState),wh||ui.addEventListener("DOMContentLoaded",IS));function jK(t){Ho&&(wh?setTimeout(t,0):kS.push(t))}function Ld(t){let{tag:n,attributes:e={},children:i=[]}=t;return typeof t=="string"?DS(t):"<".concat(n," ").concat(LK(e),">").concat(i.map(Ld).join(""),"")}function qD(t,n,e){if(t&&t[n]&&t[n][e])return{prefix:n,iconName:e,icon:t[n][e]}}var BK=function(n,e){return function(i,r,a,o){return n.call(e,i,r,a,o)}},pg=function(n,e,i,r){var a=Object.keys(n),o=a.length,s=r!==void 0?BK(e,r):e,l,h,v;for(i===void 0?(l=1,v=n[a[0]]):(l=0,v=i);l=55296&&r<=56319&&e=55296&&i<=56319&&e>n+1&&(r=t.charCodeAt(n+1),r>=56320&&r<=57343)?(i-55296)*1024+r-56320+65536:i}function YD(t){return Object.keys(t).reduce((n,e)=>{let i=t[e];return!!i.icon?n[i.iconName]=i.icon:n[e]=i,n},{})}function Dg(t,n){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{skipHooks:i=!1}=e,r=YD(n);typeof qa.hooks.addPack=="function"&&!i?qa.hooks.addPack(t,YD(n)):qa.styles[t]=ve(ve({},qa.styles[t]||{}),r),t==="fas"&&Dg("fa",n)}var{styles:Ad,shims:GK}=qa,ES=Object.keys(Hg),WK=ES.reduce((t,n)=>(t[n]=Object.keys(Hg[n]),t),{}),Fg=null,OS={},PS={},TS={},VS={},AS={};function qK(t){return~OK.indexOf(t)}function YK(t,n){let e=n.split("-"),i=e[0],r=e.slice(1).join("-");return i===t&&r!==""&&!qK(r)?r:null}var zS=()=>{let t=i=>pg(Ad,(r,a,o)=>(r[o]=pg(a,i,{}),r),{});OS=t((i,r,a)=>(r[3]&&(i[r[3]]=a),r[2]&&r[2].filter(s=>typeof s=="number").forEach(s=>{i[s.toString(16)]=a}),i)),PS=t((i,r,a)=>(i[a]=a,r[2]&&r[2].filter(s=>typeof s=="string").forEach(s=>{i[s]=a}),i)),AS=t((i,r,a)=>{let o=r[2];return i[a]=a,o.forEach(s=>{i[s]=a}),i});let n="far"in Ad||Ne.autoFetchSvg,e=pg(GK,(i,r)=>{let a=r[0],o=r[1],s=r[2];return o==="far"&&!n&&(o="fas"),typeof a=="string"&&(i.names[a]={prefix:o,iconName:s}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:o,iconName:s}),i},{names:{},unicodes:{}});TS=e.names,VS=e.unicodes,Fg=Ih(Ne.styleDefault,{family:Ne.familyDefault})};VK(t=>{Fg=Ih(t.styleDefault,{family:Ne.familyDefault})});zS();function jg(t,n){return(OS[t]||{})[n]}function QK(t,n){return(PS[t]||{})[n]}function Pc(t,n){return(AS[t]||{})[n]}function LS(t){return TS[t]||{prefix:null,iconName:null}}function KK(t){let n=VS[t],e=jg("fas",t);return n||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}function As(){return Fg}var HS=()=>({prefix:null,iconName:null,rest:[]});function ZK(t){let n=Vn,e=ES.reduce((i,r)=>(i[r]="".concat(Ne.cssPrefix,"-").concat(r),i),{});return _S.forEach(i=>{(t.includes(e[i])||t.some(r=>WK[i].includes(r)))&&(n=i)}),n}function Ih(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{family:e=Vn}=n,i=DK[e][t];if(e===Sh&&!t)return"fad";let r=GD[e][t]||GD[e][i],a=t in qa.styles?t:null;return r||a||null}function XK(t){let n=[],e=null;return t.forEach(i=>{let r=YK(Ne.cssPrefix,i);r?e=r:i&&n.push(i)}),{iconName:e,rest:n}}function QD(t){return t.sort().filter((n,e,i)=>i.indexOf(n)===e)}function Eh(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{skipLookups:e=!1}=n,i=null,r=vg.concat(mK),a=QD(t.filter(y=>r.includes(y))),o=QD(t.filter(y=>!vg.includes(y))),s=a.filter(y=>(i=y,!gS.includes(y))),[l=null]=s,h=ZK(a),v=ve(ve({},XK(o)),{},{prefix:Ih(l,{family:h})});return ve(ve(ve({},v),iZ({values:t,family:h,styles:Ad,config:Ne,canonical:v,givenPrefix:i})),JK(e,i,v))}function JK(t,n,e){let{prefix:i,iconName:r}=e;if(t||!i||!r)return{prefix:i,iconName:r};let a=n==="fa"?LS(r):{},o=Pc(i,r);return r=a.iconName||o||r,i=a.prefix||i,i==="far"&&!Ad.far&&Ad.fas&&!Ne.autoFetchSvg&&(i="fas"),{prefix:i,iconName:r}}var eZ=_S.filter(t=>t!==Vn||t!==Sh),tZ=Object.keys(_g).filter(t=>t!==Vn).map(t=>Object.keys(_g[t])).flat();function iZ(t){let{values:n,family:e,canonical:i,givenPrefix:r="",styles:a={},config:o={}}=t,s=e===Sh,l=n.includes("fa-duotone")||n.includes("fad"),h=o.familyDefault==="duotone",v=i.prefix==="fad"||i.prefix==="fa-duotone";if(!s&&(l||h||v)&&(i.prefix="fad"),(n.includes("fa-brands")||n.includes("fab"))&&(i.prefix="fab"),!i.prefix&&eZ.includes(e)&&(Object.keys(a).find(D=>tZ.includes(D))||o.autoFetchSvg)){let D=aK.get(e).defaultShortPrefixId;i.prefix=D,i.iconName=Pc(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||r==="fa")&&(i.prefix=As()||"fas"),i}var Sg=class{constructor(){this.definitions={}}add(){for(var n=arguments.length,e=new Array(n),i=0;i{this.definitions[a]=ve(ve({},this.definitions[a]||{}),r[a]),Dg(a,r[a]);let o=Hg[Vn][a];o&&Dg(o,r[a]),zS()})}reset(){this.definitions={}}_pullDefinitions(n,e){let i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map(r=>{let{prefix:a,iconName:o,icon:s}=i[r],l=s[2];n[a]||(n[a]={}),l.length>0&&l.forEach(h=>{typeof h=="string"&&(n[a][h]=s)}),n[a][o]=s}),n}},KD=[],p2={},f2={},nZ=Object.keys(f2);function rZ(t,n){let{mixoutsTo:e}=n;return KD=t,p2={},Object.keys(f2).forEach(i=>{nZ.indexOf(i)===-1&&delete f2[i]}),KD.forEach(i=>{let r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(a=>{typeof r[a]=="function"&&(e[a]=r[a]),typeof r[a]=="object"&&Object.keys(r[a]).forEach(o=>{e[a]||(e[a]={}),e[a][o]=r[a][o]})}),i.hooks){let a=i.hooks();Object.keys(a).forEach(o=>{p2[o]||(p2[o]=[]),p2[o].push(a[o])})}i.provides&&i.provides(f2)}),e}function kg(t,n){for(var e=arguments.length,i=new Array(e>2?e-2:0),r=2;r{n=o.apply(null,[n,...i])}),n}function Vc(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i{a.apply(null,e)})}function zs(){let t=arguments[0],n=Array.prototype.slice.call(arguments,1);return f2[t]?f2[t].apply(null,n):void 0}function Ig(t){t.prefix==="fa"&&(t.prefix="fas");let{iconName:n}=t,e=t.prefix||As();if(n)return n=Pc(e,n)||n,qD(RS.definitions,e,n)||qD(qa.styles,e,n)}var RS=new Sg,aZ=()=>{Ne.autoReplaceSvg=!1,Ne.observeMutations=!1,Vc("noAuto")},oZ={i2svg:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ho?(Vc("beforeI2svg",t),zs("pseudoElements2svg",t),zs("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:n}=t;Ne.autoReplaceSvg===!1&&(Ne.autoReplaceSvg=!0),Ne.observeMutations=!0,jK(()=>{cZ({autoReplaceSvgRoot:n}),Vc("watch",t)})}},sZ={icon:t=>{if(t===null)return null;if(typeof t=="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Pc(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){let n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],e=Ih(t[0]);return{prefix:e,iconName:Pc(e,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Ne.cssPrefix,"-"))>-1||t.match(SK))){let n=Eh(t.split(" "),{skipLookups:!0});return{prefix:n.prefix||As(),iconName:Pc(n.prefix,n.iconName)||n.iconName}}if(typeof t=="string"){let n=As();return{prefix:n,iconName:Pc(n,t)||t}}}},wr={noAuto:aZ,config:Ne,dom:oZ,parse:sZ,library:RS,findIconDefinition:Ig,toHtml:Ld},cZ=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:n=ui}=t;(Object.keys(qa.styles).length>0||Ne.autoFetchSvg)&&Ho&&Ne.autoReplaceSvg&&wr.dom.i2svg({node:n})};function Oh(t,n){return Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(e=>Ld(e))}}),Object.defineProperty(t,"node",{get:function(){if(!Ho)return;let e=ui.createElement("div");return e.innerHTML=t.html,e.children}}),t}function lZ(t){let{children:n,main:e,mask:i,attributes:r,styles:a,transform:o}=t;if(Ng(o)&&e.found&&!i.found){let{width:s,height:l}=e,h={x:s/l/2,y:.5};r.style=kh(ve(ve({},a),{},{"transform-origin":"".concat(h.x+o.x/16,"em ").concat(h.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:n}]}function dZ(t){let{prefix:n,iconName:e,children:i,attributes:r,symbol:a}=t,o=a===!0?"".concat(n,"-").concat(Ne.cssPrefix,"-").concat(e):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ve(ve({},r),{},{id:o}),children:i}]}]}function Bg(t){let{icons:{main:n,mask:e},prefix:i,iconName:r,transform:a,symbol:o,title:s,maskId:l,titleId:h,extra:v,watchable:y=!1}=t,{width:D,height:S}=e.found?e:n,V=dK.includes(i),K=[Ne.replacementClass,r?"".concat(Ne.cssPrefix,"-").concat(r):""].filter(It=>v.classes.indexOf(It)===-1).filter(It=>It!==""||!!It).concat(v.classes).join(" "),te={children:[],attributes:ve(ve({},v.attributes),{},{"data-prefix":i,"data-icon":r,class:K,role:v.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(D," ").concat(S)})},ge=V&&!~v.classes.indexOf("fa-fw")?{width:"".concat(D/S*16*.0625,"em")}:{};y&&(te.attributes[Tc]=""),s&&(te.children.push({tag:"title",attributes:{id:te.attributes["aria-labelledby"]||"title-".concat(h||Vd())},children:[s]}),delete te.attributes.title);let Oe=ve(ve({},te),{},{prefix:i,iconName:r,main:n,mask:e,maskId:l,transform:a,symbol:o,styles:ve(ve({},ge),v.styles)}),{children:He,attributes:Mt}=e.found&&n.found?zs("generateAbstractMask",Oe)||{children:[],attributes:{}}:zs("generateAbstractIcon",Oe)||{children:[],attributes:{}};return Oe.children=He,Oe.attributes=Mt,o?dZ(Oe):lZ(Oe)}function ZD(t){let{content:n,width:e,height:i,transform:r,title:a,extra:o,watchable:s=!1}=t,l=ve(ve(ve({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(l[Tc]="");let h=ve({},o.styles);Ng(r)&&(h.transform=RK({transform:r,startCentered:!0,width:e,height:i}),h["-webkit-transform"]=h.transform);let v=kh(h);v.length>0&&(l.style=v);let y=[];return y.push({tag:"span",attributes:l,children:[n]}),a&&y.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),y}function uZ(t){let{content:n,title:e,extra:i}=t,r=ve(ve(ve({},i.attributes),e?{title:e}:{}),{},{class:i.classes.join(" ")}),a=kh(i.styles);a.length>0&&(r.style=a);let o=[];return o.push({tag:"span",attributes:r,children:[n]}),e&&o.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),o}var{styles:fg}=qa;function Eg(t){let n=t[0],e=t[1],[i]=t.slice(4),r=null;return Array.isArray(i)?r={tag:"g",attributes:{class:"".concat(Ne.cssPrefix,"-").concat(hg.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ne.cssPrefix,"-").concat(hg.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Ne.cssPrefix,"-").concat(hg.PRIMARY),fill:"currentColor",d:i[1]}}]}:r={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:n,height:e,icon:r}}var hZ={found:!1,width:512,height:512};function mZ(t,n){!CS&&!Ne.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(n,'" is missing.'))}function Og(t,n){let e=n;return n==="fa"&&Ne.styleDefault!==null&&(n=As()),new Promise((i,r)=>{if(e==="fa"){let a=LS(t)||{};t=a.iconName||t,n=a.prefix||n}if(t&&n&&fg[n]&&fg[n][t]){let a=fg[n][t];return i(Eg(a))}mZ(t,n),i(ve(ve({},hZ),{},{icon:Ne.showMissingIcons&&t?zs("missingIconAbstract")||{}:{}}))})}var XD=()=>{},Pg=Ne.measurePerformance&&yh&&yh.mark&&yh.measure?yh:{mark:XD,measure:XD},Od='FA "6.7.2"',pZ=t=>(Pg.mark("".concat(Od," ").concat(t," begins")),()=>NS(t)),NS=t=>{Pg.mark("".concat(Od," ").concat(t," ends")),Pg.measure("".concat(Od," ").concat(t),"".concat(Od," ").concat(t," begins"),"".concat(Od," ").concat(t," ends"))},Ug={begin:pZ,end:NS},xh=()=>{};function JD(t){return typeof(t.getAttribute?t.getAttribute(Tc):null)=="string"}function fZ(t){let n=t.getAttribute?t.getAttribute(zg):null,e=t.getAttribute?t.getAttribute(Lg):null;return n&&e}function gZ(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(Ne.replacementClass)}function _Z(){return Ne.autoReplaceSvg===!0?Mh.replace:Mh[Ne.autoReplaceSvg]||Mh.replace}function vZ(t){return ui.createElementNS("http://www.w3.org/2000/svg",t)}function bZ(t){return ui.createElement(t)}function FS(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{ceFn:e=t.tag==="svg"?vZ:bZ}=n;if(typeof t=="string")return ui.createTextNode(t);let i=e(t.tag);return Object.keys(t.attributes||[]).forEach(function(a){i.setAttribute(a,t.attributes[a])}),(t.children||[]).forEach(function(a){i.appendChild(FS(a,{ceFn:e}))}),i}function yZ(t){let n=" ".concat(t.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var Mh={replace:function(t){let n=t[0];if(n.parentNode)if(t[1].forEach(e=>{n.parentNode.insertBefore(FS(e),n)}),n.getAttribute(Tc)===null&&Ne.keepOriginalSource){let e=ui.createComment(yZ(n));n.parentNode.replaceChild(e,n)}else n.remove()},nest:function(t){let n=t[0],e=t[1];if(~Rg(n).indexOf(Ne.replacementClass))return Mh.replace(t);let i=new RegExp("".concat(Ne.cssPrefix,"-.*"));if(delete e[0].attributes.id,e[0].attributes.class){let a=e[0].attributes.class.split(" ").reduce((o,s)=>(s===Ne.replacementClass||s.match(i)?o.toSvg.push(s):o.toNode.push(s),o),{toNode:[],toSvg:[]});e[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}let r=e.map(a=>Ld(a)).join(` -`);n.setAttribute(Tc,""),n.innerHTML=r}};function eS(t){t()}function jS(t,n){let e=typeof n=="function"?n:xh;if(t.length===0)e();else{let i=eS;Ne.mutateApproach===MK&&(i=Vs.requestAnimationFrame||eS),i(()=>{let r=_Z(),a=Ug.begin("mutate");t.map(r),a(),e()})}}var $g=!1;function BS(){$g=!0}function Tg(){$g=!1}var Dh=null;function tS(t){if(!jD||!Ne.observeMutations)return;let{treeCallback:n=xh,nodeCallback:e=xh,pseudoElementsCallback:i=xh,observeMutationsRoot:r=ui}=t;Dh=new jD(a=>{if($g)return;let o=As();_2(a).forEach(s=>{if(s.type==="childList"&&s.addedNodes.length>0&&!JD(s.addedNodes[0])&&(Ne.searchPseudoElements&&i(s.target),n(s.target)),s.type==="attributes"&&s.target.parentNode&&Ne.searchPseudoElements&&i(s.target.parentNode),s.type==="attributes"&&JD(s.target)&&~EK.indexOf(s.attributeName))if(s.attributeName==="class"&&fZ(s.target)){let{prefix:l,iconName:h}=Eh(Rg(s.target));s.target.setAttribute(zg,l||o),h&&s.target.setAttribute(Lg,h)}else gZ(s.target)&&e(s.target)})}),Ho&&Dh.observe(r,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function CZ(){Dh&&Dh.disconnect()}function xZ(t){let n=t.getAttribute("style"),e=[];return n&&(e=n.split(";").reduce((i,r)=>{let a=r.split(":"),o=a[0],s=a.slice(1);return o&&s.length>0&&(i[o]=s.join(":").trim()),i},{})),e}function MZ(t){let n=t.getAttribute("data-prefix"),e=t.getAttribute("data-icon"),i=t.innerText!==void 0?t.innerText.trim():"",r=Eh(Rg(t));return r.prefix||(r.prefix=As()),n&&e&&(r.prefix=n,r.iconName=e),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=QK(r.prefix,t.innerText)||jg(r.prefix,wg(t.innerText))),!r.iconName&&Ne.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=t.firstChild.data)),r}function wZ(t){let n=_2(t.attributes).reduce((r,a)=>(r.name!=="class"&&r.name!=="style"&&(r[a.name]=a.value),r),{}),e=t.getAttribute("title"),i=t.getAttribute("data-fa-title-id");return Ne.autoA11y&&(e?n["aria-labelledby"]="".concat(Ne.replacementClass,"-title-").concat(i||Vd()):(n["aria-hidden"]="true",n.focusable="false")),n}function DZ(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Wa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function iS(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:e,prefix:i,rest:r}=MZ(t),a=wZ(t),o=kg("parseNodeAttributes",{},t),s=n.styleParser?xZ(t):[];return ve({iconName:e,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:Wa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:r,styles:s,attributes:a}},o)}var{styles:SZ}=qa;function US(t){let n=Ne.autoReplaceSvg==="nest"?iS(t,{styleParser:!1}):iS(t);return~n.extra.classes.indexOf(MS)?zs("generateLayersText",t,n):zs("generateSvgReplacementMutation",t,n)}function kZ(){return[...sK,...vg]}function nS(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ho)return Promise.resolve();let e=ui.documentElement.classList,i=v=>e.add("".concat($D,"-").concat(v)),r=v=>e.remove("".concat($D,"-").concat(v)),a=Ne.autoFetchSvg?kZ():gS.concat(Object.keys(SZ));a.includes("fa")||a.push("fa");let o=[".".concat(MS,":not([").concat(Tc,"])")].concat(a.map(v=>".".concat(v,":not([").concat(Tc,"])"))).join(", ");if(o.length===0)return Promise.resolve();let s=[];try{s=_2(t.querySelectorAll(o))}catch{}if(s.length>0)i("pending"),r("complete");else return Promise.resolve();let l=Ug.begin("onTree"),h=s.reduce((v,y)=>{try{let D=US(y);D&&v.push(D)}catch(D){CS||D.name==="MissingIcon"&&console.error(D)}return v},[]);return new Promise((v,y)=>{Promise.all(h).then(D=>{jS(D,()=>{i("active"),i("complete"),r("pending"),typeof n=="function"&&n(),l(),v()})}).catch(D=>{l(),y(D)})})}function IZ(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;US(t).then(e=>{e&&jS([e],n)})}function EZ(t){return function(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(n||{}).icon?n:Ig(n||{}),{mask:r}=e;return r&&(r=(r||{}).icon?r:Ig(r||{})),t(i,ve(ve({},e),{},{mask:r}))}}var OZ=function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:e=Wa,symbol:i=!1,mask:r=null,maskId:a=null,title:o=null,titleId:s=null,classes:l=[],attributes:h={},styles:v={}}=n;if(!t)return;let{prefix:y,iconName:D,icon:S}=t;return Oh(ve({type:"icon"},t),()=>(Vc("beforeDOMElementCreation",{iconDefinition:t,params:n}),Ne.autoA11y&&(o?h["aria-labelledby"]="".concat(Ne.replacementClass,"-title-").concat(s||Vd()):(h["aria-hidden"]="true",h.focusable="false")),Bg({icons:{main:Eg(S),mask:r?Eg(r.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:D,transform:ve(ve({},Wa),e),symbol:i,title:o,maskId:a,titleId:s,extra:{attributes:h,styles:v,classes:l}})))},PZ={mixout(){return{icon:EZ(OZ)}},hooks(){return{mutationObserverCallbacks(t){return t.treeCallback=nS,t.nodeCallback=IZ,t}}},provides(t){t.i2svg=function(n){let{node:e=ui,callback:i=()=>{}}=n;return nS(e,i)},t.generateSvgReplacementMutation=function(n,e){let{iconName:i,title:r,titleId:a,prefix:o,transform:s,symbol:l,mask:h,maskId:v,extra:y}=e;return new Promise((D,S)=>{Promise.all([Og(i,o),h.iconName?Og(h.iconName,h.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(V=>{let[K,te]=V;D([n,Bg({icons:{main:K,mask:te},prefix:o,iconName:i,transform:s,symbol:l,maskId:v,title:r,titleId:a,extra:y,watchable:!0})])}).catch(S)})},t.generateAbstractIcon=function(n){let{children:e,attributes:i,main:r,transform:a,styles:o}=n,s=kh(o);s.length>0&&(i.style=s);let l;return Ng(a)&&(l=zs("generateAbstractTransformGrouping",{main:r,transform:a,containerWidth:r.width,iconWidth:r.width})),e.push(l||r.icon),{children:e,attributes:i}}}},TZ={mixout(){return{layer(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:e=[]}=n;return Oh({type:"layer"},()=>{Vc("beforeDOMElementCreation",{assembler:t,params:n});let i=[];return t(r=>{Array.isArray(r)?r.map(a=>{i=i.concat(a.abstract)}):i=i.concat(r.abstract)}),[{tag:"span",attributes:{class:["".concat(Ne.cssPrefix,"-layers"),...e].join(" ")},children:i}]})}}}},VZ={mixout(){return{counter(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:e=null,classes:i=[],attributes:r={},styles:a={}}=n;return Oh({type:"counter",content:t},()=>(Vc("beforeDOMElementCreation",{content:t,params:n}),uZ({content:t.toString(),title:e,extra:{attributes:r,styles:a,classes:["".concat(Ne.cssPrefix,"-layers-counter"),...i]}})))}}}},AZ={mixout(){return{text(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:e=Wa,title:i=null,classes:r=[],attributes:a={},styles:o={}}=n;return Oh({type:"text",content:t},()=>(Vc("beforeDOMElementCreation",{content:t,params:n}),ZD({content:t,transform:ve(ve({},Wa),e),title:i,extra:{attributes:a,styles:o,classes:["".concat(Ne.cssPrefix,"-layers-text"),...r]}})))}}},provides(t){t.generateLayersText=function(n,e){let{title:i,transform:r,extra:a}=e,o=null,s=null;if(pS){let l=parseInt(getComputedStyle(n).fontSize,10),h=n.getBoundingClientRect();o=h.width/l,s=h.height/l}return Ne.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,ZD({content:n.innerHTML,width:o,height:s,transform:r,title:i,extra:a,watchable:!0})])}}},zZ=new RegExp('"',"ug"),rS=[1105920,1112319],aS=ve(ve(ve(ve({},{FontAwesome:{normal:"fas",400:"fas"}}),rK),CK),pK),Vg=Object.keys(aS).reduce((t,n)=>(t[n.toLowerCase()]=aS[n],t),{}),LZ=Object.keys(Vg).reduce((t,n)=>{let e=Vg[n];return t[n]=e[900]||[...Object.entries(e)][0][1],t},{});function HZ(t){let n=t.replace(zZ,""),e=$K(n,0),i=e>=rS[0]&&e<=rS[1],r=n.length===2?n[0]===n[1]:!1;return{value:wg(r?n[0]:n),isSecondary:i||r}}function RZ(t,n){let e=t.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(n),r=isNaN(i)?"normal":i;return(Vg[e]||{})[r]||LZ[e]}function oS(t,n){let e="".concat(xK).concat(n.replace(":","-"));return new Promise((i,r)=>{if(t.getAttribute(e)!==null)return i();let o=_2(t.children).filter(D=>D.getAttribute(yg)===n)[0],s=Vs.getComputedStyle(t,n),l=s.getPropertyValue("font-family"),h=l.match(kK),v=s.getPropertyValue("font-weight"),y=s.getPropertyValue("content");if(o&&!h)return t.removeChild(o),i();if(h&&y!=="none"&&y!==""){let D=s.getPropertyValue("content"),S=RZ(l,v),{value:V,isSecondary:K}=HZ(D),te=h[0].startsWith("FontAwesome"),ge=jg(S,V),Oe=ge;if(te){let He=KK(V);He.iconName&&He.prefix&&(ge=He.iconName,S=He.prefix)}if(ge&&!K&&(!o||o.getAttribute(zg)!==S||o.getAttribute(Lg)!==Oe)){t.setAttribute(e,Oe),o&&t.removeChild(o);let He=DZ(),{extra:Mt}=He;Mt.attributes[yg]=n,Og(ge,S).then(It=>{let Et=Bg(ve(ve({},He),{},{icons:{main:It,mask:HS()},prefix:S,iconName:Oe,extra:Mt,watchable:!0})),yn=ui.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?t.insertBefore(yn,t.firstChild):t.appendChild(yn),yn.outerHTML=Et.map(Ki=>Ld(Ki)).join(` -`),t.removeAttribute(e),i()}).catch(r)}else i()}else i()})}function NZ(t){return Promise.all([oS(t,"::before"),oS(t,"::after")])}function FZ(t){return t.parentNode!==document.head&&!~wK.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(yg)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function sS(t){if(Ho)return new Promise((n,e)=>{let i=_2(t.querySelectorAll("*")).filter(FZ).map(NZ),r=Ug.begin("searchPseudoElements");BS(),Promise.all(i).then(()=>{r(),Tg(),n()}).catch(()=>{r(),Tg(),e()})})}var jZ={hooks(){return{mutationObserverCallbacks(t){return t.pseudoElementsCallback=sS,t}}},provides(t){t.pseudoElements2svg=function(n){let{node:e=ui}=n;Ne.searchPseudoElements&&sS(e)}}},cS=!1,BZ={mixout(){return{dom:{unwatch(){BS(),cS=!0}}}},hooks(){return{bootstrap(){tS(kg("mutationObserverCallbacks",{}))},noAuto(){CZ()},watch(t){let{observeMutationsRoot:n}=t;cS?Tg():tS(kg("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},lS=t=>{let n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((e,i)=>{let r=i.toLowerCase().split("-"),a=r[0],o=r.slice(1).join("-");if(a&&o==="h")return e.flipX=!0,e;if(a&&o==="v")return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(a){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o;break}return e},n)},UZ={mixout(){return{parse:{transform:t=>lS(t)}}},hooks(){return{parseNodeAttributes(t,n){let e=n.getAttribute("data-fa-transform");return e&&(t.transform=lS(e)),t}}},provides(t){t.generateAbstractTransformGrouping=function(n){let{main:e,transform:i,containerWidth:r,iconWidth:a}=n,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),l="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),h="rotate(".concat(i.rotate," 0 0)"),v={transform:"".concat(s," ").concat(l," ").concat(h)},y={transform:"translate(".concat(a/2*-1," -256)")},D={outer:o,inner:v,path:y};return{tag:"g",attributes:ve({},D.outer),children:[{tag:"g",attributes:ve({},D.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:ve(ve({},e.icon.attributes),D.path)}]}]}}}},gg={x:0,y:0,width:"100%",height:"100%"};function dS(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||n)&&(t.attributes.fill="black"),t}function $Z(t){return t.tag==="g"?t.children:[t]}var GZ={hooks(){return{parseNodeAttributes(t,n){let e=n.getAttribute("data-fa-mask"),i=e?Eh(e.split(" ").map(r=>r.trim())):HS();return i.prefix||(i.prefix=As()),t.mask=i,t.maskId=n.getAttribute("data-fa-mask-id"),t}}},provides(t){t.generateAbstractMask=function(n){let{children:e,attributes:i,main:r,mask:a,maskId:o,transform:s}=n,{width:l,icon:h}=r,{width:v,icon:y}=a,D=HK({transform:s,containerWidth:v,iconWidth:l}),S={tag:"rect",attributes:ve(ve({},gg),{},{fill:"white"})},V=h.children?{children:h.children.map(dS)}:{},K={tag:"g",attributes:ve({},D.inner),children:[dS(ve({tag:h.tag,attributes:ve(ve({},h.attributes),D.path)},V))]},te={tag:"g",attributes:ve({},D.outer),children:[K]},ge="mask-".concat(o||Vd()),Oe="clip-".concat(o||Vd()),He={tag:"mask",attributes:ve(ve({},gg),{},{id:ge,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[S,te]},Mt={tag:"defs",children:[{tag:"clipPath",attributes:{id:Oe},children:$Z(y)},He]};return e.push(Mt,{tag:"rect",attributes:ve({fill:"currentColor","clip-path":"url(#".concat(Oe,")"),mask:"url(#".concat(ge,")")},gg)}),{children:e,attributes:i}}}},WZ={provides(t){let n=!1;Vs.matchMedia&&(n=Vs.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){let e=[],i={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:ve(ve({},i),{},{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"})});let a=ve(ve({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:ve(ve({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:ve(ve({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ve(ve({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:ve(ve({},i),{},{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:n?[]:[{tag:"animate",attributes:ve(ve({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||e.push({tag:"path",attributes:ve(ve({},i),{},{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:ve(ve({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},qZ={hooks(){return{parseNodeAttributes(t,n){let e=n.getAttribute("data-fa-symbol"),i=e===null?!1:e===""?!0:e;return t.symbol=i,t}}}},YZ=[FK,PZ,TZ,VZ,AZ,jZ,BZ,UZ,GZ,WZ,qZ];rZ(YZ,{mixoutsTo:wr});var Z7e=wr.noAuto,$S=wr.config,X7e=wr.library,GS=wr.dom,WS=wr.parse,J7e=wr.findIconDefinition,e_e=wr.toHtml,qS=wr.icon,t_e=wr.layer,QZ=wr.text,KZ=wr.counter;var ZZ=["*"],XZ=t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)},JZ=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},eX=t=>{let n={[`fa-${t.animation}`]:t.animation!=null&&!t.animation.startsWith("spin"),"fa-spin":t.animation==="spin"||t.animation==="spin-reverse","fa-spin-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-spin-reverse":t.animation==="spin-reverse"||t.animation==="spin-pulse-reverse","fa-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":t.flip==="horizontal"||t.flip==="both","fa-flip-vertical":t.flip==="vertical"||t.flip==="both",[`fa-${t.size}`]:t.size!==null,[`fa-rotate-${t.rotate}`]:t.rotate!==null,[`fa-pull-${t.pull}`]:t.pull!==null,[`fa-stack-${t.stackItemSize}`]:t.stackItemSize!=null};return Object.keys(n).map(e=>n[e]?e:null).filter(e=>e)},Gg=new WeakSet,YS="fa-auto-css";function tX(t,n){if(!n.autoAddCss||Gg.has(t))return;if(t.getElementById(YS)!=null){n.autoAddCss=!1,Gg.add(t);return}let e=t.createElement("style");e.setAttribute("type","text/css"),e.setAttribute("id",YS),e.innerHTML=GS.css();let i=t.head.childNodes,r=null;for(let a=i.length-1;a>-1;a--){let o=i[a],s=o.nodeName.toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}t.head.insertBefore(e,r),n.autoAddCss=!1,Gg.add(t)}var iX=t=>t.prefix!==void 0&&t.iconName!==void 0,nX=(t,n)=>iX(t)?t:Array.isArray(t)&&t.length===2?{prefix:t[0],iconName:t[1]}:{prefix:n,iconName:t},rX=(()=>{class t{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this._autoAddCss=!0}set autoAddCss(e){$S.autoAddCss=e,this._autoAddCss=e}get autoAddCss(){return this._autoAddCss}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wg=(()=>{class t{constructor(){this.definitions={}}addIcons(...e){for(let i of e){i.prefix in this.definitions||(this.definitions[i.prefix]={}),this.definitions[i.prefix][i.iconName]=i;for(let r of i.icon[2])typeof r=="string"&&(this.definitions[i.prefix][r]=i)}}addIconPacks(...e){for(let i of e){let r=Object.keys(i).map(a=>i[a]);this.addIcons(...r)}}getIconDefinition(e,i){return e in this.definitions&&i in this.definitions[e]?this.definitions[e][i]:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),aX=(()=>{class t{constructor(){this.stackItemSize="1x"}ngOnChanges(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[Te]})}}return t})(),oX=(()=>{class t{constructor(e,i){this.renderer=e,this.elementRef=i}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(e){"size"in e&&(e.size.currentValue!=null&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${e.size.currentValue}`),e.size.previousValue!=null&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${e.size.previousValue}`))}static{this.\u0275fac=function(i){return new(i||t)(m(tr),m($))}}static{this.\u0275cmp=A({type:t,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[Te,ae],ngContentSelectors:ZZ,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2})}}return t})(),Ut=(()=>{class t{constructor(e,i,r,a,o){this.sanitizer=e,this.config=i,this.iconLibrary=r,this.stackItem=a,this.document=z(Ce),o!=null&&a==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(e){if(this.icon==null&&this.config.fallbackIcon==null){JZ();return}if(e){let i=this.findIconDefinition(this.icon??this.config.fallbackIcon);if(i!=null){let r=this.buildParams();tX(this.document,this.config);let a=qS(i,r);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(a.html.join(` -`))}}}render(){this.ngOnChanges({})}findIconDefinition(e){let i=nX(e,this.config.defaultPrefix);if("icon"in i)return i;let r=this.iconLibrary.getIconDefinition(i.prefix,i.iconName);return r??(XZ(i),null)}buildParams(){let e={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:typeof this.fixedWidth=="boolean"?this.fixedWidth:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize:null},i=typeof this.transform=="string"?WS.transform(this.transform):this.transform;return{title:this.title,transform:i,classes:eX(e),mask:this.mask!=null?this.findIconDefinition(this.mask):null,symbol:this.symbol,attributes:{role:this.a11yRole}}}static{this.\u0275fac=function(i){return new(i||t)(m(q1),m(rX),m(Wg),m(aX,8),m(oX,8))}}static{this.\u0275cmp=A({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(i,r){i&2&&(jt("innerHTML",r.renderedIconHTML,kl),ie("title",r.title))},inputs:{icon:"icon",title:"title",animation:"animation",mask:"mask",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[Te,ae],decls:0,vars:0,template:function(i,r){},encapsulation:2})}}return t})();var QS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();var sX=t=>({flex:t}),KS=(()=>{class t{constructor(){}ngOnInit(){this.acceptFilter||(this.acceptFilter=".xls,.xlsx,.pdf,.doc,.docx,.png,.jpeg,.jpg")}onFileSelect(e){this.fileName=e.target.files[0].name}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-file-upload"]],inputs:{flex:"flex",acceptFilter:"acceptFilter"},decls:20,vars:11,consts:[["uploadFile",""],[1,"layout-row","layout-lt-md-column","gap-2percent"],[3,"ngStyle"],["matInput","","placeholder","No file selected",3,"readonly","value"],[1,"flex-10","align-center"],["mat-button","",3,"click"],["icon","folder-open","size","lg"],["type","file",3,"change","accept"]],template:function(i,r){if(i&1){let a=le();p(0,"div",1),d(1,` - `),p(2,"mat-form-field",2),d(3,` - `),R(4,"input",3),d(5,` - `),f(),d(6,` - - `),p(7,"span",4),d(8,` - `),p(9,"button",5),H("click",function(){F(a);let s=Ct(18);return j(s.click())}),d(10,` - `),R(11,"fa-icon",6),d(12),I(13,"translate"),f(),d(14,` - `),f(),d(15,` -`),f(),d(16,` - -`),p(17,"input",7,0),H("change",function(s){return F(a),j(r.onFileSelect(s))}),f(),d(19,` -`)}i&2&&(g(2),C("ngStyle",sr(9,sX,"0 0 "+(r.flex||"83%"))),g(2),C("readonly",!0)("value",r.fileName||""),g(8),ne(` - \xA0\xA0 - `,O(13,7,"labels.buttons.Browse"),` - `),g(5),Pt("display","none"),Bt("accept",r.acceptFilter))},dependencies:[kx,Ut,lt,Kt,$i,Pe]})}}return t})();var v2=(()=>{class t{constructor(e){this.http=e,this.emptyPayload={}}getDataTables(){return this.http.get("/datatables")}getHooks(){return this.http.get("/hooks")}getHook(e){return this.http.get(`/hooks/${e}`)}getHooksTemplate(){return this.http.get("/hooks/template")}createHook(e){return this.http.post("/hooks",e)}updateHook(e,i){return this.http.put(`/hooks/${e}`,i)}deleteHook(e){return this.http.delete(`/hooks/${e}`)}getRoles(){return this.http.get("/roles")}getRole(e){return this.http.get(`/roles/${e}/permissions`)}updateRole(e,i){return this.http.put(`/roles/${i}`,e)}updateRolePermission(e,i){return this.http.put(`/roles/${e}/permissions`,i)}deleteRole(e){return this.http.delete(`/roles/${e}`)}createRole(e){return this.http.post("/roles",e)}enableRole(e){let i=new X().set("command","enable");return this.http.post(`/roles/${e}`,{},{params:i})}disableRole(e){let i=new X().set("command","disable");return this.http.post(`/roles/${e}`,{},{params:i})}getCodes(){return this.http.get("/codes")}getCode(e){return this.http.get(`/codes/${e}`)}updateCode(e,i){return this.http.put(`/codes/${i}`,e)}getCodeValues(e){return this.http.get(`/codes/${e}/codevalues`)}deleteCodeValue(e,i){return this.http.delete(`/codes/${e}/codevalues/${i}`)}updateCodeValue(e,i,r){return this.http.put(`/codes/${e}/codevalues/${i}`,r)}createCodeValue(e,i){return this.http.post(`/codes/${e}/codevalues`,i)}deleteCode(e){return this.http.delete(`/codes/${e}`)}getSurveys(){return this.http.get("/surveys")}createSurvey(e){return this.http.post("/surveys",e)}getSurvey(e){return this.http.get(`/surveys/${e}?template=true`)}editSurvey(e,i){return this.http.put(`/surveys/${e}`,i)}activateSurvey(e){return this.http.post(`/surveys/${e}?command=activate`,null)}deactivateSurvey(e){return this.http.post(`/surveys/${e}?command=deactivate`,null)}getJobs(){return this.http.get("/jobs")}getWorkflowJobNames(){return this.http.get("/jobs/names")}getWorkflowJobSteps(e){return this.http.get(`/jobs/${e}/steps`)}putWorkflowJobSteps(e,i){return this.http.put(`/jobs/${e}/steps`,i)}runInlineCOB(e,i){return this.http.post(`/jobs/${e}/inline`,i)}getAvailablesJobSteps(e){return this.http.get(`/jobs/${e}/available-steps`)}getScheduler(){return this.http.get("/scheduler")}getSelectedJob(e){return this.http.get(`/jobs/${e}`)}runCommandOnScheduler(e){return this.http.post("/scheduler?command="+e,this.emptyPayload)}updateScheduler(e,i){return this.http.put(`/jobs/${e}`,i)}runSelectedJob(e){return this.http.post(`/jobs/${e}?command=executeJob`,this.emptyPayload,{observe:"response"}).toPromise()}runSelectedJobWithParameters(e,i){return this.http.post(`/jobs/${e}?command=executeJob`,i,{observe:"response"}).toPromise()}getHistoryScheduler(e){return this.http.get(`/jobs/${e}/runhistory`)}createCode(e){return this.http.post("/codes",e)}createDataTable(e){return this.http.post("/datatables",e)}getDataTable(e){return this.http.get(`/datatables/${e}`)}deleteDataTable(e){return this.http.delete(`/datatables/${e}`)}updateDataTable(e,i){return this.http.put(`/datatables/${i}`,e)}getBusinessDates(){return this.http.get("/businessdate")}getBusinessDate(e){return this.http.get(`/businessdate/${e}`)}updateBusinessDate(e){return this.http.post("/businessdate",e)}getConfigurations(){return this.http.get("/configurations")}getConfiguration(e){return this.http.get(`/configurations/${e}`)}getConfigurationByName(e){return this.http.get(`/configurations/name/${e}`)}updateConfiguration(e,i){return this.http.put(`/configurations/${e}`,i)}getExternalConfiguration(e){return this.http.get(`/externalservice/${e}`)}updateExternalConfiguration(e,i){return this.http.put(`/externalservice/${e}`,i)}getAccountNumberPreferences(){return this.http.get("/accountnumberformats")}getAccountNumberPreferencesTemplate(){return this.http.get("/accountnumberformats/template")}getAccountNumberPreference(e){return this.http.get(`/accountnumberformats/${e}`)}createAccountNumberPreference(e){return this.http.post("/accountnumberformats",e)}deleteAccountNumberPreference(e){return this.http.delete(`/accountnumberformats/${e}`)}updateAccountNumberPreference(e,i){return this.http.put(`/accountnumberformats/${e}`,i)}getReports(){return this.http.get("/reports")}getReport(e){return this.http.get(`/reports/${e}?template=true`)}getReportTemplate(){return this.http.get("/reports/template")}createReport(e){return this.http.post("/reports",e)}updateReport(e,i){return this.http.put(`/reports/${e}`,i)}deleteReport(e){return this.http.delete(`/reports/${e}`)}getAuditTrails(e,i,r,a,o){let s=new X().set("offset",a.toString()).set("limit",o.toString()).set("sortOrder",r).set("orderBy",i).set("paged","true");return e.forEach(function(l){l.value!==""&&(s=s.set(l.type,l.value))}),this.http.get("/audits",{params:s})}getAuditTrail(e){return this.http.get(`/audits/${e}`)}getAuditTrailSearchTemplate(){return this.http.get("/audits/searchtemplate")}getEntityMappings(){return this.http.get("/entitytoentitymapping")}getEntitytoEntityData(e,i,r){return this.http.get(`/entitytoentitymapping/${e}/${i}/${r}`)}getMapIdData(e){return this.http.get(`/entitytoentitymapping/${e}`)}createMapping(e,i){return this.http.post(`/entitytoentitymapping/${e}`,i)}editMapping(e,i){return this.http.put(`/entitytoentitymapping/${e}`,i)}deleteMapping(e){return this.http.delete(`/entitytoentitymapping/${e}`)}getOffices(){return this.http.get("/offices")}getLoanProducts(){return this.http.get("/loanproducts")}getSavingProducts(){return this.http.get("/savingsproducts")}getCharges(){return this.http.get("/charges")}getMakerCheckerPermissions(){let e=new X().set("makerCheckerable","true");return this.http.get("/permissions",{params:e})}updateMakerCheckerPermission(e){let i=new X().set("makerCheckerable","true");return this.http.put("/permissions",e,{params:i})}getExternalEventConfiguration(){return this.http.get("/externalevents/configuration")}putExternalEventConfiguration(e){return this.http.put("/externalevents/configuration",e)}getEntityDatatables(e){let i=new X().set("apptable",e);return this.http.get("/datatables",{params:i})}getEntityDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addEntityDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editEntityDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}deleteDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${r}/${e}/${i}`,{params:a})}getCOBCatchUpStatus(){return this.http.get("/loans/is-catch-up-running")}runCOBCatchUp(){let e={};return this.http.post("/loans/catch-up",e)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ZS=(()=>{class t{constructor(e){this.http=e}getBackendInfo(){return this.http.get("/fineract-provider/actuator/info")}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ls=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ri(e)}get inset(){return this._inset}set inset(e){this._inset=ri(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,r){i&2&&(ie("aria-orientation",r.vertical?"vertical":"horizontal"),re("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[ae],decls:0,vars:0,template:function(i,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return t})(),b2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();function dX(t,n){if(t&1&&(p(0,"tr"),d(1,` - `),p(2,"td",7),d(3),I(4,"translate"),f(),d(5,` - `),p(6,"td",8),d(7),f(),d(8,` - `),f()),t&2){let e=M(2);g(3),E(O(4,2,"labels.inputs.Server")),g(4),ne(` - `,e.server,` - `)}}function uX(t,n){if(t&1&&(p(0,"tr"),d(1,` - `),p(2,"td",7),d(3),I(4,"translate"),f(),d(5,` - `),p(6,"td",10),d(7,` - `),p(8,"b"),d(9),I(10,"date"),f(),d(11,` - `),f(),d(12,` - `),f()),t&2){let e=M(2);g(3),ne("",O(4,2,"labels.text.Current Business Date"),":"),g(6),E(yo(10,4,e.businessDate,"EEEE, MMMM dd, y"))}}function hX(t,n){if(t&1&&(p(0,"div",3),d(1,` - `),R(2,"mat-divider",4),d(3,` - `),p(4,"div",5),d(5,` - `),p(6,"table",6),d(7,` - `),p(8,"tr"),d(9,` - `),p(10,"td",7),d(11,"Mifos"),f(),d(12,` - `),p(13,"td",8),d(14),p(15,"b"),d(16),f(),d(17,` - `),f(),d(18,` - `),f(),d(19,` - `),p(20,"tr"),d(21,` - `),p(22,"td",7),d(23),I(24,"translate"),f(),d(25,` - `),p(26,"td",8),d(27),p(28,"b"),d(29),f(),d(30,` - `),f(),d(31,` - `),f(),d(32,` - `),w(33,dX,9,4,"tr",9),d(34,` - `),w(35,uX,13,7,"tr",9),d(36,` - `),f(),d(37,` - `),f(),d(38,` - `),R(39,"mat-divider",4),d(40,` -`),f()),t&2){let e=M();Bt("ngClass",e.styleClass),g(14),ne(` - `,e.versions.mifos," - "),g(2),E(e.hash),g(7),E(O(24,8,"labels.text.Fineract")),g(4),ne(` - `,e.versions.fineract.version," - "),g(2),E(e.versions.fineract.hash),g(4),C("ngIf",e.displayBackEndInfo),g(2),C("ngIf",e.isBusinessDateDefined)}}var E_e=(()=>{class t{constructor(e,i,r,a,o,s){this.systemService=e,this.settingsService=i,this.authenticationService=r,this.alertService=a,this.dateUtils=o,this.versionService=s,this.styleClass="",this.versions={mifos:mt.version,fineract:{version:"",hash:""}},this.hash=mt.hash,this.server="",this.businessDate=null,this.isBusinessDateEnabled=!1,this.isBusinessDateDefined=!1,this.displayBackEndInfo=!0,this.displayBackEndInfo=mt.displayBackEndInfo==="true"}ngOnInit(){this.displayBackEndInfo&&(this.alert$=this.alertService.alertEvent.subscribe(e=>{let i=e.type;i===zt.businessDateType+" Set Config"?(this.isBusinessDateEnabled=e.message==="enabled",this.isBusinessDateDefined=!1,this.isBusinessDateEnabled&&this.setBusinessDate()):i===zt.businessDateType+" Set"?this.isBusinessDateEnabled&&this.setBusinessDate():i==="Authentication Start"&&(this.timer=setTimeout(()=>{this.getConfigurations()},6e4))}),this.getConfigurations(),this.server=this.settingsService.server,this.versionService.getBackendInfo().subscribe(e=>{if(e.git&&e.git.build&&e.git.build.version){let i=e.git.build.version.split("-");this.versions.fineract.version=i[0],this.versions.fineract.hash=i[1]}}))}ngOnDestroy(){this.displayBackEndInfo&&clearTimeout(this.timer)}getConfigurations(){this.authenticationService.isAuthenticated()?this.systemService.getConfigurationByName(zt.businessDateConfigName).subscribe(e=>{this.isBusinessDateEnabled=e.enabled,this.settingsService.setBusinessDateConfig(e.enabled),this.isBusinessDateEnabled&&(this.setBusinessDate(),this.timer=setTimeout(()=>{this.getConfigurations()},6e4))}):clearTimeout(this.timer)}setBusinessDate(){this.systemService.getBusinessDate(zt.businessDateType).subscribe(e=>{this.businessDate=new Date(e.date),this.settingsService.setBusinessDate(this.dateUtils.formatDate(this.businessDate,zt.businessDateFormat)),this.isBusinessDateDefined=!0})}static{this.\u0275fac=function(i){return new(i||t)(m(v2),m(zt),m(zu),m(gs),m(Bn),m(ZS))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-footer"]],inputs:{styleClass:"styleClass"},decls:10,vars:7,consts:[["class","layout-column m-b-20 f12","id","footer",3,"ngClass",4,"ngIf"],[1,"layout-column","m-b-20","copy-label"],[1,"footer-content","align-center"],["id","footer",1,"layout-column","m-b-20","f12",3,"ngClass"],[1,"divider","align-center"],[1,"layout-column","m-b-20","content-wrapper","footer-center"],[1,"versions"],[1,"footer-content"],[1,"right","footer-content"],[4,"ngIf"],[1,"center","footer-content","business-date"]],template:function(i,r){i&1&&(w(0,hX,41,10,"div",0),d(1,` -`),p(2,"div",1),d(3,` - `),p(4,"p",2),d(5),I(6,"translate"),I(7,"translate"),f(),d(8,` -`),f(),d(9,` -`)),i&2&&(C("ngIf",r.displayBackEndInfo),g(5),Ht("",O(6,3,"APP_NAME")," ",O(7,5,"labels.text.by")," Mifos"))},dependencies:[Ni,Re,Ls,Vl,Pe],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}#footer[_ngcontent-%COMP%]{align-items:center;min-width:400px}#footer[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{max-width:100%;min-width:90%;padding-left:5%;padding-right:5%}#footer[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .versions[_ngcontent-%COMP%]{width:100%;color:#666f73}#footer[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .footer-content[_ngcontent-%COMP%]{margin:0}#footer[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{margin:2.5rem 1rem .5rem;width:4rem}#footer[_ngcontent-%COMP%] .business-date[_ngcontent-%COMP%]{color:#4461e2}#footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:none}#footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:transparent}.main-page[_ngcontent-%COMP%]{max-width:70%;min-width:50%;padding-left:30%}.copy-label[_ngcontent-%COMP%]{min-width:100%;text-align:center;font-size:large}"]})}}return t})();function mX(t,n){if(t&1&&(p(0,"mat-option",3),d(1),I(2,"translate"),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(` - `,O(2,2,"languages."+e),` - `)}}var A_e=(()=>{class t{constructor(e,i){this.translateService=e,this.settingsService=i,this.languageSelector=new kn,this.languageSelector.setValue(this.currentLanguage)}setLanguage(){this.translateService.use(this.languageSelector.value),this.settingsService.setLanguage({name:"",code:this.languageSelector.value.substring(0,2)})}get currentLanguage(){return this.translateService.currentLang}get languages(){return this.translateService.getLangs()}static{this.\u0275fac=function(i){return new(i||t)(m(ca),m(zt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-language-selector"]],decls:12,vars:5,consts:[["id","language-selector",1,"m-l-10"],[1,"languageselector",3,"selectionChange","formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(p(0,"mat-form-field",0),d(1,` - `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,` - `),p(6,"mat-select",1),H("selectionChange",function(){return r.setLanguage()}),d(7,` - `),w(8,mX,3,4,"mat-option",2),d(9,` - `),f(),d(10,` -`),f(),d(11,` -`)),i&2&&(g(3),E(O(4,3,"labels.inputs.Language")),g(3),C("formControl",r.languageSelector),g(2),C("ngForOf",r.languages))},dependencies:[ni,Bi,Kt,Di,Tn,vi,hn,Pe],styles:[".mat-form-field-underline{background-color:transparent}"]})}}return t})();var XS=(()=>{class t{constructor(){this.themeManagerClass="theme-manager"}setTheme(e){this.getLinkElement().setAttribute("href",e)}removeTheme(){let e=this.getExistingLinkElement();e&&document.head.removeChild(e)}getLinkElement(){return this.getExistingLinkElement()||this.createLinkElement()}getExistingLinkElement(){return document.head.querySelector(`link[rel="stylesheet"].${this.themeManagerClass}`)}createLinkElement(){let e=document.createElement("link");return e.setAttribute("rel","stylesheet"),e.classList.add(this.themeManagerClass),document.head.appendChild(e),e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var JS=(()=>{class t{constructor(e){this.themeManagerService=e,this.themeStorageKey="mifosXTheme",this.onThemeUpdate=new B}storeTheme(e){localStorage.setItem(this.themeStorageKey,JSON.stringify(e)),this.onThemeUpdate.emit(e)}getTheme(){return JSON.parse(localStorage.getItem(this.themeStorageKey))}clearTheme(){localStorage.removeItem(this.themeStorageKey)}installTheme(e){let i=document.body;i.classList.remove("pictonblue-yellowgreen-theme","indigo-pink-theme","deeppurple-amber-theme","pink-bluegrey-theme","purple-green-theme"),e.isDefault||i.classList.add(this.getThemeClass(e.href)),this.storeTheme(e)}getThemeClass(e){switch(e){case"pictonblue-yellowgreen.css":return"pictonblue-yellowgreen-theme";case"indigo-pink.css":return"indigo-pink-theme";case"deeppurple-amber.css":return"deeppurple-amber-theme";case"pink-bluegrey.css":return"pink-bluegrey-theme";case"purple-green.css":return"purple-green-theme";default:return""}}static{this.\u0275fac=function(i){return new(i||t)(k(XS))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ek=["*"];var gX=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}",Yg=class{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){let n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}update(n,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(i=>this._trackTile(i))}_trackTile(n){let e=this._findMatchingGap(n.colspan);return this._markTilePosition(e,n),this.columnIndex=e+n.colspan,new Qg(this.rowIndex,e)}_findMatchingGap(n){n>this.tracker.length;let e=-1,i=-1;do{if(this.columnIndex+n>this.tracker.length){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e);continue}if(e=this.tracker.indexOf(0,this.columnIndex),e==-1){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e);continue}i=this._findGapEndIndex(e),this.columnIndex=e+1}while(i-e{class t{constructor(e,i){this._element=e,this._gridList=i,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(di(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(di(e))}_setStyle(e,i){this._element.nativeElement.style[e]=i}static{this.\u0275fac=function(i){return new(i||t)(m($),m(tk,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(i,r){i&2&&ie("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[ae],ngContentSelectors:ek,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(i,r){i&1&&(Me(),p(0,"div",0),se(1),f())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return t})();var _X=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,Hd=class{constructor(){this._rows=0,this._rowspan=0}init(n,e,i,r){this._gutterSize=ik(n),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=i,this._direction=r}getBaseTileSize(n,e){return`(${n}% - (${this._gutterSize} * ${e}))`}getTilePosition(n,e){return e===0?"0":Ac(`(${n} + ${this._gutterSize}) * ${e}`)}getTileSize(n,e){return`(${n} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(n,e,i){let r=100/this._cols,a=(this._cols-1)/this._cols;this.setColStyles(n,i,r,a),this.setRowStyles(n,e,r,a)}setColStyles(n,e,i,r){let a=this.getBaseTileSize(i,r),o=this._direction==="rtl"?"right":"left";n._setStyle(o,this.getTilePosition(a,e)),n._setStyle("width",Ac(this.getTileSize(a,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}},Kg=class extends Hd{constructor(n){super(),this.fixedRowHeight=n}init(n,e,i,r){super.init(n,e,i,r),this.fixedRowHeight=ik(this.fixedRowHeight),_X.test(this.fixedRowHeight)}setRowStyles(n,e){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),n._setStyle("height",Ac(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",Ac(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}},Zg=class extends Hd{constructor(n){super(),this._parseRatio(n)}setRowStyles(n,e,i,r){let a=i/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(a,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),n._setStyle("paddingTop",Ac(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",Ac(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(n){let e=n.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}},Xg=class extends Hd{setRowStyles(n,e){let i=100/this._rowspan,r=(this._rows-1)/this._rows,a=this.getBaseTileSize(i,r);n._setStyle("top",this.getTilePosition(a,e)),n._setStyle("height",Ac(this.getTileSize(a,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}};function Ac(t){return`calc(${t})`}function ik(t){return t.match(/([A-Za-z%]+)$/)?t:`${t}px`}var vX="fit",nk=(()=>{class t{constructor(e,i){this._element=e,this._dir=i,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(di(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){let i=`${e??""}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),e===vX?this._tileStyler=new Xg:e&&e.indexOf(":")>-1?this._tileStyler=new Zg(e):this._tileStyler=new Kg(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new Yg);let e=this._tileCoordinator,i=this._tiles.filter(a=>!a._gridList||a._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,e,this.cols,r),i.forEach((a,o)=>{let s=e.positions[o];this._tileStyler.setStyle(a,s.row,s.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Je,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-grid-list"]],contentQueries:function(i,r,a){if(i&1&&we(a,Jg,5),i&2){let o;G(o=W())&&(r._tiles=o)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(i,r){i&2&&ie("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[he([{provide:tk,useExisting:t}]),ae],ngContentSelectors:ek,decls:2,vars:0,template:function(i,r){i&1&&(Me(),p(0,"div"),se(1),f())},styles:[gX],encapsulation:2,changeDetection:0})}}return t})(),rk=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[T5,fe,T5,fe]})}}return t})();var yX=["mat-menu-item",""],CX=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],xX=["mat-icon, [matMenuItemIcon]","*"];function MX(t,n){t&1&&(Jt(),p(0,"svg",2),R(1,"polygon",3),f())}var wX=["*"];function DX(t,n){if(t&1){let e=le();p(0,"div",0),H("keydown",function(r){F(e);let a=M();return j(a._handleKeydown(r))})("click",function(){F(e);let r=M();return j(r.closed.emit("click"))})("@transformMenu.start",function(r){F(e);let a=M();return j(a._onAnimationStart(r))})("@transformMenu.done",function(r){F(e);let a=M();return j(a._onAnimationDone(r))}),p(1,"div",1),se(2),f()()}if(t&2){let e=M();Lt(e._classList),C("id",e.panelId)("@transformMenu",e._panelAnimationState),ie("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var e7=new L("MAT_MENU_PANEL"),zc=(()=>{class t{constructor(e,i,r,a,o){this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=a,this._changeDetectorRef=o,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new U,this._focused=new U,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",et("120ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:1,transform:"scale(1)"}))),Ze("* => void",et("100ms 25ms linear",De({opacity:0})))]),fadeInItems:kt("fadeInItems",[tt("showing",De({opacity:1})),Ze("void => *",[De({opacity:0}),et("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},w9e=Th.fadeInItems,D9e=Th.transformMenu,kX=0,IX=new L("mat-menu-default-options",{providedIn:"root",factory:EX});function EX(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Hs=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let i=this._previousPanelClass,r=Y({},this._classList);i&&i.length&&i.split(" ").forEach(a=>{r[a]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(a=>{r[a]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,a){this._elementRef=e,this._changeDetectorRef=a,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new Pi,this._classList={},this._panelAnimationState="void",this._animationDone=new U,this.closed=new B,this.close=this.closed,this.panelId=`mat-menu-panel-${kX++}`,this._injector=z(Le),this.overlayPanelClass=r.overlayPanelClass||"",this._xPosition=r.xPosition,this._yPosition=r.yPosition,this.backdropClass=r.backdropClass,this.overlapTrigger=r.overlapTrigger,this.hasBackdrop=r.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ba(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Qe(this._directDescendantItems),dt(e=>nt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),a=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[a]&&!r[a].disabled?i.setActiveItem(a):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Qe(this._directDescendantItems),dt(i=>nt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:xt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Ft(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let s=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(s)}let i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,a=Object.keys(this._classList).find(o=>o.startsWith(this._elevationPrefix));if(!a||a===this._previousElevation){let o=Y({},this._classList);this._previousElevation&&(o[this._previousElevation]=!1),o[r]=!0,this._previousElevation=r,this._classList=o}}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=Ge(Y({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Qe(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(IX),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-menu"]],contentQueries:function(i,r,a){if(i&1&&(we(a,SX,5),we(a,zc,5),we(a,zc,4)),i&2){let o;G(o=W())&&(r.lazyContent=o.first),G(o=W())&&(r._allItems=o),G(o=W())&&(r.items=o)}},viewQuery:function(i,r){if(i&1&&ue($e,5),i&2){let a;G(a=W())&&(r.templateRef=a.first)}},hostVars:3,hostBindings:function(i,r){i&2&&ie("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",q],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:q(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[he([{provide:e7,useExisting:t}]),ye,ae],ngContentSelectors:wX,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(Me(),w(0,DX,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Th.transformMenu,Th.fadeInItems]},changeDetection:0})}}return t})(),ok=new L("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition()}});function OX(t){return()=>t.scrollStrategies.reposition()}var PX={provide:ok,deps:[vt],useFactory:OX},ak=Ci({passive:!0});var Vh=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,r,a,o,s,l,h,v){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=l,this._focusMonitor=h,this._ngZone=v,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=xe.EMPTY,this._hoverSubscription=xe.EMPTY,this._menuCloseSubscription=xe.EMPTY,this._changeDetectorRef=z(pe),this._handleTouchStart=y=>{xc(y)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new B,this.onMenuOpen=this.menuOpened,this.menuClosed=new B,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=o instanceof Hs?o:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,ak)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ak),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let i=this._createOverlay(e),r=i.getConfig(),a=r.positionStrategy;this._setPosition(e,a),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Hs&&(e._startAnimation(),e._directDescendantItems.changes.pipe(_e(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Hs?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Ve(r=>r.toState==="void"),Ue(1),_e(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new mr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{let a=r.connectionPair.overlayX==="start"?"after":"before",o=r.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(a,o)):e.setPositionClasses(a,o)})}_setPosition(e,i){let[r,a]=e.xPosition==="before"?["end","start"]:["start","end"],[o,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,h]=[o,s],[v,y]=[r,a],D=0;if(this.triggersSubmenu()){if(y=r=e.xPosition==="before"?"start":"end",a=v=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let S=this._parentMaterialMenu.items.first;this._parentInnerPadding=S?S._getHostElement().offsetTop:0}D=o==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=o==="top"?"bottom":"top",h=s==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:v,overlayY:o,offsetY:D},{originX:a,originY:l,overlayX:y,overlayY:o,offsetY:D},{originX:r,originY:h,overlayX:v,overlayY:s,offsetY:-D},{originX:a,originY:h,overlayX:y,overlayY:s,offsetY:-D}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:ce(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ve(o=>o!==this._menuItemInstance),Ve(()=>this._menuOpen)):ce();return nt(e,r,a,i)}_handleMousedown(e){Cc(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ve(e=>e===this._menuItemInstance&&!e.disabled),Jo(0,u1)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Hs&&this.menu._isAnimating?this.menu._animationDone.pipe(Ue(1),Jo(0,u1),_e(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new zi(e.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(i){return new(i||t)(m(vt),m($),m(Xe),m(ok),m(e7,8),m(zc,10),m(Je,8),m(Qt),m(oe))}}static{this.\u0275dir=T({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&H("click",function(o){return r._handleClick(o)})("mousedown",function(o){return r._handleMousedown(o)})("keydown",function(o){return r._handleKeydown(o)}),i&2&&ie("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return t})(),sk=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[PX],imports:[Tt,gn,fe,Pn,_n,fe]})}}return t})();var TX=["tooltip"],uk=20;var hk=new L("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition({scrollThrottle:uk})}});function VX(t){return()=>t.scrollStrategies.reposition({scrollThrottle:uk})}var AX={provide:hk,deps:[vt],useFactory:VX};function zX(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var LX=new L("mat-tooltip-default-options",{providedIn:"root",factory:zX});var lk="tooltip-panel",dk=Ci({passive:!0}),HX=8,RX=8,NX=24,FX=200,qr=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ri(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ri(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=di(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=di(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,a,o,s,l,h,v,y,D,S){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=s,this._ariaDescriber=l,this._focusMonitor=h,this._dir=y,this._defaultOptions=D,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=jX,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new U,this._injector=z(Le),this._scrollStrategy=v,this._document=S,D&&(this._showDelay=D.showDelay,this._hideDelay=D.hideDelay,D.position&&(this.position=D.position),D.positionAtOrigin&&(this.positionAtOrigin=D.positionAtOrigin),D.touchGestures&&(this.touchGestures=D.touchGestures),D.tooltipClass&&(this.tooltipClass=D.tooltipClass)),y.change.pipe(_e(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=HX}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(_e(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,dk)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new hr(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=r.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(_e(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof $)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(_e(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${lk}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(_e(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(_e(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(_e(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!xt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(Y(Y({},r.main),a.main)),this._addOffset(Y(Y({},r.fallback),a.fallback))])}_addOffset(e){let i=RX,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ft(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:a}=e,o;if(i==="center"?this._dir&&this._dir.value==="rtl"?o=r==="end"?"left":"right":o=r==="start"?"left":"right":o=i==="bottom"&&a==="top"?"above":"below",o!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${lk}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,dk)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(i){return new(i||t)(m(vt),m($),m(ha),m(Xe),m(oe),m(ze),m(t2),m(Qt),m(hk),m(Je),m(LX,8),m(Ce))}}static{this.\u0275dir=T({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return t})(),jX=(()=>{class t{constructor(e,i,r){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new U,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>NX&&e.width>=FX}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:r),i.classList.add(e?r:a),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let o=getComputedStyle(i);(o.getPropertyValue("animation-duration")==="0s"||o.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m($),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&ue(TX,7),i&2){let a;G(a=W())&&(r._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&H("mouseleave",function(o){return r._handleMouseLeave(o)})},standalone:!0,features:[ae],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let a=le();p(0,"div",1,0),H("animationend",function(s){return F(a),j(r._handleAnimationEnd(s))}),p(2,"div",2),d(3),f()()}i&2&&(re("mdc-tooltip--multiline",r._isMultiline),C("ngClass",r.tooltipClass),g(3),E(r.message))},dependencies:[Ni],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return t})();var y2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[AX],imports:[Ds,Tt,Pn,fe,fe,_n]})}}return t})();function BX(t,n){t&1&&R(0,"fa-icon",11)}function UX(t,n){if(t&1){let e=le();p(0,"mat-grid-tile"),d(1,` - `),p(2,"div",6),H("click",function(){let r=F(e).$implicit,a=M();return j(a.installTheme(r))}),d(3,` - `),p(4,"div",7),d(5,` - `),w(6,BX,1,0,"fa-icon",8),d(7,` - `),R(8,"div",9),d(9,` - `),R(10,"div",10),d(11,` - `),f(),d(12,` - `),f(),d(13,` - `),f()}if(t&2){let e=n.$implicit,i=M();g(6),C("ngIf",i.currentTheme.href===e.href),g(2),Pt("background",e.primary),g(2),Pt("background",e.accent)}}var Z9e=(()=>{class t{constructor(e){this.themeStorageService=e,this.currentTheme={href:"denim-yellowgreen.css",primary:"#1074B9",accent:"#B4D575",isDark:!1,isDefault:!0},this.themes=[this.currentTheme,{href:"pictonblue-yellowgreen.css",primary:"#1DAEEC",accent:"#B4D575",isDark:!1},{href:"indigo-pink.css",primary:"#3F51B5",accent:"#E91E63",isDark:!1},{href:"deeppurple-amber.css",primary:"#673AB7",accent:"#FFC107",isDark:!1},{href:"pink-bluegrey.css",primary:"#E91E63",accent:"#607D8B",isDark:!0},{href:"purple-green.css",primary:"#9C27B0",accent:"#4CAF50",isDark:!0}]}ngOnInit(){let e=this.themeStorageService.getTheme();e&&(this.currentTheme=e)}installTheme(e){this.currentTheme=e,this.themeStorageService.installTheme(e)}static{this.\u0275fac=function(i){return new(i||t)(m(JS))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-theme-picker"]],decls:15,vars:5,consts:[["themeMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["icon","fill-drip","size","lg"],["x-position","before",1,"mifosx-theme-picker-menu"],["cols","2"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"mifosx-theme-picker-swatch"],["class","mifosx-theme-chosen-icon","icon","check-circle","size","lg",4,"ngIf"],[1,"mifosx-theme-picker-primary"],[1,"mifosx-theme-picker-accent"],["icon","check-circle","size","lg",1,"mifosx-theme-chosen-icon"]],template:function(i,r){if(i&1&&(p(0,"button",1),I(1,"translate"),d(2,` - `),R(3,"fa-icon",2),d(4,` -`),f(),d(5,` - -`),p(6,"mat-menu",3,0),d(8,` - `),p(9,"mat-grid-list",4),d(10,` - `),w(11,UX,14,5,"mat-grid-tile",5),d(12,` - `),f(),d(13,` -`),f(),d(14,` -`)),i&2){let a=Ct(7);Bt("matTooltip",O(1,3,"tooltips.Color Schemes")),C("matMenuTriggerFor",a),g(11),C("ngForOf",r.themes)}},dependencies:[ni,Re,Ut,bn,nk,Jg,Hs,zc,Vh,qr,Pe],styles:[`.mifosx-theme-picker-menu .mat-menu-content{padding:8px}.mifosx-theme-picker-menu [mat-menu-item]{flex:0 0 auto;padding:0;overflow:hidden}.mifosx-theme-picker-menu .mifosx-theme-picker-swatch{position:relative;width:36px;height:36px;margin:6px;border-radius:50%;overflow:hidden}.mifosx-theme-picker-menu .mifosx-theme-picker-swatch .mifosx-theme-chosen-icon{color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.mifosx-theme-picker-menu .mifosx-theme-picker-swatch:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,.2);border-radius:50%}.mifosx-theme-picker-menu .mifosx-theme-picker-primary{width:100%;height:100%}.mifosx-theme-picker-menu .mifosx-theme-picker-accent{position:absolute;bottom:6px;width:100%;height:6px} -`],encapsulation:2})}}return t})();function mk(){return t=>{let n=t.value;if(!n)return null;let e={};return n.length50&&(e.maxLength="Password must be maximum 50 characters long"),/[A-Z]/.test(n)||(e.uppercase="Password must contain at least one uppercase letter"),/[a-z]/.test(n)||(e.lowercase="Password must contain at least one lowercase letter"),/\d/.test(n)||(e.number="Password must contain at least one number"),/^(?:(.)(?!\1))+$/.test(n)||(e.repeated="Password must have not consecutive repeating characters"),/[@$!%*?&]/.test(n)||(e.specialChar="Password must contain at least one special character (@$!%*?&)"),Object.keys(e).length>0?e:null}}var Ah=class t{constructor(){this.minPasswordLength=mt.minPasswordLength|12}static{this.PASSWORD_REGEX="^(?!.*(.)\\1{1,})(?!.*\\s)(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^\\w\\s]).{"+(mt.minPasswordLength|12)+",50}$"}getPasswordValidators(){return[_i.required,_i.minLength(this.minPasswordLength),_i.maxLength(50),mk()]}confirmPassword(n){return e=>{if(e.value==null||e.value.length===0)return null;let i=e.root.get(n);if(i){let r=i.valueChanges.subscribe(()=>{e.updateValueAndValidity(),r.unsubscribe()})}return i&&i.value!==e.value?{notequal:!0}:null}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}};var GX=["*"],zh;function WX(){if(zh===void 0&&(zh=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(zh=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return zh}function Nd(t){return WX()?.createHTML(t)||t}function pk(t){return Error(`Unable to find icon with the name "${t}"`)}function qX(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function fk(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function gk(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Ro=class{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},YX=(()=>{class t{constructor(e,i,r,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,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","mat-ligature-font"],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,a){return this._addSvgIconConfig(e,i,new Ro(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,a){let o=this._sanitizer.sanitize(ln.HTML,r);if(!o)throw gk(r);let s=Nd(o);return this._addSvgIconConfig(e,i,new Ro("",s,a))}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 Ro(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let a=this._sanitizer.sanitize(ln.HTML,i);if(!a)throw gk(i);let o=Nd(a);return this._addSvgIconSetConfig(e,new Ro("",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){let i=this._sanitizer.sanitize(ln.RESOURCE_URL,e);if(!i)throw fk(e);let r=this._cachedIconsByUrl.get(i);return r?ce(Lh(r)):this._loadSvgIconFromConfig(new Ro(e,null)).pipe(yt(a=>this._cachedIconsByUrl.set(i,a)),me(a=>Lh(a)))}getNamedSvgIcon(e,i=""){let r=_k(i,e),a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);let o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):Ko(pk(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ce(Lh(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(me(i=>Lh(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return ce(r);let a=i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Ma(s=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(ln.RESOURCE_URL,o.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(h)),ce(null)})));return lo(a).pipe(me(()=>{let o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw pk(e);return o}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let a=i[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let o=this._svgElementFromConfig(a),s=this._extractSvgIconFromSet(o,e,a.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(yt(i=>e.svgText=i),me(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ce(null):this._fetchIcon(e).pipe(yt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let o=a.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,r);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),r);let s=this._svgElementFromString(Nd(""));return s.appendChild(o),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Nd("")),r=e.attributes;for(let a=0;aNd(h)),wa(()=>this._inProgressUrlFetches.delete(o)),h1());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(_k(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let 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:""}}var vk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],JX=vk.map(t=>`[${t}]`).join(", "),eJ=/^url\(['"]?#(.*?)['"]?\)$/,Yr=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=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){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,a,o,s){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=o,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=xe.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let 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(){let e=this._elementsWithExternalReferences;if(e&&e.size){let 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();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(JX),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let s=i[a],l=s.getAttribute(o),h=l?l.match(eJ):null;if(h){let v=r.get(s);v||(v=[],r.set(s,v)),v.push({name:o,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ue(1)).subscribe(a=>this._setSvgElement(a),a=>{let o=`Error retrieving icon ${i}:${r}! ${a.message}`;this._errorHandler.handleError(new Error(o))})}}static{this.\u0275fac=function(i){return new(i||t)(m($),m(YX),Gt("aria-hidden"),m(ZX),m(Zn),m(KX,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(ie("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Lt(r.color?"mat-"+r.color:""),re("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ye,ae],ngContentSelectors:GX,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0})}}return t})(),C2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();function tJ(t,n){if(t&1&&(p(0,"mat-error"),d(1),f()),t&2){let e=M();g(),ne("",e.label," is a required field.")}}function iJ(t,n){if(t&1&&(p(0,"mat-error"),d(1),f()),t&2){let e=M();g(),E(e.customErrorMessage)}}var bk=(()=>{class t{get matcher(){return this}get required(){return this._required??this.ngControl?.control?.hasValidator(_i.required)??!1}set required(e){this._required=e}constructor(e){this.ngControl=e,this.disabled=!1,this.icon="visibility_off",this.label=null,this.customErrorMessage=null,this.customErrorName=null,this.touched=!1,this.type="password",this.value=null,this._required=null,this._visible=!1,this.onChange=i=>{},this.onTouched=()=>{},e!==null&&(e.valueAccessor=this)}isErrorState(e,i){return this.touched&&(this.ngControl?.control?.invalid??!1)}onFocusOut(){this.touched=!0,this.onTouched(),this.matInput.updateErrorState()}onInput(e){this.value=e.currentTarget.value,this.touched=!0,this.onChange(this.value)}onVisibilityClick(e){this._visible?(this.icon="visibility_off",this.type="password"):(this.icon="visibility",this.type="text"),this._visible=!this._visible,e.stopPropagation()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}writeValue(e){this.value=e}static{this.\u0275fac=function(i){return new(i||t)(m(Fi,10))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-input-password"]],viewQuery:function(i,r){if(i&1&&ue($i,5),i&2){let a;G(a=W())&&(r.matInput=a.first)}},inputs:{label:"label",customErrorMessage:"customErrorMessage",customErrorName:"customErrorName",required:"required"},decls:15,vars:9,consts:[["matInput","",3,"focusout","input","disabled","errorStateMatcher","required","type","value"],["matSuffix","",3,"click"],[4,"ngIf"]],template:function(i,r){i&1&&(p(0,"mat-form-field"),d(1,` - `),p(2,"mat-label"),d(3),f(),d(4,` - `),p(5,"input",0),H("focusout",function(){return r.onFocusOut()})("input",function(o){return r.onInput(o)}),f(),d(6,` - `),p(7,"mat-icon",1),H("click",function(o){return r.onVisibilityClick(o)}),d(8),f(),d(9,` - `),w(10,tJ,2,1,"mat-error",2),d(11,` - `),w(12,iJ,2,1,"mat-error",2),d(13,` -`),f(),d(14,` -`)),i&2&&(g(3),E(r.label),g(2),C("disabled",r.disabled)("errorStateMatcher",r.matcher)("required",r.required)("type",r.type)("value",r.value),g(3),E(r.icon),g(2),C("ngIf",r.ngControl.hasError("required")),g(2),C("ngIf",r.ngControl.hasError(r.customErrorName)))},dependencies:[Re,Kt,Di,pr,l2,Yr,$i],styles:["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px}[_nghost-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var rJ=(t,n)=>({password:t,repeatPassword:n}),aJ=t=>({minchar:t});function oJ(t,n){if(t&1&&(p(0,"p"),d(1),I(2,"translate"),f()),t&2){let e=M();g(),ne(` - `,yo(2,1,"labels.commons.Password validation",sr(4,aJ,e.minPasswordLength)),` - `)}}function sJ(t,n){t&1&&(p(0,"p"),d(1),I(2,"translateKey"),f()),t&2&&(g(),ne(` - `,yo(2,1,"Passwords do not match","inputs"),` - `))}var kve=(()=>{class t{constructor(e,i,r,a){this.dialogRef=e,this.data=i,this.formBuilder=r,this.passwordsUtility=a,this.minPasswordLength=mt.minPasswordLength|12,this.passwordInputType=["password","password"]}ngOnInit(){this.createChangePasswordForm()}createChangePasswordForm(){this.changePasswordForm=this.formBuilder.group({password:["",this.passwordsUtility.getPasswordValidators()],repeatPassword:["",[_i.required,this.confirmPassword("password")]]},{updateOn:"blur"})}confirmPassword(e){return i=>{if(i.value==null||i.value.length===0)return null;let r=i.root.get(e);if(r){let a=r.valueChanges.subscribe(()=>{i.updateValueAndValidity(),a.unsubscribe()})}return r&&r.value!==i.value?{notequal:!0}:null}}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi),m(xs),m(Ah))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-change-password-dialog"]],decls:42,vars:25,consts:[["password",""],["repeatPassword",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[1,"layout-column"],["formControlName","password",3,"label"],[4,"ngIf"],["formControlName","repeatPassword",3,"label"],[1,"error"],["align","center"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"disabled","mat-dialog-close"]],template:function(i,r){if(i&1&&(p(0,"h1",2),d(1),I(2,"translate"),f(),d(3,` - -`),p(4,"div",3),d(5,` - `),p(6,"form",4),d(7,` - `),p(8,"div",5),d(9,` - `),R(10,"mifosx-input-password",6,0),I(12,"translateKey"),d(13,` - `),p(14,"mat-error"),d(15,` - `),w(16,oJ,3,6,"p",7),d(17,` - `),f(),d(18,` - - `),R(19,"mifosx-input-password",8,1),I(21,"translateKey"),d(22,` - `),f(),d(23,` - - `),p(24,"div",9),d(25,` - `),w(26,sJ,3,4,"p",7),d(27,` - `),f(),d(28,` - `),f(),d(29,` -`),f(),d(30,` - -`),p(31,"mat-dialog-actions",10),d(32,` - `),p(33,"button",11),d(34),I(35,"translate"),f(),d(36,` - `),p(37,"button",12),d(38),I(39,"translate"),f(),d(40,` -`),f(),d(41,` -`)),i&2){let a,o;g(),E(O(2,10,"labels.heading.Change Password")),g(5),C("formGroup",r.changePasswordForm),g(4),Bt("label",yo(12,12,"Password","inputs")),g(6),C("ngIf",((a=r.changePasswordForm.get("password").errors)==null?null:a.uppercase)||((a=r.changePasswordForm.get("password").errors)==null?null:a.number)||((a=r.changePasswordForm.get("password").errors)==null?null:a.repeated)||((a=r.changePasswordForm.get("password").errors)==null?null:a.specialChar)||((a=r.changePasswordForm.get("password").errors)==null?null:a.minlength)),g(3),Bt("label",yo(21,15,"Confirm Password","inputs")),g(7),C("ngIf",(o=r.changePasswordForm.get("repeatPassword").errors)==null?null:o.notequal),g(8),E(O(35,18,"labels.buttons.Cancel")),g(3),C("disabled",!r.changePasswordForm.valid)("mat-dialog-close",cr(22,rJ,r.changePasswordForm.get("password").value,r.changePasswordForm.get("repeatPassword").value)),g(),ne(` - `,O(39,20,"labels.buttons.Confirm"),` - `)}},dependencies:[Re,lt,Si,yi,Ii,ki,pr,Cs,vi,jr,tn,la,bk,Pe,J1],styles:[".error[_ngcontent-%COMP%]{color:red}mat-dialog-content[_ngcontent-%COMP%]{min-width:240px;width:240px}"]})}}return t})();var cJ=()=>({enable:!0}),Pve=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-enable-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,` -`),p(4,"div",1),d(5,` - `),p(6,"p"),d(7),I(8,"translate"),f(),d(9,` -`),f(),d(10,` -`),p(11,"mat-dialog-actions",2),d(12,` - `),p(13,"button",3),d(14),I(15,"translate"),f(),d(16,` - `),p(17,"button",4),d(18),I(19,"translate"),f(),d(20,` -`),f(),d(21,` -`)),i&2&&(g(),E(O(2,6,"labels.heading.Enable")),g(6),Ht("",O(8,8,"labels.text.Are you sure you want to enable")," ",r.data.enableContext," ?"),g(7),E(O(15,10,"labels.buttons.Cancel")),g(3),C("mat-dialog-close",or(14,cJ)),g(),ne(` - `,O(19,12,"labels.buttons.Confirm"),` - `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();var lJ=()=>({disable:!0}),zve=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-disable-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,` -`),p(4,"div",1),d(5,` - `),p(6,"p"),d(7),I(8,"translate"),f(),d(9,` -`),f(),d(10,` -`),p(11,"mat-dialog-actions",2),d(12,` - `),p(13,"button",3),d(14),I(15,"translate"),f(),d(16,` - `),p(17,"button",4),d(18),I(19,"translate"),f(),d(20,` -`),f(),d(21,` -`)),i&2&&(g(),E(O(2,6,"labels.heading.Disable")),g(6),Ht("",O(8,8,"labels.text.Are you sure you want to disable")," ",r.data.disableContext," ?"),g(7),E(O(15,10,"labels.buttons.Cancel")),g(3),C("mat-dialog-close",or(14,lJ)),g(),ne(` - `,O(19,12,"labels.buttons.Confirm"),` - `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();var yk=(()=>{class t{constructor(){}setColor(e){let i="primary";switch(e){case"Basic":i="primary";break;case"Mild":i="primary";break;case"Strong":i="warn";break;default:i="warn"}return i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var uJ=()=>({confirm:!0}),jve=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this.dialogs=i,this.data=r}ngOnInit(){this.setColor()}setColor(){this.color=this.dialogs.setColor(this.data.type)}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(yk),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-confirmation-dialog"]],decls:20,vars:11,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","",3,"color","mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),f(),d(2,` -`),p(3,"div",1),d(4,` - `),p(5,"p"),d(6),f(),d(7,` -`),f(),d(8,` -`),p(9,"mat-dialog-actions",2),d(10,` - `),p(11,"button",3),d(12),I(13,"translate"),f(),d(14,` - `),p(15,"button",4),d(16),I(17,"translate"),f(),d(18,` -`),f(),d(19,` -`)),i&2&&(g(),E(r.data.heading),g(5),ne("",r.data.dialogContext," ?"),g(6),E(O(13,6,"labels.buttons.Cancel")),g(3),Bt("color",r.color),C("mat-dialog-close",or(10,uJ)),g(),ne(` - `,O(17,8,"labels.buttons.Confirm"),` - `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();function hJ(t,n){if(t&1&&(p(0,"p"),d(1),f()),t&2){let e=M();g(),E(e.data)}}function mJ(t,n){if(t&1&&R(0,"span",6),t&2){let e=M();C("innerHTML",e.data,kl)}}var Gve=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.showAsCode=!1,this.showAsCode=i.startsWith("
")}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-error-dialog"]],decls:18,vars:8,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],["align","left"],["mat-raised-button","","mat-dialog-close",""],[3,"innerHTML"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",1),d(5,`
-  `),w(6,hJ,2,1,"p",2),d(7,`
-  `),w(8,mJ,1,1,"span",3),d(9,`
-`),f(),d(10,`
-
-`),p(11,"mat-dialog-actions",4),d(12,`
-  `),p(13,"button",5),d(14),I(15,"translate"),f(),d(16,`
-`),f(),d(17,`
-`)),i&2&&(g(),E(O(2,4,"Error Log")),g(5),C("ngIf",!r.showAsCode),g(2),C("ngIf",r.showAsCode),g(6),E(O(15,6,"Cancel")))},dependencies:[Re,lt,Si,yi,Ii,ki,Pe]})}}return t})();var Ck=(()=>{class t{constructor(e){this.http=e}getNotifications(e,i){let r=new X().set("isRead",e.toString()).set("limit",i);return this.http.get("/notifications",{params:r})}updateNotifications(){return this.http.put("/notifications",{})}getMockUnreadNotification(){let e=new Date;return ce({totalFilteredRecords:1,pageItems:[{id:Math.floor(Math.random()*100),objectType:"client",objectId:Math.floor(Math.random()*10),action:"clientCreated",actorId:2,content:"Client Created",isRead:!1,isSystemGenerated:!1,createdAt:`${e.toLocaleDateString()} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`}]})}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var fJ=0,xk="mat-badge-content",t7=new Set,gJ=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],standalone:!0,features:[ae],decls:0,vars:0,template:function(i,r){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-app-error));color:var(--mat-badge-text-color, var(--mat-app-on-error));font-family:var(--mat-badge-text-font, var(--mat-app-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-app-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-app-corner-full))}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color, var(--mat-app-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size);height:var(--mat-badge-legacy-small-size-container-size);min-width:var(--mat-badge-small-size-container-size);min-height:var(--mat-badge-small-size-container-size);line-height:var(--mat-badge-small-size-line-height);padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size);height:var(--mat-badge-legacy-container-size);min-width:var(--mat-badge-container-size);min-height:var(--mat-badge-container-size);line-height:var(--mat-badge-line-height);padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size, var(--mat-app-label-small-size));margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size);height:var(--mat-badge-legacy-large-size-container-size);min-width:var(--mat-badge-large-size-container-size);min-height:var(--mat-badge-large-size-container-size);line-height:var(--mat-badge-large-size-line-height);padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size, var(--mat-app-label-small-size));margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0})}}return t})(),Mk=(()=>{class t{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateDescription(e)}constructor(e,i,r,a,o){this._ngZone=e,this._elementRef=i,this._ariaDescriber=r,this._renderer=a,this._animationMode=o,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=fJ++,this._isInitialized=!1,this._interactivityChecker=z(Io),this._document=z(Ce);let s=z(Ji);if(!t7.has(s)){t7.add(s);let l=X0(gJ,{environmentInjector:z(Oi)});s.onDestroy(()=>{t7.delete(s),l.destroy()})}}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let e=this._renderer.createElement("span"),i="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(xk),this._animationMode==="NoopAnimations"&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(i)})}):e.classList.add(i),e}_updateRenderedContent(e){let i=`${e??""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!e||this._isHostInteractive())&&this._removeInlineDescription(),this._description=e,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,e):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(e){let i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),e&&i.add(`mat-badge-${e}`)}_clearExistingBadges(){let e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${xk}`);for(let i of Array.from(e))i!==this._badgeElement&&i.remove()}static{this.\u0275fac=function(i){return new(i||t)(m(oe),m($),m(t2),m(tr),m(ot,8))}}static{this.\u0275dir=T({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(i,r){i&2&&re("mat-badge-overlap",r.overlap)("mat-badge-above",r.isAbove())("mat-badge-below",!r.isAbove())("mat-badge-before",!r.isAfter())("mat-badge-after",r.isAfter())("mat-badge-small",r.size==="small")("mat-badge-medium",r.size==="medium")("mat-badge-large",r.size==="large")("mat-badge-hidden",r.hidden||!r.content)("mat-badge-disabled",r.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",q],disabled:[2,"matBadgeDisabled","disabled",q],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",q]},standalone:!0,features:[ye]})}}return t})(),wk=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Ds,fe,fe]})}}return t})();var Dk=(t,n)=>[t,n];function vJ(t,n){t&1&&(p(0,"div",7),d(1,`
-    `),p(2,"mat-icon",8),d(3,`
-      `),p(4,"span",9),d(5),I(6,"translate"),f(),d(7,`
-    `),f(),d(8,`
-    `),p(9,"p"),d(10),I(11,"translate"),f(),d(12,`
-  `),f()),t&2&&(g(5),E(O(6,2,"labels.menus.Notifications")),g(5),E(O(11,4,"labels.text.No notifications")))}function bJ(t,n){if(t&1&&(p(0,"button",10),d(1),R(2,"br"),d(3,`
-    `),p(4,"span",11),d(5),f(),d(6,`
-  `),f()),t&2){let e=n.$implicit,i=M();C("routerLink",cr(3,Dk,i.routeMap[e.objectType],e.objectId)),g(),ne(`
-    `,e.content,"*"),g(4),ne("[",e.createdAt,"]")}}function yJ(t,n){if(t&1&&(p(0,"button",12),d(1),R(2,"br"),d(3,`
-    `),p(4,"span",11),d(5),f(),d(6,`
-  `),f()),t&2){let e=n.$implicit,i=M();C("routerLink",cr(3,Dk,i.routeMap[e.objectType],e.objectId)),g(),ne(`
-    `,e.content,""),g(4),ne("[",e.createdAt,"]")}}var hbe=(()=>{class t{constructor(e){this.notificationsService=e,this.waitTime=mt.waitTimeForNotifications||60,this.readNotifications=[],this.displayedReadNotifications=[],this.unreadNotifications=[],this.routeMap={client:"/clients/",group:"/groups/",loan:"/loans-accounts/",center:"/centers/",shareAccount:"/shares-accounts/",fixedDeposit:"/fixed-deposits-accounts/",recurringDepositAccount:"/recurring-deposits-accounts/",savingsAccount:"/savings-accounts/",shareProduct:"/products/share-products/",loanProduct:"/products/loan-products/"},lo([this.notificationsService.getNotifications(!0,9),this.notificationsService.getNotifications(!1,9)]).subscribe(i=>{this.readNotifications=i[0].pageItems,this.unreadNotifications=i[1].pageItems,this.setNotifications()})}ngOnInit(){this.fetchUnreadNotifications()}ngOnDestroy(){this.destroy()}destroy(){clearTimeout(this.timer)}setNotifications(){let e=this.unreadNotifications.length;this.displayedReadNotifications=e<9?this.readNotifications.slice(0,9-e):[]}fetchUnreadNotifications(){this.notificationsService.getNotifications(!1,9).subscribe(e=>{this.unreadNotifications=this.unreadNotifications.concat(e.pageItems),this.setNotifications()}),this.timer=setTimeout(()=>{this.fetchUnreadNotifications()},this.waitTime*1e3)}menuClosed(){this.notificationsService.updateNotifications().subscribe(()=>{}),this.readNotifications=this.unreadNotifications.concat(this.readNotifications),this.unreadNotifications=[],this.setNotifications()}mockNotifications(){this.notificationsService.getMockUnreadNotification().subscribe(e=>{this.unreadNotifications=this.unreadNotifications.concat(e.pageItems),this.setNotifications()})}static{this.\u0275fac=function(i){return new(i||t)(m(Ck))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-notifications-tray"]],decls:16,vars:10,consts:[["notificationsMenu","matMenu"],["mat-icon-button","","matBadgeColor","warn","matBadgeSize","medium",1,"ml-1",3,"menuClosed","matTooltip","matMenuTriggerFor","matBadge","matBadgeHidden"],["icon","bell","size","lg"],[1,"mifosx-notifications-menu",3,"overlapTrigger"],["class","layout-column align-center-center no-notifications",4,"ngIf"],["mat-menu-item","","class","unread",3,"routerLink",4,"ngFor","ngForOf"],["mat-menu-item","",3,"routerLink",4,"ngFor","ngForOf"],[1,"layout-column","align-center-center","no-notifications"],[1,"no-notifications-icon"],[1,"material-icons"],["mat-menu-item","",1,"unread",3,"routerLink"],[1,"time"],["mat-menu-item","",3,"routerLink"]],template:function(i,r){if(i&1){let a=le();p(0,"button",1),I(1,"translate"),H("menuClosed",function(){return F(a),j(r.menuClosed())}),d(2,`
-  `),R(3,"fa-icon",2),d(4,`
-`),f(),d(5,`
-
-`),p(6,"mat-menu",3,0),d(8,`
-  `),w(9,vJ,13,6,"div",4),d(10,`
-
-  `),w(11,bJ,7,6,"button",5),d(12,`
-
-  `),w(13,yJ,7,6,"button",6),d(14,`
-`),f(),d(15,`
-`)}if(i&2){let a=Ct(7);Bt("matTooltip",O(1,8,"tooltips.Notifications")),C("matMenuTriggerFor",a)("matBadge",r.unreadNotifications.length)("matBadgeHidden",!r.unreadNotifications.length),g(6),C("overlapTrigger",!1),g(3),C("ngIf",r.unreadNotifications.length===0),g(2),C("ngForOf",r.unreadNotifications),g(2),C("ngForOf",r.displayedReadNotifications)}},dependencies:[ni,Re,Ut,bn,Yr,Hs,zc,Vh,qr,Mk,Pe],styles:[`.mifosx-notifications-menu{max-height:20rem!important;width:12.5rem!important}.mifosx-notifications-menu .no-notifications{padding:16px}.mifosx-notifications-menu .notification-icon{font-size:24px;opacity:.8}.mifosx-notifications-menu .mat-menu-content{padding:0!important}.mifosx-notifications-menu [mat-menu-item]{height:5rem;line-height:2.2rem}.mifosx-notifications-menu [mat-menu-item] .time{font-size:small}.mifosx-notifications-menu [mat-menu-item].unread{background-color:#e0f7ff!important}
-`],encapsulation:2})}}return t})();var pt="primary",e4=Symbol("RouteTitle"),o7=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function k2(t){return new o7(t)}function CJ(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.lengthi[a]===r)}else return t===n}function Rk(t){return t.length>0?t[t.length-1]:null}function Ns(t){return Li(t)?t:us(t)?Yt(Promise.resolve(t)):ce(t)}var MJ={exact:Fk,subset:jk},Nk={exact:wJ,subset:DJ,ignored:()=>!0};function Sk(t,n,e){return MJ[e.paths](t.root,n.root,e.matrixParams)&&Nk[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function wJ(t,n){return Ya(t,n)}function Fk(t,n,e){if(!Hc(t.segments,n.segments)||!Nh(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!Fk(t.children[i],n.children[i],e))return!1;return!0}function DJ(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Hk(t[e],n[e]))}function jk(t,n,e){return Bk(t,n,n.segments,e)}function Bk(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Hc(r,e)||n.hasChildren()||!Nh(r,e,i))}else if(t.segments.length===e.length){if(!Hc(t.segments,e)||!Nh(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!jk(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),a=e.slice(t.segments.length);return!Hc(t.segments,r)||!Nh(t.segments,r,i)||!t.children[pt]?!1:Bk(t.children[pt],n,a,i)}}function Nh(t,n,e){return n.every((i,r)=>Nk[e](t[r].parameters,i.parameters))}var Fo=class{constructor(n=new $t([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=k2(this.queryParams),this._queryParamMap}toString(){return IJ.serialize(this)}},$t=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fh(this)}},Lc=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=k2(this.parameters),this._parameterMap}toString(){return $k(this)}};function SJ(t,n){return Hc(t,n)&&t.every((e,i)=>Ya(e.parameters,n[i].parameters))}function Hc(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function kJ(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===pt&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==pt&&(e=e.concat(n(r,i)))}),e}var t4=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>new I2,providedIn:"root"})}}return t})(),I2=class{parse(n){let e=new l7(n);return new Fo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${jd(n.root,!0)}`,i=PJ(n.queryParams),r=typeof n.fragment=="string"?`#${EJ(n.fragment)}`:"";return`${e}${i}${r}`}},IJ=new I2;function Fh(t){return t.segments.map(n=>$k(n)).join("/")}function jd(t,n){if(!t.hasChildren())return Fh(t);if(n){let e=t.children[pt]?jd(t.children[pt],!1):"",i=[];return Object.entries(t.children).forEach(([r,a])=>{r!==pt&&i.push(`${r}:${jd(a,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=kJ(t,(i,r)=>r===pt?[jd(t.children[pt],!1)]:[`${r}:${jd(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[pt]!=null?`${Fh(t)}/${e[0]}`:`${Fh(t)}/(${e.join("//")})`}}function Uk(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hh(t){return Uk(t).replace(/%3B/gi,";")}function EJ(t){return encodeURI(t)}function c7(t){return Uk(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jh(t){return decodeURIComponent(t)}function kk(t){return jh(t.replace(/\+/g,"%20"))}function $k(t){return`${c7(t.path)}${OJ(t.parameters)}`}function OJ(t){return Object.entries(t).map(([n,e])=>`;${c7(n)}=${c7(e)}`).join("")}function PJ(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Hh(e)}=${Hh(r)}`).join("&"):`${Hh(e)}=${Hh(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var TJ=/^[^\/()?;#]+/;function i7(t){let n=t.match(TJ);return n?n[0]:""}var VJ=/^[^\/()?;=#]+/;function AJ(t){let n=t.match(VJ);return n?n[0]:""}var zJ=/^[^=?&#]+/;function LJ(t){let n=t.match(zJ);return n?n[0]:""}var HJ=/^[^&#]+/;function RJ(t){let n=t.match(HJ);return n?n[0]:""}var l7=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $t([],{}):new $t([],this.parseChildren())}parseQueryParams(){let 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("/");let 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[pt]=new $t(n,e)),i}parseSegment(){let n=i7(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new ke(4009,!1);return this.capture(n),new Lc(jh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=AJ(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=i7(this.remaining);r&&(i=r,this.capture(i))}n[jh(e)]=jh(i)}parseQueryParam(n){let e=LJ(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let o=RJ(this.remaining);o&&(i=o,this.capture(i))}let r=kk(e),a=kk(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(a)}else n[r]=a}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=i7(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new ke(4010,!1);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=pt);let o=this.parseChildren();e[a]=Object.keys(o).length===1?o[pt]:new $t([],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):!1}capture(n){if(!this.consumeOptional(n))throw new ke(4011,!1)}};function Gk(t){return t.segments.length>0?new $t([],{[pt]:t}):t}function Wk(t){let n={};for(let[i,r]of Object.entries(t.children)){let a=Wk(r);if(i===pt&&a.segments.length===0&&a.hasChildren())for(let[o,s]of Object.entries(a.children))n[o]=s;else(a.segments.length>0||a.hasChildren())&&(n[i]=a)}let e=new $t(t.segments,n);return NJ(e)}function NJ(t){if(t.numberOfChildren===1&&t.children[pt]){let n=t.children[pt];return new $t(t.segments.concat(n.segments),n.children)}return t}function Rc(t){return t instanceof Fo}function FJ(t,n,e=null,i=null){let r=qk(t);return Yk(r,n,e,i)}function qk(t){let n;function e(a){let o={};for(let l of a.children){let h=e(l);o[l.outlet]=h}let s=new $t(a.url,o);return a===t&&(n=s),s}let i=e(t.root),r=Gk(i);return n??r}function Yk(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return n7(r,r,r,e,i);let a=jJ(n);if(a.toRoot())return n7(r,r,new $t([],{}),e,i);let o=BJ(a,r,t),s=o.processChildren?$d(o.segmentGroup,o.index,a.commands):Kk(o.segmentGroup,o.index,a.commands);return n7(r,o.segmentGroup,s,e,i)}function Bh(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qd(t){return typeof t=="object"&&t!=null&&t.outlets}function n7(t,n,e,i,r){let a={};i&&Object.entries(i).forEach(([l,h])=>{a[l]=Array.isArray(h)?h.map(v=>`${v}`):`${h}`});let o;t===n?o=e:o=Qk(t,n,e);let s=Gk(Wk(o));return new Fo(s,a,r)}function Qk(t,n,e){let i={};return Object.entries(t.children).forEach(([r,a])=>{a===n?i[r]=e:i[r]=Qk(a,n,e)}),new $t(t.segments,i)}var Uh=class{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Bh(i[0]))throw new ke(4003,!1);let r=i.find(qd);if(r&&r!==Rk(i))throw new ke(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function jJ(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Uh(!0,0,t);let n=0,e=!1,i=t.reduce((r,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let s={};return Object.entries(a.outlets).forEach(([l,h])=>{s[l]=typeof h=="string"?h.split("/"):h}),[...r,{outlets:s}]}if(a.segmentPath)return[...r,a.segmentPath]}return typeof a!="string"?[...r,a]:o===0?(a.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,a]},[]);return new Uh(e,n,i)}var w2=class{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function BJ(t,n,e){if(t.isAbsolute)return new w2(n,!0,0);if(!e)return new w2(n,!1,NaN);if(e.parent===null)return new w2(e,!0,0);let i=Bh(t.commands[0])?0:1,r=e.segments.length-1+i;return UJ(e,r,t.numberOfDoubleDots)}function UJ(t,n,e){let i=t,r=n,a=e;for(;a>r;){if(a-=r,i=i.parent,!i)throw new ke(4005,!1);r=i.segments.length}return new w2(i,!1,r-a)}function $J(t){return qd(t[0])?t[0].outlets:{[pt]:t}}function Kk(t,n,e){if(t??=new $t([],{}),t.segments.length===0&&t.hasChildren())return $d(t,n,e);let i=GJ(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexa!==pt)&&t.children[pt]&&t.numberOfChildren===1&&t.children[pt].segments.length===0){let a=$d(t.children[pt],n,e);return new $t(t.segments,a.children)}return Object.entries(i).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[a]=Kk(t.children[a],n,o))}),Object.entries(t.children).forEach(([a,o])=>{i[a]===void 0&&(r[a]=o)}),new $t(t.segments,r)}}function GJ(t,n,e){let i=0,r=n,a={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return a;let o=t.segments[r],s=e[i];if(qd(s))break;let l=`${s}`,h=i0&&l===void 0)break;if(l&&h&&typeof h=="object"&&h.outlets===void 0){if(!Ek(l,h,o))return a;i+=2}else{if(!Ek(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function d7(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=d7(new $t([],{}),0,i))}),n}function Ik(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function Ek(t,n,e){return t==e.path&&Ya(n,e.parameters)}var Gd="imperative",an=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(an||{}),Qr=class{constructor(n,e){this.id=n,this.url=e}},E2=class extends Qr{constructor(n,e,i="imperative",r=null){super(n,e),this.type=an.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ga=class extends Qr{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=an.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Sr=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Sr||{}),$h=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}($h||{}),No=class extends Qr{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=an.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Rs=class extends Qr{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=an.NavigationSkipped}},Yd=class extends Qr{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=an.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Gh=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},u7=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},h7=class extends Qr{constructor(n,e,i,r,a){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=a,this.type=an.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},m7=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},p7=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},f7=class{constructor(n){this.route=n,this.type=an.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},g7=class{constructor(n){this.route=n,this.type=an.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},_7=class{constructor(n){this.snapshot=n,this.type=an.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},v7=class{constructor(n){this.snapshot=n,this.type=an.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},b7=class{constructor(n){this.snapshot=n,this.type=an.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},y7=class{constructor(n){this.snapshot=n,this.type=an.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wh=class{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=an.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Qd=class{},O2=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function qJ(t,n){return t.providers&&!t._injector&&(t._injector=R0(t.providers,n,`Route: ${t.path}`)),t._injector??n}function fa(t){return t.outlet||pt}function YJ(t,n){let e=t.filter(i=>fa(i)===n);return e.push(...t.filter(i=>fa(i)!==n)),e}function i4(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var C7=class{get injector(){return i4(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new n4(this.rootInjector),this.attachRef=null}},n4=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new C7(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||t)(k(Oi))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qh=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=x7(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=x7(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=M7(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return M7(n,this._root).map(e=>e.value)}};function x7(t,n){if(t===n.value)return n;for(let e of n.children){let i=x7(t,e);if(i)return i}return null}function M7(t,n){if(t===n.value)return[n];for(let e of n.children){let i=M7(t,e);if(i.length)return i.unshift(n),i}return[]}var Dr=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function M2(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Yh=class extends qh{constructor(n,e){super(n),this.snapshot=e,T7(this,n)}toString(){return this.snapshot.toString()}};function Zk(t){let n=QJ(t),e=new at([new Lc("",{})]),i=new at({}),r=new at({}),a=new at({}),o=new at(""),s=new kr(e,i,a,o,r,pt,t,n.root);return s.snapshot=n.root,new Yh(new Dr(s,[]),n)}function QJ(t){let n={},e={},i={},r="",a=new D2([],n,i,r,e,pt,t,null,{});return new Kh("",new Dr(a,[]))}var kr=class{constructor(n,e,i,r,a,o,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(me(h=>h[e4]))??ce(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(me(n=>k2(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(me(n=>k2(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Qh(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:Y(Y({},n.params),t.params),data:Y(Y({},n.data),t.data),resolve:Y(Y(Y(Y({},t.data),n.data),r?.data),t._resolvedData)}:i={params:Y({},t.params),data:Y({},t.data),resolve:Y(Y({},t.data),t._resolvedData??{})},r&&Jk(r)&&(i.resolve[e4]=r.title),i}var D2=class{get title(){return this.data?.[e4]}constructor(n,e,i,r,a,o,s,l,h){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._resolve=h}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??=k2(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=k2(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Kh=class extends qh{constructor(n,e){super(e),this.url=n,T7(this,e)}toString(){return Xk(this._root)}};function T7(t,n){n.value._routerState=t,n.children.forEach(e=>T7(t,e))}function Xk(t){let n=t.children.length>0?` { ${t.children.map(Xk).join(", ")} } `:"";return`${t.value}${n}`}function r7(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ya(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ya(n.params,e.params)||t.paramsSubject.next(e.params),xJ(n.url,e.url)||t.urlSubject.next(e.url),Ya(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function w7(t,n){let e=Ya(t.params,n.params)&&SJ(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||w7(t.parent,n.parent))}function Jk(t){return typeof t.title=="string"||t.title===null}var KJ=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=pt,this.activateEvents=new B,this.deactivateEvents=new B,this.attachEvents=new B,this.detachEvents=new B,this.parentContexts=z(n4),this.location=z(Xe),this.changeDetector=z(pe),this.inputBinder=z(tm,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ke(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ke(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ke(4012,!1);this.location.detach();let 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.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new ke(4013,!1);this._activatedRoute=e;let r=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new D7(e,s,r.injector);this.activated=r.createComponent(o,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Te]})}}return t})(),D7=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===kr?this.route:n===n4?this.childContexts:this.parent.get(n,e)}},tm=new L(""),Ok=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=on([i.queryParams,i.params,i.data]).pipe(dt(([a,o,s],l)=>(s=Y(Y(Y({},a),o),s),l===0?ce(s):Promise.resolve(s)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let o=nx(i.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of o.inputs)e.activatedComponentRef.setInput(s,a[s])});this.outletDataSubscriptions.set(e,r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function ZJ(t,n,e){let i=Kd(t,n._root,e?e._root:void 0);return new Yh(i,n)}function Kd(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=XJ(t,n,e);return new Dr(i,r)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(s=>Kd(t,s)),o}}let i=JJ(n.value),r=n.children.map(a=>Kd(t,a));return new Dr(i,r)}}function XJ(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Kd(t,i,r);return Kd(t,i)})}function JJ(t){return new kr(new at(t.url),new at(t.params),new at(t.queryParams),new at(t.fragment),new at(t.data),t.outlet,t.component,t)}var Zd=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},eI="ngNavigationCancelingError";function Zh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Rc(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=tI(!1,Sr.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function tI(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[eI]=!0,e.cancellationCode=n,e}function eee(t){return iI(t)&&Rc(t.url)}function iI(t){return!!t&&t[eI]}var tee=(t,n,e,i)=>me(r=>(new S7(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),S7=class{constructor(n,e,i,r,a){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=a}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),r7(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=M2(e);n.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,r[o],i),delete r[o]}),Object.values(r).forEach(a=>{this.deactivateRouteAndItsChildren(a,i)})}deactivateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(r===a)if(r.component){let o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,i);else a&&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){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=M2(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);if(i&&i.outlet){let o=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=M2(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=M2(e);n.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],i),this.forwardEvent(new y7(a.value.snapshot))}),n.children.length&&this.forwardEvent(new v7(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(r7(r),r===a)if(r.component){let o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),r7(s.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,i)}},Xh=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},S2=class{constructor(n,e){this.component=n,this.route=e}};function iee(t,n,e){let i=t._root,r=n?n._root:null;return Bd(i,r,e,[i.value])}function nee(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function T2(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!ob(t)?t:n.get(t):i}function Bd(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=M2(n);return t.children.forEach(o=>{ree(o,a[o.value.outlet],e,i.concat([o.value]),r),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,s])=>Wd(s,e.getContext(o),r)),r}function ree(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=t.value,o=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let l=aee(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Xh(i)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?Bd(t,n,s?s.children:null,i,r):Bd(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new S2(s.outlet.component,o))}else o&&Wd(n,s,r),r.canActivateChecks.push(new Xh(i)),a.component?Bd(t,null,s?s.children:null,i,r):Bd(t,null,e,i,r);return r}function aee(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Hc(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Hc(t.url,n.url)||!Ya(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!w7(t,n)||!Ya(t.queryParams,n.queryParams);case"paramsChange":default:return!w7(t,n)}}function Wd(t,n,e){let i=M2(t),r=t.value;Object.entries(i).forEach(([a,o])=>{r.component?n?Wd(o,n.children.getContext(a),e):Wd(o,null,e):Wd(o,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new S2(n.outlet.component,r)):e.canDeactivateChecks.push(new S2(null,r)):e.canDeactivateChecks.push(new S2(null,r))}function r4(t){return typeof t=="function"}function oee(t){return typeof t=="boolean"}function see(t){return t&&r4(t.canLoad)}function cee(t){return t&&r4(t.canActivate)}function lee(t){return t&&r4(t.canActivateChild)}function dee(t){return t&&r4(t.canDeactivate)}function uee(t){return t&&r4(t.canMatch)}function nI(t){return t instanceof co||t?.name==="EmptyError"}var Rh=Symbol("INITIAL_VALUE");function P2(){return dt(t=>on(t.map(n=>n.pipe(Ue(1),Qe(Rh)))).pipe(me(n=>{for(let e of n)if(e!==!0){if(e===Rh)return Rh;if(e===!1||hee(e))return e}return!0}),Ve(n=>n!==Rh),Ue(1)))}function hee(t){return Rc(t)||t instanceof Zd}function mee(t,n){return mi(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return o.length===0&&a.length===0?ce(Ge(Y({},e),{guardsResult:!0})):pee(o,i,r,t).pipe(mi(s=>s&&oee(s)?fee(i,a,t,n):ce(s)),me(s=>Ge(Y({},e),{guardsResult:s})))})}function pee(t,n,e,i){return Yt(t).pipe(mi(r=>yee(r.component,r.route,e,n,i)),Da(r=>r!==!0,!0))}function fee(t,n,e,i){return Yt(n).pipe(Yn(r=>xn(_ee(r.route.parent,i),gee(r.route,i),bee(t,r.path,e),vee(t,r.route,e))),Da(r=>r!==!0,!0))}function gee(t,n){return t!==null&&n&&n(new b7(t)),ce(!0)}function _ee(t,n){return t!==null&&n&&n(new _7(t)),ce(!0)}function vee(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return ce(!0);let r=i.map(a=>Hn(()=>{let o=i4(n)??e,s=T2(a,o),l=cee(s)?s.canActivate(n,t):Vr(o,()=>s(n,t));return Ns(l).pipe(Da())}));return ce(r).pipe(P2())}function bee(t,n,e){let i=n[n.length-1],a=n.slice(0,n.length-1).reverse().map(o=>nee(o)).filter(o=>o!==null).map(o=>Hn(()=>{let s=o.guards.map(l=>{let h=i4(o.node)??e,v=T2(l,h),y=lee(v)?v.canActivateChild(i,t):Vr(h,()=>v(i,t));return Ns(y).pipe(Da())});return ce(s).pipe(P2())}));return ce(a).pipe(P2())}function yee(t,n,e,i,r){let a=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!a||a.length===0)return ce(!0);let o=a.map(s=>{let l=i4(n)??r,h=T2(s,l),v=dee(h)?h.canDeactivate(t,n,e,i):Vr(l,()=>h(t,n,e,i));return Ns(v).pipe(Da())});return ce(o).pipe(P2())}function Cee(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return ce(!0);let a=r.map(o=>{let s=T2(o,t),l=see(s)?s.canLoad(n,e):Vr(t,()=>s(n,e));return Ns(l)});return ce(a).pipe(P2(),rI(i))}function rI(t){return Ep(yt(n=>{if(typeof n!="boolean")throw Zh(t,n)}),me(n=>n===!0))}function xee(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return ce(!0);let a=r.map(o=>{let s=T2(o,t),l=uee(s)?s.canMatch(n,e):Vr(t,()=>s(n,e));return Ns(l)});return ce(a).pipe(P2(),rI(i))}var Xd=class{constructor(n){this.segmentGroup=n||null}},Jd=class extends Error{constructor(n){super(),this.urlTree=n}};function x2(t){return Ko(new Xd(t))}function Mee(t){return Ko(new ke(4e3,!1))}function wee(t){return Ko(tI(!1,Sr.GuardRejected))}var k7=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return ce(i);if(r.numberOfChildren>1||!r.children[pt])return Mee(`${n.redirectTo}`);r=r.children[pt]}}applyRedirectCommands(n,e,i,r,a){if(typeof e!="string"){let s=e,{queryParams:l,fragment:h,routeConfig:v,url:y,outlet:D,params:S,data:V,title:K}=r,te=Vr(a,()=>s({params:S,data:V,queryParams:l,fragment:h,routeConfig:v,url:y,outlet:D,title:K}));if(te instanceof Fo)throw new Jd(te);e=te}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new Jd(o);return o}applyRedirectCreateUrlTree(n,e,i,r){let a=this.createSegmentGroup(n,e.root,i,r);return new Fo(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,a])=>{if(typeof a=="string"&&a[0]===":"){let s=a.substring(1);i[r]=e[s]}else i[r]=a}),i}createSegmentGroup(n,e,i,r){let a=this.createSegments(n,e.segments,i,r),o={};return Object.entries(e.children).forEach(([s,l])=>{o[s]=this.createSegmentGroup(n,l,i,r)}),new $t(a,o)}createSegments(n,e,i,r){return e.map(a=>a.path[0]===":"?this.findPosParam(n,a,r):this.findOrReturn(a,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new ke(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},I7={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dee(t,n,e,i,r){let a=aI(t,n,e);return a.matched?(i=qJ(n,i),xee(i,n,e,r).pipe(me(o=>o===!0?a:Y({},I7)))):ce(a)}function aI(t,n,e){if(n.path==="**")return See(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?Y({},I7):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||CJ)(e,t,n);if(!r)return Y({},I7);let a={};Object.entries(r.posParams??{}).forEach(([s,l])=>{a[s]=l.path});let o=r.consumed.length>0?Y(Y({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function See(t){return{matched:!0,parameters:t.length>0?Rk(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Pk(t,n,e,i){return e.length>0&&Eee(t,e,i)?{segmentGroup:new $t(n,Iee(i,new $t(e,t.children))),slicedSegments:[]}:e.length===0&&Oee(t,e,i)?{segmentGroup:new $t(t.segments,kee(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new $t(t.segments,t.children),slicedSegments:e}}function kee(t,n,e,i){let r={};for(let a of e)if(im(t,n,a)&&!i[fa(a)]){let o=new $t([],{});r[fa(a)]=o}return Y(Y({},i),r)}function Iee(t,n){let e={};e[pt]=n;for(let i of t)if(i.path===""&&fa(i)!==pt){let r=new $t([],{});e[fa(i)]=r}return e}function Eee(t,n,e){return e.some(i=>im(t,n,i)&&fa(i)!==pt)}function Oee(t,n,e){return e.some(i=>im(t,n,i))}function im(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Pee(t,n,e){return n.length===0&&!t.children[e]}var E7=class{};function Tee(t,n,e,i,r,a,o="emptyOnly"){return new O7(t,n,e,i,r,o,a).recognize()}var Vee=31,O7=class{constructor(n,e,i,r,a,o,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new k7(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new ke(4002,`'${n.segmentGroup}'`)}recognize(){let n=Pk(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(me(({children:e,rootSnapshot:i})=>{let r=new Dr(i,e),a=new Kh("",r),o=FJ(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o}}))}match(n){let e=new D2([],Object.freeze({}),Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),pt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,pt,e).pipe(me(i=>({children:i,rootSnapshot:e})),Ma(i=>{if(i instanceof Jd)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Xd?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,a){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,a):this.processSegment(n,e,i,i.segments,r,!0,a).pipe(me(o=>o instanceof Dr?[o]:[]))}processChildren(n,e,i,r){let a=[];for(let o of Object.keys(i.children))o==="primary"?a.unshift(o):a.push(o);return Yt(a).pipe(Yn(o=>{let s=i.children[o],l=YJ(e,o);return this.processSegmentGroup(n,l,s,o,r)}),Np((o,s)=>(o.push(...s),o)),Zo(null),Rp(),mi(o=>{if(o===null)return x2(i);let s=oI(o);return Aee(s),ce(s)}))}processSegment(n,e,i,r,a,o,s){return Yt(e).pipe(Yn(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,a,o,s).pipe(Ma(h=>{if(h instanceof Xd)return ce(null);throw h}))),Da(l=>!!l),Ma(l=>{if(nI(l))return Pee(i,r,a)?ce(new E7):x2(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,a,o,s,l){return fa(i)!==o&&(o===pt||!im(r,a,i))?x2(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,a,o,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,a,o,l):x2(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,a,o,s){let{matched:l,parameters:h,consumedSegments:v,positionalParamSegments:y,remainingSegments:D}=aI(e,r,a);if(!l)return x2(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Vee&&(this.allowRedirects=!1));let S=new D2(a,h,Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Tk(r),fa(r),r.component??r._loadedComponent??null,r,Vk(r)),V=Qh(S,s,this.paramsInheritanceStrategy);S.params=Object.freeze(V.params),S.data=Object.freeze(V.data);let K=this.applyRedirects.applyRedirectCommands(v,r.redirectTo,y,S,n);return this.applyRedirects.lineralizeSegments(r,K).pipe(mi(te=>this.processSegment(n,i,e,te.concat(D),o,!1,s)))}matchSegmentAgainstRoute(n,e,i,r,a,o){let s=Dee(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),s.pipe(dt(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(dt(({routes:h})=>{let v=i._loadedInjector??n,{parameters:y,consumedSegments:D,remainingSegments:S}=l,V=new D2(D,y,Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Tk(i),fa(i),i.component??i._loadedComponent??null,i,Vk(i)),K=Qh(V,o,this.paramsInheritanceStrategy);V.params=Object.freeze(K.params),V.data=Object.freeze(K.data);let{segmentGroup:te,slicedSegments:ge}=Pk(e,D,S,h);if(ge.length===0&&te.hasChildren())return this.processChildren(v,h,te,V).pipe(me(He=>new Dr(V,He)));if(h.length===0&&ge.length===0)return ce(new Dr(V,[]));let Oe=fa(i)===a;return this.processSegment(v,h,te,ge,Oe?pt:a,!0,V).pipe(me(He=>new Dr(V,He instanceof Dr?[He]:[])))}))):x2(e)))}getChildConfig(n,e,i){return e.children?ce({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?ce({routes:e._loadedRoutes,injector:e._loadedInjector}):Cee(n,e,i,this.urlSerializer).pipe(mi(r=>r?this.configLoader.loadChildren(n,e).pipe(yt(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):wee(e))):ce({routes:[],injector:n})}};function Aee(t){t.sort((n,e)=>n.value.outlet===pt?-1:e.value.outlet===pt?1:n.value.outlet.localeCompare(e.value.outlet))}function zee(t){let n=t.value.routeConfig;return n&&n.path===""}function oI(t){let n=[],e=new Set;for(let i of t){if(!zee(i)){n.push(i);continue}let r=n.find(a=>i.value.routeConfig===a.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=oI(i.children);n.push(new Dr(i.value,r))}return n.filter(i=>!e.has(i))}function Tk(t){return t.data||{}}function Vk(t){return t.resolve||{}}function Lee(t,n,e,i,r,a){return mi(o=>Tee(t,n,e,i,o.extractedUrl,r,a).pipe(me(({state:s,tree:l})=>Ge(Y({},o),{targetSnapshot:s,urlAfterRedirects:l}))))}function Hee(t,n){return mi(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ce(e);let a=new Set(r.map(l=>l.route)),o=new Set;for(let l of a)if(!o.has(l))for(let h of sI(l))o.add(h);let s=0;return Yt(o).pipe(Yn(l=>a.has(l)?Ree(l,i,t,n):(l.data=Qh(l,l.parent,t).resolve,ce(void 0))),yt(()=>s++),cl(1),mi(l=>s===o.size?ce(e):ci))})}function sI(t){let n=t.children.map(e=>sI(e)).flat();return[t,...n]}function Ree(t,n,e,i){let r=t.routeConfig,a=t._resolve;return r?.title!==void 0&&!Jk(r)&&(a[e4]=r.title),Nee(a,t,n,i).pipe(me(o=>(t._resolvedData=o,t.data=Qh(t,t.parent,e).resolve,null)))}function Nee(t,n,e,i){let r=s7(t);if(r.length===0)return ce({});let a={};return Yt(r).pipe(mi(o=>Fee(t[o],n,e,i).pipe(Da(),yt(s=>{if(s instanceof Zd)throw Zh(new I2,s);a[o]=s}))),cl(1),Xo(a),Ma(o=>nI(o)?ci:Ko(o)))}function Fee(t,n,e,i){let r=i4(n)??i,a=T2(t,r),o=a.resolve?a.resolve(n,e):Vr(r,()=>a(n,e));return Ns(o)}function a7(t){return dt(n=>{let e=t(n);return e?Yt(e).pipe(me(()=>n)):ce(n)})}var cI=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(a=>a.outlet===pt);return i}getResolvedTitleForRoute(e){return e.data[e4]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(jee),providedIn:"root"})}}return t})(),jee=(()=>{class t extends cI{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||t)(k(Xx))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),a4=new L("",{providedIn:"root",factory:()=>({})}),Bee=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],standalone:!0,features:[ae],decls:1,vars:0,template:function(i,r){i&1&&R(0,"router-outlet")},dependencies:[KJ],encapsulation:2})}}return t})();function V7(t){let n=t.children&&t.children.map(V7),e=n?Ge(Y({},t),{children:n}):Y({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==pt&&(e.component=Bee),e}var Jh=new L(""),A7=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=z(K0)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ce(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Ns(e.loadComponent()).pipe(me(lI),yt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),wa(()=>{this.componentLoaders.delete(e)})),r=new qo(i,()=>new U).pipe(il());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ce({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Uee(i,this.compiler,e,this.onLoadEndListener).pipe(wa(()=>{this.childrenLoaders.delete(i)})),o=new qo(a,()=>new U).pipe(il());return this.childrenLoaders.set(i,o),o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Uee(t,n,e,i){return Ns(t.loadChildren()).pipe(me(lI),mi(r=>r instanceof x1||Array.isArray(r)?ce(r):Yt(n.compileModuleAsync(r))),me(r=>{i&&i(t);let a,o,s=!1;return Array.isArray(r)?(o=r,s=!0):(a=r.create(e).injector,o=a.get(Jh,[],{optional:!0,self:!0}).flat()),{routes:o.map(V7),injector:a}}))}function $ee(t){return t&&typeof t=="object"&&"default"in t}function lI(t){return $ee(t)?t.default:t}var z7=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(Gee),providedIn:"root"})}}return t})(),Gee=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),dI=new L(""),uI=new L("");function Wee(t,n,e){let i=t.get(uI),r=t.get(Ce);return t.get(oe).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(h=>setTimeout(h));let a,o=new Promise(h=>{a=h}),s=r.startViewTransition(()=>(a(),qee(t))),{onViewTransitionCreated:l}=i;return l&&Vr(t,()=>l({transition:s,from:n,to:e})),o})}function qee(t){return new Promise(n=>{Ft({read:()=>setTimeout(n)},{injector:t})})}var Yee=new L(""),L7=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new U,this.transitionAbortSubject=new U,this.configLoader=z(A7),this.environmentInjector=z(Oi),this.urlSerializer=z(t4),this.rootContexts=z(n4),this.location=z(Nr),this.inputBindingEnabled=z(tm,{optional:!0})!==null,this.titleStrategy=z(cI),this.options=z(a4,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=z(z7),this.createViewTransition=z(dI,{optional:!0}),this.navigationErrorHandler=z(Yee,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ce(void 0),this.rootComponentType=null;let e=r=>this.events.next(new f7(r)),i=r=>this.events.next(new g7(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(Ge(Y(Y({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new at({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Gd,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ve(a=>a.id!==0),me(a=>Ge(Y({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),dt(a=>{let o=!1,s=!1;return ce(a).pipe(dt(l=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",Sr.SupersededByNewNavigation),ci;this.currentTransition=a,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Ge(Y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&v!=="reload"){let y="";return this.events.next(new Rs(l.id,this.urlSerializer.serialize(l.rawUrl),y,$h.IgnoredSameUrlNavigation)),l.resolve(!1),ci}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ce(l).pipe(dt(y=>{let D=this.transitions?.getValue();return this.events.next(new E2(y.id,this.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState)),D!==this.transitions?.getValue()?ci:Promise.resolve(y)}),Lee(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),yt(y=>{a.targetSnapshot=y.targetSnapshot,a.urlAfterRedirects=y.urlAfterRedirects,this.currentNavigation=Ge(Y({},this.currentNavigation),{finalUrl:y.urlAfterRedirects});let D=new Gh(y.id,this.urlSerializer.serialize(y.extractedUrl),this.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);this.events.next(D)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:y,extractedUrl:D,source:S,restoredState:V,extras:K}=l,te=new E2(y,this.urlSerializer.serialize(D),S,V);this.events.next(te);let ge=Zk(this.rootComponentType).snapshot;return this.currentTransition=a=Ge(Y({},l),{targetSnapshot:ge,urlAfterRedirects:D,extras:Ge(Y({},K),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,ce(a)}else{let y="";return this.events.next(new Rs(l.id,this.urlSerializer.serialize(l.extractedUrl),y,$h.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ci}}),yt(l=>{let h=new u7(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(h)}),me(l=>(this.currentTransition=a=Ge(Y({},l),{guards:iee(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),a)),mee(this.environmentInjector,l=>this.events.next(l)),yt(l=>{if(a.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Zh(this.urlSerializer,l.guardsResult);let h=new h7(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(h)}),Ve(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Sr.GuardRejected),!1)),a7(l=>{if(l.guards.canActivateChecks.length)return ce(l).pipe(yt(h=>{let v=new m7(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(v)}),dt(h=>{let v=!1;return ce(h).pipe(Hee(this.paramsInheritanceStrategy,this.environmentInjector),yt({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(h,"",Sr.NoDataFromResolver)}}))}),yt(h=>{let v=new p7(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(v)}))}),a7(l=>{let h=v=>{let y=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&y.push(this.configLoader.loadComponent(v.routeConfig).pipe(yt(D=>{v.component=D}),me(()=>{})));for(let D of v.children)y.push(...h(D));return y};return on(h(l.targetSnapshot.root)).pipe(Zo(null),Ue(1))}),a7(()=>this.afterPreactivation()),dt(()=>{let{currentSnapshot:l,targetSnapshot:h}=a,v=this.createViewTransition?.(this.environmentInjector,l.root,h.root);return v?Yt(v).pipe(me(()=>a)):ce(a)}),me(l=>{let h=ZJ(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=a=Ge(Y({},l),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,a}),yt(()=>{this.events.next(new Qd)}),tee(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ue(1),yt({next:l=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ga(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{o=!0}}),_e(this.transitionAbortSubject.pipe(yt(l=>{throw l}))),wa(()=>{!o&&!s&&this.cancelNavigationTransition(a,"",Sr.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ma(l=>{if(s=!0,iI(l))this.events.next(new No(a.id,this.urlSerializer.serialize(a.extractedUrl),l.message,l.cancellationCode)),eee(l)?this.events.next(new O2(l.url,l.navigationBehaviorOptions)):a.resolve(!1);else{let h=new Yd(a.id,this.urlSerializer.serialize(a.extractedUrl),l,a.targetSnapshot??void 0);try{let v=Vr(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(v instanceof Zd){let{message:y,cancellationCode:D}=Zh(this.urlSerializer,v);this.events.next(new No(a.id,this.urlSerializer.serialize(a.extractedUrl),y,D)),this.events.next(new O2(v.redirectTo,v.navigationBehaviorOptions))}else{this.events.next(h);let y=e.errorHandler(l);a.resolve(!!y)}}catch(v){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(v)}}return ci}))}))}cancelNavigationTransition(e,i,r){let a=new No(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Qee(t){return t!==Gd}var Kee=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(Zee),providedIn:"root"})}}return t})(),P7=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Zee=(()=>{class t extends P7{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),hI=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(Xee),providedIn:"root"})}}return t})(),Xee=(()=>{class t extends hI{constructor(){super(...arguments),this.location=z(Nr),this.urlSerializer=z(t4),this.options=z(a4,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=z(z7),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Fo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Zk(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof E2)this.stateMemento=this.createStateMemento();else if(e instanceof Rs)this.rawUrlTree=i.initialUrl;else if(e instanceof Gh){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof Qd?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof No&&(e.code===Sr.GuardRejected||e.code===Sr.NoDataFromResolver)?this.restoreHistory(i):e instanceof Yd?this.restoreHistory(i,!0):e instanceof ga&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Fo?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let a=this.browserPageId,o=Y(Y({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(r,"",o)}else{let a=Y(Y({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,a=this.currentPageId-r;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ud=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ud||{});function mI(t,n){t.events.pipe(Ve(e=>e instanceof ga||e instanceof No||e instanceof Yd||e instanceof Rs),me(e=>e instanceof ga||e instanceof Rs?Ud.COMPLETE:(e instanceof No?e.code===Sr.Redirect||e.code===Sr.SupersededByNewNavigation:!1)?Ud.REDIRECTING:Ud.FAILED),Ve(e=>e!==Ud.REDIRECTING),Ue(1)).subscribe(()=>{n()})}function Jee(t){throw t}var ete={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tte={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ir=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=z(G0),this.stateManager=z(hI),this.options=z(a4,{optional:!0})||{},this.pendingTasks=z(Aa),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=z(L7),this.urlSerializer=z(t4),this.location=z(Nr),this.urlHandlingStrategy=z(z7),this._events=new U,this.errorHandler=this.options.errorHandler||Jee,this.navigated=!1,this.routeReuseStrategy=z(Kee),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=z(Jh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!z(tm,{optional:!0}),this.eventsSubscription=new xe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(r!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof No&&i.code!==Sr.Redirect&&i.code!==Sr.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ga)this.navigated=!0;else if(i instanceof O2){let o=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=Y({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Qee(r.source)},o);this.scheduleNavigation(s,Gd,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}nte(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Gd,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){let l=Y({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(a.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,i,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(V7),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:l}=i,h=l?this.currentUrlTree.fragment:o,v=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":v=Y(Y({},this.currentUrlTree.queryParams),a);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=a||null}v!==null&&(v=this.removeEmptyProps(v));let y;try{let D=r?r.snapshot:this.routerState.snapshot.root;y=qk(D)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),y=this.currentUrlTree.root}return Yk(y,e,v,h??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Rc(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,Gd,null,i)}navigate(e,i={skipLocationChange:!1}){return ite(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=Y({},ete):i===!1?r=Y({},tte):r=i,Rc(e))return Sk(this.currentUrlTree,e,r);let a=this.parseUrl(e);return Sk(this.currentUrlTree,a,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,a])=>(a!=null&&(i[r]=a),i),{})}scheduleNavigation(e,i,r,a,o){if(this.disposed)return Promise.resolve(!1);let s,l,h;o?(s=o.resolve,l=o.reject,h=o.promise):h=new Promise((y,D)=>{s=y,l=D});let v=this.pendingTasks.add();return mI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:s,reject:l,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(y=>Promise.reject(y))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function ite(t){for(let n=0;n{class t{constructor(e,i,r,a,o,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=s,this.href=null,this.onChanges=new U,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(h=>{h instanceof ga&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Rc(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,a,o){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||r||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:Py(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,a=this.el.nativeElement;i!==null?r.setAttribute(a,e,i):r.removeAttribute(a,e)}get urlTree(){return this.routerLinkInput===null?null:Rc(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||t)(m(Ir),m(kr),Gt("tabindex"),m(tr),m($),m(Do))}}static{this.\u0275dir=T({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&H("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),i&2&&ie("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},standalone:!0,features:[ye,Te]})}}return t})(),Obe=(()=>{class t{get isActive(){return this._isActive}constructor(e,i,r,a,o){this.router=e,this.element=i,this.renderer=r,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new B,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof ga&&this.update()})}ngAfterContentInit(){ce(this.links.changes,ce(null)).pipe(xa()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Yt(e).pipe(xa()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let i=rte(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{let a=r.urlTree;return a?e.isActive(a,i):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(i){return new(i||t)(m(Ir),m($),m(tr),m(pe),m(Ak,8))}}static{this.\u0275dir=T({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,a){if(i&1&&we(a,Ak,5),i&2){let o;G(o=W())&&(r.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Te]})}}return t})();function rte(t){return!!t.paths}var em=class{};var ate=(()=>{class t{constructor(e,i,r,a,o){this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Ve(e=>e instanceof ga),Yn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let a of i){a.providers&&!a._injector&&(a._injector=R0(a.providers,e,`Route: ${a.path}`));let o=a._injector??e,s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&r.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&r.push(this.processRoutes(s,a.children??a._loadedRoutes))}return Yt(r).pipe(xa())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=ce(null);let a=r.pipe(mi(o=>o===null?ce(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(i.loadComponent&&!i._loadedComponent){let o=this.loader.loadComponent(i);return Yt([a,o]).pipe(xa())}else return a})}static{this.\u0275fac=function(i){return new(i||t)(k(Ir),k(K0),k(Oi),k(em),k(A7))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),pI=new L(""),ote=(()=>{class t{constructor(e,i,r,a,o={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof E2?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ga?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Rs&&e.code===$h.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Wh&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Wh(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){Il()}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function ste(t){return t.routerState.root}function o4(t,n){return{\u0275kind:t,\u0275providers:n}}function cte(){let t=z(Le);return n=>{let e=t.get(Ji);if(n!==e.components[0])return;let i=t.get(Ir),r=t.get(fI);t.get(H7)===1&&i.initialNavigation(),t.get(gI,null,ft.Optional)?.setUpPreloading(),t.get(pI,null,ft.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var fI=new L("",{factory:()=>new U}),H7=new L("",{providedIn:"root",factory:()=>1});function lte(){return o4(2,[{provide:H7,useValue:0},{provide:Y0,multi:!0,deps:[Le],useFactory:n=>{let e=n.get(fx,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=n.get(Ir),a=n.get(fI);mI(r,()=>{i(!0)}),n.get(L7).afterPreactivation=()=>(i(!0),a.closed?ce(void 0):a),r.initialNavigation()}))}}])}function dte(){return o4(3,[{provide:Y0,multi:!0,useFactory:()=>{let n=z(Ir);return()=>{n.setUpLocationChangeListener()}}},{provide:H7,useValue:2}])}var gI=new L("");function ute(t){return o4(0,[{provide:gI,useExisting:ate},{provide:em,useExisting:t}])}function hte(){return o4(8,[Ok,{provide:tm,useExisting:Ok}])}function mte(t){let n=[{provide:dI,useValue:Wee},{provide:uI,useValue:Y({skipNextTransition:!!t?.skipInitialTransition},t)}];return o4(9,n)}var zk=new L("ROUTER_FORROOT_GUARD"),pte=[Nr,{provide:t4,useClass:I2},Ir,n4,{provide:kr,useFactory:ste,deps:[Ir]},A7,[]],Pbe=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[pte,[],{provide:Jh,multi:!0,useValue:e},{provide:zk,useFactory:vte,deps:[[Ir,new Jn,new vr]]},{provide:a4,useValue:i||{}},i?.useHash?gte():_te(),fte(),i?.preloadingStrategy?ute(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?bte(i):[],i?.bindToComponentInputs?hte().\u0275providers:[],i?.enableViewTransitions?mte().\u0275providers:[],yte()]}}static forChild(e){return{ngModule:t,providers:[{provide:Jh,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||t)(k(zk,8))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();function fte(){return{provide:pI,useFactory:()=>{let t=z(Px),n=z(oe),e=z(a4),i=z(L7),r=z(t4);return e.scrollOffset&&t.setOffset(e.scrollOffset),new ote(r,i,t,n,e)}}}function gte(){return{provide:Do,useClass:_x}}function _te(){return{provide:Do,useClass:M8}}function vte(t){return"guarded"}function bte(t){return[t.initialNavigation==="disabled"?dte().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lte().\u0275providers:[]]}var Lk=new L("");function yte(){return[{provide:Lk,useFactory:cte},{provide:Q0,multi:!0,useExisting:Lk}]}function Cte(t,n){if(t&1&&(p(0,"mat-option",11),d(1),I(2,"translate"),f()),t&2){let e=n.$implicit;C("value",e.value),g(),ne(`
-          `,O(2,2,"labels.text."+e.name),`
-        `)}}function xte(t,n){if(t&1){let e=le();p(0,"div",5),d(1,`
-    `),p(2,"mat-form-field",6),d(3,`
-      `),p(4,"mat-label"),d(5),I(6,"translate"),f(),d(7,`
-      `),p(8,"input",7),H("keydown.enter",function(){F(e);let r=M();return j(r.search())}),f(),d(9,`
-    `),f(),d(10,`
-
-    `),p(11,"mat-form-field",8),d(12,`
-      `),p(13,"mat-label"),d(14),I(15,"translate"),f(),d(16,`
-      `),p(17,"mat-select",9),d(18,`
-        `),w(19,Cte,3,4,"mat-option",10),d(20,`
-      `),f(),d(21,`
-    `),f(),d(22,`
-  `),f()}if(t&2){let e=M();C("@fadeInOut",void 0),g(5),E(O(6,6,"labels.text.Search")),g(3),C("formControl",e.query),g(6),E(O(15,8,"labels.inputs.Resource")),g(3),C("formControl",e.resource),g(2),C("ngForOf",e.resourceOptions)}}var zbe=(()=>{class t{constructor(e){this.router=e,this.query=new kn(""),this.resource=new kn(""),this.searchVisible=!1,this.resourceOptions=[{name:"All",value:"clients,clientIdentifiers,groups,savings,shares,loans"},{name:"Clients",value:"clients,clientIdentifiers"},{name:"Groups",value:"groups"},{name:"Savings",value:"savings"},{name:"Shares",value:"shares"},{name:"Loans",value:"loans"}],this.resource.patchValue("clients,clientIdentifiers,groups,savings,shares,loans")}toggleSearchVisibility(){this.searchVisible=!this.searchVisible}search(){let e={query:this.query.value,resource:this.resource.value};this.router.navigate(["/search"],{queryParams:e})}static{this.\u0275fac=function(i){return new(i||t)(m(Ir))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-search-tool"]],decls:14,vars:4,consts:[[1,"flex-100","layout-row"],["class","search-bar flex-90 layout-row hide-lt-sm",4,"ngIf"],[1,"search-icon","flex-10"],["mat-icon-button","",1,"hide-lt-sm",3,"click"],["icon","search","size","lg",3,"matTooltip"],[1,"search-bar","flex-90","layout-row","hide-lt-sm"],[1,"search","flex-45"],["matInput","","type","text",3,"keydown.enter","formControl"],[1,"resource","flex-50"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
-  `),w(2,xte,23,10,"div",1),d(3,`
-
-  `),p(4,"div",2),d(5,`
-    `),p(6,"button",3),H("click",function(){return r.toggleSearchVisibility()}),d(7,`
-      `),R(8,"fa-icon",4),I(9,"translate"),d(10,`
-    `),f(),d(11,`
-  `),f(),d(12,`
-`),f(),d(13,`
-`)),i&2&&(g(2),C("ngIf",r.searchVisible),g(6),Bt("matTooltip",O(9,2,"labels.text.Search")))},dependencies:[ni,Re,Ut,Bi,bn,Kt,Di,$i,Tn,qr,en,vi,hn,Pe],styles:[".search-bar[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{max-width:500px;width:100%;font-size:1rem;color:#fff}.search-bar[_ngcontent-%COMP%]   .resource[_ngcontent-%COMP%]{max-width:90px;width:100%;font-size:1rem;color:#fff}.search-icon[_ngcontent-%COMP%]{margin-left:1rem;display:flex;align-items:center}.mat-mdc-floating-label[_ngcontent-%COMP%], mat-form-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#fff!important;height:16px;transition:height ease-in-out .4s}mat-form-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{color:#fff!important;background-color:transparent;height:16px;transition:height ease-in-out .4s}"],data:{animation:[kt("fadeInOut",[Ze(":enter",[De({opacity:0}),et(500,De({opacity:1}))]),Ze(":leave",[et(500,De({opacity:0}))])])]}})}}return t})();var rm=class{constructor(){this.makeCombination()}makeCombination(){this.buttonsArray=[{title:"Navigation Page",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"n",route:"navigation"},{title:"Run Report",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"t",route:"",id:"runReport"},{title:"Checker Inbox & Pending Tasks",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"i",route:"checker-inbox-and-tasks/checker-inbox"},{title:"Create Client",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"c",route:"clients/create"},{title:"Create Group",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"g",route:"groups/create"},{title:"Create Center",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"q",route:"centers/create"},{title:"Frequent Posting",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"f",route:"accounting/journal-entries/frequent-postings"},{title:"Closure Entries",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"e",route:"accounting/closing-entries"},{title:"Journal Entry",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"j",route:"accounting/journal-entries/create"},{title:"Reports",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"r",route:"reports"},{title:"Accounting",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"a",route:"accounting"},{title:"Save/Submit Forms",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"s",route:"",id:"submit"},{title:"Cancel",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"x",route:"",id:"cancel"},{title:"Help",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"h",route:"",id:"help"},{title:"Logout",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"l",route:"",id:"logout"}]}get buttonCombinations(){return this.buttonsArray}};function Mte(t,n){t&1&&(p(0,"span"),d(1,`
-            `),p(2,"span",8),d(3),I(4,"translate"),f(),d(5,` +
-          `),f()),t&2&&(g(3),E(O(4,1,"labels.inputs.Ctrl")))}function wte(t,n){t&1&&(p(0,"span"),d(1,`
-            `),p(2,"span",8),d(3),I(4,"translate"),f(),d(5,` +
-          `),f()),t&2&&(g(3),E(O(4,1,"labels.inputs.Shift")))}function Dte(t,n){t&1&&(p(0,"span"),d(1,`
-            `),p(2,"span",8),d(3),I(4,"translate"),f(),d(5,` +
-          `),f()),t&2&&(g(3),E(O(4,1,"labels.inputs.Alt")))}function Ste(t,n){if(t&1&&(p(0,"span"),d(1,`
-            `),p(2,"span",8),d(3),f()()),t&2){let e=M().$implicit;g(3),E(e.key)}}function kte(t,n){if(t&1&&(pi(0),d(1,`
-      `),R(2,"mat-divider",4),d(3,`
-      `),p(4,"div",5),d(5,`
-        `),p(6,"span",6),d(7,`
-          `),w(8,Mte,6,3,"span",7),d(9,`
-          `),w(10,wte,6,3,"span",7),d(11,`
-          `),w(12,Dte,6,3,"span",7),d(13,`
-          `),w(14,Ste,4,1,"span",7),d(15,`
-        `),f(),d(16,`
-        `),p(17,"span",6),d(18),f(),d(19,`
-      `),f(),d(20,`
-    `),fi()),t&2){let e=n.$implicit;g(2),C("inset",!0),g(6),C("ngIf",e.ctrlKey),g(2),C("ngIf",e.shiftKey),g(2),C("ngIf",e.altKey),g(2),C("ngIf",e.key),g(4),E(e.title)}}var Nbe=(()=>{class t{constructor(e){this.dialogRef=e}ngOnInit(){this.dialogRef.updateSize("800px"),this.buttonConfig=new rm}static{this.\u0275fac=function(i){return new(i||t)(m(Wt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-keyboard-shortcuts-dialog"]],decls:12,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"layout-column","gap-2px"],[4,"ngFor","ngForOf"],[3,"inset"],[1,"flex-fill","flex-50"],[1,"flex-50"],[4,"ngIf"],[1,"modifier-key"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",1),d(5,`
-  `),p(6,"div",2),d(7,`
-    `),w(8,kte,21,6,"ng-container",3),d(9,`
-  `),f(),d(10,`
-`),f(),d(11,`
-`)),i&2&&(g(),E(O(2,2,"labels.heading.Keyboard Shortcuts")),g(7),C("ngForOf",r.buttonConfig.buttonCombinations))},dependencies:[ni,Re,yi,ki,Ls,Pe],styles:[".modifier-key[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.3019607843);padding:.3rem;background:#f8f8f8;color:#00000086;font-weight:700;border-radius:.3rem}.mat-divider.mat-divider-inset[_ngcontent-%COMP%]{margin-left:0}"]})}}return t})();function Ite(t,n){t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),p(3,"strong"),d(4),I(5,"translate"),f(),d(6,`
-            `),f()),t&2&&(g(),ne(`
-              `,O(2,2,"labels.inputs.Url")," "),g(3),E(O(5,4,"labels.commons.is required")))}function Ete(t,n){if(t&1&&(p(0,"mat-option",12),d(1),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(`
-      `,e,`
-    `)}}function Ote(t,n){if(t&1){let e=le();p(0,"mat-form-field",1),d(1,`
-  `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-  `),p(6,"mat-select",2),H("selectionChange",function(){F(e);let r=M();return j(r.setServer())}),d(7,`
-    `),p(8,"div",3),d(9,`
-      `),p(10,"form",4),H("ngSubmit",function(){F(e);let r=M();return j(r.addNewServer())}),d(11,`
-        `),p(12,"div",5),d(13,`
-          `),p(14,"mat-form-field",6),d(15,`
-            `),p(16,"span",7)(17,"mat-icon"),d(18),I(19,"translate"),f()(),d(20,`
-            `),p(21,"mat-label"),d(22),I(23,"translate"),f(),d(24,`
-            `),R(25,"input",8),d(26,`
-            `),w(27,Ite,7,6,"mat-error",9),d(28,`
-          `),f(),d(29,`
-
-          `),p(30,"button",10),d(31),I(32,"translate"),f(),d(33,`
-        `),f(),d(34,`
-      `),f(),d(35,`
-    `),f(),d(36,`
-    `),w(37,Ete,2,2,"mat-option",11),d(38,`
-  `),f(),d(39,`
-`),f()}if(t&2){let e=M();g(3),E(O(4,9,"labels.inputs.Server")),g(3),C("formControl",e.serverSelector),g(4),C("formGroup",e.form),g(8),E(O(19,11,"labels.inputs.language")),g(4),E(O(23,13,"labels.placeholders.Add new server")),g(5),C("ngIf",e.form.controls.url.hasError("required")),g(3),C("disabled",e.form.invalid),g(),ne(`
-            `,O(32,15,"labels.buttons.Add"),`
-          `),g(6),C("ngForOf",e.servers)}}var Wbe=(()=>{class t{constructor(e,i,r){this.settingsService=e,this.dialog=i,this.formBuilder=r,this.serverSelector=new kn(""),this.existMoreThanOneServer=!1}ngOnInit(){this.servers=this.settingsService.servers,this.existMoreThanOneServer=this.servers&&this.servers.length>1,this.existMoreThanOneServer?(this.existMoreThanOneServer=!0,this.serverSelector.patchValue(this.settingsService.server),this.form=this.formBuilder.group({url:["",[_i.required]]})):this.settingsService.setServer(this.servers[0])}setServer(){this.settingsService.setServer(this.serverSelector.value)}addNewServer(){let e,i=this.form.value.url;i.endsWith("/")&&(i=i.slice(0,-1)),this.settingsService.setServer(i),e=this.settingsService.servers,e.push(i),this.settingsService.setServers(e),window.location.reload()}static{this.\u0275fac=function(i){return new(i||t)(m(zt),m(Gn),m(xs))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-server-selector"]],decls:2,vars:1,consts:[["id","server-selector",4,"ngIf"],["id","server-selector"],["panelClass","server-panel",3,"selectionChange","formControl"],[1,"sticky"],[3,"ngSubmit","formGroup"],[1,"actions"],[1,"ml","align-start"],["matPrefix",""],["matInput","","type","text","autocomplete","off","formControlName","url"],[4,"ngIf"],["type","submit","mat-raised-button","","color","primary",1,"ml",3,"disabled"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(w(0,Ote,40,17,"mat-form-field",0),d(1,`
-`)),i&2&&C("ngIf",r.existMoreThanOneServer)},dependencies:[ni,Re,Bi,lt,Kt,Di,pr,ph,Yr,$i,Tn,Cs,en,vi,jr,hn,tn,la,Pe],styles:[".actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly}.rg[_ngcontent-%COMP%]{float:right}.ml[_ngcontent-%COMP%]{margin-left:10px}.sticky[_ngcontent-%COMP%]{position:sticky;z-index:1;top:0;background-color:#fff;box-shadow:1px -2px 10px gray}mat-form-field[_ngcontent-%COMP%]{width:96%}"]})}}return t})();function Pte(t,n){if(t&1&&(p(0,"mat-option",5),d(1),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(`
-      `,e,`
-    `)}}var Zbe=(()=>{class t{constructor(e){this.settingsService=e,this.tenantSelector=new kn}ngOnInit(){this.tenantSelector.setValue(this.settingsService.tenantIdentifier),this.tenants.length>1?this.tenantSelector.enable:this.tenantSelector.disable}get tenants(){return this.settingsService.tenantIdentifiers||[]}setTenantIdentifier(){this.settingsService.setTenantIdentifier(this.tenantSelector.value)}allowSelection(){return this.tenants.length>1}static{this.\u0275fac=function(i){return new(i||t)(m(zt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-tenant-selector"]],decls:17,vars:5,consts:[["id","tenant-selector",1,"flex-fill","align-center"],["matPrefix","",1,"m-r-10"],["icon","building","size","lg"],[1,"tenantselector",3,"selectionChange","formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(p(0,"mat-form-field",0),d(1,`
-  `),p(2,"span",1),d(3,`
-    `),R(4,"fa-icon",2),d(5,`
-  `),f(),d(6,`
-  `),p(7,"mat-label"),d(8),I(9,"translate"),f(),d(10,`
-  `),p(11,"mat-select",3),H("selectionChange",function(){return r.setTenantIdentifier()}),d(12,`
-    `),w(13,Pte,2,2,"mat-option",4),d(14,`
-  `),f(),d(15,`
-`),f(),d(16,`
-`)),i&2&&(g(8),E(O(9,3,"labels.inputs.Tenant")),g(3),C("formControl",r.tenantSelector),g(2),C("ngForOf",r.tenants))},dependencies:[ni,Ut,Bi,Kt,Di,ph,Tn,vi,hn,Pe],styles:["#tenant-selector[_ngcontent-%COMP%], .tenantselector[_ngcontent-%COMP%]{width:14rem;margin-bottom:.6rem}"]})}}return t})();var _I={prefix:"fas",iconName:"fill-drip",icon:[576,512,[],"f576","M41.4 9.4C53.9-3.1 74.1-3.1 86.6 9.4L168 90.7l53.1-53.1c28.1-28.1 73.7-28.1 101.8 0L474.3 189.1c28.1 28.1 28.1 73.7 0 101.8L283.9 481.4c-37.5 37.5-98.3 37.5-135.8 0L30.6 363.9c-37.5-37.5-37.5-98.3 0-135.8L122.7 136 41.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm176 221.3L168 181.3 75.9 273.4c-4.2 4.2-7 9.3-8.4 14.6H386.7l42.3-42.3c3.1-3.1 3.1-8.2 0-11.3L277.7 82.9c-3.1-3.1-8.2-3.1-11.3 0L213.3 136l49.4 49.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0zM512 512c-35.3 0-64-28.7-64-64c0-25.2 32.6-79.6 51.2-108.7c6-9.4 19.5-9.4 25.5 0C543.4 368.4 576 422.8 576 448c0 35.3-28.7 64-64 64z"]};var Tte={prefix:"fas",iconName:"message",icon:[512,512,["comment-alt"],"f27a","M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64h96v80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64z"]},vI=Tte,bI={prefix:"fas",iconName:"info",icon:[192,512,[],"f129","M144 80c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM0 224c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V448h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H64V256H32c-17.7 0-32-14.3-32-32z"]};var Vte={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},yI=Vte;var Ate={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]},CI=Ate;var zte={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},xI=zte;var Lte={prefix:"fas",iconName:"right-from-bracket",icon:[512,512,["sign-out-alt"],"f2f5","M160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96C43 32 0 75 0 128V384c0 53 43 96 96 96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32h64zM504.5 273.4c4.8-4.5 7.5-10.8 7.5-17.4s-2.7-12.9-7.5-17.4l-144-136c-7-6.6-17.2-8.4-26-4.6s-14.5 12.5-14.5 22v72H192c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32H320v72c0 9.6 5.7 18.2 14.5 22s19 2 26-4.6l144-136z"]},MI=Lte;var wI={prefix:"fas",iconName:"laptop",icon:[640,512,[128187],"f109","M128 32C92.7 32 64 60.7 64 96V352h64V96H512V352h64V96c0-35.3-28.7-64-64-64H128zM19.2 384C8.6 384 0 392.6 0 403.2C0 445.6 34.4 480 76.8 480H563.2c42.4 0 76.8-34.4 76.8-76.8c0-10.6-8.6-19.2-19.2-19.2H19.2z"]};var Hte={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},DI=Hte;var Rte={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},SI=Rte;var kI={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]};var II={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]};var R7={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]};var Nte={prefix:"fas",iconName:"heart-crack",icon:[512,512,[128148,"heart-broken"],"f7a9","M119.4 44.1c23.3-3.9 46.8-1.9 68.6 5.3l49.8 77.5-75.4 75.4c-1.5 1.5-2.4 3.6-2.3 5.8s1 4.2 2.6 5.7l112 104c2.9 2.7 7.4 2.9 10.5 .3s3.8-7 1.7-10.4l-60.4-98.1 90.7-75.6c2.6-2.1 3.5-5.7 2.4-8.8L296.8 61.8c28.5-16.7 62.4-23.2 95.7-17.6C461.5 55.6 512 115.2 512 185.1v5.8c0 41.5-17.2 81.2-47.6 109.5L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9L47.6 300.4C17.2 272.1 0 232.4 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141z"]},EI=Nte;var Fte={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zm32 224c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]},OI=Fte;var PI={prefix:"fas",iconName:"sitemap",icon:[576,512,[],"f0e8","M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z"]},jte={prefix:"fas",iconName:"circle-dollar-to-slot",icon:[512,512,["donate"],"f4b9","M326.7 403.7c-22.1 8-45.9 12.3-70.7 12.3s-48.7-4.4-70.7-12.3c-.3-.1-.5-.2-.8-.3c-30-11-56.8-28.7-78.6-51.4C70 314.6 48 263.9 48 208C48 93.1 141.1 0 256 0S464 93.1 464 208c0 55.9-22 106.6-57.9 144c-1 1-2 2.1-3 3.1c-21.4 21.4-47.4 38.1-76.3 48.6zM256 91.9c-11.1 0-20.1 9-20.1 20.1v6c-5.6 1.2-10.9 2.9-15.9 5.1c-15 6.8-27.9 19.4-31.1 37.7c-1.8 10.2-.8 20 3.4 29c4.2 8.8 10.7 15 17.3 19.5c11.6 7.9 26.9 12.5 38.6 16l2.2 .7c13.9 4.2 23.4 7.4 29.3 11.7c2.5 1.8 3.4 3.2 3.8 4c.3 .8 .9 2.6 .2 6.7c-.6 3.5-2.5 6.4-8 8.8c-6.1 2.6-16 3.9-28.8 1.9c-6-1-16.7-4.6-26.2-7.9l0 0 0 0 0 0c-2.2-.7-4.3-1.5-6.4-2.1c-10.5-3.5-21.8 2.2-25.3 12.7s2.2 21.8 12.7 25.3c1.2 .4 2.7 .9 4.4 1.5c7.9 2.7 20.3 6.9 29.8 9.1V304c0 11.1 9 20.1 20.1 20.1s20.1-9 20.1-20.1v-5.5c5.4-1 10.5-2.5 15.4-4.6c15.7-6.7 28.4-19.7 31.6-38.7c1.8-10.4 1-20.3-3-29.4c-3.9-9-10.2-15.6-16.9-20.5c-12.2-8.8-28.3-13.7-40.4-17.4l-.8-.2c-14.2-4.3-23.8-7.3-29.9-11.4c-2.6-1.8-3.4-3-3.6-3.5c-.2-.3-.7-1.6-.1-5c.3-1.9 1.9-5.2 8.2-8.1c6.4-2.9 16.4-4.5 28.6-2.6c4.3 .7 17.9 3.3 21.7 4.3c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-4.4-1.2-14.4-3.2-21-4.4V112c0-11.1-9-20.1-20.1-20.1zM48 352H64c19.5 25.9 44 47.7 72.2 64H64v32H256 448V416H375.8c28.2-16.3 52.8-38.1 72.2-64h16c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V400c0-26.5 21.5-48 48-48z"]},TI=jte;var VI={prefix:"fas",iconName:"flag",icon:[448,512,[127988,61725],"f024","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32V64 368 480c0 17.7 14.3 32 32 32s32-14.3 32-32V352l64.3-16.1c41.1-10.3 84.6-5.5 122.5 13.4c44.2 22.1 95.5 24.8 141.7 7.4l34.7-13c12.5-4.7 20.8-16.6 20.8-30V66.1c0-23-24.2-38-44.8-27.7l-9.6 4.8c-46.3 23.2-100.8 23.2-147.1 0c-35.1-17.6-75.4-22-113.5-12.5L64 48V32z"]};var AI={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]};var zI={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]};var Bte={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.8 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},LI=Bte;var HI={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},RI={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]};var NI={prefix:"fas",iconName:"money-bill",icon:[576,512,[],"f0d6","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM288 352c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]};var FI={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]};var jI={prefix:"fas",iconName:"key",icon:[512,512,[128273],"f084","M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zm40-176c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]};var BI={prefix:"fas",iconName:"location-arrow",icon:[448,512,[],"f124","M429.6 92.1c4.9-11.9 2.1-25.6-7-34.7s-22.8-11.9-34.7-7l-352 144c-14.2 5.8-22.2 20.8-19.3 35.8s16.1 25.8 31.4 25.8H224V432c0 15.3 10.8 28.4 25.8 31.4s30-5.1 35.8-19.3l144-352z"]};var N7={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]};var Ute={prefix:"fas",iconName:"shuffle",icon:[512,512,[128256,"random"],"f074","M403.8 34.4c12-5 25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160H352c-10.1 0-19.6 4.7-25.6 12.8L284 229.3 244 176l31.2-41.6C293.3 110.2 321.8 96 352 96h32V64c0-12.9 7.8-24.6 19.8-29.6zM164 282.7L204 336l-31.2 41.6C154.7 401.8 126.2 416 96 416H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c10.1 0 19.6-4.7 25.6-12.8L164 282.7zm274.6 188c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V416H352c-30.2 0-58.7-14.2-76.8-38.4L121.6 172.8c-6-8.1-15.5-12.8-25.6-12.8H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c30.2 0 58.7 14.2 76.8 38.4L326.4 339.2c6 8.1 15.5 12.8 25.6 12.8h32V320c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64z"]},UI=Ute;var $I={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v32H144c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224H544c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480H32c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]};var $te={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},GI=$te;var WI={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]};var Gte={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},qI=Gte;var YI={prefix:"fas",iconName:"id-badge",icon:[384,512,[],"f2c1","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zm96 320h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM144 64h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};var QI={prefix:"fas",iconName:"user-tie",icon:[448,512,[],"f508","M224 0c70.7 0 128 57.3 128 128s-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0zM209.1 359.2l-18.6-31c-6.4-10.7 1.3-24.2 13.7-24.2H224h19.7c12.4 0 20.1 13.6 13.7 24.2l-18.6 31 33.4 123.9 39.5-161.2c77.2 12 136.3 78.8 136.3 159.4c0 17-13.8 30.7-30.7 30.7H265.1 182.9 30.7C13.8 512 0 498.2 0 481.3c0-80.6 59.1-147.4 136.3-159.4l39.5 161.2 33.4-123.9z"]};var KI={prefix:"fas",iconName:"pause",icon:[320,512,[9208],"f04c","M48 64C21.5 64 0 85.5 0 112V400c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48V400c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H240z"]};var ZI={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm128-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};var Wte={prefix:"fas",iconName:"cloud-arrow-up",icon:[640,512,[62338,"cloud-upload","cloud-upload-alt"],"f0ee","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z"]};var XI=Wte;var JI={prefix:"fas",iconName:"file-word",icon:[384,512,[],"f1c2","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM111 257.1l26.8 89.2 31.6-90.3c3.4-9.6 12.5-16.1 22.7-16.1s19.3 6.4 22.7 16.1l31.6 90.3L273 257.1c3.8-12.7 17.2-19.9 29.9-16.1s19.9 17.2 16.1 29.9l-48 160c-3 10-12.1 16.9-22.4 17.1s-19.8-6.2-23.2-16.1L192 336.6l-33.3 95.3c-3.4 9.8-12.8 16.3-23.2 16.1s-19.5-7.1-22.4-17.1l-48-160c-3.8-12.7 3.4-26.1 16.1-29.9s26.1 3.4 29.9 16.1z"]};var qte={prefix:"fas",iconName:"cloud-arrow-down",icon:[640,512,[62337,"cloud-download","cloud-download-alt"],"f0ed","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]};var eE=qte;var Yte={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]};var tE=Yte;var Qte={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.7 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"]},iE=Qte;var nE={prefix:"fas",iconName:"money-check",icon:[576,512,[],"f53c","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm48 160H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zM96 336c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16zM376 160h80c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H376c-13.3 0-24-10.7-24-24V184c0-13.3 10.7-24 24-24z"]};var rE={prefix:"fas",iconName:"road",icon:[576,512,[128739],"f018","M256 32H181.2c-27.1 0-51.3 17.1-60.3 42.6L3.1 407.2C1.1 413 0 419.2 0 425.4C0 455.5 24.5 480 54.6 480H256V416c0-17.7 14.3-32 32-32s32 14.3 32 32v64H521.4c30.2 0 54.6-24.5 54.6-54.6c0-6.2-1.1-12.4-3.1-18.2L455.1 74.6C446 49.1 421.9 32 394.8 32H320V96c0 17.7-14.3 32-32 32s-32-14.3-32-32V32zm64 192v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32z"]};var aE={prefix:"fas",iconName:"file-excel",icon:[384,512,[],"f1c3","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z"]};var oE={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]};var sE={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]};var cE={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32V144C576 64.5 511.5 0 432 0S288 64.5 288 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V144z"]};var lE={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"]};var Kte={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]},dE=Kte;var uE={prefix:"fas",iconName:"tags",icon:[512,512,[],"f02c","M345 39.1L472.8 168.4c52.4 53 52.4 138.2 0 191.2L360.8 472.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L438.6 325.9c33.9-34.3 33.9-89.4 0-123.7L310.9 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM0 229.5V80C0 53.5 21.5 32 48 32H197.5c17 0 33.3 6.7 45.3 18.7l168 168c25 25 25 65.5 0 90.5L277.3 442.7c-25 25-65.5 25-90.5 0l-168-168C6.7 262.7 0 246.5 0 229.5zM144 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]};var hE={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]};var mE={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]};var Zte={prefix:"fas",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 416c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]},pE=Zte;var Xte={prefix:"fas",iconName:"hand-holding-dollar",icon:[576,512,["hand-holding-usd"],"f4c0","M312 24V34.5c6.4 1.2 12.6 2.7 18.2 4.2c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17c-10.9-2.9-21.1-4.9-30.2-5c-7.3-.1-14.7 1.7-19.4 4.4c-2.1 1.3-3.1 2.4-3.5 3c-.3 .5-.7 1.2-.7 2.8c0 .3 0 .5 0 .6c.2 .2 .9 1.2 3.3 2.6c5.8 3.5 14.4 6.2 27.4 10.1l.9 .3 0 0c11.1 3.3 25.9 7.8 37.9 15.3c13.7 8.6 26.1 22.9 26.4 44.9c.3 22.5-11.4 38.9-26.7 48.5c-6.7 4.1-13.9 7-21.3 8.8V232c0 13.3-10.7 24-24 24s-24-10.7-24-24V220.6c-9.5-2.3-18.2-5.3-25.6-7.8c-2.1-.7-4.1-1.4-6-2c-12.6-4.2-19.4-17.8-15.2-30.4s17.8-19.4 30.4-15.2c2.6 .9 5 1.7 7.3 2.5c13.6 4.6 23.4 7.9 33.9 8.3c8 .3 15.1-1.6 19.2-4.1c1.9-1.2 2.8-2.2 3.2-2.9c.4-.6 .9-1.8 .8-4.1l0-.2c0-1 0-2.1-4-4.6c-5.7-3.6-14.3-6.4-27.1-10.3l-1.9-.6c-10.8-3.2-25-7.5-36.4-14.4c-13.5-8.1-26.5-22-26.6-44.1c-.1-22.9 12.9-38.6 27.7-47.4c6.4-3.8 13.3-6.4 20.2-8.2V24c0-13.3 10.7-24 24-24s24 10.7 24 24zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]},fE=Xte;var gE={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]};var _E={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]};var vE={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]};var bE={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]};var yE={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]};var CE={prefix:"fas",iconName:"calendar-check",icon:[448,512,[],"f274","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM329 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L329 305z"]};var Jte={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]};var F7=Jte;var eie={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},xE=eie;var ME={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]};var tie={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},wE=tie;var DE={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 512C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]};var SE={prefix:"fas",iconName:"keyboard",icon:[576,512,[9e3],"f11c","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm16 64h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zm80-176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V144zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zM160 336c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V336zM272 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM256 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM368 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM352 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V240zM464 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM448 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V240zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16z"]};var kE={prefix:"fas",iconName:"piggy-bank",icon:[576,512,[],"f4d3","M400 96l0 .7c-5.3-.4-10.6-.7-16-.7H256c-16.5 0-32.5 2.1-47.8 6c-.1-2-.2-4-.2-6c0-53 43-96 96-96s96 43 96 96zm-16 32c3.5 0 7 .1 10.4 .3c4.2 .3 8.4 .7 12.6 1.3C424.6 109.1 450.8 96 480 96h32l-18.8 75.1c15.8 14.8 28.7 32.8 37.5 52.9H544c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H512c-9.1 12.1-19.9 22.9-32 32v64c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32V448H256v32c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V416c-34.9-26.2-58.7-66.3-63.2-112H68c-37.6 0-68-30.4-68-68s30.4-68 68-68h4c13.3 0 24 10.7 24 24s-10.7 24-24 24H68c-11 0-20 9-20 20s9 20 20 20H99.2c12.1-59.8 57.7-107.5 116.3-122.8c12.9-3.4 26.5-5.2 40.5-5.2H384zm64 136c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]};var IE={prefix:"fas",iconName:"coins",icon:[512,512,[],"f51e","M512 80c0 18-14.3 34.6-38.4 48c-29.1 16.1-72.5 27.5-122.3 30.9c-3.7-1.8-7.4-3.5-11.3-5C300.6 137.4 248.2 128 192 128c-8.3 0-16.4 .2-24.5 .6l-1.1-.6C142.3 114.6 128 98 128 80c0-44.2 86-80 192-80S512 35.8 512 80zM160.7 161.1c10.2-.7 20.7-1.1 31.3-1.1c62.2 0 117.4 12.3 152.5 31.4C369.3 204.9 384 221.7 384 240c0 4-.7 7.9-2.1 11.7c-4.6 13.2-17 25.3-35 35.5c0 0 0 0 0 0c-.1 .1-.3 .1-.4 .2l0 0 0 0c-.3 .2-.6 .3-.9 .5c-35 19.4-90.8 32-153.6 32c-59.6 0-112.9-11.3-148.2-29.1c-1.9-.9-3.7-1.9-5.5-2.9C14.3 274.6 0 258 0 240c0-34.8 53.4-64.5 128-75.4c10.5-1.5 21.4-2.7 32.7-3.5zM416 240c0-21.9-10.6-39.9-24.1-53.4c28.3-4.4 54.2-11.4 76.2-20.5c16.3-6.8 31.5-15.2 43.9-25.5V176c0 19.3-16.5 37.1-43.8 50.9c-14.6 7.4-32.4 13.7-52.4 18.5c.1-1.8 .2-3.5 .2-5.3zm-32 96c0 18-14.3 34.6-38.4 48c-1.8 1-3.6 1.9-5.5 2.9C304.9 404.7 251.6 416 192 416c-62.8 0-118.6-12.6-153.6-32C14.3 370.6 0 354 0 336V300.6c12.5 10.3 27.6 18.7 43.9 25.5C83.4 342.6 135.8 352 192 352s108.6-9.4 148.1-25.9c7.8-3.2 15.3-6.9 22.4-10.9c6.1-3.4 11.8-7.2 17.2-11.2c1.5-1.1 2.9-2.3 4.3-3.4V304v5.7V336zm32 0V304 278.1c19-4.2 36.5-9.5 52.1-16c16.3-6.8 31.5-15.2 43.9-25.5V272c0 10.5-5 21-14.9 30.9c-16.3 16.3-45 29.7-81.3 38.4c.1-1.7 .2-3.5 .2-5.3zM192 448c56.2 0 108.6-9.4 148.1-25.9c16.3-6.8 31.5-15.2 43.9-25.5V432c0 44.2-86 80-192 80S0 476.2 0 432V396.6c12.5 10.3 27.6 18.7 43.9 25.5C83.4 438.6 135.8 448 192 448z"]};var EE={prefix:"fas",iconName:"calculator",icon:[384,512,[128425],"f1ec","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM96 64H288c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM64 224c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM64 416c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM192 192c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM160 320c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zM288 192c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM256 320c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32z"]};var OE={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]};var iie={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},PE=iie;var nie={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},TE=nie;var VE={prefix:"fas",iconName:"stop",icon:[384,512,[9209],"f04d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"]};var AE={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3l-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352H192c0 35.3 28.7 64 64 64s64-28.7 64-64H448c35.3 0 64 28.7 64 64v32c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V416c0-35.3 28.7-64 64-64zM432 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]};var zE={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]};var LE={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]};var HE={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z"]};var RE={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]};var rie={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},NE=rie;var FE={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]};var jE={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]};var aie={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},BE=aie;var UE={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.2 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]};var $E={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};var GE={prefix:"fas",iconName:"list-ul",icon:[512,512,["list-dots"],"f0ca","M64 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S16 69.5 16 96s21.5 48 48 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48-208c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]};var WE={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]};var oie={prefix:"fas",iconName:"list-check",icon:[576,512,["tasks"],"f0ae","M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},qE=oie;var sie={prefix:"fas",iconName:"circle-user",icon:[512,512,[62142,"user-circle"],"f2bd","M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM256 272c39.8 0 72-32.2 72-72s-32.2-72-72-72s-72 32.2-72 72s32.2 72 72 72z"]},YE=sie,QE={prefix:"fas",iconName:"user-shield",icon:[640,512,[],"f505","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3H178.3zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7V273.8L591.4 312z"]};var KE={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]};var ZE={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]};var cie={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]};var XE=cie;var JE={prefix:"fas",iconName:"chevron-left",icon:[384,512,[9001],"f053","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]};var eO={prefix:"fas",iconName:"chevron-right",icon:[384,512,[9002],"f054","M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]};var lie={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.7 8.4 166.9 8 160 8s-13.7 .4-20.4 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM208 176c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 400c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},tO=lie;var iO={prefix:"fas",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16z"]};var nO={prefix:"fas",iconName:"file-export",icon:[640,512,["arrow-right-from-file"],"f56e","M32 64C32 28.7 60.7 0 96 0H256V128c0 17.7 14.3 32 32 32H416V288H248c-13.3 0-24 10.7-24 24s10.7 24 24 24H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V64zM416 336V288H526.1l-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39H416zm0-208H288V0L416 128z"]};var rO={prefix:"fas",iconName:"calendar",icon:[448,512,[128197,128198],"f133","M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]};var die={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},aO=die;var oO={prefix:"fas",iconName:"anchor",icon:[576,512,[9875],"f13d","M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c88.4 0 160-71.6 160-160v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-56-56c-9.4-9.4-24.6-9.4-33.9 0l-56 56c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 53-43 96-96 96H320V240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1z"]};var sO={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};var cO={prefix:"fas",iconName:"check",icon:[512,512,[10003,10004],"f00c","M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};var lO={prefix:"fas",iconName:"briefcase",icon:[512,512,[128188],"f0b1","M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z"]};var uie={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},dO=uie;var hie={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},uO=hie;var mie={prefix:"fas",iconName:"note-sticky",icon:[448,512,[62026,"sticky-note"],"f249","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H288V368c0-26.5 21.5-48 48-48H448V96c0-35.3-28.7-64-64-64H64zM448 352H402.7 336c-8.8 0-16 7.2-16 16v66.7V480l32-32 64-64 32-32z"]},hO=mie;var mO={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c10.6 1.6 42.1 6.7 55.1 10c17.1 4.3 27.5 21.7 23.2 38.9s-21.7 27.5-38.9 23.2c-9.3-2.4-37.6-7-48.9-8.7c-32.1-4.8-59.6-2.4-78.5 4.9c-18.3 7-25.9 16.9-27.9 28c-1.9 10.7-.5 16.8 1.3 20.6c1.9 4 5.6 8.5 12.9 13.4c16.2 10.8 41.1 17.9 73.3 26.7l2.8 .8c28.4 7.7 63.2 17.2 89 34.3c14.1 9.4 27.3 22.1 35.5 39.7c8.3 17.8 10.1 37.8 6.3 59.1c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.2-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.4 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.7 .5-16.8-1.3-20.6c-1.9-4-5.6-8.5-12.9-13.4c-16.2-10.8-41.1-17.9-73.3-26.7l-2.8-.8c-28.4-7.7-63.2-17.2-89-34.3c-14.1-9.4-27.3-22.1-35.5-39.7c-8.3-17.8-10.1-37.8-6.3-59.1C25 114.1 53 89.3 86 76.7c13-5 27.2-8.2 42-10V32c0-17.7 14.3-32 32-32z"]};var pie={prefix:"fas",iconName:"building-columns",icon:[512,512,["bank","institution","museum","university"],"f19c","M243.4 2.6l-224 96c-14 6-21.8 21-18.7 35.8S16.8 160 32 160v8c0 13.3 10.7 24 24 24H456c13.3 0 24-10.7 24-24v-8c15.2 0 28.3-10.7 31.3-25.6s-4.8-29.9-18.7-35.8l-224-96c-8.1-3.4-17.2-3.4-25.2 0zM128 224H64V420.3c-.6 .3-1.2 .7-1.8 1.1l-48 32c-11.7 7.8-17 22.4-12.9 35.9S17.9 512 32 512H480c14.1 0 26.5-9.2 30.6-22.7s-1.1-28.1-12.9-35.9l-48-32c-.6-.4-1.2-.7-1.8-1.1V224H384V416H344V224H280V416H232V224H168V416H128V224zm128-96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]};var pO=pie;var j7=(()=>{class t{constructor(e){e.addIcons(oO,SI,_E,sE,N7,R7,LE,sO,lO,iO,EE,rO,CI,CE,WI,cO,qI,$E,JE,eO,lE,EI,DE,kI,wE,tO,vI,KE,mO,LI,yE,TE,OI,dO,hE,RI,HE,yI,GI,JI,aE,nO,_I,fE,PE,jI,FE,AI,GE,BI,zI,cE,ME,xI,xE,nE,KI,DI,jE,ZE,aO,dE,UI,rE,BE,iE,MI,PI,tE,II,NE,bE,uE,uO,gE,F7,pO,YE,FI,HI,QE,QI,OE,AE,eE,XI,XE,hO,VE,N7,zE,wI,TI,NI,oE,mE,VI,WE,RE,$I,YI,ZI,SE,bI,qE,IE,kE,R7,F7,UE,vE,pE)}static{this.\u0275fac=function(i){return new(i||t)(k(Wg))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[QS]})}}return t})();function TO(t){let n=t.cloneNode(!0),e=n.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r=i&&e<=r&&n>=a&&n<=o}function c4(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function vO(t,n,e,i){let{top:r,right:a,bottom:o,left:s,width:l,height:h}=t,v=l*n,y=h*n;return i>r-y&&is-v&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:Y7(e)})})}handleScroll(n){let e=ji(n),i=this.positions.get(e);if(!i)return null;let r=i.scrollPosition,a,o;if(e===this._document){let h=this.getViewportScrollPosition();a=h.top,o=h.left}else a=e.scrollTop,o=e.scrollLeft;let s=r.top-a,l=r.left-o;return this.positions.forEach((h,v)=>{h.clientRect&&e!==v&&e.contains(v)&&c4(h.clientRect,s,l)}),r.top=a,r.left=o,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function VO(t,n){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===n.ELEMENT_NODE)return e[0];let i=n.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function Q7(t,n,e){for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];r?t.setProperty(i,r,e?.has(i)?"important":""):t.removeProperty(i)}return t}function V2(t,n){let e=n?"":"none";Q7(t.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function bO(t,n,e){Q7(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function lm(t,n){return n&&n!="none"?t+" "+n:t}function yO(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=dm(n.left,n.top)}function dm(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}function CO(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function gie(t){let n=getComputedStyle(t),e=B7(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),a=B7(n,"transition-duration"),o=B7(n,"transition-delay");return CO(a[r])+CO(o[r])}function B7(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var _ie=new Set(["position"]),$7=class{get element(){return this._preview}constructor(n,e,i,r,a,o,s,l,h){this._document=n,this._rootElement=e,this._direction=i,this._initialDomRect=r,this._previewTemplate=a,this._previewClass=o,this._pickupPositionOnPage=s,this._initialTransform=l,this._zIndex=h}attach(n){this._preview=this._createPreview(),n.appendChild(this._preview),xO(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(n){this._preview.style.transform=n}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(n){this._preview.classList.add(n)}getTransitionDuration(){return gie(this._preview)}addEventListener(n,e){this._preview.addEventListener(n,e)}removeEventListener(n,e){this._preview.removeEventListener(n,e)}_createPreview(){let n=this._previewTemplate,e=this._previewClass,i=n?n.template:null,r;if(i&&n){let a=n.matchSize?this._initialDomRect:null,o=n.viewContainer.createEmbeddedView(i,n.context);o.detectChanges(),r=VO(o,this._document),this._previewEmbeddedView=o,n.matchSize?yO(r,a):r.style.transform=dm(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=TO(this._rootElement),yO(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return Q7(r.style,{"pointer-events":"none",margin:xO(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},_ie),V2(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>r.classList.add(a)):r.classList.add(e)),r}};function xO(t){return"showPopover"in t}var MO=Ci({passive:!0}),am=Ci({passive:!1}),wO=Ci({passive:!1,capture:!0}),vie=800,DO=new Set(["position"]),G7=class{get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(n){n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(e=>V2(e,n)))}constructor(n,e,i,r,a,o){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=a,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=ir(!1),this._moveEvents=new U,this._pointerMoveSubscription=xe.EMPTY,this._pointerUpSubscription=xe.EMPTY,this._scrollSubscription=xe.EMPTY,this._resizeSubscription=xe.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this.scale=1,this._disabled=!1,this.beforeStarted=new U,this.started=new U,this.released=new U,this.ended=new U,this.entered=new U,this.exited=new U,this.dropped=new U,this.moved=this._moveEvents,this._pointerDown=s=>{if(this.beforeStarted.next(),this._handles.length){let l=this._getTargetHandle(s);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{let l=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging()){let v=Math.abs(l.x-this._pickupPositionOnPage.x),y=Math.abs(l.y-this._pickupPositionOnPage.y);if(v+y>=this._config.dragStartThreshold){let S=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),V=this._dropContainer;if(!S){this._endDragSequence(s);return}(!V||!V.isDragging()&&!V.isReceiving())&&(s.cancelable&&s.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(s)))}return}s.cancelable&&s.preventDefault();let h=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,l);else{let v=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,y=this._activeTransform;y.x=h.x-v.x+this._passiveTransform.x,y.y=h.y-v.y+this._passiveTransform.y,this._applyRootElementTransform(y.x,y.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:s,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){let l=this._getTargetHandle(s);l&&!this._disabledHandles.has(l)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new cm(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(i=>wi(i)),this._handles.forEach(i=>V2(i,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){let e=wi(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,am),e.addEventListener("touchstart",this._pointerDown,MO),e.addEventListener("dragstart",this._nativeDragStart,am)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?wi(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),V2(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),V2(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){let n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){let n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",kO,wO)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){s4(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),i=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{e.addEventListener("selectstart",kO,wO)}),i){let r=this._rootElement,a=r.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");a.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new $7(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(a,e)),bO(r,!1,DO),this._document.body.appendChild(a.replaceChild(o,r)),this.started.next({source:this,event:n}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();let i=this.isDragging(),r=s4(e),a=!r&&e.button!==0,o=this._rootElement,s=ji(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+vie>Date.now(),h=r?xc(e):Cc(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),i||a||l||h)return;if(this._handles.length){let D=o.style;this._rootElementTapHighlight=D.webkitTapHighlightColor||"",D.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(D=>this._updateOnScroll(D)),this._boundaryElement&&(this._boundaryRect=Y7(this._boundaryElement));let v=this._previewTemplate;this._pickupPositionInElement=v&&v.template&&!v.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,e);let y=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:y.x,y:y.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){bO(this._rootElement,!0,DO),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(n),a=this._getDragDistance(r),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:a,dropPoint:r,event:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:a,dropPoint:r,event:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,a,r,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:i,y:r}){let a=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,n,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let n=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let r=o=>{(!o||this._preview&&ji(o)===this._preview.element&&o.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(a))},a=setTimeout(r,e*1.5);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let n=this._placeholderTemplate,e=n?n.template:null,i;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),i=VO(this._placeholderRef,this._document)):i=TO(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,a=r?r.getBoundingClientRect():n,o=s4(i)?i.targetTouches[0]:i,s=this._getViewportScrollPosition(),l=o.pageX-a.left-s.left,h=o.pageY-a.top-s.top;return{x:a.left-n.left+l,y:a.top-n.top+h}}_getPointerPositionOnPage(n){let e=this._getViewportScrollPosition(),i=s4(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=i.pageX-e.left,a=i.pageY-e.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=a,s.matrixTransform(o.inverse())}}return{x:r,y:a}}_getConstrainedPointerPosition(n){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:r}=this.constrainPosition?this.constrainPosition(n,this,this._initialDomRect,this._pickupPositionInElement):n;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:a,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:l,height:h}=this._getPreviewRect(),v=s.top+o,y=s.bottom-(h-o),D=s.left+a,S=s.right-(l-a);i=SO(i,D,S),r=SO(r,v,y)}return{x:i,y:r}}_updatePointerDirectionDelta(n){let{x:e,y:i}=n,r=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-a.x),s=Math.abs(i-a.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>a.x?1:-1,a.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=i>a.y?1:-1,a.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,V2(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,am),n.removeEventListener("touchstart",this._pointerDown,MO),n.removeEventListener("dragstart",this._nativeDragStart,am)}_applyRootElementTransform(n,e){let i=1/this.scale,r=dm(n*i,e*i),a=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=a.transform&&a.transform!="none"?a.transform:""),a.transform=lm(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=dm(n,e);this._preview.setTransform(lm(r,i))}_getDragDistance(n){let e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(n===0&&e===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||i.width===0&&i.height===0)return;let a=r.left-i.left,o=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(a>0&&(n+=a),o>0&&(n-=o)):n=0,r.height>i.height?(s>0&&(e+=s),l>0&&(e-=l)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){let e=this.dragStartDelay;return typeof e=="number"?e:s4(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){let e=this._parentPositions.handleScroll(n);if(e){let i=ji(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&c4(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=ql(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){let i=this._previewContainer||"global";if(i==="parent")return n;if(i==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return wi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}};function SO(t,n,e){return Math.max(n,Math.min(e,t))}function s4(t){return t.type[0]==="t"}function kO(t){t.preventDefault()}function AO(t,n,e){let i=IO(n,t.length-1),r=IO(e,t.length-1);if(i===r)return;let a=t[i],o=r0)return null;let s=this.orientation==="horizontal",l=a.findIndex(te=>te.drag===n),h=a[o],v=a[l].clientRect,y=h.clientRect,D=l>o?1:-1,S=this._getItemOffsetPx(v,y,D),V=this._getSiblingOffsetPx(l,a,D),K=a.slice();return AO(a,l,o),a.forEach((te,ge)=>{if(K[ge]===te)return;let Oe=te.drag===n,He=Oe?S:V,Mt=Oe?n.getPlaceholderElement():te.drag.getRootElement();te.offset+=He;let It=Math.round(te.offset*(1/te.drag.scale));s?(Mt.style.transform=lm(`translate3d(${It}px, 0, 0)`,te.initialTransform),c4(te.clientRect,0,He)):(Mt.style.transform=lm(`translate3d(0, ${It}px, 0)`,te.initialTransform),c4(te.clientRect,He,0))}),this._previousSwap.overlaps=U7(y,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:l,currentIndex:o}}enter(n,e,i,r){let a=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r,o=this._activeDraggables,s=o.indexOf(n),l=n.getPlaceholderElement(),h=o[a];if(h===n&&(h=o[a+1]),!h&&(a==null||a===-1||a-1&&o.splice(s,1),h&&!this._dragDropRegistry.isDragging(h)){let v=h.getRootElement();v.parentElement.insertBefore(l,v),o.splice(a,0,n)}else this._element.appendChild(l),o.push(n);l.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables?.forEach(n=>{let e=n.getRootElement();if(e){let i=this._itemPositions.find(r=>r.drag===n)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===n)}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:i})=>{c4(i,n,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(n){this._element=n}_cacheItemPositions(){let n=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:Y7(i)}}).sort((e,i)=>n?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=r?e.left-n.left:e.top-n.top;return i===-1&&(a+=r?e.width-n.width:e.height-n.height),a}_getSiblingOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=e[n].clientRect,o=e[n+i*-1],s=a[r?"width":"height"]*i;if(o){let l=r?"left":"top",h=r?"right":"bottom";i===-1?s-=o.clientRect[l]-a[h]:s+=a[l]-o.clientRect[h]}return s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,r=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return r?n>=o.right:e>=o.bottom}else{let o=i[0].clientRect;return r?n<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(n,e,i,r){let a=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:s,clientRect:l})=>{if(s===n)return!1;if(r){let h=a?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&il?v.after(h):v.before(h),AO(this._activeItems,l,a);let y=this._getRootNode().elementFromPoint(e,i);return o.deltaX=r.x,o.deltaY=r.y,o.drag=s,o.overlaps=v===y||v.contains(y),{previousIndex:l,currentIndex:a}}enter(n,e,i,r){let a=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r;a===-1&&(a=this._getClosestItemIndexToPointer(n,e,i));let o=this._activeItems[a],s=this._activeItems.indexOf(n);s>-1&&this._activeItems.splice(s,1),o&&!this._dragDropRegistry.isDragging(o)?(this._activeItems.splice(a,0,n),o.getRootElement().before(n.getPlaceholderElement())):(this._activeItems.push(n),this._element.appendChild(n.getPlaceholderElement()))}withItems(n){this._activeItems=n.slice()}withSortPredicate(n){this._sortPredicate=n}reset(){let n=this._element,e=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[r,a]=this._relatedNodes[i];r.parentNode===n&&r.nextSibling!==a&&(a===null?n.appendChild(r):a.parentNode===n&&n.insertBefore(r,a))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(n){return this._activeItems.indexOf(n)}updateOnScroll(){this._activeItems.forEach(n=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(n){n!==this._element&&(this._element=n,this._rootNode=void 0)}_getItemIndexFromPointerPosition(n,e,i){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(i)),a=r?this._activeItems.findIndex(o=>{let s=o.getRootElement();return r===s||s.contains(r)}):-1;return a===-1||!this._sortPredicate(a,n)?-1:a}_getRootNode(){return this._rootNode||(this._rootNode=ql(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(n,e,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,a=-1;for(let o=0;o!0,this.sortPredicate=()=>!0,this.beforeStarted=new U,this.entered=new U,this.exited=new U,this.dropped=new U,this.sorted=new U,this.receivingStarted=new U,this.receivingStopped=new U,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=xe.EMPTY,this._verticalScrollDirection=Kr.NONE,this._horizontalScrollDirection=Wn.NONE,this._stopScrollTimers=new U,this._cachedShadowRoot=null,this._scrollableElements=[],this._direction="ltr",this._startScrollInterval=()=>{this._stopScrolling(),Lp(0,i3).pipe(_e(this._stopScrollTimers)).subscribe(()=>{let s=this._scrollNode,l=this.autoScrollStep;this._verticalScrollDirection===Kr.UP?s.scrollBy(0,-l):this._verticalScrollDirection===Kr.DOWN&&s.scrollBy(0,l),this._horizontalScrollDirection===Wn.LEFT?s.scrollBy(-l,0):this._horizontalScrollDirection===Wn.RIGHT&&s.scrollBy(l,0)})};let o=this.element=wi(n);this._document=i,this.withOrientation("vertical").withElementContainer(o),e.registerDropContainer(this),this._parentPositions=new cm(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,i,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,i,r,a,o,s,l={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:a,distance:o,dropPoint:s,event:l})}withItems(n){let e=this._draggables;return this._draggables=n,n.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>n.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._direction=n,this._sortStrategy instanceof um&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new W7(this._document,this._dragDropRegistry);else{let e=new um(this._dragDropRegistry);e.direction=this._direction,e.orientation=n,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,i)=>this.sortPredicate(e,i,this)),this}withScrollableParents(n){let e=this._container;return this._scrollableElements=n.indexOf(e)===-1?[e,...n]:n.slice(),this}withElementContainer(n){if(n===this._container)return this;let e=wi(this.element),i=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(n);return i>-1&&this._scrollableElements.splice(i,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(n),this._cachedShadowRoot=null,this._scrollableElements.unshift(n),this._container=n,this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,i,r){if(this.sortingDisabled||!this._domRect||!vO(this._domRect,EO,e,i))return;let a=this._sortStrategy.sort(n,e,i,r);a&&this.sorted.next({previousIndex:a.previousIndex,currentIndex:a.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let i,r=Kr.NONE,a=Wn.NONE;if(this._parentPositions.positions.forEach((o,s)=>{s===this._document||!o.clientRect||i||vO(o.clientRect,EO,n,e)&&([r,a]=bie(s,o.clientRect,this._direction,n,e),(r||a)&&(i=s))}),!r&&!a){let{width:o,height:s}=this._viewportRuler.getViewportSize(),l={width:o,height:s,top:0,right:o,bottom:s,left:0};r=LO(l,e),a=HO(l,n),i=window}i&&(r!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=a,this._scrollNode=i,(r||a)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let n=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let n=this._container.style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(n,e){return this._domRect!=null&&U7(this._domRect,n,e)}_getSiblingContainerFromPosition(n,e,i){return this._siblings.find(r=>r._canReceive(n,e,i))}_canReceive(n,e,i){if(!this._domRect||!U7(this._domRect,e,i)||!this.enterPredicate(n,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,i);return r?r===this._container||this._container.contains(r):!1}_startReceiving(n,e){let i=this._activeSiblings;!i.has(n)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let n=ql(this._container);this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}};function LO(t,n){let{top:e,bottom:i,height:r}=t,a=r*zO;return n>=e-a&&n<=e+a?Kr.UP:n>=i-a&&n<=i+a?Kr.DOWN:Kr.NONE}function HO(t,n){let{left:e,right:i,width:r}=t,a=r*zO;return n>=e-a&&n<=e+a?Wn.LEFT:n>=i-a&&n<=i+a?Wn.RIGHT:Wn.NONE}function bie(t,n,e,i,r){let a=LO(n,r),o=HO(n,i),s=Kr.NONE,l=Wn.NONE;if(a){let h=t.scrollTop;a===Kr.UP?h>0&&(s=Kr.UP):t.scrollHeight-h>t.clientHeight&&(s=Kr.DOWN)}if(o){let h=t.scrollLeft;e==="rtl"?o===Wn.RIGHT?h<0&&(l=Wn.RIGHT):t.scrollWidth+h>t.clientWidth&&(l=Wn.LEFT):o===Wn.LEFT?h>0&&(l=Wn.LEFT):t.scrollWidth-h>t.clientWidth&&(l=Wn.RIGHT)}return[s,l]}var om=Ci({passive:!1,capture:!0}),sm=new Set,yie=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[ae],decls:0,vars:0,template:function(i,r){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0})}}return t})(),Cie=(()=>{class t{constructor(e,i){this._ngZone=e,this._appRef=z(Ji),this._environmentInjector=z(Oi),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=ir([]),this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new U,this.pointerUp=new U,this.scroll=new U,this._preventDefaultWhileDragging=r=>{this._activeDragInstances().length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,om)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,om)}startDragging(e,i){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._loadResets(),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:om}),r||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:om}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,o)=>{this._document.addEventListener(o,a.handler,a.options)})})}}stopDragging(e){this._activeDragInstances.update(i=>{let r=i.indexOf(e);return r>-1?(i.splice(r,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let i=[this.scroll];return e&&e!==this._document&&i.push(new je(r=>this._ngZone.runOutsideAngular(()=>{let o=s=>{this._activeDragInstances().length&&r.next(s)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),nt(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}_loadResets(){if(!sm.has(this._appRef)){sm.add(this._appRef);let e=X0(yie,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{sm.delete(this._appRef),sm.size===0&&e.destroy()})}}static{this.\u0275fac=function(i){return new(i||t)(k(oe),k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),xie={dragStartThreshold:5,pointerDirectionChangeThreshold:5},K7=(()=>{class t{constructor(e,i,r,a){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=a}createDrag(e,i=xie){return new G7(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new q7(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(oe),k(Ui),k(Cie))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),OO=new L("CDK_DRAG_PARENT");var Mie=new L("CdkDragHandle");var RO=new L("CDK_DRAG_CONFIG"),wie="cdk-drag",NO=new L("CdkDropList"),wye=(()=>{class t{static{this._dragInstances=[]}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}constructor(e,i,r,a,o,s,l,h,v,y,D){this.element=e,this.dropContainer=i,this._ngZone=a,this._viewContainerRef=o,this._dir=l,this._changeDetectorRef=v,this._selfHandle=y,this._parentDrag=D,this._destroyed=new U,this._handles=new at([]),this.scale=1,this.started=new B,this.released=new B,this.ended=new B,this.entered=new B,this.exited=new B,this.dropped=new B,this.moved=new je(S=>{let V=this._dragRef.moved.pipe(me(K=>({source:this,pointerPosition:K.pointerPosition,event:K.event,delta:K.delta,distance:K.distance}))).subscribe(S);return()=>{V.unsubscribe()}}),this._injector=z(Le),this._dragRef=h.createDrag(e,{dragStartThreshold:s&&s.dragStartThreshold!=null?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&s.pointerDirectionChangeThreshold!=null?s.pointerDirectionChangeThreshold:5,zIndex:s?.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),s&&this._assignDefaults(s),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this),i._dropListRef.beforeStarted.pipe(_e(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){Ft(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(e){let i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(e){let i=this._handles.getValue();i.push(e),this._handles.next(i)}_removeHandle(e){let i=this._handles.getValue(),r=i.indexOf(e);r>-1&&(i.splice(r,1),this._handles.next(i))}_setPreviewTemplate(e){this._previewTemplate=e}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(e){this._placeholderTemplate=e}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let e=this.element.nativeElement,i=e;this.rootElementSelector&&(i=e.closest!==void 0?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){let e=this.boundaryElement;return e?typeof e=="string"?this.element.nativeElement.closest(e):wi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){let i=this._dir,r=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.scale=this.scale,e.dragStartDelay=typeof r=="object"&&r?r:di(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Ue(1)).subscribe(()=>{if(this._parentDrag){e.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains(wie)){e.withParent(t._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){let{lockAxis:i,dragStartDelay:r,constrainPosition:a,previewClass:o,boundaryElement:s,draggingDisabled:l,rootElementSelector:h,previewContainer:v}=e;this.disabled=l??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),a&&(this.constrainPosition=a),o&&(this.previewClass=o),s&&(this.boundaryElement=s),h&&(this.rootElementSelector=h),v&&(this.previewContainer=v)}_setupHandlesListener(){this._handles.pipe(yt(e=>{let i=e.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),dt(e=>nt(...e.map(i=>i._stateChanges.pipe(Qe(i))))),_e(this._destroyed)).subscribe(e=>{let i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}static{this.\u0275fac=function(i){return new(i||t)(m($),m(NO,12),m(Ce),m(oe),m(Xe),m(RO,8),m(Je,8),m(K7),m(pe),m(Mie,10),m(OO,12))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,r){i&2&&re("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",q],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",st]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[he([{provide:OO,useExisting:t}]),ye,Te]})}}return t})(),PO=new L("CdkDropListGroup");var Die=0,Dye=(()=>{class t{static{this._dropLists=[]}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}constructor(e,i,r,a,o,s,l){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=a,this._dir=o,this._group=s,this._destroyed=new U,this.connectedTo=[],this.id=`cdk-drop-list-${Die++}`,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new B,this.entered=new B,this.exited=new B,this.sorted=new B,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(h,v)=>this.enterPredicate(h.data,v.data),this._dropListRef.sortPredicate=(h,v,y)=>this.sortPredicate(h,v.data,y.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),s&&s._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Qe(this._dir.value),_e(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=Ms(this.connectedTo).map(r=>{if(typeof r=="string"){let a=t._dropLists.find(o=>o.id===r);return a}return r});if(this._group&&this._group._items.forEach(r=>{i.indexOf(r)===-1&&i.push(r)}),!this._scrollableParentsResolved){let r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let r=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(r)}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=di(this.autoScrollStep,2),e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),nt(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){let{lockAxis:i,draggingDisabled:r,sortingDisabled:a,listAutoScrollDisabled:o,listOrientation:s}=e;this.disabled=r??!1,this.sortingDisabled=a??!1,this.autoScrollDisabled=o??!1,this.orientation=s||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(K7),m(pe),m(ha),m(Je,8),m(PO,12),m(RO,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,r){i&2&&(ie("id",r.id),re("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",q],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",q],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",q],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[he([{provide:PO,useValue:void 0},{provide:NO,useExisting:t}]),ye]})}}return t})();var FO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[K7],imports:[_n]})}}return t})();var Sie=["*"];function kie(t,n){t&1&&se(0)}var Z7=(()=>{class t{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return t})(),X7=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return t})(),Iie=0;var jo={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},l4=new L("STEPPER_GLOBAL_OPTIONS"),hm=(()=>{class t{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,i){this._stepper=e,this.interacted=!1,this.interactedStream=new B,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static{this.\u0275fac=function(i){return new(i||t)(m(ct(()=>A2)),m(l4,8))}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-step"]],contentQueries:function(i,r,a){if(i&1&&(we(a,X7,5),we(a,dn,5)),i&2){let o;G(o=W())&&(r.stepLabel=o.first),G(o=W())&&(r._childForms=o)}},viewQuery:function(i,r){if(i&1&&ue($e,7),i&2){let a;G(a=W())&&(r.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",q],optional:[2,"optional","optional",q],completed:[2,"completed","completed",q],hasError:[2,"hasError","hasError",q]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[ye,Te,ae],ngContentSelectors:Sie,decls:1,vars:0,template:function(i,r){i&1&&(Me(),w(0,kie,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return t})(),A2=(()=>{class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}constructor(e,i,r){this._dir=e,this._changeDetectorRef=i,this._elementRef=r,this._destroyed=new U,this.steps=new Pi,this._sortedHeaders=new Pi,this.linear=!1,this._selectedIndex=0,this.selectionChange=new B,this.selectedIndexChange=new B,this._orientation="horizontal",this._groupId=Iie++}ngAfterContentInit(){this._steps.changes.pipe(Qe(this._steps),_e(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Qe(this._stepHeader),_e(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,r)=>i._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ba(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:ce()).pipe(Qe(this._layoutDirection()),_e(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let i=e-this._selectedIndex;return i<0?this._layoutDirection()==="rtl"?"next":"previous":i>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,i=jo.NUMBER){let r=this.steps.toArray()[e],a=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,a):this._getGuidelineLogic(r,a,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?jo.ERROR:!e.completed||i?jo.NUMBER:e.editable?jo.EDIT:jo.DONE}_getGuidelineLogic(e,i,r=jo.NUMBER){return e._showError()&&e.hasError&&!i?jo.ERROR:e.completed&&!i?jo.DONE:e.completed&&i?r:e.editable&&i?jo.EDIT:r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let i=xt(e),r=e.keyCode,a=this._keyManager;a.activeItemIndex!=null&&!i&&(r===32||r===13)?(this.selectedIndex=a.activeItemIndex,e.preventDefault()):a.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(i=>{let r=i.stepControl;return(r?r.invalid||r.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,i=ja();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e{class t{constructor(e){this._stepper=e,this.type="submit"}static{this.\u0275fac=function(i){return new(i||t)(m(A2))}}static{this.\u0275dir=T({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(i,r){i&1&&H("click",function(){return r._stepper.next()}),i&2&&jt("type",r.type)},inputs:{type:"type"},standalone:!0})}}return t})(),BO=(()=>{class t{constructor(e){this._stepper=e,this.type="button"}static{this.\u0275fac=function(i){return new(i||t)(m(A2))}}static{this.\u0275dir=T({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(i,r){i&1&&H("click",function(){return r._stepper.previous()}),i&2&&jt("type",r.type)},inputs:{type:"type"},standalone:!0})}}return t})(),UO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Ua]})}}return t})();var Eie=["panel"],Oie=["*"];function Pie(t,n){if(t&1){let e=le();p(0,"div",1,0),H("@panelAnimation.done",function(r){F(e);let a=M();return j(a._animationDone.next(r))}),se(2),f()}if(t&2){let e=n.id,i=M();Lt(i._classList),re("mat-mdc-autocomplete-visible",i.showPanel)("mat-mdc-autocomplete-hidden",!i.showPanel)("mat-primary",i._color==="primary")("mat-accent",i._color==="accent")("mat-warn",i._color==="warn"),C("id",i.id)("@panelAnimation",i.isOpen?"visible":"hidden"),ie("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}var Tie=kt("panelAnimation",[tt("void, hidden",De({opacity:0,transform:"scaleY(0.8)"})),Ze(":enter, hidden => visible",[Md([et("0.03s linear",De({opacity:1})),et("0.12s cubic-bezier(0, 0, 0.2, 1)",De({transform:"scaleY(1)"}))])]),Ze(":leave, visible => hidden",[et("0.075s linear",De({opacity:0}))])]),Vie=0,J7=class{constructor(n,e){this.source=n,this.option=e}},$O=new L("mat-autocomplete-default-options",{providedIn:"root",factory:Aie});function Aie(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var CCe=(()=>{class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,r,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=xe.EMPTY,this._animationDone=new B,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new B,this.opened=new B,this.closed=new B,this.optionActivated=new B,this.id=`mat-autocomplete-${Vie++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!r.autoActiveFirstOption,this.autoSelectActiveOption=!!r.autoSelectActiveOption,this.requireSelection=!!r.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Zl(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new J7(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m($),m($O),m(ze))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,r,a){if(i&1&&(we(a,Bi,5),we(a,gd,5)),i&2){let o;G(o=W())&&(r.options=o),G(o=W())&&(r.optionGroups=o)}},viewQuery:function(i,r){if(i&1&&(ue($e,7),ue(Eie,5)),i&2){let a;G(a=W())&&(r.template=a.first),G(a=W())&&(r.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[2,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",q],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[he([{provide:fd,useExisting:t}]),ye,ae],ngContentSelectors:Oie,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,r){i&1&&(Me(),w(0,Pie,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Tie]},changeDetection:0})}}return t})();var zie={provide:Yi,useExisting:ct(()=>Rie),multi:!0};var GO=new L("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition()}});function Lie(t){return()=>t.scrollStrategies.reposition()}var Hie={provide:GO,deps:[vt],useFactory:Lie},Rie=(()=>{class t{constructor(e,i,r,a,o,s,l,h,v,y,D){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=l,this._formField=h,this._document=v,this._viewportRuler=y,this._defaults=D,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=xe.EMPTY,this._breakpointObserver=z(Ql),this._handsetLandscapeSubscription=xe.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new U,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new U,this._injector=z(Le),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=Hn(()=>{let S=this.autocomplete?this.autocomplete.options:null;return S?S.changes.pipe(Qe(S),dt(()=>nt(...S.map(V=>V.onSelectionChange)))):this._initialized.pipe(dt(()=>this.optionSelections))}),this._handlePanelKeydown=S=>{(S.keyCode===27&&!xt(S)||S.keyCode===38&&xt(S,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),S.stopPropagation(),S.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&ws(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return nt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ve(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ve(()=>this._overlayAttached)):ce()).pipe(me(e=>e instanceof pd?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return nt(Zi(this._document,"click"),Zi(this._document,"auxclick"),Zi(this._document,"touchend")).pipe(Ve(e=>{let i=ji(e),r=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,r=xt(e);if(i===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,o=i===38||i===40;i===9||o&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(o||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;if(i.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(o=>o.selected);if(a){let o=this._getDisplayValue(a.value);r!==o&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new je(r=>{Ft(()=>{r.next()},{injector:this._injector})}),i=this.autocomplete.options.changes.pipe(yt(()=>this._positionStrategy.reapplyLastPosition()),Jo(0));return nt(e,i).pipe(dt(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ue(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),i._emitSelectEvent(r),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(Ue(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;e2(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new zi(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Zu.HandsetLandscape).subscribe(a=>{a.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new mr({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],o;this.position==="above"?o=a:this.position==="below"?o=i:o=[...i,...a],e.withPositions(o)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let r=0;r .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&ws(this._trackedModal,"aria-owns",i),e2(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ws(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static{this.\u0275fac=function(i){return new(i||t)(m($),m(vt),m(Xe),m(oe),m(pe),m(GO),m(Je,8),m(To,9),m(Ce,8),m(Ui),m($O,8))}}static{this.\u0275dir=T({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,r){i&1&&H("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(o){return r._handleInput(o)})("keydown",function(o){return r._handleKeydown(o)})("click",function(){return r._handleClick()}),i&2&&ie("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[he([zie]),ye,Te]})}}return t})(),WO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Hie],imports:[Pn,i2,fe,Tt,_n,i2,fe]})}}return t})();var Nie=["button"],Fie=["*"];function jie(t,n){if(t&1&&R(0,"mat-pseudo-checkbox",3),t&2){let e=M();C("disabled",e.disabled)}}function Bie(t,n){if(t&1&&R(0,"mat-pseudo-checkbox",3),t&2){let e=M();C("disabled",e.disabled)}}var qO=new L("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:Uie});function Uie(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var YO=new L("MatButtonToggleGroup"),$ie={provide:Yi,useExisting:ct(()=>Gie),multi:!0},QO=0,mm=class{constructor(n,e){this.source=n,this.value=e}},Gie=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get value(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(e){this._hideMultipleSelectionIndicator=e,this._markButtonsForCheck()}constructor(e,i,r){this._changeDetector=e,this._dir=r,this._multiple=!1,this._disabled=!1,this._disabledInteractive=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${QO++}`,this.valueChange=new B,this.change=new B,this.appearance=i&&i.appearance?i.appearance:"standard",this.hideSingleSelectionIndicator=i?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=i?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new ur(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked)),this.multiple||this._initializeTabIndex()}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_keydown(e){if(this.multiple||this.disabled)return;let r=e.target.id,a=this._buttonToggles.toArray().findIndex(s=>s.buttonId===r),o=null;switch(e.keyCode){case 32:case 13:o=this._buttonToggles.get(a)||null;break;case 38:o=this._getNextButton(a,-1);break;case 37:o=this._getNextButton(a,this.dir==="ltr"?-1:1);break;case 40:o=this._getNextButton(a,1);break;case 39:o=this._getNextButton(a,this.dir==="ltr"?1:-1);break;default:return}o&&(e.preventDefault(),o._onButtonClick(),o.focus())}_emitChangeEvent(e){let i=new mm(e,this.value);this._rawValue=i.value,this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>e.value!=null&&i===e.value):e.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(e=>{e.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let e=0;ethis._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>{e.checked=!1,this.multiple||(e.tabIndex=-1)})}_selectValue(e){let i=this._buttonToggles.find(r=>r.value!=null&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i),this.multiple||(i.tabIndex=0))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(qO,8),m(Je,8))}}static{this.\u0275dir=T({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(i,r,a){if(i&1&&we(a,KO,5),i&2){let o;G(o=W())&&(r._buttonToggles=o)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(i,r){i&1&&H("keydown",function(o){return r._keydown(o)}),i&2&&(ie("role",r.multiple?"group":"radiogroup")("aria-disabled",r.disabled),re("mat-button-toggle-vertical",r.vertical)("mat-button-toggle-group-appearance-standard",r.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",q],value:"value",multiple:[2,"multiple","multiple",q],disabled:[2,"disabled","disabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",q]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[he([$ie,{provide:YO,useExisting:t}]),ye]})}}return t})(),KO=(()=>{class t{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(e){this._tabIndex=e,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}constructor(e,i,r,a,o,s){this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new B;let l=Number(o);this.tabIndex=l||l===0?l:null,this.buttonToggleGroup=e,this.appearance=s&&s.appearance?s.appearance:"standard",this.disabledInteractive=s?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${QO++}`,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let i=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);i&&(i.tabIndex=-1),this.tabIndex=0}this.change.emit(new mm(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static{this.\u0275fac=function(i){return new(i||t)(m(YO,8),m(pe),m($),m(Qt),Gt("tabindex"),m(qO,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(i,r){if(i&1&&ue(Nie,5),i&2){let a;G(a=W())&&(r._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(i,r){i&1&&H("focus",function(){return r.focus()}),i&2&&(ie("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),re("mat-button-toggle-standalone",!r.buttonToggleGroup)("mat-button-toggle-checked",r.checked)("mat-button-toggle-disabled",r.disabled)("mat-button-toggle-disabled-interactive",r.disabledInteractive)("mat-button-toggle-appearance-standard",r.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",q],appearance:"appearance",checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[ye,ae],ngContentSelectors:Fie,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"button",1,0),H("click",function(){return F(a),j(r._onButtonClick())}),p(2,"span",2),w(3,jie,1,1,"mat-pseudo-checkbox",3)(4,Bie,1,1,"mat-pseudo-checkbox",3),se(5),f()(),R(6,"span",4)(7,"span",5)}if(i&2){let a=Ct(1);C("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),ie("role",r.isSingleSelector()?"radio":"button")("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-pressed",r.isSingleSelector()?null:r.checked)("aria-checked",r.isSingleSelector()?r.checked:null)("name",r._getButtonName())("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),g(3),Se(r.buttonToggleGroup&&r.checked&&!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),g(),Se(r.buttonToggleGroup&&r.checked&&r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),g(3),C("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)}},dependencies:[Ai,V5],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-app-on-surface));background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-app-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-app-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-app-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-app-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-app-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}"],encapsulation:2,changeDetection:0})}}return t})(),ZO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,gn,KO,fe]})}}return t})();var Wie=["*"],qie=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],Yie=[`mat-card-title, mat-card-subtitle,
-      [mat-card-title], [mat-card-subtitle],
-      [matCardTitle], [matCardSubtitle]`,`[mat-card-image], [matCardImage],
-                    [mat-card-sm-image], [matCardImageSmall],
-                    [mat-card-md-image], [matCardImageMedium],
-                    [mat-card-lg-image], [matCardImageLarge],
-                    [mat-card-xl-image], [matCardImageXLarge]`,"*"],Qie=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Kie=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
-      [mat-card-title], [mat-card-subtitle],
-      [matCardTitle], [matCardSubtitle]`,"*"],Zie=new L("MAT_CARD_CONFIG"),XO=(()=>{class t{constructor(e){this.appearance=e?.appearance||"raised"}static{this.\u0275fac=function(i){return new(i||t)(m(Zie,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){i&2&&re("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[ae],ngContentSelectors:Wie,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return t})(),ZCe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return t})(),XCe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],standalone:!0,features:[ae],ngContentSelectors:Yie,decls:4,vars:0,template:function(i,r){i&1&&(Me(qie),p(0,"div"),se(1),f(),se(2,1),se(3,2))},encapsulation:2,changeDetection:0})}}return t})(),JO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return t})(),JCe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return t})(),exe=(()=>{class t{constructor(){this.align="start"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return t})(),txe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[ae],ngContentSelectors:Kie,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Me(Qie),se(0),p(1,"div",0),se(2,1),f(),se(3,2))},encapsulation:2,changeDetection:0})}}return t})();var ixe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"],standalone:!0})}}return t})();var nxe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"],standalone:!0})}}return t})();var eP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,Tt,fe]})}}return t})();var Jie=new L("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})});var tP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Gr,{provide:Jie,useValue:{separatorKeyCodes:[13]}}],imports:[fe,gn,fe]})}}return t})();var ene=0,e_=new L("CdkAccordion"),iP=(()=>{class t{constructor(){this._stateChanges=new U,this._openCloseAllActions=new U,this.id=`cdk-accordion-${ene++}`,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",q]},exportAs:["cdkAccordion"],standalone:!0,features:[he([{provide:e_,useExisting:t}]),ye,Te]})}}return t})(),tne=0,nP=(()=>{class t{get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=xe.EMPTY,this.closed=new B,this.opened=new B,this.destroyed=new B,this.expandedChange=new B,this.id=`cdk-accordion-child-${tne++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((a,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static{this.\u0275fac=function(i){return new(i||t)(m(e_,12),m(pe),m(s2))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",q],disabled:[2,"disabled","disabled",q]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[he([{provide:e_,useValue:void 0}]),ye]})}}return t})(),rP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();var ine=["body"],nne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],rne=["mat-expansion-panel-header","*","mat-action-row"];function ane(t,n){}var one=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],sne=["mat-panel-title","mat-panel-description","*"];function cne(t,n){if(t&1&&(p(0,"span",1),Jt(),p(1,"svg",2),R(2,"path",3),f()()),t&2){let e=M();C("@indicatorRotate",e._getExpandedState())}}var t_=new L("MAT_ACCORDION"),aP="225ms cubic-bezier(0.4,0.0,0.2,1)",sP={indicatorRotate:kt("indicatorRotate",[tt("collapsed, void",De({transform:"rotate(0deg)"})),tt("expanded",De({transform:"rotate(180deg)"})),Ze("expanded <=> collapsed, void => collapsed",et(aP))]),bodyExpansion:kt("bodyExpansion",[tt("collapsed, void",De({height:"0px",visibility:"hidden"})),tt("expanded",De({height:"*",visibility:""})),Ze("expanded <=> collapsed, void => collapsed",et(aP))])},cP=new L("MAT_EXPANSION_PANEL"),lne=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(cP,8))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return t})(),dne=0,lP=new L("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),une=(()=>{class t extends nP{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,r,a,o,s,l){super(e,i,r),this._viewContainerRef=a,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new B,this.afterCollapse=new B,this._inputChanges=new U,this._headerId=`mat-expansion-panel-header-${dne++}`,this.accordion=e,this._document=o,this._animationsDisabled=s==="NoopAnimations",l&&(this.hideToggle=l.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Qe(null),Ve(()=>this.expanded&&!this._portal),Ue(1)).subscribe(()=>{this._portal=new zi(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_animationStarted(e){!oP(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){oP(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(i){return new(i||t)(m(t_,12),m(pe),m(s2),m(Xe),m(Ce),m(ot,8),m(lP,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,a){if(i&1&&we(a,lne,5),i&2){let o;G(o=W())&&(r._lazyContent=o.first)}},viewQuery:function(i,r){if(i&1&&ue(ine,5),i&2){let a;G(a=W())&&(r._body=a.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,r){i&2&&re("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[he([{provide:t_,useValue:void 0},{provide:cP,useExisting:t}]),ye,de,Te,ae],ngContentSelectors:rne,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){if(i&1){let a=le();Me(nne),se(0),p(1,"div",1,0),H("@bodyExpansion.start",function(s){return F(a),j(r._animationStarted(s))})("@bodyExpansion.done",function(s){return F(a),j(r._animationDone(s))}),p(3,"div",2),se(4,1),w(5,ane,0,0,"ng-template",3),f(),se(6,2),f()}i&2&&(g(),C("@bodyExpansion",r._getExpandedState())("id",r.id),ie("aria-labelledby",r._headerId),g(4),C("cdkPortalOutlet",r._portal))},dependencies:[Qi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[sP.bodyExpansion]},changeDetection:0})}}return t})();function oP(t){return t.fromState==="void"}var hne=(()=>{class t{constructor(e,i,r,a,o,s,l){this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=a,this._animationMode=s,this._parentChangeSubscription=xe.EMPTY,this.tabIndex=0;let h=e.accordion?e.accordion._stateChanges.pipe(Ve(v=>!!(v.hideToggle||v.togglePosition))):ci;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=nt(e.opened,e.closed,h,e._inputChanges.pipe(Ve(v=>!!(v.hideToggle||v.disabled||v.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Ve(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:xt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(i){return new(i||t)(m(une,1),m($),m(Qt),m(pe),m(lP,8),m(ot,8),Gt("tabindex"))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,r){i&1&&H("click",function(){return r._toggle()})("keydown",function(o){return r._keydown(o)}),i&2&&(ie("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Pt("height",r._getHeaderHeight()),re("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)]},standalone:!0,features:[ye,ae],ngContentSelectors:sne,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Me(one),p(0,"span",0),se(1),se(2,1),se(3,2),f(),w(4,cne,3,1,"span",1)),i&2&&(re("mat-content-hide-toggle",!r._showToggle()),g(4),Se(r._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[sP.indicatorRotate]},changeDetection:0})}}return t})(),iMe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}}return t})(),nMe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return t})(),rMe=(()=>{class t extends iP{constructor(){super(...arguments),this._ownHeaders=new Pi,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(Qe(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ba(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,a){if(i&1&&we(a,hne,5),i&2){let o;G(o=W())&&(r._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[he([{provide:t_,useExisting:t}]),ye,de]})}}return t})(),dP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,rP,$n]})}}return t})();var uP=["*"],hP='.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::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 a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}',mne=["unscopedContent"],pne=["text"],fne=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],gne=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var _ne=new L("ListOption"),vne=(()=>{class t{constructor(e){this._elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0})}}return t})(),bne=(()=>{class t{constructor(e){this._elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0})}}return t})(),yne=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0})}}return t})(),mP=(()=>{class t{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static{this.\u0275fac=function(i){return new(i||t)(m(_ne,8))}}static{this.\u0275dir=T({type:t,hostVars:4,hostBindings:function(i,r){i&2&&re("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())},standalone:!0})}}return t})(),Cne=(()=>{class t extends mP{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[de]})}}return t})(),xne=(()=>{class t extends mP{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[de]})}}return t})(),Mne=new L("MAT_LIST_CONFIG"),z2=(()=>{class t{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=z(Mne,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=ri(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=ri(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,hostVars:1,hostBindings:function(i,r){i&2&&ie("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return t})(),wne=(()=>{class t{set lines(e){this._explicitLines=di(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=ri(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=ri(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,a,o,s){this._elementRef=e,this._ngZone=i,this._listBase=r,this._platform=a,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new xe,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=o||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=s==="NoopAnimations",r&&!r._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new md(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(nt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",i===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",i===3),this._hasUnscopedTextContent){let a=this._titles.length===0&&i===1;r.classList.toggle("mdc-list-item__primary-text",a),r.classList.toggle("mdc-list-item__secondary-text",!a)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(z2,8),m(ze),m(Eo,8),m(ot,8))}}static{this.\u0275dir=T({type:t,contentQueries:function(i,r,a){if(i&1&&(we(a,Cne,4),we(a,xne,4)),i&2){let o;G(o=W())&&(r._avatars=o),G(o=W())&&(r._icons=o)}},hostVars:4,hostBindings:function(i,r){i&2&&(ie("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),re("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return t})();var pP=(()=>{class t extends z2{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[he([{provide:z2,useExisting:t}]),de,ae],ngContentSelectors:uP,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:[hP],encapsulation:2,changeDetection:0})}}return t})(),fP=(()=>{class t extends wne{get activated(){return this._activated}set activated(e){this._activated=ri(e)}constructor(e,i,r,a,o,s){super(e,i,r,a,o,s),this._activated=!1}_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(z2,8),m(ze),m(Eo,8),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,bne,5),we(a,vne,5),we(a,yne,5)),i&2){let o;G(o=W())&&(r._lines=o),G(o=W())&&(r._titles=o),G(o=W())&&(r._meta=o)}},viewQuery:function(i,r){if(i&1&&(ue(mne,5),ue(pne,5)),i&2){let a;G(a=W())&&(r._unscopedContent=a.first),G(a=W())&&(r._itemText=a.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(i,r){i&2&&(ie("aria-current",r._getAriaCurrent()),re("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[de,ae],ngContentSelectors:gne,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-mdc-focus-indicator"]],template:function(i,r){if(i&1){let a=le();Me(fne),se(0),p(1,"span",1),se(2,1),se(3,2),p(4,"span",2,0),H("cdkObserveContent",function(){return F(a),j(r._updateItemLines(!0))}),se(6,3),f()(),se(7,4),se(8,5),R(9,"div",3)}},dependencies:[dd],encapsulation:2,changeDetection:0})}}return t})();var wMe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"],standalone:!0})}}return t})();var DMe=(()=>{class t extends z2{constructor(){super(...arguments),this._isNonInteractive=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],standalone:!0,features:[he([{provide:z2,useExisting:t}]),de,ae],ngContentSelectors:uP,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:[hP],encapsulation:2,changeDetection:0})}}return t})();var gP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Yl,Tt,fe,gn,A5,b2]})}}return t})();function Sne(t,n){if(t&1&&(p(0,"mat-option",17),d(1),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(" ",e," ")}}function kne(t,n){if(t&1){let e=le();p(0,"mat-form-field",14)(1,"mat-select",16,0),H("selectionChange",function(r){F(e);let a=M(2);return j(a._changePageSize(r.value))}),nr(3,Sne,2,2,"mat-option",17,bo),f(),p(5,"div",18),H("click",function(){F(e);let r=Ct(2);return j(r.open())}),f()()}if(t&2){let e=M(2);C("appearance",e._formFieldAppearance)("color",e.color),g(),C("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),g(2),rr(e._displayedPageSizeOptions)}}function Ine(t,n){if(t&1&&(p(0,"div",15),d(1),f()),t&2){let e=M(2);g(),E(e.pageSize)}}function Ene(t,n){if(t&1&&(p(0,"div",3)(1,"div",13),d(2),f(),w(3,kne,6,7,"mat-form-field",14)(4,Ine,2,1,"div",15),f()),t&2){let e=M();g(),ie("id",e._pageSizeLabelId),g(),ne(" ",e._intl.itemsPerPageLabel," "),g(),Se(e._displayedPageSizeOptions.length>1?3:-1),g(),Se(e._displayedPageSizeOptions.length<=1?4:-1)}}function One(t,n){if(t&1){let e=le();p(0,"button",19),H("click",function(){F(e);let r=M();return j(r.firstPage())}),Jt(),p(1,"svg",8),R(2,"path",20),f()()}if(t&2){let e=M();C("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ie("aria-label",e._intl.firstPageLabel)}}function Pne(t,n){if(t&1){let e=le();p(0,"button",21),H("click",function(){F(e);let r=M();return j(r.lastPage())}),Jt(),p(1,"svg",8),R(2,"path",22),f()()}if(t&2){let e=M();C("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ie("aria-label",e._intl.lastPageLabel)}}var pm=(()=>{class t{constructor(){this.changes=new U,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(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let a=e*i,o=a{class t{get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>st(i,0)),this._updateDisplayedPageSizeOptions()}constructor(e,i,r){if(this._intl=e,this._changeDetectorRef=i,this._pageSizeLabelId=`mat-paginator-page-size-label-${Lne++}`,this._isInitialized=!1,this._initializedStream=new ea(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new B,this.initialized=this._initializedStream,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){let{pageSize:a,pageSizeOptions:o,hidePageSize:s,showFirstLastButtons:l}=r;a!=null&&(this._pageSize=a),o!=null&&(this._pageSizeOptions=o),s!=null&&(this.hidePageSize=s),l!=null&&(this.showFirstLastButtons=l)}this._formFieldAppearance=r?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static{this.\u0275fac=function(i){return new(i||t)(m(pm),m(pe),m(zne,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",st],length:[2,"length","length",st],pageSize:[2,"pageSize","pageSize",st],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",q],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",q],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",q]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[ye,ae],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2),w(2,Ene,5,4,"div",3),p(3,"div",4)(4,"div",5),d(5),f(),w(6,One,3,5,"button",6),p(7,"button",7),H("click",function(){return r.previousPage()}),Jt(),p(8,"svg",8),R(9,"path",9),f()(),Va(),p(10,"button",10),H("click",function(){return r.nextPage()}),Jt(),p(11,"svg",8),R(12,"path",11),f()(),w(13,Pne,3,5,"button",12),f()()()),i&2&&(g(2),Se(r.hidePageSize?-1:2),g(3),ne(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),g(),Se(r.showFirstLastButtons?6:-1),g(),C("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),ie("aria-label",r._intl.previousPageLabel),g(3),C("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),ie("aria-label",r._intl.nextPageLabel),g(3),Se(r.showFirstLastButtons?13:-1))},dependencies:[Kt,Tn,Bi,bn,qr],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-app-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-app-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-app-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-app-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-app-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-app-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-app-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0})}}return t})(),_P=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Vne],imports:[Ga,vh,y2,Nc]})}}return t})();var Rne=["determinateSpinner"];function Nne(t,n){if(t&1&&(Jt(),p(0,"svg",11),R(1,"circle",12),f()),t&2){let e=M();ie("viewBox",e._viewBox()),g(),Pt("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ie("r",e._circleRadius())}}var Fne=new L("mat-progress-spinner-default-options",{providedIn:"root",factory:jne});function jne(){return{diameter:vP}}var vP=100,Bne=10,bP=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,i,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=vP,this._noopAnimations=i==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-Bne)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ot,8),m(Fne))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&ue(Rne,5),i&2){let a;G(a=W())&&(r._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Lt("mat-"+r.color),Pt("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),re("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",st],diameter:[2,"diameter","diameter",st],strokeWidth:[2,"strokeWidth","strokeWidth",st]},exportAs:["matProgressSpinner"],standalone:!0,features:[ye,ae],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(w(0,Nne,2,8,"ng-template",null,0,Hr),p(2,"div",2,1),Jt(),p(4,"svg",3),R(5,"circle",4),f()(),Va(),p(6,"div",5)(7,"div",6)(8,"div",7),At(9,8),f(),p(10,"div",9),At(11,8),f(),p(12,"div",10),At(13,8),f()()()),i&2){let a=Ct(1);g(4),ie("viewBox",r._viewBox()),g(),Pt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),ie("r",r._circleRadius()),g(4),C("ngTemplateOutlet",a),g(2),C("ngTemplateOutlet",a),g(2),C("ngTemplateOutlet",a)}},dependencies:[hs],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return t})();var fm=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Tt,fe]})}}return t})();function $ne(t,n){t&1&&R(0,"div",2)}var Gne=new L("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var cwe=(()=>{class t{constructor(e,i,r,a,o){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new B,this._mode="determinate",this._transitionendHandler=s=>{this.animationEnd.observers.length===0||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",o&&(o.color&&(this.color=this._defaultColor=o.color),this.mode=o.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=yP(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=yP(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(pe),m(ot,8),m(Gne,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,r){i&2&&(ie("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),Lt("mat-"+r.color),re("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",st],bufferValue:[2,"bufferValue","bufferValue",st],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ye,ae],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,r){i&1&&(p(0,"div",0),R(1,"div",1),w(2,$ne,1,0,"div",2),f(),p(3,"div",3),R(4,"span",4),f(),p(5,"div",5),R(6,"span",4),f()),i&2&&(g(),Pt("flex-basis",r._getBufferBarFlexBasis()),g(),Se(r.mode==="buffer"?2:-1),g(),Pt("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}}return t})();function yP(t,n=0,e=100){return Math.max(n,Math.min(e,t))}var CP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe]})}}return t})();var Wne=["input"],qne=["formField"],Yne=["*"],xP=0,gm=class{constructor(n,e){this.source=n,this.value=e}},Qne={provide:Yi,useExisting:ct(()=>Xne),multi:!0},MP=new L("MatRadioGroup"),Kne=new L("mat-radio-default-options",{providedIn:"root",factory:Zne});function Zne(){return{color:"accent",disabledInteractive:!1}}var Xne=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition=e==="before"?"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=e,this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=e,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markRadiosForCheck()}constructor(e){this._changeDetector=e,this._value=null,this._name=`mat-radio-group-${xP++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new B,this._disabledInteractive=!1}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){let e=this._selected!==null&&this._selected.value===this._value;this._radios&&!e&&(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 gm(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()}static{this.\u0275fac=function(i){return new(i||t)(m(pe))}}static{this.\u0275dir=T({type:t,selectors:[["mat-radio-group"]],contentQueries:function(i,r,a){if(i&1&&we(a,wP,5),i&2){let o;G(o=W())&&(r._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[he([Qne,{provide:MP,useExisting:t}]),ye]})}}return t})(),wP=(()=>{class t{get checked(){return this._checked}set checked(e){this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.radioGroup!==null&&(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||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(e){this._setDisabled(e)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=e}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(e){this._color=e}get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,r,a,o,s,l,h){this._elementRef=i,this._changeDetector=r,this._focusMonitor=a,this._radioDispatcher=o,this._defaultOptions=l,this._ngZone=z(oe),this._uniqueId=`mat-radio-${++xP}`,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new B,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this._injector=z(Le),this._onInputClick=v=>{this.disabled&&this.disabledInteractive&&v.preventDefault()},this.radioGroup=e,this._noopAnimations=s==="NoopAnimations",this._disabledInteractive=l?.disabledInteractive??!1,h&&(this.tabIndex=st(h,0))}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),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._inputElement.nativeElement.addEventListener("click",this._onInputClick)})}ngOnDestroy(){this._inputElement?.nativeElement.removeEventListener("click",this._onInputClick),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new gm(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){let i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){let e=this.radioGroup,i;if(!e||!e.selected||this.disabled?i=this.tabIndex:i=e.selected===this?this.tabIndex:-1,i!==this._previousTabIndex){let r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",i+""),this._previousTabIndex=i,Ft(()=>{queueMicrotask(()=>{e&&e.selected&&e.selected!==this&&document.activeElement===r&&(e.selected?._inputElement.nativeElement.focus(),document.activeElement===r&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static{this.\u0275fac=function(i){return new(i||t)(m(MP,8),m($),m(pe),m(Qt),m(s2),m(ot,8),m(Kne,8),Gt("tabindex"))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-radio-button"]],viewQuery:function(i,r){if(i&1&&(ue(Wne,5),ue(qne,7,$)),i&2){let a;G(a=W())&&(r._inputElement=a.first),G(a=W())&&(r._rippleTrigger=a.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(i,r){i&1&&H("focus",function(){return r._inputElement.nativeElement.focus()}),i&2&&(ie("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),re("mat-primary",r.color==="primary")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("mat-mdc-radio-checked",r.checked)("mat-mdc-radio-disabled",r.disabled)("mat-mdc-radio-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],checked:[2,"checked","checked",q],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[ye,ae],ngContentSelectors:Yne,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",2,0)(2,"div",3)(3,"div",4),H("click",function(s){return F(a),j(r._onTouchTargetClick(s))}),f(),p(4,"input",5,1),H("change",function(s){return F(a),j(r._onInputInteraction(s))}),f(),p(6,"div",6),R(7,"div",7)(8,"div",8),f(),p(9,"div",9),R(10,"div",10),f()(),p(11,"label",11),se(12),f()()}i&2&&(C("labelPosition",r.labelPosition),g(2),re("mdc-radio--disabled",r.disabled),g(2),C("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),ie("name",r.name)("value",r.value)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),g(5),C("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),g(2),C("for",r.inputId))},dependencies:[Ai,n2],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-app-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}}return t})(),DP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,Tt,gn,wP,fe]})}}return t})();var vm=["*"],Jne=["content"],ere=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],tre=["mat-drawer","mat-drawer-content","*"];function ire(t,n){if(t&1){let e=le();p(0,"div",1),H("click",function(){F(e);let r=M();return j(r._onBackdropClicked())}),f()}if(t&2){let e=M();re("mat-drawer-shown",e._isShowingBackdrop())}}function nre(t,n){t&1&&(p(0,"mat-drawer-content"),se(1,2),f())}var rre=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],are=["mat-sidenav","mat-sidenav-content","*"];function ore(t,n){if(t&1){let e=le();p(0,"div",1),H("click",function(){F(e);let r=M();return j(r._onBackdropClicked())}),f()}if(t&2){let e=M();re("mat-drawer-shown",e._isShowingBackdrop())}}function sre(t,n){t&1&&(p(0,"mat-sidenav-content"),se(1,2),f())}var cre='.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}',kP={transformDrawer:kt("transform",[tt("open, open-instant",De({transform:"none",visibility:"visible"})),tt("void",De({"box-shadow":"none",visibility:"hidden"})),Ze("void => open-instant",et("0ms")),Ze("void <=> open, open-instant => void",et("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var lre=new L("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:dre}),i_=new L("MAT_DRAWER_CONTAINER");function dre(){return!1}var _m=(()=>{class t extends ma{constructor(e,i,r,a,o){super(r,a,o),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(ct(()=>EP)),m($),m(ha),m(oe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(i,r){i&2&&Pt("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[he([{provide:ma,useExisting:t}]),de,ae],ngContentSelectors:vm,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2,changeDetection:0})}}return t})(),IP=(()=>{class t{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==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=ri(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ri(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ri(e))}constructor(e,i,r,a,o,s,l,h){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._interactivityChecker=s,this._doc=l,this._container=h,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new U,this._animationEnd=new U,this._animationState="void",this.openedChange=new B(!0),this._openedStream=this.openedChange.pipe(Ve(v=>v),me(()=>{})),this.openedStart=this._animationStarted.pipe(Ve(v=>v.fromState!==v.toState&&v.toState.indexOf("open")===0),Xo(void 0)),this._closedStream=this.openedChange.pipe(Ve(v=>!v),me(()=>{})),this.closedStart=this._animationStarted.pipe(Ve(v=>v.fromState!==v.toState&&v.toState==="void"),Xo(void 0)),this._destroyed=new U,this.onPositionChanged=new B,this._modeChanged=new U,this._injector=z(Le),this._changeDetectorRef=z(pe),this.openedChange.pipe(_e(this._destroyed)).subscribe(v=>{v?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Zi(this._elementRef.nativeElement,"keydown").pipe(Ve(v=>v.keyCode===27&&!this.disableClose&&!xt(v)),_e(this._destroyed)).subscribe(v=>this._ngZone.run(()=>{this.close(),v.stopPropagation(),v.preventDefault()}))}),this._animationEnd.subscribe(v=>{let{fromState:y,toState:D}=v;(D.indexOf("open")===0&&y==="void"||D==="void"&&y.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let 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;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":Ft(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(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);let 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._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(Ue(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let i=this._elementRef.nativeElement,r=i.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(yc),m(Qt),m(ze),m(oe),m(Io),m(Ce,8),m(i_,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,r){if(i&1&&ue(Jne,5),i&2){let a;G(a=W())&&(r._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(i,r){i&1&&mc("@transform.start",function(o){return r._animationStarted.next(o)})("@transform.done",function(o){return r._animationEnd.next(o)}),i&2&&(hc("@transform",r._animationState),ie("align",null),re("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[ae],ngContentSelectors:vm,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Me(),p(0,"div",1,0),se(2),f())},dependencies:[ma],encapsulation:2,data:{animation:[kP.transformDrawer]},changeDetection:0})}}return t})(),EP=(()=>{class t{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ri(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ri(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,r,a,o,s=!1,l){this._dir=e,this._element=i,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=l,this._drawers=new Pi,this.backdropClick=new B,this._destroyed=new U,this._doCheckSubject=new U,this._contentMargins={left:null,right:null},this._contentMarginChanges=new U,this._injector=z(Le),e&&e.change.pipe(_e(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(_e(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Qe(this._allDrawers),_e(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Qe(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(ia(10),_e(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(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,i-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")i+=this._right._getWidth();else if(this._right.mode=="push"){let 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(Ve(i=>i.fromState!==i.toState),_e(this._drawers.changes)).subscribe(i=>{i.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(_e(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(_e(this._drawers.changes)).subscribe(()=>{Ft(()=>{this._validateDrawers()},{injector:this._injector,phase:is.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(_e(nt(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let 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=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(i){return new(i||t)(m(Je,8),m($),m(oe),m(pe),m(Ui),m(lre),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,r,a){if(i&1&&(we(a,_m,5),we(a,IP,5)),i&2){let o;G(o=W())&&(r._content=o.first),G(o=W())&&(r._allDrawers=o)}},viewQuery:function(i,r){if(i&1&&ue(_m,5),i&2){let a;G(a=W())&&(r._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[he([{provide:i_,useExisting:t}]),ae],ngContentSelectors:tre,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Me(ere),w(0,ire,1,2,"div",0),se(1),se(2,1),w(3,nre,2,0,"mat-drawer-content")),i&2&&(Se(r.hasBackdrop?0:-1),g(3),Se(r._content?-1:3))},dependencies:[_m],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return t})(),SP=(()=>{class t extends _m{constructor(e,i,r,a,o){super(e,i,r,a,o)}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(ct(()=>hre)),m($),m(ha),m(oe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(i,r){i&2&&Pt("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[he([{provide:ma,useExisting:t}]),de,ae],ngContentSelectors:vm,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2,changeDetection:0})}}return t})(),ure=(()=>{class t extends IP{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=ri(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=di(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=di(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(i,r){i&2&&(ie("align",null),Pt("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),re("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened)("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[de,ae],ngContentSelectors:vm,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Me(),p(0,"div",1,0),se(2),f())},dependencies:[ma],encapsulation:2,data:{animation:[kP.transformDrawer]},changeDetection:0})}}return t})(),hre=(()=>{class t extends EP{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,r,a){if(i&1&&(we(a,SP,5),we(a,ure,5)),i&2){let o;G(o=W())&&(r._content=o.first),G(o=W())&&(r._allDrawers=o)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[he([{provide:i_,useExisting:t}]),de,ae],ngContentSelectors:are,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Me(rre),w(0,ore,1,2,"div",0),se(1),se(2,1),w(3,sre,2,0,"mat-sidenav-content")),i&2&&(Se(r.hasBackdrop?0:-1),g(3),Se(r._content?-1:3))},dependencies:[SP],styles:[cre],encapsulation:2,changeDetection:0})}}return t})(),OP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,_n,_n,fe]})}}return t})();var mre=["switch"],pre=["*"];function fre(t,n){t&1&&(p(0,"span",10),Jt(),p(1,"svg",12),R(2,"path",13),f(),p(3,"svg",14),R(4,"path",15),f()())}var gre=new L("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),_re={provide:Yi,useExisting:ct(()=>PP),multi:!0},bm=class{constructor(n,e){this.source=n,this.checked=e}},vre=0,PP=(()=>{class t{_createChangeEvent(e){return new bm(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,r,a,o,s){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=o,this._onChange=l=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new B,this.toggleChange=new B,this.tabIndex=parseInt(a)||0,this.color=o.color||"accent",this._noopAnimations=s==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++vre}`,this.hideIcon=o.hideIcon??!1,this.disabledInteractive=o.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new bm(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Qt),m(pe),Gt("tabindex"),m(gre),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(i&1&&ue(mre,5),i&2){let a;G(a=W())&&(r._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){i&2&&(jt("id",r.id),ie("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Lt(r.color?"mat-"+r.color:""),re("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",q],color:"color",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],checked:[2,"checked","checked",q],hideIcon:[2,"hideIcon","hideIcon",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[he([_re,{provide:un,useExisting:t,multi:!0}]),ye,Te,ae],ngContentSelectors:pre,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",1)(1,"button",2,0),H("click",function(){return F(a),j(r._handleClick())}),R(3,"span",3),p(4,"span",4)(5,"span",5)(6,"span",6),R(7,"span",7),f(),p(8,"span",8),R(9,"span",9),f(),w(10,fre,5,0,"span",10),f()()(),p(11,"label",11),H("click",function(s){return F(a),j(s.stopPropagation())}),se(12),f()()}if(i&2){let a=Ct(2);C("labelPosition",r.labelPosition),g(),re("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),C("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),ie("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),g(8),C("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),g(),Se(r.hideIcon?-1:10),g(),C("for",r.buttonId),ie("id",r._labelId)}},dependencies:[Ai,n2],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height);border-radius:var(--mdc-switch-track-shape, var(--mat-app-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color, var(--mat-app-outline))}.cdk-high-contrast-active .mdc-switch__track::before,.cdk-high-contrast-active .mdc-switch__track::after{border-color:currentColor}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-app-on-surface))}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-app-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-app-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-app-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-app-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-app-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-app-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-app-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size);margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size);margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}.cdk-high-contrast-active .mdc-switch__handle::before,.cdk-high-contrast-active .mdc-switch__handle::after{border-color:currentColor}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-app-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-app-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-app-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-app-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-app-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size);height:var(--mdc-switch-state-layer-size)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-app-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size);fill:var(--mdc-switch-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size);fill:var(--mdc-switch-selected-icon-color, var(--mat-app-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-app-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0})}}return t})();var TP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[PP,fe,fe]})}}return t})();var VP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,gn]})}}return t})();function bre(t,n){if(t&1){let e=le();p(0,"div",1)(1,"button",2),H("click",function(){F(e);let r=M();return j(r.action())}),d(2),f()()}if(t&2){let e=M();g(2),ne(" ",e.data.action," ")}}var yre=["label"];function Cre(t,n){}var xre=Math.pow(2,31)-1,d4=class{constructor(n,e){this._overlayRef=e,this._afterDismissed=new U,this._afterOpened=new U,this._onAction=new U,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,xre))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},AP=new L("MatSnackBarData"),L2=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},Mre=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return t})(),wre=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return t})(),Dre=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return t})(),zP=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(i){return new(i||t)(m(d4),m(AP))}}static{this.\u0275cmp=A({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[ae],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(p(0,"div",0),d(1),f(),w(2,bre,3,1,"div",1)),i&2&&(g(),ne(" ",r.data.message,`
-`),g(),Se(r.hasAction?2:-1))},dependencies:[lt,Mre,wre,Dre],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return t})(),Sre={snackBarState:kt("state",[tt("void, hidden",De({transform:"scale(0.8)",opacity:0})),tt("visible",De({transform:"scale(1)",opacity:1})),Ze("* => visible",et("150ms cubic-bezier(0, 0, 0.2, 1)")),Ze("* => void, * => hidden",et("75ms cubic-bezier(0.4, 0.0, 1, 1)",De({opacity:0})))])},kre=0,Ire=(()=>{class t extends Es{constructor(e,i,r,a,o){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=a,this.snackBarConfig=o,this._document=z(Ce),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new U,this._onExit=new U,this._onEnter=new U,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${kre++}`,this.attachDomPortal=s=>{this._assertNotAttached();let l=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),l},o.politeness==="assertive"&&!o.announcementMessage?this._live="assertive":o.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:r}=e;if((r==="void"&&i!=="void"||r==="hidden")&&this._completeExit(),r==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,a="mdc-snackbar__label";r.classList.toggle(a,!r.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(i){return new(i||t)(m(oe),m($),m(pe),m(ze),m(L2))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(ue(Qi,7),ue(yre,7)),i&2){let a;G(a=W())&&(r._portalOutlet=a.first),G(a=W())&&(r._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(i,r){i&1&&mc("@state.done",function(o){return r.onAnimationEnd(o)}),i&2&&hc("@state",r._animationState)},standalone:!0,features:[de,ae],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2,0)(3,"div",3),w(4,Cre,0,0,"ng-template",4),f(),R(5,"div"),f()()),i&2&&(g(5),ie("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Qi],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Sre.snackBarState]}})}}return t})();function Ere(){return new L2}var Ore=new L("mat-snack-bar-default-options",{providedIn:"root",factory:Ere}),Pre=(()=>{class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,a,o,s){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=a,this._parentSnackBar=o,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=zP,this.snackBarContainerComponent=Ire,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let a=Y(Y({},this._defaultConfig),r);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=Le.create({parent:r||this._injector,providers:[{provide:L2,useValue:i}]}),o=new hr(this.snackBarContainerComponent,i.viewContainerRef,a),s=e.attach(o);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){let r=Y(Y(Y({},new L2),this._defaultConfig),i),a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),s=new d4(o,a);if(e instanceof $e){let l=new zi(e,null,{$implicit:r.data,snackBarRef:s});s.instance=o.attachTemplatePortal(l)}else{let l=this._createInjector(r,s),h=new hr(e,void 0,l),v=o.attachComponentPortal(h);s.instance=v.instance}return this._breakpointObserver.observe(Zu.HandsetPortrait).pipe(_e(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new mr;i.direction=e.direction;let r=this._overlay.position().global(),a=e.direction==="rtl",o=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,s=!o&&e.horizontalPosition!=="center";return o?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Le.create({parent:r||this._injector,providers:[{provide:d4,useValue:i},{provide:AP,useValue:e.data}]})}static{this.\u0275fac=function(i){return new(i||t)(k(vt),k(rh),k(Le),k(Ql),k(t,12),k(Ore))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var LP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Pre],imports:[Pn,$n,Ga,fe,zP,fe]})}}return t})();var Tre=["mat-sort-header",""],Vre=["*"];function Are(t,n){if(t&1){let e=le();p(0,"div",2),H("@arrowPosition.start",function(){F(e);let r=M();return j(r._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){F(e);let r=M();return j(r._disableViewStateAnimation=!1)}),R(1,"div",3),p(2,"div",4),R(3,"div",5)(4,"div",6)(5,"div",7),f()()}if(t&2){let e=M();C("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),g(2),C("@indicator",e._getArrowDirectionState()),g(),C("@leftPointer",e._getArrowDirectionState()),g(),C("@rightPointer",e._getArrowDirectionState())}}var HP=new L("MAT_SORT_DEFAULT_OPTIONS"),Bo=(()=>{class t{get direction(){return this._direction}set direction(e){this._direction=e}constructor(e){this._defaultOptions=e,this._initializedStream=new ea(1),this.sortables=new Map,this._stateChanges=new U,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new B,this.initialized=this._initializedStream}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let i=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=zre(e.start||this.start,i),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static{this.\u0275fac=function(i){return new(i||t)(m(HP,8))}}static{this.\u0275dir=T({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",q],disabled:[2,"matSortDisabled","disabled",q]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[ye,Te]})}}return t})();function zre(t,n){let e=["asc","desc"];return t=="desc"&&e.reverse(),n||e.push(""),e}var Fs=kw.ENTERING+" "+Sw.STANDARD_CURVE,H2={indicator:kt("indicator",[tt("active-asc, asc",De({transform:"translateY(0px)"})),tt("active-desc, desc",De({transform:"translateY(10px)"})),Ze("active-asc <=> active-desc",et(Fs))]),leftPointer:kt("leftPointer",[tt("active-asc, asc",De({transform:"rotate(-45deg)"})),tt("active-desc, desc",De({transform:"rotate(45deg)"})),Ze("active-asc <=> active-desc",et(Fs))]),rightPointer:kt("rightPointer",[tt("active-asc, asc",De({transform:"rotate(45deg)"})),tt("active-desc, desc",De({transform:"rotate(-45deg)"})),Ze("active-asc <=> active-desc",et(Fs))]),arrowOpacity:kt("arrowOpacity",[tt("desc-to-active, asc-to-active, active",De({opacity:1})),tt("desc-to-hint, asc-to-hint, hint",De({opacity:.54})),tt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",De({opacity:0})),Ze("* => asc, * => desc, * => active, * => hint, * => void",et("0ms")),Ze("* <=> *",et(Fs))]),arrowPosition:kt("arrowPosition",[Ze("* => desc-to-hint, * => desc-to-active",et(Fs,Os([De({transform:"translateY(-25%)"}),De({transform:"translateY(0)"})]))),Ze("* => hint-to-desc, * => active-to-desc",et(Fs,Os([De({transform:"translateY(0)"}),De({transform:"translateY(25%)"})]))),Ze("* => asc-to-hint, * => asc-to-active",et(Fs,Os([De({transform:"translateY(25%)"}),De({transform:"translateY(0)"})]))),Ze("* => hint-to-asc, * => active-to-asc",et(Fs,Os([De({transform:"translateY(0)"}),De({transform:"translateY(-25%)"})]))),tt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",De({transform:"translateY(0)"})),tt("hint-to-desc, active-to-desc, desc",De({transform:"translateY(-25%)"})),tt("hint-to-asc, active-to-asc, asc",De({transform:"translateY(25%)"}))]),allowChildren:kt("allowChildren",[Ze("* <=> *",[kc("@*",Sc(),{optional:!0})])])},ym=(()=>{class t{constructor(){this.changes=new U}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Lre(t){return t||new ym}var Hre={provide:ym,deps:[[new Jn,new vr,ym]],useFactory:Lre},Cm=(()=>{class t{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}constructor(e,i,r,a,o,s,l,h){this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=a,this._focusMonitor=o,this._elementRef=s,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",h?.arrowPosition&&(this.arrowPosition=h?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=nt(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(i){return new(i||t)(m(ym),m(pe),m(Bo,8),m("MAT_SORT_HEADER_COLUMN_DEF",8),m(Qt),m($),m(t2,8),m(HP,8))}}static{this.\u0275cmp=A({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,r){i&1&&H("click",function(){return r._handleClick()})("keydown",function(o){return r._handleKeydown(o)})("mouseenter",function(){return r._setIndicatorHintVisible(!0)})("mouseleave",function(){return r._setIndicatorHintVisible(!1)}),i&2&&(ie("aria-sort",r._getAriaSortAttribute()),re("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",q],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",q]},exportAs:["matSortHeader"],standalone:!0,features:[ye,ae],attrs:Tre,ngContentSelectors:Vre,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(i,r){i&1&&(Me(),p(0,"div",0)(1,"div",1),se(2),f(),w(3,Are,6,6,"div",2),f()),i&2&&(re("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before"),ie("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),g(3),Se(r._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-app-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[H2.indicator,H2.leftPointer,H2.rightPointer,H2.arrowOpacity,H2.arrowPosition,H2.allowChildren]},changeDetection:0})}}return t})(),RP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Hre],imports:[fe]})}}return t})();function Rre(t,n){if(t&1&&At(0,2),t&2){let e=M();C("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function Nre(t,n){if(t&1&&(p(0,"span",7),d(1),f()),t&2){let e=M(2);g(),E(e._getDefaultTextForState(e.state))}}function Fre(t,n){if(t&1&&(p(0,"span",8),d(1),f()),t&2){let e=M(3);g(),E(e._intl.completedLabel)}}function jre(t,n){if(t&1&&(p(0,"span",8),d(1),f()),t&2){let e=M(3);g(),E(e._intl.editableLabel)}}function Bre(t,n){if(t&1&&(w(0,Fre,2,1,"span",8)(1,jre,2,1,"span",8),p(2,"mat-icon",7),d(3),f()),t&2){let e=M(2);Se(e.state==="done"?0:e.state==="edit"?1:-1),g(3),E(e._getDefaultTextForState(e.state))}}function Ure(t,n){if(t&1&&w(0,Nre,2,1,"span",7)(1,Bre,4,2,"mat-icon",7),t&2){let e,i=M();Se((e=i.state)==="number"?0:1)}}function $re(t,n){t&1&&(p(0,"div",4),At(1,9),f()),t&2&&(g(),C("ngTemplateOutlet",n.template))}function Gre(t,n){if(t&1&&(p(0,"div",4),d(1),f()),t&2){let e=M();g(),E(e.label)}}function Wre(t,n){if(t&1&&(p(0,"div",5),d(1),f()),t&2){let e=M();g(),E(e._intl.optionalLabel)}}function qre(t,n){if(t&1&&(p(0,"div",6),d(1),f()),t&2){let e=M();g(),E(e.errorMessage)}}var jP=["*"];function Yre(t,n){}function Qre(t,n){if(t&1&&(se(0),w(1,Yre,0,0,"ng-template",0)),t&2){let e=M();g(),C("cdkPortalOutlet",e._portal)}}var BP=(t,n)=>({step:t,i:n}),UP=t=>({animationDuration:t}),$P=(t,n)=>({value:t,params:n});function Kre(t,n){t&1&&se(0)}function Zre(t,n){t&1&&R(0,"div",6)}function Xre(t,n){if(t&1&&(At(0,5),w(1,Zre,1,0,"div",6)),t&2){let e=n.$implicit,i=n.$index,r=n.$count;M(2);let a=Ct(4);C("ngTemplateOutlet",a)("ngTemplateOutletContext",cr(3,BP,e,i)),g(),Se(i!==r-1?1:-1)}}function Jre(t,n){if(t&1){let e=le();p(0,"div",7),H("@horizontalStepTransition.done",function(r){F(e);let a=M(2);return j(a._animationDone.next(r))}),At(1,8),f()}if(t&2){let e=n.$implicit,i=n.$index,r=M(2);re("mat-horizontal-stepper-content-inactive",r.selectedIndex!==i),C("@horizontalStepTransition",cr(8,$P,r._getAnimationDirection(i),sr(6,UP,r._getAnimationDuration())))("id",r._getStepContentId(i)),ie("aria-labelledby",r._getStepLabelId(i)),g(),C("ngTemplateOutlet",e.content)}}function eae(t,n){if(t&1&&(p(0,"div",1)(1,"div",2),nr(2,Xre,2,6,null,null,bo),f(),p(4,"div",3),nr(5,Jre,2,11,"div",4,bo),f()()),t&2){let e=M();g(2),rr(e.steps),g(3),rr(e.steps)}}function tae(t,n){if(t&1){let e=le();p(0,"div",9),At(1,5),p(2,"div",10)(3,"div",11),H("@verticalStepTransition.done",function(r){F(e);let a=M(2);return j(a._animationDone.next(r))}),p(4,"div",12),At(5,8),f()()()()}if(t&2){let e=n.$implicit,i=n.$index,r=n.$count,a=M(2),o=Ct(4);g(),C("ngTemplateOutlet",o)("ngTemplateOutletContext",cr(10,BP,e,i)),g(),re("mat-stepper-vertical-line",i!==r-1),g(),re("mat-vertical-stepper-content-inactive",a.selectedIndex!==i),C("@verticalStepTransition",cr(15,$P,a._getAnimationDirection(i),sr(13,UP,a._getAnimationDuration())))("id",a._getStepContentId(i)),ie("aria-labelledby",a._getStepLabelId(i)),g(2),C("ngTemplateOutlet",e.content)}}function iae(t,n){if(t&1&&nr(0,tae,6,18,"div",9,bo),t&2){let e=M();rr(e.steps)}}function nae(t,n){if(t&1){let e=le();p(0,"mat-step-header",13),H("click",function(){let r=F(e).step;return j(r.select())})("keydown",function(r){F(e);let a=M();return j(a._onKeydown(r))}),f()}if(t&2){let e=n.step,i=n.i,r=M();re("mat-horizontal-stepper-header",r.orientation==="horizontal")("mat-vertical-stepper-header",r.orientation==="vertical"),C("tabIndex",r._getFocusIndex()===i?0:-1)("id",r._getStepLabelId(i))("index",i)("state",r._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",r.selectedIndex===i)("active",r._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(i,e))("color",e.color||r.color),ie("aria-posinset",i+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",r._stepIsNavigable(i,e)?null:!0)}}var n_=(()=>{class t extends X7{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matStepLabel",""]],standalone:!0,features:[de]})}}return t})(),xm=(()=>{class t{constructor(){this.changes=new U,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function rae(t){return t||new xm}var aae={provide:xm,deps:[[new Jn,new vr,xm]],useFactory:rae},r_=(()=>{class t extends Z7{constructor(e,i,r,a){super(r),this._intl=e,this._focusMonitor=i,this._intlSubscription=e.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof n_?null:this.label}_templateLabel(){return this.label instanceof n_?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}static{this.\u0275fac=function(i){return new(i||t)(m(xm),m(Qt),m($),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(i,r){i&2&&Lt("mat-"+(r.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[de,ae],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(i,r){if(i&1&&(R(0,"div",0),p(1,"div")(2,"div",1),w(3,Rre,1,2,"ng-container",2)(4,Ure,2,1),f()(),p(5,"div",3),w(6,$re,2,1,"div",4)(7,Gre,2,1,"div",4)(8,Wre,2,1,"div",5)(9,qre,2,1,"div",6),f()),i&2){let a;C("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),g(),N0("mat-step-icon-state-",r.state," mat-step-icon"),re("mat-step-icon-selected",r.selected),g(2),Se(r.iconOverrides&&r.iconOverrides[r.state]?3:4),g(2),re("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),g(),Se((a=r._templateLabel())?6:r._stringLabel()?7:-1,a),g(2),Se(r.optional&&r.state!="error"?8:-1),g(),Se(r.state==="error"?9:-1)}},dependencies:[Ai,hs,Yr],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-app-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-app-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-app-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-app-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-app-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-app-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-app-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-app-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-app-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-app-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-app-on-primary))}'],encapsulation:2,changeDetection:0})}}return t})(),GP="500ms",WP="225ms",FP={horizontalStepTransition:kt("horizontalStepTransition",[tt("previous",De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),tt("current",De({transform:"none",visibility:"inherit"})),tt("next",De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Ze("* => *",Md([et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),kc("@*",Sc(),{optional:!0})]),{params:{animationDuration:GP}})]),verticalStepTransition:kt("verticalStepTransition",[tt("previous",De({height:"0px",visibility:"hidden"})),tt("next",De({height:"0px",visibility:"hidden"})),tt("current",De({height:"*",visibility:"inherit"})),Ze("* <=> current",Md([et("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),kc("@*",Sc(),{optional:!0})]),{params:{animationDuration:WP}})])},oae=(()=>{class t{constructor(e){this.templateRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}}return t})(),sae=(()=>{class t{constructor(e){this._template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return t})(),cae=(()=>{class t extends hm{constructor(e,i,r,a){super(e,a),this._errorStateMatcher=i,this._viewContainerRef=r,this._isSelected=xe.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(dt(()=>this._stepper.selectionChange.pipe(me(e=>e.selectedStep===this),Qe(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new zi(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){let r=this._errorStateMatcher.isErrorState(e,i),a=!!(e&&e.invalid&&this.interacted);return r||a}static{this.\u0275fac=function(i){return new(i||t)(m(ct(()=>qP)),m(Gr,4),m(Xe),m(l4,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-step"]],contentQueries:function(i,r,a){if(i&1&&(we(a,n_,5),we(a,sae,5)),i&2){let o;G(o=W())&&(r.stepLabel=o.first),G(o=W())&&(r._lazyContent=o.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[he([{provide:Gr,useExisting:t},{provide:hm,useExisting:t}]),de,ae],ngContentSelectors:jP,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Me(),w(0,Qre,2,1,"ng-template"))},dependencies:[Qi],encapsulation:2,changeDetection:0})}}return t})(),qP=(()=>{class t extends A2{get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}constructor(e,i,r){super(e,i,r),this._stepHeader=void 0,this._steps=void 0,this.steps=new Pi,this.animationDone=new B,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new U,this._animationDuration="",this._isServer=!z(ze).isBrowser;let a=r.nativeElement.nodeName.toLowerCase();this.orientation=a==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(_e(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(_e(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?GP:WP}static{this.\u0275fac=function(i){return new(i||t)(m(Je,8),m(pe),m($))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,cae,5),we(a,oae,5)),i&2){let o;G(o=W())&&(r._steps=o),G(o=W())&&(r._icons=o)}},viewQuery:function(i,r){if(i&1&&ue(r_,5),i&2){let a;G(a=W())&&(r._stepHeader=a)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(i,r){i&2&&(ie("aria-orientation",r.orientation),re("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[he([{provide:A2,useExisting:t}]),de,ae],ngContentSelectors:jP,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(i,r){if(i&1&&(Me(),w(0,Kre,1,0)(1,eae,7,0,"div",1)(2,iae,2,0)(3,nae,1,23,"ng-template",null,0,Hr)),i&2){let a;Se(r._isServer?0:-1),g(),Se((a=r.orientation)==="horizontal"?1:a==="vertical"?2:-1)}},dependencies:[hs,r_],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-app-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-app-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-app-outline));top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[FP.horizontalStepTransition,FP.verticalStepTransition]},changeDetection:0})}}return t})(),YP=(()=>{class t extends jO{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(i,r){i&2&&jt("type",r.type)},standalone:!0,features:[de]})}}return t})(),QP=(()=>{class t extends BO{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(i,r){i&2&&jt("type",r.type)},standalone:!0,features:[de]})}}return t})(),KP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[aae,Gr],imports:[fe,Tt,$n,UO,C2,gn,qP,r_,fe]})}}return t})();var uae=[[["caption"]],[["colgroup"],["col"]],"*"],hae=["caption","colgroup, col","*"];function mae(t,n){t&1&&se(0,2)}function pae(t,n){t&1&&(p(0,"thead",0),At(1,1),f(),p(2,"tbody",0),At(3,2)(4,3),f(),p(5,"tfoot",0),At(6,4),f())}function fae(t,n){t&1&&At(0,1)(1,2)(2,3)(3,4)}var _a=new L("CDK_TABLE");var km=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkCellDef",""]],standalone:!0})}}return t})(),Im=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return t})(),Em=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return t})(),Fc=(()=>{class t{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(i){return new(i||t)(m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,km,5),we(a,Im,5),we(a,Em,5)),i&2){let o;G(o=W())&&(r.cell=o.first),G(o=W())&&(r.headerCell=o.first),G(o=W())&&(r.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",q],stickyEnd:[2,"stickyEnd","stickyEnd",q]},standalone:!0,features:[he([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ye]})}}return t})(),u4=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},JP=(()=>{class t extends u4{constructor(e,i){super(e,i)}static{this.\u0275fac=function(i){return new(i||t)(m(Fc),m($))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[de]})}}return t})(),eT=(()=>{class t extends u4{constructor(e,i){super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(i){return new(i||t)(m(Fc),m($))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[de]})}}return t})(),tT=(()=>{class t extends u4{constructor(e,i){super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(i){return new(i||t)(m(Fc),m($))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[de]})}}return t})(),wm=class{constructor(){this.tasks=[],this.endTasks=[]}},Dm=new L("_COALESCED_STYLE_SCHEDULER"),o_=(()=>{class t{constructor(e){this._currentSchedule=null,this._ngZone=z(oe)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new wm,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new wm;for(let i of e.tasks)i();for(let i of e.endTasks)i()}this._currentSchedule=null})))}static{this.\u0275fac=function(i){return new(i||t)(k(oe))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();var s_=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof h4?e.headerCell.template:this instanceof m4?e.footerCell.template:e.cell.template}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn))}}static{this.\u0275dir=T({type:t,features:[Te]})}}return t})(),h4=(()=>{class t extends s_{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,r){super(e,i),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn),m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",q]},standalone:!0,features:[ye,de,Te]})}}return t})(),m4=(()=>{class t extends s_{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,r){super(e,i),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn),m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",q]},standalone:!0,features:[ye,de,Te]})}}return t})(),Om=(()=>{class t extends s_{constructor(e,i,r){super(e,i),this._table=r}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn),m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[de]})}}return t})(),Uo=(()=>{class t{static{this.mostRecentCellOutlet=null}constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static{this.\u0275fac=function(i){return new(i||t)(m(Xe))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return t})(),c_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),l_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),d_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),Pm=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return t})(),ZP=["top","bottom","left","right"],a_=class{constructor(n,e,i,r,a=!0,o=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=a,this._needsPositionStickyOnElement=o,this._positionListener=s,this._elemSizeCache=new WeakMap,this._resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(l=>this._updateCachedSizes(l)):null,this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let a=0;a{for(let r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,i,r=!0,a=!0){if(a&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),!n.length||!this._isBrowser||!(e.some(o=>o)||i.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=n[0],s=o.children.length,l=this._getCellWidths(o,r),h=this._getStickyStartColumnPositions(l,e),v=this._getStickyEndColumnPositions(l,i),y=e.lastIndexOf(!0),D=i.indexOf(!0),S=this.direction==="rtl",V=S?"right":"left",K=S?"left":"right";for(let te of n)for(let ge=0;gee[ge]?te:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:l.slice(D).map((te,ge)=>i[ge+D]?te:null).reverse()}))})}stickRows(n,e,i){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=i==="bottom"?n.slice().reverse():n,a=i==="bottom"?e.slice().reverse():e,o=[],s=[],l=[];for(let v=0,y=0;v{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))})}_removeStickyStyle(n,e){for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);ZP.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of ZP)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let a=0;a0;a--)e[a]&&(i[a]=r,r+=n[a]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&gae(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function gae(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var Sm=new L("CDK_SPL");var u_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._rowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","rowOutlet",""]],standalone:!0})}}return t})(),h_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._headerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return t})(),m_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._footerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return t})(),p_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._noDataRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return t})();var f_=(()=>{class t{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,r,a,o,s,l,h,v,y,D,S){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=o,this._platform=l,this._viewRepeater=h,this._coalescedStyleScheduler=v,this._viewportRuler=y,this._stickyPositioningListener=D,this._onDestroy=new U,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new B,this.viewChange=new at({start:0,end:Number.MAX_VALUE}),this._injector=z(Le),a||r.nativeElement.setAttribute("role","table"),this._document=s,this._isServer=!l.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(_e(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),o2(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,a,o)=>this._getEmbeddedViewArgs(r.item,o),r=>r.item.data,r=>{r.operation===r2.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let a=i.get(r.currentIndex);a.context.$implicit=r.item.data}),this._updateNoDataRow(),Ft(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=XP(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=XP(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,o)=>{this._addStickyColumnStyles([a],this._headerRowDefs[o])}),this._rowDefs.forEach(a=>{let o=[];for(let s=0;s{this._addStickyColumnStyles([a],this._footerRowDefs[o])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{let s=r&&r.has(o)?r.get(o):[];if(s.length){let l=s.shift();return l.dataIndex=i,l}else return{data:e,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Mm(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Mm(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Mm(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Mm(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(o,s)=>{let l=!!s.getColumnsDiff();return o||l},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),i||r||a}_switchDataSource(e){this._data=[],o2(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;o2(this.dataSource)?e=this.dataSource.connect(this):Li(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ce(this.dataSource)),this._renderChangeSubscription=e.pipe(_e(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let r=Array.from(i.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),a=r.map(s=>s.sticky),o=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,o,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r!a.when||a.when(i,e));else{let a=this._rowDefs.find(o=>o.when&&o.when(i,e))||this._defaultRowDef;a&&r.push(a)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,a={$implicit:e.data};return{templateRef:r.template,context:a,index:i}}_renderRow(e,i,r,a={}){let o=e.viewContainer.createEmbeddedView(i.template,a,r);return this._renderCellTemplateForItem(i,a),o}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))Uo.mostRecentCellOutlet&&Uo.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new a_(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ce()).pipe(_e(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let a=r.createEmbeddedView(e.templateRef),o=a.rootNodes[0];a.rootNodes.length===1&&o?.nodeType===this._document.ELEMENT_NODE&&(o.setAttribute("role","row"),o.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(i){return new(i||t)(m(Fn),m(pe),m($),Gt("role"),m(Je,8),m(Ce),m(ze),m(_d),m(Dm),m(Ui),m(Sm,12),m(oe,8))}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,Pm,5),we(a,Fc,5),we(a,Om,5),we(a,h4,5),we(a,m4,5)),i&2){let o;G(o=W())&&(r._noDataRow=o.first),G(o=W())&&(r._contentColumnDefs=o),G(o=W())&&(r._contentRowDefs=o),G(o=W())&&(r._contentHeaderRowDefs=o),G(o=W())&&(r._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&re("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",q],fixedLayout:[2,"fixedLayout","fixedLayout",q]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[he([{provide:_a,useExisting:t},{provide:_d,useClass:a2},{provide:Dm,useClass:o_},{provide:Sm,useValue:null}]),ye,ae],ngContentSelectors:hae,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Me(uae),se(0),se(1,1),w(2,mae,1,0)(3,pae,7,0)(4,fae,4,0)),i&2&&(g(2),Se(r._isServer?2:-1),g(),Se(r._isNativeHtmlTable?3:4))},dependencies:[h_,u_,p_,m_],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return t})();function Mm(t,n){return t.concat(Array.from(n))}function XP(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var iT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[vd]})}}return t})();var _ae=[[["caption"]],[["colgroup"],["col"]],"*"],vae=["caption","colgroup, col","*"];function bae(t,n){t&1&&se(0,2)}function yae(t,n){t&1&&(p(0,"thead",0),At(1,1),f(),p(2,"tbody",2),At(3,3)(4,4),f(),p(5,"tfoot",0),At(6,5),f())}function Cae(t,n){t&1&&At(0,1)(1,3)(2,4)(3,5)}var R2=(()=>{class t extends f_{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&re("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[he([{provide:f_,useExisting:t},{provide:_a,useExisting:t},{provide:Dm,useClass:o_},{provide:_d,useClass:a2},{provide:Sm,useValue:null}]),de,ae],ngContentSelectors:vae,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Me(_ae),se(0),se(1,1),w(2,bae,1,0)(3,yae,7,0)(4,Cae,4,0)),i&2&&(g(2),Se(r._isServer?2:-1),g(),Se(r._isNativeHtmlTable?3:4))},dependencies:[h_,u_,p_,m_],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return t})(),N2=(()=>{class t extends km{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matCellDef",""]],standalone:!0,features:[he([{provide:km,useExisting:t}]),de]})}}return t})(),F2=(()=>{class t extends Im{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[he([{provide:Im,useExisting:t}]),de]})}}return t})(),XSe=(()=>{class t extends Em{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[he([{provide:Em,useExisting:t}]),de]})}}return t})(),j2=(()=>{class t extends Fc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[he([{provide:Fc,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),de]})}}return t})(),B2=(()=>{class t extends JP{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[de]})}}return t})(),JSe=(()=>{class t extends eT{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[de]})}}return t})(),U2=(()=>{class t extends tT{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[de]})}}return t})();var $2=(()=>{class t extends h4{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",q]},standalone:!0,features:[he([{provide:h4,useExisting:t}]),ye,de]})}}return t})(),eke=(()=>{class t extends m4{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",q]},standalone:!0,features:[he([{provide:m4,useExisting:t}]),ye,de]})}}return t})(),G2=(()=>{class t extends Om{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[he([{provide:Om,useExisting:t}]),de]})}}return t})(),W2=(()=>{class t extends c_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[he([{provide:c_,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),tke=(()=>{class t extends l_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[he([{provide:l_,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),q2=(()=>{class t extends d_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[he([{provide:d_,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),ike=(()=>{class t extends Pm{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[he([{provide:Pm,useExisting:t}]),de]})}}return t})();var nT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,iT,fe]})}}return t})(),xae=9007199254740991,jc=class extends Mc{get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}constructor(n=[]){super(),this._renderData=new at([]),this._filter=new at(""),this._internalPageChanges=new U,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{let r=e[i];if(v5(r)){let a=Number(r);return a{let r=i.active,a=i.direction;return!r||a==""?e:e.sort((o,s)=>{let l=this.sortingDataAccessor(o,r),h=this.sortingDataAccessor(s,r),v=typeof l,y=typeof h;v!==y&&(v==="number"&&(l+=""),y==="number"&&(h+=""));let D=0;return l!=null&&h!=null?l>h?D=1:l{let r=Object.keys(e).reduce((o,s)=>o+e[s]+"\u25EC","").toLowerCase(),a=i.trim().toLowerCase();return r.indexOf(a)!=-1},this._data=new at(n),this._updateChangeSubscription()}_updateChangeSubscription(){let n=this._sort?nt(this._sort.sortChange,this._sort.initialized):ce(null),e=this._paginator?nt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ce(null),i=this._data,r=on([i,this._filter]).pipe(me(([s])=>this._filterData(s))),a=on([r,n]).pipe(me(([s])=>this._orderData(s))),o=on([a,e]).pipe(me(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=o.subscribe(s=>this._renderData.next(s))}_filterData(n){return this.filteredData=this.filter==null||this.filter===""?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;let e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){let i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Y2=["*"];function Mae(t,n){t&1&&se(0)}var oT=["tabListContainer"],sT=["tabList"],cT=["tabListInner"],lT=["nextPaginator"],dT=["previousPaginator"],wae=t=>({animationDuration:t}),Dae=(t,n)=>({value:t,params:n});function Sae(t,n){}var kae=["tabBodyWrapper"],Iae=["tabHeader"];function Eae(t,n){}function Oae(t,n){if(t&1&&w(0,Eae,0,0,"ng-template",12),t&2){let e=M().$implicit;C("cdkPortalOutlet",e.templateLabel)}}function Pae(t,n){if(t&1&&d(0),t&2){let e=M().$implicit;E(e.textLabel)}}function Tae(t,n){if(t&1){let e=le();p(0,"div",7,2),H("click",function(){let r=F(e),a=r.$implicit,o=r.$index,s=M(),l=Ct(1);return j(s._handleClick(a,l,o))})("cdkFocusChange",function(r){let a=F(e).$index,o=M();return j(o._tabFocusChanged(r,a))}),R(2,"span",8)(3,"div",9),p(4,"span",10)(5,"span",11),w(6,Oae,1,1,null,12)(7,Pae,1,1),f()()()}if(t&2){let e=n.$implicit,i=n.$index,r=Ct(1),a=M();Lt(e.labelClass),re("mdc-tab--active",a.selectedIndex===i),C("id",a._getTabLabelId(i))("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),ie("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),g(3),C("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),g(3),Se(e.templateLabel?6:7)}}function Vae(t,n){t&1&&se(0)}function Aae(t,n){if(t&1){let e=le();p(0,"mat-tab-body",13),H("_onCentered",function(){F(e);let r=M();return j(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){F(e);let a=M();return j(a._setTabBodyWrapperHeight(r))}),f()}if(t&2){let e=n.$implicit,i=n.$index,r=M();Lt(e.bodyClass),re("mat-mdc-tab-body-active",r.selectedIndex===i),C("id",r._getTabContentId(i))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ie("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))("aria-hidden",r.selectedIndex!==i)}}var zae=["mat-tab-nav-bar",""],Lae=["mat-tab-link",""],Hae=new L("MatTabContent"),Rae=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[he([{provide:Hae,useExisting:t}])]})}}return t})(),Nae=new L("MatTabLabel"),uT=new L("MAT_TAB"),Fae=(()=>{class t extends Pw{constructor(e,i,r){super(e,i),this._closestTab=r}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Xe),m(uT,8))}}static{this.\u0275dir=T({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[he([{provide:Nae,useExisting:t}]),de]})}}return t})(),hT=new L("MAT_TAB_GROUP"),jae=(()=>{class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new U,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new zi(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m(hT,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,a){if(i&1&&(we(a,Fae,5),we(a,Rae,7,$e)),i&2){let o;G(o=W())&&(r.templateLabel=o.first),G(o=W())&&(r._explicitContent=o.first)}},viewQuery:function(i,r){if(i&1&&ue($e,7),i&2){let a;G(a=W())&&(r._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",q],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[he([{provide:uT,useExisting:t}]),ye,Te,ae],ngContentSelectors:Y2,decls:1,vars:0,template:function(i,r){i&1&&(Me(),w(0,Mae,1,0,"ng-template"))},encapsulation:2})}}return t})(),__="mdc-tab-indicator--active",rT="mdc-tab-indicator--no-transition",Tm=class{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},mT=(()=>{class t{constructor(){this._elementRef=z($),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(__);return}let r=i.getBoundingClientRect(),a=e.width/r.width,o=e.left-r.left;i.classList.add(rT),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(rT),i.classList.add(__),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(__)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q]},features:[ye]})}}return t})();var pT=(()=>{class t extends mT{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(ie("aria-disabled",!!r.disabled),re("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",q]},standalone:!0,features:[ye,de]})}}return t})(),aT=Ci({passive:!0}),Bae=650,Uae=100,fT=(()=>{class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,r,a,o,s,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=s,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new U,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new U,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new B,this.indexFocused=new B,this._sharedResizeObserver=z(uh),this._injector=z(Le),o.runOutsideAngular(()=>{Zi(e.nativeElement,"mouseleave").pipe(_e(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Zi(this._previousPaginator.nativeElement,"touchstart",aT).pipe(_e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Zi(this._nextPaginator.nativeElement,"touchstart",aT).pipe(_e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:ce("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ia(32),_e(this._destroyed)),r=this._viewportRuler.change(150).pipe(_e(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Ba(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Ft(a,{injector:this._injector}),nt(e,r,i,this._items.changes,this._itemsResized()).pipe(_e(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return typeof ResizeObserver!="function"?ci:this._items.changes.pipe(Qe(this._items),dt(e=>new je(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(a=>i.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),Ks(1),Ve(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}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._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!xt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let 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){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-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){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=a,l=s+o):(l=this._tabListInner.nativeElement.offsetWidth-a,s=l-o);let h=this.scrollDistance,v=this.scrollDistance+r;sv&&(this.scrollDistance+=Math.min(l-v,s-h))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let 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&&i.button!=null&&i.button!==0||(this._stopInterval(),ta(Bae,Uae).pipe(_e(nt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(a===0||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(Ui),m(Je,8),m(oe),m(ze),m(ot,8))}}static{this.\u0275dir=T({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",q],selectedIndex:[2,"selectedIndex","selectedIndex",st]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ye]})}}return t})(),$ae=(()=>{class t extends fT{constructor(e,i,r,a,o,s,l){super(e,i,r,a,o,s,l),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Tm(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(Ui),m(Je,8),m(oe),m(ze),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,a){if(i&1&&we(a,pT,4),i&2){let o;G(o=W())&&(r._items=o)}},viewQuery:function(i,r){if(i&1&&(ue(oT,7),ue(sT,7),ue(cT,7),ue(lT,5),ue(dT,5)),i&2){let a;G(a=W())&&(r._tabListContainer=a.first),G(a=W())&&(r._tabList=a.first),G(a=W())&&(r._tabListInner=a.first),G(a=W())&&(r._nextPaginator=a.first),G(a=W())&&(r._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&re("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",q]},standalone:!0,features:[ye,de,ae],ngContentSelectors:Y2,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",5,0),H("click",function(){return F(a),j(r._handlePaginatorClick("before"))})("mousedown",function(s){return F(a),j(r._handlePaginatorPress("before",s))})("touchend",function(){return F(a),j(r._stopInterval())}),R(2,"div",6),f(),p(3,"div",7,1),H("keydown",function(s){return F(a),j(r._handleKeydown(s))}),p(5,"div",8,2),H("cdkObserveContent",function(){return F(a),j(r._onContentChanges())}),p(7,"div",9,3),se(9),f()()(),p(10,"div",10,4),H("mousedown",function(s){return F(a),j(r._handlePaginatorPress("after",s))})("click",function(){return F(a),j(r._handlePaginatorClick("after"))})("touchend",function(){return F(a),j(r._stopInterval())}),R(12,"div",6),f()}i&2&&(re("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),C("matRippleDisabled",r._disableScrollBefore||r.disableRipple),g(3),re("_mat-animation-noopable",r._animationMode==="NoopAnimations"),g(2),ie("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),g(5),re("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),C("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Ai,dd],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return t})(),gT=new L("MAT_TABS_CONFIG"),Gae={translateTab:kt("translateTab",[tt("center, void, left-origin-center, right-origin-center",De({transform:"none",visibility:"visible"})),tt("left",De({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),tt("right",De({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ze("* => left, * => right, left => center, right => center",et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ze("void => left-origin-center",[De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ze("void => right-origin-center",[De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Wae=(()=>{class t extends Qi{constructor(e,i,r,a){super(e,i,a),this._host=r,this._centeringSub=xe.EMPTY,this._leavingSub=xe.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Qe(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(m(_r),m(Xe),m(ct(()=>_T)),m(Ce))}}static{this.\u0275dir=T({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[de]})}}return t})(),_T=(()=>{class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=xe.EMPTY,this._translateTabComplete=new U,this._onCentering=new B,this._beforeCentering=new B,this._afterLeavingCenter=new B,this._onCentered=new B(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),r.markForCheck()})),this._translateTabComplete.subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Je,8),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&ue(Qi,5),i&2){let a;G(a=W())&&(r._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[ae],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){if(i&1){let a=le();p(0,"div",1,0),H("@translateTab.start",function(s){return F(a),j(r._onTranslateTabStarted(s))})("@translateTab.done",function(s){return F(a),j(r._translateTabComplete.next(s))}),w(2,Sae,0,0,"ng-template",2),f()}i&2&&C("@translateTab",cr(3,Dae,r._position,sr(1,wae,r.animationDuration)))},dependencies:[Wae,ma],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Gae.translateTab]}})}}return t})(),qae=0,Yae=!0,Eke=(()=>{class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!Yae)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Pi,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=xe.EMPTY,this._tabLabelSubscription=xe.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new B,this.focusChange=new B,this.animationDone=new B,this.selectedTabChange=new B(!0),this._isServer=!z(ze).isBrowser,this._groupId=qae++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,a)=>r.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!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(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Qe(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){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new v_;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=nt(...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;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(gT,8),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,a){if(i&1&&we(a,jae,5),i&2){let o;G(o=W())&&(r._allTabs=o)}},viewQuery:function(i,r){if(i&1&&(ue(kae,5),ue(Iae,5)),i&2){let a;G(a=W())&&(r._tabBodyWrapper=a.first),G(a=W())&&(r._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,r){i&2&&(Lt("mat-"+(r.color||"primary")),Pt("--mat-tab-animation-duration",r.animationDuration),re("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",q],dynamicHeight:[2,"dynamicHeight","dynamicHeight",q],selectedIndex:[2,"selectedIndex","selectedIndex",st],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",st],disablePagination:[2,"disablePagination","disablePagination",q],disableRipple:[2,"disableRipple","disableRipple",q],preserveContent:[2,"preserveContent","preserveContent",q],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[he([{provide:hT,useExisting:t}]),ye,ae],ngContentSelectors:Y2,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"mat-tab-header",3,0),H("indexFocused",function(s){return F(a),j(r._focusChanged(s))})("selectFocusedIndex",function(s){return F(a),j(r.selectedIndex=s)}),nr(2,Tae,8,17,"div",4,bo),f(),w(4,Vae,1,0),p(5,"div",5,1),nr(7,Aae,1,13,"mat-tab-body",6,bo),f()}i&2&&(C("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),g(2),rr(r._tabs),g(2),Se(r._isServer?4:-1),g(),re("_mat-animation-noopable",r._animationMode==="NoopAnimations"),g(2),rr(r._tabs))},dependencies:[$ae,pT,ah,Ai,Qi,_T],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return t})(),v_=class{},vT=0,Qae=(()=>{class t extends fT{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,a,o,s,l,h){super(e,a,o,i,r,s,l),this._fitInkBarToContent=new at(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=h&&h.disablePagination!=null?h.disablePagination:!1,this.fitInkBarToContent=h&&h.fitInkBarToContent!=null?h.fitInkBarToContent:!1,this.stretchTabs=h&&h.stretchTabs!=null?h.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Tm(this._items),this._items.changes.pipe(Qe(null),_e(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let i=0;i.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return t})(),Kae=(()=>{class t extends mT{get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,a,o,s){super(),this._tabNavBar=e,this.elementRef=i,this._focusMonitor=o,this._destroyed=new U,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${vT++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(a)||0,s==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe(_e(this._destroyed)).subscribe(l=>{this.fitInkBarToContent=l})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(i){return new(i||t)(m(Qae),m($),m(Eo,8),Gt("tabindex"),m(Qt),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(i,r){i&1&&H("focus",function(){return r._handleFocus()})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(ie("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),re("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",q],disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[ye,de,ae],attrs:Lae,ngContentSelectors:Y2,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(i,r){i&1&&(Me(),R(0,"span",0)(1,"div",1),p(2,"span",2)(3,"span",3),se(4),f()()),i&2&&(g(),C("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Ai],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return t})(),Oke=(()=>{class t{constructor(){this.id=`mat-tab-nav-panel-${vT++}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(i,r){i&2&&ie("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[ae],ngContentSelectors:Y2,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2,changeDetection:0})}}return t})(),bT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();var Zae=["*",[["mat-toolbar-row"]]],Xae=["*","mat-toolbar-row"],Jae=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return t})(),Ake=(()=>{class t{constructor(e,i,r){this._elementRef=e,this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(Ce))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,a){if(i&1&&we(a,Jae,5),i&2){let o;G(o=W())&&(r._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(Lt(r.color?"mat-"+r.color:""),re("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[ae],ngContentSelectors:Xae,decls:2,vars:0,template:function(i,r){i&1&&(Me(Zae),se(0),se(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return t})();var yT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();var Vm=class{constructor(){this.expansionModel=new ur(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},CT=class extends Vm{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){let e=this.dataNodes.indexOf(n),i=[];for(let r=e+1;rthis._trackByValue(n)))}},xT=class extends Vm{constructor(n,e){super(),this.getChildren=n,this.options=e,this.options&&(this.trackBy=this.options.trackBy),this.options?.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();let n=this.dataNodes.reduce((e,i)=>[...e,...this.getDescendants(i),i],[]);this.expansionModel.select(...n.map(e=>this._trackByValue(e)))}getDescendants(n){let e=[];return this._getDescendants(e,n),e.splice(1)}_getDescendants(n,e){n.push(e);let i=this.getChildren(e);Array.isArray(i)?i.forEach(r=>this._getDescendants(n,r)):Li(i)&&i.pipe(Ue(1),Ve(Boolean)).subscribe(r=>{for(let a of r)this._getDescendants(n,a)})}},f4=new L("CDK_TREE_NODE_OUTLET_NODE"),p4=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m(f4,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return t})(),b_=class{constructor(n){this.$implicit=n}},Am=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return t})();function MT(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var Ka=(()=>{class t{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._elementRef=z($),this._dir=z(Je),this._onDestroy=new U,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new at({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new at([]),this._nodeType=new at(null),this._nodes=new at(new Map),this._keyManagerNodes=new at([]),this._keyManagerFactory=z(mw),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(i=>!i.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new ur(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;o2(this._dataSource)?e=this._dataSource.connect(this):Li(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=ce(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(_e(this._onDestroy)).subscribe(i=>{this._renderDataChanges(i)}))}_getRenderData(e){let i=this._getExpansionModel();return on([e,this._nodeType,i.changed.pipe(Qe(null),yt(r=>{this._emitExpansionChanges(r)}))]).pipe(dt(([r,a])=>a===null?ce({renderNodes:r,flattenedNodes:null,nodeType:a}):this._computeRenderingData(r,a).pipe(me(o=>Ge(Y({},o),{nodeType:a})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let i=this._nodes.value;for(let r of e.added)i.get(r)?._emitExpansionState(!0);for(let r of e.removed)i.get(r)?._emitExpansionState(!1)}_initializeKeyManager(){let e=on([this._keyManagerNodes,this._nodes]).pipe(me(([r,a])=>r.reduce((o,s)=>{let l=a.get(this._getExpansionKey(s));return l&&o.push(l),o},[]))),i={trackBy:r=>this._getExpansionKey(r.data),skipPredicate:r=>!!r.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,i)}_initializeDataDiffer(){let e=this.trackBy??((i,r)=>this._getExpansionKey(r));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,i=this._dataDiffer,r=this._nodeOutlet.viewContainer,a){let o=i.diff(e);!o&&!this._viewInit||(o?.forEachOperation((s,l,h)=>{if(s.previousIndex==null)this.insertNode(e[h],h,r,a);else if(h==null)r.remove(l);else{let v=r.get(l);r.move(v,h)}}),o?.forEachIdentityChange(s=>{let l=s.item;if(s.currentIndex!=null){let h=r.get(s.currentIndex);h.context.$implicit=l}}),a?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){if(this._nodeDefs.length===1)return this._nodeDefs.first;let r=this._nodeDefs.find(a=>a.when&&a.when(i,e))||this._defaultNodeDef;return r}insertNode(e,i,r,a){let o=this._getLevelAccessor(),s=this._getNodeDef(e,i),l=this._getExpansionKey(e),h=new b_(e);a??=this._parents.get(l)??void 0,o?h.level=o(e):a!==void 0&&this._levels.has(this._getExpansionKey(a))?h.level=this._levels.get(this._getExpansionKey(a))+1:h.level=0,this._levels.set(l,h.level),(r||this._nodeOutlet.viewContainer).createEmbeddedView(s.template,h,i),Qa.mostRecentTreeNode&&(Qa.mostRecentTreeNode.data=e)}isExpanded(e){return!!(this.treeControl?.isExpanded(e)||this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(Ue(1),_e(this._onDestroy)).subscribe(r=>{i.select(...r.map(a=>this._getExpansionKey(a)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(Ue(1),_e(this._onDestroy)).subscribe(r=>{i.deselect(...r.map(a=>this._getExpansionKey(a)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){let i=this._getLevelAccessor(),r=this._expansionModel??this.treeControl?.expansionModel;if(!r)return ce([]);let a=this._getExpansionKey(e),o=r.changed.pipe(dt(l=>l.added.includes(a)?ce(!0):l.removed.includes(a)?ce(!1):ci),Qe(this.isExpanded(e)));if(i)return on([o,this._flattenedNodes]).pipe(me(([l,h])=>l?this._findChildrenByLevel(i,h,e,1):[]));let s=this._getChildrenAccessor();if(s)return _c(s(e)??[]);throw MT()}_findChildrenByLevel(e,i,r,a){let o=this._getExpansionKey(r),s=i.findIndex(y=>this._getExpansionKey(y)===o),l=e(r),h=l+a,v=[];for(let y=s+1;ythis._getExpansionKey(a)===r)+1}_getNodeParent(e){let i=this._parents.get(this._getExpansionKey(e.data));return i&&this._nodes.value.get(this._getExpansionKey(i))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(me(i=>i.reduce((r,a)=>{let o=this._nodes.value.get(this._getExpansionKey(a));return o&&r.push(o),r},[])))}_sendKeydownToKeyManager(e){if(e.target===this._elementRef.nativeElement)this._keyManager.onKeydown(e);else{let i=this._nodes.getValue();for(let[,r]of i)if(e.target===r._elementRef.nativeElement){this._keyManager.onKeydown(e);break}}}_getDescendants(e){if(this.treeControl)return ce(this.treeControl.getDescendants(e));if(this.levelAccessor){let i=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return ce(i)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(b3((i,r)=>(i.push(...r),i),[]));throw MT()}_getAllChildrenRecursively(e){return this.childrenAccessor?_c(this.childrenAccessor(e)).pipe(Ue(1),dt(i=>{for(let r of i)this._parents.set(this._getExpansionKey(r),e);return ce(...i).pipe(Yn(r=>xn(ce([r]),this._getAllChildrenRecursively(r))))})):ce([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){let i=this._getExpansionKey(e),r=this._parents.get(i),a=r?this._getExpansionKey(r):null;return this._ariaSets.get(a)??[e]}_findParentForNode(e,i,r){if(!r.length)return null;let a=this._levels.get(this._getExpansionKey(e))??0;for(let o=i-1;o>=0;o--){let s=r[o];if((this._levels.get(this._getExpansionKey(s))??0){let o=this._getExpansionKey(a);this._parents.has(o)||this._parents.set(o,null),this._levels.set(o,i);let s=_c(r(a));return xn(ce([a]),s.pipe(Ue(1),yt(l=>{this._ariaSets.set(o,[...l??[]]);for(let h of l??[]){let v=this._getExpansionKey(h);this._parents.set(v,a),this._levels.set(v,i+1)}}),dt(l=>l?this._flattenNestedNodesWithExpansion(l,i+1).pipe(me(h=>this.isExpanded(a)?h:[])):ce([]))))}),b3((a,o)=>(a.push(...o),a),[])):ce([...e])}_computeRenderingData(e,i){if(this.childrenAccessor&&i==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(me(r=>({renderNodes:r,flattenedNodes:r})));if(this.levelAccessor&&i==="nested"){let r=this.levelAccessor;return ce(e.filter(a=>r(a)===0)).pipe(me(a=>({renderNodes:a,flattenedNodes:e})),yt(({flattenedNodes:a})=>{this._calculateParents(a)}))}else return i==="flat"?ce({renderNodes:e,flattenedNodes:e}).pipe(yt(({flattenedNodes:r})=>{this._calculateParents(r)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(me(r=>({renderNodes:e,flattenedNodes:r}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){let i=this._getLevelAccessor();if(i){this._parents.clear(),this._ariaSets.clear();for(let r=0;r{class t{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,i){this._elementRef=e,this._tree=i,this._tabindex=-1,this.activation=new B,this.expandedChange=new B,this._destroyed=new U,this._dataChanges=new U,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=z(pe),t.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=eoe(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(me(()=>this.isExpanded),es()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(i,r){i&1&&H("click",function(){return r._setActiveItem()})("focus",function(){return r._focusItem()}),i&2&&(jt("tabindex",r._tabindex),ie("aria-expanded",r._getAriaExpanded())("aria-level",r.level+1)("aria-posinset",r._getPositionInSet())("aria-setsize",r._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",q],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",q],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[ye]})}}return t})();function eoe(t){let n=t.parentElement;for(;n&&!toe(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?st(n.getAttribute("aria-level")):0:-1}function toe(t){let n=t.classList;return!!(n?.contains("cdk-nested-tree-node")||n?.contains("cdk-tree"))}var y_=(()=>{class t extends Qa{constructor(e,i,r){super(e,i),this._differs=r}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe(_e(this._destroyed)).subscribe(e=>this.updateChildrenNodes(e)),this.nodeOutlet.changes.pipe(_e(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){this._tree._setNodeTypeIfUnset("nested"),super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(e){let i=this._getNodeOutlet();if(e&&(this._children=e),i&&this._children){let r=i.viewContainer;this._tree.renderNodeChanges(this._children,this._dataDiffer,r,this._data)}else this._dataDiffer.diff([])}_clear(){let e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){let e=this.nodeOutlet;return e&&e.find(i=>!i._node||i._node===this)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka),m(Fn))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(i,r,a){if(i&1&&we(a,p4,5),i&2){let o;G(o=W())&&(r.nodeOutlet=o)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[he([{provide:Qa,useExisting:t},{provide:f4,useExisting:t}]),de]})}}return t})(),ioe=/([A-Za-z%]+)$/,C_=(()=>{class t{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,r,a){this._treeNode=e,this._tree=i,this._element=r,this._dir=a,this._destroyed=new U,this.indentUnits="px",this._indent=40,this._setPadding(),a&&a.change.pipe(_e(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,i=this._level==null?e:this._level;return typeof i=="number"?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){let i=this._paddingIndent();if(i!==this._currentPadding||e){let r=this._element.nativeElement,a=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",o=a==="paddingLeft"?"paddingRight":"paddingLeft";r.style[a]=i||"",r.style[o]="",this._currentPadding=i}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let i=e,r="px";if(typeof e=="string"){let a=e.split(ioe);i=a[0],r=a[1]||r}this.indentUnits=r,this._indent=st(i),this._setPadding()}static{this.\u0275fac=function(i){return new(i||t)(m(Qa),m(Ka),m($),m(Je,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",st],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[ye]})}}return t})(),x_=(()=>{class t{constructor(e,i){this._tree=e,this._treeNode=i,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(i){return new(i||t)(m(Ka),m(Qa))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(i,r){i&1&&H("click",function(o){return r._toggle(),o.stopPropagation()})("keydown.Enter",function(o){return r._toggle(),o.preventDefault()})("keydown.Space",function(o){return r._toggle(),o.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",q]},standalone:!0,features:[ye]})}}return t})();var wT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();function roe(t){return!!t._isNoopTreeKeyManager}var _Ie=(()=>{class t extends Qa{get tabIndexInputBinding(){return this._tabIndexInputBinding}set tabIndexInputBinding(e){this._tabIndexInputBinding=e}_getTabindexAttribute(){return roe(this._tree._keyManager)?this.tabIndexInputBinding:this._tabindex}get disabled(){return this.isDisabled}set disabled(e){this.isDisabled=e}constructor(e,i,r){super(e,i),this.defaultTabIndex=0,this.tabIndexInputBinding=Number(r)||this.defaultTabIndex}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka),Gt("tabindex"))}}static{this.\u0275dir=T({type:t,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:5,hostBindings:function(i,r){i&1&&H("click",function(){return r._focusItem()}),i&2&&(jt("tabindex",r._getTabindexAttribute()),ie("aria-expanded",r._getAriaExpanded())("aria-level",r.level+1)("aria-posinset",r._getPositionInSet())("aria-setsize",r._getSetSize()))},inputs:{tabIndexInputBinding:[2,"tabIndex","tabIndexInputBinding",e=>e==null?0:st(e)],disabled:[2,"disabled","disabled",q]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matTreeNode"],standalone:!0,features:[he([{provide:Qa,useExisting:t}]),ye,de]})}}return t})(),vIe=(()=>{class t extends Am{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[he([{provide:Am,useExisting:t}]),de]})}}return t})(),bIe=(()=>{class t extends y_{get disabled(){return this.isDisabled}set disabled(e){this.isDisabled=e}get tabIndex(){return this.isDisabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=e}constructor(e,i,r,a){super(e,i,r)}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka),m(Fn),Gt("tabindex"))}}static{this.\u0275dir=T({type:t,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matNestedTreeNode"],standalone:!0,features:[he([{provide:y_,useExisting:t},{provide:Qa,useExisting:t},{provide:f4,useExisting:t}]),ye,de]})}}return t})(),yIe=(()=>{class t extends C_{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",st],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[he([{provide:C_,useExisting:t}]),ye,de]})}}return t})(),DT=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m(f4,8))}}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[he([{provide:p4,useExisting:t}])]})}}return t})(),CIe=(()=>{class t extends Ka{constructor(){super(...arguments),this._nodeOutlet=void 0}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-tree"]],viewQuery:function(i,r){if(i&1&&ue(DT,7),i&2){let a;G(a=W())&&(r._nodeOutlet=a.first)}},hostAttrs:[1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[he([{provide:Ka,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[DT],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color, var(--mat-app-surface))}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color, var(--mat-app-on-surface));font-family:var(--mat-tree-node-text-font, var(--mat-app-body-large-font));font-size:var(--mat-tree-node-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-tree-node-text-weight, var(--mat-app-body-large-weight))}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}}return t})(),xIe=(()=>{class t extends x_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[he([{provide:x_,useExisting:t}]),de]})}}return t})();var ET=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[wT,fe,fe]})}}return t})(),ST=class{constructor(n,e,i,r){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=r}_flattenNode(n,e,i,r){let a=this.transformFunction(n,e);if(i.push(a),this.isExpandable(a)){let o=this.getChildren(n);o&&(Array.isArray(o)?this._flattenChildren(o,e,i,r):o.pipe(Ue(1)).subscribe(s=>{this._flattenChildren(s,e,i,r)}))}return i}_flattenChildren(n,e,i,r){n.forEach((a,o)=>{let s=r.slice();s.push(o!=n.length-1),this._flattenNode(a,e+1,i,s)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],r=[];return r[0]=!0,n.forEach(a=>{let o=!0;for(let s=0;s<=this.getLevel(a);s++)o=o&&r[s];o&&i.push(a),this.isExpandable(a)&&(r[this.getLevel(a)+1]=e.isExpanded(a))}),i}},kT=class extends Mc{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new at([]),this._expandedData=new at([]),this._data=new at([]),i&&(this.data=i)}connect(n){return nt(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(me(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}},IT=class extends Mc{constructor(){super(...arguments),this._data=new at([])}get data(){return this._data.value}set data(n){this._data.next(n)}connect(n){return nt(n.viewChange,this._data).pipe(me(()=>this.data))}disconnect(){}};var aoe=["searchSelectInput"],ooe=["innerSelectSearch"],soe=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],coe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],loe=(t,n)=>({"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":n});function doe(t,n){if(t&1){let e=le();p(0,"mat-checkbox",12),H("change",function(r){F(e);let a=M();return j(a._emitSelectAllBooleanToParent(r.checked))}),f()}if(t&2){let e=M();C("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function uoe(t,n){t&1&&R(0,"mat-spinner",13)}function hoe(t,n){t&1&&se(0,1,["*ngIf","clearIcon; else defaultIcon"])}function moe(t,n){if(t&1&&(p(0,"mat-icon",16),d(1),f()),t&2){let e=M(2);C("svgIcon",e.closeSvgIcon),g(),ne(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function poe(t,n){if(t&1){let e=le();p(0,"button",14),H("click",function(){F(e);let r=M();return j(r._reset(!0))}),w(1,hoe,1,0,"ng-content",15)(2,moe,2,2,"ng-template",null,2,Hr),f()}if(t&2){let e=Ct(3),i=M();g(),C("ngIf",i.clearIcon)("ngIfElse",e)}}function foe(t,n){t&1&&se(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function goe(t,n){if(t&1&&d(0),t&2){let e=M(2);E(e.noEntriesFoundLabel)}}function _oe(t,n){if(t&1&&(p(0,"div",17),w(1,foe,1,0,"ng-content",15)(2,goe,1,1,"ng-template",null,3,Hr),f()),t&2){let e=Ct(3),i=M();g(),C("ngIf",i.noEntriesFound)("ngIfElse",e)}}var voe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=T({type:t,selectors:[["","ngxMatSelectSearchClear",""]]}),t})(),boe=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],yoe=new L("mat-selectsearch-default-options"),Coe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=T({type:t,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),t})(),OT=(()=>{class t{constructor(e,i,r,a,o,s){this.matSelect=e,this.changeDetectorRef=i,this._viewportRuler=r,this.matOption=a,this.matFormField=o,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new B,this.onTouched=l=>{},this._options$=new at(null),this.optionsList$=this._options$.pipe(dt(l=>l?l.changes.pipe(me(h=>h.toArray()),Qe(l.toArray())):ce(null))),this.optionsLength$=this.optionsList$.pipe(me(l=>l?l.length:0)),this._formControl=new vs("",{nonNullable:!0}),this._showNoEntriesFound$=on([this._formControl.valueChanges,this.optionsLength$]).pipe(me(([l,h])=>!!(this.noEntriesFoundLabel&&l&&h===this.getOptionsLengthOffset()))),this._onDestroy=new U,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let i of boe)e.hasOwnProperty(i)&&(this[i]=e[i])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a  element"),this.matSelect.openedChange.pipe(Jo(1),_e(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Ue(1),dt(e=>{this._options=this.matSelect.options;let i=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(yt(()=>{setTimeout(()=>{let r=this._options.toArray(),a=r[this.getOptionsLengthOffset()],o=this.matSelect._keyManager;o&&this.matSelect.panelOpen&&a&&((!i||!this.matSelect.compareWith(i.value,a.value)||!o.activeItem||!r.find(l=>this.matSelect.compareWith(l.value,o.activeItem?.value)))&&o.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),i=a})}))})).pipe(_e(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(_e(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(_e(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(_e(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||this.preventHomeEndKeyPropagation&&(e.key==="Home"||e.key==="End"))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&e.key==="Escape"&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.key==="ArrowUp"||e.key==="ArrowDown"){let i=this.matSelect._getAriaActiveDescendant(),r=this._options.toArray().findIndex(a=>a.id===i);r!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[r]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",i))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(Ve(i=>i!==this._lastExternalInputValue),yt(()=>this._lastExternalInputValue=void 0),_e(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,i=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=i}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(_e(this._onDestroy)).subscribe(e=>{let i=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let r=this.matSelect.options.map(a=>a.value);this.previousSelectedValues.forEach(a=>{!e.some(o=>this.matSelect.compareWith(o,a))&&!r.some(o=>this.matSelect.compareWith(o,a))&&(this.recreateValuesArray?e=[...e,a]:e.push(a),i=!0)})}this.previousSelectedValues=e,i&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,i=null;for(;e&&e.parentElement;)if(e=e.parentElement,e.classList.contains("mat-select-panel")){i=e;break}i&&(this.innerSelectSearch.nativeElement.style.width=i.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return t.\u0275fac=function(e){return new(e||t)(m(Tn),m(pe),m(Ui),m(Bi,8),m(Kt,8),m(yoe,8))},t.\u0275cmp=A({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,i,r){if(e&1&&(we(r,voe,5),we(r,Coe,5)),e&2){let a;G(a=W())&&(i.clearIcon=a.first),G(a=W())&&(i.noEntriesFound=a.first)}},viewQuery:function(e,i){if(e&1&&(ue(aoe,7,$),ue(ooe,7,$)),e&2){let r;G(r=W())&&(i.searchSelectInput=r.first),G(r=W())&&(i.innerSelectSearch=r.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},features:[he([{provide:Yi,useExisting:ct(()=>t),multi:!0}])],ngContentSelectors:coe,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,i){if(e&1){let r=le();Me(soe),R(0,"input",4),p(1,"div",5,0)(3,"div",6),w(4,doe,1,5,"mat-checkbox",7),p(5,"input",8,1),H("keydown",function(o){return F(r),j(i._handleKeydown(o))})("keyup",function(o){return F(r),j(i._handleKeyup(o))})("blur",function(){return F(r),j(i.onBlur())}),f(),w(7,uoe,1,0,"mat-spinner",9)(8,poe,4,2,"button",10),se(9),f(),R(10,"mat-divider"),f(),w(11,_oe,4,2,"div",11),I(12,"async")}e&2&&(g(),C("ngClass",cr(11,loe,i.matSelect.multiple,i._isToggleAllCheckboxVisible())),g(3),C("ngIf",i._isToggleAllCheckboxVisible()),g(),C("type",i.type)("formControl",i._formControl)("placeholder",i.placeholderLabel),ie("aria-label",i.ariaLabel),g(2),C("ngIf",i.searching),g(),C("ngIf",!i.hideClearSearchButton&&i.value&&!i.searching),g(3),C("ngIf",O(12,9,i._showNoEntriesFound$)))},dependencies:[Ni,Re,en,vi,hn,bn,Is,Yr,bP,qr,Ls,pu],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]   .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%]   .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-input[_ngcontent-%COMP%]::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]   .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%]   .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%]   .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}  .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all}  .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0}  .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none}  .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%]   .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),t})();var PT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ee({type:t}),t.\u0275inj=J({imports:[Tt,sd,Ga,lh,C2,fm,y2,b2]}),t})();var M_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[{provide:Q5,useValue:{appearance:"fill"}},{provide:l4,useValue:{showError:!0,displayDefaultIndicatorType:!1}}],imports:[FO,ow,WO,Ga,ZO,eP,lh,tP,wD,LD,b2,dP,Ic,rk,C2,sD,gP,sk,Iw,_P,CP,fm,DP,vh,PT,OP,VP,TP,LP,RP,KP,nT,bT,yT,y2,ET,wk]})}}return t})();var w_=class{constructor(n,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},Q2=(()=>{class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new w_(e,this._document)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Moe(t,n){if(t&1){let e=le();p(0,"span",5),H("click",function(){F(e);let r=M(2);return j(r.copyValue())}),R(1,"fa-icon",6),f()}}function woe(t,n){if(t&1){let e=le();p(0,"span",7),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),R(1,"fa-icon",8),f()}if(t&2){let e=M(2);g(),C("title",e.externalId)}}function Doe(t,n){if(t&1){let e=le();p(0,"span",9),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),I(2,"externalIdentifier"),f()}if(t&2){let e=M(2);g(),E(O(2,1,e.externalId))}}function Soe(t,n){if(t&1){let e=le();p(0,"span",9),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),f()}if(t&2){let e=M(2);g(),E(e.externalId)}}function koe(t,n){if(t&1){let e=le();p(0,"span",9),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),R(1,"fa-icon",8),f()}if(t&2){let e=M(2);g(),C("title",e.externalId)}}function Ioe(t,n){if(t&1){let e=le();p(0,"span",7),H("click",function(){F(e);let r=M(2);return j(r.copyValue())}),R(1,"fa-icon",6),f()}}function Eoe(t,n){if(t&1){let e=le();p(0,"span",1),H("mouseenter",function(){F(e);let r=M();return j(r.mouseEnter())})("mouseleave",function(){F(e);let r=M();return j(r.mouseLeave())}),d(1,`
-  `),w(2,Moe,2,0,"span",2),d(3,`
-  `),w(4,woe,2,1,"span",3),d(5,`
-  `),w(6,Doe,3,3,"span",4),d(7,`
-  `),w(8,Soe,2,1,"span",4),d(9,`
-  `),w(10,koe,2,1,"span",4),d(11,`
-  `),w(12,Ioe,2,0,"span",3),d(13,`
-`),f()}if(t&2){let e=M();g(2),C("ngIf",e.displayL&&e.iconVisible),g(2),C("ngIf",e.displayL&&!e.completed&&e.iconVisible&&e.isLongValue()),g(2),C("ngIf",!e.completed),g(2),C("ngIf",e.completed),g(2),C("ngIf",e.displayR&&!e.completed&&e.iconVisible&&e.isLongValue()),g(2),C("ngIf",e.displayR&&e.iconVisible)}}var LEe=(()=>{class t{constructor(e,i){this.clipboard=e,this.alertService=i,this.completed=!1,this.display="right",this.iconVisible=!1,this.displayL=!1,this.displayR=!0,this.emptyValue=!1}ngOnInit(){this.emptyValue=!this.externalId||this.externalId==="",this.displayL=this.display==="left",this.displayR=this.display==="right"}isLongValue(){return this.externalId==null?!1:this.externalId.length>15}showValue(){this.completed=!this.completed}copyValue(){this.clipboard.copy(this.externalId),this.alertService.alert({type:"Clipboard",message:"Copied: "+this.externalId})}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}static{this.\u0275fac=function(i){return new(i||t)(m(Q2),m(gs))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-external-identifier"]],inputs:{externalId:"externalId",completed:"completed",display:"display"},decls:2,vars:1,consts:[[3,"mouseenter","mouseleave",4,"ngIf"],[3,"mouseenter","mouseleave"],[3,"click",4,"ngIf"],["class","m-l-3",3,"click",4,"ngIf"],["class","m-l-5",3,"click",4,"ngIf"],[3,"click"],["icon","copy","size","sm","title","Copy External Id"],[1,"m-l-3",3,"click"],["icon","eye","size","sm",3,"title"],[1,"m-l-5",3,"click"]],template:function(i,r){i&1&&(w(0,Eoe,14,6,"span",0),d(1,`
-`)),i&2&&C("ngIf",!r.emptyValue)},dependencies:[Re,Ut,Ou]})}}return t})();var zm=(()=>{class t{constructor(e){this.http=e}getFilteredClients(e,i,r,a,o){let s=new X().set("displayName",a).set("orphansOnly",r.toString()).set("sortOrder",i).set("orderBy",e);return o&&(s=s.set("officeId",o)),this.http.get("/clients",{params:s})}getClients(e,i,r,a){let o=new X().set("offset",r.toString()).set("limit",a.toString()).set("sortOrder",i).set("orderBy",e);return this.http.get("/clients",{params:o})}getClientTemplate(){return this.http.get("/clients/template")}getClientWithOfficeTemplate(e){return this.http.get(`/clients/template?officeId=${e}&staffInSelectedOfficeOnly=true`)}getClientData(e){return this.http.get(`/clients/${e}`)}createClient(e){return this.http.post("/clients",e)}updateClient(e,i){return this.http.put(`/clients/${e}`,i)}deleteClient(e){return this.http.delete(`/clients/${e}`)}getClientDataAndTemplate(e){let i=new X().set("template","true").set("staffInSelectedOfficeOnly","true");return this.http.get(`/clients/${e}`,{params:i})}getClientDatatables(){let e=new X().set("apptable","m_client");return this.http.get("/datatables",{params:e})}getClientDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addClientDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editClientDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}getClientAccountData(e){return this.http.get(`/clients/${e}/accounts`)}getClientChargesData(e){let i=new X().set("pendingPayment","true");return this.http.get(`/clients/${e}/charges`,{params:i})}getSelectedChargeData(e,i){let r=new X().set("associations","all");return this.http.get(`/clients/${e}/charges/${i}`,{params:r})}waiveClientCharge(e){let i=new X().set("command","waive");return this.http.post(`/clients/${e.clientId}/charges/${e.resourceType}`,e,{params:i})}getAllClientCharges(e){return this.http.get(`/clients/${e}/charges`)}undoTransaction(e){return this.http.post(`/clients/${e.clientId}/transactions/${e.transactionId}?command=undo`,e)}deleteCharge(e,i){return this.http.delete(`/clients/${e}/charges/${i}?associations=all`)}getClientTransactionPay(e,i){return this.http.get(`/clients/${e}/charges/${i}`)}payClientCharge(e,i,r){let a=new X().set("command","paycharge");return this.http.post(`/clients/${e}/charges/${i}?command=paycharge`,r,{params:a})}getClientSummary(e){let i=new X().set("R_clientId",e).set("genericResultSet","false");return this.http.get("/runreports/ClientSummary",{params:i})}getClientProfileImage(e){let i=new X().set("maxHeight","150");return this.http.skipErrorHandler().get(`/clients/${e}/images`,{params:i,responseType:"text"})}uploadClientProfileImage(e,i){let r=new FormData;return r.append("file",i),r.append("filename","file"),this.http.post(`/clients/${e}/images`,r)}uploadCapturedClientProfileImage(e,i){return this.http.post(`/clients/${e}/images`,i)}deleteClientProfileImage(e){return this.http.delete(`/clients/${e}/images`)}uploadClientSignatureImage(e,i){let r=new FormData;return r.append("file",i),r.append("name","clientSignature"),r.append("description","Client signature"),this.http.post(`/clients/${e}/documents`,r)}getClientSignatureImage(e,i){return this.http.get(`/clients/${e}/documents/${i}/attachment`,{responseType:"blob"})}getClientFamilyMembers(e){return this.http.get(`/clients/${e}/familymembers`)}getClientFamilyMember(e,i){return this.http.get(`/clients/${e}/familymembers/${i}`)}addFamilyMember(e,i){return this.http.post(`/clients/${e}/familymembers`,i)}editFamilyMember(e,i,r){return this.http.put(`/clients/${e}/familymembers/${i}`,r)}deleteFamilyMember(e,i){return this.http.delete(`/clients/${e}/familymembers/${i}`)}getClientIdentifiers(e){return this.http.get(`/clients/${e}/identifiers`)}getClientIdentifierTemplate(e){return this.http.get(`/clients/${e}/identifiers/template`)}addClientIdentifier(e,i){return this.http.post(`/clients/${e}/identifiers`,i)}deleteClientIdentifier(e,i){return this.http.delete(`/clients/${e}/identifiers/${i}`)}getClientIdentificationDocuments(e){return this.http.get(`/client_identifiers/${e}/documents`)}downloadClientIdentificationDocument(e,i){return this.http.get(`/client_identifiers/${e}/documents/${i}/attachment`,{responseType:"blob"})}uploadClientIdentifierDocument(e,i){return this.http.post(`/client_identifiers/${e}/documents`,i)}getClientDocuments(e){return this.http.get(`/clients/${e}/documents`)}downloadClientDocument(e,i){return this.http.get(`/clients/${e}/documents/${i}/attachment`,{responseType:"blob"})}uploadClientDocument(e,i){return this.http.post(`/clients/${e}/documents`,i)}deleteClientDocument(e,i){return this.http.delete(`/clients/${e}/documents/${i}`)}getClientNotes(e){return this.http.get(`/clients/${e}/notes`)}createClientNote(e,i){return this.http.post(`/clients/${e}/notes`,i)}editClientNote(e,i,r){return this.http.put(`/clients/${e}/notes/${i}`,r)}deleteClientNote(e,i){return this.http.delete(`/clients/${e}/notes/${i}`)}getAddressFieldConfiguration(){return this.http.get("/fieldconfiguration/ADDRESS")}getClientAddressData(e){return this.http.get(`/client/${e}/addresses`)}getClientAddressTemplate(){return this.http.get("/client/addresses/template")}createClientAddress(e,i,r){return this.http.post(`/client/${e}/addresses?type=${i}`,r)}editClientAddress(e,i,r){return this.http.put(`/client/${e}/addresses?type=${i}`,r)}executeClientCommand(e,i,r){let a=new X().set("command",i);return this.http.post(`/clients/${e}`,r,{params:a})}getClientCommandTemplate(e){let i=new X().set("commandParam",e);return this.http.get("/clients/template",{params:i})}getClientTransferProposalDate(e){return this.http.get(`/clients/${e}/transferproposaldate`)}getClientChargeTemplate(e){return this.http.get(`/clients/${e}/charges/template`)}getChargeAndTemplate(e){let i=new X().set("template","true");return this.http.get(`/charges/${e}`,{params:i})}createClientCharge(e,i){return this.http.post(`/clients/${e}/charges`,i)}getClientReportTemplates(){let e=new X().set("entityId","0").set("typeId","0");return this.http.get("/templates",{params:e})}retrieveClientReportTemplate(e,i){let r=new X().set("clientId",i);return this.http.post(`/templates/${e}`,{},{params:r,responseType:"text"})}getOffices(){return this.http.get("/offices")}getSurveys(e){return this.http.get(`/surveys/scorecards/clients/${e}`)}getAllSurveysType(){return this.http.get("/surveys")}createNewSurvey(e,i){return this.http.post(`/surveys/scorecards/${e}`,i)}createSelfServiceUser(e){return this.http.post("/users",e)}createClientCollateral(e,i){return this.http.post(`/clients/${e}/collaterals`,i)}getCollateralTemplate(e){return this.http.get(`/clients/${e}/collaterals/template`)}searchByText(e,i,r,a="",o=""){let s={request:{text:e},page:i,size:r};return a!==""&&o!==""&&(s=Ge(Y({},s),{sorts:[{direction:o,property:a}]})),this.http.post("/v2/clients/search",s)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var VT=(()=>{class t{constructor(e){this.http=e}getGroups(e,i,r,a,o){let s=new X().set("offset",a.toString()).set("limit",o.toString()).set("sortOrder",r).set("orderBy",i).set("paged","true");return e.forEach(function(l){l.value&&(s=s.set(l.type,l.value))}),this.http.get("/groups",{params:s})}getFilteredGroups(e,i,r,a,o){let s=new X().set("name",r).set("sortOrder",i).set("orderBy",e);return a&&(s=s.set("officeId",a)),s=o?s.set("orphansOnly",o):s,this.http.get("/groups",{params:s})}getGroupsByOfficeId(e){let i=new X().set("officeId",e.toString());return this.http.get("/groups",{params:i})}getGroupData(e,i){let r=new X().set("associations","all");return r=i?r.set("template",i):r,this.http.get(`/groups/${e}`,{params:r})}getGroupSummary(e){let i=new X().set("R_groupId",e).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:i})}getGroupAccountsData(e){return this.http.get(`/groups/${e}/accounts`)}getGroupNotes(e){return this.http.get(`/groups/${e}/notes`)}createGroupNote(e,i){return this.http.post(`/groups/${e}/notes`,i)}editGroupNote(e,i,r){return this.http.put(`/groups/${e}/notes/${i}`,r)}deleteGroupNote(e,i){return this.http.delete(`/groups/${e}/notes/${i}`)}getGroupDatatables(){let e=new X().set("apptable","m_group");return this.http.get("/datatables",{params:e})}getGroupDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addGroupDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editGroupDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}getGroupCommandTemplate(e){let i=new X().set("command",e);return this.http.get("/groups/template",{params:i})}executeGroupCommand(e,i,r){let a=new X().set("command",i);return this.http.post(`/groups/${e}`,r,{params:a})}unAssignRoleCommand(e,i){let r=new X().set("command","unassignRole").set("roleId",i);return this.http.post(`/groups/${e}`,{},{params:r})}createGroup(e){return this.http.post("/groups",e)}updateGroup(e,i){return this.http.put(`/groups/${i}`,e)}deleteGroup(e){return this.http.delete(`/groups/${e}`)}getGroupCalendarTemplate(e){return this.http.get(`/groups/${e}/calendars/template`)}getGroupCalendarAndTemplate(e,i){let r=new X().set("template","true");return this.http.get(`/groups/${e}/calendars/${i}`,{params:r})}createGroupMeeting(e,i){return this.http.post(`/groups/${e}/calendars`,i)}updateGroupMeeting(e,i,r){return this.http.put(`/groups/${e}/calendars/${r}`,i)}getMeetingsTemplate(e,i){let r=new X().set("calenderId",i);return this.http.get(`/groups/${e}/meetings/template`,{params:r})}assignGroupAttendance(e,i,r){let a=new X().set("calenderId",i);return this.http.post(`/groups/${e}/meetings`,r,{params:a})}getStaff(e){let i=new X().set("officeId",e.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/groups/template",{params:i})}getGLIMAccountsData(e){return this.http.get(`/groups/${e}/glimaccounts`)}getGSIMAccountsData(e){return this.http.get(`/groups/${e}/gsimaccounts`)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Lm=(()=>{class t{constructor(e,i,r){this.http=e,this.settingsService=i,this.dateUtils=r}getLoanChargeTemplateResource(e){return this.http.get(`/loans/${e}/charges/template`)}getLoanActionTemplate(e,i){let r=new X().set("command",i);return this.http.get(`/loans/${e}/transactions/template`,{params:r})}getLoanTransactionActionTemplate(e,i,r){let a=new X().set("command",i).set("transactionId",r);return this.http.get(`/loans/${e}/transactions/template`,{params:a})}getLoanPrepayLoanActionTemplate(e,i){i||(i=this.dateUtils.formatDate(this.settingsService.businessDate,this.settingsService.dateFormat));let r=new X().set("command","prepayLoan").set("transactionDate",i).set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return this.http.get(`/loans/${e}/transactions/template`,{params:r})}getLoanForeclosureActionTemplate(e){let i=new X().set("command","foreclosure").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat).set("transactionDate",this.dateUtils.formatDate(this.settingsService.businessDate,this.settingsService.dateFormat));return this.http.get(`/loans/${e}/transactions/template`,{params:i})}getLoanAccountResource(e,i){let r=new X().set("associations",i);return this.http.get(`/loans/${e}`,{params:r})}getGuarantorTemplate(e){return this.http.get(`/loans/${e}/guarantors/template`)}createNewGuarantor(e,i){return this.http.post(`/loans/${e}/guarantors`,i)}deleteGuarantor(e,i){return this.http.delete(`/loans/${e}/guarantors/${i}`)}deleteLoanAccount(e){return this.http.delete(`/loans/${e}`)}getDelinquencyTags(e){return this.http.get(`/loans/${e}/delinquencytags`)}getDelinquencyData(e){let i=new X().set("associations","collection").set("exclude","guarantors,futureSchedule");return this.http.get(`/loans/${e}`,{params:i})}getDelinquencyActions(e){return this.http.get(`/loans/${e}/delinquency-actions`)}createDelinquencyActions(e,i){return this.http.post(`/loans/${e}/delinquency-actions`,i)}getLoanTemplate(e){let i=new X().set("fields","id,loanOfficerId,loanOfficerOptions").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/loans/${e}`,{params:i})}createLoanCharge(e,i,r){return this.http.post(`/loans/${e}/${i}`,r)}getLoanAccountDetails(e){return this.http.get(`/loans/${e}`)}getLoanCollateralTemplate(e){return this.http.get(`/loans/${e}/collaterals/template`)}getLoanCollaterals(e){return this.http.get(`/loans/${e}/collaterals`)}createLoanCollateral(e,i){return this.http.post(`/loans/${e}/collaterals`,i)}getLoanAccountAssociationDetails(e){let i=new X().set("associations","all").set("exclude","guarantors,futureSchedule");return this.http.get(`/loans/${e}`,{params:i})}getApproveAssociationsDetails(e){let i=new X().set("associations","multiDisburseDetails");return this.http.get(`/loans/${e}`,{params:i})}getLoanNotes(e){return this.http.get(`/loans/${e}/notes`)}createLoanNote(e,i){return this.http.post(`/loans/${e}/notes`,i)}editLoanNote(e,i,r){return this.http.put(`/loans/${e}/notes/${i}`,r)}deleteLoanNote(e,i){return this.http.delete(`/loans/${e}/notes/${i}`)}submitLoanActionButton(e,i,r){let a=new X().set("command",r);return this.http.post(`/loans/${e}/transactions`,i,{params:a})}getLoanScreenReportsData(){let e=new X().set("entityId","1").set("typeId","0");return this.http.get("/templates",{params:e})}getLoanDataTables(){let e=new X().set("apptable","m_loan");return this.http.get("/datatables",{params:e})}getLoanDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addLoanDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editLoanDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}loanActionButtons(e,i,r){let a=new X().set("command",i);return this.http.post(`/loans/${e}`,r,{params:a})}addInterestPauseToLoan(e,i){return this.http.post(`/loans/${e}/interest-pauses`,i)}getInterestPausesOfLoan(e){return this.http.get(`/loans/${e}/interest-pauses`)}updateInterestPause(e,i,r){return this.http.put(`/loans/${e}/interest-pauses/${i}`,r)}deleteInterestPause(e,i){return this.http.delete(`/loans/${e}/interest-pauses/${i}`)}getForeclosureData(e,i){let r=new X().set("command",i.command).set("dateFormat",i.dateFormat).set("locale",i.locale).set("transactionDate",i.transactionDate);return this.http.get(`/loans/${e}/transactions/template`,{params:r})}loanForclosureData(e,i){let r=new X().set("command","foreclosure");return this.http.post(`/loans/${e}/transactions`,i,{params:r})}editDisbursements(e,i){return this.http.put(`/loans/${e}/disbursements/editDisbursements`,i)}rescheduleLoanTemplate(){return this.http.get("/rescheduleloans/template")}loanRescheduleRequests(e){let i=new X().set("loanId",e);return this.http.get("/rescheduleloans",{params:i})}applyCommandLoanRescheduleRequests(e,i,r){let a=new X().set("command",i);return this.http.post(`/rescheduleloans/${e}`,r,{params:a})}submitRescheduleData(e){let i=new X().set("command","reschedule");return this.http.post("/rescheduleloans",e,{params:i})}getLoansAccountTemplateResource(e,i,r){let a=new X().set("activeOnly","true").set("staffInSelectedOfficeOnly","true");return a=r?a.set("productId",r):a,a=i?a.set("groupId",e).set("templateType","group"):a.set("clientId",e).set("templateType","individual"),this.http.get("/loans/template",{params:a})}getLoansAccountAndTemplateResource(e){let i=new X().set("associations","charges,collateral,meeting,multiDisburseDetails").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/loans/${e}`,{params:i})}getLoansCollateralTemplateResource(e){let i=new X().set("fields","id, loanCollateralOptions").set("productId",e).set("templateType","collateral");return this.http.get("/loans/template",{params:i})}createLoansAccount(e){return this.http.post("/loans",e)}getLoanDocuments(e){return this.http.get(`/loans/${e}/documents`)}downloadLoanDocument(e,i){return this.http.get(`/loans/${e}/documents/${i}/attachment`,{responseType:"blob"})}deleteLoanDocument(e,i){return this.http.delete(`/loans/${e}/documents/${i}`)}loadLoanDocument(e,i){return this.http.post(`/loans/${e}/documents`,i)}getStandingInstructions(e,i,r,a,o){let s=new X().set("clientId",e).set("clientName",i).set("fromAccountId",r).set("fromAccountType","1").set("locale",a).set("dateFormat",o).set("limit","14").set("offset","0");return this.http.get("/standinginstructions",{params:s})}updateLoansAccount(e,i){return this.http.put(`/loans/${e}`,i)}getTemplateData(e,i){let r=new X().set("loanId",i);return this.http.post(`/templates/${e}`,{},{params:r,responseType:"text"})}getLoanApprovalTemplate(e){let i=new X().set("templateType","approval");return this.http.get(`/loans/${e}/template`,{params:i})}guarantorAccountResource(e,i){let r=new X().set("clientId",i);return this.http.get(`/loans/${e}/guarantors/accounts/template`,{params:r})}getLoansAccountCharge(e,i){return this.http.get(`/loans/${e}/charges/${i}`)}executeLoansAccountChargesCommand(e,i,r,a){let o=new X().set("command",i);return this.http.post(`/loans/${e}/charges/${a}`,r,{params:o})}editLoansAccountCharge(e,i,r){return this.http.put(`/loans/${e}/charges/${r}`,i)}deleteLoansAccountCharge(e,i){return this.http.delete(`/loans/${e}/charges/${i}`)}applyCommandLoanScheduleVariations(e,i,r){return this.http.post(`/loans/${e}/schedule?command=${i}`,r)}getLoansAccountTransaction(e,i){return this.http.get(`/loans/${e}/transactions/${i}`)}getLoansAccountTransactionTemplate(e,i){let r=new X().set("template","true");return this.http.get(`/loans/${e}/transactions/${i}`,{params:r})}executeLoansAccountTransactionsCommand(e,i,r,a){let o=new X().set("command",i);return a?this.http.post(`/loans/${e}/transactions/${a}`,r,{params:o}):this.http.post(`/loans/${e}/transactions`,r,{params:o})}getGLIMAccountData(e,i){return this.http.get(`/loans/glimAccount/${e}`)}getGLIMLoanAccountTemplate(e){let i=new X().set("groupId",e).set("templateType","jlgbulk");return this.http.get("/loans/template",{params:i})}createGlimAccount(e){return this.http.post("/batches?enclosingTransaction=true",e)}calculateLoanSchedule(e){return this.http.post("/loans?command=calculateLoanSchedule",e)}buildLoanRequestPayload(e,i,r,a,o){let s=Ge(Y({},e),{charges:e.charges.map(l=>({chargeId:l.id,amount:l.amount,dueDate:l.dueDate&&this.dateUtils.formatDate(l.dueDate,o)})),disbursementData:e.disbursementData.map(l=>({expectedDisbursementDate:this.dateUtils.formatDate(l.expectedDisbursementDate,o),principal:l.principal})),interestChargedFromDate:this.dateUtils.formatDate(e.interestChargedFromDate,o),repaymentsStartingFromDate:this.dateUtils.formatDate(e.repaymentsStartingFromDate,o),submittedOnDate:this.dateUtils.formatDate(e.submittedOnDate,o),expectedDisbursementDate:this.dateUtils.formatDate(e.expectedDisbursementDate,o),dateFormat:o,locale:a});return e.collateral&&(s.collateral=e.collateral.map(l=>({clientCollateralId:l.type.collateralId,quantity:l.value}))),i.clientId&&i.group?.id?(s.clientId=i.clientId,s.groupId=i.group.id,s.loanType="glim"):i.clientId?(s.clientId=i.clientId,s.loanType="individual"):(s.groupId=i.group.id,s.loanType="group"),s.syncRepaymentsWithMeeting&&(s.calendarId=r[0].id,delete s.syncRepaymentsWithMeeting),s.recalculationRestFrequencyDate&&(s.recalculationRestFrequencyDate=this.dateUtils.formatDate(e.recalculationRestFrequencyDate,o)),s.interestCalculationPeriodType===0&&(s.allowPartialPeriodInterestCalculation=!1),s.isFloatingInterestRate!==!1&&delete s.isFloatingInterestRate,s.multiDisburseLoan||delete s.disbursementData,delete s.isValid,s.principal=s.principalAmount,delete s.principalAmount,delete s.multiDisburseLoan,s.allowPartialPeriodInterestCalcualtion=s.allowPartialPeriodInterestCalculation,delete s.allowPartialPeriodInterestCalculation,s}saveLoanDisbursementDetailsData(e){localStorage.setItem("disbursementData",JSON.stringify(e))}getLoanDisbursementDetailsData(){return JSON.parse(localStorage.getItem("disbursementData"))}static{this.\u0275fac=function(i){return new(i||t)(k(Ti),k(zt),k(Bn))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Hm=(()=>{class t{constructor(e){this.http=e}getSavingsTransactionTemplateResource(e){return this.http.get(`/savingsaccounts/${e}/transactions/template`)}getSavingsChargeTemplateResource(e){return this.http.get(`/savingsaccounts/${e}/charges/template`)}createSavingsCharge(e,i,r){return this.http.post(`/savingsaccounts/${e}/${i}`,r)}getChargeTemplate(e){let i={template:"true"};return this.http.get(`/charges/${e}`,{params:i})}getSavingsAccountData(e){let i=new X().set("associations","all");return this.http.get(`/savingsaccounts/${e}`,{params:i})}getSavingsAccountAndTemplate(e,i){let r=new X().set("template",i.toString()).set("associations","charges");return this.http.get(`/savingsaccounts/${e}`,{params:r})}getStandingInstructions(e,i,r,a,o){let s=new X().set("clientId",e).set("clientName",i).set("fromAccountId",r).set("fromAccountType","2").set("locale",a).set("dateFormat",o);return this.http.get("/standinginstructions",{params:s})}getSavingsDatatables(){let e=new X().set("apptable","m_savings_account");return this.http.get("/datatables",{params:e})}getSavingsDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}getSavingsTransactionDatatables(){let e=new X().set("apptable","m_savings_account_transaction");return this.http.get("/datatables",{params:e})}getSavingsTransactionDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addSavingsDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editSavingsDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}getSavingsAccountTemplate(e,i,r){let a=new X().set(r?"groupId":"clientId",e);return a=i?a.set("productId",i):a,this.http.get("/savingsaccounts/template",{params:a})}createSavingsAccount(e){return this.http.post("/savingsaccounts",e)}updateSavingsAccount(e,i){return this.http.put(`/savingsaccounts/${e}`,i)}deleteSavingsAccount(e){return this.http.delete(`/savingsaccounts/${e}`)}executeSavingsAccountCommand(e,i,r){let a=new X().set("command",i);return this.http.post(`/savingsaccounts/${e}`,r,{params:a})}executeSavingsAccountUpdateCommand(e,i,r){let a=new X().set("command",i);return this.http.put(`/savingsaccounts/${e}`,r,{params:a})}getSavingsAccountTransaction(e,i){return this.http.get(`/savingsaccounts/${e}/transactions/${i}`)}getSavingsAccountTransactionTemplate(e,i){let r=new X().set("template","true");return this.http.get(`/savingsaccounts/${e}/transactions/${i}`,{params:r})}executeSavingsAccountTransactionsCommand(e,i,r,a){let o=new X().set("command",i);return a?this.http.post(`/savingsaccounts/${e}/transactions/${a}`,r,{params:o}):this.http.post(`/savingsaccounts/${e}/transactions`,r,{params:o})}getSavingsAccountCharge(e,i){return this.http.get(`/savingsaccounts/${e}/charges/${i}`)}executeSavingsAccountChargesCommand(e,i,r,a){let o=new X().set("command",i);return this.http.post(`/savingsaccounts/${e}/charges/${a}`,r,{params:o})}editSavingsAccountCharge(e,i,r){return this.http.put(`/savingsaccounts/${e}/charges/${r}`,i)}deleteSavingsAccountCharge(e,i){return this.http.delete(`/savingsaccounts/${e}/charges/${i}`)}getGSIMAccountData(e,i){let r=new X().set("parentGSIMAccountNo",e);return this.http.get(`/groups/${i}/gsimaccounts`,{params:r})}createGsimAcccount(e){return this.http.post("/savingsaccounts/gsim",e)}getSavingsNotes(e){return this.http.get(`/savings/${e}/notes`)}createSavingsNote(e,i){return this.http.post(`/savings/${e}/notes`,i)}editSavingsNote(e,i,r){return this.http.put(`/savings/${e}/notes/${i}`,r)}deleteSavingsNote(e,i){return this.http.delete(`/savings/${e}/notes/${i}`)}getSavingsDocuments(e){return this.http.get(`/savings/${e}/documents`)}downloadSavingsDocument(e,i){return this.http.get(`/savings/${e}/documents/${i}/attachment`,{responseType:"blob"})}deleteSavingsDocument(e,i){return this.http.delete(`/savings/${e}/documents/${i}`)}loadSavingsDocument(e,i){return this.http.post(`/savings/${e}/documents`,i)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Poe=["formRef"];function Toe(t,n){if(t&1){let e=le();p(0,"mat-list-item"),d(1,`
-      `),p(2,"div",8),d(3,`
-        `),p(4,"div",9),d(5,`
-          `),R(6,"fa-icon",10),d(7,`
-          `),p(8,"span"),d(9),f(),d(10,`
-          `),p(11,"span",11),d(12,`
-            `),p(13,"b"),d(14),I(15,"translate"),f(),d(16),p(17,"b"),d(18),I(19,"translate"),f(),d(20),I(21,"dateFormat"),f(),d(22,`
-        `),f(),d(23,`
-        `),p(24,"div",12),d(25,`
-          `),p(26,"div",13),d(27,`
-            `),p(28,"button",14),H("click",function(){let r=F(e),a=r.$implicit,o=r.index,s=M();return j(s.editNote(a.id,a.note,o))}),d(29,`
-              `),R(30,"fa-icon",15),d(31,`
-            `),f(),d(32,`
-            `),p(33,"button",16),H("click",function(){let r=F(e),a=r.$implicit,o=r.index,s=M();return j(s.deleteNote(a.id,o))}),d(34,`
-              `),R(35,"fa-icon",17),d(36,`
-            `),f(),d(37,`
-          `),f(),d(38,`
-        `),f(),d(39,`
-      `),f(),d(40,`
-    `),f()}if(t&2){let e=n.$implicit;g(9),E(e.note),g(5),ne("",O(15,5,"labels.inputs.Created By"),":"),g(2),ne(" ",e.createdByUsername,`
-            `),g(2),ne("",O(19,7,"labels.inputs.Date"),":"),g(2),ne(" ",O(21,9,e.createdOn),`
-          `)}}var dOe=(()=>{class t{constructor(e,i,r,a,o,s){this.formBuilder=e,this.savingsService=i,this.loansService=r,this.clientsService=a,this.groupsService=o,this.dialog=s}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:["",_i.required]})}addNote(){this.callbackAdd(this.noteForm.value),this.formRef.resetForm()}editNote(e,i,r){this.dialog.open(Oc,{data:{formfields:[{controlName:"note",required:!0,value:i,controlType:"input",label:"Note"}],layout:{columns:1,addButtonText:"Confirm"},title:"Edit Note"}}).afterClosed().subscribe(o=>{o.data&&o.data.value.note!==i&&this.callbackEdit(e,o.data.value,r)})}deleteNote(e,i){this.dialog.open(Ao,{data:{deleteContext:`Note: ${this.entityNotes[i].note}`}}).afterClosed().subscribe(a=>{a.delete&&this.callbackDelete(e,i)})}static{this.\u0275fac=function(i){return new(i||t)(m(xs),m(Hm),m(Lm),m(zm),m(VT),m(Gn))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-entity-notes-tab"]],viewQuery:function(i,r){if(i&1&&ue(Poe,7),i&2){let a;G(a=W())&&(r.formRef=a.first)}},inputs:{entityId:"entityId",entityNotes:"entityNotes",callbackAdd:"callbackAdd",callbackEdit:"callbackEdit",callbackDelete:"callbackDelete"},decls:31,vars:13,consts:[["formRef","ngForm"],[1,"tab-container","mat-typography"],[1,"layout-row","align-start-baseline","gap-20px",3,"ngSubmit","formGroup"],[1,"flex-85-minus-20px"],["required","","formControlName","note","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","2",3,"placeholder"],["mat-raised-button","","color","primary",1,"flex-1",3,"disabled"],["icon","plus",1,"m-r-10"],[4,"ngFor","ngForOf"],[1,"list-item-content"],[1,"left-section"],["icon","sticky-note","matListIcon",""],[1,"note-details"],[1,"right-section"],[1,"layout-row","align-start"],["mat-button","","color","primary",3,"click"],["icon","edit"],["mat-button","","color","warn",3,"click"],["icon","trash"]],template:function(i,r){if(i&1){let a=le();p(0,"div",1),d(1,`
-  `),p(2,"h3"),d(3),I(4,"translate"),f(),d(5,`
-
-  `),p(6,"div"),d(7,`
-    `),p(8,"form",2,0),H("ngSubmit",function(){return F(a),j(r.addNote())}),d(10,`
-      `),p(11,"mat-form-field",3),d(12,`
-        `),R(13,"textarea",4),I(14,"translate"),d(15,`
-      `),f(),d(16,`
-      `),p(17,"button",5),d(18,`
-        `),R(19,"fa-icon",6),d(20),I(21,"translate"),f(),d(22,`
-    `),f(),d(23,`
-  `),f(),d(24,`
-
-  `),p(25,"mat-list"),d(26,`
-    `),w(27,Toe,41,11,"mat-list-item",7),d(28,`
-  `),f(),d(29,`
-`),f(),d(30,`
-`)}i&2&&(g(3),E(O(4,7,"labels.heading.Notes")),g(5),C("formGroup",r.noteForm),g(5),F0("placeholder","",O(14,9,"labels.text.Write a note")," ..."),g(4),C("disabled",!r.noteForm.valid),g(3),ne("",O(21,11,"labels.buttons.Add"),`
-      `),g(7),C("ngForOf",r.entityNotes))},dependencies:[ni,Ut,lt,Kt,$i,fh,pP,fP,Cs,en,vi,jr,da,tn,la,Pe,Fr],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.list-item-content[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.note-details[_ngcontent-%COMP%]{font-size:14px}.left-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.right-section[_ngcontent-%COMP%]{margin-left:auto;display:flex;gap:4px}"]})}}return t})();function Voe(t,n){t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),I(3,"translate"),p(4,"strong"),d(5),I(6,"translate"),f(),d(7,`
-      `),f()),t&2&&(g(),Ht(`
-        `,O(2,3,"labels.inputs.File Name")," ",O(3,5,"labels.commons.is"),`
-        `),g(4),E(O(6,7,"labels.commons.required")))}function Aoe(t,n){t&1&&(p(0,"mat-form-field",3),d(1,`
-      `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-      `),R(6,"input",11),d(7,`
-    `),f()),t&2&&(g(3),E(O(4,1,"labels.inputs.Description")))}var LT=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this.formBuilder=i,this.data=r,this.uploadDocumentData=[],this.documentIdentifier=!1,this.documentIdentifier=r.documentIdentifier,this.entityType=r.entityType}ngOnInit(){this.createUploadDocumentForm()}createUploadDocumentForm(){this.uploadDocumentForm=this.formBuilder.group({fileName:["",_i.required],description:[""],file:[""]})}onFileSelect(e){if(e.target.files.length>0){let i=e.target.files[0];this.uploadDocumentForm.get("file").setValue(i)}}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(xs),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-upload-document-dialog"]],decls:37,vars:21,consts:[["mat-dialog-title",""],[1,"m-l-10","m-r-10"],[1,"layout-column",3,"formGroup"],[1,"flex-fill"],["formControlName","fileName","required","","matInput",""],[4,"ngIf"],["class","flex-fill",4,"ngIf"],["flex","60%",3,"change"],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"],["formControlName","description","matInput",""]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),I(3,"translate"),f(),d(4,`
-`),p(5,"div",1),d(6,`
-  `),p(7,"form",2),d(8,`
-    `),p(9,"mat-form-field",3),d(10,`
-      `),p(11,"mat-label"),d(12),I(13,"translate"),f(),d(14,`
-      `),R(15,"input",4),d(16,`
-      `),w(17,Voe,8,9,"mat-error",5),d(18,`
-    `),f(),d(19,`
-
-    `),w(20,Aoe,8,3,"mat-form-field",6),d(21,`
-
-    `),p(22,"mifosx-file-upload",7),H("change",function(o){return r.onFileSelect(o)}),f(),d(23,`
-
-    `),p(24,"mat-dialog-actions",8),d(25,`
-      `),p(26,"button",9),d(27),I(28,"translate"),f(),d(29,`
-      `),p(30,"button",10),d(31),I(32,"translate"),f(),d(33,`
-    `),f(),d(34,`
-  `),f(),d(35,`
-`),f(),d(36,`
-`)),i&2&&(g(),i8(`
-  `,O(2,11,"labels.heading.Upload")," ",r.entityType," ",O(3,13,"labels.heading.Documents"),`
-`),g(6),C("formGroup",r.uploadDocumentForm),g(5),E(O(13,15,"labels.inputs.File Name")),g(5),C("ngIf",r.uploadDocumentForm.controls.fileName.hasError("required")),g(3),C("ngIf",!r.documentIdentifier),g(7),E(O(28,17,"labels.buttons.Cancel")),g(3),C("disabled",!r.uploadDocumentForm.valid)("mat-dialog-close",r.uploadDocumentForm.value),g(),ne(`
-        `,O(32,19,"labels.buttons.Upload"),`
-      `))},dependencies:[KS,Re,lt,Si,yi,Ii,Kt,Di,pr,$i,Cs,en,vi,jr,da,tn,la,Pe]})}}return t})();var zoe=["documentsTable"],Loe=()=>[10,25,50];function Hoe(t,n){if(t&1){let e=le();p(0,"div",15),d(1,`
-      `),p(2,"button",16),H("click",function(){F(e);let r=M();return j(r.uploadDocument())}),d(3,`
-        `),R(4,"fa-icon",17),d(5),I(6,"translate"),f(),d(7,`
-    `),f()}t&2&&(g(5),ne("",O(6,1,"labels.buttons.Add"),`
-      `))}function Roe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.name")))}function Noe(t,n){if(t&1&&(p(0,"td",19),d(1),f()),t&2){let e=n.$implicit;g(),E(e.name)}}function Foe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.Description")))}function joe(t,n){if(t&1&&(p(0,"td",19),d(1),f()),t&2){let e=n.$implicit;g(),E(e.description)}}function Boe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.File Name")))}function Uoe(t,n){if(t&1&&(p(0,"td",19),d(1),f()),t&2){let e=n.$implicit;g(),E(e.fileName)}}function $oe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.Actions")))}function Goe(t,n){if(t&1){let e=le();p(0,"td",19),d(1,`
-        `),p(2,"button",20),H("click",function(){let r=F(e).$implicit,a=M();return j(a.downloadDocument(r.id))}),d(3,`
-          `),R(4,"fa-icon",21),d(5,`
-        `),f(),d(6,`
-        `),p(7,"button",22),H("click",function(){let r=F(e).$implicit,a=M();return j(a.deleteDocument(r.id,r.name))}),d(8,`
-          `),R(9,"fa-icon",23),d(10,`
-        `),f(),d(11,`
-      `),f()}}function Woe(t,n){t&1&&R(0,"tr",24)}function qoe(t,n){t&1&&R(0,"tr",25)}function Yoe(t,n){t&1&&R(0,"mat-paginator",26),t&2&&C("pageSizeOptions",or(1,Loe))}var EOe=(()=>{class t{constructor(e,i,r,a){this.dialog=e,this.savingsService=i,this.loansService=r,this.clientsService=a,this.displayedColumns=["name","description","filename","actions"]}ngOnInit(){this.dataSource=new jc(this.entityDocuments),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}downloadDocument(e){this.callbackDownload(e)}uploadDocument(){this.dialog.open(LT,{data:{documentIdentifier:!1,entityType:""},width:"33rem"}).afterClosed().subscribe(i=>{if(i){let r=new FormData;r.append("name",i.fileName),r.append("file",i.file),r.append("description",i.description),this.callbackUpload(r).subscribe(a=>{this.entityDocuments.push({id:a.resourceId,parentEntityType:this.entityType,parentEntityId:this.entityId,name:i.fileName,description:i.description,fileName:i.file.name}),this.documentsTable.renderRows()})}})}deleteDocument(e,i){this.dialog.open(Ao,{data:{deleteContext:`Document: ${i}`}}).afterClosed().subscribe(a=>{if(a.delete){this.callbackDelete(e);for(let o=0;o10))},dependencies:[Re,Ut,lt,Nc,Bo,Cm,R2,F2,$2,j2,N2,G2,B2,U2,W2,q2,Fl,Pe],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}table[_ngcontent-%COMP%]   .document-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}"]})}}return t})();var Rm=class extends Br{constructor(n){super(n),this.controlType="checkbox"}};var Nm=class extends Br{constructor(n={}){super(n),this.controlType="datepicker",this.minDate=n.minDate||new Date(2e3,0,1),this.maxDate=n.maxDate||new Date}};var Fm=class extends Br{constructor(n={}){super(n),this.controlType="datetimepicker",this.minDate=n.minDate||new Date(2e3,0,1),this.maxDate=n.maxDate||new Date}};var jm=class extends Br{constructor(n={}){super(n),this.controlType="input",this.type=n.type||"text"}};var Bm=class extends Br{constructor(n={}){super(n),this.controlType="select",this.options=n.options||{label:"",value:"",data:[]}}};var Um=(()=>{class t{constructor(e,i){this.dateUtils=e,this.settingsService=i,this.systemFields=["id","created_at","updated_at"],this.entitiesIdFields=["client_id","savings_account_id","savings_transaction_id","loan_id","group_id","center_id","office_id","product_loan_id","savings_product_id","share_product_id"]}getFormfields(e,i,r){return e.map(a=>{switch(a.columnDisplayType){case"INTEGER":case"STRING":case"DECIMAL":case"TEXT":return new jm({controlName:a.columnName,label:a.columnName,value:"",type:a.columnDisplayType==="INTEGER"||a.columnDisplayType==="DECIMAL"?"number":"text",required:!a.isColumnNullable});case"BOOLEAN":return new Rm({controlName:a.columnName,label:a.columnName,value:"",type:"checkbox",required:!a.isColumnNullable});case"CODELOOKUP":return new Bm({controlName:a.columnName,label:a.columnName,value:"",options:{label:"value",value:"id",data:a.columnValues},required:!a.isColumnNullable});case"DATE":return i.push(a.columnName),r.dateFormat||(r.dateFormat=Bn.DEFAULT_DATEFORMAT),new Nm({controlName:a.columnName,label:a.columnName,value:"",maxDate:this.settingsService.maxAllowedDate,required:!a.isColumnNullable});case"DATETIME":return i.push(a.columnName),r.dateFormat=Bn.DEFAULT_DATETIMEFORMAT,new Fm({controlName:a.columnName,label:a.columnName,value:"",maxDate:this.settingsService.maxAllowedDate,required:!a.isColumnNullable})}})}isEntityId(e){return this.entitiesIdFields.includes(e)}isSystemColumn(e){return this.systemFields.includes(e)||this.entitiesIdFields.includes(e)}filterSystemColumns(e){return e.filter((i,r)=>{if(!this.isSystemColumn(i.columnName))return i.idx=r,i})}getInputName(e){return e.columnName&&e.columnName.includes("_cd_")?e.columnName.split("_cd_")[0]:e.columnName}isNumeric(e){return this.isColumnType(e,"INTEGER")||this.isColumnType(e,"DECIMAL")}isDate(e){return this.isColumnType(e,"DATE")||this.isColumnType(e,"DATETIME")}isBoolean(e){return this.isColumnType(e,"BOOLEAN")}isDropdown(e){return this.isColumnType(e,"CODELOOKUP")}isString(e){return this.isColumnType(e,"STRING")}isText(e){return this.isColumnType(e,"TEXT")}isColumnType(e,i){return e===i}buildPayload(e,i,r,a){let o=!1;return e.forEach(s=>{let l=this.getInputName(s);this.isNumeric(s.columnDisplayType)?a[s.columnName]=i[l]*1:this.isDate(s.columnDisplayType)?(a[s.columnName]=this.dateUtils.formatDate(i[l],r),o=!0):a[s.columnName]=i[l]}),o&&(a.dateFormat=r),a}isSystemDefined(e){return this.systemFields.includes(e)}getName(e){return e&&e.includes("_cd_")?e.split("_cd_")[0]:e}isValidUrl(e){try{let i=new URL(e);return i.protocol.startsWith("http")||i.protocol.startsWith("https")}catch{return!1}}static{this.\u0275fac=function(i){return new(i||t)(k(Bn),k(zt))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Qoe(t,n){if(t&1){let e=le();p(0,"button",5),H("click",function(){F(e);let r=M();return j(r.add())}),d(1,`
-      `),R(2,"fa-icon",6),d(3),I(4,"translate"),f()}t&2&&(g(3),ne("",O(4,1,"labels.buttons.Add"),`
-    `))}function Koe(t,n){if(t&1){let e=le();p(0,"button",5),H("click",function(){F(e);let r=M();return j(r.edit())}),d(1,`
-      `),R(2,"fa-icon",7),d(3),I(4,"translate"),f()}t&2&&(g(3),ne("",O(4,1,"labels.buttons.Edit"),`
-    `))}function Zoe(t,n){if(t&1){let e=le();p(0,"button",8),H("click",function(){F(e);let r=M();return j(r.delete())}),d(1,`
-      `),R(2,"fa-icon",9),d(3),I(4,"translate"),f()}t&2&&(g(3),ne("",O(4,1,"labels.buttons.Delete"),`
-    `))}function Xoe(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"dateFormat"),f()),t&2){let e=M().index,i=M(2);g(),ne(`
-          `,O(2,1,i.dataObject.data[0].row[e]),`
-        `)}}function Joe(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"datetimeFormat"),f()),t&2){let e=M().index,i=M(2);g(),ne(`
-          `,O(2,1,i.dataObject.data[0].row[e]),`
-        `)}}function ese(t,n){if(t&1&&(p(0,"span"),d(1),f()),t&2){let e=M().index,i=M(2);g(),ne(`
-          `,i.dataObject.data[0].row[e],`
-        `)}}function tse(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"formatNumber"),f()),t&2){let e=M().index,i=M(2);g(),ne(`
-          `,O(2,1,i.dataObject.data[0].row[e]),`
-        `)}}function ise(t,n){if(t&1&&(p(0,"span",19),d(1),f()),t&2){let e=M().index,i=M(2);g(),ne(`
-          `,i.dataObject.data[0].row[e],`
-        `)}}function nse(t,n){if(t&1&&(p(0,"textarea",20),I(1,"prettyPrint"),d(2,"        "),f()),t&2){let e=M().index,i=M(2);C("innerHTML",O(1,1,i.dataObject.data[0].row[e].value),kl)}}function rse(t,n){if(t&1){let e=le();p(0,"span",22),d(1,`
-            `),p(2,"button",23),I(3,"translate"),H("click",function(){F(e);let r=M(2).index,a=M(2);return j(a.openSite(a.dataObject.data[0].row[r]))}),d(4,`
-              `),R(5,"fa-icon",24),d(6,`
-            `),f(),d(7,`
-          `),f()}t&2&&(g(2),Bt("matTooltip",O(3,1,"tooltips.View Link")))}function ase(t,n){if(t&1&&(p(0,"span"),d(1,`
-          `),w(2,rse,8,3,"span",21),d(3),f()),t&2){let e=M().index,i=M(2);g(2),C("ngIf",i.isValidUrl(i.dataObject.data[0].row[e])),g(),ne(`
-          `,i.dataObject.data[0].row[e],`
-        `)}}function ose(t,n){if(t&1&&(p(0,"div",12),d(1,`
-      `),p(2,"div",13),d(3),f(),d(4,`
-
-      `),p(5,"div",14),d(6,`
-        `),w(7,Xoe,3,3,"span",15),d(8,`
-        `),w(9,Joe,3,3,"span",15),d(10,`
-        `),w(11,ese,2,1,"span",15),d(12,`
-        `),w(13,tse,3,3,"span",15),d(14,`
-        `),w(15,ise,2,1,"span",16),d(16,`
-        `),w(17,nse,3,3,"textarea",17),d(18,`
-        `),w(19,ase,4,2,"span",18),d(20,`
-      `),f(),d(21,`
-    `),f()),t&2){let e=n.$implicit,i=M(2);C("ngClass",i.setAttributeClass(e.columnName)),g(3),Ht(`
-        `,e.columnDisplayName,`
-        `,i.getInputName(e.columnName),`
-      `),g(2),C("ngSwitch",i.getColumnType(e.columnDisplayType,e.columnType)),g(2),C("ngSwitchCase","DATE"),g(2),C("ngSwitchCase","DATETIME"),g(2),C("ngSwitchCase","INTEGER"),g(2),C("ngSwitchCase","DECIMAL"),g(2),C("ngSwitchCase","TEXT"),g(2),C("ngSwitchCase","JSON")}}function sse(t,n){if(t&1&&(p(0,"div",10),d(1,`
-    `),w(2,ose,22,10,"div",11),d(3,`
-  `),f()),t&2){let e=M();g(2),C("ngForOf",e.dataObject.columnHeaders)}}var RT=(()=>{class t{constructor(e,i,r,a,o,s){this.route=e,this.dateUtils=i,this.dialog=r,this.settingsService=a,this.datatables=o,this.systemService=s}ngOnInit(){this.route.params.subscribe(e=>{this.datatableName=e.datatableName})}add(){let e={locale:this.settingsService.language.code},i=[],r=this.datatables.filterSystemColumns(this.dataObject.columnHeaders),a=this.datatables.getFormfields(r,i,e),o={title:"Add "+this.datatableName+" for "+this.entityType,formfields:a};this.dialog.open(Oc,{data:o,width:"50rem"}).afterClosed().subscribe(l=>{l.data&&(i.forEach(h=>{l.data.value[h]=this.dateUtils.formatDate(l.data.value[h],e.dateFormat)}),e=Y(Y({},l.data.value),e),this.systemService.addEntityDatatableEntry(this.entityId,this.datatableName,e).subscribe(()=>{this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(h=>{this.dataObject=h})}))})}edit(){let e={locale:this.settingsService.language.code},i=[],r=this.datatables.filterSystemColumns(this.dataObject.columnHeaders),a=this.datatables.getFormfields(r,i,e);a=a.map((l,h)=>(l.controlType==="datepicker"?l.value=this.dataObject.data[0].row[r[h].idx]?this.dateUtils.parseDate(this.dataObject.data[0].row[r[h].idx]):"":l.controlType==="datetimepicker"?l.value=this.dataObject.data[0].row[r[h].idx]?this.dateUtils.parseDatetime(this.dataObject.data[0].row[r[h].idx]):"":l.value=this.dataObject.data[0].row[r[h].idx]?this.dataObject.data[0].row[r[h].idx]:"",l));let o={title:"Edit "+this.datatableName+" for "+this.entityType,formfields:a,layout:{addButtonText:"Save"}};this.dialog.open(Oc,{data:o,width:"50rem"}).afterClosed().subscribe(l=>{l.data&&(i.forEach(h=>{l.data.value[h]=this.dateUtils.formatDate(l.data.value[h],e.dateFormat)}),e=Y(Y({},l.data.value),e),this.systemService.editEntityDatatableEntry(this.entityId,this.datatableName,e).subscribe(()=>{this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(h=>{this.dataObject=h})}))})}delete(){this.dialog.open(Ao,{data:{deleteContext:` the contents of ${this.datatableName}`}}).afterClosed().subscribe(i=>{i.delete&&this.systemService.deleteDatatableContent(this.entityId,this.datatableName).subscribe(()=>{this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(r=>{this.dataObject=r})})})}setAttributeClass(e){return this.datatables.isSystemDefined(e)?"system-defined":"table-data"}getColumnType(e,i){switch(e){case"DATE":return e;case"DATETIME":return e;case"INTEGER":return e;case"DECIMAL":return e;case"TEXT":return i==="JSON"?"JSON":e;default:return e}}getInputName(e){return this.datatables.getName(e)}isValidUrl(e){return this.datatables.isValidUrl(e)}openSite(e){window.open(e,"_blank")}static{this.\u0275fac=function(i){return new(i||t)(m(kr),m(Bn),m(Gn),m(zt),m(Um),m(v2))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-datatable-single-row"]],inputs:{dataObject:"dataObject",entityId:"entityId",entityType:"entityType"},decls:19,vars:5,consts:[[1,"tab-container","mat-typography"],[1,"layout-row","align-end","m-b-20"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["class","delete-button","mat-raised-button","","color","warn",3,"click",4,"ngIf"],["class","m-t-10",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"],["icon","plus",1,"m-r-10"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",1,"delete-button",3,"click"],["icon","trash",1,"m-r-10"],[1,"m-t-10"],["class","flex-fill",3,"ngClass",4,"ngFor","ngForOf"],[1,"flex-fill",3,"ngClass"],[1,"mat-body-strong","left","flex-40"],[1,"right","flex-60",3,"ngSwitch"],[4,"ngSwitchCase"],["class","long-text",4,"ngSwitchCase"],["cdkTextareaAutosize","true","cdkAutosizeMaxRows","20","cdkAutosizeMinRows","1","class","json-textarea",3,"innerHTML",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"long-text"],["cdkTextareaAutosize","true","cdkAutosizeMaxRows","20","cdkAutosizeMinRows","1",1,"json-textarea",3,"innerHTML"],["class","m-r-5",4,"ngIf"],[1,"m-r-5"],["mat-icon-button","","matTooltipPosition","right",1,"small-icon",3,"click","matTooltip"],["icon","eye","size","lg"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
-  `),p(2,"h3"),d(3),f(),d(4,`
-  `),p(5,"div",1),d(6,`
-    `),w(7,Qoe,5,3,"button",2),d(8,`
-    `),w(9,Koe,5,3,"button",2),d(10,`
-    `),w(11,Zoe,5,3,"button",3),d(12,`
-  `),f(),d(13,`
-
-  `),R(14,"mat-divider"),d(15,`
-
-  `),w(16,sse,4,1,"div",4),d(17,`
-`),f(),d(18,`
-`)),i&2&&(g(3),E(r.datatableName),g(4),C("ngIf",!r.dataObject.data[0]),g(2),C("ngIf",r.dataObject.data[0]),g(2),C("ngIf",r.dataObject.data[0]),g(5),C("ngIf",r.dataObject.data.length>0))},dependencies:[Ni,ni,Re,mu,Dx,Sx,Ut,lt,bn,Ls,fh,qr,Pe,Fr,Fa,_s,Tu],styles:["body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%]   .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%]   .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}  .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   .delete-button[_ngcontent-%COMP%]{margin-left:1%}.table-name[_ngcontent-%COMP%]{padding-left:2%}.table-data[_ngcontent-%COMP%]{margin-top:3px}.system-defined[_ngcontent-%COMP%]{margin-top:3px;color:#4461e2!important;font-weight:100}.long-text[_ngcontent-%COMP%]{word-break:break-all;white-space:normal}.small-icon[_ngcontent-%COMP%]{width:30px;height:30px}.json-textarea[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return t})();var lse=["dataTable"];function dse(t,n){if(t&1){let e=le();p(0,"span"),d(1,`
-        `),p(2,"button",11),H("click",function(){F(e);let r=M();return j(r.add())}),d(3,`
-          `),R(4,"fa-icon",12),d(5),I(6,"translate"),f(),d(7,`
-      `),f()}t&2&&(g(5),ne("",O(6,1,"labels.buttons.Add"),`
-        `))}function use(t,n){if(t&1){let e=le();p(0,"span"),d(1,`
-          `),p(2,"button",14),H("click",function(){F(e);let r=M(2);return j(r.deleteSelected())}),d(3,`
-            `),R(4,"fa-icon",15),d(5),I(6,"translate"),f(),d(7,`
-        `),f()}t&2&&(g(5),ne(`
-            `,O(6,1,"labels.buttons.Delete Selected"),`
-          `))}function hse(t,n){if(t&1&&(pi(0),d(1,`
-        `),w(2,use,8,3,"span",13),d(3,`
-      `),fi()),t&2){let e=M();g(2),C("ngIf",e.isSelected)}}function mse(t,n){if(t&1){let e=le();p(0,"span"),d(1,`
-          `),p(2,"button",14),H("click",function(){F(e);let r=M(2);return j(r.delete())}),d(3,`
-            `),R(4,"fa-icon",15),d(5),I(6,"translate"),f(),d(7,`
-        `),f()}t&2&&(g(5),ne(`
-            `,O(6,1,"labels.buttons.Delete All"),`
-          `))}function pse(t,n){if(t&1&&(pi(0),d(1,`
-        `),w(2,mse,8,3,"span",13),d(3,`
-      `),fi()),t&2){let e=M();g(2),C("ngIf",e.datatableData.length>0)}}function fse(t,n){t&1&&R(0,"th",19)}function gse(t,n){if(t&1){let e=le();p(0,"td",20),d(1,`
-            `),p(2,"mat-checkbox",21),H("click",function(r){return F(e),j(r.stopPropagation())})("change",function(r){let a=F(e).$implicit,o=M(3);return j(r?o.itemToggle(a):null)}),d(3,`
-            `),f(),d(4,`
-          `),f()}if(t&2){let e=n.$implicit,i=M(3);g(2),C("checked",i.selection.isSelected(e))}}function _se(t,n){t&1&&(pi(0),d(1,`
-          `),w(2,fse,1,0,"th",17),d(3,`
-          `),w(4,gse,5,1,"td",18),d(5,`
-        `),fi())}function vse(t,n){if(t&1&&(p(0,"th",24),d(1),f()),t&2){let e=M(2).$implicit,i=M();g(),E(i.getInputName(e))}}function bse(t,n){if(t&1&&(p(0,"td",25),d(1),f()),t&2){let e=n.$implicit,i=M(2).$implicit,r=M();C("ngClass",r.isToDelete(e)),g(),ne(`
-            `,r.formatValue(e,i),`
-          `)}}function yse(t,n){t&1&&(pi(0),d(1,`
-          `),w(2,vse,2,1,"th",22),d(3,`
-          `),w(4,bse,2,2,"td",23),d(5,`
-        `),fi())}function Cse(t,n){if(t&1&&(pi(0,16),d(1,`
-        `),w(2,_se,6,0,"ng-container",13),d(3,`
-
-        `),w(4,yse,6,0,"ng-container",13),d(5,`
-      `),fi()),t&2){let e=n.$implicit,i=n.index;C("matColumnDef",e),g(2),C("ngIf",i===0),g(2),C("ngIf",i>0)}}function xse(t,n){t&1&&R(0,"tr",26)}function Mse(t,n){t&1&&R(0,"tr",27)}var NT=(()=>{class t{constructor(e,i,r,a,o,s,l,h,v){this.route=e,this.dateUtils=i,this.systemService=r,this.settingsService=a,this.dialog=o,this.datatables=s,this.dateFormat=l,this.dateTimeFormat=h,this.numberFormat=v,this.SELECT_NAME_FIELD="select",this.datatableColumns=[],this.isSelected=!1,this.isLoading=!1}ngOnInit(){this.selection=new ur(!0,[]),this.route.params.subscribe(e=>{this.datatableName=e.datatableName}),this.setData(),this.isSelected=!1}ngOnDestroy(){this.resetData()}ngOnChanges(e){this.setData()}setData(){this.datatableColumns=[this.SELECT_NAME_FIELD],this.dataObject.columnHeaders.filter(e=>{if(!this.datatables.isEntityId(e.columnName))return this.datatableColumns.push(e.columnName),e}),this.datatableData=this.dataObject.data,this.dataTableRef&&this.dataTableRef.renderRows()}resetData(){this.datatableName=null,this.datatableColumns=null,this.datatableData=null}getData(){this.isLoading=!0,this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(e=>{this.dataObject.data=e.data,this.showDeleteBotton=!1,this.dataTableRef&&this.setData(),this.isSelected=!1,this.isLoading=!1})}add(){let e={locale:this.settingsService.language.code},i=[],r=this.datatables.filterSystemColumns(this.dataObject.columnHeaders),a=this.datatables.getFormfields(r,i,e),o={title:"Add "+this.datatableName+" for "+this.entityType,formfields:a};this.dialog.open(Oc,{data:o,width:"50rem"}).afterClosed().subscribe(l=>{l.data&&(i.forEach(h=>{l.data.value[h]=this.dateUtils.formatDate(l.data.value[h],e.dateFormat)}),e=Y(Y({},l.data.value),e),this.systemService.addEntityDatatableEntry(this.entityId,this.datatableName,e).subscribe(h=>{this.getData()}))})}delete(){this.dialog.open(Ao,{data:{deleteContext:`the contents of ${this.datatableName}`}}).afterClosed().subscribe(i=>{i.delete&&this.systemService.deleteDatatableContent(this.entityId,this.datatableName).subscribe(()=>{this.getData()})})}deleteSelected(){this.dialog.open(Ao,{data:{deleteContext:`the ${this.selection.selected.length} items selected of ${this.datatableName}`}}).afterClosed().subscribe(i=>{i.delete?(this.isSelected=!1,this.selection.selected.forEach(r=>{this.systemService.deleteDatatableEntry(this.entityId,r.row[0],this.datatableName).subscribe(()=>{this.datatableData.forEach((a,o)=>{a.row[0]===r.row[0]&&(this.datatableData.splice(o,1),this.dataTableRef.renderRows(),this.selection=new ur(!0,[]),this.isSelected=this.selection.selected.length>0)})})})):(this.selection=new ur(!0,[]),this.isSelected=this.selection.selected.length>0)})}formatValue(e,i){let r="";if(this.dataObject.columnHeaders){let a=0;this.dataObject.columnHeaders.some(o=>{if(o.columnName===i){let s=o.columnDisplayType;return r=e.row[a],s==="DATE"?r=this.dateFormat.transform(r):s==="DATETIME"?r=this.dateTimeFormat.transform(r):(s==="INTEGER"||s==="DECIMAL")&&typeof r=="number"&&(r=this.numberFormat.transform(r)),!0}a+=1})}return r}isAllSelected(){let e=this.selection.selected;return this.datatableData.length===e}isAnySelected(){return this.selection.selected&&this.selection.selected.length>0}masterToggle(e){e.checked?this.datatableData.forEach(i=>this.selection.select(i)):this.selection=new ur(!0,[]),this.isSelected=this.selection.selected.length>0}itemToggle(e){this.selection.toggle(e),this.isSelected=this.selection.selected.length>0}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.position+1}`:`${this.isAllSelected()?"select":"deselect"} all`}isToDelete(e){return this.selection.isSelected(e)?"tobe-deleted":""}getInputName(e){return this.datatables.getName(e)}static{this.\u0275fac=function(i){return new(i||t)(m(kr),m(Bn),m(v2),m(zt),m(Gn),m(Um),m(Fr),m(Fa),m(fu))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-datatable-multi-row"]],viewQuery:function(i,r){if(i&1&&ue(lse,5),i&2){let a;G(a=W())&&(r.dataTableRef=a.first)}},inputs:{dataObject:"dataObject",entityId:"entityId",entityType:"entityType"},features:[Te],decls:34,vars:8,consts:[["dataTable",""],[1,"tab-container","mat-typography"],[1,"layout-row","align-start"],[1,"m-b-10"],[1,"action-button","m-b-7","gap-10px"],[4,"mifosxHasPermission"],[1,"m-t-10"],["mat-table","",1,"mat-elevation-z1","m-b-25",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"click"],["icon","plus",1,"m-r-10"],[4,"ngIf"],["mat-raised-button","","color","warn",1,"delete-button",3,"click"],["icon","trash",1,"m-r-10"],[3,"matColumnDef"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""],[1,"center",3,"click","change","checked"],["mat-header-cell","","class","right",4,"matHeaderCellDef"],["mat-cell","","class","right",3,"ngClass",4,"matCellDef"],["mat-header-cell","",1,"right"],["mat-cell","",1,"right",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(i,r){i&1&&(p(0,"div",1),d(1,`
-  `),p(2,"div",2),d(3,`
-    `),p(4,"div",3),d(5,`
-      `),p(6,"h3"),d(7),f(),d(8,`
-    `),f(),d(9,`
-    `),p(10,"div",4),d(11,`
-      `),w(12,dse,8,3,"span",5),d(13,`
-      `),w(14,hse,4,1,"ng-container",5),d(15,`
-      `),w(16,pse,4,1,"ng-container",5),d(17,`
-    `),f(),d(18,`
-  `),f(),d(19,`
-
-  `),p(20,"div",6),d(21,`
-    `),p(22,"table",7,0),d(24,`
-      `),w(25,Cse,6,3,"ng-container",8),d(26,`
-
-      `),w(27,xse,1,0,"tr",9),d(28,`
-      `),w(29,Mse,1,0,"tr",10),d(30,`
-    `),f(),d(31,`
-  `),f(),d(32,`
-`),f(),d(33,`
-`)),i&2&&(g(7),E(r.datatableName),g(5),C("mifosxHasPermission","CREATE_"+r.datatableName),g(2),C("mifosxHasPermission","DELETE_"+r.datatableName),g(2),C("mifosxHasPermission","DELETE_"+r.datatableName),g(6),C("dataSource",r.datatableData),g(3),C("ngForOf",r.datatableColumns),g(2),C("matHeaderRowDef",r.datatableColumns),g(2),C("matRowDefColumns",r.datatableColumns))},dependencies:[Ni,ni,Re,Ut,lt,Is,R2,F2,$2,j2,N2,G2,B2,U2,W2,q2,Fl,Pe],styles:["body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%]   .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%]   .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}  .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.tobe-deleted[_ngcontent-%COMP%]{text-decoration:line-through;color:#f39c12}"]})}}return t})();function Dse(t,n){if(t&1&&R(0,"mifosx-datatable-multi-row",1),t&2){let e=M();C("entityType",e.entityType)("entityId",e.entityId)("dataObject",e.entityDatatable)}}function Sse(t,n){if(t&1&&R(0,"mifosx-datatable-single-row",1),t&2){let e=M();C("entityType",e.entityType)("entityId",e.entityId)("dataObject",e.entityDatatable)}}var xPe=(()=>{class t{constructor(){this.multiRowDatatableFlag=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-entity-datatable-tab"]],inputs:{multiRowDatatableFlag:"multiRowDatatableFlag",entityDatatable:"entityDatatable",entityType:"entityType",entityId:"entityId"},decls:7,vars:2,consts:[[3,"entityType","entityId","dataObject",4,"ngIf"],[3,"entityType","entityId","dataObject"]],template:function(i,r){i&1&&(p(0,"div"),d(1,`
-  `),w(2,Dse,1,3,"mifosx-datatable-multi-row",0),d(3,`
-  `),w(4,Sse,1,3,"mifosx-datatable-single-row",0),d(5,`
-`),f(),d(6,`
-`)),i&2&&(g(2),C("ngIf",r.multiRowDatatableFlag),g(2),C("ngIf",!r.multiRowDatatableFlag))},dependencies:[Re,RT,NT]})}}return t})();var wPe=(()=>{class t{constructor(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-svg-icon"]],inputs:{iconFile:"iconFile",iconName:"iconName",iconClass:"iconClass",iconWidth:"iconWidth"},decls:5,vars:4,consts:[["preserveAspectRatio","xMidYMid meet",1,"icon",3,"ngClass"]],template:function(i,r){i&1&&(Jt(),p(0,"svg",0),d(1,`
-  `),R(2,"use"),d(3,`
-`),f(),d(4,`
-`)),i&2&&(Pt("width",r.iconWidth,"px"),C("ngClass",r.iconClass),g(2),ie("href","assets/images/icons_"+r.iconFile+".svg#"+r.iconName,null,"xlink"))},dependencies:[Ni],styles:["body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%]   .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%]   .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}  .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.icon[_ngcontent-%COMP%]{flex:1}.chargeoff[_ngcontent-%COMP%]{color:#ffa726}"]})}}return t})();function kse(t,n){t&1&&(p(0,"span"),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.Credit")))}function Ise(t,n){t&1&&(p(0,"span"),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.Debit")))}function Ese(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Reference Number")),g(4),E(e.data.journalEntry.referenceNumber)}}function Ose(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Comments")),g(4),E(e.data.journalEntry.comments)}}function Pse(t,n){t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th",5),d(3),I(4,"translate"),f(),d(5,`
-    `),f()),t&2&&(g(3),E(O(4,1,"labels.inputs.Payment Details")))}function Tse(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Payment Type")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.paymentType.name)}}function Vse(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Account Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.accountNumber)}}function Ase(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Cheque Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.checkNumber)}}function zse(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Routing Code")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.routingCode)}}function Lse(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Receipt Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.receiptNumber)}}function Hse(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Bank Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.bankNumber)}}function Rse(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M();g(3),E(O(4,2,"labels.inputs.Created by")),g(4),E(e.data.journalEntry.createdByUserName)}}var FT=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.existsPaymentDetails=!1,this.existsPaymentDetails=i.journalEntry.transactionDetails!=null&&i.journalEntry.transactionDetails.paymentDetails!=null}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-view-journal-entry"]],decls:143,vars:63,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],["colspan","2",1,"header"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",1),d(5,`
-  `),p(6,"table"),d(7,`
-    `),p(8,"tr"),d(9,`
-      `),p(10,"th"),d(11),I(12,"translate"),f(),d(13,`
-      `),p(14,"td"),d(15),f(),d(16,`
-    `),f(),d(17,`
-
-    `),p(18,"tr"),d(19,`
-      `),p(20,"th"),d(21),I(22,"translate"),f(),d(23,`
-      `),p(24,"td"),d(25),f(),d(26,`
-    `),f(),d(27,`
-
-    `),p(28,"tr"),d(29,`
-      `),p(30,"th"),d(31),I(32,"translate"),f(),d(33,`
-      `),p(34,"td"),d(35),f(),d(36,`
-    `),f(),d(37,`
-
-    `),p(38,"tr"),d(39,`
-      `),p(40,"th"),d(41),I(42,"translate"),f(),d(43,`
-      `),p(44,"td"),d(45),I(46,"dateFormat"),f(),d(47,`
-    `),f(),d(48,`
-
-    `),p(49,"tr"),d(50,`
-      `),p(51,"th"),d(52),I(53,"translate"),f(),d(54,`
-      `),p(55,"td"),d(56),f(),d(57,`
-    `),f(),d(58,`
-
-    `),p(59,"tr"),d(60,`
-      `),p(61,"th"),d(62),I(63,"translate"),f(),d(64,`
-      `),p(65,"td"),d(66),f(),d(67,`
-    `),f(),d(68,`
-
-    `),p(69,"tr"),d(70,`
-      `),p(71,"th"),d(72),I(73,"translate"),f(),d(74,`
-      `),p(75,"td"),d(76),f(),d(77,`
-    `),f(),d(78,`
-
-    `),p(79,"tr"),d(80,`
-      `),p(81,"th"),d(82,`
-        `),w(83,kse,3,3,"span",2),d(84,`
-        `),w(85,Ise,3,3,"span",2),d(86,`
-      `),f(),d(87,`
-      `),p(88,"td"),d(89),I(90,"formatNumber"),f(),d(91,`
-    `),f(),d(92,`
-
-    `),p(93,"tr"),d(94,`
-      `),p(95,"th"),d(96),I(97,"translate"),f(),d(98,`
-      `),p(99,"td"),d(100),f(),d(101,`
-    `),f(),d(102,`
-
-    `),w(103,Ese,9,4,"tr",2),d(104,`
-
-    `),w(105,Ose,9,4,"tr",2),d(106,`
-
-    `),w(107,Pse,6,3,"tr",2),d(108,`
-
-    `),w(109,Tse,9,4,"tr",2),d(110,`
-
-    `),w(111,Vse,9,4,"tr",2),d(112,`
-
-    `),w(113,Ase,9,4,"tr",2),d(114,`
-
-    `),w(115,zse,9,4,"tr",2),d(116,`
-
-    `),w(117,Lse,9,4,"tr",2),d(118,`
-
-    `),w(119,Hse,9,4,"tr",2),d(120,`
-
-    `),w(121,Rse,9,4,"tr",2),d(122,`
-
-    `),p(123,"tr"),d(124,`
-      `),p(125,"th"),d(126),I(127,"translate"),f(),d(128,`
-      `),p(129,"td"),d(130),I(131,"datetimeFormat"),f(),d(132,`
-    `),f(),d(133,`
-  `),f(),d(134,`
-`),f(),d(135,`
-
-`),p(136,"mat-dialog-actions",3),d(137,`
-  `),p(138,"button",4),d(139),I(140,"translate"),f(),d(141,`
-`),f(),d(142,`
-`)),i&2&&(g(),E(O(2,35,"labels.heading.View Journal Entry")),g(10),E(O(12,37,"labels.inputs.Office")),g(4),E(r.data.journalEntry.officeName),g(6),E(O(22,39,"labels.inputs.Entry ID")),g(4),E(r.data.journalEntry.id),g(6),E(O(32,41,"labels.inputs.Transaction ID")),g(4),E(r.data.journalEntry.transactionId),g(6),E(O(42,43,"labels.inputs.Transaction Date")),g(4),E(O(46,45,r.data.journalEntry.transactionDate)),g(7),E(O(53,47,"labels.inputs.Type")),g(4),E(r.data.journalEntry.glAccountType.value),g(6),E(O(63,49,"labels.inputs.Account Code")),g(4),E(r.data.journalEntry.glAccountId),g(6),E(O(73,51,"labels.inputs.Account Name")),g(4),E(r.data.journalEntry.glAccountName),g(7),C("ngIf",r.data.journalEntry.entryType.value==="CREDIT"),g(2),C("ngIf",r.data.journalEntry.entryType.value==="DEBIT"),g(4),Ht("",r.data.journalEntry.currency.displaySymbol," ",O(90,53,r.data.journalEntry.amount),""),g(7),E(O(97,55,"labels.inputs.Currency")),g(4),Ht("(",r.data.journalEntry.currency.code,") ",r.data.journalEntry.currency.name,""),g(3),C("ngIf",r.data.journalEntry.referenceNumber),g(2),C("ngIf",r.data.journalEntry.comments),g(2),C("ngIf",r.existsPaymentDetails),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.paymentType)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.accountNumber)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.checkNumber)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.routingCode)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.receiptNumber)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.bankNumber)),g(2),C("ngIf",r.existsPaymentDetails),g(5),E(O(127,57,"labels.inputs.Submitted on")),g(4),E(O(131,59,r.data.journalEntry.submittedOnDate)),g(9),E(O(140,61,"labels.buttons.Close")))},dependencies:[Re,lt,Si,yi,Ii,ki,Pe,Fr,Fa,_s],styles:["table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-align:left;font-weight:500;padding:0 .4rem 0 0}table[_ngcontent-%COMP%]   th.header[_ngcontent-%COMP%]{text-align:center;padding:.4rem .4rem 0 0}table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0 .4rem 0 0}"]})}}return t})();var Nse=t=>({revert:!0,comments:t}),Fse=()=>({redirect:!0});function jse(t,n){if(t&1&&(p(0,"div"),d(1,`
-  `),p(2,"h1",2),d(3),I(4,"translate"),f(),d(5,`
-  `),p(6,"div",3),d(7,`
-    `),p(8,"p"),d(9),I(10,"translate"),f(),d(11,`
-    `),p(12,"mat-form-field",4),d(13,`
-      `),p(14,"mat-label"),d(15),I(16,"translate"),f(),d(17,`
-      `),R(18,"textarea",5),d(19,`
-    `),f(),d(20,`
-  `),f(),d(21,`
-  `),p(22,"mat-dialog-actions",6),d(23,`
-    `),p(24,"button",7),d(25),I(26,"translate"),f(),d(27,`
-    `),p(28,"button",8),d(29),I(30,"translate"),f(),d(31,`
-  `),f(),d(32,`
-`),f()),t&2){let e=M();g(3),E(O(4,7,"labels.heading.Revert Transaction")),g(6),E(O(10,9,"labels.text.Revert this transaction?")),g(6),E(O(16,11,"labels.inputs.Comments")),g(3),C("formControl",e.comments),g(7),E(O(26,13,"labels.buttons.No")),g(3),C("mat-dialog-close",sr(17,Nse,e.comments.value)),g(),ne(`
-      `,O(30,15,"labels.buttons.Yes"),`
-    `)}}function Bse(t,n){if(t&1&&(d(0,`
-  `),p(1,"h1",2),d(2),I(3,"translate"),f(),d(4,`
-  `),p(5,"div",3),d(6,`
-    `),p(7,"h4"),d(8),I(9,"translate"),f(),d(10,`
-    `),p(11,"p"),d(12),I(13,"translate"),f(),d(14,`
-    `),p(15,"p"),d(16),I(17,"translate"),f(),d(18,`
-  `),f(),d(19,`
-  `),p(20,"mat-dialog-actions",6),d(21,`
-    `),p(22,"button",7),d(23),I(24,"translate"),f(),d(25,`
-    `),p(26,"button",8),d(27),I(28,"translate"),f(),d(29,`
-  `),f(),d(30,`
-`)),t&2){let e=M();g(2),E(O(3,8,"labels.heading.Transaction Reverted")),g(6),E(O(9,10,"labels.heading.Success!")),g(4),E(O(13,12,"labels.text.Journal entry reverse transaction")),g(4),Ht("",O(17,14,"labels.text.Transaction ID"),": ",e.data.transactionId,""),g(7),E(O(24,16,"labels.buttons.Close")),g(3),C("mat-dialog-close",or(20,Fse)),g(),ne(`
-      `,O(28,18,"labels.buttons.Redirect to New Transaction"),`
-    `)}}var jT=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.comments=new kn("")}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-revert-transaction"]],decls:5,vars:2,consts:[["reverted",""],[4,"ngIf","ngIfElse"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-fill"],["matInput","",3,"formControl"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","",3,"mat-dialog-close"]],template:function(i,r){if(i&1&&(w(0,jse,33,19,"div",1),d(1,`
-
-`),w(2,Bse,31,21,"ng-template",null,0,Hr),d(4,`
-`)),i&2){let a=Ct(3);C("ngIf",!r.data.reverted)("ngIfElse",a)}},dependencies:[Re,lt,Si,yi,Ii,ki,Kt,Di,$i,en,vi,hn,Pe]})}}return t})();var BT=(()=>{class t{constructor(e){this.http=e}getOffices(){let e=new X().set("orderBy","id");return this.http.get("/offices",{params:e})}getAccountingRules(e=!1){let i=new X;return e&&(i=i.set("associations","all")),this.http.get("/accountingrules",{params:i})}getCurrencies(){return this.http.get("/currencies")}getPaymentTypes(){return this.http.get("/paymenttypes")}createJournalEntry(e){return this.http.post("/journalentries",e)}getGlAccounts(){let e=new X().set("manualEntriesAllowed","true").set("usage","1").set("disabled","false");return this.http.get("/glaccounts",{params:e})}getJournalEntry(e){let i=new X().set("transactionId",e).set("transactionDetails","true");return this.http.get("/journalentries",{params:i})}getJournalEntries(e,i,r,a,o){let s=new X().set("offset",a.toString()).set("limit",o.toString()).set("sortOrder",r).set("orderBy",i);return e.forEach(function(l){l.value&&(s=s.set(l.type,l.value))}),this.http.get("/journalentries",{params:s})}revertTransaction(e,i){let r=new X().set("command","reverse"),a={};return i&&(a={comments:i}),this.http.post(`/journalentries/${e}`,a,{params:r})}getFinancialActivityAccounts(){return this.http.get("/financialactivityaccounts")}getFinancialActivityAccountsTemplate(){return this.http.get("/financialactivityaccounts/template")}createFinancialActivityAccount(e){return this.http.post("/financialactivityaccounts",e)}getFinancialActivityAccount(e,i=!1){let r=new X().set("template",i.toString());return this.http.get(`/financialactivityaccounts/${e}`,{params:r})}updateFinancialActivityAccount(e,i){return this.http.put(`/financialactivityaccounts/${e}`,i)}deleteFinancialActivityAccount(e){return this.http.delete(`/financialactivityaccounts/${e}`)}retrieveOpeningBalances(e){let i=new X().set("officeId",e);return this.http.get("/journalentries/openingbalance",{params:i})}defineOpeningBalances(e){let i=new X().set("command","defineOpeningBalance");return this.http.post("/journalentries",e,{params:i})}getChartOfAccounts(){return this.http.get("/glaccounts")}getChartOfAccountsTemplate(){return this.http.get("/glaccounts/template")}createGlAccount(e){return this.http.post("/glaccounts",e)}getGlAccount(e,i=!1){let r=new X().set("template",i.toString());return this.http.get(`/glaccounts/${e}`,{params:r})}updateGlAccount(e,i){return this.http.put(`/glaccounts/${e}`,i)}deleteGlAccount(e){return this.http.delete(`/glaccounts/${e}`)}getAccountingClosures(){return this.http.get("/glclosures")}createAccountingClosure(e){return this.http.post("/glclosures",e)}getAccountingClosure(e){return this.http.get(`/glclosures/${e}`)}updateAccountingClosure(e,i){return this.http.put(`/glclosures/${e}`,i)}deleteAccountingClosure(e){return this.http.delete(`/glclosures/${e}`)}getAccountingRulesTemplate(){return this.http.get("/accountingrules/template")}createAccountingRule(e){return this.http.post("/accountingrules",e)}getAccountingRule(e){return this.http.get(`/accountingrules/${e}`)}updateAccountingRule(e,i){return this.http.put(`/accountingrules/${e}`,i)}deleteAccountingRule(e){return this.http.delete(`/accountingrules/${e}`)}executePeriodicAccruals(e){return this.http.post("/runaccruals",e)}getProvisioningEntries(){return this.http.get("/provisioningentries")}createProvisioningEntry(e){return this.http.post("/provisioningentries",e)}getProvisioningEntry(e){return this.http.get(`/provisioningentries/${e}`)}getLoanProducts(){return this.http.get("/loanproducts")}getProvisioningCategories(){return this.http.get("/provisioningcategory")}getProvisioningEntryEntries(e){let i=new X().set("entryId",e);return this.http.get("/provisioningentries/entries",{params:i})}getProvisioningJournalEntries(e){let i=new X().set("entryId",e);return this.http.get("/journalentries/provisioning",{params:i})}createProvisioningJournalEntries(e){let i=new X().set("command","createjournalentry");return this.http.post(`/provisioningentries/${e}`,{},{params:i})}recreateProvisioningEntries(e){let i=new X().set("command","recreateprovisioningentry");return this.http.post(`/provisioningentries/${e}`,{},{params:i})}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function $se(t,n){t&1&&(p(0,"span"),d(1,`
-        `),R(2,"fa-icon",20),d(3),I(4,"translate"),f()),t&2&&(g(3),ne("",O(4,1,"labels.buttons.Revert Transaction"),`
-      `))}function Gse(t,n){t&1&&(p(0,"span"),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.buttons.Transaction Reverted")))}function Wse(t,n){if(t&1){let e=le();p(0,"button",19),H("click",function(){F(e);let r=M(3);return j(r.revertTransaction())}),d(1,`
-      `),w(2,$se,5,3,"span",0),d(3,`
-      `),w(4,Gse,3,3,"span",0),d(5,`
-    `),f()}if(t&2){let e=M(3);C("disabled",e.dataSource==null?null:e.dataSource.data[0].reversed),g(2),C("ngIf",!e.dataSource.data[0].reversed),g(2),C("ngIf",e.dataSource.data[0].reversed)}}function qse(t,n){t&1&&(p(0,"div",17),d(1,`
-    `),w(2,Wse,6,3,"button",18),d(3,`
-  `),f()),t&2&&(g(2),C("mifosxHasPermission","REVERSE_JOURNALENTRY"))}function Yse(t,n){if(t&1&&(p(0,"mat-card",23),d(1,`
-      `),p(2,"mat-card-content"),d(3,`
-        `),p(4,"div",24),d(5,`
-          `),p(6,"div",25),d(7),I(8,"translate"),f(),d(9,`
-
-          `),p(10,"div",26),d(11),f(),d(12,`
-
-          `),p(13,"div",25),d(14),I(15,"translate"),f(),d(16,`
-
-          `),p(17,"div",26),d(18),I(19,"dateFormat"),f(),d(20,`
-
-          `),p(21,"div",25),d(22),I(23,"translate"),f(),d(24,`
-
-          `),p(25,"div",26),d(26),f(),d(27,`
-
-          `),p(28,"div",25),d(29),I(30,"translate"),f(),d(31,`
-
-          `),p(32,"div",26),d(33),I(34,"datetimeFormat"),f(),d(35,`
-        `),f(),d(36,`
-      `),f(),d(37,`
-    `),f()),t&2){let e=M(3);g(7),ne(`
-            `,O(8,8,"labels.inputs.Office"),`
-          `),g(4),ne(`
-            `,e.dataSource.data[0].officeName,`
-          `),g(3),ne(`
-            `,O(15,10,"labels.inputs.Transaction Date"),`
-          `),g(4),ne(`
-            `,O(19,12,e.dataSource.data[0].transactionDate),`
-          `),g(4),ne(`
-            `,O(23,14,"labels.inputs.Created By"),`
-          `),g(4),ne(`
-            `,e.dataSource.data[0].createdByUserName,`
-          `),g(3),ne(`
-            `,O(30,16,"labels.inputs.Submitted on"),`
-          `),g(4),ne(`
-            `,O(34,18,e.dataSource.data[0].submittedOnDate),`
-          `)}}function Qse(t,n){if(t&1&&(p(0,"div",21),d(1,`
-    `),w(2,Yse,38,20,"mat-card",22),d(3,`
-  `),f()),t&2){let e=M(2);g(2),C("ngIf",e.dataSource)}}function Kse(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
-          `,O(2,1,"labels.inputs.Entry ID"),`
-        `))}function Zse(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.id)}}function Xse(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),E(O(2,1,"labels.inputs.Type")))}function Jse(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.glAccountType.value)}}function ece(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
-          `,O(2,1,"labels.inputs.Account Code"),`
-        `))}function tce(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.glAccountCode)}}function ice(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
-          `,O(2,1,"labels.inputs.Account Name"),`
-        `))}function nce(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.glAccountName)}}function rce(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
-          `,O(2,1,"labels.inputs.Debit"),`
-        `))}function ace(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"formatNumber"),f()),t&2){let e=M().$implicit;g(),Ht(`
-            `,e.currency.displaySymbol||e.currency.code,`
-            `,O(2,2,e.amount),`
-          `)}}function oce(t,n){if(t&1&&(p(0,"td",28),d(1,`
-          `),w(2,ace,3,4,"span",0),d(3,`
-        `),f()),t&2){let e=n.$implicit;g(2),C("ngIf",e.entryType.value==="DEBIT")}}function sce(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
-          `,O(2,1,"labels.inputs.Credit"),`
-        `))}function cce(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"formatNumber"),f()),t&2){let e=M().$implicit;g(),Ht(`
-            `,e.currency.displaySymbol||e.currency.code,`
-            `,O(2,2,e.amount),`
-          `)}}function lce(t,n){if(t&1&&(p(0,"td",28),d(1,`
-          `),w(2,cce,3,4,"span",0),d(3,`
-        `),f()),t&2){let e=n.$implicit;g(2),C("ngIf",e.entryType.value==="CREDIT")}}function dce(t,n){t&1&&R(0,"tr",29)}function uce(t,n){if(t&1){let e=le();p(0,"tr",30),H("click",function(){let r=F(e).$implicit,a=M(2);return j(a.viewJournalEntry(r))}),f()}}function hce(t,n){if(t&1){let e=le();p(0,"div"),d(1,`
-  `),w(2,qse,4,1,"div",2),d(3,`
-
-  `),w(4,Qse,4,1,"div",1),d(5,`
-
-  `),p(6,"div",3),d(7,`
-    `),p(8,"table",4),d(9,`
-      `),pi(10,5),d(11,`
-        `),w(12,Kse,3,3,"th",6),d(13,`
-        `),w(14,Zse,2,1,"td",7),d(15,`
-      `),fi(),d(16,`
-
-      `),pi(17,8),d(18,`
-        `),w(19,Xse,3,3,"th",6),d(20,`
-        `),w(21,Jse,2,1,"td",7),d(22,`
-      `),fi(),d(23,`
-
-      `),pi(24,9),d(25,`
-        `),w(26,ece,3,3,"th",6),d(27,`
-        `),w(28,tce,2,1,"td",7),d(29,`
-      `),fi(),d(30,`
-
-      `),pi(31,10),d(32,`
-        `),w(33,ice,3,3,"th",6),d(34,`
-        `),w(35,nce,2,1,"td",7),d(36,`
-      `),fi(),d(37,`
-
-      `),pi(38,11),d(39,`
-        `),w(40,rce,3,3,"th",6),d(41,`
-        `),w(42,oce,4,1,"td",7),d(43,`
-      `),fi(),d(44,`
-
-      `),pi(45,12),d(46,`
-        `),w(47,sce,3,3,"th",6),d(48,`
-        `),w(49,lce,4,1,"td",7),d(50,`
-      `),fi(),d(51,`
-
-      `),w(52,dce,1,0,"tr",13),d(53,`
-      `),w(54,uce,1,0,"tr",14),d(55,`
-    `),f(),d(56,`
-
-    `),p(57,"div",15),d(58,`
-      `),p(59,"button",16),H("click",function(){F(e);let r=M();return j(r.goBack())}),d(60),I(61,"translate"),f(),d(62,`
-    `),f(),d(63,`
-  `),f(),d(64,`
-`),f()}if(t&2){let e=M();g(2),C("ngIf",e.dataSource==null?null:e.dataSource.data[0].manualEntry),g(2),C("ngIf",e.isViewTransaction()),g(4),C("dataSource",e.dataSource),g(44),C("matHeaderRowDef",e.displayedColumns),g(2),C("matRowDefColumns",e.displayedColumns),g(6),ne(`
-        `,O(61,6,"labels.buttons.Back"),`
-      `)}}function mce(t,n){if(t&1){let e=le();p(0,"div",21),d(1,`
-  `),p(2,"div",31),d(3,`
-    `),p(4,"div",32),d(5,`
-      `),R(6,"i",33),d(7),I(8,"translate"),f(),d(9,`
-  `),f(),d(10,`
-
-  `),p(11,"div",15),d(12,`
-    `),p(13,"button",16),H("click",function(){F(e);let r=M();return j(r.goBack())}),d(14),I(15,"translate"),f(),d(16,`
-  `),f(),d(17,`
-`),f()}t&2&&(g(7),ne(`
-      `,O(8,2,"labels.text.No data found"),`
-    `),g(7),ne(`
-      `,O(15,4,"labels.buttons.Back"),`
-    `))}var BPe=(()=>{class t{constructor(e,i,r,a,o){this.accountingService=e,this.route=i,this.router=r,this.dialog=a,this.location=o,this.displayedColumns=["id","glAccountType","glAccountCode","glAccountName","debit","credit"],this.isJournalEntryLoaded=!1}ngOnInit(){this.route.data.subscribe(e=>{this.title=e.title,this.isJournalEntryLoaded=!1,this.isViewTransaction()?(this.transaction=e.transaction,e.transaction.pageItems.length>0&&(this.isJournalEntryLoaded=!0,this.transactionId=e.transaction.pageItems[0].transactionId)):this.isViewTransfer()&&(this.journalEntriesData=e.transferJournalEntryData.journalEntryData.content,this.isJournalEntryLoaded=!0),this.setTransaction()})}isViewTransaction(){return this.title==="View Transaction"}isViewTransfer(){return this.title==="View Transfer"}setTransaction(){this.journalEntriesData!=null?this.dataSource=new jc(this.journalEntriesData):(this.dataSource=new jc(this.transaction.pageItems),this.dataSource.sortingDataAccessor=(e,i)=>{switch(i){case"glAccountType":return e.glAccountType.value;case"debit":return e.amount;case"credit":return e.amount;default:return e[i]}}),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}viewJournalEntry(e){this.dialog.open(FT,{data:{journalEntry:e}})}revertTransaction(e){this.dialog.open(jT,{data:{reverted:this.dataSource.data[0].reversed,transactionId:e}}).afterClosed().subscribe(r=>{r.revert?this.accountingService.revertTransaction(this.transactionId,r.comments).subscribe(a=>{this.dataSource.data[0].reversed=!0,this.revertTransaction(a.transactionId)}):r.redirect&&this.router.navigate(["../",e],{relativeTo:this.route})})}goBack(){this.location.back()}static{this.\u0275fac=function(i){return new(i||t)(m(BT),m(kr),m(Ir),m(Gn),m(Nr))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-view-journal-entry-transaction"]],viewQuery:function(i,r){if(i&1&&(ue(Nc,7),ue(Bo,7)),i&2){let a;G(a=W())&&(r.paginator=a.first),G(a=W())&&(r.sort=a.first)}},decls:4,vars:2,consts:[[4,"ngIf"],["class","container m-b-20",4,"ngIf"],["class","layout-row layout-align-end container m-b-20",4,"ngIf"],[1,"mat-elevation-z8","container","layout-align-center","layout-row-wrap"],["mat-table","","matSort","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","class","center","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","glAccountType"],["matColumnDef","glAccountCode"],["matColumnDef","glAccountName"],["matColumnDef","debit"],["matColumnDef","credit"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","select-row",3,"click",4,"matRowDef","matRowDefColumns"],[1,"layout-row","layout-align-center","m-t-15","m-b-15","gap-5px","layout-xs-column"],["type","button","color","primary","mat-raised-button","",3,"click"],[1,"layout-row","layout-align-end","container","m-b-20"],["mat-raised-button","","color","primary",3,"disabled","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",3,"click","disabled"],["icon","undo",1,"m-r-10"],[1,"container","m-b-20"],["class","mat-elevation-z8",4,"ngIf"],[1,"mat-elevation-z8"],[1,"layout-row-wrap"],[1,"flex-25","header"],[1,"flex-25"],["mat-header-cell","","mat-sort-header","",1,"center"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"select-row",3,"click"],[1,"alert"],[1,"message"],[1,"fa","fa-exclamation-circle","alert-check"]],template:function(i,r){i&1&&(w(0,hce,65,8,"div",0),d(1,`
-
-`),w(2,mce,18,6,"div",1),d(3,`
-`)),i&2&&(C("ngIf",r.isJournalEntryLoaded),g(2),C("ngIf",!r.isJournalEntryLoaded))},dependencies:[Re,Ut,lt,XO,JO,Bo,Cm,R2,F2,$2,j2,N2,G2,B2,U2,W2,q2,Fl,Pe,Fr,Fa,_s],styles:["table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%]   .select-row[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return t})();function pce(t,n){if(t&1){let e=le();p(0,"span",4),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",O(3,1,"labels.text.Copy Account Number")))}function fce(t,n){if(t&1&&(p(0,"span",6),d(1,`
-    `),p(2,"a",7),d(3),f(),d(4,`
-  `),f()),t&2){let e=M();g(2),Bt("href",e.getAccountLink(),Hf),g(),E(e.accountNo)}}function gce(t,n){if(t&1&&(p(0,"span",6),d(1),f()),t&2){let e=M();g(),E(e.accountNo)}}function _ce(t,n){if(t&1){let e=le();p(0,"span",8),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",O(3,1,"labels.text.Copy Account Number")))}var $Pe=(()=>{class t{constructor(e){this.clipboard=e,this.display="right",this.clientId=null,this.accountId=null,this.accountType=null,this.iconVisible=!1,this.displayL=!1,this.displayR=!0}ngOnInit(){this.displayL=this.display==="left",this.displayR=this.display==="right"}copyValue(){this.clipboard.copy(this.accountNo)}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}getAccountLink(){return this.accountType?`/#/clients/${this.clientId}/${this.getAccountType()}/${this.accountId}`:""}getAccountType(){if(this.accountType==="1")return"loan-accounts";if(this.accountType==="2")return"savings-accounts"}static{this.\u0275fac=function(i){return new(i||t)(m(Q2))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-account-number"]],inputs:{accountNo:"accountNo",display:"display",clientId:"clientId",accountId:"accountId",accountType:"accountType"},decls:11,vars:4,consts:[[3,"mouseenter","mouseleave"],["class","m-l-5",3,"click",4,"ngIf"],["class","m-l-5",4,"ngIf"],["class","m-l-3",3,"click",4,"ngIf"],[1,"m-l-5",3,"click"],["icon","copy","size","sm",3,"title"],[1,"m-l-5"],[3,"href"],[1,"m-l-3",3,"click"]],template:function(i,r){i&1&&(p(0,"span",0),H("mouseenter",function(){return r.mouseEnter()})("mouseleave",function(){return r.mouseLeave()}),d(1,`
-  `),w(2,pce,4,3,"span",1),d(3,`
-  `),w(4,fce,5,2,"span",2),d(5,`
-  `),w(6,gce,2,1,"span",2),d(7,`
-  `),w(8,_ce,4,3,"span",3),d(9,`
-`),f(),d(10,`
-`)),i&2&&(g(2),C("ngIf",r.displayL&&r.iconVisible),g(2),C("ngIf",r.accountType),g(2),C("ngIf",!r.accountType),g(2),C("ngIf",r.displayR&&r.iconVisible))},dependencies:[Re,Ut,Pe]})}}return t})();function vce(t,n){if(t&1){let e=le();p(0,"span",4),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",O(3,1,"labels.text.Copy Account Number")))}function bce(t,n){if(t&1){let e=le();p(0,"span",6),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",O(3,1,"labels.text.Copy Account Number")))}var WPe=(()=>{class t{constructor(e){this.clipboard=e,this.display="right",this.iconVisible=!1,this.displayL=!1,this.displayR=!0}ngOnInit(){this.displayL=this.display==="left",this.displayR=this.display==="right"}copyValue(){this.clipboard.copy(this.entityName)}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}static{this.\u0275fac=function(i){return new(i||t)(m(Q2))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-entity-name"]],inputs:{entityName:"entityName",display:"display"},decls:11,vars:3,consts:[[3,"mouseenter","mouseleave"],["class","m-l-5",3,"click",4,"ngIf"],[1,"m-l-5"],["class","m-l-3",3,"click",4,"ngIf"],[1,"m-l-5",3,"click"],["icon","copy","size","sm",3,"title"],[1,"m-l-3",3,"click"]],template:function(i,r){i&1&&(p(0,"span",0),H("mouseenter",function(){return r.mouseEnter()})("mouseleave",function(){return r.mouseLeave()}),d(1,`
-  `),w(2,vce,4,3,"span",1),d(3,`
-  `),p(4,"span",2)(5,"b"),d(6),f()(),d(7,`
-  `),w(8,bce,4,3,"span",3),d(9,`
-`),f(),d(10,`
-`)),i&2&&(g(2),C("ngIf",r.displayL&&r.iconVisible),g(4),E(r.entityName),g(2),C("ngIf",r.displayR&&r.iconVisible))},dependencies:[Re,Ut,Pe]})}}return t})();function yce(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M(2);g(3),E(O(4,2,"labels.inputs.Account No")),g(4),E(e.paymentDetailData.accountNumber)}}function Cce(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M(2);g(3),E(O(4,2,"labels.inputs.Cheque Number")),g(4),E(e.paymentDetailData.checkNumber)}}function xce(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td",5),d(7),f(),d(8,`
-    `),f()),t&2){let e=M(2);g(3),E(O(4,2,"labels.inputs.Routing Code")),g(4),E(e.paymentDetailData.routingCode)}}function Mce(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M(2);g(3),E(O(4,2,"labels.inputs.Receipt No")),g(4),E(e.paymentDetailData.receiptNumber)}}function wce(t,n){if(t&1&&(p(0,"tr"),d(1,`
-      `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
-      `),p(6,"td"),d(7),f(),d(8,`
-    `),f()),t&2){let e=M(2);g(3),E(O(4,2,"labels.inputs.Bank No")),g(4),E(e.paymentDetailData.bankNumber)}}function Dce(t,n){if(t&1&&(p(0,"table"),d(1,`
-  `),p(2,"tbody"),d(3,`
-    `),p(4,"tr"),d(5,`
-      `),p(6,"td",4),d(7),I(8,"translate"),f(),d(9,`
-    `),f(),d(10,`
-    `),w(11,yce,9,4,"tr",3),d(12,`
-    `),w(13,Cce,9,4,"tr",3),d(14,`
-    `),w(15,xce,9,4,"tr",3),d(16,`
-    `),w(17,Mce,9,4,"tr",3),d(18,`
-    `),w(19,wce,9,4,"tr",3),d(20,`
-  `),f(),d(21,`
-`),f()),t&2){let e=M();g(7),E(O(8,6,"labels.inputs.Payment Details")),g(4),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.accountNumber)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.checkNumber)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.routingCode)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.receiptNumber)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.bankNumber))}}var YPe=(()=>{class t{constructor(){}hasSomeValue(){return this.isNotNullOrEmpty(this.paymentDetailData.accountNumber)||this.isNotNullOrEmpty(this.paymentDetailData.bankNumber)||this.isNotNullOrEmpty(this.paymentDetailData.checkNumber)||this.isNotNullOrEmpty(this.paymentDetailData.receiptNumber)||this.isNotNullOrEmpty(this.paymentDetailData.routingCode)}isNotNullOrEmpty(e){return e!==null&&e!==""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-transaction-payment-detail"]],inputs:{paymentDetailData:"paymentDetailData"},decls:12,vars:5,consts:[[1,"layout-row-wrap","card-content"],[1,"flex-50","mat-body-strong"],[1,"flex-50"],[4,"ngIf"],["colspan","2",1,"mat-body-strong","center"],[1,"mat-body-strong"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
-  `),p(2,"div",1),d(3),I(4,"translate"),f(),d(5,`
-
-  `),p(6,"div",2),d(7),f(),d(8,`
-`),f(),d(9,`
-`),w(10,Dce,22,8,"table",3),d(11,`
-`)),i&2&&(g(3),ne(`
-    `,O(4,3,"labels.inputs.Payment Type"),`
-  `),g(4),ne(`
-    `,r.paymentDetailData.paymentType.name,`
-  `),g(3),C("ngIf",r.hasSomeValue()))},dependencies:[Re,Pe],styles:["body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%]   .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%]   .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}  .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.card-content[_ngcontent-%COMP%]{width:100%;padding-bottom:25px}.card-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:left}.card-content[_ngcontent-%COMP%]   .attribute[_ngcontent-%COMP%]{font-weight:500}"]})}}return t})();var KPe=(()=>{class t{constructor(){this.disablePrevious=!1,this.disableNext=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-stepper-buttons"]],inputs:{disablePrevious:"disablePrevious",disableNext:"disableNext"},decls:13,vars:2,consts:[[1,"flex-fill","layout-row","layout-align-center","margin-t","gap-2percent","layout-xs-column"],["mat-raised-button","","matStepperPrevious","",3,"disabled"],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
-  `),p(2,"button",1),d(3,`
-    `),R(4,"fa-icon",2),d(5,`
-    Previous
-  `),f(),d(6,`
-  `),p(7,"button",3),d(8,`
-    Next
-    `),R(9,"fa-icon",4),d(10,`
-  `),f(),d(11,`
-`),f(),d(12,`
-`)),i&2&&(g(2),C("disabled",r.disablePrevious),g(5),C("disabled",r.disableNext))},dependencies:[Ut,lt,YP,QP]})}}return t})();function Sce(t,n){if(t&1&&(p(0,"mat-option",7),d(1),f()),t&2){let e=n.$implicit;C("value",e.id),g(),ne(`
-        `,"("+e.glCode+") "+e.name,`
-      `)}}function kce(t,n){t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),I(3,"translate"),p(4,"strong"),d(5),I(6,"translate"),f(),d(7,`
-    `),f()),t&2&&(g(),Ht(`
-      `,O(2,3,"labels.inputs.Account")," ",O(3,5,"labels.commons.is"),`
-      `),g(4),E(O(6,7,"labels.commons.required")))}function Ice(t,n){if(t&1&&(p(0,"mat-form-field",2),d(1,`
-    `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-
-    `),p(6,"mat-select",3),d(7,`
-      `),p(8,"mat-option"),d(9,`
-        `),R(10,"ngx-mat-select-search",4),d(11,`
-      `),f(),d(12,`
-      `),w(13,Sce,2,2,"mat-option",5),I(14,"async"),d(15,`
-    `),f(),d(16,`
-    `),w(17,kce,8,9,"mat-error",6),d(18,`
-  `),f()),t&2){let e=M();g(3),E(O(4,7,"labels.inputs."+e.inputLabel)),g(3),C("formControl",e.inputFormControl),g(4),Bt("placeholderLabel",e.placeHolderLabel),Bt("noEntriesFoundLabel",e.noEntriesFoundLabel),C("formControl",e.filterFormCtrl),g(3),C("ngForOf",O(14,9,e.glAccountData)),g(4),C("ngIf",e.inputFormControl.hasError("required"))}}function Ece(t,n){if(t&1&&(p(0,"mat-option",7),d(1),f()),t&2){let e=n.$implicit;C("value",e.id),g(),ne(`
-        `,"("+e.glCode+") "+e.name,`
-      `)}}function Oce(t,n){if(t&1&&(p(0,"mat-form-field",2),d(1,`
-    `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-
-    `),p(6,"mat-select",8),d(7,`
-      `),p(8,"mat-option"),d(9,`
-        `),p(10,"ngx-mat-select-search",9),d(11,`
-        `),f(),d(12,`
-      `),f(),d(13,`
-      `),w(14,Ece,2,2,"mat-option",5),I(15,"async"),d(16,`
-    `),f(),d(17,`
-  `),f()),t&2){let e=M();g(3),E(O(4,6,"labels.inputs."+e.inputLabel)),g(3),C("formControl",e.inputFormControl),g(4),Bt("placeholderLabel",e.placeHolderLabel),Bt("noEntriesFoundLabel",e.noEntriesFoundLabel),C("formControl",e.filterFormCtrl),g(4),C("ngForOf",O(15,8,e.glAccountData))}}var tTe=(()=>{class t{constructor(e){this.translateService=e,this.glAccountList=[],this.required=!1,this.inputLabel="",this.glAccountData=new ea(1),this.filterFormCtrl=new kn(""),this._onDestroy=new U,this.placeHolderLabel="",this.noEntriesFoundLabel=""}ngOnInit(){this.filterFormCtrl.valueChanges.pipe(_e(this._onDestroy)).subscribe(()=>{this.searchGLAccount()}),this.placeHolderLabel=this.translateService.instant("labels.text.Search"),this.noEntriesFoundLabel=this.translateService.instant("labels.text.No data found")}ngOnChanges(e){this.glAccountList&&this.glAccountData.next(this.glAccountList.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}searchGLAccount(){if(this.glAccountList){let e=this.filterFormCtrl.value.toLowerCase();e?this.glAccountData.next(this.glAccountList.filter(i=>i.name.toLowerCase().indexOf(e)>=0||i.glCode.toLowerCase().indexOf(e)>=0)):this.glAccountData.next(this.glAccountList.slice())}}static{this.\u0275fac=function(i){return new(i||t)(m(ca))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-gl-account-selector"]],inputs:{inputFormControl:"inputFormControl",glAccountList:"glAccountList",required:"required",inputLabel:"inputLabel"},features:[Te],decls:7,vars:2,consts:[[1,"layout-column","m-r-10"],["class","flex-100",4,"ngIf"],[1,"flex-100"],["required","",3,"formControl"],[3,"placeholderLabel","noEntriesFoundLabel","formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[3,"formControl"],[3,"formControl","placeholderLabel","noEntriesFoundLabel"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
-  `),w(2,Ice,19,11,"mat-form-field",1),d(3,`
-
-  `),w(4,Oce,18,10,"mat-form-field",1),d(5,`
-`),f(),d(6,`
-`)),i&2&&(g(2),C("ngIf",r.required),g(2),C("ngIf",!r.required))},dependencies:[ni,Re,Bi,Kt,Di,pr,Tn,OT,vi,da,hn,pu,Pe]})}}return t})();function Pce(t,n){if(t&1&&(p(0,"span",2),d(1,`
-  `),p(2,"div",3),d(3),I(4,"translate"),f(),d(5,`
-
-  `),p(6,"div",4),d(7),f(),d(8,`
-`),f()),t&2){let e=M();g(2),C("ngClass",e.getWithClass(e.withTitle)),g(),ne(`
-    `,O(4,4,"labels.inputs."+e.accountTitle),`
-  `),g(3),C("ngClass",e.getWithClass(e.withAccount)),g(),ne(`
-    `,e.glAccountValue(),`
-  `)}}function Tce(t,n){if(t&1&&(p(0,"div",5),d(1),f()),t&2){let e=M();g(),ne(`
-  `,e.glAccountValue(),`
-`)}}var UT=(()=>{class t{constructor(){this.glAccount=null,this.accountTitle=null,this.withTitle="50%",this.withAccount="50%"}glAccountValue(){return this.glAccount?"("+this.glAccount.glCode+") "+(this.glAccount.nameDecorated?this.glAccount.nameDecorated:this.glAccount.name):""}getWithClass(e){return"flex-"+e.replace("%","")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-gl-account-display"]],inputs:{glAccount:"glAccount",accountTitle:"accountTitle",withTitle:"withTitle",withAccount:"withAccount"},decls:4,vars:2,consts:[["class","layout-row",4,"ngIf"],["class","flex-100",4,"ngIf"],[1,"layout-row"],[1,"header",3,"ngClass"],[3,"ngClass"],[1,"flex-100"]],template:function(i,r){i&1&&(w(0,Pce,9,6,"span",0),d(1,`
-
-`),w(2,Tce,2,1,"div",1),d(3,`
-`)),i&2&&(C("ngIf",r.accountTitle),g(2),C("ngIf",!r.accountTitle))},dependencies:[Ni,Re,Pe],styles:["div[_ngcontent-%COMP%]{margin:.3rem 0;word-wrap:break-word}div.header[_ngcontent-%COMP%]{font-weight:500}"]})}}return t})();var $T=(()=>{class t{getAccountingRulesForShares(){return["NONE","Cash"]}getAccountingRulesForSavings(){return["NONE","Cash","Accrual (periodic)"]}getAccountingRulesForLoans(){return["NONE","Cash","Accrual (periodic)","Accrual (upfront)"]}getAccountRuleName(e){return["ACCRUAL PERIODIC","ACCRUAL (PERIODIC)"].includes(e)?"Accrual (periodic)":["ACCRUAL UPFRONT","ACCRUAL (UPFRONT)"].includes(e)?"Accrual (upfront)":e.startsWith("CASH")?"Cash":e==="NONE"?"NONE":""}isNoneAccounting(e){return e.id===1}isNoneAccountingRuleId(e){return e===1}isCashOrAccrualAccounting(e){return e.id===2||e.id===3}isCashOrAccrualAccountingRuleId(e){return e===2||e===3}isAccrualAccounting(e){return e.id===3}isAccrualAccountingRuleId(e){return e===3}getAccountingRuleFrom(e){return e===1?{code:"NONE",id:e,value:"None"}:e===2?{code:"CASH",id:e,value:"Cash"}:e===3?{code:"ACCRUAL_PERIODIC",id:e,value:"Accural (periodic)"}:e===4?{code:"ACCRUAL_UPFRONT",id:e,value:"Accural (upfront)"}:{code:"INVALID",id:e,value:"Invalid"}}glAccountLookUp(e,i){let r=null;return e&&i.some(a=>{a.id===e&&(r={id:a.id,name:a.name,glCode:a.glCode})}),r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function zce(t,n){if(t&1&&(p(0,"div",3),d(1,`
-    `),p(2,"span",4),d(3),I(4,"translate"),f(),d(5,`
-    `),p(6,"span",5),d(7),I(8,"translate"),f(),d(9,`
-  `),f()),t&2){let e=M();g(3),ne("",O(4,2,"labels.inputs.Type"),":"),g(4),E(O(8,4,"labels.accounting."+e.getAccountingRuleName(e.accountingRule.value)))}}function Lce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Overdraft portfolio")("glAccount",e.accountingMappings.overdraftPortfolioControl)("withTitle","40%")}}function Hce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Fees Receivable")("glAccount",e.accountingMappings.feeReceivableAccount)("withTitle","40%")}}function Rce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Penalties Receivable")("glAccount",e.accountingMappings.penaltyReceivableAccount)("withTitle","40%")}}function Nce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Interest Payable")("glAccount",e.accountingMappings.interestPayableAccount)("withTitle","40%")}}function Fce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Escheat liability")("glAccount",e.accountingMappings.escheatLiabilityAccount)("withTitle","40%")}}function jce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Income from Interest")("glAccount",e.accountingMappings.incomeFromInterest)("withTitle","40%")}}function Bce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
-    `),f()),t&2){let e=M(2);C("accountTitle","Write-off")("glAccount",e.accountingMappings.writeOffAccount)("withTitle","40%")}}function Uce(t,n){if(t&1&&(p(0,"div",6),d(1,`
-    `),p(2,"h4",7),d(3),I(4,"translate"),f(),d(5,`
-    `),p(6,"mifosx-gl-account-display",8),d(7,`
-    `),f(),d(8,`
-    `),w(9,Lce,2,3,"mifosx-gl-account-display",9),d(10,`
-    `),w(11,Hce,2,3,"mifosx-gl-account-display",9),d(12,`
-    `),w(13,Rce,2,3,"mifosx-gl-account-display",9),d(14,`
-
-    `),p(15,"h4",7),d(16),I(17,"translate"),f(),d(18,`
-    `),p(19,"mifosx-gl-account-display",8),d(20,`
-    `),f(),d(21,`
-    `),p(22,"mifosx-gl-account-display",8),d(23,`
-    `),f(),d(24,`
-    `),w(25,Nce,2,3,"mifosx-gl-account-display",9),d(26,`
-    `),w(27,Fce,2,3,"mifosx-gl-account-display",9),d(28,`
-
-    `),p(29,"h4",7),d(30),I(31,"translate"),f(),d(32,`
-    `),p(33,"mifosx-gl-account-display",8),d(34,`
-    `),f(),d(35,`
-    `),p(36,"mifosx-gl-account-display",8),d(37,`
-    `),f(),d(38,`
-    `),w(39,jce,2,3,"mifosx-gl-account-display",9),d(40,`
-
-    `),p(41,"h4",7),d(42),I(43,"translate"),f(),d(44,`
-    `),p(45,"mifosx-gl-account-display",8),d(46,`
-    `),f(),d(47,`
-    `),w(48,Bce,2,3,"mifosx-gl-account-display",9),d(49,`
-  `),f()),t&2){let e=M();g(3),E(O(4,29,"labels.heading.Assets")),g(3),C("accountTitle","Saving reference")("glAccount",e.accountingMappings.savingsReferenceAccount)("withTitle","40%"),g(3),C("ngIf",e.accountingMappings.overdraftPortfolioControl),g(2),C("ngIf",e.isAccrualAccounting()),g(2),C("ngIf",e.isAccrualAccounting()),g(3),E(O(17,31,"labels.heading.Liabilities")),g(3),C("accountTitle","Saving control")("glAccount",e.accountingMappings.savingsControlAccount)("withTitle","40%"),g(3),C("accountTitle","Savings transfers in suspense")("glAccount",e.accountingMappings.transfersInSuspenseAccount)("withTitle","40%"),g(3),C("ngIf",e.isAccrualAccounting()),g(2),C("ngIf",e.accountingMappings.escheatLiabilityAccount),g(3),E(O(31,33,"labels.heading.Income")),g(3),C("accountTitle","Income from fees")("glAccount",e.accountingMappings.incomeFromFeeAccount)("withTitle","40%"),g(3),C("accountTitle","Income from penalties")("glAccount",e.accountingMappings.incomeFromPenaltyAccount)("withTitle","40%"),g(3),C("ngIf",e.accountingMappings.incomeFromInterest),g(3),E(O(43,35,"labels.heading.Expenses")),g(3),C("accountTitle","Interest on savings")("glAccount",e.accountingMappings.interestOnSavingsAccount)("withTitle","40%"),g(3),C("ngIf",e.accountingMappings.writeOffAccount)}}var aTe=(()=>{class t{constructor(e){this.accounting=e,this.accountingMappings=[]}isCashOrAccrualAccounting(){return this.accountingRule?this.accounting.isCashOrAccrualAccounting(this.accountingRule):!1}isAccrualAccounting(){return this.accountingRule?this.accounting.isAccrualAccounting(this.accountingRule):!1}getAccountingRuleName(e){return this.accounting.getAccountRuleName(e.toUpperCase())}static{this.\u0275fac=function(i){return new(i||t)(m($T))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-view-savings-accounting-details"]],inputs:{accountingRule:"accountingRule",accountingMappings:"accountingMappings"},decls:7,vars:2,consts:[[1,"layout-row-wrap","responsive-column"],["class","layout-row-wrap responsive-column flex-fill flex-98",4,"ngIf"],["class","layout-row-wrap responsive-column flex-fill",4,"ngIf"],[1,"layout-row-wrap","responsive-column","flex-fill","flex-98"],[1,"flex-40"],[1,"flex-60"],[1,"layout-row-wrap","responsive-column","flex-fill"],[1,"mat-h4","flex-fill"],[1,"flex-100",3,"accountTitle","glAccount","withTitle"],["class","flex-100",3,"accountTitle","glAccount","withTitle",4,"ngIf"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
-  `),w(2,zce,10,6,"div",1),d(3,`
-
-  `),w(4,Uce,50,37,"div",2),d(5,`
-`),f(),d(6,`
-`)),i&2&&(g(2),C("ngIf",r.accountingRule),g(2),C("ngIf",r.isCashOrAccrualAccounting()))},dependencies:[Re,UT,Pe],styles:[".column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.container[_ngcontent-%COMP%]{padding:1%;margin:1%;width:100%}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]{height:0}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .incentives[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{border-radius:0}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%] > h4[_ngcontent-%COMP%]{font-weight:500;margin:.5em 0 0}.mat-h4[_ngcontent-%COMP%]{margin-top:10px!important;font-weight:200;color:#4461e2}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return t})();var GT=(()=>{class t{constructor(e){this.ref=e,this.darkModeOn=!1,this.themes=["dark-theme","light-theme"],this.theme=new at("light-theme"),this.darkModeOn=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.setDarkMode(this.darkModeOn),window.matchMedia("(prefers-color-scheme: dark)").addListener(i=>{let r=i.matches;this.theme.next(r?"dark-theme":"light-theme"),this.ref.tick()})}isDarkMode(){return this.darkModeOn=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.darkModeOn}setDarkMode(e){this.darkModeOn=e,e?(document.body.classList.add("dark-theme"),this.theme.next("dark-theme")):(document.body.classList.remove("dark-theme"),this.theme.next("light-theme"))}setInitialDarkMode(){this.setDarkMode(this.darkModeOn)}static{this.\u0275fac=function(i){return new(i||t)(k(Ji))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var hTe=(()=>{class t{constructor(e,i){this.themingService=e,this.settingsService=i}ngOnInit(){this.darkModeOn=this.settingsService.themeDarkEnabled==="true"}ngOnChanges(e){this.darkModeOn=this.settingsService.themeDarkEnabled==="true"}toggleTheme(){this.darkModeOn=!this.darkModeOn,this.settingsService.setThemeDarkEnabled(this.darkModeOn?"true":"false"),this.themingService.setDarkMode(this.darkModeOn)}static{this.\u0275fac=function(i){return new(i||t)(m(GT),m(zt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-theme-toggle"]],features:[Te],decls:6,vars:1,consts:[["mat-icon-button","",1,"m-l-15","m-r-5",3,"click"]],template:function(i,r){i&1&&(p(0,"button",0),H("click",function(){return r.toggleTheme()}),d(1,`
-  `),p(2,"mat-icon"),d(3),f(),d(4,`
-`),f(),d(5,`
-`)),i&2&&(g(3),E(r.darkModeOn?"wb_sunny":"nights_stay"))},dependencies:[bn,Yr]})}}return t})();function Gce(t,n){if(t&1){let e=le();p(0,"span",4),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),R(1,"fa-icon",5),f()}if(t&2){let e=M(2);g(),C("title",e.textValue)}}function Wce(t,n){if(t&1){let e=le();p(0,"span",6),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),I(2,"truncateText"),f()}if(t&2){let e=M(2);g(),ne("",yo(2,1,e.textValue,e.printChars),"...")}}function qce(t,n){if(t&1){let e=le();p(0,"span",6),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),f()}if(t&2){let e=M(2);g(),E(e.textValue)}}function Yce(t,n){if(t&1){let e=le();p(0,"span",1),H("mouseenter",function(){F(e);let r=M();return j(r.mouseEnter())})("mouseleave",function(){F(e);let r=M();return j(r.mouseLeave())}),d(1,`
-  `),w(2,Gce,2,1,"span",2),d(3,`
-  `),w(4,Wce,3,4,"span",3),d(5,`
-  `),w(6,qce,2,1,"span",3),d(7,`
-`),f()}if(t&2){let e=M();g(2),C("ngIf",e.isLongValue()),g(2),C("ngIf",e.isLongValue()),g(2),C("ngIf",!e.isLongValue())}}var pTe=(()=>{class t{constructor(){this.chars=30,this.iconVisible=!1,this.displayL=!1,this.displayR=!0,this.emptyValue=!1,this.printChars=30}ngOnInit(){this.emptyValue=!this.textValue||this.textValue==="",this.printChars=this.chars}isLongValue(){return this.textValue==null?!1:this.textValue.length>25}showValue(){this.printChars==30?this.printChars=1e3:this.printChars=30}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-long-text"]],inputs:{textValue:"textValue",chars:"chars"},decls:2,vars:1,consts:[[3,"mouseenter","mouseleave",4,"ngIf"],[3,"mouseenter","mouseleave"],["class","m-l-3",3,"click",4,"ngIf"],["class","m-l-5",3,"click",4,"ngIf"],[1,"m-l-3",3,"click"],["icon","eye","size","sm",3,"title"],[1,"m-l-5",3,"click"]],template:function(i,r){i&1&&(w(0,Yce,8,3,"span",0),d(1,`
-`)),i&2&&C("ngIf",!r.emptyValue)},dependencies:[Re,Ut,Vu]})}}return t})();function Qce(t,n){if(t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),I(3,"translate"),p(4,"strong"),d(5),I(6,"translate"),f(),d(7,`
-  `),f()),t&2){let e=M(2);g(),Ht(`
-    `,O(2,3,"labels.inputs."+e.inputLabel)," ",O(3,5,"labels.commons.is"),`
-    `),g(4),E(O(6,7,"labels.commons.required"))}}function Kce(t,n){if(t&1&&(p(0,"mat-hint",7),d(1),I(2,"currency"),f()),t&2){let e=M(2);g(),E(n8(2,1,e.inputFormControl.value,e.currency.code,e.currency.displaySymbol,"1.2-2"))}}function Zce(t,n){if(t&1){let e=le();p(0,"mat-form-field",2),d(1,`
-  `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-  `),p(6,"div",3),d(7,`
-    `),p(8,"span"),d(9),f(),d(10,`
-    `),p(11,"input",4),H("keypress",function(r){F(e);let a=M();return j(a.numberOnly(r))})("blur",function(){F(e);let r=M();return j(r.displayHint=!1)})("focus",function(){F(e);let r=M();return j(r.displayHint=!0)}),f(),d(12,`
-  `),f(),d(13,`
-  `),w(14,Qce,8,9,"mat-error",5),d(15,`
-  `),w(16,Kce,3,6,"mat-hint",6),d(17,`
-`),f()}if(t&2){let e=M();g(3),E(O(4,8,"labels.inputs."+e.inputLabel)),g(6),E(e.currency.code),g(2),j0("mifosxFormatAmount","",e.currency.code,":",e.currency.displaySymbol,""),C("formControl",e.inputFormControl),g(3),C("ngIf",e.inputFormControl.hasError("required")),g(2),C("ngIf",e.displayHint)}}function Xce(t,n){if(t&1&&(p(0,"mat-hint",7),d(1),I(2,"currency"),f()),t&2){let e=M(2);g(),E(n8(2,1,e.inputFormControl.value,e.currency.code,e.currency.displaySymbol,"1.2-2"))}}function Jce(t,n){if(t&1){let e=le();p(0,"mat-form-field",8),d(1,`
-  `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-  `),p(6,"span",9),d(7),f(),d(8,`
-  `),R(9,"span",10),d(10,`
-  `),p(11,"input",11),H("keypress",function(r){F(e);let a=M();return j(a.numberOnly(r))})("blur",function(){F(e);let r=M();return j(r.displayHint=!1)})("focus",function(){F(e);let r=M();return j(r.displayHint=!0)}),f(),d(12,`
-  `),w(13,Xce,3,6,"mat-hint",6),d(14,`
-`),f()}if(t&2){let e=M();g(3),E(O(4,7,"labels.inputs."+e.inputLabel)),g(4),E(e.currency.code),g(4),j0("mifosxFormatAmount","",e.currency.code,":",e.currency.displaySymbol,""),C("formControl",e.inputFormControl),g(2),C("ngIf",e.displayHint)}}var _Te=(()=>{class t{constructor(){this.isRequired=!1,this.displayHint=!1}numberOnly(e){let i=e.which?e.which:e.keyCode;return i===46?!(this.inputFormControl.value.indexOf(".")>-1):!(i>31&&(i<48||i>57))}inputBlur(){this.displayHint=!1}inputFocus(){this.displayHint=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-input-amount"]],inputs:{isRequired:"isRequired",currency:"currency",inputLabel:"inputLabel",inputFormControl:"inputFormControl"},decls:4,vars:2,consts:[["appearance","fill","class","flex-100 input-container",4,"ngIf"],["appearance","fill","class","flex-100",4,"ngIf"],["appearance","fill",1,"flex-100","input-container"],[1,"input-group"],["required","","matInput","",1,"right-input",3,"keypress","blur","focus","mifosxFormatAmount","formControl"],[4,"ngIf"],["class","right-hint",4,"ngIf"],[1,"right-hint"],["appearance","fill",1,"flex-100"],["matTextSuffix","",1,"m-l-10"],[1,"flex-auto"],["matInput","",1,"right-input",3,"keypress","blur","focus","mifosxFormatAmount","formControl"]],template:function(i,r){i&1&&(w(0,Zce,18,10,"mat-form-field",0),d(1,`
-`),w(2,Jce,15,9,"mat-form-field",1),d(3,`
-`)),i&2&&(C("ngIf",r.isRequired),g(2),C("ngIf",!r.isRequired))},dependencies:[Re,Kt,Di,mh,pr,l2,$i,en,vi,da,hn,JM,Ix,Pe],styles:[".expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px}.input-container[_ngcontent-%COMP%]{width:100%}.input-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:5px}.container[_ngcontent-%COMP%]{max-width:37rem}.right-input[_ngcontent-%COMP%]{text-align:right}.right-label[_ngcontent-%COMP%]{padding-right:25px!important}.right-hint[_ngcontent-%COMP%]{min-width:100%;text-align:right;font-weight:500}"]})}}return t})();var JVe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Tt,j7,M_,sd,Z8,pM,ew,Tt,j7,M_,XM,sd,Z8]})}}return t})();export{xe as a,je as b,U as c,at as d,ea as e,i1e as f,ce as g,me as h,on as i,mi as j,lo as k,Zi as l,Lp as m,nt as n,Ve as o,Ma as p,ia as q,es as r,wa as s,Da as t,IH as u,Ks as v,Qe as w,dt as x,_e as y,yt as z,ke as A,ct as B,N as C,J as D,L as E,k as F,Jn as G,A as H,ee as I,T as J,Te as K,F as L,j as M,Jt as N,Va as O,Ae as P,Le as Q,B as R,oe as S,$ as T,ot as U,ln as V,kl as W,Hf as X,XN as Y,mhe as Z,phe as _,g as $,m as aa,$e as ba,xl as ca,tr as da,de as ea,w as fa,ie as ga,C as ha,Pt as ia,re as ja,Lt as ka,p as la,f as ma,R as na,pi as oa,fi as pa,At as qa,le as ra,H as sa,M as ta,Me as ua,se as va,Bt as wa,F0 as xa,we as ya,ue as za,G as Aa,W as Ba,Ct as Ca,d as Da,E as Ea,ne as Fa,Ht as Ga,i8 as Ha,ZB as Ia,L1 as Ja,B0 as Ka,H1 as La,he as Ma,vhe as Na,or as Oa,sr as Pa,cr as Qa,I as Ra,O as Sa,yo as Ta,bhe as Ua,n8 as Va,Hr as Wa,pe as Xa,Ce as Ya,Do as Za,Nr as _a,Hhe as $a,Ni as ab,ni as bb,Re as cb,mu as db,Dx as eb,kx as fb,hs as gb,pu as hb,Rhe as ib,Nhe as jb,Vl as kb,Fhe as lb,fu as mb,Ix as nb,Tt as ob,j1 as pb,vu as qb,dr as rb,X as sb,U1 as tb,Ti as ub,A$ as vb,eme as wb,tme as xb,Gx as yb,fme as zb,gme as Ab,Xx as Bb,q1 as Cb,pa as Db,H8e as Eb,kt as Fb,et as Gb,R8e as Hb,De as Ib,tt as Jb,Ze as Kb,Gw as Lb,Ww as Mb,N8e as Nb,ga as Ob,kr as Pb,KJ as Qb,Kee as Rb,Ir as Sb,Ak as Tb,Obe as Ub,Pbe as Vb,Ql as Wb,Zu as Xb,dq as Yb,Bi as Zb,lt as _b,L8e as $b,bn as ac,hr as bc,zi as cc,Es as dc,Qi as ec,$n as fc,ur as gc,vt as hc,Pn as ic,Pre as jc,Wt as kc,Mi as lc,Gn as mc,Si as nc,yi as oc,ki as pc,Ii as qc,LD as rc,Al as sc,Q1 as tc,ca as uc,Pe as vc,Z8 as wc,mt as xc,JS as yc,gs as zc,Bn as Ac,zt as Bc,gM as Cc,zu as Dc,rm as Ec,GT as Fc,Ut as Gc,Yi as Hc,en as Ic,_i as Jc,vi as Kc,jr as Lc,UM as Mc,od as Nc,kn as Oc,GG as Pc,Cs as Qc,qG as Rc,hn as Sc,tn as Tc,qM as Uc,YM as Vc,la as Wc,tW as Xc,nW as Yc,da as Zc,oW as _c,sW as $c,xs as ad,XM as bd,Is as cd,Di as dd,pr as ed,mh as fd,ph as gd,l2 as hd,Kt as id,fh as jd,$i as kd,MD as ld,_h as md,og as nd,Tn as od,Oc as pd,Ao as qd,W7e as rd,KS as sd,v2 as td,Ls as ud,E_e as vd,A_e as wd,Jg as xd,nk as yd,zc as zd,Hs as Ad,Vh as Bd,qr as Cd,Z9e as Dd,Ah as Ed,Yr as Fd,J1 as Gd,kve as Hd,Pve as Id,zve as Jd,jve as Kd,Gve as Ld,Ck as Md,hbe as Nd,zbe as Od,Nbe as Pd,Wbe as Qd,Zbe as Rd,AO as Sd,wye as Td,Dye as Ud,FO as Vd,CCe as Wd,Rie as Xd,Gie as Yd,KO as Zd,XO as _d,ZCe as $d,XCe as ae,JO as be,JCe as ce,exe as de,txe as ee,ixe as fe,nxe as ge,une as he,hne as ie,iMe as je,nMe as ke,rMe as le,pP as me,fP as ne,wMe as oe,DMe as pe,Nc as qe,bP as re,cwe as se,Xne as te,wP as ue,SP as ve,ure as we,hre as xe,PP as ye,Bo as ze,Cm as Ae,n_ as Be,oae as Ce,cae as De,qP as Ee,YP as Fe,QP as Ge,R2 as He,N2 as Ie,F2 as Je,XSe as Ke,j2 as Le,B2 as Me,JSe as Ne,U2 as Oe,$2 as Pe,eke as Qe,G2 as Re,W2 as Se,tke as Te,q2 as Ue,ike as Ve,jc as We,Rae as Xe,Fae as Ye,jae as Ze,Eke as _e,Qae as $e,Kae as af,Oke as bf,Ake as cf,CT as df,xT as ef,_Ie as ff,vIe as gf,bIe as hf,yIe as if,DT as jf,CIe as kf,xIe as lf,ST as mf,kT as nf,IT as of,OT as pf,LEe as qf,nM as rf,rM as sf,aM as tf,Fr as uf,Fa as vf,oM as wf,_s as xf,dM as yf,mM as zf,pM as Af,zm as Bf,VT as Cf,Lm as Df,Hm as Ef,dOe as Ff,LT as Gf,Fl as Hf,EOe as If,Kpe as Jf,ew as Kf,Nm as Lf,jm as Mf,Bm as Nf,Um as Of,xPe as Pf,wPe as Qf,BT as Rf,BPe as Sf,$Pe as Tf,WPe as Uf,YPe as Vf,KPe as Wf,tTe as Xf,UT as Yf,$T as Zf,aTe as _f,hTe as $f,pTe as ag,_Te as bg,JVe as cg};
diff --git a/browser/chunk-UVOJZPMS.js b/browser/chunk-UVOJZPMS.js
deleted file mode 100644
index c645896bc..000000000
--- a/browser/chunk-UVOJZPMS.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import{$ as n,Da as t,Ea as s,Fa as u,H as m,Oa as g,Ra as a,Sa as o,_b as x,aa as p,ha as c,kc as f,la as e,ma as i,nc as v,oc as b,pc as D,qc as M,vc as C}from"./chunk-SR4VE5NL.js";var h=()=>({confirm:!0}),I=(()=>{class l{constructor(d){this.dialogRef=d}static{this.\u0275fac=function(r){return new(r||l)(p(f))}}static{this.\u0275cmp=m({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,y){r&1&&(e(0,"h1",0),t(1),a(2,"translate"),i(),t(3,`
-`),e(4,"div",1),t(5,`
-  `),e(6,"p"),t(7),a(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),e(11,"mat-dialog-actions",2),t(12,`
-  `),e(13,"button",3),t(14),a(15,"translate"),i(),t(16,`
-  `),e(17,"button",4),t(18),a(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),r&2&&(n(),s(o(2,5,"labels.heading.Undo Transaction")),n(6),s(o(8,7,"labels.text.Are you sure you want to undo this transaction")),n(7),s(o(15,9,"labels.buttons.Cancel")),n(3),c("mat-dialog-close",g(13,h)),n(),u(`
-    `,o(19,11,"labels.buttons.Confirm"),`
-  `))},dependencies:[x,v,b,M,D,C]})}}return l})();export{I as a};
diff --git a/browser/chunk-Y4A5RXFJ.js b/browser/chunk-Y4A5RXFJ.js
deleted file mode 100644
index d72268bc8..000000000
--- a/browser/chunk-Y4A5RXFJ.js
+++ /dev/null
@@ -1 +0,0 @@
-import{C as r,Ef as a,F as c}from"./chunk-SR4VE5NL.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a};
diff --git a/browser/collaterals.module-VECBX4CH.js b/browser/collaterals.module-VECBX4CH.js
deleted file mode 100644
index 931b1b79a..000000000
--- a/browser/collaterals.module-VECBX4CH.js
+++ /dev/null
@@ -1,103 +0,0 @@
-import{$ as o,Af as Mt,Bc as X,C as y,D as M,Da as t,Ea as c,F as E,Fa as h,Ga as b,Gc as Y,H as w,He as Ct,Hf as Et,I as R,Ic as Z,Ie as ft,Jc as tt,Je as xt,Kc as et,Kf as wt,L as k,Lc as it,Le as ht,M as $,Me as bt,Oa as T,Oe as vt,Pb as B,Pe as gt,Qc as at,Ra as m,Re as _t,Sa as p,Sb as V,Se as St,Tb as F,Tc as nt,Ue as It,Vb as A,Wc as lt,Zc as ot,_b as O,_d as j,aa as f,ad as rt,be as N,cb as Q,cg as Rt,dd as mt,de as ut,ed as pt,fa as d,ha as C,id as st,kd as ct,la as i,ma as a,mc as W,na as u,oa as S,ob as z,pa as I,qd as dt,ra as U,sa as P,sb as J,ta as G,ub as K,uf as Dt,vc as L,xf as yt}from"./chunk-SR4VE5NL.js";import"./chunk-O7S4L63H.js";var g=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let _=new J().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(_=_.set("officeId",v)),this.http.get("/clients",{params:_})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(E(K))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var jt=()=>["edit"];function Nt(e,s){e&1&&(i(0,"button",16),t(1,`
-    `),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",T(4,jt)),o(3),h(`
-    `,p(4,2,"labels.buttons.Edit"),`
-  `))}function qt(e,s){if(e&1){let n=U();i(0,"button",18),P("click",function(){k(n);let r=G();return $(r.deleteCollateral())}),t(1,`
-    `),u(2,"fa-icon",19),t(3),m(4,"translate"),a()}e&2&&(o(3),h(`
-    `,p(4,1,"labels.buttons.Delete"),`
-  `))}function At(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.ID")))}function Ht(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),h(`
-            `,n.loanId,`
-          `)}}function kt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment")))}function $t(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),c(n.lastRepayment)}}function Ut(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Remaining Amount")))}function Gt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"formatNumber"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.remainingAmount))}}function Qt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment Date")))}function zt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"dateFormat"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.lastRepaymentDate))}}function Jt(e,s){e&1&&u(0,"tr",22)}function Kt(e,s){e&1&&u(0,"tr",23)}var Pt=(()=>{class e{constructor(n,l,r,x){this.route=n,this.collateralsService=l,this.router=r,this.dialog=x,this.collateralColumns=["ID","Last Repayment","Remaining Amount","Last Repayment Date"],this.route.data.subscribe(v=>{this.clientCollateralData=v.clientCollateralData})}deleteCollateral(){this.dialog.open(dt,{data:{deleteContext:`collateral ${this.clientCollateralData.id}`}}).afterClosed().subscribe(l=>{l.delete&&this.collateralsService.deleteCollateral(this.clientCollateralData.clientId,this.clientCollateralData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}static{this.\u0275fac=function(l){return new(l||e)(f(B),f(g),f(V),f(W))}}static{this.\u0275cmp=w({type:e,selectors:[["mifosx-view-collateral"]],decls:78,vars:27,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],[1,"client-collateral-card"],[1,"content"],[1,"tab-container","mat-typography"],[1,"layout-row","gap-32px","group-details-container","m-b-30"],["mat-table","",1,"mat-elevation-z1","m-b-30",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Last Repayment"],["matColumnDef","Remaining Amount"],["matColumnDef","Last Repayment Date"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
-  `),d(2,Nt,5,5,"button",1),t(3,`
-  `),d(4,qt,5,3,"button",2),t(5,`
-`),a(),t(6,`
-
-`),i(7,"mat-card",3),t(8,`
-  `),i(9,"mat-card-content",4),t(10,`\\
-
-    `),i(11,"div",5),t(12,`
-      `),i(13,"h3"),t(14),m(15,"translate"),a(),t(16,`
-
-      `),i(17,"div",6),t(18,`
-        `),i(19,"p"),t(20),m(21,"translate"),u(22,"br"),t(23),m(24,"translate"),u(25,"br"),t(26),m(27,"translate"),u(28,"br"),t(29),m(30,"translate"),u(31,"br"),t(32,`
-        `),a(),t(33,`
-      `),a(),t(34,`
-
-      `),i(35,"h3"),t(36),m(37,"translate"),a(),t(38,`
-
-      `),i(39,"table",7),t(40,`
-        `),S(41,8),t(42,`
-          `),d(43,At,3,3,"th",9),t(44,`
-          `),d(45,Ht,2,1,"td",10),t(46,`
-        `),I(),t(47,`
-
-        `),S(48,11),t(49,`
-          `),d(50,kt,3,3,"th",9),t(51,`
-          `),d(52,$t,2,1,"td",10),t(53,`
-        `),I(),t(54,`
-
-        `),S(55,12),t(56,`
-          `),d(57,Ut,3,3,"th",9),t(58,`
-          `),d(59,Gt,3,3,"td",10),t(60,`
-        `),I(),t(61,`
-
-        `),S(62,13),t(63,`
-          `),d(64,Qt,3,3,"th",9),t(65,`
-          `),d(66,zt,3,3,"td",10),t(67,`
-        `),I(),t(68,`
-
-        `),t(69,`
-        `),d(70,Jt,1,0,"tr",14),t(71,`
-        `),d(72,Kt,1,0,"tr",15),t(73,`
-      `),a(),t(74,`
-    `),a(),t(75,`
-  `),a(),t(76,`
-`),a(),t(77,`
-`)),l&2&&(o(2),C("mifosxHasPermission","UPDATE_CLIENT_COLLATERAL_PRODUCT"),o(2),C("mifosxHasPermission","DELETE_CLIENT_COLLATERAL_PRODUCT"),o(10),c(p(15,15,"labels.heading.Client Collateral Details")),o(6),b(`
-          `,p(21,17,"labels.inputs.name"),": ",r.clientCollateralData.name,""),o(3),b(`
-          `,p(24,19,"labels.inputs.Quantity"),": ",r.clientCollateralData.quantity,""),o(3),b(`
-          `,p(27,21,"labels.inputs.Total Value"),": ",r.clientCollateralData.total,""),o(3),b(`
-          `,p(30,23,"labels.inputs.Total Collateral Value"),": ",r.clientCollateralData.totalCollateral,""),o(7),c(p(37,25,"labels.heading.Transaction Details")),o(3),C("dataSource",r.clientCollateralData.loanTransactionData),o(31),C("matHeaderRowDef",r.collateralColumns),o(2),C("matRowDefColumns",r.collateralColumns))},dependencies:[F,Y,O,j,N,Ct,xt,gt,ht,ft,_t,bt,vt,St,It,Et,L,Dt,yt],styles:[".client-collateral-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%;padding:0}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%]   .group-details-container[_ngcontent-%COMP%]{border:1px solid;padding:1%}.tab-container[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr.select-row[_ngcontent-%COMP%]:hover, .tab-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return e})();var q=(()=>{class e{constructor(n){this.collateralsService=n}resolve(n){let l=n.parent.paramMap.get("clientId"),r=n.parent.paramMap.get("collateralId");return this.collateralsService.getClientCollateral(l,r)}static{this.\u0275fac=function(l){return new(l||e)(E(g))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac})}}return e})();var Wt=()=>["../../"];function Xt(e,s){e&1&&(i(0,"mat-error"),t(1),m(2,"translate"),m(3,"translate"),i(4,"strong"),t(5),m(6,"translate"),a(),t(7,`
-              `),a()),e&2&&(o(),b(`
-                `,p(2,3,"labels.inputs.Quantity")," ",p(3,5,"labels.commons.is"),`
-                `),o(4),c(p(6,7,"labels.commons.required")))}var Tt=(()=>{class e{constructor(n,l,r,x,v){this.formBuilder=n,this.route=l,this.router=r,this.settingsService=x,this.collateralService=v,this.route.data.subscribe(_=>{this.collateralDetails=_.clientCollateralData}),this.clientId=this.route.parent.snapshot.params.clientId}ngOnInit(){this.createClientCollateralForm()}createClientCollateralForm(){this.clientCollateralForm=this.formBuilder.group({quantity:["",tt.required],name:[{value:"",disabled:!0}],total:[{value:"",disabled:!0}],totalCollateral:[{value:"",disabled:!0}]}),this.clientCollateralForm.patchValue({name:this.collateralDetails.name,quantity:this.collateralDetails.quantity,total:this.collateralDetails.total,totalCollateral:this.collateralDetails.totalCollateral})}submit(){let n=this.collateralDetails.id,l=this.clientCollateralForm.value.quantity,r=this.settingsService.language.code,x={quantity:l,locale:r};this.collateralService.updateClientCollateral(this.clientId,n,x).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(f(rt),f(B),f(V),f(X),f(g))}}static{this.\u0275cmp=w({type:e,selectors:[["mifosx-edit-collateral"]],decls:67,vars:23,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["matInput","","required","","formControlName","name"],["matInput","","required","","formControlName","quantity"],[4,"ngIf"],["matInput","","required","","formControlName","total"],["matInput","","required","","formControlName","totalCollateral"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
-  `),i(2,"mat-card"),t(3,`
-    `),i(4,"form",1),P("ngSubmit",function(){return r.submit()}),t(5,`
-      `),i(6,"mat-card-content"),t(7,`
-        `),i(8,"div",2),t(9,`
-          `),i(10,"div",2),t(11,`
-            `),i(12,"mat-form-field"),t(13,`
-              `),i(14,"mat-label"),t(15),m(16,"translate"),a(),t(17,`
-              `),u(18,"input",3),t(19,`
-            `),a(),t(20,`
-
-            `),i(21,"mat-form-field"),t(22,`
-              `),i(23,"mat-label"),t(24),m(25,"translate"),a(),t(26,`
-              `),u(27,"input",4),t(28,`
-              `),d(29,Xt,8,9,"mat-error",5),t(30,`
-            `),a(),t(31,`
-
-            `),i(32,"mat-form-field"),t(33,`
-              `),i(34,"mat-label"),t(35),m(36,"translate"),a(),t(37,`
-              `),u(38,"input",6),t(39,`
-            `),a(),t(40,`
-
-            `),i(41,"mat-form-field"),t(42,`
-              `),i(43,"mat-label"),t(44),m(45,"translate"),a(),t(46,`
-              `),u(47,"input",7),t(48,`
-            `),a(),t(49,`
-          `),a(),t(50,`
-        `),a(),t(51,`
-      `),a(),t(52,`
-
-      `),i(53,"mat-card-actions",8),t(54,`
-        `),i(55,"button",9),t(56),m(57,"translate"),a(),t(58,`
-        `),i(59,"button",10),t(60),m(61,"translate"),a(),t(62,`
-      `),a(),t(63,`
-    `),a(),t(64,`
-  `),a(),t(65,`
-`),a(),t(66,`
-`)),l&2&&(o(4),C("formGroup",r.clientCollateralForm),o(11),c(p(16,10,"labels.inputs.name")),o(9),c(p(25,12,"labels.inputs.Quantity")),o(5),C("ngIf",r.clientCollateralForm.controls.quantity.hasError("required")),o(6),c(p(36,14,"labels.inputs.Total")),o(9),c(p(45,16,"labels.inputs.Total Collateral Value")),o(11),C("routerLink",T(22,Wt)),o(),h(`
-          `,p(57,18,"labels.buttons.Cancel"),`
-        `),o(3),C("disabled",!r.clientCollateralForm.valid),o(),h(`
-          `,p(61,20,"labels.buttons.Submit"),`
-        `))},dependencies:[Q,F,O,j,ut,N,st,mt,pt,ct,at,Z,et,it,ot,nt,lt,L],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return e})();var Yt=[{path:"",data:{title:"Collateral",breadcrumb:"Collateral",routeParamBreadcrumb:!1},children:[{path:":collateralId",data:{title:"Collateral View",routeParamBreadcrumb:"collateralId"},children:[{path:"",component:Pt,resolve:{clientCollateralData:q}},{path:"edit",data:{title:"edit",routeParamBreadcrumb:"edit"},component:Tt,resolve:{clientCollateralData:q}}]}]}],Bt=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=R({type:e})}static{this.\u0275inj=M({providers:[q],imports:[A.forChild(Yt),A]})}}return e})();var He=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=R({type:e})}static{this.\u0275inj=M({imports:[z,Bt,Rt,wt,Mt]})}}return e})();export{He as CollateralsModule};
diff --git a/browser/fixed-deposits.module-NZV62SCH.js b/browser/fixed-deposits.module-NZV62SCH.js
deleted file mode 100644
index d5af4c36b..000000000
--- a/browser/fixed-deposits.module-NZV62SCH.js
+++ /dev/null
@@ -1,2270 +0,0 @@
-import{a as Ln}from"./chunk-UVOJZPMS.js";import{a as ln,b as sn}from"./chunk-CCP3JU5F.js";import{a as Gn}from"./chunk-RO62NWKH.js";import{$ as o,$d as Mn,$e as En,Aa as ft,Ac as W,Ad as Ke,Af as qn,Ba as gt,Bc as q,Bd as Qe,Be as Je,C as Ht,Ca as w,Cd as de,Ce as Xe,D as $e,Da as t,De as Ze,Ea as u,Ee as tn,Ef as jt,F as zt,Fa as f,Fb as Fe,Fd as Ye,Fe as oe,Ga as S,Gb as Ee,Gc as tt,Gd as Tt,Ge as Lt,H as A,Ha as le,He as It,Hf as xe,I as He,Ib as pe,Ic as et,Ie as Ft,Jb as ce,Jc as R,Je as Et,K as Zt,Kb as we,Kc as K,Kf as jn,L as P,Lc as nt,Le as wt,Lf as en,M,Me as Bt,Mf as Ve,Oa as B,Oc as G,Oe as kt,Pa as Ge,Pb as k,Pe as Rt,Pf as zn,Qb as bn,Qc as it,R as Ue,Ra as r,Rc as Gt,Re as Nt,Sa as c,Sb as z,Sc as Pn,Se as Vt,Ta as I,Tb as L,Tc as at,Tf as $n,Ub as Sn,Ue as qt,Va as J,Vb as cn,Vf as Hn,Wa as vn,Wc as ot,We as De,X as hn,Zb as Pt,Zc as lt,_b as E,_d as $,aa as _,ab as ye,ac as Be,ad as rt,ae as Tn,af as wn,bb as _t,be as mt,bf as Bn,bg as nn,cb as F,cd as Le,cg as Un,db as Oe,dd as Q,de as bt,ed as st,ee as An,fa as m,ga as Ae,ge as yn,ha as d,hd as Ct,id as Y,jb as Ie,jd as Ot,kc as te,kd as pt,la as n,lc as ke,ld as ht,ma as i,mc as Ut,md as vt,na as g,nb as se,nc as ee,nd as Dt,oa as v,oc as ne,od as Mt,pa as D,pc as ie,pd as ve,qc as ae,qd as Re,qe as On,qf as kn,ra as y,sa as b,sb as me,ta as C,ub as Dn,ud as Ne,uf as At,vc as O,wa as dt,wf as Rn,xf as ue,ye as In,yf as Nn,za as xt,zd as We,ze as Fn,zf as Vn}from"./chunk-SR4VE5NL.js";import{a as V,b as U}from"./chunk-O7S4L63H.js";var Mi=()=>({confirm:!0}),Wn=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
-  `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
-  `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
-  `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,5,"labels.heading.Calculate Interest")),o(6),f("",c(8,7,"labels.text.Are you sure you want to calculate interest")," ?"),o(7),u(c(15,9,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(13,Mi)),o(),f(`
-    `,c(19,11,"labels.buttons.Confirm"),`
-  `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ti=()=>({confirm:!0}),Kn=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-post-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
-  `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
-  `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
-  `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,5,"labels.heading.Post Interest")),o(6),f("",c(8,7,"labels.text.Are you sure you want to post interest")," ?"),o(7),u(c(15,9,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(13,Ti)),o(),f(`
-    `,c(19,11,"labels.buttons.Confirm"),`
-  `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ai=()=>({confirm:!0}),mn=(()=>{class e{constructor(a,l){this.dialogRef=a,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(_(te),_(ke))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-toggle-withhold-tax-dialog"]],decls:25,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","",3,"color","mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),r(3,"translate"),i(),t(4,`
-`),n(5,"div",1),t(6,`
-  `),n(7,"p"),t(8),r(9,"translate"),r(10,"translate"),r(11,"translate"),i(),t(12,`
-`),i(),t(13,`
-`),n(14,"mat-dialog-actions",2),t(15,`
-  `),n(16,"button",3),t(17),r(18,"translate"),i(),t(19,`
-  `),n(20,"button",4),t(21),r(22,"translate"),i(),t(23,`
-`),i(),t(24,`
-`)),l&2&&(o(),S(`
-  `,c(2,9,p.data.isEnable?"labels.heading.Enable":"labels.heading.Disable"),`
-  `,c(3,11,"labels.heading.Withhold Tax"),`
-`),o(7),le(`
-    `,c(9,13,"labels.text.Are you sure you want to"),`
-    `,c(10,15,p.data.isEnable?"labels.heading.Enable":"labels.heading.Disable"),`
-    `,c(11,17,"labels.text.withhold tax for this account"),` ?
-  `),o(9),u(c(18,19,"labels.buttons.Cancel")),o(3),dt("color",p.data.isEnable?"accent":"warn"),d("mat-dialog-close",B(23,Ai)),o(),f(`
-    `,c(22,21,"labels.buttons.Confirm"),`
-  `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var an=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Premature Close",icon:"fa fa-arrow-left"},{name:"Calculate Interest",icon:"fa fa-table"},{name:"Undo Activation",icon:"fa fa-undo"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right"},{name:"Calculate Interest",icon:"fa fa-table"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-pencil "},{name:"Approve",icon:"fa fa-check"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo"},{name:"Activate",icon:"fa fa-check"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":case"Matured":this.optionArray=[{name:"Post Interest"},{name:"Add Charge"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject"},{name:"Withdrawn by Client"},{name:"Add Charge"},{name:"Delete"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}};var j=(()=>{class e{constructor(a){this.http=a}getFixedDepositsAccountData(a){let l=new me().set("associations","all");return this.http.get(`/fixeddepositaccounts/${a}`,{params:l})}deleteFixedDepositsAccount(a){return this.http.delete(`/fixeddepositaccounts/${a}`)}executeFixedDepositsAccountCommand(a,l,p){let x=new me().set("command",l);return this.http.post(`/fixeddepositaccounts/${a}`,p,{params:x})}getFixedDepositsAccountTransaction(a,l){return this.http.get(`/fixeddepositaccounts/${a}/transactions/${l}`)}executeFixedDepositsAccountTransactionsCommand(a,l,p,x){let h=new me().set("command",l);return this.http.post(`/fixeddepositaccounts/${a}/transactions/${x}`,p,{params:h})}getFixedDepositsAccountClosureTemplate(a){let l=new me().set("command","close");return this.http.get(`/fixeddepositaccounts/${a}/template`,{params:l})}getFixedDepositsAccountTransactionTemplate(a){return this.http.get(`/fixeddepositaccounts/${a}/transactions/template`)}getFixedDepositsAccountTemplate(a,l){let p=new me().set("clientId",a);return p=l?p.set("productId",l):p,this.http.get("/fixeddepositaccounts/template",{params:p})}getFixedDepositsAccountAndTemplate(a){let l=new me().set("associations","charges,+linkedAccount").set("template","true");return this.http.get(`/fixeddepositaccounts/${a}`,{params:l})}createFixedDepositAccount(a){return this.http.post("/fixeddepositaccounts",a)}updateFixedDepositAccount(a,l){return this.http.put(`/fixeddepositaccounts/${a}`,l)}getStandingInstructions(a,l,p,x,h){let T=new me().set("clientId",a).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",x).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}static{this.\u0275fac=function(l){return new(l||e)(zt(Dn))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ii=()=>["./general"],Fi=()=>["./interest-rate-chart"],Ei=()=>["./charges"],wi=()=>["./transactions"],Bi=()=>["./standing-instructions"],ki=e=>["./datatables",e];function Ri(e,s){if(e&1&&(n(0,"span",33),t(1,`
-                  `),g(2,"mifosx-account-number",18),t(3,`
-                `),i()),e&2){let a=C();o(2),dt("accountNo",a.fixedDepositsAccountData.clientAccountNo)}}function Ni(e,s){if(e&1&&(n(0,"div",34),t(1,`
-              `),n(2,"h3",35),t(3),r(4,"translate"),i(),t(5,`
-              `),n(6,"table",36),t(7,`
-                `),n(8,"tbody"),t(9,`
-                  `),n(10,"tr"),t(11,`
-                    `),n(12,"td",37),t(13),r(14,"translate"),i(),t(15,`
-                    `),n(16,"td",38),t(17),r(18,"currency"),i(),t(19,`
-                  `),i(),t(20,`
-                  `),n(21,"tr"),t(22,`
-                    `),n(23,"td",37),t(24),r(25,"translate"),i(),t(26,`
-                    `),n(27,"td",38),t(28),r(29,"currency"),i(),t(30,`
-                  `),i(),t(31,`
-                `),i(),t(32,`
-              `),i(),t(33,`
-            `),i()),e&2){let a=C();o(3),u(c(4,5,"labels.heading.Account Overview")),o(10),u(c(14,7,"labels.inputs.Current Balance")),o(4),f(`
-                      `,J(18,9,a.fixedDepositsAccountData.summary.accountBalance,a.currency.code,"symbol-narrow","1.2-2"),`
-                    `),o(7),u(c(25,14,"labels.inputs.Deposit Amount")),o(4),f(`
-                      `,J(29,16,a.fixedDepositsAccountData.depositAmount,a.currency.code,"symbol-narrow","1.2-2"),`
-                    `)}}function Vi(e,s){if(e&1){let a=y();v(0),t(1,`
-          `),n(2,"button",39),b("click",function(){let p=P(a).$implicit,x=C();return M(x.doAction(p.name))}),t(3,`
-            `),g(4,"i",40),t(5),r(6,"translateKey"),i(),t(7,`
-        `),D()}if(e&2){let a=s.$implicit;o(4),dt("ngClass",a.icon),o(),f(" ",I(6,2,a.name,"menus"),`
-          `)}}function qi(e,s){if(e&1){let a=y();n(0,"span"),t(1,`
-              `),n(2,"button",39),b("click",function(){let p=P(a).$implicit,x=C(2);return M(x.doAction(p.name))}),t(3),r(4,"translateKey"),i(),t(5,`
-            `),i()}if(e&2){let a=s.$implicit;o(3),u(I(4,1,a.name,"menus"))}}function ji(e,s){if(e&1&&(v(0),t(1,`
-          `),n(2,"button",41),t(3),r(4,"translateKey"),i(),t(5,`
-          `),n(6,"mat-menu",null,5),t(8,`
-            `),m(9,qi,6,4,"span",27),t(10,`
-          `),i(),t(11,`
-        `),D()),e&2){let a=w(7),l=C();o(2),d("matMenuTriggerFor",a),o(),u(I(4,3,"More","menus")),o(6),d("ngForOf",l.buttonConfig.options)}}function zi(e,s){if(e&1&&(n(0,"span"),t(1,`
-        `),n(2,"a",31,6),t(4),r(5,"translate"),i(),t(6,`
-      `),i()),e&2){let a=w(3);o(2),d("routerLink",B(5,wi))("active",a.isActive),o(2),f(`
-          `,c(5,3,"labels.inputs.Transactions"),`
-        `)}}function $i(e,s){if(e&1&&(n(0,"a",31,7),t(2),r(3,"translate"),i()),e&2){let a=w(1);d("routerLink",B(5,Bi))("active",a.isActive),o(2),f(`
-        `,c(3,3,"labels.inputs.Standing Instructions"),`
-      `)}}function Hi(e,s){if(e&1&&(n(0,"a",31,8),t(2),i()),e&2){let a=w(1),l=C().$implicit;d("routerLink",Ge(3,ki,l.registeredTableName))("active",a.isActive),o(2),f(`
-          `,l.registeredTableName,`
-        `)}}function Ui(e,s){if(e&1&&(v(0),t(1,`
-        `),m(2,Hi,3,5,"a",42),t(3,`
-      `),D()),e&2){let a=s.$implicit;o(2),d("mifosxHasPermission","READ_"+a.registeredTableName)}}var Qn=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.router=l,this.fixedDepositsService=p,this.savingsService=x,this.dialog=h,this.showTransactions=!1,this.route.data.subscribe(T=>{this.fixedDepositsAccountData=T.fixedDepositsAccountData,this.savingsDatatables=T.savingsDatatables,this.currency=this.fixedDepositsAccountData.currency;let Z=T.fixedDepositsAccountData.status;this.showTransactions=Z.id>=300}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}ngOnInit(){this.setConditionalButtons()}setConditionalButtons(){let a=this.fixedDepositsAccountData.status.value;this.buttonConfig=new an(a),this.fixedDepositsAccountData.taxGroup&&a==="Active"&&(this.fixedDepositsAccountData.withHoldTax?this.buttonConfig.addOption({name:"Disable Withhold Tax"}):this.buttonConfig.addOption({name:"Enable Withhold Tax"}))}reload(){let a=this.fixedDepositsAccountData.clientId,l=this.router.url;this.router.navigateByUrl(`/clients/${a}/fixed-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([l]))}doAction(a){switch(a){case"Approve":case"Reject":case"Activate":case"Close":case"Undo Approval":case"Undo Activation":case"Add Charge":case"Withdrawn by Client":case"Premature Close":this.router.navigate([`actions/${a}`],{relativeTo:this.route});break;case"Modify Application":this.router.navigate(["edit"],{relativeTo:this.route});break;case"Delete":this.deleteFixedDepositsAccount();break;case"Calculate Interest":this.calculateInterest();break;case"Post Interest":this.postInterest();break;case"Enable Withhold Tax":this.enableWithHoldTax();break;case"Disable Withhold Tax":this.disableWithHoldTax();break}}deleteFixedDepositsAccount(){this.dialog.open(Re,{data:{deleteContext:`fixed deposit account with id: ${this.fixedDepositsAccountData.id}`}}).afterClosed().subscribe(l=>{l.delete&&this.fixedDepositsService.deleteFixedDepositsAccount(this.fixedDepositsAccountData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}calculateInterest(){this.dialog.open(Wn).afterClosed().subscribe(l=>{l.confirm&&this.fixedDepositsService.executeFixedDepositsAccountCommand(this.fixedDepositsAccountData.id,"calculateInterest",{}).subscribe(()=>{this.reload()})})}postInterest(){this.dialog.open(Kn).afterClosed().subscribe(l=>{l.confirm&&this.fixedDepositsService.executeFixedDepositsAccountCommand(this.fixedDepositsAccountData.id,"postInterest",{}).subscribe(()=>{this.reload()})})}enableWithHoldTax(){this.dialog.open(mn,{data:{isEnable:!0}}).afterClosed().subscribe(l=>{l.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.fixedDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!0}).subscribe(()=>{this.reload()})})}disableWithHoldTax(){this.dialog.open(mn,{data:{isEnable:!1}}).afterClosed().subscribe(l=>{l.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.fixedDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!1}).subscribe(()=>{this.reload()})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(j),_(jt),_(Ut))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-view"]],decls:102,vars:44,consts:[["accountMenu","matMenu"],["general","routerLinkActive"],["IRC","routerLinkActive"],["charges","routerLinkActive"],["tabPanel",""],["More","matMenu"],["transactions","routerLinkActive"],["standingInstructions","routerLinkActive"],["datatable","routerLinkActive"],[1,"account-card"],[1,"header","layout-column"],[1,"header-title-group"],[1,"profile-image-container"],["mat-card-md-image","",1,"profile-image",3,"matTooltip","src"],[1,"mat-typography","account-card-title"],[1,"layout-row","responsive-column"],[1,"flex-60"],[1,"fa","fa-stop",3,"ngClass","matTooltip"],[3,"accountNo"],[1,"account-overview"],[1,"m-r-10"],["class","m-l-10",4,"ngIf"],["class","flex-30",4,"ngIf"],[1,"flex-5"],["mat-icon-button","","aria-label","Fixed Deposit account actions","yPosition","below",3,"matMenuTriggerFor"],["matListIcon","",1,"actions-menu"],["icon","bars","size","sm"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"content"],["mat-tab-nav-bar","",1,"navigation-tabs",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"ngIf"],[1,"m-l-10"],[1,"flex-30"],[1,"flex-100"],[1,"account-overview","flex-100"],[1,"flex-70"],[1,"r-amount","flex-30"],["mat-menu-item","",3,"click"],[3,"ngClass"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"mifosxHasPermission"]],template:function(l,p){if(l&1&&(n(0,"mat-card",9),t(1,`
-  `),n(2,"mat-card-header",10),t(3,`
-    `),n(4,"mat-card-title-group",11),t(5,`
-      `),n(6,"div",12),t(7,`
-        `),n(8,"div"),t(9,`
-          `),g(10,"img",13),r(11,"translate"),t(12,`
-        `),i(),t(13,`
-      `),i(),t(14,`
-
-      `),n(15,"div",14),t(16,`
-        `),n(17,"mat-card-title"),t(18,`
-          `),n(19,"div",15),t(20,`
-            `),n(21,"div",16),t(22,`
-              `),n(23,"h3"),t(24,`
-                `),g(25,"i",17),r(26,"statusLookup"),t(27),r(28,"translate"),g(29,"mifosx-account-number",18),t(30,`
-              `),i(),t(31,`
-              `),n(32,"span",19),t(33,`
-                `),n(34,"span",20),t(35),r(36,"translate"),i(),t(37),m(38,Ri,4,1,"span",21),t(39,`
-              `),i(),t(40,`
-            `),i(),t(41,`
-
-            `),m(42,Ni,34,21,"div",22),t(43,`
-
-            `),n(44,"div",23),t(45,`
-              `),n(46,"button",24),t(47,`
-                `),n(48,"mat-icon",25),t(49,`
-                  `),g(50,"fa-icon",26),t(51,`
-                `),i(),t(52,`
-              `),i(),t(53,`
-            `),i(),t(54,`
-          `),i(),t(55,`
-        `),i(),t(56,`
-      `),i(),t(57,`
-
-      `),n(58,"mat-menu",null,0),t(60,`
-        `),m(61,Vi,8,5,"ng-container",27),t(62,`
-
-        `),m(63,ji,12,6,"ng-container",28),t(64,`
-      `),i(),t(65,`
-    `),i(),t(66,`
-  `),i(),t(67,`
-
-  `),n(68,"mat-card-content",29),t(69,`
-    `),n(70,"nav",30),t(71,`
-      `),n(72,"a",31,1),t(74),r(75,"translate"),i(),t(76,`
-      `),n(77,"a",31,2),t(79),r(80,"translate"),i(),t(81,`
-      `),m(82,zi,7,6,"span",28),t(83,`
-      `),n(84,"a",31,3),t(86),r(87,"translate"),i(),t(88,`
-      `),m(89,$i,4,6,"a",32),t(90,`
-      `),m(91,Ui,4,1,"ng-container",27),t(92,`
-    `),i(),t(93,`
-
-    `),n(94,"mat-tab-nav-panel",null,4),t(96,`
-      `),g(97,"router-outlet"),t(98,`
-    `),i(),t(99,`
-  `),i(),t(100,`
-`),i(),t(101,`
-`)),l&2){let x=w(59),h=w(73),T=w(78),Z=w(85),Yt=w(95);o(10),dt("matTooltip",c(11,27,"tooltips.Fixed Deposits Account")),d("src","assets/images/fd_account_placeholder.png",hn),o(15),d("ngClass",c(26,29,p.fixedDepositsAccountData.status.code))("matTooltip",p.fixedDepositsAccountData.status.value),o(2),S(`
-                `,c(28,31,"labels.inputs.Fixed Deposit Product"),` :
-                `,p.fixedDepositsAccountData.depositProductName,`
-                `),o(2),dt("accountNo",p.fixedDepositsAccountData.accountNo),o(6),f("",c(36,33,"labels.text."+p.entityType)," :"),o(2),f(`
-                `,p.fixedDepositsAccountData.clientName||p.fixedDepositsAccountData.groupName,`
-                `),o(),d("ngIf",p.fixedDepositsAccountData.clientAccountNo),o(4),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval),o(4),d("matMenuTriggerFor",x),o(15),d("ngForOf",p.buttonConfig.singleButtons),o(2),d("ngIf",p.buttonConfig.options.length),o(7),d("tabPanel",Yt),o(2),d("routerLink",B(41,Ii))("active",h.isActive),o(2),f(`
-        `,c(75,35,"labels.inputs.General"),`
-      `),o(3),d("routerLink",B(42,Fi))("active",T.isActive),o(2),f(`
-        `,c(80,37,"labels.inputs.Interest Rate Chart"),`
-      `),o(3),d("ngIf",p.showTransactions),o(2),d("routerLink",B(43,Ei))("active",Z.isActive),o(2),f(`
-        `,c(87,39,"labels.inputs.Charges"),`
-      `),o(3),d("ngIf",p.fixedDepositsAccountData.clientId),o(2),d("ngForOf",p.savingsDatatables)}},dependencies:[ye,_t,F,tt,Be,$,mt,An,yn,Mn,Tn,Ye,Ke,We,Qe,En,Bn,wn,de,$n,xe,bn,L,Sn,se,O,Nn,Tt]})}}return e})();function Gi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Period")))}function Li(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),le(`
-          `,a.fromPeriod," - ",a.toPeriod,"\xA0",I(2,3,a.periodType.value,"catalogs"),`
-        `)}}function Wi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount Range")))}function Ki(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"formatNumber"),r(3,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
-          `,c(2,2,a.amountRangeFrom)," - ",c(3,4,a.amountRangeTo),`
-        `)}}function Qi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function Yi(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f("",c(2,1,a.annualInterestRate)," %")}}function Ji(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Description")))}function Xi(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),u(a.description)}}function Zi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function ta(e,s){e&1&&(n(0,"span"),t(1,`
-              `),g(2,"fa-icon",21),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
-              `,c(4,1,"labels.buttons.View Incentives"),`
-            `))}function ea(e,s){e&1&&(n(0,"span"),t(1,`
-              `),g(2,"fa-icon",22),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
-              `,c(4,1,"labels.buttons.Hide Incentives"),`
-            `))}function na(e,s){if(e&1){let a=y();n(0,"td",18),t(1,`
-          `),n(2,"button",19),b("click",function(){let p=P(a).dataIndex,x=C();return M(x.expandChartSlabIndex=x.expandChartSlabIndex===p?null:p)}),t(3,`
-            `),m(4,ta,5,3,"span",20),t(5,`
-            `),m(6,ea,5,3,"span",20),t(7,`
-          `),i(),t(8,`
-        `),i()}if(e&2){let a=s.dataIndex,l=C();o(4),d("ngIf",l.expandChartSlabIndex!==a),o(2),d("ngIf",l.expandChartSlabIndex===a)}}function ia(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Entity Type")))}function aa(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                    `,a.entityType.value,`
-                  `)}}function oa(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Name")))}function ra(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                    `,a.attributeName.value,`
-                  `)}}function pa(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Condition Type")))}function ca(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"titlecase"),i()),e&2){let a=s.$implicit;o(),f(`
-                    `,c(2,1,a.conditionType.value),`
-                  `)}}function la(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Value")))}function sa(e,s){if(e&1&&(n(0,"td",35),t(1),i()),e&2){let a=s.$implicit;d("ngSwitch",a.attributeName),o(),f(`
-                    `,a.attributeValueDesc,`
-                  `)}}function ma(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Incentive Type")))}function da(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                    `,a.incentiveType.value,`
-                  `)}}function ua(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function xa(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f(`
-                    `,c(2,1,a.amount),`
-                  `)}}function fa(e,s){e&1&&g(0,"tr",36)}function ga(e,s){e&1&&g(0,"tr",37)}function _a(e,s){if(e&1&&(n(0,"table",27),t(1,`
-                `),v(2,28),t(3,`
-                  `),m(4,ia,3,3,"th",7),t(5,`
-                  `),m(6,aa,2,1,"td",8),t(7,`
-                `),D(),t(8,`
-
-                `),v(9,29),t(10,`
-                  `),m(11,oa,3,3,"th",7),t(12,`
-                  `),m(13,ra,2,1,"td",8),t(14,`
-                `),D(),t(15,`
-
-                `),v(16,30),t(17,`
-                  `),m(18,pa,3,3,"th",7),t(19,`
-                  `),m(20,ca,3,3,"td",8),t(21,`
-                `),D(),t(22,`
-
-                `),v(23,31),t(24,`
-                  `),m(25,la,3,3,"th",7),t(26,`
-                  `),m(27,sa,2,2,"td",32),t(28,`
-                `),D(),t(29,`
-
-                `),v(30,33),t(31,`
-                  `),m(32,ma,3,3,"th",7),t(33,`
-                  `),m(34,da,2,1,"td",8),t(35,`
-                `),D(),t(36,`
-
-                `),v(37,34),t(38,`
-                  `),m(39,ua,3,3,"th",7),t(40,`
-                  `),m(41,xa,3,3,"td",8),t(42,`
-                `),D(),t(43,`
-
-                `),m(44,fa,1,0,"tr",14),t(45,`
-                `),m(46,ga,1,0,"tr",15),t(47,`
-              `),i()),e&2){let a=C().$implicit,l=C();d("dataSource",a.incentives),o(44),d("matHeaderRowDef",l.incentivesDisplayedColumns),o(2),d("matRowDefColumns",l.incentivesDisplayedColumns)}}function Ca(e,s){if(e&1&&(n(0,"td",18),t(1,`
-          `),n(2,"div",23),t(3,`
-            `),n(4,"mat-card",24),t(5,`
-              `),n(6,"h4",25),t(7),r(8,"translate"),i(),t(9,`
-
-              `),m(10,_a,48,3,"table",26),t(11,`
-            `),i(),t(12,`
-          `),i(),t(13,`
-        `),i()),e&2){let a=s.$implicit,l=s.dataIndex,p=C();Ae("colspan",p.chartSlabsDisplayedColumns.length),o(2),d("@expandChartSlab",l===p.expandChartSlabIndex?"expanded":"collapsed"),o(5),f(`
-                `,c(8,4,"labels.heading.Incentives"),`
-              `),o(3),d("ngIf",a.incentives==null?null:a.incentives.length)}}function ha(e,s){e&1&&g(0,"tr",36)}function va(e,s){e&1&&g(0,"tr",37)}function Da(e,s){e&1&&g(0,"tr",38)}var Yn=(()=>{class e{constructor(a){this.route=a,this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.route.parent.data.subscribe(l=>{this.interestRateChartData=l.fixedDepositsAccountData.accountChart.chartSlabs})}static{this.\u0275fac=function(l){return new(l||e)(_(k))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-interest-rate-chart-tab"]],decls:66,vars:7,consts:[["chartsTable",""],[1,"tab-container","mat-typography"],[1,"align-start-center"],[1,"m-b-20"],[1,"mat-elevation-z1","m-b-25"],["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-fill","incentives"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
-  `),n(2,"div",2),t(3,`
-    `),n(4,"div",3),t(5,`
-      `),n(6,"h3"),t(7),r(8,"translate"),i(),t(9,`
-    `),i(),t(10,`
-  `),i(),t(11,`
-
-  `),n(12,"div",4),t(13,`
-    `),n(14,"table",5,0),t(16,`
-      `),v(17,6),t(18,`
-        `),m(19,Gi,3,3,"th",7),t(20,`
-        `),m(21,Li,3,6,"td",8),t(22,`
-      `),D(),t(23,`
-
-      `),v(24,9),t(25,`
-        `),m(26,Wi,3,3,"th",7),t(27,`
-        `),m(28,Ki,4,6,"td",8),t(29,`
-      `),D(),t(30,`
-
-      `),v(31,10),t(32,`
-        `),m(33,Qi,3,3,"th",7),t(34,`
-        `),m(35,Yi,3,3,"td",8),t(36,`
-      `),D(),t(37,`
-
-      `),v(38,11),t(39,`
-        `),m(40,Ji,3,3,"th",7),t(41,`
-        `),m(42,Xi,2,1,"td",8),t(43,`
-      `),D(),t(44,`
-
-      `),v(45,12),t(46,`
-        `),m(47,Zi,3,3,"th",7),t(48,`
-        `),m(49,na,9,2,"td",8),t(50,`
-      `),D(),t(51,`
-
-      `),v(52,13),t(53,`
-        `),m(54,Ca,14,6,"td",8),t(55,`
-      `),D(),t(56,`
-
-      `),m(57,ha,1,0,"tr",14),t(58,`
-      `),m(59,va,1,0,"tr",15),t(60,`
-      `),m(61,Da,1,0,"tr",16),t(62,`
-    `),i(),t(63,`
-  `),i(),t(64,`
-`),i(),t(65,`
-`)),l&2&&(o(7),u(c(8,5,"labels.heading.All Interest Rates")),o(7),d("dataSource",p.interestRateChartData),o(43),d("matHeaderRowDef",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsIncentivesDisplayedColumns))},dependencies:[F,Oe,tt,E,$,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,Ie,O,ue,Tt],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]{height:0}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .incentives[_ngcontent-%COMP%]{overflow:hidden}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[Fe("expandChartSlab",[ce("collapsed",pe({height:"0px",minHeight:"0"})),ce("expanded",pe({height:"*"})),we("expanded <=> collapsed",Ee("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})();var Sa=e=>["/","journal-entry","view",e];function Pa(e,s){if(e&1){let a=y();n(0,"div",21),t(1,`
-        `),n(2,"mat-checkbox",22),b("click",function(){P(a);let p=C();return M(p.hideReversed())}),t(3),r(4,"translate"),i(),t(5,`
-        `),n(6,"mat-checkbox",22),b("click",function(){P(a);let p=C();return M(p.hideAccruals())}),t(7),r(8,"translate"),i(),t(9,`
-      `),i()}if(e&2){let a=C();o(2),d("formControl",a.hideReversedParam),o(),f(`
-          `,c(4,4,"labels.inputs.Hide Reversed"),""),o(3),d("formControl",a.hideAccrualsParam),o(),f(`
-          `,c(8,6,"labels.inputs.Hide Accruals"),"")}}function Ma(e,s){e&1&&(n(0,"th",23),t(1,"#"),i())}function Ta(e,s){if(e&1){let a=y();n(0,"td",24),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),i()}if(e&2){let a=s.index;o(),f(`
-          `,a+1,`
-        `)}}function Aa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.ID")))}function ya(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
-          `,a.id,`
-        `)}}function Oa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Transaction Date")))}function Ia(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"dateFormat"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
-          `,c(2,2,a.date),`
-        `)}}function Fa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Transaction Type")))}function Ea(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"translateKey"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
-          `,I(2,2,a.transactionType.value,"catalogs"),`
-        `)}}function wa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Debit")))}function Ba(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"formatNumber"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
-          `,l.isDebit(a.transactionType)?c(2,2,a.amount):"N/A",`
-        `)}}function ka(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Credit")))}function Ra(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"formatNumber"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
-          `,l.isDebit(a.transactionType)?"N/A":c(2,2,a.amount),`
-        `)}}function Na(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Balance")))}function Va(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"formatNumber"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
-          `,c(2,2,a.runningBalance),`
-        `)}}function qa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function ja(e,s){if(e&1){let a=y();n(0,"td",26),t(1,`
-          `),n(2,"button",27),t(3,`
-            `),n(4,"mat-icon"),t(5,"more_vert"),i(),t(6,`
-          `),i(),t(7,`
-          `),n(8,"mat-menu",null,0),t(10,`
-            `),n(11,"button",28),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(12,`
-              `),n(13,"mat-icon"),g(14,"fa-icon",29),i(),t(15,`
-              `),n(16,"span"),t(17),r(18,"translate"),i(),t(19,`
-            `),i(),t(20,`
-            `),n(21,"button",30),b("click",function(p){P(a);let x=C();return M(x.routeEdit(p))}),t(22,`
-              `),n(23,"mat-icon"),g(24,"fa-icon",31),i(),t(25,`
-              `),n(26,"span"),t(27),r(28,"translate"),i(),t(29,`
-            `),i(),t(30,`
-          `),i(),t(31,`
-        `),i()}if(e&2){let a=s.$implicit,l=w(9);o(2),d("matMenuTriggerFor",l),o(15),u(c(18,4,"labels.text.View Transaction")),o(4),d("routerLink",Ge(8,Sa,"S"+a.id)),o(6),u(c(28,6,"tooltips.View Journal Entries"))}}function za(e,s){e&1&&g(0,"tr",32)}function $a(e,s){e&1&&g(0,"tr",33)}var Jn=(()=>{class e{constructor(a,l,p){this.route=a,this.router=l,this.dialog=p,this.displayedColumns=["row","id","transactionDate","transactionType","debit","credit","balance","actions"],this.route.parent.data.subscribe(x=>{this.transactionsData=x.fixedDepositsAccountData.transactions,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId,this.status=x.fixedDepositsAccountData.status.value})}ngOnInit(){this.hideAccrualsParam=new G(!1),this.hideReversedParam=new G(!1),this.dataSource=new De(this.transactionsData)}checkStatus(){return this.status==="Active"||this.status==="Closed"||this.status==="Transfer in progress"||this.status==="Transfer on hold"||this.status==="Premature Closed"||this.status==="Matured"}isDebit(a){return a.withdrawal===!0||a.feeDeduction===!0||a.overdraftInterest===!0||a.withholdTax===!0}showTransactions(a){a.transfer?this.router.navigate([`account-transfers/account-transfers/${a.transfer.id}`],{relativeTo:this.route}):this.router.navigate([a.id],{relativeTo:this.route})}hideAccruals(){this.filterTransactions(this.hideReversedParam.value,!this.hideAccrualsParam.value)}hideReversed(){this.filterTransactions(!this.hideReversedParam.value,this.hideAccrualsParam.value)}filterTransactions(a,l){let p=this.transactionsData;(l||a)&&(p=this.transactionsData.filter(x=>!(a&&x.reversed)&&!(l&&x.transactionType.accrual))),this.dataSource=new De(p),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}savingsTransactionColor(a){return a.reversed?"strike":a.transfer?"transfer":a.transactionType.accrual?"accrual":""}routeEdit(a){a.stopPropagation()}undoTransaction(a){}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(Ut))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-transactions-tab"]],viewQuery:function(l,p){if(l&1&&(xt(On,7),xt(Fn,7)),l&2){let x;ft(x=gt())&&(p.paginator=x.first),ft(x=gt())&&(p.sort=x.first)}},decls:81,vars:7,consts:[["transactionMenu","matMenu"],[1,"tab-container","mat-typography"],[1,"mat-elevation-z1","m-b-25"],[1,"layout-row","align-start"],[1,"m-b-20"],["class","action-button m-b-20 layout-row gap-20px",4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","row"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",3,"ngClass","click",4,"matCellDef"],["matColumnDef","transactionDate"],["matColumnDef","transactionType"],["matColumnDef","debit"],["matColumnDef","credit"],["matColumnDef","balance"],["matColumnDef","actions"],["mat-cell","","class","center",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","select-row",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20","layout-row","gap-20px"],[1,"accruals",3,"click","formControl"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-cell","",3,"click","ngClass"],["mat-cell","",1,"center"],["mat-icon-button","","aria-label","",1,"action-button",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["icon","eye","size","sm"],["mat-menu-item","",3,"click","routerLink"],["icon","table-cells","size","sm"],["mat-header-row",""],["mat-row","",1,"select-row"]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
-  `),n(2,"div",2),t(3,`
-    `),n(4,"div",3),t(5,`
-      `),n(6,"div",4),t(7,`
-        `),n(8,"h3"),t(9),r(10,"translate"),i(),t(11,`
-      `),i(),t(12,`
-      `),m(13,Pa,10,8,"div",5),t(14,`
-    `),i(),t(15,`
-
-    `),n(16,"table",6),t(17,`
-      `),v(18,7),t(19,`
-        `),m(20,Ma,2,0,"th",8),t(21,`
-        `),m(22,Ta,2,1,"td",9),t(23,`
-      `),D(),t(24,`
-
-      `),v(25,10),t(26,`
-        `),m(27,Aa,3,3,"th",8),t(28,`
-        `),m(29,ya,2,2,"td",11),t(30,`
-      `),D(),t(31,`
-
-      `),v(32,12),t(33,`
-        `),m(34,Oa,3,3,"th",8),t(35,`
-        `),m(36,Ia,3,4,"td",11),t(37,`
-      `),D(),t(38,`
-
-      `),v(39,13),t(40,`
-        `),m(41,Fa,3,3,"th",8),t(42,`
-        `),m(43,Ea,3,5,"td",11),t(44,`
-      `),D(),t(45,`
-
-      `),v(46,14),t(47,`
-        `),m(48,wa,3,3,"th",8),t(49,`
-        `),m(50,Ba,3,4,"td",11),t(51,`
-      `),D(),t(52,`
-
-      `),v(53,15),t(54,`
-        `),m(55,ka,3,3,"th",8),t(56,`
-        `),m(57,Ra,3,4,"td",11),t(58,`
-      `),D(),t(59,`
-
-      `),v(60,16),t(61,`
-        `),m(62,Na,3,3,"th",8),t(63,`
-        `),m(64,Va,3,4,"td",11),t(65,`
-      `),D(),t(66,`
-
-      `),v(67,17),t(68,`
-        `),m(69,qa,3,3,"th",8),t(70,`
-        `),m(71,ja,32,10,"td",18),t(72,`
-      `),D(),t(73,`
-
-      `),m(74,za,1,0,"tr",19),t(75,`
-      `),m(76,$a,1,0,"tr",20),t(77,`
-    `),i(),t(78,`
-  `),i(),t(79,`
-`),i(),t(80,`
-`)),l&2&&(o(9),u(c(10,5,"labels.heading.All Transactions")),o(4),d("ngIf",p.checkStatus()),o(3),d("dataSource",p.dataSource),o(58),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns))},dependencies:[ye,F,tt,Be,Le,Ye,Ke,We,Qe,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,K,Pn,L,O,At,ue,Tt],styles:["body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%]   .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%]   .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}  .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;color:#000}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 0 3px;margin:0 2%;line-height:25px}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .linked[_ngcontent-%COMP%]{color:#4461e2}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .accrual[_ngcontent-%COMP%]{color:#999}.select-row[_ngcontent-%COMP%]:hover{cursor:pointer;font-weight:800}"]})}}return e})();var Ha=()=>({confirm:!0}),Xn=(()=>{class e{constructor(a,l){this.dialogRef=a,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(_(te),_(ke))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-waive-charge-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
-  `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
-  `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
-  `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,6,"labels.heading.Waive Charge")),o(6),S("",c(8,8,"labels.text.Are you sure you want to waive charge with id"),": ",p.data.id," ?"),o(7),u(c(15,10,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(14,Ha)),o(),f(`
-    `,c(19,12,"labels.buttons.Confirm"),`
-  `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ua=()=>({confirm:!0}),Zn=(()=>{class e{constructor(a,l){this.dialogRef=a,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(_(te),_(ke))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-inactivate-charge-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
-  `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
-  `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
-  `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,6,"labels.heading.Inactivate Charge")),o(6),S("",c(8,8,"labels.text.Are you sure you want to inactivate charge with id"),": ",p.data.id," ?"),o(7),u(c(15,10,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(14,Ua)),o(),f(`
-    `,c(19,12,"labels.buttons.Confirm"),`
-  `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ga=["chargesTable"],La=()=>[2e3];function Wa(e,s){if(e&1){let a=y();n(0,"div",22),t(1,`
-      `),n(2,"button",23),b("click",function(){P(a);let p=C();return M(p.toggleCharges())}),t(3),i(),t(4,`
-    `),i()}if(e&2){let a=C();o(3),f(`
-        `,a.showInactiveCharges?"View Active Charges":"View Inactive Charges",`
-      `)}}function Ka(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.name")))}function Qa(e,s){if(e&1&&(n(0,"td",25),t(1),i()),e&2){let a=s.$implicit;o(),u(a.name)}}function Ya(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Fee/Penalty")))}function Ja(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"translateKey"),r(3,"translateKey"),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.penalty===!0?I(2,1,"Penalty","catalogs"):I(3,4,"Fee","catalogs"),`
-        `)}}function Xa(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Payment Due At")))}function Za(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),u(I(2,1,a.chargeTimeType.value,"catalogs"))}}function to(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Due As Of")))}function eo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"dateFormat"),i()),e&2){let a=s.$implicit;o(),u(c(2,1,a.dueDate))}}function no(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Repeats On")))}function io(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"dateFormat"),r(3,"translateKey"),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.feeOnMonthDay?I(2,1,B(7,La).concat(a.feeOnMonthDay),"dd MMMM"):I(3,4,"Unassigned","inputs"),`
-        `)}}function ao(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Calculation Type")))}function oo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),u(I(2,1,a.chargeCalculationType.value,"catalogs"))}}function ro(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Due")))}function po(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.currency.displaySymbol,"\xA0",c(2,2,a.amount),`
-        `)}}function co(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Paid")))}function lo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.currency.displaySymbol,"\xA0",c(2,2,a.amountPaid),`
-        `)}}function so(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Waived")))}function mo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.currency.displaySymbol,"\xA0",c(2,2,a.amountWaived),`
-        `)}}function uo(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Outstanding")))}function xo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.currency.displaySymbol,"\xA0",c(2,2,a.amountOutstanding),`
-        `)}}function fo(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function go(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.editCharge(x))}),t(2,`
-              `),g(3,"i",30),t(4,`
-            `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Edit Charge"))}function _o(e,s){if(e&1){let a=y();n(0,"button",31),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.deleteCharge(x.id))}),t(2,`
-              `),g(3,"i",32),t(4,`
-            `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Delete Charge"))}function Co(e,s){e&1&&(n(0,"span"),t(1,`
-            `),m(2,go,5,3,"button",27),t(3,`
-            `),m(4,_o,5,3,"button",28),t(5,`
-          `),i()),e&2&&(o(2),d("mifosxHasPermission","UPDATE_SAVINGSACCOUNTCHARGE"),o(2),d("mifosxHasPermission","DELETE_SAVINGSACCOUNTCHARGE"))}function ho(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.payCharge(x.id))}),t(2,`
-              `),g(3,"i",33),t(4,`
-            `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Pay Charge"))}function vo(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.waiveCharge(x.id))}),t(2,`
-              `),g(3,"i",34),t(4,`
-            `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Waive Charge"))}function Do(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(3).$implicit,h=C();return h.routeEdit(p),M(h.inactivateCharge(x.id))}),t(2,`
-                `),g(3,"i",35),t(4,`
-              `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Inactivate Charge"))}function bo(e,s){e&1&&(v(0),t(1,`
-              `),m(2,Do,5,3,"button",27),t(3,`
-            `),D()),e&2&&(o(2),d("mifosxHasPermission","INACTIVATE_SAVINGSACCOUNTCHARGE"))}function So(e,s){if(e&1&&(n(0,"span"),t(1,`
-            `),m(2,ho,5,3,"button",27),t(3,`
-            `),m(4,vo,5,3,"button",27),t(5,`
-            `),m(6,bo,4,1,"ng-container",26),t(7,`
-          `),i()),e&2){let a=C().$implicit,l=C();o(2),d("mifosxHasPermission","PAY_SAVINGSACCOUNTCHARGE"),o(2),d("mifosxHasPermission","WAIVE_SAVINGSACCOUNTCHARGE"),o(2),d("ngIf",l.isRecurringCharge(a))}}function Po(e,s){if(e&1&&(n(0,"td",25),t(1,`
-          `),m(2,Co,6,2,"span",26),t(3,`
-          `),m(4,So,8,3,"span",26),t(5,`
-        `),i()),e&2){let a=s.$implicit,l=C();o(2),d("ngIf",l.fixedDepositsAccountData.status.value==="Submitted and pending approval"),o(2),d("ngIf",l.fixedDepositsAccountData.status.value==="Active"&&a.amountOutstanding!==0)}}function Mo(e,s){e&1&&g(0,"tr",36)}function To(e,s){e&1&&g(0,"tr",37)}var ti=(()=>{class e{constructor(a,l,p,x,h,T){this.savingsService=a,this.route=l,this.dateUtils=p,this.router=x,this.dialog=h,this.settingsService=T,this.showInactiveCharges=!1,this.displayedColumns=["name","feeOrPenalty","paymentDueAt","dueAsOf","repeatsOn","calculationType","due","paid","waived","outstanding","actions"],this.route.parent.data.subscribe(Z=>{this.fixedDepositsAccountData=Z.fixedDepositsAccountData,this.chargesData=this.fixedDepositsAccountData.charges})}ngOnInit(){let a=this.chargesData?this.chargesData.filter(l=>l.isActive):[];this.dataSource=new De(a)}toggleCharges(){if(this.showInactiveCharges=!this.showInactiveCharges,this.showInactiveCharges){let a=this.chargesData.filter(l=>!l.isActive);this.dataSource.data=a}else{let a=this.chargesData.filter(l=>l.isActive);this.dataSource.data=a}this.chargesTableRef.renderRows()}payCharge(a){let l=[new Ve({controlName:"amount",label:"Amount",value:"",type:"number",required:!0}),new en({controlName:"dueDate",label:"Payment Date",value:"",type:"date",required:!0})],p={title:`Pay Charge ${a}`,layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=this.settingsService.language.code,Z=this.settingsService.dateFormat,Yt=U(V({},h.data.value),{dueDate:this.dateUtils.formatDate(h.data.value.dueDate,Z),dateFormat:Z,locale:T});this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"paycharge",Yt,a).subscribe(()=>{this.reload()})}})}waiveCharge(a){this.dialog.open(Xn,{data:{id:a}}).afterClosed().subscribe(p=>{p.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"waive",{},a).subscribe(()=>{this.reload()})})}inactivateCharge(a){this.dialog.open(Zn,{data:{id:a}}).afterClosed().subscribe(p=>{p.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"inactivate",{},a).subscribe(()=>{this.reload()})})}editCharge(a){let l=[new Ve({controlName:"amount",label:"Amount",value:a.amount||a.amountOrPercentage,type:"number",required:!0})],p={title:`Edit Charge ${a.id}`,layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=this.settingsService.language.code,Z=this.settingsService.dateFormat,Yt=U(V({},h.data.value),{dateFormat:Z,locale:T});this.savingsService.editSavingsAccountCharge(this.fixedDepositsAccountData.id,Yt,a.id).subscribe(()=>{this.reload()})}})}deleteCharge(a){this.dialog.open(Re,{data:{deleteContext:`charge id:${a}`}}).afterClosed().subscribe(p=>{p.delete&&this.savingsService.deleteSavingsAccountCharge(this.fixedDepositsAccountData.id,a).subscribe(()=>{this.reload()})})}isRecurringCharge(a){return a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Weekly Fee"}routeEdit(a){a.stopPropagation()}reload(){let a=this.fixedDepositsAccountData.clientId,l=this.router.url;this.router.navigateByUrl(`/clients/${a}/fixed-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([l]))}static{this.\u0275fac=function(l){return new(l||e)(_(jt),_(k),_(W),_(z),_(Ut),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-charges-tab"]],viewQuery:function(l,p){if(l&1&&xt(Ga,7),l&2){let x;ft(x=gt())&&(p.chargesTableRef=x.first)}},decls:103,vars:7,consts:[["chargesTable",""],[1,"tab-container","mat-typography"],[1,"layout-row","align-start"],[1,"m-b-10"],["class","action-button m-b-20",4,"ngIf"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","feeOrPenalty"],["matColumnDef","paymentDueAt"],["matColumnDef","dueAsOf"],["matColumnDef","repeatsOn"],["matColumnDef","calculationType"],["matColumnDef","due"],["matColumnDef","paid"],["matColumnDef","waived"],["matColumnDef","outstanding"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip","click",4,"mifosxHasPermission"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-pencil"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-trash"],[1,"fa","fa-dollar"],[1,"fa","fa-flag"],[1,"fa","fa-ban"],["mat-header-row",""],["mat-row",""]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
-  `),n(2,"div",2),t(3,`
-    `),n(4,"div",3),t(5,`
-      `),n(6,"h3"),t(7),r(8,"translate"),i(),t(9,`
-    `),i(),t(10,`
-    `),m(11,Wa,5,1,"div",4),t(12,`
-  `),i(),t(13,`
-
-  `),n(14,"div",5),t(15,`
-    `),n(16,"table",6,0),t(18,`
-      `),v(19,7),t(20,`
-        `),m(21,Ka,3,3,"th",8),t(22,`
-        `),m(23,Qa,2,1,"td",9),t(24,`
-      `),D(),t(25,`
-
-      `),v(26,10),t(27,`
-        `),m(28,Ya,3,3,"th",8),t(29,`
-        `),m(30,Ja,4,7,"td",9),t(31,`
-      `),D(),t(32,`
-
-      `),v(33,11),t(34,`
-        `),m(35,Xa,3,3,"th",8),t(36,`
-        `),m(37,Za,3,4,"td",9),t(38,`
-      `),D(),t(39,`
-
-      `),v(40,12),t(41,`
-        `),m(42,to,3,3,"th",8),t(43,`
-        `),m(44,eo,3,3,"td",9),t(45,`
-      `),D(),t(46,`
-
-      `),v(47,13),t(48,`
-        `),m(49,no,3,3,"th",8),t(50,`
-        `),m(51,io,4,8,"td",9),t(52,`
-      `),D(),t(53,`
-
-      `),v(54,14),t(55,`
-        `),m(56,ao,3,3,"th",8),t(57,`
-        `),m(58,oo,3,4,"td",9),t(59,`
-      `),D(),t(60,`
-
-      `),v(61,15),t(62,`
-        `),m(63,ro,3,3,"th",8),t(64,`
-        `),m(65,po,3,4,"td",9),t(66,`
-      `),D(),t(67,`
-
-      `),v(68,16),t(69,`
-        `),m(70,co,3,3,"th",8),t(71,`
-        `),m(72,lo,3,4,"td",9),t(73,`
-      `),D(),t(74,`
-
-      `),v(75,17),t(76,`
-        `),m(77,so,3,3,"th",8),t(78,`
-        `),m(79,mo,3,4,"td",9),t(80,`
-      `),D(),t(81,`
-
-      `),v(82,18),t(83,`
-        `),m(84,uo,3,3,"th",8),t(85,`
-        `),m(86,xo,3,4,"td",9),t(87,`
-      `),D(),t(88,`
-
-      `),v(89,19),t(90,`
-        `),m(91,fo,3,3,"th",8),t(92,`
-        `),m(93,Po,6,2,"td",9),t(94,`
-      `),D(),t(95,`
-
-      `),m(96,Mo,1,0,"tr",20),t(97,`
-      `),m(98,To,1,0,"tr",21),t(99,`
-    `),i(),t(100,`
-  `),i(),t(101,`
-`),i(),t(102,`
-`)),l&2&&(o(7),u(c(8,5,"labels.heading.All Charges")),o(4),d("ngIf",p.chargesData),o(5),d("dataSource",p.dataSource),o(80),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns))},dependencies:[F,E,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,de,xe,O,At,ue,Tt],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return e})();var Ao=["instructionsTable"];function yo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Client")))}function Oo(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.fromClient.displayName,"-",a.fromClient.id,`
-        `)}}function Io(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.From Account")))}function Fo(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.fromAccount.accountNo," (",a.fromAccountType.value,`)
-        `)}}function Eo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Beneficiary")))}function wo(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),u(a.toClient.displayName)}}function Bo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.To Account")))}function ko(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S(`
-          `,a.toAccount.accountNo," (",a.toAccountType.value,`)
-        `)}}function Ro(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount")))}function No(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S("",a.instructionType.value,"/",a.amount,"")}}function Vo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Validity")))}function qo(e,s){if(e&1&&(n(0,"td",17),t(1),r(2,"dateFormat"),r(3,"dateFormat"),i()),e&2){let a=s.$implicit;o(),S(`
-          `,c(2,2,a.validFrom)," to ",c(3,4,a.validTill),`
-        `)}}function jo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function zo(e,s){e&1&&(n(0,"button",20),r(1,"translate"),t(2,`
-              `),g(3,"i",21),t(4,`
-            `),i()),e&2&&dt("matTooltip",c(1,1,"tooltips.Edit Standing Instruction"))}function $o(e,s){e&1&&(n(0,"span"),t(1,`
-            `),m(2,zo,5,3,"button",19),t(3,`
-          `),i()),e&2&&(o(2),d("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION"))}function Ho(e,s){if(e&1){let a=y();n(0,"button",23),r(1,"translate"),b("click",function(){P(a);let p=C(2).$implicit,x=C();return M(x.deleteStandingInstruction(p.id))}),t(2,`
-              `),g(3,"i",24),t(4,`
-            `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Delete Standing Instruction"))}function Uo(e,s){e&1&&(n(0,"span"),t(1,`
-            `),m(2,Ho,5,3,"button",22),t(3,`
-          `),i()),e&2&&(o(2),d("mifosxHasPermission","DELETE_STANDINGINSTRUCTION"))}function Go(e,s){e&1&&(n(0,"button",20),r(1,"translate"),t(2,`
-            `),g(3,"i",25),t(4,`
-          `),i()),e&2&&dt("matTooltip",c(1,1,"tooltips.View Standing Instruction"))}function Lo(e,s){if(e&1&&(n(0,"td",17),t(1,`
-          `),m(2,$o,4,1,"span",18),t(3,`
-          `),m(4,Uo,4,1,"span",18),t(5,`
-          `),m(6,Go,5,3,"button",19),t(7,`
-        `),i()),e&2){let a=s.$implicit;o(2),d("ngIf",a.status.value!=="Deleted"),o(2),d("ngIf",a.status.value!=="Deleted"),o(2),d("mifosxHasPermission","READ_STANDINGINSTRUCTION")}}function Wo(e,s){e&1&&g(0,"tr",26)}function Ko(e,s){e&1&&g(0,"tr",27)}var ei=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.fixedDepositsService=l,this.dialog=p,this.accountTransfersService=x,this.settingsService=h,this.dataSource=new De,this.displayedColumns=["client","fromAccount","beneficiary","toAccount","amount","validity","actions"],this.route.parent.data.subscribe(T=>{this.fixedDepositsData=T.fixedDepositsAccountData})}ngOnInit(){this.getStandingInstructions()}getStandingInstructions(){let a=this.fixedDepositsData.clientId,l=this.fixedDepositsData.clientName,p=this.fixedDepositsData.id,x=this.settingsService.language.code,h=this.settingsService.dateFormat;this.fixedDepositsService.getStandingInstructions(a,l,p,x,h).subscribe(T=>{this.instructionsData=T.pageItems,this.dataSource.data=this.instructionsData,this.instructionTableRef.renderRows()})}deleteStandingInstruction(a){this.dialog.open(Re,{data:{deleteContext:`standing instruction id: ${a}`}}).afterClosed().subscribe(p=>{p.delete&&this.accountTransfersService.deleteStandingInstrucions(a).subscribe(()=>{})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(j),_(Ut),_(Gn),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-standing-instructions-tab"]],viewQuery:function(l,p){if(l&1&&xt(Ao,7),l&2){let x;ft(x=gt())&&(p.instructionTableRef=x.first)}},decls:70,vars:6,consts:[["instructionsTable",""],[1,"tab-container","mat-typography"],[1,"m-b-10"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","client"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fromAccount"],["matColumnDef","beneficiary"],["matColumnDef","toAccount"],["matColumnDef","amount"],["matColumnDef","validity"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"matTooltip"],[1,"fa","fa-edit"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-times"],[1,"fa","fa-eye"],["mat-header-row",""],["mat-row",""]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
-  `),n(2,"div",2),t(3,`
-    `),n(4,"h3"),t(5),r(6,"translate"),i(),t(7,`
-  `),i(),t(8,`
-
-  `),n(9,"div",3),t(10,`
-    `),n(11,"table",4,0),t(13,`
-      `),v(14,5),t(15,`
-        `),m(16,yo,3,3,"th",6),t(17,`
-        `),m(18,Oo,2,2,"td",7),t(19,`
-      `),D(),t(20,`
-
-      `),v(21,8),t(22,`
-        `),m(23,Io,3,3,"th",6),t(24,`
-        `),m(25,Fo,2,2,"td",7),t(26,`
-      `),D(),t(27,`
-
-      `),v(28,9),t(29,`
-        `),m(30,Eo,3,3,"th",6),t(31,`
-        `),m(32,wo,2,1,"td",7),t(33,`
-      `),D(),t(34,`
-
-      `),v(35,10),t(36,`
-        `),m(37,Bo,3,3,"th",6),t(38,`
-        `),m(39,ko,2,2,"td",7),t(40,`
-      `),D(),t(41,`
-
-      `),v(42,11),t(43,`
-        `),m(44,Ro,3,3,"th",6),t(45,`
-        `),m(46,No,2,2,"td",7),t(47,`
-      `),D(),t(48,`
-
-      `),v(49,12),t(50,`
-        `),m(51,Vo,3,3,"th",6),t(52,`
-        `),m(53,qo,4,6,"td",7),t(54,`
-      `),D(),t(55,`
-
-      `),v(56,13),t(57,`
-        `),m(58,jo,3,3,"th",6),t(59,`
-        `),m(60,Lo,8,3,"td",7),t(61,`
-      `),D(),t(62,`
-
-      `),m(63,Wo,1,0,"tr",14),t(64,`
-      `),m(65,Ko,1,0,"tr",15),t(66,`
-    `),i(),t(67,`
-  `),i(),t(68,`
-`),i(),t(69,`
-`)),l&2&&(o(5),u(c(6,4,"labels.heading.All Standing Instructions")),o(6),d("dataSource",p.dataSource),o(52),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns))},dependencies:[F,E,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,de,xe,O,At],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return e})();var ni=(()=>{class e{constructor(a){this.route=a,this.entityId=this.route.parent.parent.snapshot.paramMap.get("fixedDepositAccountId"),this.route.data.subscribe(l=>{this.entityDatatable=l.savingsDatatable,this.multiRowDatatableFlag=this.entityDatatable.columnHeaders[0].columnName==="id"})}static{this.\u0275fac=function(l){return new(l||e)(_(k))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-datatable-tabs"]],decls:6,vars:3,consts:[[1,"tab-container","mat-typography"],["entityType","Fixed Deposit",3,"entityId","multiRowDatatableFlag","entityDatatable"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
-  `),n(2,"mifosx-entity-datatable-tab",1),t(3,`
-  `),i(),t(4,`
-`),i(),t(5,`
-`)),l&2&&(o(2),d("entityId",p.entityId)("multiRowDatatableFlag",p.multiRowDatatableFlag)("entityDatatable",p.entityDatatable))},dependencies:[zn]})}}return e})();var Qo=()=>["../../"];function Yo(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Approved On Date")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}var ii=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createApproveFixedDepositsAccountForm()}createApproveFixedDepositsAccountForm(){this.approveFixedDepositsAccountForm=this.formBuilder.group({approvedOnDate:["",R.required],note:[""]})}submit(){let a=this.approveFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.approveFixedDepositsAccountForm.value.approvedOnDate;a.approvedOnDate instanceof Date&&(a.approvedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"approve",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-approve-fixed-deposits-account"]],decls:51,vars:21,consts:[["approvedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","approvedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"div",3),t(9,`
-          `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
-            `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-            `),g(16,"input",5),t(17,`
-            `),g(18,"mat-datepicker-toggle",6),t(19,`
-            `),g(20,"mat-datepicker",null,0),t(22,`
-            `),m(23,Yo,8,9,"mat-error",7),t(24,`
-          `),i(),t(25,`
-
-          `),n(26,"mat-form-field"),t(27,`
-            `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
-            `),g(32,"textarea",8),t(33,`
-          `),i(),t(34,`
-        `),i(),t(35,`
-      `),i(),t(36,`
-
-      `),n(37,"mat-card-actions",9),t(38,`
-        `),n(39,"button",10),t(40),r(41,"translate"),i(),t(42,`
-        `),n(43,"button",11),t(44),r(45,"translate"),i(),t(46,`
-      `),i(),t(47,`
-    `),i(),t(48,`
-  `),i(),t(49,`
-`),i(),t(50,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.approveFixedDepositsAccountForm),o(9),u(c(14,12,"labels.inputs.Approved On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.approveFixedDepositsAccountForm.controls.approvedOnDate.hasError("required")),o(6),u(c(30,14,"labels.inputs.Note")),o(10),d("routerLink",B(20,Qo)),o(),f(`
-          `,c(41,16,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.approveFixedDepositsAccountForm),o(),f(`
-          `,c(45,18,"labels.buttons.Confirm"),`
-        `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var Xo=()=>["../../"];function Zo(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Rejected On Date")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}var ai=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createRejectFixedDepositsAccountForm()}createRejectFixedDepositsAccountForm(){this.rejectFixedDepositsAccountForm=this.formBuilder.group({rejectedOnDate:["",R.required],note:[""]})}submit(){let a=this.rejectFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.rejectFixedDepositsAccountForm.value.rejectedOnDate;a.rejectedOnDate instanceof Date&&(a.rejectedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"reject",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-reject-fixed-deposits-account"]],decls:51,vars:21,consts:[["rejectedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","rejectedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"div",3),t(9,`
-          `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
-            `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-            `),g(16,"input",5),t(17,`
-            `),g(18,"mat-datepicker-toggle",6),t(19,`
-            `),g(20,"mat-datepicker",null,0),t(22,`
-            `),m(23,Zo,8,9,"mat-error",7),t(24,`
-          `),i(),t(25,`
-
-          `),n(26,"mat-form-field"),t(27,`
-            `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
-            `),g(32,"textarea",8),t(33,`
-          `),i(),t(34,`
-        `),i(),t(35,`
-      `),i(),t(36,`
-
-      `),n(37,"mat-card-actions",9),t(38,`
-        `),n(39,"button",10),t(40),r(41,"translate"),i(),t(42,`
-        `),n(43,"button",11),t(44),r(45,"translate"),i(),t(46,`
-      `),i(),t(47,`
-    `),i(),t(48,`
-  `),i(),t(49,`
-`),i(),t(50,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.rejectFixedDepositsAccountForm),o(9),u(c(14,12,"labels.inputs.Rejected On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.rejectFixedDepositsAccountForm.controls.rejectedOnDate.hasError("required")),o(6),u(c(30,14,"labels.inputs.Note")),o(10),d("routerLink",B(20,Xo)),o(),f(`
-          `,c(41,16,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.rejectFixedDepositsAccountForm.valid),o(),f(`
-          `,c(45,18,"labels.buttons.Confirm"),`
-        `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var er=()=>["../../"];function nr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-          `),i()),e&2&&(o(),S(`
-            `,c(2,3,"labels.inputs.Activated On Date")," ",c(3,5,"labels.commons.is"),`
-            `),o(4),u(c(6,7,"labels.commons.required")))}var oi=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.savingsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createActivateFixedDepositsAccountForm()}createActivateFixedDepositsAccountForm(){this.activateFixedDepositsAccountForm=this.formBuilder.group({activatedOnDate:["",R.required]})}submit(){let a=this.activateFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.activateFixedDepositsAccountForm.value.activatedOnDate;a.activatedOnDate instanceof Date&&(a.activatedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.savingsService.executeSavingsAccountCommand(this.accountId,"activate",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(jt),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-activate-fixed-deposits-account"]],decls:39,vars:18,consts:[["activatedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-100",3,"click"],["matInput","","required","","formControlName","activatedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"mat-form-field",3),b("click",function(){P(x);let T=w(19);return M(T.open())}),t(9,`
-          `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
-          `),g(14,"input",4),t(15,`
-          `),g(16,"mat-datepicker-toggle",5),t(17,`
-          `),g(18,"mat-datepicker",null,0),t(20,`
-          `),m(21,nr,8,9,"mat-error",6),t(22,`
-        `),i(),t(23,`
-      `),i(),t(24,`
-
-      `),n(25,"mat-card-actions",7),t(26,`
-        `),n(27,"button",8),t(28),r(29,"translate"),i(),t(30,`
-        `),n(31,"button",9),t(32),r(33,"translate"),i(),t(34,`
-      `),i(),t(35,`
-    `),i(),t(36,`
-  `),i(),t(37,`
-`),i(),t(38,`
-`)}if(l&2){let x=w(19);o(4),d("formGroup",p.activateFixedDepositsAccountForm),o(7),u(c(12,11,"labels.inputs.Activated On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.activateFixedDepositsAccountForm.controls.activatedOnDate.hasError("required")),o(6),d("routerLink",B(17,er)),o(),f(`
-          `,c(29,13,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.activateFixedDepositsAccountForm.valid),o(),f(`
-          `,c(33,15,"labels.buttons.Confirm"),`
-        `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var ar=()=>["../../"],ri=(()=>{class e{constructor(a,l,p,x,h){this.formBuilder=a,this.savingsService=l,this.fixedDepositsService=p,this.route=x,this.router=h,this.undoCommand="undoapproval",this.undoAction=this.route.snapshot.params.name,this.undoAction==="Undo Activation"&&(this.undoCommand="undoactivate"),this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.createUndoApprovalFixedDepositsAccountForm()}createUndoApprovalFixedDepositsAccountForm(){this.undoApprovalFixedDepositsAccountForm=this.formBuilder.group({note:[""]})}submit(){let a=V({},this.undoApprovalFixedDepositsAccountForm.value);this.undoAction==="Undo Activation"?this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,this.undoCommand,a).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})}):this.savingsService.executeSavingsAccountCommand(this.accountId,this.undoCommand,a).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(jt),_(j),_(k),_(z))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-undo-approval-fixed-deposits-account"]],decls:32,vars:13,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-100"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",1),b("ngSubmit",function(){return p.submit()}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"mat-form-field",2),t(9,`
-          `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
-          `),g(14,"textarea",3),t(15,`
-        `),i(),t(16,`
-      `),i(),t(17,`
-
-      `),n(18,"mat-card-actions",4),t(19,`
-        `),n(20,"button",5),t(21),r(22,"translate"),i(),t(23,`
-        `),n(24,"button",6),t(25),r(26,"translate"),i(),t(27,`
-      `),i(),t(28,`
-    `),i(),t(29,`
-  `),i(),t(30,`
-`),i(),t(31,`
-`)),l&2&&(o(4),d("formGroup",p.undoApprovalFixedDepositsAccountForm),o(7),u(c(12,6,"labels.inputs.Note")),o(9),d("routerLink",B(12,ar)),o(),f(`
-          `,c(22,8,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.undoApprovalFixedDepositsAccountForm.valid),o(),f(`
-          `,c(26,10,"labels.buttons.Confirm"),`
-        `))},dependencies:[E,$,bt,mt,Y,Q,pt,Ot,it,et,K,nt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var rr=()=>["../../"];function pr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Withdrawn On Date")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}var pi=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createWithdrawFixedDepositsAccountForm()}createWithdrawFixedDepositsAccountForm(){this.withdrawFixedDepositsAccountForm=this.formBuilder.group({withdrawnOnDate:["",R.required],note:[""]})}submit(){let a=this.withdrawFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.withdrawFixedDepositsAccountForm.value.withdrawnOnDate;a.withdrawnOnDate instanceof Date&&(a.withdrawnOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"withdrawnByApplicant",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-withdraw-by-client-fixed-deposits-account"]],decls:51,vars:21,consts:[["withdrawnOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","withdrawnOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"div",3),t(9,`
-          `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
-            `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-            `),g(16,"input",5),t(17,`
-            `),g(18,"mat-datepicker-toggle",6),t(19,`
-            `),g(20,"mat-datepicker",null,0),t(22,`
-            `),m(23,pr,8,9,"mat-error",7),t(24,`
-          `),i(),t(25,`
-
-          `),n(26,"mat-form-field"),t(27,`
-            `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
-            `),g(32,"textarea",8),t(33,`
-          `),i(),t(34,`
-        `),i(),t(35,`
-      `),i(),t(36,`
-
-      `),n(37,"mat-card-actions",9),t(38,`
-        `),n(39,"button",10),t(40),r(41,"translate"),i(),t(42,`
-        `),n(43,"button",11),t(44),r(45,"translate"),i(),t(46,`
-      `),i(),t(47,`
-    `),i(),t(48,`
-  `),i(),t(49,`
-`),i(),t(50,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.withdrawFixedDepositsAccountForm),o(9),u(c(14,12,"labels.inputs.Withdrawn On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.withdrawFixedDepositsAccountForm.controls.withdrawnOnDate.hasError("required")),o(6),u(c(30,14,"labels.inputs.Note")),o(10),d("routerLink",B(20,rr)),o(),f(`
-          `,c(41,16,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.withdrawFixedDepositsAccountForm.valid),o(),f(`
-          `,c(45,18,"labels.buttons.Confirm"),`
-        `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var lr=()=>["../../"];function sr(e,s){if(e&1&&(n(0,"mat-option",12),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                `,a.name+" ("+a.currency.name+")",`
-              `)}}function mr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Charge")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function dr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-              `),i()),e&2&&(o(),S(`
-                `,c(2,3,"labels.inputs.Amount")," ",c(3,5,"labels.commons.is"),`
-                `),o(4),u(c(6,7,"labels.commons.required")))}function ur(e,s){if(e&1&&(n(0,"mat-option",12),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                  `,a.value,`
-                `)}}function xr(e,s){if(e&1&&(n(0,"mat-option",12),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                  `,a.value,`
-                `)}}function fr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-              `),i()),e&2&&(o(),S(`
-                `,c(2,3,"labels.inputs.Due for collection on")," ",c(3,5,"labels.commons.is"),`
-                `),o(4),u(c(6,7,"labels.commons.required")))}function gr(e,s){if(e&1){let a=y();n(0,"mat-form-field",17),b("click",function(){P(a);let p=w(11);return M(p.open())}),t(1,`
-              `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-              `),g(6,"input",18),t(7,`
-              `),g(8,"mat-datepicker-toggle",19),t(9,`
-              `),g(10,"mat-datepicker",null,0),t(12,`
-              `),m(13,fr,8,9,"mat-error",7),t(14,`
-            `),i()}if(e&2){let a=w(11),l=C(2);o(3),u(c(4,6,"labels.inputs.Due for collection on")),o(3),d("min",l.minDate)("max",l.maxDate)("matDatepicker",a),o(2),d("for",a),o(5),d("ngIf",l.fixedDepositsChargeForm.controls.dueDate.hasError("required"))}}function _r(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-              `),i()),e&2&&(o(),S(`
-                `,c(2,3,"labels.inputs.Due Date")," ",c(3,5,"labels.commons.is"),`
-                `),o(4),u(c(6,7,"labels.commons.required")))}function Cr(e,s){if(e&1){let a=y();n(0,"mat-form-field",17),b("click",function(){P(a);let p=w(11);return M(p.open())}),t(1,`
-              `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-              `),g(6,"input",20),t(7,`
-              `),g(8,"mat-datepicker-toggle",19),t(9,`
-              `),g(10,"mat-datepicker",null,1),t(12,`
-              `),m(13,_r,8,9,"mat-error",7),t(14,`
-            `),i()}if(e&2){let a=w(11),l=C(2);o(3),u(c(4,6,"labels.inputs.Due On")),o(3),d("min",l.minDate)("max",l.maxDate)("matDatepicker",a),o(2),d("for",a),o(5),d("ngIf",l.fixedDepositsChargeForm.controls.feeOnMonthDay.hasError("required"))}}function hr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-              `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-              `),g(6,"input",21),t(7,`
-            `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Repeats Every")))}function vr(e,s){if(e&1&&(n(0,"div",4),t(1,`
-            `),n(2,"mat-form-field"),t(3,`
-              `),n(4,"mat-label"),t(5),r(6,"translate"),i(),t(7,`
-              `),g(8,"input",13),t(9,`
-              `),m(10,dr,8,9,"mat-error",7),t(11,`
-            `),i(),t(12,`
-
-            `),n(13,"mat-form-field"),t(14,`
-              `),n(15,"mat-label"),t(16),r(17,"translate"),i(),t(18,`
-              `),n(19,"mat-select",14),t(20,`
-                `),m(21,ur,2,2,"mat-option",6),t(22,`
-              `),i(),t(23,`
-            `),i(),t(24,`
-
-            `),n(25,"mat-form-field"),t(26,`
-              `),n(27,"mat-label"),t(28),r(29,"translate"),i(),t(30,`
-              `),n(31,"mat-select",15),t(32,`
-                `),m(33,xr,2,2,"mat-option",6),t(34,`
-              `),i(),t(35,`
-            `),i(),t(36,`
-
-            `),m(37,gr,15,8,"mat-form-field",16),t(38,`
-
-            `),m(39,Cr,15,8,"mat-form-field",16),t(40,`
-
-            `),m(41,hr,8,3,"mat-form-field",7),t(42,`
-          `),i()),e&2){let a=C();o(5),u(c(6,9,"labels.inputs.Amount")),o(5),d("ngIf",a.fixedDepositsChargeForm.controls.amount.hasError("required")),o(6),u(c(17,11,"labels.inputs.Charge Calculation")),o(5),d("ngForOf",a.chargeDetails.chargeCalculationTypeOptions),o(7),u(c(29,13,"labels.inputs.Charge time type")),o(5),d("ngForOf",a.chargeDetails.chargeTimeTypeOptions),o(4),d("ngIf",a.fixedDepositsChargeForm.contains("dueDate")),o(2),d("ngIf",a.fixedDepositsChargeForm.contains("feeOnMonthDay")),o(2),d("ngIf",a.fixedDepositsChargeForm.contains("feeInterval"))}}var ci=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.route=l,this.router=p,this.dateUtils=x,this.savingsService=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(Z=>{this.savingsChargeOptions=Z.fixedDepositsAccountActionData.chargeOptions}),this.fixedDepositAccountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createFixedDepositsChargeForm(),this.buildDependencies()}buildDependencies(){this.fixedDepositsChargeForm.controls.chargeId.valueChanges.subscribe(a=>{this.savingsService.getChargeTemplate(a).subscribe(l=>{this.chargeDetails=l;let p=l.chargeTimeType.id;(l.chargeTimeType.value==="Withdrawal Fee"||l.chargeTimeType.value==="Saving No Activity Fee")&&(this.chargeDetails.dueDateNotRequired=!0),(l.chargeTimeType.value==="Annual Fee"||l.chargeTimeType.value==="Monthly Fee")&&(this.chargeDetails.chargeTimeTypeAnnualOrMonth=!0),!this.chargeDetails.dueDateNotRequired&&!this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.fixedDepositsChargeForm.addControl("dueDate",new G("",R.required)):this.fixedDepositsChargeForm.removeControl("dueDate"),!this.chargeDetails.dueDateNotRequired&&this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.fixedDepositsChargeForm.addControl("feeOnMonthDay",new G("",R.required)):this.fixedDepositsChargeForm.removeControl("feeOnMonthDay"),p.value==="Monthly Fee"?this.fixedDepositsChargeForm.addControl("feeInterval",new G(l.feeInterval,R.required)):this.fixedDepositsChargeForm.removeControl("feeInterval"),this.fixedDepositsChargeForm.patchValue({amount:l.amount,chargeCalculationType:l.chargeCalculationType.id,chargeTimeType:l.chargeTimeType.id})})})}createFixedDepositsChargeForm(){this.fixedDepositsChargeForm=this.formBuilder.group({chargeId:["",R.required],amount:["",R.required],chargeCalculationType:[{value:"",disabled:!0}],chargeTimeType:[{value:"",disabled:!0}]})}submit(){let a=this.fixedDepositsChargeForm.value;if(a.locale=this.settingsService.language.code,a.feeInterval||(a.feeInterval=this.chargeDetails.feeInterval),this.chargeDetails.dueDateNotRequired!==!0)if(this.chargeDetails.chargeTimeTypeAnnualOrMonth===!0){let l="MMMM-dd";if(a.monthDayFormat=l,a.feeOnMonthDay){let p=this.fixedDepositsChargeForm.value.feeOnMonthDay;a.feeOnMonthDay=this.dateUtils.formatDate(p,l)}}else{let l=this.settingsService.dateFormat;if(a.dateFormat=l,a.dueDate){let p=this.fixedDepositsChargeForm.value.dueDate;a.dueDate=this.dateUtils.formatDate(p,l)}}this.savingsService.createSavingsCharge(this.fixedDepositAccountId,"charges",a).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(k),_(z),_(W),_(jt),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-add-charge-fixed-deposits-account"]],decls:42,vars:16,consts:[["dueDatePicker",""],["feeOnMonthDayPicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["required","","formControlName","chargeId"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["class","layout-column",4,"ngIf"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],[3,"value"],["type","number","required","","matInput","","formControlName","amount"],["formControlName","chargeCalculationType"],["formControlName","chargeTimeType"],[3,"click",4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","dueDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","feeOnMonthDay",3,"min","max","matDatepicker"],["matInput","","formControlName","feeInterval"]],template:function(l,p){l&1&&(n(0,"div",2),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",3),b("ngSubmit",function(){return p.submit()}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"div",4),t(9,`
-          `),n(10,"mat-form-field"),t(11,`
-            `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-            `),n(16,"mat-select",5),t(17,`
-              `),m(18,sr,2,2,"mat-option",6),t(19,`
-            `),i(),t(20,`
-            `),m(21,mr,8,9,"mat-error",7),t(22,`
-          `),i(),t(23,`
-
-          `),m(24,vr,43,15,"div",8),t(25,`
-        `),i(),t(26,`
-
-        `),n(27,"mat-card-actions",9),t(28,`
-          `),n(29,"button",10),t(30),r(31,"translate"),i(),t(32,`
-          `),n(33,"button",11),t(34),r(35,"translate"),i(),t(36,`
-        `),i(),t(37,`
-      `),i(),t(38,`
-    `),i(),t(39,`
-  `),i(),t(40,`
-`),i(),t(41,`
-`)),l&2&&(o(4),d("formGroup",p.fixedDepositsChargeForm),o(9),u(c(14,9,"labels.inputs.Charge")),o(5),d("ngForOf",p.savingsChargeOptions),o(3),d("ngIf",p.fixedDepositsChargeForm.controls.chargeId.hasError("required")),o(3),d("ngIf",p.chargeDetails),o(5),d("routerLink",B(15,lr)),o(),f(`
-            `,c(31,11,"labels.buttons.Cancel"),`
-          `),o(3),d("disabled",!p.fixedDepositsChargeForm.valid),o(),f(`
-            `,c(35,13,"labels.buttons.Submit"),`
-          `))},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Mt,it,et,Gt,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return e})();var br=()=>["../../"];function Sr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Premature Close Date")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function Pr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),g(6,"input",11),t(7,`
-          `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Maturity Amount")))}function Mr(e,s){if(e&1&&(n(0,"mat-option",14),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                `,a.value,`
-              `)}}function Tr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Account action")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function Ar(e,s){if(e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"mat-select",12),t(7,`
-              `),m(8,Mr,2,2,"mat-option",13),t(9,`
-            `),i(),t(10,`
-            `),m(11,Tr,8,9,"mat-error",7),t(12,`
-          `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Action")),o(5),d("ngForOf",a.onAccountClosureOptions),o(3),d("ngIf",a.prematureCloseAccountForm.controls.onAccountClosureId.hasError("required"))}}function yr(e,s){if(e&1&&(n(0,"mat-option",14),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                `,a.accountNo,`
-              `)}}function Or(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Transfer to savings account")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function Ir(e,s){if(e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"mat-select",15),t(7,`
-              `),m(8,yr,2,2,"mat-option",13),t(9,`
-            `),i(),t(10,`
-            `),m(11,Or,8,9,"mat-error",7),t(12,`
-          `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Transfer to Savings")),o(5),d("ngForOf",a.savingsAccountsData),o(3),d("ngIf",a.prematureCloseAccountForm.controls.toSavingsAccountId.hasError("required"))}}function Fr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),g(6,"input",16),t(7,`
-          `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Transfer Description")))}function Er(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),g(6,"textarea",17),t(7,`
-          `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Note")))}var li=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isSubmitted=!1,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createPrematureCloseAccountForm(),this.buildDependencies()}createPrematureCloseAccountForm(){this.prematureCloseAccountForm=this.formBuilder.group({closedOnDate:["",R.required]})}buildDependencies(){this.prematureCloseAccountForm.get("closedOnDate").valueChanges.subscribe(a=>{this.isSubmitted||this.calculatePrematureAmount(a)})}calculatePrematureAmount(a){let l=this.settingsService.language.code,p=this.settingsService.dateFormat,x={closedOnDate:this.dateUtils.formatDate(a,p),dateFormat:p,locale:l};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"calculatePrematureAmount",x).subscribe(h=>{this.savingsAccountsData=h.savingsAccounts,this.onAccountClosureOptions=h.onAccountClosureOptions,this.prematureCloseAccountForm.addControl("maturityAmount",new G({value:"",disabled:!0})),this.prematureCloseAccountForm.addControl("onAccountClosureId",new G("",R.required)),this.prematureCloseAccountForm.addControl("note",new G("")),this.prematureCloseAccountForm.get("maturityAmount").patchValue(h.maturityAmount),this.addTransferDetails()})}addTransferDetails(){this.prematureCloseAccountForm.get("onAccountClosureId").valueChanges.subscribe(a=>{a===200?(this.prematureCloseAccountForm.addControl("toSavingsAccountId",new G("",R.required)),this.prematureCloseAccountForm.addControl("transferDescription",new G(""))):(this.prematureCloseAccountForm.removeControl("toSavingsAccountId"),this.prematureCloseAccountForm.removeControl("transferDescription"))})}submit(){let a=this.prematureCloseAccountForm.value;this.isSubmitted=!0;let l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.prematureCloseAccountForm.value.closedOnDate;a.closedOnDate instanceof Date&&(a.closedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"prematureClose",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-premature-close-fixed-deposits-account"]],decls:52,vars:23,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"],["type","number","matInput","","formControlName","maturityAmount"],["required","","formControlName","onAccountClosureId"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["required","","formControlName","toSavingsAccountId"],["matInput","","formControlName","transferDescription"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"div",3),t(9,`
-          `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
-            `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-            `),g(16,"input",5),t(17,`
-            `),g(18,"mat-datepicker-toggle",6),t(19,`
-            `),g(20,"mat-datepicker",null,0),t(22,`
-            `),m(23,Sr,8,9,"mat-error",7),t(24,`
-          `),i(),t(25,`
-
-          `),m(26,Pr,8,3,"mat-form-field",7),t(27,`
-
-          `),m(28,Ar,13,5,"mat-form-field",7),t(29,`
-
-          `),m(30,Ir,13,5,"mat-form-field",7),t(31,`
-
-          `),m(32,Fr,8,3,"mat-form-field",7),t(33,`
-
-          `),m(34,Er,8,3,"mat-form-field",7),t(35,`
-        `),i(),t(36,`
-      `),i(),t(37,`
-
-      `),n(38,"mat-card-actions",8),t(39,`
-        `),n(40,"button",9),t(41),r(42,"translate"),i(),t(43,`
-        `),n(44,"button",10),t(45),r(46,"translate"),i(),t(47,`
-      `),i(),t(48,`
-    `),i(),t(49,`
-  `),i(),t(50,`
-`),i(),t(51,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.prematureCloseAccountForm),o(9),u(c(14,16,"labels.inputs.Premature Close Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.prematureCloseAccountForm.controls.closedOnDate.hasError("required")),o(3),d("ngIf",p.prematureCloseAccountForm.controls.maturityAmount),o(2),d("ngIf",p.prematureCloseAccountForm.contains("onAccountClosureId")),o(2),d("ngIf",p.prematureCloseAccountForm.contains("toSavingsAccountId")),o(2),d("ngIf",p.prematureCloseAccountForm.contains("transferDescription")),o(2),d("ngIf",p.prematureCloseAccountForm.contains("note")),o(6),d("routerLink",B(22,br)),o(),f(`
-          `,c(42,18,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.prematureCloseAccountForm.valid),o(),f(`
-          `,c(46,20,"labels.buttons.Confirm"),`
-        `)}},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,Mt,it,et,Gt,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var Br=()=>["../../"];function kr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Closed On Date")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function Rr(e,s){if(e&1&&(n(0,"mat-option",15),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                `,a.value,`
-              `)}}function Nr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Account action")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function Vr(e,s){if(e&1&&(n(0,"mat-option",15),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-                `,a.accountNo,`
-              `)}}function qr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-            `),i()),e&2&&(o(),S(`
-              `,c(2,3,"labels.inputs.Transfer to savings account")," ",c(3,5,"labels.commons.is"),`
-              `),o(4),u(c(6,7,"labels.commons.required")))}function jr(e,s){if(e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"mat-select",16),t(7,`
-              `),m(8,Vr,2,2,"mat-option",10),t(9,`
-            `),i(),t(10,`
-            `),m(11,qr,8,9,"mat-error",7),t(12,`
-          `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Transfer to Savings")),o(5),d("ngForOf",a.savingsAccountsData),o(3),d("ngIf",a.closeOnMaturityAccountForm.controls.toSavingsAccountId.hasError("required"))}}function zr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-            `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-            `),g(6,"input",17),t(7,`
-          `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Transfer Description")))}var si=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(Z=>{this.savingsAccountsData=Z.fixedDepositsAccountActionData.savingsAccounts,this.onAccountClosureOptions=Z.fixedDepositsAccountActionData.onAccountClosureOptions,this.maturityAmount=Z.fixedDepositsAccountActionData.maturityAmount}),this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createCloseOnMaturityAccountForm(),this.addTransferDetails()}createCloseOnMaturityAccountForm(){this.closeOnMaturityAccountForm=this.formBuilder.group({closedOnDate:["",R.required],maturityAmount:[{value:this.maturityAmount,disabled:!0}],onAccountClosureId:["",R.required],note:[""]})}addTransferDetails(){this.closeOnMaturityAccountForm.get("onAccountClosureId").valueChanges.subscribe(a=>{a===200?(this.closeOnMaturityAccountForm.addControl("toSavingsAccountId",new G("",R.required)),this.closeOnMaturityAccountForm.addControl("transferDescription",new G(""))):(this.closeOnMaturityAccountForm.removeControl("toSavingsAccountId"),this.closeOnMaturityAccountForm.removeControl("transferDescription"))})}submit(){let a=this.closeOnMaturityAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.closeOnMaturityAccountForm.value.closedOnDate;a.closedOnDate instanceof Date&&(a.closedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"close",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-close-fixed-deposits-account"]],decls:78,vars:31,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["type","number","matInput","","formControlName","maturityAmount"],["required","","formControlName","onAccountClosureId"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"],[3,"value"],["required","","formControlName","toSavingsAccountId"],["matInput","","formControlName","transferDescription"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
-      `),n(6,"mat-card-content"),t(7,`
-        `),n(8,"div",3),t(9,`
-          `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
-            `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-            `),g(16,"input",5),t(17,`
-            `),g(18,"mat-datepicker-toggle",6),t(19,`
-            `),g(20,"mat-datepicker",null,0),t(22,`
-            `),m(23,kr,8,9,"mat-error",7),t(24,`
-          `),i(),t(25,`
-
-          `),n(26,"mat-form-field"),t(27,`
-            `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
-            `),g(32,"input",8),t(33,`
-          `),i(),t(34,`
-
-          `),n(35,"mat-form-field"),t(36,`
-            `),n(37,"mat-label"),t(38),r(39,"translate"),i(),t(40,`
-            `),n(41,"mat-select",9),t(42,`
-              `),m(43,Rr,2,2,"mat-option",10),t(44,`
-            `),i(),t(45,`
-            `),m(46,Nr,8,9,"mat-error",7),t(47,`
-          `),i(),t(48,`
-
-          `),m(49,jr,13,5,"mat-form-field",7),t(50,`
-
-          `),m(51,zr,8,3,"mat-form-field",7),t(52,`
-
-          `),n(53,"mat-form-field"),t(54,`
-            `),n(55,"mat-label"),t(56),r(57,"translate"),i(),t(58,`
-            `),g(59,"textarea",11),t(60,`
-          `),i(),t(61,`
-        `),i(),t(62,`
-      `),i(),t(63,`
-
-      `),n(64,"mat-card-actions",12),t(65,`
-        `),n(66,"button",13),t(67),r(68,"translate"),i(),t(69,`
-        `),n(70,"button",14),t(71),r(72,"translate"),i(),t(73,`
-      `),i(),t(74,`
-    `),i(),t(75,`
-  `),i(),t(76,`
-`),i(),t(77,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.closeOnMaturityAccountForm),o(9),u(c(14,18,"labels.inputs.Closed On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.closeOnMaturityAccountForm.controls.closedOnDate.hasError("required")),o(6),u(c(30,20,"labels.inputs.Maturity Amount")),o(9),u(c(39,22,"labels.inputs.Action")),o(5),d("ngForOf",p.onAccountClosureOptions),o(3),d("ngIf",p.closeOnMaturityAccountForm.controls.onAccountClosureId.hasError("required")),o(3),d("ngIf",p.closeOnMaturityAccountForm.contains("toSavingsAccountId")),o(2),d("ngIf",p.closeOnMaturityAccountForm.contains("transferDescription")),o(5),u(c(57,24,"labels.inputs.Note")),o(10),d("routerLink",B(30,Br)),o(),f(`
-          `,c(68,26,"labels.buttons.Cancel"),`
-        `),o(3),d("disabled",!p.closeOnMaturityAccountForm.valid),o(),f(`
-          `,c(72,28,"labels.buttons.Confirm"),`
-        `)}},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,Mt,it,et,Gt,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var Ur=()=>["../../transactions"];function Gr(e,s){if(e&1&&(n(0,"h2",20),t(1),r(2,"translate"),r(3,"translate"),i()),e&2){let a=C();o(),S(`
-      `,c(2,2,"labels.menus."+a.actionName)," ",c(3,4,"labels.heading.Fixed Deposit Transactions"),`
-    `)}}function Lr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
-          `),i()),e&2&&(o(),S(`
-            `,c(2,3,"labels.inputs.Transaction Date")," ",c(3,5,"labels.commons.is"),`
-            `),o(4),u(c(6,7,"labels.commons.required")))}function Wr(e,s){if(e&1&&(n(0,"mat-option",21),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-              `,a.name,`
-            `)}}function Kr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-          `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-          `),g(6,"input",22),t(7,`
-        `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Account Number")))}function Qr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-          `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-          `),g(6,"input",23),t(7,`
-        `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Cheque")))}function Yr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-          `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-          `),g(6,"input",24),t(7,`
-        `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Routing Code")))}function Jr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-          `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-          `),g(6,"input",25),t(7,`
-        `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Receipt Number")))}function Xr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
-          `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-          `),g(6,"input",26),t(7,`
-        `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Bank")))}var mi=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.route=l,this.router=p,this.dateUtils=x,this.fixedDepositsService=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.paymentTypeOptions=[],this.addPaymentDetailsFlag=!1,this.transactionType={deposit:!1,withdrawal:!1},this.route.data.subscribe(Yt=>{this.currency=Yt.fixedDepositsAccountActionData.currency,this.paymentTypeOptions=Yt.fixedDepositsAccountActionData.paymentTypeOptions}),this.actionName=this.route.snapshot.params.name;let Z=this.actionName.toLowerCase();if(Z==="deposit"||Z==="withdrawal")this.transactionCommand=Z,this.transactionType[this.transactionCommand]=!0;else throw new Error(`Invalid transaction action: ${this.actionName}`);this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createSavingAccountTransactionForm()}createSavingAccountTransactionForm(){this.accountTransactionForm=this.formBuilder.group({transactionDate:[this.settingsService.businessDate,R.required],transactionAmount:[0,R.required],paymentTypeId:[""],note:[""]})}addPaymentDetails(){this.addPaymentDetailsFlag=!this.addPaymentDetailsFlag,this.addPaymentDetailsFlag?(this.accountTransactionForm.addControl("accountNumber",new G("")),this.accountTransactionForm.addControl("checkNumber",new G("")),this.accountTransactionForm.addControl("routingCode",new G("")),this.accountTransactionForm.addControl("receiptNumber",new G("")),this.accountTransactionForm.addControl("bankNumber",new G(""))):(this.accountTransactionForm.removeControl("accountNumber"),this.accountTransactionForm.removeControl("checkNumber"),this.accountTransactionForm.removeControl("routingCode"),this.accountTransactionForm.removeControl("receiptNumber"),this.accountTransactionForm.removeControl("bankNumber"))}submit(){let a=this.accountTransactionForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.accountTransactionForm.value.transactionDate;a.transactionDate instanceof Date&&(a.transactionDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});delete h.note,h.transactionAmount=h.transactionAmount*1,this.fixedDepositsService.executeFixedDepositsAccountTransactionsCommand(this.accountId,this.transactionCommand,h).subscribe(T=>{this.router.navigate(["../../transactions"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(k),_(z),_(W),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposits-cash-transaction"]],decls:91,vars:39,consts:[["dueDatePicker",""],[1,"container","mat-elevation-z8"],["mat-title","",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","formControlName","transactionDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[3,"currency","isRequired","inputFormControl","inputLabel"],["required","","formControlName","paymentTypeId"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-fill"],[1,"expandcollapsebutton","m-l-10","m-t-40","flex-75",3,"click"],[3,"className"],[1,"m-l-10"],["formControlName","note","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],["mat-title",""],[3,"value"],["type","number","formControlName","accountNumber","matInput",""],["type","number","formControlName","checkNumber","matInput",""],["formControlName","routingCode","matInput",""],["formControlName","receiptNumber","matInput",""],["formControlName","bankNumber","matInput",""]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-card"),t(3,`
-    `),m(4,Gr,4,6,"h2",2),t(5,`
-
-    `),n(6,"form",3),b("ngSubmit",function(){return P(x),M(p.submit())}),t(7,`
-      `),n(8,"mat-card-content",4),t(9,`
-        `),n(10,"mat-form-field",5),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
-          `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
-          `),g(16,"input",6),t(17,`
-          `),g(18,"mat-datepicker-toggle",7),t(19,`
-          `),g(20,"mat-datepicker",null,0),t(22,`
-          `),m(23,Lr,8,9,"mat-error",8),t(24,`
-        `),i(),t(25,`
-
-        `),n(26,"mifosx-input-amount",9),t(27,`
-        `),i(),t(28,`
-
-        `),n(29,"mat-form-field"),t(30,`
-          `),n(31,"mat-label"),t(32),r(33,"translate"),i(),t(34,`
-          `),n(35,"mat-select",10),t(36,`
-            `),m(37,Wr,2,2,"mat-option",11),t(38,`
-          `),i(),t(39,`
-        `),i(),t(40,`
-
-        `),n(41,"div",12),t(42,`
-          `),n(43,"span",13),b("click",function(){return P(x),M(p.addPaymentDetails())}),t(44,`
-            `),n(45,"mat-slide-toggle"),t(46,`
-              `),n(47,"div",14),t(48,`
-                `),n(49,"span",15),t(50),r(51,"translate"),i(),t(52,`
-              `),i(),t(53,`
-            `),i(),t(54,`
-          `),i(),t(55,`
-        `),i(),t(56,`
-
-        `),m(57,Kr,8,3,"mat-form-field",8),t(58,`
-
-        `),m(59,Qr,8,3,"mat-form-field",8),t(60,`
-
-        `),m(61,Yr,8,3,"mat-form-field",8),t(62,`
-
-        `),m(63,Jr,8,3,"mat-form-field",8),t(64,`
-
-        `),m(65,Xr,8,3,"mat-form-field",8),t(66,`
-
-        `),n(67,"mat-form-field"),t(68,`
-          `),n(69,"mat-label"),t(70),r(71,"translate"),i(),t(72,`
-          `),g(73,"textarea",16),t(74,`
-        `),i(),t(75,`
-
-        `),n(76,"mat-card-actions",17),t(77,`
-          `),n(78,"button",18),t(79),r(80,"translate"),i(),t(81,`
-          `),n(82,"button",19),t(83),r(84,"translate"),i(),t(85,`
-        `),i(),t(86,`
-      `),i(),t(87,`
-    `),i(),t(88,`
-  `),i(),t(89,`
-`),i(),t(90,`
-`)}if(l&2){let x=w(21);o(4),d("ngIf",p.transactionType.withdrawal),o(2),d("formGroup",p.accountTransactionForm),o(7),u(c(14,26,"labels.inputs.Transaction Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.accountTransactionForm.controls.transactionDate.hasError("required")),o(3),d("currency",p.currency)("isRequired",!0)("inputFormControl",p.accountTransactionForm.controls.transactionAmount)("inputLabel","Transaction Amount"),o(6),u(c(33,28,"labels.inputs.Payment Type")),o(5),d("ngForOf",p.paymentTypeOptions),o(10),d("className",p.addPaymentDetailsFlag?"enabled":"disabled"),o(3),u(c(51,30,"labels.inputs.Show Payment Details")),o(7),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(5),u(c(71,32,"labels.inputs.Notes")),o(8),d("routerLink",B(38,Ur)),o(),f(`
-            `,c(80,34,"labels.buttons.Cancel"),`
-          `),o(3),d("disabled",!p.accountTransactionForm.valid),o(),f(`
-            `,c(84,36,"labels.buttons.Submit"),`
-          `)}},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,Mt,In,it,et,Gt,K,nt,lt,at,ot,nn,L,O],styles:[".expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px}.container[_ngcontent-%COMP%]{max-width:37rem}.right-input[_ngcontent-%COMP%]{text-align:right}.right-label[_ngcontent-%COMP%]{padding-right:25px!important}"]})}}return e})();function tp(e,s){e&1&&g(0,"mifosx-approve-fixed-deposits-account")}function ep(e,s){e&1&&g(0,"mifosx-reject-fixed-deposits-account")}function np(e,s){e&1&&g(0,"mifosx-activate-fixed-deposits-account")}function ip(e,s){e&1&&g(0,"mifosx-undo-approval-fixed-deposits-account")}function ap(e,s){e&1&&g(0,"mifosx-withdraw-by-client-fixed-deposits-account")}function op(e,s){e&1&&g(0,"mifosx-add-charge-fixed-deposits-account")}function rp(e,s){e&1&&g(0,"mifosx-premature-close-fixed-deposits-account")}function pp(e,s){e&1&&g(0,"mifosx-close-fixed-deposits-account")}function cp(e,s){e&1&&g(0,"mifosx-fixed-deposits-cash-transaction")}var di=(()=>{class e{constructor(a){this.route=a,this.actions={Approve:!1,Reject:!1,Activate:!1,Close:!1,"Undo Approval":!1,"Undo Activation":!1,"Add Charge":!1,"Premature Close":!1,"Withdrawn by Client":!1,Withdrawal:!1};let l=this.route.snapshot.params.name;l&&l in this.actions&&(this.actions[l]=!0)}static{this.\u0275fac=function(l){return new(l||e)(_(k))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposits-account-actions"]],decls:18,vars:9,consts:[[4,"ngIf"]],template:function(l,p){l&1&&(m(0,tp,1,0,"mifosx-approve-fixed-deposits-account",0),t(1,`
-`),m(2,ep,1,0,"mifosx-reject-fixed-deposits-account",0),t(3,`
-`),m(4,np,1,0,"mifosx-activate-fixed-deposits-account",0),t(5,`
-`),m(6,ip,1,0,"mifosx-undo-approval-fixed-deposits-account",0),t(7,`
-`),m(8,ap,1,0,"mifosx-withdraw-by-client-fixed-deposits-account",0),t(9,`
-`),m(10,op,1,0,"mifosx-add-charge-fixed-deposits-account",0),t(11,`
-`),m(12,rp,1,0,"mifosx-premature-close-fixed-deposits-account",0),t(13,`
-`),m(14,pp,1,0,"mifosx-close-fixed-deposits-account",0),t(15,`
-`),m(16,cp,1,0,"mifosx-fixed-deposits-cash-transaction",0),t(17,`
-`)),l&2&&(d("ngIf",p.actions.Approve),o(2),d("ngIf",p.actions.Reject),o(2),d("ngIf",p.actions.Activate),o(2),d("ngIf",p.actions["Undo Approval"]||p.actions["Undo Activation"]),o(2),d("ngIf",p.actions["Withdrawn by Client"]),o(2),d("ngIf",p.actions["Add Charge"]),o(2),d("ngIf",p.actions["Premature Close"]),o(2),d("ngIf",p.actions.Close),o(2),d("ngIf",p.actions.Withdrawal))},dependencies:[F,ii,ai,oi,ri,pi,ci,li,si,mi]})}}return e})();var lp=()=>["../"];function sp(e,s){if(e&1){let a=y();n(0,"button",13),b("click",function(){P(a);let p=C(2);return M(p.undoTransaction())}),t(1,`
-      `),g(2,"fa-icon",14),t(3,`Undo
-    `),i()}}function mp(e,s){e&1&&(n(0,"span"),t(1,`
-    `),m(2,sp,4,0,"button",12),t(3,`
-  `),i()),e&2&&(o(2),d("mifosxHasPermission","UNDOTRANSACTION_SAVINGSACCOUNT"))}function dp(e,s){e&1&&(n(0,"div",5),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
-          `,c(2,1,"labels.inputs.Note"),`
-        `))}function up(e,s){if(e&1&&(n(0,"div",6),t(1),i()),e&2){let a=C();o(),f(`
-          `,a.transactionData.note,`
-        `)}}function xp(e,s){if(e&1&&(n(0,"mifosx-transaction-payment-detail",15),t(1,`
-        `),i()),e&2){let a=C();d("paymentDetailData",a.transactionData.paymentDetailData)}}var ui=(()=>{class e{constructor(a,l,p,x,h,T){this.savingsService=a,this.route=l,this.dateUtils=p,this.router=x,this.dialog=h,this.settingsService=T,this.route.data.subscribe(Z=>{this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId,this.transactionData=Z.fixedDepositsAccountTransaction})}transactionColor(){return this.transactionData.manuallyReversed?"undo":"active"}allowUndo(){return!1}undoTransaction(){this.dialog.open(Ln).afterClosed().subscribe(l=>{if(l.confirm){let p=this.settingsService.language.code,x=this.settingsService.dateFormat,h={transactionDate:this.dateUtils.formatDate(this.transactionData.date&&new Date(this.transactionData.date),x),transactionAmount:0,dateFormat:x,locale:p};this.savingsService.executeSavingsAccountTransactionsCommand(this.accountId,"undo",h,this.transactionData.id).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}})}static{this.\u0275fac=function(l){return new(l||e)(_(jt),_(k),_(W),_(z),_(Ut),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-view-transaction"]],decls:69,vars:37,consts:[[1,"container","m-b-20","align-end-center","gap-2percent"],[4,"ngIf"],[1,"container"],[1,"layout-row-wrap"],[1,"flex-100",3,"ngClass"],[1,"flex-50","mat-body-strong"],[1,"flex-50"],["class","flex-50 mat-body-strong",4,"ngIf"],["class","flex-50",4,"ngIf"],[3,"paymentDetailData",4,"ngIf"],[1,"layout-row","layout-align-center","gap-2percent","column-on-mobile"],["type","button","mat-raised-button","","color","primary",3,"routerLink"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click"],["icon","undo",1,"m-r-10"],[3,"paymentDetailData"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
-  `),m(2,mp,4,1,"span",1),t(3,`
-`),i(),t(4,`
-`),n(5,"div",2),t(6,`
-  `),n(7,"mat-card"),t(8,`
-    `),n(9,"mat-card-content"),t(10,`
-      `),n(11,"div",3),t(12,`
-        `),g(13,"div",4),t(14,`
-
-        `),n(15,"div",5),t(16),r(17,"translate"),i(),t(18,`
-
-        `),n(19,"div",6),t(20),i(),t(21,`
-
-        `),n(22,"div",5),t(23),r(24,"translate"),i(),t(25,`
-
-        `),n(26,"div",6),t(27),i(),t(28,`
-
-        `),n(29,"div",5),t(30),r(31,"translate"),i(),t(32,`
-
-        `),n(33,"div",6),t(34),r(35,"dateFormat"),i(),t(36,`
-
-        `),n(37,"div",5),t(38),r(39,"translate"),i(),t(40,`
-
-        `),n(41,"div",6),t(42),i(),t(43,`
-
-        `),n(44,"div",5),t(45),r(46,"translate"),i(),t(47,`
-
-        `),n(48,"div",6),t(49),r(50,"currency"),i(),t(51,`
-
-        `),m(52,dp,3,3,"div",7),t(53,`
-
-        `),m(54,up,2,1,"div",8),t(55,`
-
-        `),m(56,xp,2,1,"mifosx-transaction-payment-detail",9),t(57,`
-      `),i(),t(58,`
-
-      `),n(59,"div",10),t(60,`
-        `),n(61,"button",11),t(62),r(63,"translate"),i(),t(64,`
-      `),i(),t(65,`
-    `),i(),t(66,`
-  `),i(),t(67,`
-`),i(),t(68,`
-`)),l&2&&(o(2),d("ngIf",p.allowUndo()),o(11),d("ngClass",p.transactionColor()),o(3),f(`
-          `,c(17,17,"labels.inputs.Transaction Id"),`
-        `),o(4),f(`
-          `,p.transactionData.id,`
-        `),o(3),f(`
-          `,c(24,19,"labels.inputs.Type"),`
-        `),o(4),f(`
-          `,p.transactionData.transactionType.value,`
-        `),o(3),f(`
-          `,c(31,21,"labels.inputs.Transaction Date"),`
-        `),o(4),f(`
-          `,c(35,23,p.transactionData.date),`
-        `),o(4),f(`
-          `,c(39,25,"labels.inputs.Currency"),`
-        `),o(4),f(`
-          `,p.transactionData.currency.displayLabel,`
-        `),o(3),f(`
-          `,c(46,27,"labels.inputs.Amount"),`
-        `),o(4),f(`
-          `,J(50,29,p.transactionData.amount,p.transactionData.currency.code,"symbol-narrow","1.2-2"),`
-        `),o(3),d("ngIf",p.transactionData.note),o(2),d("ngIf",p.transactionData.note),o(2),d("ngIf",p.transactionData.paymentDetailData),o(5),d("routerLink",B(36,lp)),o(),f(`
-          `,c(63,34,"labels.buttons.Back"),`
-        `))},dependencies:[ye,F,tt,E,$,mt,Hn,xe,L,se,O,At],styles:["body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%]   .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%]   .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}  .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%]   .mat-step-icon-state-done[_ngcontent-%COMP%]   .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.container[_ngcontent-%COMP%]{max-width:37rem}.container[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{margin:1rem 0;word-wrap:break-word}.transaction-buttons[_ngcontent-%COMP%]{margin-top:3%}.transaction-relation[_ngcontent-%COMP%]{background-color:#d7dada}.active[_ngcontent-%COMP%]{background-color:#5cb85c;height:4px}.linked[_ngcontent-%COMP%]{background-color:#4461e2;height:4px}.undo[_ngcontent-%COMP%]{background-color:red;height:4px}"]})}}return e})();function fp(e,s){if(e&1&&(n(0,"mat-option",13),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,a.name,`
-        `)}}function gp(e,s){if(e&1){let a=y();n(0,"mat-form-field",14),b("click",function(){P(a);let p=w(11);return M(p.open())}),t(1,`
-      `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-      `),g(6,"input",15),t(7,`
-      `),g(8,"mat-datepicker-toggle",16),t(9,`
-      `),g(10,"mat-datepicker",null,0),t(12,`
-      `),n(13,"mat-error"),t(14),r(15,"translate"),r(16,"translate"),n(17,"strong"),t(18),r(19,"translate"),i(),t(20,`
-      `),i(),t(21,`
-    `),i()}if(e&2){let a=w(11),l=C();o(3),u(c(4,8,"labels.inputs.Submitted On")),o(3),d("min",l.minDate)("max",l.maxDate)("matDatepicker",a),o(2),d("for",a),o(6),S(`
-        `,c(15,10,"labels.inputs.Submission Date")," ",c(16,12,"labels.commons.is"),`
-        `),o(4),u(c(19,14,"labels.commons.required"))}}function _p(e,s){if(e&1&&(n(0,"mat-option",13),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,a.displayName,`
-        `)}}function Cp(e,s){if(e&1&&(n(0,"mat-form-field",3),t(1,`
-      `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-      `),n(6,"mat-select",17),t(7,`
-        `),m(8,_p,2,2,"mat-option",5),t(9,`
-      `),i(),t(10,`
-    `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Field Officer")),o(5),d("ngForOf",a.fieldOfficerData)}}function hp(e,s){e&1&&(n(0,"mat-form-field",3),t(1,`
-      `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-      `),g(6,"input",18),r(7,"translate"),t(8,`
-    `),i()),e&2&&(o(3),u(c(4,2,"labels.inputs.External id")),o(3),dt("matTooltip",c(7,4,"tooltips.Provides an external id")))}var ge=(()=>{class e{constructor(a,l,p){this.formBuilder=a,this.fixedDepositsService=l,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isFieldOfficerPatched=!1,this.isProductSelected=!1,this.fixedDepositsAccountProductTemplate=new Ue,this.createFixedDepositsAccountDetailsForm()}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.buildDependencies(),this.fixedDepositsAccountTemplate&&(this.productData=this.fixedDepositsAccountTemplate.productOptions,this.fixedDepositsAccountTemplate.depositProductId&&this.fixedDepositAccountDetailsForm.patchValue({productId:this.fixedDepositsAccountTemplate.depositProductId,submittedOnDate:this.fixedDepositsAccountTemplate.timeline.submittedOnDate&&new Date(this.fixedDepositsAccountTemplate.timeline.submittedOnDate),externalId:this.fixedDepositsAccountTemplate.externalId||""}))}createFixedDepositsAccountDetailsForm(){this.fixedDepositAccountDetailsForm=this.formBuilder.group({productId:["",R.required],submittedOnDate:["",R.required],fieldOfficerId:[""],externalId:[""]})}buildDependencies(){let a=this.fixedDepositsAccountTemplate.clientId;this.fixedDepositAccountDetailsForm.get("productId").valueChanges.subscribe(l=>{this.fixedDepositsService.getFixedDepositsAccountTemplate(a,l).subscribe(p=>{this.fixedDepositsAccountProductTemplate.emit(p),this.isProductSelected=!0,this.fieldOfficerData=p.fieldOfficerOptions,!this.isFieldOfficerPatched&&this.fixedDepositsAccountTemplate.fieldOfficerId?(this.fixedDepositAccountDetailsForm.get("fieldOfficerId").patchValue(this.fixedDepositsAccountTemplate.fieldOfficerId),this.isFieldOfficerPatched=!0):this.fixedDepositAccountDetailsForm.get("fieldOfficerId").patchValue("")})})}get fixedDepositAccountDetails(){let a=this.fixedDepositAccountDetailsForm.value;for(let l in a)a[l]===""&&delete a[l];return a}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-details-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate"},outputs:{fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},decls:48,vars:24,consts:[["submittedOnDatePicker",""],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["formControlName","productId","required",""],[3,"value",4,"ngFor","ngForOf"],["class","flex-48",3,"click",4,"ngIf"],["class","flex-48",4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious","","disabled",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"flex-48",3,"click"],["matInput","","formControlName","submittedOnDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["formControlName","fieldOfficerId"],["matInput","","formControlName","externalId",3,"matTooltip"]],template:function(l,p){if(l&1&&(n(0,"form",1),t(1,`
-  `),n(2,"div",2),t(3,`
-    `),n(4,"mat-form-field",3),t(5,`
-      `),n(6,"mat-label"),t(7),r(8,"translate"),i(),t(9,`
-      `),n(10,"mat-select",4),t(11,`
-        `),m(12,fp,2,2,"mat-option",5),t(13,`
-      `),i(),t(14,`
-      `),n(15,"mat-error"),t(16),r(17,"translate"),r(18,"translate"),n(19,"strong"),t(20),r(21,"translate"),i(),t(22,`
-      `),i(),t(23,`
-    `),i(),t(24,`
-
-    `),m(25,gp,22,16,"mat-form-field",6),t(26,`
-
-    `),m(27,Cp,11,4,"mat-form-field",7),t(28,`
-
-    `),m(29,hp,9,6,"mat-form-field",7),t(30,`
-  `),i(),t(31,`
-
-  `),n(32,"div",8),t(33,`
-    `),n(34,"button",9),t(35,`
-      `),g(36,"fa-icon",10),t(37),r(38,"translate"),i(),t(39,`
-    `),n(40,"button",11),t(41),r(42,"translate"),g(43,"fa-icon",12),t(44,`
-    `),i(),t(45,`
-  `),i(),t(46,`
-`),i(),t(47,`
-`)),l&2){let x;d("formGroup",p.fixedDepositAccountDetailsForm),o(7),u(c(8,12,"labels.inputs.Product Name")),o(5),d("ngForOf",p.productData),o(4),S(`
-        `,c(17,14,"labels.inputs.Product Name")," ",c(18,16,"labels.commons.is"),`
-        `),o(4),u(c(21,18,"labels.commons.required")),o(5),d("ngIf",p.isProductSelected),o(2),d("ngIf",p.isProductSelected),o(2),d("ngIf",p.isProductSelected),o(8),f(`
-      `,c(38,20,"labels.buttons.Previous"),`
-    `),o(3),d("disabled",!((x=p.fixedDepositAccountDetailsForm.get("productId"))!=null&&x.value)||!((x=p.fixedDepositAccountDetailsForm.get("submittedOnDate"))!=null&&x.value)),o(),f(`
-      `,c(42,22,"labels.buttons.Next"),`
-      `)}},dependencies:[_t,F,tt,Pt,E,ht,vt,Dt,Y,Q,st,Ct,pt,Mt,oe,Lt,de,it,et,K,nt,lt,at,ot,O],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return e})();function vp(e,s){if(e&1&&(n(0,"mifosx-input-amount",18),t(1,`
-    `),i()),e&2){let a=C();d("currency",a.currency)("isRequired",!0)("inputFormControl",a.fixedDepositAccountTermsForm.controls.depositAmount)("inputLabel","Deposit Amount")}}function Dp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function bp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Sp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Pp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Mp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}var _e=(()=>{class e{constructor(a,l){this.formBuilder=a,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.currency=null,this.createFixedDepositsAccountTermsForm()}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.currency=this.fixedDepositsAccountProductTemplate.currency,this.setOptions())}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.fixedDepositsAccountTemplate.id&&this.fixedDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.fixedDepositsAccountTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.fixedDepositsAccountTemplate.interestPostingPeriodType.id,interestCalculationType:this.fixedDepositsAccountTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.fixedDepositsAccountTemplate.interestCalculationDaysInYearType.id,depositAmount:this.fixedDepositsAccountTemplate.depositAmount?this.fixedDepositsAccountTemplate.depositAmount:0,depositPeriod:this.fixedDepositsAccountTemplate.depositPeriod,depositPeriodFrequencyId:this.fixedDepositsAccountTemplate.depositPeriodFrequency.id})}createFixedDepositsAccountTermsForm(){this.fixedDepositAccountTermsForm=this.formBuilder.group({interestCompoundingPeriodType:["",R.required],interestPostingPeriodType:["",R.required],interestCalculationType:["",R.required],interestCalculationDaysInYearType:["",R.required],depositAmount:[0,R.required],depositPeriod:["",R.required],depositPeriodFrequencyId:["",R.required]})}setOptions(){this.interestCompoundingPeriodTypeData=this.fixedDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,this.interestPostingPeriodTypeData=this.fixedDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,this.interestCalculationTypeData=this.fixedDepositsAccountProductTemplate.interestCalculationTypeOptions,this.interestCalculationDaysInYearTypeData=this.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,this.periodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,this.fixedDepositsAccountTemplate.id||this.fixedDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.fixedDepositsAccountProductTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.fixedDepositsAccountProductTemplate.interestPostingPeriodType.id,interestCalculationType:this.fixedDepositsAccountProductTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearType.id,depositAmount:this.fixedDepositsAccountProductTemplate.depositAmount,depositPeriod:this.fixedDepositsAccountProductTemplate.minDepositTerm,depositPeriodFrequencyId:this.fixedDepositsAccountProductTemplate.minDepositTermType.id})}get fixedDepositAccountTerms(){let a=this.fixedDepositAccountTermsForm.value;for(let l in a)a[l]===""&&delete a[l];return a}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-terms-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[Zt],decls:150,vars:85,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],["class","flex-48",3,"currency","isRequired","inputFormControl","inputLabel",4,"ngIf"],[1,"flex-48","hide-lt-md"],[1,"flex-48"],["type","number","matInput","","formControlName","depositPeriod","required",""],["formControlName","depositPeriodFrequencyId","required",""],[3,"value",4,"ngFor","ngForOf"],[1,"flex-98"],["formControlName","interestCompoundingPeriodType","required",""],["formControlName","interestPostingPeriodType","required",""],["formControlName","interestCalculationType","required",""],["formControlName","interestCalculationDaysInYearType","required",""],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[1,"flex-48",3,"currency","isRequired","inputFormControl","inputLabel"],[3,"value"]],template:function(l,p){l&1&&(n(0,"form",0),t(1,`
-  `),n(2,"div",1),t(3,`
-    `),m(4,vp,2,4,"mifosx-input-amount",2),t(5,`
-
-    `),g(6,"span",3),t(7,`
-
-    `),n(8,"mat-form-field",4),t(9,`
-      `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
-      `),g(14,"input",5),t(15,`
-      `),n(16,"mat-error"),t(17),r(18,"translate"),r(19,"translate"),n(20,"strong"),t(21),r(22,"translate"),i(),t(23,`
-      `),i(),t(24,`
-    `),i(),t(25,`
-
-    `),n(26,"mat-form-field",4),t(27,`
-      `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
-      `),n(32,"mat-select",6),t(33,`
-        `),m(34,Dp,3,5,"mat-option",7),t(35,`
-      `),i(),t(36,`
-      `),n(37,"mat-error"),t(38),r(39,"translate"),r(40,"translate"),n(41,"strong"),t(42),r(43,"translate"),i(),t(44,`
-      `),i(),t(45,`
-    `),i(),t(46,`
-
-    `),g(47,"mat-divider",8),t(48,`
-
-    `),n(49,"mat-form-field",4),t(50,`
-      `),n(51,"mat-label"),t(52),r(53,"translate"),i(),t(54,`
-      `),n(55,"mat-select",9),t(56,`
-        `),m(57,bp,3,5,"mat-option",7),t(58,`
-      `),i(),t(59,`
-      `),n(60,"mat-error"),t(61),r(62,"translate"),r(63,"translate"),n(64,"strong"),t(65),r(66,"translate"),i(),t(67,`
-      `),i(),t(68,`
-    `),i(),t(69,`
-
-    `),n(70,"mat-form-field",4),t(71,`
-      `),n(72,"mat-label"),t(73),r(74,"translate"),i(),t(75,`
-      `),n(76,"mat-select",10),t(77,`
-        `),m(78,Sp,3,5,"mat-option",7),t(79,`
-      `),i(),t(80,`
-      `),n(81,"mat-error"),t(82),r(83,"translate"),r(84,"translate"),n(85,"strong"),t(86),r(87,"translate"),i(),t(88,`
-      `),i(),t(89,`
-    `),i(),t(90,`
-
-    `),n(91,"mat-form-field",4),t(92,`
-      `),n(93,"mat-label"),t(94),r(95,"translate"),i(),t(96,`
-      `),n(97,"mat-select",11),t(98,`
-        `),m(99,Pp,3,5,"mat-option",7),t(100,`
-      `),i(),t(101,`
-      `),n(102,"mat-error"),t(103),r(104,"translate"),r(105,"translate"),n(106,"strong"),t(107),r(108,"translate"),i(),t(109,`
-      `),i(),t(110,`
-    `),i(),t(111,`
-
-    `),n(112,"mat-form-field",4),t(113,`
-      `),n(114,"mat-label"),t(115),r(116,"translate"),i(),t(117,`
-      `),n(118,"mat-select",12),t(119,`
-        `),m(120,Mp,3,5,"mat-option",7),t(121,`
-      `),i(),t(122,`
-      `),n(123,"mat-error"),t(124),r(125,"translate"),r(126,"translate"),n(127,"strong"),t(128),r(129,"translate"),i(),t(130,`
-      `),i(),t(131,`
-    `),i(),t(132,`
-  `),i(),t(133,`
-
-  `),n(134,"div",13),t(135,`
-    `),n(136,"button",14),t(137,`
-      `),g(138,"fa-icon",15),t(139),r(140,"translate"),i(),t(141,`
-    `),n(142,"button",16),t(143),r(144,"translate"),g(145,"fa-icon",17),t(146,`
-    `),i(),t(147,`
-  `),i(),t(148,`
-`),i(),t(149,`
-`)),l&2&&(d("formGroup",p.fixedDepositAccountTermsForm),o(4),d("ngIf",p.currency),o(7),u(c(12,33,"labels.inputs.Deposit Period")),o(6),S(`
-        `,c(18,35,"labels.inputs.Deposit Period")," ",c(19,37,"labels.commons.is"),`
-        `),o(4),u(c(22,39,"labels.commons.required")),o(8),u(c(30,41,"labels.inputs.Deposit Period Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(4),S(`
-        `,c(39,43,"labels.inputs.Deposit Period Type")," ",c(40,45,"labels.commons.is"),`
-        `),o(4),u(c(43,47,"labels.commons.required")),o(10),u(c(53,49,"labels.inputs.Interest Compounding Period")),o(5),d("ngForOf",p.interestCompoundingPeriodTypeData),o(4),S(`
-        `,c(62,51,"labels.inputs.Interest Compounding Period")," ",c(63,53,"labels.commons.is"),`
-        `),o(4),u(c(66,55,"labels.commons.required")),o(8),u(c(74,57,"labels.inputs.Interest Posting Period")),o(5),d("ngForOf",p.interestPostingPeriodTypeData),o(4),S(`
-        `,c(83,59,"labels.inputs.Interest Posting Period")," ",c(84,61,"labels.commons.is"),`
-        `),o(4),u(c(87,63,"labels.commons.required")),o(8),u(c(95,65,"labels.inputs.Interest Calculated using")),o(5),d("ngForOf",p.interestCalculationTypeData),o(4),S(`
-        `,c(104,67,"labels.inputs.Interest Calculated using")," ",c(105,69,"labels.commons.is"),`
-        `),o(4),u(c(108,71,"labels.commons.required")),o(8),u(c(116,73,"labels.inputs.Days in Year")),o(5),d("ngForOf",p.interestCalculationDaysInYearTypeData),o(4),S(`
-        `,c(125,75,"labels.inputs.Days in Year")," ",c(126,77,"labels.commons.is"),`
-        `),o(4),u(c(129,79,"labels.commons.required")),o(11),f(`
-      `,c(140,81,"labels.buttons.Previous"),`
-    `),o(4),f(`
-      `,c(144,83,"labels.buttons.Next"),`
-      `))},dependencies:[_t,F,tt,Pt,E,Ne,Y,Q,st,pt,Mt,oe,Lt,it,et,Gt,K,nt,lt,at,ot,nn,O,Tt],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return e})();function Tp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Ap(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function yp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Op(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Ip(e,s){if(e&1&&(n(0,"mat-option",29),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),S(`
-          (`,a.accountNo,") ",a.savingsProductName,`
-        `)}}function Fp(e,s){if(e&1&&(n(0,"mat-form-field",30),t(1,`
-      `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-      `),n(6,"mat-select",31),t(7,`
-        `),m(8,Ip,2,3,"mat-option",6),t(9,`
-      `),i(),t(10,`
-      `),n(11,"mat-error"),t(12),r(13,"translate"),r(14,"translate"),n(15,"strong"),t(16),r(17,"translate"),i(),t(18,`
-      `),i(),t(19,`
-    `),i()),e&2){let a=C();o(3),u(c(4,5,"labels.inputs.Linked Savings Account")),o(5),d("ngForOf",a.savingsAccountsData),o(4),S(`
-        `,c(13,7,"labels.inputs.Linked Savings Account")," ",c(14,9,"labels.commons.is"),`
-        `),o(4),u(c(17,11,"labels.commons.required"))}}function Ep(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function wp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),S(`
-          (`,a.accountNo,") ",a.savingsProductName,`
-        `)}}function Bp(e,s){if(e&1&&(n(0,"mat-form-field",32),t(1,`
-      `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-      `),n(6,"mat-select",33),t(7,`
-        `),m(8,wp,2,3,"mat-option",6),t(9,`
-      `),i(),t(10,`
-      `),n(11,"mat-error"),t(12),r(13,"translate"),r(14,"translate"),n(15,"strong"),t(16),r(17,"translate"),i(),t(18,`
-      `),i(),t(19,`
-    `),i()),e&2){let a=C();o(3),u(c(4,5,"labels.inputs.Transfer to savings account")),o(5),d("ngForOf",a.savingsAccountsData),o(4),S(`
-        `,c(13,7,"labels.inputs.Transfer to savings account")," ",c(14,9,"labels.commons.is"),`
-        `),o(4),u(c(17,11,"labels.commons.required"))}}function kp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
-          `,I(2,2,a.value,"catalogs"),`
-        `)}}function Rp(e,s){e&1&&(n(0,"mat-form-field",36),t(1,`
-        `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
-        `),g(6,"input",37),t(7,`
-      `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Tax Group")))}function Np(e,s){if(e&1&&(v(0),t(1,`
-      `),g(2,"mat-divider",13),t(3,`
-
-      `),n(4,"mat-checkbox",34),t(5),r(6,"translate"),i(),t(7,`
-
-      `),m(8,Rp,8,3,"mat-form-field",35),t(9,`
-    `),D()),e&2){let a=C();o(5),f(`
-        `,c(6,2,"labels.inputs.Is Withhold Tax Applicable"),`?
-      `),o(3),d("ngIf",a.fixedDepositAccountSettingsForm.controls.taxGroupId)}}var Ce=(()=>{class e{constructor(a,l){this.formBuilder=a,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.createFixedDepositAccountSettingsForm(),this.buildDependencies()}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.fixedDepositAccountSettingsForm.patchValue({minDepositTerm:this.fixedDepositsAccountProductTemplate.minDepositTerm,minDepositTermTypeId:this.fixedDepositsAccountProductTemplate.minDepositTermType?this.fixedDepositsAccountProductTemplate.minDepositTermType.id:"",inMultiplesOfDepositTerm:this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm,inMultiplesOfDepositTermTypeId:this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType?this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType.id:"",maxDepositTerm:this.fixedDepositsAccountProductTemplate.maxDepositTerm,maxDepositTermTypeId:this.fixedDepositsAccountProductTemplate.maxDepositTermType?this.fixedDepositsAccountProductTemplate.maxDepositTermType.id:"",preClosurePenalApplicable:this.fixedDepositsAccountProductTemplate.preClosurePenalApplicable,preClosurePenalInterest:this.fixedDepositsAccountProductTemplate.preClosurePenalInterest,preClosurePenalInterestOnTypeId:this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType?this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType.id:"",maturityInstructionId:this.fixedDepositsAccountProductTemplate.maturityInstructionId}),this.fixedDepositsAccountProductTemplate.withHoldTax?(this.fixedDepositAccountSettingsForm.addControl("withHoldTax",new G(!1)),this.fixedDepositAccountSettingsForm.get("withHoldTax").valueChanges.subscribe(a=>{a?(this.fixedDepositAccountSettingsForm.addControl("taxGroupId",new G({value:"",disabled:!0})),this.fixedDepositAccountSettingsForm.get("taxGroupId").patchValue(this.fixedDepositsAccountProductTemplate.taxGroup&&this.fixedDepositsAccountProductTemplate.taxGroup.name)):this.fixedDepositAccountSettingsForm.removeControl("taxGroupId")}),this.fixedDepositAccountSettingsForm.get("withHoldTax").patchValue(this.fixedDepositsAccountTemplate.withHoldTax)):this.fixedDepositAccountSettingsForm.removeControl("withHoldTax"),this.setOptions())}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.fixedDepositsAccountTemplate&&this.fixedDepositAccountSettingsForm.patchValue({lockinPeriodFrequency:this.fixedDepositsAccountTemplate.lockinPeriodFrequency,lockinPeriodFrequencyType:this.fixedDepositsAccountTemplate.lockinPeriodFrequencyType&&this.fixedDepositsAccountTemplate.lockinPeriodFrequencyType.id,transferInterestToSavings:this.fixedDepositsAccountTemplate.transferInterestToSavings})}createFixedDepositAccountSettingsForm(){this.fixedDepositAccountSettingsForm=this.formBuilder.group({lockinPeriodFrequency:[""],lockinPeriodFrequencyType:[""],minDepositTerm:[{value:"",disabled:!0}],minDepositTermTypeId:[{value:"",disabled:!0}],inMultiplesOfDepositTerm:[{value:"",disabled:!0}],inMultiplesOfDepositTermTypeId:[{value:"",disabled:!0}],maxDepositTerm:[{value:"",disabled:!0}],maxDepositTermTypeId:[{value:"",disabled:!0}],transferInterestToSavings:[!1],preClosurePenalApplicable:[{value:"",disabled:!0}],preClosurePenalInterest:[{value:"",disabled:!0}],preClosurePenalInterestOnTypeId:[{value:"",disabled:!0}],maturityInstructionId:[""]})}buildDependencies(){this.fixedDepositAccountSettingsForm.get("transferInterestToSavings").valueChanges.subscribe(a=>{a?(this.fixedDepositAccountSettingsForm.addControl("linkAccountId",new G("",R.required)),this.fixedDepositAccountSettingsForm.get("linkAccountId").patchValue(this.fixedDepositsAccountTemplate.linkedAccount&&this.fixedDepositsAccountTemplate.linkedAccount.id)):this.fixedDepositAccountSettingsForm.removeControl("linkAccountId")}),this.fixedDepositAccountSettingsForm.get("maturityInstructionId").valueChanges.subscribe(a=>{a>100?(this.fixedDepositAccountSettingsForm.addControl("transferToSavingsId",new G("",R.required)),this.fixedDepositAccountSettingsForm.get("transferToSavingsId").patchValue(this.fixedDepositsAccountTemplate.transferToSavingsId&&this.fixedDepositsAccountTemplate.transferToSavingsId.id)):this.fixedDepositAccountSettingsForm.removeControl("transferToSavingsId")})}setOptions(){this.lockinPeriodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,this.periodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,this.savingsAccountsData=this.fixedDepositsAccountProductTemplate.savingsAccounts,this.preClosurePenalInterestOnTypeData=this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnTypeOptions,this.maturityInstructionOptions=this.fixedDepositsAccountProductTemplate.maturityInstructionOptions}get fixedDepositAccountSettings(){let a=this.fixedDepositAccountSettingsForm.getRawValue();for(let l in a)(a[l]===""||l==="taxGroupId")&&delete a[l];return a}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-settings-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[Zt],decls:200,vars:91,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"mat-h4","flex-98"],[1,"flex-48"],["type","number","matInput","","formControlName","lockinPeriodFrequency"],["formControlName","lockinPeriodFrequencyType"],[3,"value",4,"ngFor","ngForOf"],["type","number","matInput","","formControlName","minDepositTerm","required",""],["formControlName","minDepositTermTypeId","required",""],["type","number","matInput","","formControlName","inMultiplesOfDepositTerm"],["formControlName","inMultiplesOfDepositTermTypeId"],["type","number","matInput","","formControlName","maxDepositTerm"],["formControlName","maxDepositTermTypeId"],[1,"flex-98"],[1,"mat-h3","flex-23"],["labelPosition","before","formControlName","transferInterestToSavings",1,"flex-32","margin-b"],["class","margin-b flex-48",4,"ngIf"],["formControlName","maturityInstructionId"],["class","flex-48 margin-b",4,"ngIf"],[1,"mat-h4","flex-23"],["labelPosition","before","formControlName","preClosurePenalApplicable",1,"flex-73","margin-v"],["type","number","matInput","","formControlName","preClosurePenalInterest"],["formControlName","preClosurePenalInterestOnTypeId"],[4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"margin-b","flex-48"],["formControlName","linkAccountId","required",""],[1,"flex-48","margin-b"],["formControlName","transferToSavingsId","required",""],["labelPosition","before","formControlName","withHoldTax",1,"margin-p","flex-48"],["class","p-b-25 flex-48",4,"ngIf"],[1,"p-b-25","flex-48"],["matInput","","formControlName","taxGroupId"]],template:function(l,p){l&1&&(n(0,"form",0),t(1,`
-  `),n(2,"div",1),t(3,`
-    `),n(4,"h4",2),t(5),r(6,"translate"),i(),t(7,`
-
-    `),n(8,"mat-form-field",3),t(9,`
-      `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
-      `),g(14,"input",4),t(15,`
-    `),i(),t(16,`
-
-    `),n(17,"mat-form-field",3),t(18,`
-      `),n(19,"mat-label"),t(20),r(21,"translate"),i(),t(22,`
-      `),n(23,"mat-select",5),t(24,`
-        `),m(25,Tp,3,5,"mat-option",6),t(26,`
-      `),i(),t(27,`
-    `),i(),t(28,`
-
-    `),n(29,"h4",2),t(30),r(31,"translate"),i(),t(32,`
-
-    `),n(33,"mat-form-field",3),t(34,`
-      `),n(35,"mat-label"),t(36),r(37,"translate"),i(),t(38,`
-      `),g(39,"input",7),t(40,`
-      `),n(41,"mat-error"),t(42),r(43,"translate"),r(44,"translate"),n(45,"strong"),t(46),r(47,"translate"),i(),t(48,`
-      `),i(),t(49,`
-    `),i(),t(50,`
-
-    `),n(51,"mat-form-field",3),t(52,`
-      `),n(53,"mat-label"),t(54),r(55,"translate"),i(),t(56,`
-      `),n(57,"mat-select",8),t(58,`
-        `),m(59,Ap,3,5,"mat-option",6),t(60,`
-      `),i(),t(61,`
-      `),n(62,"mat-error"),t(63),r(64,"translate"),r(65,"translate"),n(66,"strong"),t(67),r(68,"translate"),i(),t(69,`
-      `),i(),t(70,`
-    `),i(),t(71,`
-
-    `),n(72,"h4",2),t(73),r(74,"translate"),i(),t(75,`
-
-    `),n(76,"mat-form-field",3),t(77,`
-      `),n(78,"mat-label"),t(79),r(80,"translate"),i(),t(81,`
-      `),g(82,"input",9),t(83,`
-    `),i(),t(84,`
-
-    `),n(85,"mat-form-field",3),t(86,`
-      `),n(87,"mat-label"),t(88),r(89,"translate"),i(),t(90,`
-      `),n(91,"mat-select",10),t(92,`
-        `),m(93,yp,3,5,"mat-option",6),t(94,`
-      `),i(),t(95,`
-    `),i(),t(96,`
-
-    `),n(97,"h4",2),t(98),r(99,"translate"),i(),t(100,`
-
-    `),n(101,"mat-form-field",3),t(102,`
-      `),n(103,"mat-label"),t(104),r(105,"translate"),i(),t(106,`
-      `),g(107,"input",11),t(108,`
-    `),i(),t(109,`
-
-    `),n(110,"mat-form-field",3),t(111,`
-      `),n(112,"mat-label"),t(113),r(114,"translate"),i(),t(115,`
-      `),n(116,"mat-select",12),t(117,`
-        `),m(118,Op,3,5,"mat-option",6),t(119,`
-      `),i(),t(120,`
-    `),i(),t(121,`
-
-    `),g(122,"mat-divider",13),t(123,`
-
-    `),n(124,"h3",14),t(125),r(126,"translate"),i(),t(127,`
-
-    `),n(128,"mat-checkbox",15),t(129),r(130,"translate"),i(),t(131,`
-
-    `),m(132,Fp,20,13,"mat-form-field",16),t(133,`
-
-    `),g(134,"mat-divider",13),t(135,`
-
-    `),n(136,"mat-form-field",3),t(137,`
-      `),n(138,"mat-label"),t(139),r(140,"translate"),i(),t(141,`
-      `),n(142,"mat-select",17),t(143,`
-        `),m(144,Ep,3,5,"mat-option",6),t(145,`
-      `),i(),t(146,`
-    `),i(),t(147,`
-
-    `),m(148,Bp,20,13,"mat-form-field",18),t(149,`
-
-    `),g(150,"mat-divider",13),t(151,`
-
-    `),n(152,"h4",19),t(153),r(154,"translate"),i(),t(155,`
-
-    `),n(156,"mat-checkbox",20),t(157),r(158,"translate"),i(),t(159,`
-
-    `),n(160,"mat-form-field",3),t(161,`
-      `),n(162,"mat-label"),t(163),r(164,"translate"),i(),t(165,`
-      `),g(166,"input",21),t(167,`
-    `),i(),t(168,`
-
-    `),n(169,"mat-form-field",3),t(170,`
-      `),n(171,"mat-label"),t(172),r(173,"translate"),i(),t(174,`
-      `),n(175,"mat-select",22),t(176,`
-        `),m(177,kp,3,5,"mat-option",6),t(178,`
-      `),i(),t(179,`
-    `),i(),t(180,`
-
-    `),m(181,Np,10,4,"ng-container",23),t(182,`
-  `),i(),t(183,`
-
-  `),n(184,"div",24),t(185,`
-    `),n(186,"button",25),t(187,`
-      `),g(188,"fa-icon",26),t(189),r(190,"translate"),i(),t(191,`
-    `),n(192,"button",27),t(193),r(194,"translate"),g(195,"fa-icon",28),t(196,`
-    `),i(),t(197,`
-  `),i(),t(198,`
-`),i(),t(199,`
-`)),l&2&&(d("formGroup",p.fixedDepositAccountSettingsForm),o(5),u(c(6,37,"labels.heading.Lock-in Period")),o(6),u(c(12,39,"labels.inputs.Frequency")),o(9),u(c(21,41,"labels.inputs.Type")),o(5),d("ngForOf",p.lockinPeriodFrequencyTypeData),o(5),u(c(31,43,"labels.heading.Minimum Deposit Term")),o(6),u(c(37,45,"labels.inputs.Frequency")),o(6),S(`
-        `,c(43,47,"labels.inputs.Minimum Deposit Term Frequency")," ",c(44,49,"labels.commons.is"),`
-        `),o(4),u(c(47,51,"labels.commons.required")),o(8),u(c(55,53,"labels.inputs.Frequency Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(4),S(`
-        `,c(64,55,"labels.inputs.Minimum Deposit Term Frequency Type")," ",c(65,57,"labels.commons.is"),`
-        `),o(4),u(c(68,59,"labels.commons.required")),o(6),u(c(74,61,"labels.heading.And thereafter, in Multiples of")),o(6),u(c(80,63,"labels.inputs.Frequency")),o(9),u(c(89,65,"labels.inputs.Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(5),u(c(99,67,"labels.heading.Maximum Deposit Term")),o(6),u(c(105,69,"labels.inputs.Frequency")),o(9),u(c(114,71,"labels.inputs.Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(7),u(c(126,73,"labels.heading.Interest Transfer")),o(4),f(`
-      `,c(130,75,"labels.inputs.Transfer Interest to Linked Savings Account"),`?
-    `),o(3),d("ngIf",p.fixedDepositAccountSettingsForm.contains("linkAccountId")),o(7),u(c(140,77,"labels.inputs.Maturity Instructions")),o(5),d("ngForOf",p.maturityInstructionOptions),o(4),d("ngIf",p.fixedDepositAccountSettingsForm.contains("transferToSavingsId")),o(5),u(c(154,79,"labels.heading.For Pre-mature closure")),o(4),f(`
-      `,c(158,81,"labels.inputs.Apply Penal Interest (less)"),`
-    `),o(6),f("",c(164,83,"labels.inputs.Penal Interest")," (%)"),o(9),u(c(173,85,"labels.inputs.Period")),o(5),d("ngForOf",p.preClosurePenalInterestOnTypeData),o(4),d("ngIf",p.fixedDepositAccountSettingsForm.controls.withHoldTax),o(8),f(`
-      `,c(190,87,"labels.buttons.Previous"),`
-    `),o(4),f(`
-      `,c(194,89,"labels.buttons.Next"),`
-      `))},dependencies:[_t,F,tt,Pt,E,Le,Ne,Y,Q,st,pt,Mt,oe,Lt,it,et,Gt,K,nt,lt,at,ot,O,Tt],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-p[_ngcontent-%COMP%]{margin-top:1.7em}"]})}}return e})();var Vp=()=>[2e3];function qp(e,s){if(e&1&&(n(0,"mat-option",24),t(1),i()),e&2){let a=s.$implicit;d("value",a),o(),f(`
-        `,a.name,`
-      `)}}function jp(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.name")))}function zp(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-        `,a.name+", "+a.currency.displaySymbol,`
-      `)}}function $p(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Type")))}function Hp(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-        `,a.chargeCalculationType.value,`
-      `)}}function Up(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount")))}function Gp(e,s){if(e&1){let a=y();n(0,"td",26),t(1),n(2,"button",27),b("click",function(){let p=P(a).$implicit,x=C();return M(x.editChargeAmount(p))}),t(3,`
-          `),g(4,"fa-icon",28),t(5,`
-        `),i(),t(6,`
-      `),i()}if(e&2){let a=s.$implicit;o(),f(`
-        `,a.amount,`
-        `)}}function Lp(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Collected On")))}function Wp(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-        `,a.chargeTimeType.value,`
-      `)}}function Kp(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Date")))}function Qp(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
-          `,c(2,1,a.dueDate)||"Unassigned*",`
-        `)}}function Yp(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
-          `,a.feeOnMonthDay?I(2,1,B(4,Vp).concat(a.feeOnMonthDay),"dd MMMM"):"Unassigned",`
-        `)}}function Jp(e,s){e&1&&(n(0,"span"),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
-          `,c(2,1,"labels.inputs.N/A"),`
-        `))}function Xp(e,s){if(e&1){let a=y();n(0,"button",27),b("click",function(){P(a);let p=C().$implicit,x=C();return M(x.editChargeDate(p))}),t(1,`
-          `),g(2,"fa-icon",28),t(3,`
-        `),i()}}function Zp(e,s){if(e&1&&(n(0,"td",26),t(1,`
-        `),m(2,Qp,3,3,"span",29),t(3,`
-        `),m(4,Yp,3,5,"span",29),t(5,`
-        `),m(6,Jp,3,3,"span",29),t(7,`
-        `),m(8,Xp,4,0,"button",30),t(9,`
-      `),i()),e&2){let a=s.$implicit;o(2),d("ngIf",a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee"),o(2),d("ngIf",a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"),o(2),d("ngIf",!(a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee")),o(2),d("ngIf",a.chargeTimeType.value==="Weekly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Specified due date")}}function t0(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Repayments Every")))}function e0(e,s){if(e&1){let a=y();n(0,"button",27),b("click",function(){P(a);let p=C().$implicit,x=C();return M(x.editChargeFeeInterval(p))}),t(1,`
-          `),g(2,"fa-icon",28),t(3,`
-        `),i()}}function n0(e,s){if(e&1&&(n(0,"td",26),t(1),m(2,e0,4,0,"button",30),t(3,`
-      `),i()),e&2){let a=s.$implicit;o(),f(`
-        `,a.feeInterval||"Not Provided",`
-        `),o(),d("ngIf",a.chargeTimeType.value==="Weekly Fee"||a.chargeTimeType.value==="Monthly Fee")}}function i0(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function a0(e,s){if(e&1){let a=y();n(0,"td",26),t(1,`
-        `),n(2,"button",31),b("click",function(){let p=P(a).$implicit,x=C();return M(x.deleteCharge(p))}),t(3,`
-          `),g(4,"fa-icon",32),t(5,`
-        `),i(),t(6,`
-      `),i()}}function o0(e,s){e&1&&g(0,"tr",33)}function r0(e,s){e&1&&g(0,"tr",34)}var he=(()=>{class e{constructor(a,l,p){this.dialog=a,this.dateUtils=l,this.settingsService=p,this.currency=null,this.chargesDataSource=[],this.displayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery","action"],this.isChargesPatched=!1,this.pristine=!0}ngOnInit(){this.chargesDataSource=[],this.fixedDepositsAccountTemplate.id&&this.fixedDepositsAccountTemplate.charges&&(this.chargesDataSource=this.fixedDepositsAccountTemplate.charges.map(a=>U(V({},a),{id:a.chargeId}))||[])}ngOnChanges(){this.currency==null&&(this.fixedDepositsAccountTemplate.currency?this.currency=this.fixedDepositsAccountTemplate.currency:this.fixedDepositsAccountProductTemplate&&this.fixedDepositsAccountProductTemplate.currency&&(this.currency=this.fixedDepositsAccountProductTemplate.currency)),this.fixedDepositsAccountProductTemplate&&(this.chargeData=this.fixedDepositsAccountProductTemplate.chargeOptions.filter(a=>a.currency.code===this.currency.code))}addCharge(a){this.chargesDataSource=this.chargesDataSource.concat([a.value]),a.value="",this.pristine=!1}editChargeAmount(a){let l=[new Ve({controlName:"amount",label:"Amount",value:a.amount,type:"number",required:!1})],p={title:"Edit Charge Amount",layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=U(V({},a),{amount:h.data.value.amount});this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1,T),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeDate(a){let l=[new en({controlName:"date",label:"Date",value:a.dueDate||a.feeOnMonthDay||"",type:"datetime-local",required:!1})],p={title:"Edit Charge Date",layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T,Z=this.settingsService.dateFormat,Yt=this.dateUtils.formatDate(h.data.value.date,Z);switch(a.chargeTimeType.value){case"Specified due date":case"Weekly Fee":T=U(V({},a),{dueDate:Yt});break;case"Annual Fee":T=U(V({},a),{feeOnMonthDay:Yt});break}this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1,T),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeFeeInterval(a){let l=[new Ve({controlName:"feeInterval",label:"Fee Interval",value:a.feeInterval,type:"text",required:!1})],p={title:"Edit Charge Fee Interval",layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=U(V({},a),{feeInterval:h.data.value.feeInterval});this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1,T),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}deleteCharge(a){this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1),this.chargesDataSource=this.chargesDataSource.concat([]),this.pristine=!1}get fixedDepositAccountCharges(){return{charges:this.chargesDataSource}}static{this.\u0275fac=function(l){return new(l||e)(_(Ut),_(W),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-charges-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate",fixedDepositAccountFormValid:"fixedDepositAccountFormValid"},features:[Zt],decls:96,vars:19,consts:[["charge",""],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-48","align-center"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["icon","plus",1,"m-r-10"],["mat-table","",1,"flex-98","mat-elevation-z1",3,"dataSource","hidden"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","chargeCalculationType"],["matColumnDef","amount"],["matColumnDef","chargeTimeType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","color","primary",3,"click"],["icon","pen"],[4,"ngIf"],["mat-icon-button","","color","primary",3,"click",4,"ngIf"],["mat-icon-button","","color","warn",3,"click"],["icon","trash"],["mat-header-row",""],["mat-row",""]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-form-field",2),t(3,`
-    `),n(4,"mat-label"),t(5),r(6,"translate"),i(),t(7,`
-    `),n(8,"mat-select",null,0),t(10,`
-      `),m(11,qp,2,2,"mat-option",3),t(12,`
-    `),i(),t(13,`
-  `),i(),t(14,`
-
-  `),n(15,"div",4),t(16,`
-    `),n(17,"button",5),b("click",function(){P(x);let T=w(9);return M(p.addCharge(T))}),t(18,`
-      `),g(19,"fa-icon",6),t(20),r(21,"translate"),i(),t(22,`
-  `),i(),t(23,`
-
-  `),n(24,"table",7),t(25,`
-    `),v(26,8),t(27,`
-      `),m(28,jp,3,3,"th",9),t(29,`
-      `),m(30,zp,2,1,"td",10),t(31,`
-    `),D(),t(32,`
-
-    `),v(33,11),t(34,`
-      `),m(35,$p,3,3,"th",9),t(36,`
-      `),m(37,Hp,2,1,"td",10),t(38,`
-    `),D(),t(39,`
-
-    `),v(40,12),t(41,`
-      `),m(42,Up,3,3,"th",9),t(43,`
-      `),m(44,Gp,7,1,"td",10),t(45,`
-    `),D(),t(46,`
-
-    `),v(47,13),t(48,`
-      `),m(49,Lp,3,3,"th",9),t(50,`
-      `),m(51,Wp,2,1,"td",10),t(52,`
-    `),D(),t(53,`
-
-    `),v(54,14),t(55,`
-      `),m(56,Kp,3,3,"th",9),t(57,`
-      `),m(58,Zp,10,4,"td",10),t(59,`
-    `),D(),t(60,`
-
-    `),v(61,15),t(62,`
-      `),m(63,t0,3,3,"th",9),t(64,`
-      `),m(65,n0,4,2,"td",10),t(66,`
-    `),D(),t(67,`
-
-    `),v(68,16),t(69,`
-      `),m(70,i0,3,3,"th",9),t(71,`
-      `),m(72,a0,7,0,"td",10),t(73,`
-    `),D(),t(74,`
-
-    `),m(75,o0,1,0,"tr",17),t(76,`
-    `),m(77,r0,1,0,"tr",18),t(78,`
-  `),i(),t(79,`
-`),i(),t(80,`
-
-`),n(81,"div",19),t(82,`
-  `),n(83,"button",20),t(84,`
-    `),g(85,"fa-icon",21),t(86),r(87,"translate"),i(),t(88,`
-  `),n(89,"button",22),t(90),r(91,"translate"),g(92,"fa-icon",23),t(93,`
-  `),i(),t(94,`
-`),i(),t(95,`
-`)}if(l&2){let x=w(9);o(5),u(c(6,11,"labels.inputs.Charge")),o(6),d("ngForOf",p.chargeData),o(6),d("disabled",!x.value),o(3),f(`
-      `,c(21,13,"labels.buttons.Add"),`
-    `),o(4),d("dataSource",p.chargesDataSource)("hidden",p.chargesDataSource.length===0),o(51),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns),o(9),f(`
-    `,c(87,15,"labels.buttons.Previous"),`
-  `),o(3),d("disabled",!p.fixedDepositAccountFormValid),o(),f(`
-    `,c(91,17,"labels.buttons.Next"),`
-    `)}},dependencies:[_t,F,tt,Pt,E,Be,Y,Q,Mt,oe,Lt,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,O,At],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return e})();var p0=["chartsTable"];function c0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),i(),t(8,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.name"),":"),o(4),u(a.fixedDepositsAccountProductTemplate.accountChart.name)}}function l0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"dateFormat"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.End Date"),":"),o(4),u(c(8,4,a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.endDate))}}function s0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),i(),t(8,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Description"),":"),o(4),u(a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.description)}}function m0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Period")))}function d0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),le(`
-        `,a.fromPeriod,"-",a.toPeriod,"\xA0",a.periodType.value,`
-      `)}}function u0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount Range")))}function x0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),S("",a.amountRangeFrom,"-",a.amountRangeTo,"")}}function f0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function g0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),u(a.annualInterestRate)}}function _0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Description")))}function C0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),u(a.description)}}function h0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function v0(e,s){e&1&&(n(0,"span"),t(1,`
-            `),g(2,"fa-icon",27),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
-            `,c(4,1,"labels.buttons.View Incentives"),`
-          `))}function D0(e,s){e&1&&(n(0,"span"),t(1,`
-            `),g(2,"fa-icon",28),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
-            `,c(4,1,"labels.buttons.Hide Incentives"),`
-          `))}function b0(e,s){if(e&1){let a=y();n(0,"td",24),t(1,`
-        `),n(2,"button",25),b("click",function(){let p=P(a).dataIndex,x=C();return M(x.expandChartSlabIndex=x.expandChartSlabIndex===p?null:p)}),t(3,`
-          `),m(4,v0,5,3,"span",26),t(5,`
-          `),m(6,D0,5,3,"span",26),t(7,`
-        `),i(),t(8,`
-      `),i()}if(e&2){let a=s.dataIndex,l=C();o(4),d("ngIf",l.expandChartSlabIndex!==a),o(2),d("ngIf",l.expandChartSlabIndex===a)}}function S0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Entity Type")))}function P0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.entityType.value,`
-                `)}}function M0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Name")))}function T0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.attributeName.value,`
-                `)}}function A0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Condition Type")))}function y0(e,s){if(e&1&&(n(0,"td",24),t(1),r(2,"titlecase"),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,c(2,1,a.conditionType.value),`
-                `)}}function O0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Value")))}function I0(e,s){if(e&1&&(n(0,"td",41),t(1),i()),e&2){let a=s.$implicit;d("ngSwitch",a.attributeName),o(),f(`
-                  `,a.attributeValueDesc,`
-                `)}}function F0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Incentive Type")))}function E0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.incentiveType.value,`
-                `)}}function w0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function B0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.amount,`
-                `)}}function k0(e,s){e&1&&g(0,"tr",42)}function R0(e,s){e&1&&g(0,"tr",43)}function N0(e,s){if(e&1&&(n(0,"table",33),t(1,`
-              `),v(2,34),t(3,`
-                `),m(4,S0,3,3,"th",8),t(5,`
-                `),m(6,P0,2,1,"td",9),t(7,`
-              `),D(),t(8,`
-
-              `),v(9,35),t(10,`
-                `),m(11,M0,3,3,"th",8),t(12,`
-                `),m(13,T0,2,1,"td",9),t(14,`
-              `),D(),t(15,`
-
-              `),v(16,36),t(17,`
-                `),m(18,A0,3,3,"th",8),t(19,`
-                `),m(20,y0,3,3,"td",9),t(21,`
-              `),D(),t(22,`
-
-              `),v(23,37),t(24,`
-                `),m(25,O0,3,3,"th",8),t(26,`
-                `),m(27,I0,2,2,"td",38),t(28,`
-              `),D(),t(29,`
-
-              `),v(30,39),t(31,`
-                `),m(32,F0,3,3,"th",8),t(33,`
-                `),m(34,E0,2,1,"td",9),t(35,`
-              `),D(),t(36,`
-
-              `),v(37,40),t(38,`
-                `),m(39,w0,3,3,"th",8),t(40,`
-                `),m(41,B0,2,1,"td",9),t(42,`
-              `),D(),t(43,`
-
-              `),m(44,k0,1,0,"tr",15),t(45,`
-              `),m(46,R0,1,0,"tr",16),t(47,`
-            `),i()),e&2){let a=C().$implicit,l=C();d("dataSource",a.incentives),o(44),d("matHeaderRowDef",l.incentivesDisplayedColumns),o(2),d("matRowDefColumns",l.incentivesDisplayedColumns)}}function V0(e,s){if(e&1&&(n(0,"td",24),t(1,`
-        `),n(2,"div",29),t(3,`
-          `),n(4,"mat-card",30),t(5,`
-            `),n(6,"h4",31),t(7),r(8,"translate"),i(),t(9,`
-
-            `),m(10,N0,48,3,"table",32),t(11,`
-          `),i(),t(12,`
-        `),i(),t(13,`
-      `),i()),e&2){let a=s.$implicit,l=s.dataIndex,p=C();Ae("colspan",p.chartSlabsDisplayedColumns.length),o(2),d("@expandChartSlab",l===p.expandChartSlabIndex?"expanded":"collapsed"),o(5),f(`
-              `,c(8,4,"labels.heading.Incentives"),`
-            `),o(3),d("ngIf",a.incentives.length)}}function q0(e,s){e&1&&g(0,"tr",42)}function j0(e,s){e&1&&g(0,"tr",43)}function z0(e,s){e&1&&g(0,"tr",44)}var on=(()=>{class e{constructor(){this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"]}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.interestRateChartData=this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs,this.chartsTableRef.renderRows())}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-interest-rate-chart-step"]],viewQuery:function(l,p){if(l&1&&xt(p0,7),l&2){let x;ft(x=gt())&&(p.chartsTableRef=x.first)}},inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[Zt],decls:95,vars:23,consts:[["chartsTable",""],[1,"layout-column","gap-2px"],["class","flex-fill",4,"ngIf"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"incentives","layout-row-wrap","flex-fill"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
-  `),m(2,c0,9,4,"div",2),t(3,`
-
-  `),n(4,"div",3),t(5,`
-    `),n(6,"span",4),t(7),r(8,"translate"),i(),t(9,`
-    `),n(10,"span",5),t(11),r(12,"dateFormat"),i(),t(13,`
-  `),i(),t(14,`
-
-  `),m(15,l0,10,6,"div",2),t(16,`
-
-  `),m(17,s0,9,4,"div",2),t(18,`
-
-  `),n(19,"div",3),t(20,`
-    `),n(21,"span",4),t(22),r(23,"translate"),i(),t(24,`
-    `),n(25,"span",5),t(26),i(),t(27,`
-  `),i(),t(28,`
-
-  `),n(29,"table",6,0),t(31,`
-    `),v(32,7),t(33,`
-      `),m(34,m0,3,3,"th",8),t(35,`
-      `),m(36,d0,2,3,"td",9),t(37,`
-    `),D(),t(38,`
-
-    `),v(39,10),t(40,`
-      `),m(41,u0,3,3,"th",8),t(42,`
-      `),m(43,x0,2,2,"td",9),t(44,`
-    `),D(),t(45,`
-
-    `),v(46,11),t(47,`
-      `),m(48,f0,3,3,"th",8),t(49,`
-      `),m(50,g0,2,1,"td",9),t(51,`
-    `),D(),t(52,`
-
-    `),v(53,12),t(54,`
-      `),m(55,_0,3,3,"th",8),t(56,`
-      `),m(57,C0,2,1,"td",9),t(58,`
-    `),D(),t(59,`
-
-    `),v(60,13),t(61,`
-      `),m(62,h0,3,3,"th",8),t(63,`
-      `),m(64,b0,9,2,"td",9),t(65,`
-    `),D(),t(66,`
-
-    `),v(67,14),t(68,`
-      `),m(69,V0,14,6,"td",9),t(70,`
-    `),D(),t(71,`
-
-    `),m(72,q0,1,0,"tr",15),t(73,`
-    `),m(74,j0,1,0,"tr",16),t(75,`
-    `),m(76,z0,1,0,"tr",17),t(77,`
-  `),i(),t(78,`
-`),i(),t(79,`
-
-`),n(80,"div",18),t(81,`
-  `),n(82,"button",19),t(83,`
-    `),g(84,"fa-icon",20),t(85),r(86,"translate"),i(),t(87,`
-  `),n(88,"button",21),t(89),r(90,"translate"),g(91,"fa-icon",22),t(92,`
-  `),i(),t(93,`
-`),i(),t(94,`
-`)),l&2&&(o(2),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.name),o(5),f("",c(8,13,"labels.inputs.Valid from Date"),":"),o(4),u(c(12,15,p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.fromDate)),o(4),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.endDate),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.description),o(5),f("",c(23,17,"labels.inputs.Primary Grouping by Amount"),":"),o(4),u(p.fixedDepositsAccountProductTemplate!=null&&p.fixedDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount?"Yes":"No"),o(3),d("dataSource",p.interestRateChartData),o(43),d("matHeaderRowDef",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsIncentivesDisplayedColumns),o(9),f(`
-    `,c(86,19,"labels.buttons.Previous"),`
-  `),o(4),f(`
-    `,c(90,21,"labels.buttons.Next"),`
-    `))},dependencies:[F,Oe,tt,E,$,oe,Lt,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,Ie,O,At],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:2em}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]{height:0}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .incentives[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[Fe("expandChartSlab",[ce("collapsed",pe({height:"0px",minHeight:"0"})),ce("expanded",pe({height:"*"})),we("expanded <=> collapsed",Ee("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})();var $0=()=>["../.."],H0=()=>[2e3];function U0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),i(),t(8,`
-  `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.External Id")),o(4),u(a.fixedDepositAccountData.externalId)}}function G0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"find"),r(9,"translateKey"),i(),t(10,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,3,"labels.inputs.Lock-in Period"),":"),o(4),S("",a.fixedDepositAccountData.lockinPeriodFrequency,`
-      `,I(9,10,J(8,5,a.fixedDepositAccountData.lockinPeriodFrequencyType,a.fixedDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,"id","value"),"catalogs"),"")}}function L0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"translateKey"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,3,"labels.inputs.Minimum Deposit Term"),":"),o(4),S("",a.fixedDepositsAccountProductTemplate.minDepositTerm,`
-      `,I(8,5,a.fixedDepositsAccountProductTemplate.minDepositTermType==null?null:a.fixedDepositsAccountProductTemplate.minDepositTermType.value,"catalogs"),"")}}function W0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"translateKey"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,3,"labels.inputs.In Multiples Of"),":"),o(4),S("",a.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm,`
-      `,I(8,5,a.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType==null?null:a.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType.value,"catalogs"),"")}}function K0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"translateKey"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Maximum Deposit Term")),o(4),S("",a.fixedDepositsAccountProductTemplate.maxDepositTerm,`
-      `,I(8,5,a.fixedDepositsAccountProductTemplate.maxDepositTermType==null?null:a.fixedDepositsAccountProductTemplate.maxDepositTermType.value,"catalogs"),"")}}function Q0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"find"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Linked Savings Account")),o(4),u(J(8,4,a.fixedDepositAccountData.linkAccountId,a.fixedDepositsAccountProductTemplate.savingsAccounts,"id","accountNo"))}}function Y0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"find"),r(9,"translateKey"),i(),t(10,`
-  `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Maturity Instructions")),o(4),u(I(9,9,J(8,4,a.fixedDepositAccountData.maturityInstructionId,a.fixedDepositsAccountProductTemplate.maturityInstructionOptions,"id","value"),"catalogs"))}}function J0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),i(),t(8,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Penal Interest")," (%):"),o(4),u(a.fixedDepositsAccountProductTemplate.preClosurePenalInterest+"% ("+(a.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType==null?null:a.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType.id)+")")}}function X0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"yesNo"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Withhold Tax is Applicable"),":"),o(4),u(c(8,4,a.fixedDepositAccountData.withHoldTax))}}function Z0(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),i(),t(8,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.name"),":"),o(4),u(a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.name)}}function tc(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),r(8,"dateFormat"),i(),t(9,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.End Date"),":"),o(4),u(c(8,4,a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.endDate))}}function ec(e,s){if(e&1&&(n(0,"div",3),t(1,`
-    `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
-    `),n(6,"span",5),t(7),i(),t(8,`
-  `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Description"),":"),o(4),u(a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.description)}}function nc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Period")))}function ic(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),le(`
-        `,a.fromPeriod," - ",a.toPeriod,"\xA0",I(2,3,a.periodType.value,"catalogs"),`
-      `)}}function ac(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount Range")))}function oc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"formatNumber"),r(3,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
-        `,c(2,2,a.amountRangeFrom)," - ",c(3,4,a.amountRangeTo),`
-      `)}}function rc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function pc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f("",c(2,1,a.annualInterestRate)," %")}}function cc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Description")))}function lc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),u(a.description)}}function sc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function mc(e,s){e&1&&(n(0,"span"),t(1,`
-            `),g(2,"fa-icon",29),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
-            `,c(4,1,"labels.buttons.View Incentives"),`
-          `))}function dc(e,s){e&1&&(n(0,"span"),t(1,`
-            `),g(2,"fa-icon",30),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
-            `,c(4,1,"labels.buttons.Hide Incentives"),`
-          `))}function uc(e,s){if(e&1){let a=y();n(0,"td",26),t(1,`
-        `),n(2,"button",27),b("click",function(){let p=P(a).dataIndex,x=C();return M(x.expandChartSlabIndex=x.expandChartSlabIndex===p?null:p)}),t(3,`
-          `),m(4,mc,5,3,"span",28),t(5,`
-          `),m(6,dc,5,3,"span",28),t(7,`
-        `),i(),t(8,`
-      `),i()}if(e&2){let a=s.dataIndex,l=C();o(4),d("ngIf",l.expandChartSlabIndex!==a),o(2),d("ngIf",l.expandChartSlabIndex===a)}}function xc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Entity Type")))}function fc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.entityType.value,`
-                `)}}function gc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Name")))}function _c(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.attributeName.value,`
-                `)}}function Cc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Condition Type")))}function hc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"titlecase"),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,c(2,1,a.conditionType.value),`
-                `)}}function vc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Value")))}function Dc(e,s){if(e&1&&(n(0,"td",43),t(1),i()),e&2){let a=s.$implicit;d("ngSwitch",a.attributeName),o(),f(`
-                  `,a.attributeValueDesc,`
-                `)}}function bc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Incentive Type")))}function Sc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,a.incentiveType.value,`
-                `)}}function Pc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function Mc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f(`
-                  `,c(2,1,a.amount),`
-                `)}}function Tc(e,s){e&1&&g(0,"tr",44)}function Ac(e,s){e&1&&g(0,"tr",45)}function yc(e,s){if(e&1&&(n(0,"table",35),t(1,`
-              `),v(2,36),t(3,`
-                `),m(4,xc,3,3,"th",9),t(5,`
-                `),m(6,fc,2,1,"td",10),t(7,`
-              `),D(),t(8,`
-
-              `),v(9,37),t(10,`
-                `),m(11,gc,3,3,"th",9),t(12,`
-                `),m(13,_c,2,1,"td",10),t(14,`
-              `),D(),t(15,`
-
-              `),v(16,38),t(17,`
-                `),m(18,Cc,3,3,"th",9),t(19,`
-                `),m(20,hc,3,3,"td",10),t(21,`
-              `),D(),t(22,`
-
-              `),v(23,39),t(24,`
-                `),m(25,vc,3,3,"th",9),t(26,`
-                `),m(27,Dc,2,2,"td",40),t(28,`
-              `),D(),t(29,`
-
-              `),v(30,41),t(31,`
-                `),m(32,bc,3,3,"th",9),t(33,`
-                `),m(34,Sc,2,1,"td",10),t(35,`
-              `),D(),t(36,`
-
-              `),v(37,42),t(38,`
-                `),m(39,Pc,3,3,"th",9),t(40,`
-                `),m(41,Mc,3,3,"td",10),t(42,`
-              `),D(),t(43,`
-
-              `),m(44,Tc,1,0,"tr",16),t(45,`
-              `),m(46,Ac,1,0,"tr",17),t(47,`
-            `),i()),e&2){let a=C().$implicit,l=C();d("dataSource",a.incentives),o(44),d("matHeaderRowDef",l.incentivesDisplayedColumns),o(2),d("matRowDefColumns",l.incentivesDisplayedColumns)}}function Oc(e,s){if(e&1&&(n(0,"td",26),t(1,`
-        `),n(2,"div",31),t(3,`
-          `),n(4,"mat-card",32),t(5,`
-            `),n(6,"h4",33),t(7),r(8,"translate"),i(),t(9,`
-
-            `),m(10,yc,48,3,"table",34),t(11,`
-          `),i(),t(12,`
-        `),i(),t(13,`
-      `),i()),e&2){let a=s.$implicit,l=s.dataIndex,p=C();Ae("colspan",p.chartSlabsDisplayedColumns.length),o(2),d("@expandChartSlab",l===p.expandChartSlabIndex?"expanded":"collapsed"),o(5),f(`
-              `,c(8,4,"labels.heading.Incentives"),`
-            `),o(3),d("ngIf",a.incentives.length)}}function Ic(e,s){e&1&&g(0,"tr",44)}function Fc(e,s){e&1&&g(0,"tr",45)}function Ec(e,s){e&1&&g(0,"tr",46)}function wc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.name")))}function Bc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.name+", "+a.currency.displaySymbol,`
-        `)}}function kc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Type")))}function Rc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.chargeCalculationType.value,`
-        `)}}function Nc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount")))}function Vc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.amount,`
-        `)}}function qc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Date")))}function jc(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
-            `,c(2,1,a.dueDate)||"Unassigned",`
-          `)}}function zc(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
-            `,a.feeOnMonthDay?I(2,1,B(4,H0).concat(a.feeOnMonthDay),"dd MMMM"):"Unassigned",`
-          `)}}function $c(e,s){e&1&&(n(0,"span"),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
-            `,c(2,1,"labels.inputs.N/A"),`
-          `))}function Hc(e,s){if(e&1&&(n(0,"td",26),t(1,`
-          `),m(2,jc,3,3,"span",28),t(3,`
-          `),m(4,zc,3,5,"span",28),t(5,`
-          `),m(6,$c,3,3,"span",28),t(7,`
-        `),i()),e&2){let a=s.$implicit;o(2),d("ngIf",a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee"),o(2),d("ngIf",a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"),o(2),d("ngIf",!(a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee"))}}function Uc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Repayments Every")))}function Gc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.feeInterval||"Not Provided",`
-        `)}}function Lc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Collected On")))}function Wc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
-          `,a.chargeTimeType.value,`
-        `)}}function Kc(e,s){e&1&&g(0,"tr",44)}function Qc(e,s){e&1&&g(0,"tr",45)}function Yc(e,s){if(e&1&&(n(0,"div",47),t(1,`
-    `),n(2,"h3",1),t(3),r(4,"translate"),i(),t(5,`
-
-    `),g(6,"mat-divider",2),t(7,`
-    `),n(8,"table",35),t(9,`
-      `),v(10,48),t(11,`
-        `),m(12,wc,3,3,"th",9),t(13,`
-        `),m(14,Bc,2,1,"td",10),t(15,`
-      `),D(),t(16,`
-
-      `),v(17,49),t(18,`
-        `),m(19,kc,3,3,"th",9),t(20,`
-        `),m(21,Rc,2,1,"td",10),t(22,`
-      `),D(),t(23,`
-
-      `),v(24,42),t(25,`
-        `),m(26,Nc,3,3,"th",9),t(27,`
-        `),m(28,Vc,2,1,"td",10),t(29,`
-      `),D(),t(30,`
-
-      `),v(31,50),t(32,`
-        `),m(33,qc,3,3,"th",9),t(34,`
-        `),m(35,Hc,8,3,"td",10),t(36,`
-      `),D(),t(37,`
-
-      `),v(38,51),t(39,`
-        `),m(40,Uc,3,3,"th",9),t(41,`
-        `),m(42,Gc,2,1,"td",10),t(43,`
-      `),D(),t(44,`
-
-      `),v(45,52),t(46,`
-        `),m(47,Lc,3,3,"th",9),t(48,`
-        `),m(49,Wc,2,1,"td",10),t(50,`
-      `),D(),t(51,`
-
-      `),m(52,Kc,1,0,"tr",16),t(53,`
-      `),m(54,Qc,1,0,"tr",17),t(55,`
-    `),i(),t(56,`
-  `),i()),e&2){let a=C();o(3),u(c(4,4,"labels.heading.Charges")),o(5),d("dataSource",a.fixedDepositAccountData.charges),o(44),d("matHeaderRowDef",a.chargesDisplayedColumns),o(2),d("matRowDefColumns",a.chargesDisplayedColumns)}}var rn=(()=>{class e{constructor(){this.chargesDisplayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery"],this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.submitEvent=new Ue}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.interestRateChartData=this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs)}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-preview-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate",fixedDepositAccountData:"fixedDepositAccountData"},outputs:{submitEvent:"submitEvent"},features:[Zt],decls:304,vars:176,consts:[[1,"layout-row-wrap","responsive-column"],[1,"mat-h3","flex-100"],[1,"flex-100"],[1,"layout-row","flex-100"],[1,"flex-40"],[1,"flex-60"],["class","layout-row flex-100",4,"ngIf"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1","irc-table",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["class","layout-row-wrap responsive-column flex-100",4,"ngIf"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-100","incentives"],[1,"layout-row-wrap","flex-100"],[1,"m-b-10","flex-13"],["class","flex-100 mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-100","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"],[1,"layout-row-wrap","responsive-column","flex-100"],["matColumnDef","name"],["matColumnDef","chargeCalculationType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","chargeTimeType"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
-  `),n(2,"h3",1),t(3),r(4,"translate"),i(),t(5,`
-
-  `),g(6,"mat-divider",2),t(7,`
-  `),n(8,"div",3),t(9,`
-    `),n(10,"span",4),t(11),r(12,"translate"),i(),t(13,`
-    `),n(14,"span",5),t(15),r(16,"find"),i(),t(17,`
-  `),i(),t(18,`
-
-  `),n(19,"div",3),t(20,`
-    `),n(21,"span",4),t(22),r(23,"translate"),i(),t(24,`
-    `),n(25,"span",5),t(26),r(27,"dateFormat"),i(),t(28,`
-  `),i(),t(29,`
-
-  `),m(30,U0,9,4,"div",6),t(31,`
-
-  `),n(32,"div",3),t(33,`
-    `),n(34,"span",4),t(35),r(36,"translate"),i(),t(37,`
-    `),n(38,"span",5),t(39),r(40,"find"),r(41,"translateKey"),i(),t(42,`
-  `),i(),t(43,`
-
-  `),n(44,"h3",1),t(45),r(46,"translate"),i(),t(47,`
-
-  `),g(48,"mat-divider",2),t(49,`
-  `),n(50,"div",3),t(51,`
-    `),n(52,"span",4),t(53),r(54,"translate"),i(),t(55,`
-    `),n(56,"span",5),t(57),i(),t(58,`
-  `),i(),t(59,`
-
-  `),n(60,"div",3),t(61,`
-    `),n(62,"span",4),t(63),r(64,"translate"),i(),t(65,`
-    `),n(66,"span",5),t(67),i(),t(68,`
-  `),i(),t(69,`
-
-  `),n(70,"div",3),t(71,`
-    `),n(72,"span",4),t(73),r(74,"translate"),i(),t(75,`
-    `),n(76,"span",5),t(77),i(),t(78,`
-  `),i(),t(79,`
-
-  `),n(80,"h3",1),t(81),r(82,"translate"),i(),t(83,`
-
-  `),g(84,"mat-divider",2),t(85,`
-  `),n(86,"div",3),t(87,`
-    `),n(88,"span",4),t(89),r(90,"translate"),i(),t(91,`
-    `),n(92,"span",5),t(93),r(94,"currency"),i(),t(95,`
-  `),i(),t(96,`
-
-  `),n(97,"div",3),t(98,`
-    `),n(99,"span",4),t(100),r(101,"translate"),i(),t(102,`
-    `),n(103,"span",5),t(104),r(105,"find"),r(106,"translateKey"),i(),t(107,`
-  `),i(),t(108,`
-
-  `),n(109,"div",3),t(110,`
-    `),n(111,"span",4),t(112),r(113,"translate"),i(),t(114,`
-    `),n(115,"span",5),t(116),r(117,"find"),r(118,"translateKey"),i(),t(119,`
-  `),i(),t(120,`
-
-  `),n(121,"div",3),t(122,`
-    `),n(123,"span",4),t(124),r(125,"translate"),i(),t(126,`
-    `),n(127,"span",5),t(128),r(129,"find"),r(130,"translateKey"),i(),t(131,`
-  `),i(),t(132,`
-
-  `),n(133,"div",3),t(134,`
-    `),n(135,"span",4),t(136),r(137,"translate"),i(),t(138,`
-    `),n(139,"span",5),t(140),r(141,"find"),r(142,"translateKey"),i(),t(143,`
-  `),i(),t(144,`
-
-  `),n(145,"div",3),t(146,`
-    `),n(147,"span",4),t(148),r(149,"translate"),i(),t(150,`
-    `),n(151,"span",5),t(152),r(153,"find"),r(154,"translateKey"),i(),t(155,`
-  `),i(),t(156,`
-
-  `),n(157,"h3",1),t(158),r(159,"translate"),i(),t(160,`
-
-  `),g(161,"mat-divider",2),t(162,`
-  `),m(163,G0,11,13,"div",6),t(164,`
-
-  `),m(165,L0,10,8,"div",6),t(166,`
-
-  `),m(167,W0,10,8,"div",6),t(168,`
-
-  `),m(169,K0,10,8,"div",6),t(170,`
-
-  `),n(171,"div",3),t(172,`
-    `),n(173,"span",4),t(174),r(175,"translate"),i(),t(176,`
-    `),n(177,"span",5),t(178),r(179,"yesNo"),i(),t(180,`
-  `),i(),t(181,`
-
-  `),m(182,Q0,10,9,"div",6),t(183,`
-
-  `),m(184,Y0,11,12,"div",6),t(185,`
-
-  `),n(186,"div",3),t(187,`
-    `),n(188,"span",4),t(189),r(190,"translate"),i(),t(191,`
-    `),n(192,"span",5),t(193),r(194,"yesNo"),i(),t(195,`
-  `),i(),t(196,`
-
-  `),m(197,J0,9,4,"div",6),t(198,`
-
-  `),m(199,X0,10,6,"div",6),t(200,`
-
-  `),n(201,"h3",1),t(202),r(203,"translate"),i(),t(204,`
-
-  `),g(205,"mat-divider",2),t(206,`
-  `),m(207,Z0,9,4,"div",6),t(208,`
-
-  `),n(209,"div",3),t(210,`
-    `),n(211,"span",4),t(212),r(213,"translate"),i(),t(214,`
-    `),n(215,"span",5),t(216),r(217,"dateFormat"),i(),t(218,`
-  `),i(),t(219,`
-
-  `),m(220,tc,10,6,"div",6),t(221,`
-
-  `),m(222,ec,9,4,"div",6),t(223,`
-
-  `),n(224,"div",3),t(225,`
-    `),n(226,"span",4),t(227),r(228,"translate"),i(),t(229,`
-    `),n(230,"span",5),t(231),r(232,"yesNo"),i(),t(233,`
-  `),i(),t(234,`
-
-  `),n(235,"table",7),t(236,`
-    `),v(237,8),t(238,`
-      `),m(239,nc,3,3,"th",9),t(240,`
-      `),m(241,ic,3,6,"td",10),t(242,`
-    `),D(),t(243,`
-
-    `),v(244,11),t(245,`
-      `),m(246,ac,3,3,"th",9),t(247,`
-      `),m(248,oc,4,6,"td",10),t(249,`
-    `),D(),t(250,`
-
-    `),v(251,12),t(252,`
-      `),m(253,rc,3,3,"th",9),t(254,`
-      `),m(255,pc,3,3,"td",10),t(256,`
-    `),D(),t(257,`
-
-    `),v(258,13),t(259,`
-      `),m(260,cc,3,3,"th",9),t(261,`
-      `),m(262,lc,2,1,"td",10),t(263,`
-    `),D(),t(264,`
-
-    `),v(265,14),t(266,`
-      `),m(267,sc,3,3,"th",9),t(268,`
-      `),m(269,uc,9,2,"td",10),t(270,`
-    `),D(),t(271,`
-
-    `),v(272,15),t(273,`
-      `),m(274,Oc,14,6,"td",10),t(275,`
-    `),D(),t(276,`
-
-    `),m(277,Ic,1,0,"tr",16),t(278,`
-    `),m(279,Fc,1,0,"tr",17),t(280,`
-    `),m(281,Ec,1,0,"tr",18),t(282,`
-  `),i(),t(283,`
-
-  `),m(284,Yc,57,6,"div",19),t(285,`
-`),i(),t(286,`
-
-`),n(287,"div",20),t(288,`
-  `),n(289,"button",21),t(290,`
-    `),g(291,"fa-icon",22),t(292),r(293,"translate"),i(),t(294,`
-  `),n(295,"button",23),t(296),r(297,"translate"),i(),t(298,`
-  `),n(299,"button",24),b("click",function(){return p.submitEvent.emit()}),t(300),r(301,"translate"),i(),t(302,`
-`),i(),t(303,`
-`)),l&2&&(o(3),u(c(4,59,"labels.heading.Details")),o(8),u(c(12,61,"labels.inputs.Product")),o(4),u(J(16,63,p.fixedDepositAccountData.productId,p.fixedDepositsAccountTemplate.productOptions,"id","name")),o(7),u(c(23,68,"labels.inputs.Submitted On")),o(4),u(c(27,70,p.fixedDepositAccountData.submittedOnDate)),o(4),d("ngIf",p.fixedDepositAccountData.externalId),o(5),u(c(36,72,"labels.inputs.Field Officer")),o(4),u(I(41,79,J(40,74,p.fixedDepositAccountData.fieldOfficerId,p.fixedDepositsAccountProductTemplate.fieldOfficerOptions,"id","displayName")||"Unassigned","inputs")),o(6),u(c(46,82,"labels.heading.Currency")),o(8),u(c(54,84,"labels.inputs.Currency")),o(4),u(p.fixedDepositsAccountProductTemplate.currency.code),o(6),u(c(64,86,"labels.inputs.Currency Multiple")),o(4),u(p.fixedDepositsAccountProductTemplate.currency.inMultiplesOf),o(6),u(c(74,88,"labels.inputs.Decimal Places")),o(4),u(p.fixedDepositsAccountProductTemplate.currency.decimalPlaces),o(4),u(c(82,90,"labels.heading.Terms")),o(8),f("",c(90,92,"labels.inputs.Fixed Deposit Amount"),":"),o(4),u(J(94,94,p.fixedDepositAccountData.depositAmount,p.fixedDepositsAccountProductTemplate.currency.code,"symbol-narrow","1.2-2")),o(7),f("",c(101,99,"labels.inputs.Deposit Period"),":"),o(4),S("",p.fixedDepositAccountData.depositPeriod,`
-      `,I(106,106,J(105,101,p.fixedDepositAccountData.depositPeriodFrequencyId,p.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,"id","value"),"catalogs"),""),o(8),f("",c(113,109,"labels.inputs.Interest Compounding Period"),":"),o(4),u(I(118,116,J(117,111,p.fixedDepositAccountData.interestCompoundingPeriodType,p.fixedDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,"id","value"),"catalogs")),o(8),f("",c(125,119,"labels.inputs.Interest Posting Period"),":"),o(4),u(I(130,126,J(129,121,p.fixedDepositAccountData.interestPostingPeriodType,p.fixedDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,"id","value"),"catalogs")),o(8),f("",c(137,129,"labels.inputs.Interest Calculated using"),":"),o(4),u(I(142,136,J(141,131,p.fixedDepositAccountData.interestCalculationType,p.fixedDepositsAccountProductTemplate.interestCalculationTypeOptions,"id","value"),"catalogs")),o(8),f("",c(149,139,"labels.inputs.Days in Year"),":"),o(4),u(I(154,146,J(153,141,p.fixedDepositAccountData.interestCalculationDaysInYearType,p.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,"id","value"),"catalogs")),o(6),u(c(159,149,"labels.heading.Settings")),o(5),d("ngIf",p.fixedDepositAccountData.lockinPeriodFrequency),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.minDepositTerm),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.maxDepositTerm),o(5),f("",c(175,151,"labels.inputs.Transfer Interest to Savings Account"),"?"),o(4),u(c(179,153,p.fixedDepositAccountData.transferInterestToSavings)),o(4),d("ngIf",p.fixedDepositAccountData.transferInterestToSavings),o(2),d("ngIf",p.fixedDepositAccountData.maturityInstructionId),o(5),f("",c(190,155,"labels.inputs.Apply Penal Interest (less)"),":"),o(4),u(c(194,157,p.fixedDepositsAccountProductTemplate.preClosurePenalApplicable)),o(4),d("ngIf",p.fixedDepositsAccountProductTemplate.preClosurePenalApplicable),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.withHoldTax),o(3),u(c(203,159,"labels.heading.Interest Rate Chart")),o(5),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.name),o(5),f("",c(213,161,"labels.inputs.Valid from Date"),":"),o(4),u(c(217,163,p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.fromDate)),o(4),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.endDate),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.description),o(5),f("",c(228,165,"labels.inputs.Primary Grouping by Amount"),":"),o(4),u(c(232,167,p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount)),o(4),d("dataSource",p.interestRateChartData),o(42),d("matHeaderRowDef",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsIncentivesDisplayedColumns),o(3),d("ngIf",p.fixedDepositAccountData.charges.length),o(8),f(`
-    `,c(293,169,"labels.buttons.Previous"),`
-  `),o(3),d("routerLink",B(175,$0)),o(),f(`
-    `,c(297,171,"labels.buttons.Cancel"),`
-  `),o(4),f(`
-    `,c(301,173,"labels.buttons.Submit"),`
-  `))},dependencies:[F,Oe,tt,E,$,Ne,Lt,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,L,Ie,se,O,Rn,At,ue,Vn,Tt],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-b[_ngcontent-%COMP%]{margin-bottom:.25em}.irc-table[_ngcontent-%COMP%]{width:100%}.irc-table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]{height:0}.irc-table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.irc-table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .incentives[_ngcontent-%COMP%]{overflow:hidden}.irc-table[_ngcontent-%COMP%]   tr.incentives-row[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[Fe("expandChartSlab",[ce("collapsed",pe({height:"0px",minHeight:"0"})),ce("expanded",pe({height:"*"})),we("expanded <=> collapsed",Ee("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})();function Jc(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",14),t(2,`
-    `))}function Xc(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",14),t(2,`
-    `))}function Zc(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",15),t(2,`
-    `))}function tl(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",16),t(2,`
-    `))}function el(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",17),t(2,`
-    `))}function nl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.DETAILS"))}function il(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.TERMS"))}function al(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.SETTINGS"))}function ol(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.INTEREST RATE CHART"))}function rl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.CHARGES"))}function pl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.PREVIEW"))}function cl(e,s){if(e&1){let a=y();n(0,"mat-step",18),t(1,`
-      `),m(2,pl,2,3,"ng-template",9),t(3,`
-
-      `),n(4,"mifosx-fixed-deposit-account-preview-step",19),b("submitEvent",function(){P(a);let p=C();return M(p.submit())}),t(5,`
-      `),i(),t(6,`
-    `),i()}if(e&2){let a=C();o(4),d("fixedDepositsAccountTemplate",a.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",a.fixedDepositsAccountProductTemplate)("fixedDepositAccountData",a.fixedDepositAccount)}}var Di=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.router=l,this.dateUtils=p,this.fixedDepositsService=x,this.settingsService=h,this.route.data.subscribe(T=>{this.fixedDepositsAccountTemplate=T.fixedDepositsAccountTemplate})}setTemplate(a){this.fixedDepositsAccountProductTemplate=a}get fixedDepositAccountDetailsForm(){return this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetailsForm}get fixedDepositAccountTermsForm(){return this.fixedDepositAccountTermsStep.fixedDepositAccountTermsForm}get fixedDepositAccountSettingsForm(){return this.fixedDepositAccountSettingsStep.fixedDepositAccountSettingsForm}get fixedDepositAccountFormValid(){return this.fixedDepositAccountDetailsForm.valid&&this.fixedDepositAccountTermsForm.valid&&this.fixedDepositAccountSettingsForm.valid}get fixedDepositAccount(){return V(V(V(V({},this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetails),this.fixedDepositAccountTermsStep.fixedDepositAccountTerms),this.fixedDepositAccountSettingsStep.fixedDepositAccountSettings),this.fixedDepositAccountChargesStep.fixedDepositAccountCharges)}submit(){let a=this.settingsService.language.code,l=this.settingsService.dateFormat,p="dd MMMM",x=U(V({},this.fixedDepositAccount),{clientId:this.fixedDepositsAccountTemplate.clientId,charges:this.fixedDepositAccount.charges.map(h=>({chargeId:h.id,amount:h.amount,dueDate:h.dueDate&&this.dateUtils.formatDate(h.dueDate,l),feeOnMonthDay:h.feeOnMonthDay&&this.dateUtils.formatDate([2e3].concat(h.feeOnMonthDay),p),feeInterval:h.feeInterval})),submittedOnDate:this.dateUtils.formatDate(this.fixedDepositAccount.submittedOnDate,l),charts:[{chartSlabs:this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs}],dateFormat:l,monthDayFormat:p,locale:a});this.fixedDepositsService.createFixedDepositAccount(x).subscribe(h=>{this.router.navigate(["../",h.resourceId],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(W),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-create-fixed-deposit-account"]],viewQuery:function(l,p){if(l&1&&(xt(ge,7),xt(_e,7),xt(Ce,7),xt(he,7)),l&2){let x;ft(x=gt())&&(p.fixedDepositsAccountDetailsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountTermsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountSettingsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountChargesStep=x.first)}},decls:59,vars:14,consts:[["fixedDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"fixedDepositsAccountProductTemplate","fixedDepositsAccountTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountData"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-horizontal-stepper",2,0),t(4,`
-    `),m(5,Jc,3,0,"ng-template",3),t(6,`
-
-    `),m(7,Xc,3,0,"ng-template",4),t(8,`
-
-    `),m(9,Zc,3,0,"ng-template",5),t(10,`
-
-    `),m(11,tl,3,0,"ng-template",6),t(12,`
-
-    `),m(13,el,3,0,"ng-template",7),t(14,`
-
-    `),n(15,"mat-step",8),t(16,`
-      `),m(17,nl,2,3,"ng-template",9),t(18,`
-
-      `),n(19,"mifosx-fixed-deposit-account-details-step",10),b("fixedDepositsAccountProductTemplate",function(T){return P(x),M(p.setTemplate(T))}),t(20,`
-      `),i(),t(21,`
-    `),i(),t(22,`
-
-    `),n(23,"mat-step",8),t(24,`
-      `),m(25,il,2,3,"ng-template",9),t(26,`
-
-      `),n(27,"mifosx-fixed-deposit-account-terms-step",11),t(28,`
-      `),i(),t(29,`
-    `),i(),t(30,`
-
-    `),n(31,"mat-step",8),t(32,`
-      `),m(33,al,2,3,"ng-template",9),t(34,`
-
-      `),n(35,"mifosx-fixed-deposit-account-settings-step",11),t(36,`
-      `),i(),t(37,`
-    `),i(),t(38,`
-
-    `),n(39,"mat-step"),t(40,`
-      `),m(41,ol,2,3,"ng-template",9),t(42,`
-
-      `),n(43,"mifosx-fixed-deposit-account-interest-rate-chart-step",11),t(44,`
-      `),i(),t(45,`
-    `),i(),t(46,`
-
-    `),n(47,"mat-step"),t(48,`
-      `),m(49,rl,2,3,"ng-template",9),t(50,`
-
-      `),n(51,"mifosx-fixed-deposit-account-charges-step",12),t(52,`
-      `),i(),t(53,`
-    `),i(),t(54,`
-
-    `),m(55,cl,7,3,"mat-step",13),t(56,`
-  `),i(),t(57,`
-`),i(),t(58,`
-`)}l&2&&(o(15),d("stepControl",p.fixedDepositAccountDetailsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate),o(4),d("stepControl",p.fixedDepositAccountTermsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(4),d("stepControl",p.fixedDepositAccountSettingsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate)("fixedDepositAccountFormValid",p.fixedDepositAccountFormValid),o(4),d("ngIf",p.fixedDepositAccountFormValid))},dependencies:[F,tt,Ze,Je,tn,Xe,ge,_e,he,Ce,on,rn,O]})}}return e})();function ll(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",14),t(2,`
-    `))}function sl(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",14),t(2,`
-    `))}function ml(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",15),t(2,`
-    `))}function dl(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",16),t(2,`
-    `))}function ul(e,s){e&1&&(t(0,`
-      `),g(1,"fa-icon",17),t(2,`
-    `))}function xl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.DETAILS"))}function fl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.TERMS"))}function gl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.SETTINGS"))}function _l(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.INTEREST RATE CHART"))}function Cl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.CHARGES"))}function hl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.PREVIEW"))}function vl(e,s){if(e&1){let a=y();n(0,"mat-step",18),t(1,`
-      `),m(2,hl,2,3,"ng-template",9),t(3,`
-
-      `),n(4,"mifosx-fixed-deposit-account-preview-step",19),b("submitEvent",function(){P(a);let p=C();return M(p.submit())}),t(5,`
-      `),i(),t(6,`
-    `),i()}if(e&2){let a=C();o(4),d("fixedDepositsAccountTemplate",a.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",a.fixedDepositsAccountProductTemplate)("fixedDepositAccountData",a.fixedDepositAccount)}}var bi=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.router=l,this.dateUtils=p,this.fixedDepositsService=x,this.settingsService=h,this.route.data.subscribe(T=>{this.fixedDepositsAccountAndTemplate=T.fixedDepositsAccountAndTemplate})}setTemplate(a){this.fixedDepositsAccountProductTemplate=a,this.currency=this.fixedDepositsAccountAndTemplate.currency}get fixedDepositAccountDetailsForm(){return this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetailsForm}get fixedDepositAccountTermsForm(){return this.fixedDepositAccountTermsStep.fixedDepositAccountTermsForm}get fixedDepositAccountSettingsForm(){return this.fixedDepositAccountSettingsStep.fixedDepositAccountSettingsForm}get fixedDepositAccountFormValidAndNotPristine(){return this.fixedDepositAccountDetailsForm.valid&&this.fixedDepositAccountTermsForm.valid&&this.fixedDepositAccountSettingsForm.valid&&(!this.fixedDepositAccountDetailsForm.pristine||!this.fixedDepositAccountTermsForm.pristine||!this.fixedDepositAccountSettingsForm.pristine||!this.fixedDepositAccountChargesStep.pristine)}get fixedDepositAccount(){return V(V(V(V({},this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetails),this.fixedDepositAccountTermsStep.fixedDepositAccountTerms),this.fixedDepositAccountSettingsStep.fixedDepositAccountSettings),this.fixedDepositAccountChargesStep?.fixedDepositAccountCharges)}submit(){let a=this.settingsService.language.code,l=this.settingsService.dateFormat,p="dd MMMM",x=U(V({},this.fixedDepositAccount),{clientId:this.fixedDepositsAccountAndTemplate.clientId,charges:this.fixedDepositAccount.charges.map(h=>({chargeId:h.id,amount:h.amount,dueDate:h.dueDate&&this.dateUtils.formatDate(h.dueDate,l),feeOnMonthDay:h.feeOnMonthDay&&this.dateUtils.formatDate([2e3].concat(h.feeOnMonthDay),p),feeInterval:h.feeInterval})),submittedOnDate:this.dateUtils.formatDate(this.fixedDepositAccount.submittedOnDate,l),charts:[{chartSlabs:this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs}],dateFormat:l,monthDayFormat:p,locale:a});this.fixedDepositsService.updateFixedDepositAccount(this.fixedDepositsAccountAndTemplate.id,x).subscribe(h=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(W),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-edit-fixed-deposit-account"]],viewQuery:function(l,p){if(l&1&&(xt(ge,7),xt(_e,7),xt(Ce,7),xt(he,7)),l&2){let x;ft(x=gt())&&(p.fixedDepositsAccountDetailsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountTermsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountSettingsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountChargesStep=x.first)}},decls:59,vars:14,consts:[["fixedDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"fixedDepositsAccountProductTemplate","fixedDepositsAccountTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountData"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
-  `),n(2,"mat-horizontal-stepper",2,0),t(4,`
-    `),m(5,ll,3,0,"ng-template",3),t(6,`
-
-    `),m(7,sl,3,0,"ng-template",4),t(8,`
-
-    `),m(9,ml,3,0,"ng-template",5),t(10,`
-
-    `),m(11,dl,3,0,"ng-template",6),t(12,`
-
-    `),m(13,ul,3,0,"ng-template",7),t(14,`
-
-    `),n(15,"mat-step",8),t(16,`
-      `),m(17,xl,2,3,"ng-template",9),t(18,`
-
-      `),n(19,"mifosx-fixed-deposit-account-details-step",10),b("fixedDepositsAccountProductTemplate",function(T){return P(x),M(p.setTemplate(T))}),t(20,`
-      `),i(),t(21,`
-    `),i(),t(22,`
-
-    `),n(23,"mat-step",8),t(24,`
-      `),m(25,fl,2,3,"ng-template",9),t(26,`
-
-      `),n(27,"mifosx-fixed-deposit-account-terms-step",11),t(28,`
-      `),i(),t(29,`
-    `),i(),t(30,`
-
-    `),n(31,"mat-step",8),t(32,`
-      `),m(33,gl,2,3,"ng-template",9),t(34,`
-
-      `),n(35,"mifosx-fixed-deposit-account-settings-step",11),t(36,`
-      `),i(),t(37,`
-    `),i(),t(38,`
-
-    `),n(39,"mat-step"),t(40,`
-      `),m(41,_l,2,3,"ng-template",9),t(42,`
-
-      `),n(43,"mifosx-fixed-deposit-account-interest-rate-chart-step",11),t(44,`
-      `),i(),t(45,`
-    `),i(),t(46,`
-
-    `),n(47,"mat-step"),t(48,`
-      `),m(49,Cl,2,3,"ng-template",9),t(50,`
-
-      `),n(51,"mifosx-fixed-deposit-account-charges-step",12),t(52,`
-      `),i(),t(53,`
-    `),i(),t(54,`
-
-    `),m(55,vl,7,3,"mat-step",13),t(56,`
-  `),i(),t(57,`
-`),i(),t(58,`
-`)}l&2&&(o(15),d("stepControl",p.fixedDepositAccountDetailsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate),o(4),d("stepControl",p.fixedDepositAccountTermsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(4),d("stepControl",p.fixedDepositAccountSettingsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate)("fixedDepositAccountFormValid",p.fixedDepositAccountFormValidAndNotPristine),o(4),d("ngIf",p.fixedDepositAccountFormValidAndNotPristine))},dependencies:[F,tt,Ze,Je,tn,Xe,ge,_e,he,Ce,on,rn,O]})}}return e})();var pn=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.paramMap.get("fixedDepositAccountId");return this.fixedDepositsService.getFixedDepositsAccountData(l)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var fn=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.parent.paramMap.get("fixedDepositAccountId"),p=a.paramMap.get("id");return this.fixedDepositsService.getFixedDepositsAccountTransaction(l,p)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var gn=(()=>{class e{constructor(a,l){this.savingsService=a,this.fixedDepositsService=l}resolve(a){let l=a.paramMap.get("name"),p=a.paramMap.get("fixedDepositAccountId")||a.parent.parent.paramMap.get("fixedDepositAccountId");switch(l){case"Add Charge":return this.savingsService.getSavingsChargeTemplateResource(p);case"Close":return this.fixedDepositsService.getFixedDepositsAccountClosureTemplate(p);case"Withdrawal":return this.fixedDepositsService.getFixedDepositsAccountTransactionTemplate(p);default:return}}static{this.\u0275fac=function(l){return new(l||e)(zt(jt),zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var _n=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.parent.parent.paramMap.get("clientId");return this.fixedDepositsService.getFixedDepositsAccountTemplate(l)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var Cn=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.paramMap.get("fixedDepositAccountId");return this.fixedDepositsService.getFixedDepositsAccountAndTemplate(l)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();function Dl(e,s){if(e&1&&(n(0,"span"),t(1,`
-                `),g(2,"mifosx-external-identifier",7),t(3,`
-              `),i()),e&2){let a=C();o(2),dt("externalId",a.fixedDepositsAccountData.externalId)}}function bl(e,s){e&1&&(n(0,"span"),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
-                `,c(2,1,"labels.inputs.Not Available"),`
-              `))}function Sl(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td"),t(7),r(8,"dateFormat"),i(),t(9,`
-          `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Closed On")),o(4),u(c(8,4,a.fixedDepositsAccountData.timeline.closedOnDate))}}function Pl(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td"),t(7),i(),t(8,`
-          `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Tax Group")),o(4),u(a.fixedDepositsAccountData.taxGroup.name)}}function Ml(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td"),t(7),r(8,"translateKey"),i(),t(9,`
-          `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Maturity Instructions")),o(4),u(I(8,4,a.fixedDepositsAccountData.onAccountClosure.value,"catalogs"))}}function Tl(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td"),t(7),r(8,"translateKey"),i(),t(9,`
-          `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Pre-cloure Penal")),o(4),S(`
-              `,a.fixedDepositsAccountData.preClosurePenalInterest,` % on
-              `,I(8,5,a.fixedDepositsAccountData.preClosurePenalInterestOnType.value,"catalogs"),`
-            `)}}function Al(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td",8),t(7),r(8,"currency"),i(),t(9,`
-          `),i()),e&2){let a=C(2);o(3),u(c(4,2,"labels.inputs.Total Deposits")),o(4),f(`
-              `,J(8,4,a.fixedDepositsAccountData.summary.totalDeposits,a.currency.code,"symbol-narrow","1.2-2"),`
-            `)}}function yl(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td",8),t(7),r(8,"currency"),i(),t(9,`
-          `),i()),e&2){let a=C(2);o(3),u(c(4,2,"labels.inputs.Total Withdrawals")),o(4),f(`
-              `,J(8,4,a.fixedDepositsAccountData.summary.totalWithdrawals,a.currency.code,"symbol-narrow","1.2-2"),`
-            `)}}function Ol(e,s){if(e&1&&(n(0,"tr"),t(1,`
-            `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
-            `),n(6,"td",8),t(7),r(8,"currency"),i(),t(9,`
-          `),i()),e&2){let a=C(2);o(3),u(c(4,2,"labels.inputs.Total Interest Earned")),o(4),f(`
-              `,J(8,4,a.fixedDepositsAccountData.summary.totalInterestEarned,a.currency.code,"symbol-narrow","1.2-2"),`
-            `)}}function Il(e,s){if(e&1&&(n(0,"div"),t(1,`
-      `),n(2,"h4",3),t(3),r(4,"translate"),i(),t(5,`
-      `),n(6,"table"),t(7,`
-        `),n(8,"tbody"),t(9,`
-          `),n(10,"tr"),t(11,`
-            `),n(12,"td"),t(13),r(14,"translate"),i(),t(15,`
-            `),n(16,"td",8),t(17),r(18,"currency"),i(),t(19,`
-          `),i(),t(20,`
-          `),n(21,"tr"),t(22,`
-            `),n(23,"td"),t(24),r(25,"translate"),i(),t(26,`
-            `),n(27,"td",8),t(28),r(29,"currency"),i(),t(30,`
-          `),i(),t(31,`
-          `),m(32,Al,10,9,"tr",4),t(33,`
-          `),m(34,yl,10,9,"tr",4),t(35,`
-          `),m(36,Ol,10,9,"tr",4),t(37,`
-        `),i(),t(38,`
-      `),i(),t(39,`
-    `),i()),e&2){let a=C();o(3),u(c(4,8,"labels.heading.Performance History")),o(10),u(c(14,10,"labels.inputs.Principal Amount")),o(4),f(`
-              `,J(18,12,a.fixedDepositsAccountData.depositAmount,a.currency.code,"symbol-narrow","1.2-2"),`
-            `),o(7),u(c(25,17,"labels.inputs.Maturity Amount")),o(4),f(`
-              `,J(29,19,a.fixedDepositsAccountData.maturityAmount,a.currency.code,"symbol-narrow","1.2-2"),`
-            `),o(4),d("ngIf",a.fixedDepositsAccountData.summary.totalDeposits),o(2),d("ngIf",a.fixedDepositsAccountData.summary.totalWithdrawals),o(2),d("ngIf",a.fixedDepositsAccountData.summary.totalInterestEarned>=0)}}function Fl(e,s){if(e&1&&(t(0,`
-      `),n(1,"div"),t(2,`
-        `),n(3,"h4",3),t(4),r(5,"translate"),i(),t(6,`
-        `),n(7,"table"),t(8,`
-          `),n(9,"tbody"),t(10,`
-            `),n(11,"tr"),t(12,`
-              `),n(13,"td"),t(14),r(15,"translate"),i(),t(16,`
-              `),n(17,"td",8),t(18),r(19,"currency"),i(),t(20,`
-            `),i(),t(21,`
-            `),n(22,"tr"),t(23,`
-              `),n(24,"td"),t(25),r(26,"translate"),i(),t(27,`
-              `),n(28,"td",8),t(29),r(30,"currency"),i(),t(31,`
-            `),i(),t(32,`
-          `),i(),t(33,`
-        `),i(),t(34,`
-      `),i(),t(35,`
-    `)),e&2){let a=C();o(4),u(c(5,5,"labels.heading.Other Details")),o(10),u(c(15,7,"labels.inputs.Principal Amount")),o(4),f(`
-                `,J(19,9,a.fixedDepositsAccountData.depositAmount,a.currency.code,"symbol-narrow","1.2-2"),`
-              `),o(7),u(c(26,14,"labels.inputs.Maturity Amount")),o(4),f(`
-                `,J(30,16,a.fixedDepositsAccountData.maturityAmount,a.currency.code,"symbol-narrow","1.2-2"),`
-              `)}}var Si=(()=>{class e{constructor(a,l){this.route=a,this.router=l,this.route.parent.data.subscribe(p=>{this.fixedDepositsAccountData=p.fixedDepositsAccountData,this.currency=this.fixedDepositsAccountData.currency}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-general-tab"]],decls:161,vars:78,consts:[["otherDetails",""],[1,"fixed-deposits-account-tables","layout-row","gap-2percent"],[1,"flex-49","layout-column","gap-4percent"],[1,"table-headers"],[4,"ngIf"],[1,"flex-49"],[4,"ngIf","ngIfElse"],["completed","true",3,"externalId"],[1,"r-amount"]],template:function(l,p){if(l&1&&(n(0,"div",1),t(1,`
-  `),n(2,"div",2),t(3,`
-    `),n(4,"div"),t(5,`
-      `),n(6,"h4",3),t(7),r(8,"translate"),i(),t(9,`
-      `),n(10,"table"),t(11,`
-        `),n(12,"tbody"),t(13,`
-          `),n(14,"tr"),t(15,`
-            `),n(16,"td"),t(17),r(18,"translate"),i(),t(19,`
-            `),n(20,"td"),t(21,`
-              `),m(22,Dl,4,1,"span",4),t(23,`
-              `),m(24,bl,3,3,"span",4),t(25,`
-            `),i(),t(26,`
-          `),i(),t(27,`
-          `),n(28,"tr"),t(29,`
-            `),n(30,"td"),t(31),r(32,"translate"),i(),t(33,`
-            `),n(34,"td"),t(35),r(36,"dateFormat"),r(37,"translate"),i(),t(38,`
-          `),i(),t(39,`
-          `),m(40,Sl,10,6,"tr",4),t(41,`
-          `),n(42,"tr"),t(43,`
-            `),n(44,"td"),t(45),r(46,"translate"),i(),t(47,`
-            `),n(48,"td"),t(49),r(50,"translateKey"),i(),t(51,`
-          `),i(),t(52,`
-          `),n(53,"tr"),t(54,`
-            `),n(55,"td"),t(56),r(57,"translate"),i(),t(58,`
-            `),n(59,"td"),t(60),r(61,"dateFormat"),i(),t(62,`
-          `),i(),t(63,`
-          `),n(64,"tr"),t(65,`
-            `),n(66,"td"),t(67),r(68,"translate"),i(),t(69,`
-            `),n(70,"td"),t(71),r(72,"translateKey"),i(),t(73,`
-          `),i(),t(74,`
-          `),m(75,Pl,9,4,"tr",4),t(76,`
-          `),m(77,Ml,10,7,"tr",4),t(78,`
-        `),i(),t(79,`
-      `),i(),t(80,`
-    `),i(),t(81,`
-
-    `),n(82,"div"),t(83,`
-      `),n(84,"h4",3),t(85),r(86,"translate"),i(),t(87,`
-      `),n(88,"table"),t(89,`
-        `),n(90,"tbody"),t(91,`
-          `),n(92,"tr"),t(93,`
-            `),n(94,"td"),t(95),r(96,"translate"),i(),t(97,`
-            `),n(98,"td"),t(99),i(),t(100,`
-          `),i(),t(101,`
-          `),n(102,"tr"),t(103,`
-            `),n(104,"td"),t(105),r(106,"translate"),i(),t(107,`
-            `),n(108,"td"),t(109),r(110,"translateKey"),i(),t(111,`
-          `),i(),t(112,`
-          `),n(113,"tr"),t(114,`
-            `),n(115,"td"),t(116),r(117,"translate"),i(),t(118,`
-            `),n(119,"td"),t(120),r(121,"translateKey"),i(),t(122,`
-          `),i(),t(123,`
-          `),n(124,"tr"),t(125,`
-            `),n(126,"td"),t(127),r(128,"translate"),i(),t(129,`
-            `),n(130,"td"),t(131),r(132,"translateKey"),i(),t(133,`
-          `),i(),t(134,`
-          `),n(135,"tr"),t(136,`
-            `),n(137,"td"),t(138),r(139,"translate"),i(),t(140,`
-            `),n(141,"td"),t(142),r(143,"translateKey"),i(),t(144,`
-          `),i(),t(145,`
-          `),m(146,Tl,10,8,"tr",4),t(147,`
-        `),i(),t(148,`
-      `),i(),t(149,`
-    `),i(),t(150,`
-  `),i(),t(151,`
-
-  `),n(152,"div",5),t(153,`
-    `),m(154,Il,40,24,"div",6),t(155,`
-
-    `),m(156,Fl,36,21,"ng-template",null,0,vn),t(158,`
-  `),i(),t(159,`
-`),i(),t(160,`
-`)),l&2){let x=w(157);o(7),u(c(8,30,"labels.heading.Fixed Deposit Details")),o(10),u(c(18,32,"labels.inputs.External Id")),o(5),d("ngIf",p.fixedDepositsAccountData.externalId),o(2),d("ngIf",!p.fixedDepositsAccountData.externalId),o(7),u(c(32,34,"labels.inputs.Activated On")),o(4),f(`
-              `,p.fixedDepositsAccountData.timeline.activatedOnDate?c(36,36,p.fixedDepositsAccountData.timeline.activatedOnDate):c(37,38,"labels.text.Not Activated"),`
-            `),o(5),d("ngIf",p.fixedDepositsAccountData.timeline.closedOnDate),o(5),u(c(46,40,"labels.inputs.Field Officer")),o(4),f(`
-              `,p.fixedDepositsAccountData.fieldOfficerName?p.fixedDepositsAccountData.fieldOfficerName:I(50,42,"Unassigned","inputs"),`
-            `),o(7),u(c(57,45,"labels.inputs.Maturity Date")),o(4),f(`
-              `,p.fixedDepositsAccountData.maturityDate?c(61,47,p.fixedDepositsAccountData.maturityDate):"N/A",`
-            `),o(7),u(c(68,49,"labels.inputs.Deposit Period")),o(4),S(`
-              `,p.fixedDepositsAccountData.depositPeriod,"\xA0",I(72,51,p.fixedDepositsAccountData.depositPeriodFrequency.value,"catalogs"),`
-            `),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(I(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(I(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(I(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(I(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[F,kn,se,O,At,Tt],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var El=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:Di,resolve:{fixedDepositsAccountTemplate:_n}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:pn},children:[{path:"",component:Qn,resolve:{fixedDepositsAccountData:pn,savingsDatatables:sn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Si,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:Yn,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:Jn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:ti,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:ei,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:ni,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:ln}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:bi,resolve:{fixedDepositsAccountAndTemplate:Cn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-4HO2HR74.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:ui,resolve:{fixedDepositsAccountTransaction:fn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:di,resolve:{fixedDepositsAccountActionData:gn}}]}]}],Pi=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=He({type:e})}static{this.\u0275inj=$e({providers:[pn,ln,sn,fn,gn,_n,Cn],imports:[cn.forChild(El),cn]})}}return e})();var S1=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=He({type:e})}static{this.\u0275inj=$e({imports:[Un,qn,jn,Pi]})}}return e})();export{S1 as FixedDepositsModule};
diff --git a/browser/html2canvas-CRGYTWK7.js b/browser/html2canvas-CRGYTWK7.js
deleted file mode 100644
index 491c3ecc5..000000000
--- a/browser/html2canvas-CRGYTWK7.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import{e as OQ}from"./chunk-O7S4L63H.js";var MQ=OQ((nt,st)=>{(function(IA,P){typeof nt=="object"&&typeof st<"u"?st.exports=P():typeof define=="function"&&define.amd?define(P):(IA=typeof globalThis<"u"?globalThis:IA||self,IA.html2canvas=P())})(nt,function(){"use strict";var IA=function(e,A){return IA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var B in r)Object.prototype.hasOwnProperty.call(r,B)&&(t[B]=r[B])},IA(e,A)};function P(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");IA(e,A);function t(){this.constructor=e}e.prototype=A===null?Object.create(A):(t.prototype=A.prototype,new t)}var ir=function(){return ir=Object.assign||function(A){for(var t,r=1,B=arguments.length;r0&&n[n.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]=55296&&B<=56319&&t>10)+55296,s%1024+56320)),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},at="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gn=typeof Uint8Array>"u"?[]:new Uint8Array(256),fe=0;fe"u"?[]:new Uint8Array(256),Ue=0;Ue>4,Q[B++]=(s&15)<<4|i>>2,Q[B++]=(i&3)<<6|a&63;return o},cn=function(e){for(var A=e.length,t=[],r=0;r>vA,ln=1<>vA,Un=ot+fn,Fn=Un,hn=32,dn=Fn+hn,En=65536>>or,Hn=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>vA],t=(t<>vA)],t=(t<>or),t=this.index[t],t+=A>>vA&pn,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256),Fe=0;Fewt?(B.push(!0),i-=wt):B.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(s),t.push(Cr);if(i===Dn||i===wr){if(s===0)return r.push(s),t.push(yA);var a=t[s-1];return Rn.indexOf(a)===-1?(r.push(r[s-1]),t.push(a)):(r.push(s),t.push(yA))}if(r.push(s),i===On)return t.push(A==="strict"?ur:$A);if(i===ht||i===Sn)return t.push(yA);if(i===Mn)return n>=131072&&n<=196605||n>=196608&&n<=262141?t.push($A):t.push(yA);t.push(i)}),[r,t,B]},pr=function(e,A,t,r){var B=r[t];if(Array.isArray(e)?e.indexOf(B)!==-1:e===B)for(var n=t;n<=r.length;){n++;var s=r[n];if(s===A)return!0;if(s!==CA)break}if(B===CA)for(var n=t;n>0;){n--;var i=r[n];if(Array.isArray(e)?e.indexOf(i)!==-1:e===i)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===A)return!0;if(s!==CA)break}if(i!==CA)break}return!1},It=function(e,A){for(var t=e;t>=0;){var r=A[t];if(r===CA)t--;else return r}return 0},Xn=function(e,A,t,r,B){if(t[r]===0)return I;var n=r-1;if(Array.isArray(B)&&B[n]===!0)return I;var s=n-1,i=n+1,a=A[n],o=s>=0?A[s]:0,Q=A[i];if(a===ct&&Q===Ct)return I;if(Hr.indexOf(a)!==-1)return dt;if(Hr.indexOf(Q)!==-1||Et.indexOf(Q)!==-1)return I;if(It(n,A)===lt)return Ie;if(Er.get(e[n])===wr||(a===de||a===Ee)&&Er.get(e[i])===wr||a===ut||Q===ut||a===ft||[CA,cr,WA].indexOf(a)===-1&&Q===ft||[he,ZA,Tn,SA,OA].indexOf(Q)!==-1||It(n,A)===qA||pr(lr,qA,n,A)||pr([he,ZA],ur,n,A)||pr(Ut,Ut,n,A))return I;if(a===CA)return Ie;if(a===lr||Q===lr)return I;if(Q===Cr||a===Cr)return Ie;if([cr,WA,ur].indexOf(Q)!==-1||a===xn||o===Fr&&Vn.indexOf(a)!==-1||a===OA&&Q===Fr||Q===Ft||oA.indexOf(Q)!==-1&&a===j||oA.indexOf(a)!==-1&&Q===j||a===zA&&[$A,de,Ee].indexOf(Q)!==-1||[$A,de,Ee].indexOf(a)!==-1&&Q===jA||oA.indexOf(a)!==-1&&Ht.indexOf(Q)!==-1||Ht.indexOf(a)!==-1&&oA.indexOf(Q)!==-1||[zA,jA].indexOf(a)!==-1&&(Q===j||[qA,WA].indexOf(Q)!==-1&&A[i+1]===j)||[qA,WA].indexOf(a)!==-1&&Q===j||a===j&&[j,OA,SA].indexOf(Q)!==-1)return I;if([j,OA,SA,he,ZA].indexOf(Q)!==-1)for(var g=n;g>=0;){var w=A[g];if(w===j)return I;if([OA,SA].indexOf(w)!==-1)g--;else break}if([zA,jA].indexOf(Q)!==-1)for(var g=[he,ZA].indexOf(a)!==-1?s:n;g>=0;){var w=A[g];if(w===j)return I;if([OA,SA].indexOf(w)!==-1)g--;else break}if(hr===a&&[hr,He,fr,Ur].indexOf(Q)!==-1||[He,fr].indexOf(a)!==-1&&[He,pe].indexOf(Q)!==-1||[pe,Ur].indexOf(a)!==-1&&Q===pe||pt.indexOf(a)!==-1&&[Ft,jA].indexOf(Q)!==-1||pt.indexOf(Q)!==-1&&a===zA||oA.indexOf(a)!==-1&&oA.indexOf(Q)!==-1||a===SA&&oA.indexOf(Q)!==-1||oA.concat(j).indexOf(a)!==-1&&Q===qA&&Gn.indexOf(e[i])===-1||oA.concat(j).indexOf(Q)!==-1&&a===ZA)return I;if(a===dr&&Q===dr){for(var f=t[n],c=1;f>0&&(f--,A[f]===dr);)c++;if(c%2!==0)return I}return a===de&&Q===Ee?I:Ie},_n=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var t=Nn(e,A.lineBreak),r=t[0],B=t[1],n=t[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(B=B.map(function(i){return[j,yA,ht].indexOf(i)!==-1?$A:i}));var s=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&e[a]>=19968&&e[a]<=40959}):void 0;return[r,B,s]},Jn=function(){function e(A,t,r,B){this.codePoints=A,this.required=t===dt,this.start=r,this.end=B}return e.prototype.slice=function(){return T.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Pn=function(e,A){var t=le(e),r=_n(t,A),B=r[0],n=r[1],s=r[2],i=t.length,a=0,o=0;return{next:function(){if(o>=i)return{done:!0,value:null};for(var Q=I;o=Lt&&e<=57},Is=function(e){return e>=55296&&e<=57343},MA=function(e){return J(e)||e>=xt&&e<=St||e>=Dt&&e<=hs},vs=function(e){return e>=Dt&&e<=Es},ys=function(e){return e>=xt&&e<=ps},Ks=function(e){return vs(e)||ys(e)},ms=function(e){return e>=Qs},De=function(e){return e===ve||e===Wn||e===Zn},be=function(e){return Ks(e)||ms(e)||e===$n},Ot=function(e){return be(e)||J(e)||e===Y},Ls=function(e){return e>=Cs&&e<=us||e===ls||e>=fs&&e<=Us||e===Fs},uA=function(e,A){return e!==ee?!1:A!==ve},xe=function(e,A,t){return e===Y?be(A)||uA(A,t):be(e)?!0:!!(e===ee&&uA(e,A))},vr=function(e,A,t){return e===KA||e===Y?J(A)?!0:A===Be&&J(t):J(e===Be?A:e)},Ds=function(e){var A=0,t=1;(e[A]===KA||e[A]===Y)&&(e[A]===Y&&(t=-1),A++);for(var r=[];J(e[A]);)r.push(e[A++]);var B=r.length?parseInt(T.apply(void 0,r),10):0;e[A]===Be&&A++;for(var n=[];J(e[A]);)n.push(e[A++]);var s=n.length,i=s?parseInt(T.apply(void 0,n),10):0;(e[A]===Tt||e[A]===bt)&&A++;var a=1;(e[A]===KA||e[A]===Y)&&(e[A]===Y&&(a=-1),A++);for(var o=[];J(e[A]);)o.push(e[A++]);var Q=o.length?parseInt(T.apply(void 0,o),10):0;return t*(B+i*Math.pow(10,-s))*Math.pow(10,a*Q)},bs={type:2},xs={type:3},Ts={type:4},Ss={type:13},Os={type:8},Ms={type:21},Gs={type:9},Rs={type:10},Vs={type:11},Ns={type:12},Xs={type:14},Te={type:23},_s={type:1},Js={type:25},Ps={type:24},ks={type:26},Ys={type:27},Ws={type:28},Zs={type:29},qs={type:31},yr={type:32},Mt=function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(le(A))},e.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==yr;)A.push(t),t=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case ye:return this.consumeStringToken(ye);case qn:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Ot(t)||uA(r,B)){var n=xe(t,r,B)?Yn:kn,s=this.consumeName();return{type:5,value:s,flags:n}}break;case jn:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Ss;break;case Ke:return this.consumeStringToken(Ke);case me:return bs;case te:return xs;case Ir:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Xs;break;case KA:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case gs:return Ts;case Y:var i=A,a=this.peekCodePoint(0),o=this.peekCodePoint(1);if(vr(i,a,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xe(i,a,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(a===Y&&o===rs)return this.consumeCodePoint(),this.consumeCodePoint(),Ps;break;case Be:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case yt:if(this.peekCodePoint(0)===Ir)for(this.consumeCodePoint();;){var Q=this.consumeCodePoint();if(Q===Ir&&(Q=this.consumeCodePoint(),Q===yt))return this.consumeToken();if(Q===BA)return this.consumeToken()}break;case ws:return ks;case cs:return Ys;case es:if(this.peekCodePoint(0)===As&&this.peekCodePoint(1)===Y&&this.peekCodePoint(2)===Y)return this.consumeCodePoint(),this.consumeCodePoint(),Js;break;case ts:var g=this.peekCodePoint(0),w=this.peekCodePoint(1),f=this.peekCodePoint(2);if(xe(g,w,f)){var s=this.consumeName();return{type:7,value:s}}break;case Bs:return Ws;case ee:if(uA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case ns:return Zs;case ss:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Os;break;case as:return Vs;case is:return Ns;case ds:case Hs:var c=this.peekCodePoint(0),C=this.peekCodePoint(1);return c===KA&&(MA(C)||C===Le)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Kt:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Gs;if(this.peekCodePoint(0)===Kt)return this.consumeCodePoint(),Ms;break;case os:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Rs;break;case BA:return yr}return De(A)?(this.consumeWhiteSpace(),qs):J(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):be(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:T(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();MA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var r=!1;t===Le&&A.length<6;)A.push(t),t=this.consumeCodePoint(),r=!0;if(r){var B=parseInt(T.apply(void 0,A.map(function(a){return a===Le?Lt:a})),16),n=parseInt(T.apply(void 0,A.map(function(a){return a===Le?St:a})),16);return{type:30,start:B,end:n}}var s=parseInt(T.apply(void 0,A),16);if(this.peekCodePoint(0)===Y&&MA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];MA(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();var n=parseInt(T.apply(void 0,i),16);return{type:30,start:s,end:n}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===me?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===me?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ke||t===ye){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===te)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Te)}for(;;){var B=this.consumeCodePoint();if(B===BA||B===te)return{type:22,value:T.apply(void 0,A)};if(De(B))return this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===te?(this.consumeCodePoint(),{type:22,value:T.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Te);if(B===ye||B===Ke||B===me||Ls(B))return this.consumeBadUrlRemnants(),Te;if(B===ee)if(uA(B,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Te;else A.push(B)}},e.prototype.consumeWhiteSpace=function(){for(;De(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===te||A===BA)return;uA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var t=5e4,r="";A>0;){var B=Math.min(t,A);r+=T.apply(void 0,this._value.splice(0,B)),A-=B}return this._value.shift(),r},e.prototype.consumeStringToken=function(A){var t="",r=0;do{var B=this._value[r];if(B===BA||B===void 0||B===A)return t+=this.consumeStringSlice(r),{type:0,value:t};if(B===ve)return this._value.splice(0,r),_s;if(B===ee){var n=this._value[r+1];n!==BA&&n!==void 0&&(n===ve?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):uA(B,n)&&(t+=this.consumeStringSlice(r),t+=T(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var A=[],t=Ae,r=this.peekCodePoint(0);for((r===KA||r===Y)&&A.push(this.consumeCodePoint());J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var B=this.peekCodePoint(1);if(r===Be&&J(B))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=vt;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),B=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((r===Tt||r===bt)&&((B===KA||B===Y)&&J(n)||J(B)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=vt;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Ds(A),t]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],r=A[1],B=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(xe(B,n,s)){var i=this.consumeName();return{type:15,number:t,flags:r,unit:i}}return B===zn?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(MA(A)){for(var t=T(A);MA(this.peekCodePoint(0))&&t.length<6;)t+=T(this.consumeCodePoint());De(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||Is(r)||r>1114111?mt:r}return A===BA?mt:A},e.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(Ot(t))A+=T(t);else if(uA(t,this.peekCodePoint(0)))A+=T(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),A}},e}(),Gt=function(){function e(A){this._tokens=A}return e.create=function(A){var t=new Mt;return t.write(A),new e(t.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(t.type===32)return A;A.push(t),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||zs(r,A))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?yr:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e}(),ne=function(e){return e.type===15},GA=function(e){return e.type===17},L=function(e){return e.type===20},js=function(e){return e.type===0},Kr=function(e,A){return L(e)&&e.value===A},Rt=function(e){return e.type!==31},RA=function(e){return e.type!==31&&e.type!==4},nA=function(e){var A=[],t=[];return e.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&A.push(t),A},zs=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},lA=function(e){return e.type===17||e.type===15},O=function(e){return e.type===16||lA(e)},Vt=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},V={type:17,number:0,flags:Ae},mr={type:16,number:50,flags:Ae},fA={type:16,number:100,flags:Ae},se=function(e,A,t){var r=e[0],B=e[1];return[b(r,A),b(typeof B<"u"?B:r,t)]},b=function(e,A){if(e.type===16)return e.number/100*A;if(ne(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},Nt="deg",Xt="grad",_t="rad",Jt="turn",Se={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Nt:return Math.PI*A.number/180;case Xt:return Math.PI/200*A.number;case _t:return A.number;case Jt:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Pt=function(e){return e.type===15&&(e.unit===Nt||e.unit===Xt||e.unit===_t||e.unit===Jt)},kt=function(e){var A=e.filter(L).map(function(t){return t.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[V,V];case"to top":case"bottom":return $(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[V,fA];case"to right":case"left":return $(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[fA,fA];case"to bottom":case"top":return $(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[fA,V];case"to left":case"right":return $(270)}return 0},$=function(e){return Math.PI*e/180},UA={name:"color",parse:function(e,A){if(A.type===18){var t=$s[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(e,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3),s=A.value.substring(3,4);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6);return hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6),s=A.value.substring(6,8);return hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),parseInt(s,16)/255)}}if(A.type===20){var i=QA[A.value.toUpperCase()];if(typeof i<"u")return i}return QA.TRANSPARENT}},FA=function(e){return(255&e)===0},R=function(e){var A=255&e,t=255&e>>8,r=255&e>>16,B=255&e>>24;return A<255?"rgba("+B+","+r+","+t+","+A/255+")":"rgb("+B+","+r+","+t+")"},hA=function(e,A,t,r){return(e<<24|A<<16|t<<8|Math.round(r*255)<<0)>>>0},Yt=function(e,A){if(e.type===17)return e.number;if(e.type===16){var t=A===3?1:255;return A===3?e.number/100*t:Math.round(e.number/100*t)}return 0},Wt=function(e,A){var t=A.filter(RA);if(t.length===3){var r=t.map(Yt),B=r[0],n=r[1],s=r[2];return hA(B,n,s,1)}if(t.length===4){var i=t.map(Yt),B=i[0],n=i[1],s=i[2],a=i[3];return hA(B,n,s,a)}return 0};function Lr(e,A,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(A-e)*t*6+e:t<1/2?A:t<2/3?(A-e)*6*(2/3-t)+e:e}var Zt=function(e,A){var t=A.filter(RA),r=t[0],B=t[1],n=t[2],s=t[3],i=(r.type===17?$(r.number):Se.parse(e,r))/(Math.PI*2),a=O(B)?B.number/100:0,o=O(n)?n.number/100:0,Q=typeof s<"u"&&O(s)?b(s,1):1;if(a===0)return hA(o*255,o*255,o*255,1);var g=o<=.5?o*(a+1):o+a-o*a,w=o*2-g,f=Lr(w,g,i+1/3),c=Lr(w,g,i),C=Lr(w,g,i-1/3);return hA(f*255,c*255,C*255,Q)},$s={hsl:Zt,hsla:Zt,rgb:Wt,rgba:Wt},ae=function(e,A){return UA.parse(e,Gt.create(A).parseComponentValue())},QA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Aa={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ea={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Oe=function(e,A){var t=UA.parse(e,A[0]),r=A[1];return r&&O(r)?{color:t,stop:r}:{color:t,stop:null}},qt=function(e,A){var t=e[0],r=e[e.length-1];t.stop===null&&(t.stop=V),r.stop===null&&(r.stop=fA);for(var B=[],n=0,s=0;sn?B.push(a):B.push(n),n=a}else B.push(null)}for(var o=null,s=0;ss.optimumDistance)?{optimumCorner:i,optimumDistance:Q}:s},{optimumDistance:B?1/0:-1/0,optimumCorner:null}).optimumCorner},Ba=function(e,A,t,r,B){var n=0,s=0;switch(e.size){case 0:e.shape===0?n=s=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-B)):e.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),s=Math.min(Math.abs(t),Math.abs(t-B)));break;case 2:if(e.shape===0)n=s=Math.min(tA(A,t),tA(A,t-B),tA(A-r,t),tA(A-r,t-B));else if(e.shape===1){var i=Math.min(Math.abs(t),Math.abs(t-B))/Math.min(Math.abs(A),Math.abs(A-r)),a=jt(r,B,A,t,!0),o=a[0],Q=a[1];n=tA(o-A,(Q-t)/i),s=i*n}break;case 1:e.shape===0?n=s=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-B)):e.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),s=Math.max(Math.abs(t),Math.abs(t-B)));break;case 3:if(e.shape===0)n=s=Math.max(tA(A,t),tA(A,t-B),tA(A-r,t),tA(A-r,t-B));else if(e.shape===1){var i=Math.max(Math.abs(t),Math.abs(t-B))/Math.max(Math.abs(A),Math.abs(A-r)),g=jt(r,B,A,t,!1),o=g[0],Q=g[1];n=tA(o-A,(Q-t)/i),s=i*n}break}return Array.isArray(e.size)&&(n=b(e.size[0],r),s=e.size.length===2?b(e.size[1],B):n),[n,s]},na=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(n===0){var s=B[0];if(s.type===20&&s.value==="to"){t=kt(B);return}else if(Pt(s)){t=Se.parse(e,s);return}}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},Me=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(n===0){var s=B[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=kt(B);return}else if(Pt(s)){t=(Se.parse(e,s)+$(270))%$(360);return}}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},sa=function(e,A){var t=$(180),r=[],B=1,n=0,s=3,i=[];return nA(A).forEach(function(a,o){var Q=a[0];if(o===0){if(L(Q)&&Q.value==="linear"){B=1;return}else if(L(Q)&&Q.value==="radial"){B=2;return}}if(Q.type===18){if(Q.name==="from"){var g=UA.parse(e,Q.values[0]);r.push({stop:V,color:g})}else if(Q.name==="to"){var g=UA.parse(e,Q.values[0]);r.push({stop:fA,color:g})}else if(Q.name==="color-stop"){var w=Q.values.filter(RA);if(w.length===2){var g=UA.parse(e,w[1]),f=w[0];GA(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:g})}}}}),B===1?{angle:(t+$(180))%$(360),stops:r,type:B}:{size:s,shape:n,stops:r,position:i,type:B}},zt="closest-side",$t="farthest-side",AB="closest-corner",eB="farthest-corner",rB="circle",tB="ellipse",BB="cover",nB="contain",aa=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(i===0){var o=!1;a=s.reduce(function(g,w){if(o)if(L(w))switch(w.value){case"center":return n.push(mr),g;case"top":case"left":return n.push(V),g;case"right":case"bottom":return n.push(fA),g}else(O(w)||lA(w))&&n.push(w);else if(L(w))switch(w.value){case rB:return t=0,!1;case tB:return t=1,!1;case"at":return o=!0,!1;case zt:return r=0,!1;case BB:case $t:return r=1,!1;case nB:case AB:return r=2,!1;case eB:return r=3,!1}else if(lA(w)||O(w))return Array.isArray(r)||(r=[]),r.push(w),!1;return g},a)}if(a){var Q=Oe(e,s);B.push(Q)}}),{size:r,shape:t,stops:B,position:n,type:2}},Ge=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(i===0?a=s.reduce(function(Q,g){if(L(g))switch(g.value){case"center":return n.push(mr),!1;case"top":case"left":return n.push(V),!1;case"right":case"bottom":return n.push(fA),!1}else if(O(g)||lA(g))return n.push(g),!1;return Q},a):i===1&&(a=s.reduce(function(Q,g){if(L(g))switch(g.value){case rB:return t=0,!1;case tB:return t=1,!1;case nB:case zt:return r=0,!1;case $t:return r=1,!1;case AB:return r=2,!1;case BB:case eB:return r=3,!1}else if(lA(g)||O(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return Q},a)),a){var o=Oe(e,s);B.push(o)}}),{size:r,shape:t,stops:B,position:n,type:2}},ia=function(e){return e.type===1},oa=function(e){return e.type===2},Dr={name:"image",parse:function(e,A){if(A.type===22){var t={url:A.value,type:0};return e.cache.addImage(A.value),t}if(A.type===18){var r=sB[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Qa(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!sB[e.name])}for(var sB={"linear-gradient":na,"-moz-linear-gradient":Me,"-ms-linear-gradient":Me,"-o-linear-gradient":Me,"-webkit-linear-gradient":Me,"radial-gradient":aa,"-moz-radial-gradient":Ge,"-ms-radial-gradient":Ge,"-o-radial-gradient":Ge,"-webkit-radial-gradient":Ge,"-webkit-gradient":sa},ga={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A.filter(function(r){return RA(r)&&Qa(r)}).map(function(r){return Dr.parse(e,r)})}},wa={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ca={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return nA(A).map(function(t){return t.filter(O)}).map(Vt)}},Ca={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(L).map(function(r){return r.value}).join(" ")}).map(ua)}},ua=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ie=function(e){return e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover",e}(ie||{}),la={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(fa)})}},fa=function(e){return L(e)||O(e)},Re=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ua=Re("top"),Fa=Re("right"),ha=Re("bottom"),da=Re("left"),Ve=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return Vt(t.filter(O))}}},Ea=Ve("top-left"),Ha=Ve("top-right"),pa=Ve("bottom-right"),Ia=Ve("bottom-left"),Ne=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},va=Ne("top"),ya=Ne("right"),Ka=Ne("bottom"),ma=Ne("left"),Xe=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return ne(t)?t.number:0}}},La=Xe("top"),Da=Xe("right"),ba=Xe("bottom"),xa=Xe("left"),Ta={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Sa={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},Oa={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(L).reduce(function(t,r){return t|Ma(r.value)},0)}},Ma=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ga={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ra={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},br=function(e){return e.NORMAL="normal",e.STRICT="strict",e}(br||{}),Va={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"strict":return br.STRICT;case"normal":default:return br.NORMAL}}},Na={name:"line-height",initialValue:"normal",prefix:!1,type:4},aB=function(e,A){return L(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:O(e)?b(e,A):A},Xa={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:Dr.parse(e,A)}},_a={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},xr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},_e=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Ja=_e("top"),Pa=_e("right"),ka=_e("bottom"),Ya=_e("left"),Wa={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Za={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},Je=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},qa=Je("top"),ja=Je("right"),za=Je("bottom"),$a=Je("left"),Ai={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ei={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ri={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Kr(A[0],"none")?[]:nA(A).map(function(t){for(var r={color:QA.TRANSPARENT,offsetX:V,offsetY:V,blur:V},B=0,n=0;n"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return t(A.values)}return null}},ni=function(e){var A=e.filter(function(t){return t.type===17}).map(function(t){return t.number});return A.length===6?A:null},si=function(e){var A=e.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=A[0],r=A[1];A[2],A[3];var B=A[4],n=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],i=A[13];return A[14],A[15],A.length===16?[t,r,B,n,s,i]:null},ai={matrix:ni,matrix3d:si},iB={type:16,number:50,flags:Ae},ii=[iB,iB],oi={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var t=A.filter(O);return t.length!==2?ii:[t[0],t[1]]}},Qi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Pe=function(e){return e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all",e}(Pe||{}),gi={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return Pe.BREAK_ALL;case"keep-all":return Pe.KEEP_ALL;case"normal":default:return Pe.NORMAL}}},wi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(GA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},oB={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},ci={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return GA(A)?A.number:1}},Ci={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ui={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},li={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var t=[],r=[];return A.forEach(function(B){switch(B.type){case 20:case 0:t.push(B.value);break;case 17:t.push(B.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(B){return B.indexOf(" ")===-1?B:"'"+B+"'"})}},fi={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ui={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){if(GA(A))return A.number;if(L(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},Fi={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(L).map(function(t){return t.value})}},hi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},G=function(e,A){return(e&A)!==0},di={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A}},Ei={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var t=A[0];if(t.type===20&&t.value==="none")return null;for(var r=[],B=A.filter(Rt),n=0;n1?1:0],this.overflowWrap=U(A,Za,t.overflowWrap),this.paddingTop=U(A,qa,t.paddingTop),this.paddingRight=U(A,ja,t.paddingRight),this.paddingBottom=U(A,za,t.paddingBottom),this.paddingLeft=U(A,$a,t.paddingLeft),this.paintOrder=U(A,yi,t.paintOrder),this.position=U(A,ei,t.position),this.textAlign=U(A,Ai,t.textAlign),this.textDecorationColor=U(A,Ci,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=U(A,ui,(B=t.textDecorationLine)!==null&&B!==void 0?B:t.textDecoration),this.textShadow=U(A,ri,t.textShadow),this.textTransform=U(A,ti,t.textTransform),this.transform=U(A,Bi,t.transform),this.transformOrigin=U(A,oi,t.transformOrigin),this.visibility=U(A,Qi,t.visibility),this.webkitTextStrokeColor=U(A,Ki,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=U(A,mi,t.webkitTextStrokeWidth),this.wordBreak=U(A,gi,t.wordBreak),this.zIndex=U(A,wi,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return FA(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return G(this.display,4)||G(this.display,33554432)||G(this.display,268435456)||G(this.display,536870912)||G(this.display,67108864)||G(this.display,134217728)},e}(),Di=function(){function e(A,t){this.content=U(A,di,t.content),this.quotes=U(A,Ii,t.quotes)}return e}(),gB=function(){function e(A,t){this.counterIncrement=U(A,Ei,t.counterIncrement),this.counterReset=U(A,Hi,t.counterReset)}return e}(),U=function(e,A,t){var r=new Mt,B=t!==null&&typeof t<"u"?t.toString():A.initialValue;r.write(B);var n=new Gt(r.read());switch(A.type){case 2:var s=n.parseComponentValue();return A.parse(e,L(s)?s.value:A.initialValue);case 0:return A.parse(e,n.parseComponentValue());case 1:return A.parse(e,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return Se.parse(e,n.parseComponentValue());case"color":return UA.parse(e,n.parseComponentValue());case"image":return Dr.parse(e,n.parseComponentValue());case"length":var i=n.parseComponentValue();return lA(i)?i:V;case"length-percentage":var a=n.parseComponentValue();return O(a)?a:V;case"time":return oB.parse(e,n.parseComponentValue())}break}},bi="data-html2canvas-debug",xi=function(e){var A=e.getAttribute(bi);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Tr=function(e,A){var t=xi(e);return t===1||A===t},sA=function(){function e(A,t){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Tr(t,3))debugger;this.styles=new Li(A,window.getComputedStyle(t,null)),Wr(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=ue(this.context,t),Tr(t,4)&&(this.flags|=16)}return e}(),Ti="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",wB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=typeof Uint8Array>"u"?[]:new Uint8Array(256),ke=0;ke>4,Q[B++]=(s&15)<<4|i>>2,Q[B++]=(i&3)<<6|a&63;return o},Oi=function(e){for(var A=e.length,t=[],r=0;r>mA,Ri=1<>mA,Ni=cB+Vi,Xi=Ni,_i=32,Ji=Xi+_i,Pi=65536>>Sr,ki=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>mA],t=(t<>mA)],t=(t<>Sr),t=this.index[t],t+=A>>mA&Yi,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256),Ye=0;Ye=55296&&B<=56319&&t>10)+55296,s%1024+56320)),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},ro=Zi(Ti),AA="\xD7",_r="\xF7",to=function(e){return ro.get(e)},Bo=function(e,A,t){var r=t-2,B=A[r],n=A[t-1],s=A[t];if(n===Gr&&s===Rr)return AA;if(n===Gr||n===Rr||n===lB||s===Gr||s===Rr||s===lB)return _r;if(n===UB&&[UB,Vr,FB,hB].indexOf(s)!==-1||(n===FB||n===Vr)&&(s===Vr||s===Nr)||(n===hB||n===Nr)&&s===Nr||s===dB||s===fB||s===$i||n===zi)return AA;if(n===dB&&s===EB){for(;B===fB;)B=A[--r];if(B===EB)return AA}if(n===Xr&&s===Xr){for(var i=0;B===Xr;)i++,B=A[--r];if(i%2===0)return AA}return _r},no=function(e){var A=Ao(e),t=A.length,r=0,B=0,n=A.map(to);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=AA;rs.x||Q.y>s.y;return s=Q,o===0?!0:g});return e.body.removeChild(A),i},oo=function(){return typeof new Image().crossOrigin<"u"},Qo=function(){return typeof new XMLHttpRequest().responseType=="string"},go=function(e){var A=new Image,t=e.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,";try{r.drawImage(A,0,0),t.toDataURL()}catch{return!1}return!0},HB=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},wo=function(e){var A=e.createElement("canvas"),t=100;A.width=t,A.height=t;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var B=new Image,n=A.toDataURL();B.src=n;var s=Jr(t,t,0,0,B);return r.fillStyle="red",r.fillRect(0,0,t,t),pB(s).then(function(i){r.drawImage(i,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var o=e.createElement("div");return o.style.backgroundImage="url("+n+")",o.style.height=t+"px",HB(a)?pB(Jr(t,t,0,0,o)):Promise.reject(!1)}).then(function(i){return r.drawImage(i,0,0),HB(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Jr=function(e,A,t,r,B){var n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",t.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(i),i.appendChild(B),s},pB=function(e){return new Promise(function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},N={get SUPPORT_RANGE_BOUNDS(){var e=ao(document);return Object.defineProperty(N,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=N.SUPPORT_RANGE_BOUNDS&&io(document);return Object.defineProperty(N,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=go(document);return Object.defineProperty(N,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?wo(document):Promise.resolve(!1);return Object.defineProperty(N,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=oo();return Object.defineProperty(N,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Qo();return Object.defineProperty(N,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(N,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(N,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Qe=function(){function e(A,t){this.text=A,this.bounds=t}return e}(),co=function(e,A,t,r){var B=lo(A,t),n=[],s=0;return B.forEach(function(i){if(t.textDecorationLine.length||i.trim().length>0)if(N.SUPPORT_RANGE_BOUNDS){var a=IB(r,s,i.length).getClientRects();if(a.length>1){var o=Pr(i),Q=0;o.forEach(function(w){n.push(new Qe(w,iA.fromDOMRectList(e,IB(r,Q+s,w.length).getClientRects()))),Q+=w.length})}else n.push(new Qe(i,iA.fromDOMRectList(e,a)))}else{var g=r.splitText(i.length);n.push(new Qe(i,Co(e,r))),r=g}else N.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));s+=i.length}),n},Co=function(e,A){var t=A.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var B=A.parentNode;if(B){B.replaceChild(r,A);var n=ue(e,r);return r.firstChild&&B.replaceChild(r.firstChild,r),n}}return iA.EMPTY},IB=function(e,A,t){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var B=r.createRange();return B.setStart(e,A),B.setEnd(e,A+t),B},Pr=function(e){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(t){return t.segment})}return so(e)},uo=function(e,A){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return Uo(e,A)},lo=function(e,A){return A.letterSpacing!==0?Pr(e):uo(e,A)},fo=[32,160,4961,65792,65793,4153,4241],Uo=function(e,A){for(var t=Pn(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],B,n=function(){if(B.value){var s=B.value.slice(),i=le(s),a="";i.forEach(function(o){fo.indexOf(o)===-1?a+=T(o):(a.length&&r.push(a),r.push(T(o)),a="")}),a.length&&r.push(a)}};!(B=t.next()).done;)n();return r},Fo=function(){function e(A,t,r){this.text=ho(t.data,r.textTransform),this.textBounds=co(A,this.text,r,t)}return e}(),ho=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(Eo,Ho);case 2:return e.toUpperCase();default:return e}},Eo=/(^|\s|:|-|\(|\))([a-z])/g,Ho=function(e,A,t){return e.length>0?A+t.toUpperCase():e},vB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.src=r.currentSrc||r.src,B.intrinsicWidth=r.naturalWidth,B.intrinsicHeight=r.naturalHeight,B.context.cache.addImage(B.src),B}return A}(sA),yB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.canvas=r,B.intrinsicWidth=r.width,B.intrinsicHeight=r.height,B}return A}(sA),KB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this,n=new XMLSerializer,s=ue(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),B.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(r)),B.intrinsicWidth=r.width.baseVal.value,B.intrinsicHeight=r.height.baseVal.value,B.context.cache.addImage(B.svg),B}return A}(sA),mB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.value=r.value,B}return A}(sA),kr=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.start=r.start,B.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,B}return A}(sA),po=[{type:15,flags:0,unit:"px",number:3}],Io=[{type:16,flags:0,number:50}],vo=function(e){return e.width>e.height?new iA(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)t.textNodes.push(new Fo(e,B,t.styles));else if(VA(B))if(XB(B)&&B.assignedNodes)B.assignedNodes().forEach(function(i){return qe(e,i,t,r)});else{var s=TB(e,B);s.styles.isVisible()&&(Lo(B,s,r)?s.flags|=4:Do(s.styles)&&(s.flags|=2),mo.indexOf(B.tagName)!==-1&&(s.flags|=8),t.elements.push(s),B.slot,B.shadowRoot?qe(e,B.shadowRoot,s,r):!ze(B)&&!MB(B)&&!$e(B)&&qe(e,B,s,r))}},TB=function(e,A){return qr(A)?new vB(e,A):GB(A)?new yB(e,A):MB(A)?new KB(e,A):bo(A)?new mB(e,A):xo(A)?new kr(e,A):To(A)?new Yr(e,A):$e(A)?new DB(e,A):ze(A)?new bB(e,A):VB(A)?new xB(e,A):new sA(e,A)},SB=function(e,A){var t=TB(e,A);return t.flags|=4,qe(e,A,t,t),t},Lo=function(e,A,t){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Zr(e)&&t.styles.isTransparent()},Do=function(e){return e.isPositioned()||e.isFloating()},OB=function(e){return e.nodeType===Node.TEXT_NODE},VA=function(e){return e.nodeType===Node.ELEMENT_NODE},Wr=function(e){return VA(e)&&typeof e.style<"u"&&!je(e)},je=function(e){return typeof e.className=="object"},bo=function(e){return e.tagName==="LI"},xo=function(e){return e.tagName==="OL"},To=function(e){return e.tagName==="INPUT"},So=function(e){return e.tagName==="HTML"},MB=function(e){return e.tagName==="svg"},Zr=function(e){return e.tagName==="BODY"},GB=function(e){return e.tagName==="CANVAS"},RB=function(e){return e.tagName==="VIDEO"},qr=function(e){return e.tagName==="IMG"},VB=function(e){return e.tagName==="IFRAME"},NB=function(e){return e.tagName==="STYLE"},Oo=function(e){return e.tagName==="SCRIPT"},ze=function(e){return e.tagName==="TEXTAREA"},$e=function(e){return e.tagName==="SELECT"},XB=function(e){return e.tagName==="SLOT"},_B=function(e){return e.tagName.indexOf("-")>0},Mo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},e.prototype.pop=function(A){var t=this;A.forEach(function(r){return t.counters[r].pop()})},e.prototype.parse=function(A){var t=this,r=A.counterIncrement,B=A.counterReset,n=!0;r!==null&&r.forEach(function(i){var a=t.counters[i.counter];a&&i.increment!==0&&(n=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=i.increment)});var s=[];return n&&B.forEach(function(i){var a=t.counters[i.counter];s.push(i.counter),a||(a=t.counters[i.counter]=[]),a.push(i.reset)}),s},e}(),JB={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},PB={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Ro={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},NA=function(e,A,t,r,B,n){return et?we(e,B,n.length>0):r.integers.reduce(function(s,i,a){for(;e>=i;)e-=i,s+=r.values[a];return s},"")+n},kB=function(e,A,t,r){var B="";do t||e--,B=r(e)+B,e/=A;while(e*A>=A);return B},S=function(e,A,t,r,B){var n=t-A+1;return(e<0?"-":"")+(kB(Math.abs(e),n,r,function(s){return T(Math.floor(s%n)+A)})+B)},LA=function(e,A,t){t===void 0&&(t=". ");var r=A.length;return kB(Math.abs(e),r,!1,function(B){return A[Math.floor(B%r)]})+t},XA=1,dA=2,EA=4,ge=8,gA=function(e,A,t,r,B,n){if(e<-9999||e>9999)return we(e,4,B.length>0);var s=Math.abs(e),i=B;if(s===0)return A[0]+i;for(var a=0;s>0&&a<=4;a++){var o=s%10;o===0&&G(n,XA)&&i!==""?i=A[o]+i:o>1||o===1&&a===0||o===1&&a===1&&G(n,dA)||o===1&&a===1&&G(n,EA)&&e>100||o===1&&a>1&&G(n,ge)?i=A[o]+(a>0?t[a-1]:"")+i:o===1&&a>0&&(i=t[a-1]+i),s=Math.floor(s/10)}return(e<0?r:"")+i},YB="\u5341\u767E\u5343\u842C",WB="\u62FE\u4F70\u4EDF\u842C",ZB="\u30DE\u30A4\u30CA\u30B9",jr="\uB9C8\uC774\uB108\uC2A4",we=function(e,A,t){var r=t?". ":"",B=t?"\u3001":"",n=t?", ":"",s=t?" ":"";switch(A){case 0:return"\u2022"+s;case 1:return"\u25E6"+s;case 2:return"\u25FE"+s;case 5:var i=S(e,48,57,!0,r);return i.length<4?"0"+i:i;case 4:return LA(e,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B);case 6:return NA(e,1,3999,JB,3,r).toLowerCase();case 7:return NA(e,1,3999,JB,3,r);case 8:return S(e,945,969,!1,r);case 9:return S(e,97,122,!1,r);case 10:return S(e,65,90,!1,r);case 11:return S(e,1632,1641,!0,r);case 12:case 49:return NA(e,1,9999,PB,3,r);case 35:return NA(e,1,9999,PB,3,r).toLowerCase();case 13:return S(e,2534,2543,!0,r);case 14:case 30:return S(e,6112,6121,!0,r);case 15:return LA(e,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",B);case 16:return LA(e,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",B);case 17:case 48:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",YB,"\u8CA0",B,dA|EA|ge);case 47:return gA(e,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",WB,"\u8CA0",B,XA|dA|EA|ge);case 42:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",YB,"\u8D1F",B,dA|EA|ge);case 41:return gA(e,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",WB,"\u8D1F",B,XA|dA|EA|ge);case 26:return gA(e,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",ZB,B,0);case 25:return gA(e,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",ZB,B,XA|dA|EA);case 31:return gA(e,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",jr,n,XA|dA|EA);case 33:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",jr,n,0);case 32:return gA(e,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",jr,n,XA|dA|EA);case 18:return S(e,2406,2415,!0,r);case 20:return NA(e,1,19999,Ro,3,r);case 21:return S(e,2790,2799,!0,r);case 22:return S(e,2662,2671,!0,r);case 22:return NA(e,1,10999,Go,3,r);case 23:return LA(e,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return LA(e,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return S(e,3302,3311,!0,r);case 28:return LA(e,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",B);case 29:return LA(e,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",B);case 34:return S(e,3792,3801,!0,r);case 37:return S(e,6160,6169,!0,r);case 38:return S(e,4160,4169,!0,r);case 39:return S(e,2918,2927,!0,r);case 40:return S(e,1776,1785,!0,r);case 43:return S(e,3046,3055,!0,r);case 44:return S(e,3174,3183,!0,r);case 45:return S(e,3664,3673,!0,r);case 46:return S(e,3872,3881,!0,r);case 3:default:return S(e,48,57,!0,r)}},qB="data-html2canvas-ignore",jB=function(){function e(A,t,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Mo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,t){var r=this,B=Vo(A,t);if(!B.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,i=B.contentWindow,a=i.document,o=_o(B).then(function(){return k(r,void 0,void 0,function(){var Q,g;return _(this,function(w){switch(w.label){case 0:return this.scrolledElements.forEach(Yo),i&&(i.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==t.top||i.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-t.left,i.scrollY-t.top,0,0))),Q=this.options.onclone,g=this.clonedReferenceElement,typeof g>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:w.sent(),w.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Xo(a)]:[3,4];case 3:w.sent(),w.label=4;case 4:return typeof Q=="function"?[2,Promise.resolve().then(function(){return Q(a,g)}).then(function(){return B})]:[2,B]}})})});return a.open(),a.write(Po(document.doctype)+""),ko(this.referenceElement.ownerDocument,n,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),o},e.prototype.createElementClone=function(A){if(Tr(A,2))debugger;if(GB(A))return this.createCanvasClone(A);if(RB(A))return this.createVideoClone(A);if(NB(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return qr(t)&&(qr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),_B(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return zr(A.style,t),t},e.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(n,s){return s&&typeof s.cssText=="string"?n+s.cssText:n},""),B=A.cloneNode(!1);return B.textContent=r,B}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),n.name!=="SecurityError")throw n}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var B=A.cloneNode(!1);try{B.width=A.width,B.height=A.height;var n=A.getContext("2d"),s=B.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var i=(t=A.getContext("webgl2"))!==null&&t!==void 0?t:A.getContext("webgl");if(i){var a=i.getContextAttributes();a?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return B}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return B},e.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var B=A.ownerDocument.createElement("canvas");return B.width=A.offsetWidth,B.height=A.offsetHeight,B},e.prototype.appendChildNode=function(A,t,r){(!VA(t)||!Oo(t)&&!t.hasAttribute(qB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!VA(t)||!NB(t))&&A.appendChild(this.cloneNode(t,r))},e.prototype.cloneChildNodes=function(A,t,r){for(var B=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(VA(n)&&XB(n)&&typeof n.assignedNodes=="function"){var s=n.assignedNodes();s.length&&s.forEach(function(i){return B.appendChildNode(t,i,r)})}else this.appendChildNode(t,n,r)},e.prototype.cloneNode=function(A,t){if(OB(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&VA(A)&&(Wr(A)||je(A))){var B=this.createElementClone(A);B.style.transitionProperty="none";var n=r.getComputedStyle(A),s=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&Wr(B)&&(this.clonedReferenceElement=B),Zr(B)&&qo(B);var a=this.counters.parse(new gB(this.context,n)),o=this.resolvePseudoContent(A,B,s,Ar.BEFORE);_B(A)&&(t=!0),RB(A)||this.cloneChildNodes(A,B,t),o&&B.insertBefore(o,B.firstChild);var Q=this.resolvePseudoContent(A,B,i,Ar.AFTER);return Q&&B.appendChild(Q),this.counters.pop(a),(n&&(this.options.copyStyles||je(A))&&!VB(A)||t)&&zr(n,B),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([B,A.scrollLeft,A.scrollTop]),(ze(A)||$e(A))&&(ze(B)||$e(B))&&(B.value=A.value),B}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,t,r,B){var n=this;if(r){var s=r.content,i=t.ownerDocument;if(!(!i||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new gB(this.context,r));var a=new Di(this.context,r),o=i.createElement("html2canvaspseudoelement");zr(r,o),a.content.forEach(function(g){if(g.type===0)o.appendChild(i.createTextNode(g.value));else if(g.type===22){var w=i.createElement("img");w.src=g.value,w.style.opacity="1",o.appendChild(w)}else if(g.type===18){if(g.name==="attr"){var f=g.values.filter(L);f.length&&o.appendChild(i.createTextNode(A.getAttribute(f[0].value)||""))}else if(g.name==="counter"){var c=g.values.filter(RA),C=c[0],H=c[1];if(C&&L(C)){var h=n.counters.getCounterValue(C.value),F=H&&L(H)?xr.parse(n.context,H.value):3;o.appendChild(i.createTextNode(we(h,F,!1)))}}else if(g.name==="counters"){var K=g.values.filter(RA),C=K[0],p=K[1],H=K[2];if(C&&L(C)){var d=n.counters.getCounterValues(C.value),l=H&&L(H)?xr.parse(n.context,H.value):3,v=p&&p.type===0?p.value:"",y=d.map(function(W){return we(W,l,!1)}).join(v);o.appendChild(i.createTextNode(y))}}}else if(g.type===20)switch(g.value){case"open-quote":o.appendChild(i.createTextNode(QB(a.quotes,n.quoteDepth++,!0)));break;case"close-quote":o.appendChild(i.createTextNode(QB(a.quotes,--n.quoteDepth,!1)));break;default:o.appendChild(i.createTextNode(g.value))}}),o.className=$r+" "+At;var Q=B===Ar.BEFORE?" "+$r:" "+At;return je(t)?t.className.baseValue+=Q:t.className+=Q,o}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e}(),Ar=function(e){return e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER",e}(Ar||{}),Vo=function(e,A){var t=e.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute(qB,"true"),e.body.appendChild(t),t},No=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},Xo=function(e){return Promise.all([].slice.call(e.images,0).map(No))},_o=function(e){return new Promise(function(A,t){var r=e.contentWindow;if(!r)return t("No window assigned for iframe");var B=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){B.body.childNodes.length>0&&B.readyState==="complete"&&(clearInterval(n),A(e))},50)}})},Jo=["all","d","content"],zr=function(e,A){for(var t=e.length-1;t>=0;t--){var r=e.item(t);Jo.indexOf(r)===-1&&A.style.setProperty(r,e.getPropertyValue(r))}return A},Po=function(e){var A="";return e&&(A+=""),A},ko=function(e,A,t){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||t!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,t)},Yo=function(e){var A=e[0],t=e[1],r=e[2];A.scrollLeft=t,A.scrollTop=r},Wo=":before",Zo=":after",$r="___html2canvas___pseudoelement_before",At="___html2canvas___pseudoelement_after",zB=`{
-    content: "" !important;
-    display: none !important;
-}`,qo=function(e){jo(e,"."+$r+Wo+zB+`
-         .`+At+Zo+zB)},jo=function(e,A){var t=e.ownerDocument;if(t){var r=t.createElement("style");r.textContent=A,e.appendChild(r)}},$B=function(){function e(){}return e.getOrigin=function(A){var t=e._link;return t?(t.href=A,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e}(),zo=function(){function e(A,t){this.context=A,this._options=t,this._cache={}}return e.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)||(rt(A)||rQ(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),t},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return k(this,void 0,void 0,function(){var t,r,B,n,s=this;return _(this,function(i){switch(i.label){case 0:return t=$B.isSameOrigin(A),r=!et(A)&&this._options.useCORS===!0&&N.SUPPORT_CORS_IMAGES&&!t,B=!et(A)&&!t&&!rt(A)&&typeof this._options.proxy=="string"&&N.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!et(A)&&!rt(A)&&!B&&!r?[2]:(n=A,B?[4,this.proxy(n)]:[3,2]);case 1:n=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(a,o){var Q=new Image;Q.onload=function(){return a(Q)},Q.onerror=o,(tQ(n)||r)&&(Q.crossOrigin="anonymous"),Q.src=n,Q.complete===!0&&setTimeout(function(){return a(Q)},500),s._options.imageTimeout>0&&setTimeout(function(){return o("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var B=A.substring(0,256);return new Promise(function(n,s){var i=N.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(i==="text")n(a.response);else{var g=new FileReader;g.addEventListener("load",function(){return n(g.result)},!1),g.addEventListener("error",function(w){return s(w)},!1),g.readAsDataURL(a.response)}else s("Failed to proxy resource "+B+" with status code "+a.status)},a.onerror=s;var o=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+o+"url="+encodeURIComponent(A)+"&responseType="+i),i!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=i),t._options.imageTimeout){var Q=t._options.imageTimeout;a.timeout=Q,a.ontimeout=function(){return s("Timed out ("+Q+"ms) proxying "+B)}}a.send()})},e}(),$o=/^data:image\/svg\+xml/i,AQ=/^data:image\/.*;base64,/i,eQ=/^data:image\/.*/i,rQ=function(e){return N.SUPPORT_SVG_DRAWING||!BQ(e)},et=function(e){return eQ.test(e)},tQ=function(e){return AQ.test(e)},rt=function(e){return e.substr(0,4)==="blob"},BQ=function(e){return e.substr(-3).toLowerCase()==="svg"||$o.test(e)},u=function(){function e(A,t){this.type=0,this.x=A,this.y=t}return e.prototype.add=function(A,t){return new e(this.x+A,this.y+t)},e}(),_A=function(e,A,t){return new u(e.x+(A.x-e.x)*t,e.y+(A.y-e.y)*t)},er=function(){function e(A,t,r,B){this.type=1,this.start=A,this.startControl=t,this.endControl=r,this.end=B}return e.prototype.subdivide=function(A,t){var r=_A(this.start,this.startControl,A),B=_A(this.startControl,this.endControl,A),n=_A(this.endControl,this.end,A),s=_A(r,B,A),i=_A(B,n,A),a=_A(s,i,A);return t?new e(this.start,r,s,a):new e(a,i,n,this.end)},e.prototype.add=function(A,t){return new e(this.start.add(A,t),this.startControl.add(A,t),this.endControl.add(A,t),this.end.add(A,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),eA=function(e){return e.type===1},nQ=function(){function e(A){var t=A.styles,r=A.bounds,B=se(t.borderTopLeftRadius,r.width,r.height),n=B[0],s=B[1],i=se(t.borderTopRightRadius,r.width,r.height),a=i[0],o=i[1],Q=se(t.borderBottomRightRadius,r.width,r.height),g=Q[0],w=Q[1],f=se(t.borderBottomLeftRadius,r.width,r.height),c=f[0],C=f[1],H=[];H.push((n+a)/r.width),H.push((c+g)/r.width),H.push((s+C)/r.height),H.push((o+w)/r.height);var h=Math.max.apply(Math,H);h>1&&(n/=h,s/=h,a/=h,o/=h,g/=h,w/=h,c/=h,C/=h);var F=r.width-a,K=r.height-w,p=r.width-g,d=r.height-C,l=t.borderTopWidth,v=t.borderRightWidth,y=t.borderBottomWidth,E=t.borderLeftWidth,M=b(t.paddingTop,A.bounds.width),W=b(t.paddingRight,A.bounds.width),z=b(t.paddingBottom,A.bounds.width),D=b(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||s>0?x(r.left+E/3,r.top+l/3,n-E/3,s-l/3,m.TOP_LEFT):new u(r.left+E/3,r.top+l/3),this.topRightBorderDoubleOuterBox=n>0||s>0?x(r.left+F,r.top+l/3,a-v/3,o-l/3,m.TOP_RIGHT):new u(r.left+r.width-v/3,r.top+l/3),this.bottomRightBorderDoubleOuterBox=g>0||w>0?x(r.left+p,r.top+K,g-v/3,w-y/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v/3,r.top+r.height-y/3),this.bottomLeftBorderDoubleOuterBox=c>0||C>0?x(r.left+E/3,r.top+d,c-E/3,C-y/3,m.BOTTOM_LEFT):new u(r.left+E/3,r.top+r.height-y/3),this.topLeftBorderDoubleInnerBox=n>0||s>0?x(r.left+E*2/3,r.top+l*2/3,n-E*2/3,s-l*2/3,m.TOP_LEFT):new u(r.left+E*2/3,r.top+l*2/3),this.topRightBorderDoubleInnerBox=n>0||s>0?x(r.left+F,r.top+l*2/3,a-v*2/3,o-l*2/3,m.TOP_RIGHT):new u(r.left+r.width-v*2/3,r.top+l*2/3),this.bottomRightBorderDoubleInnerBox=g>0||w>0?x(r.left+p,r.top+K,g-v*2/3,w-y*2/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v*2/3,r.top+r.height-y*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||C>0?x(r.left+E*2/3,r.top+d,c-E*2/3,C-y*2/3,m.BOTTOM_LEFT):new u(r.left+E*2/3,r.top+r.height-y*2/3),this.topLeftBorderStroke=n>0||s>0?x(r.left+E/2,r.top+l/2,n-E/2,s-l/2,m.TOP_LEFT):new u(r.left+E/2,r.top+l/2),this.topRightBorderStroke=n>0||s>0?x(r.left+F,r.top+l/2,a-v/2,o-l/2,m.TOP_RIGHT):new u(r.left+r.width-v/2,r.top+l/2),this.bottomRightBorderStroke=g>0||w>0?x(r.left+p,r.top+K,g-v/2,w-y/2,m.BOTTOM_RIGHT):new u(r.left+r.width-v/2,r.top+r.height-y/2),this.bottomLeftBorderStroke=c>0||C>0?x(r.left+E/2,r.top+d,c-E/2,C-y/2,m.BOTTOM_LEFT):new u(r.left+E/2,r.top+r.height-y/2),this.topLeftBorderBox=n>0||s>0?x(r.left,r.top,n,s,m.TOP_LEFT):new u(r.left,r.top),this.topRightBorderBox=a>0||o>0?x(r.left+F,r.top,a,o,m.TOP_RIGHT):new u(r.left+r.width,r.top),this.bottomRightBorderBox=g>0||w>0?x(r.left+p,r.top+K,g,w,m.BOTTOM_RIGHT):new u(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||C>0?x(r.left,r.top+d,c,C,m.BOTTOM_LEFT):new u(r.left,r.top+r.height),this.topLeftPaddingBox=n>0||s>0?x(r.left+E,r.top+l,Math.max(0,n-E),Math.max(0,s-l),m.TOP_LEFT):new u(r.left+E,r.top+l),this.topRightPaddingBox=a>0||o>0?x(r.left+Math.min(F,r.width-v),r.top+l,F>r.width+v?0:Math.max(0,a-v),Math.max(0,o-l),m.TOP_RIGHT):new u(r.left+r.width-v,r.top+l),this.bottomRightPaddingBox=g>0||w>0?x(r.left+Math.min(p,r.width-E),r.top+Math.min(K,r.height-y),Math.max(0,g-v),Math.max(0,w-y),m.BOTTOM_RIGHT):new u(r.left+r.width-v,r.top+r.height-y),this.bottomLeftPaddingBox=c>0||C>0?x(r.left+E,r.top+Math.min(d,r.height-y),Math.max(0,c-E),Math.max(0,C-y),m.BOTTOM_LEFT):new u(r.left+E,r.top+r.height-y),this.topLeftContentBox=n>0||s>0?x(r.left+E+D,r.top+l+M,Math.max(0,n-(E+D)),Math.max(0,s-(l+M)),m.TOP_LEFT):new u(r.left+E+D,r.top+l+M),this.topRightContentBox=a>0||o>0?x(r.left+Math.min(F,r.width+E+D),r.top+l+M,F>r.width+E+D?0:a-E+D,o-(l+M),m.TOP_RIGHT):new u(r.left+r.width-(v+W),r.top+l+M),this.bottomRightContentBox=g>0||w>0?x(r.left+Math.min(p,r.width-(E+D)),r.top+Math.min(K,r.height+l+M),Math.max(0,g-(v+W)),w-(y+z),m.BOTTOM_RIGHT):new u(r.left+r.width-(v+W),r.top+r.height-(y+z)),this.bottomLeftContentBox=c>0||C>0?x(r.left+E+D,r.top+d,Math.max(0,c-(E+D)),C-(y+z),m.BOTTOM_LEFT):new u(r.left+E+D,r.top+r.height-(y+z))}return e}(),m=function(e){return e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT",e}(m||{}),x=function(e,A,t,r,B){var n=4*((Math.sqrt(2)-1)/3),s=t*n,i=r*n,a=e+t,o=A+r;switch(B){case m.TOP_LEFT:return new er(new u(e,o),new u(e,o-i),new u(a-s,A),new u(a,A));case m.TOP_RIGHT:return new er(new u(e,A),new u(e+s,A),new u(a,o-i),new u(a,o));case m.BOTTOM_RIGHT:return new er(new u(a,A),new u(a,A+i),new u(e+s,o),new u(e,o));case m.BOTTOM_LEFT:default:return new er(new u(a,o),new u(a-s,o),new u(e,A+i),new u(e,A))}},rr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},sQ=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},tr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},aQ=function(){function e(A,t,r){this.offsetX=A,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return e}(),Br=function(){function e(A,t){this.path=A,this.target=t,this.type=1}return e}(),iQ=function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e}(),oQ=function(e){return e.type===0},An=function(e){return e.type===1},QQ=function(e){return e.type===2},en=function(e,A){return e.length===A.length?e.some(function(t,r){return t===A[r]}):!1},gQ=function(e,A,t,r,B){return e.map(function(n,s){switch(s){case 0:return n.add(A,t);case 1:return n.add(A+r,t);case 2:return n.add(A+r,t+B);case 3:return n.add(A,t+B)}return n})},rn=function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),tn=function(){function e(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new nQ(this.container),this.container.styles.opacity<1&&this.effects.push(new iQ(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,B=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new aQ(r,B,n))}if(this.container.styles.overflowX!==0){var s=rr(this.curves),i=tr(this.curves);en(s,i)?this.effects.push(new Br(s,6)):(this.effects.push(new Br(s,2)),this.effects.push(new Br(i,4)))}}return e.prototype.getEffects=function(A){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,B=this.effects.slice(0);r;){var n=r.effects.filter(function(a){return!An(a)});if(t||r.container.styles.position!==0||!r.parent){if(B.unshift.apply(B,n),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=rr(r.curves),i=tr(r.curves);en(s,i)||B.unshift(new Br(i,6))}}else B.unshift.apply(B,n);r=r.parent}return B.filter(function(a){return G(a.target,A)})},e}(),tt=function(e,A,t,r){e.container.elements.forEach(function(B){var n=G(B.flags,4),s=G(B.flags,2),i=new tn(B,e);G(B.styles.display,2048)&&r.push(i);var a=G(B.flags,8)?[]:r;if(n||s){var o=n||B.styles.isPositioned()?t:A,Q=new rn(i);if(B.styles.isPositioned()||B.styles.opacity<1||B.styles.isTransformed()){var g=B.styles.zIndex.order;if(g<0){var w=0;o.negativeZIndex.some(function(c,C){return g>c.element.container.styles.zIndex.order?(w=C,!1):w>0}),o.negativeZIndex.splice(w,0,Q)}else if(g>0){var f=0;o.positiveZIndex.some(function(c,C){return g>=c.element.container.styles.zIndex.order?(f=C+1,!1):f>0}),o.positiveZIndex.splice(f,0,Q)}else o.zeroOrAutoZIndexOrTransformedOrOpacity.push(Q)}else B.styles.isFloating()?o.nonPositionedFloats.push(Q):o.nonPositionedInlineLevel.push(Q);tt(i,Q,n?Q:t,a)}else B.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),tt(i,A,t,a);G(B.flags,8)&&Bn(B,a)})},Bn=function(e,A){for(var t=e instanceof kr?e.start:1,r=e instanceof kr?e.reversed:!1,B=0;B"u"?e[0]:t},FQ=function(e,A,t,r,B){var n=A[0],s=A[1],i=t[0],a=t[1];switch(e){case 2:return[new u(Math.round(r.left),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(a+r.top+s)),new u(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new u(Math.round(r.left+n),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.height+r.top)),new u(Math.round(r.left+n),Math.round(r.height+r.top))];case 1:return[new u(Math.round(r.left+n),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s+a)),new u(Math.round(r.left+n),Math.round(r.top+s+a))];default:return[new u(Math.round(B.left),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.height+B.top)),new u(Math.round(B.left),Math.round(B.height+B.top))]}},hQ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",an="Hidden Text",dQ=function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,t){var r=this._document.createElement("div"),B=this._document.createElement("img"),n=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),B.src=hQ,B.width=1,B.height=1,B.style.margin="0",B.style.padding="0",B.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(an)),r.appendChild(n),r.appendChild(B);var i=B.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(an)),r.style.lineHeight="normal",B.style.verticalAlign="super";var a=B.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:i,middle:a}},e.prototype.getMetrics=function(A,t){var r=A+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,t)),this._data[r]},e}(),on=function(){function e(A,t){this.context=A,this.options=t}return e}(),EQ=1e4,HQ=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B._activeEffects=[],B.canvas=r.canvas?r.canvas:document.createElement("canvas"),B.ctx=B.canvas.getContext("2d"),r.canvas||(B.canvas.width=Math.floor(r.width*r.scale),B.canvas.height=Math.floor(r.height*r.scale),B.canvas.style.width=r.width+"px",B.canvas.style.height=r.height+"px"),B.fontMetrics=new dQ(document),B.ctx.scale(B.options.scale,B.options.scale),B.ctx.translate(-r.x,-r.y),B.ctx.textBaseline="bottom",B._activeEffects=[],B.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),B}return A.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(B){return r.applyEffect(B)})},A.prototype.applyEffect=function(t){this.ctx.save(),QQ(t)&&(this.ctx.globalAlpha=t.opacity),oQ(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),An(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(t){return k(this,void 0,void 0,function(){var r;return _(this,function(B){switch(B.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:B.sent(),B.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(t){return k(this,void 0,void 0,function(){return _(this,function(r){switch(r.label){case 0:if(G(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(t,r,B){var n=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+B);else{var s=Pr(t.text);s.reduce(function(i,a){return n.ctx.fillText(a,i,t.bounds.top+B),i+n.ctx.measureText(a).width},t.bounds.left)}},A.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),B=KQ(t.fontFamily).join(", "),n=ne(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,n,B].join(" "),B,n]},A.prototype.renderTextNode=function(t,r){return k(this,void 0,void 0,function(){var B,n,s,i,a,o,Q,g,w=this;return _(this,function(f){return B=this.createFontStyle(r),n=B[0],s=B[1],i=B[2],this.ctx.font=n,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,i),o=a.baseline,Q=a.middle,g=r.paintOrder,t.textBounds.forEach(function(c){g.forEach(function(C){switch(C){case 0:w.ctx.fillStyle=R(r.color),w.renderTextWithLetterSpacing(c,r.letterSpacing,o);var H=r.textShadow;H.length&&c.text.trim().length&&(H.slice(0).reverse().forEach(function(h){w.ctx.shadowColor=R(h.color),w.ctx.shadowOffsetX=h.offsetX.number*w.options.scale,w.ctx.shadowOffsetY=h.offsetY.number*w.options.scale,w.ctx.shadowBlur=h.blur.number,w.renderTextWithLetterSpacing(c,r.letterSpacing,o)}),w.ctx.shadowColor="",w.ctx.shadowOffsetX=0,w.ctx.shadowOffsetY=0,w.ctx.shadowBlur=0),r.textDecorationLine.length&&(w.ctx.fillStyle=R(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(h){switch(h){case 1:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top+o),c.bounds.width,1);break;case 2:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top),c.bounds.width,1);break;case 3:w.ctx.fillRect(c.bounds.left,Math.ceil(c.bounds.top+Q),c.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&c.text.trim().length&&(w.ctx.strokeStyle=R(r.webkitTextStrokeColor),w.ctx.lineWidth=r.webkitTextStrokeWidth,w.ctx.lineJoin=window.chrome?"miter":"round",w.ctx.strokeText(c.text,c.bounds.left,c.bounds.top+o)),w.ctx.strokeStyle="",w.ctx.lineWidth=0,w.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(t,r,B){if(B&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var n=sr(t),s=tr(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(B,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return k(this,void 0,void 0,function(){var r,B,n,s,i,a,F,F,o,Q,g,w,p,f,c,d,C,H,h,F,K,p,d;return _(this,function(l){switch(l.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,B=t.curves,n=r.styles,s=0,i=r.textNodes,l.label=1;case 1:return s0&&X>0&&(y=n.ctx.createPattern(d,"repeat"),n.renderRepeat(M,y,Z,q))):oa(Q)&&(E=Bt(t,r,[null,null,null]),M=E[0],W=E[1],z=E[2],D=E[3],X=E[4],HA=Q.position.length===0?[mr]:Q.position,Z=b(HA[0],D),q=b(HA[HA.length-1],X),DA=Ba(Q,Z,q,D,X),aA=DA[0],pA=DA[1],aA>0&&pA>0&&(bA=n.ctx.createRadialGradient(W+Z,z+q,0,W+Z,z+q,aA),qt(Q.stops,aA*2).forEach(function(ce){return bA.addColorStop(ce.stop,R(ce.color))}),n.path(M),n.ctx.fillStyle=bA,aA!==pA?(xA=t.bounds.left+.5*t.bounds.width,wA=t.bounds.top+.5*t.bounds.height,TA=pA/aA,cA=1/TA,n.ctx.save(),n.ctx.translate(xA,wA),n.ctx.transform(1,0,0,TA,0,0),n.ctx.translate(-xA,-wA),n.ctx.fillRect(W,cA*(z-wA)+wA,D,X*cA),n.ctx.restore()):n.ctx.fill())),kA.label=6;case 6:return r--,[2]}})},n=this,s=0,i=t.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return s0?Q.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,2)]:[3,11]):[3,13];case 4:return w.sent(),[3,11];case 5:return Q.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,3)];case 6:return w.sent(),[3,11];case 7:return Q.style!==4?[3,9]:[4,this.renderDoubleBorder(Q.color,Q.width,i,t.curves)];case 8:return w.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Q.color,i,t.curves)];case 10:w.sent(),w.label=11;case 11:i++,w.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(t,r,B,n,s){return k(this,void 0,void 0,function(){var i,a,o,Q,g,w,f,c,C,H,h,F,K,p,d,l,d,l;return _(this,function(v){return this.ctx.save(),i=uQ(n,B),a=nn(n,B),s===2&&(this.path(a),this.ctx.clip()),eA(a[0])?(o=a[0].start.x,Q=a[0].start.y):(o=a[0].x,Q=a[0].y),eA(a[1])?(g=a[1].end.x,w=a[1].end.y):(g=a[1].x,w=a[1].y),B===0||B===2?f=Math.abs(o-g):f=Math.abs(Q-w),this.ctx.beginPath(),s===3?this.formatPath(i):this.formatPath(a.slice(0,2)),c=r<3?r*3:r*2,C=r<3?r*2:r,s===3&&(c=r,C=r),H=!0,f<=c*2?H=!1:f<=c*2+C?(h=f/(2*c+C),c*=h,C*=h):(F=Math.floor((f+C)/(c+C)),K=(f-F*c)/(F-1),p=(f-(F+1)*c)/F,C=p<=0||Math.abs(C-K){"use strict";var br=function(i){return i&&i.Math===Math&&i};Us.exports=br(typeof globalThis=="object"&&globalThis)||br(typeof window=="object"&&window)||br(typeof self=="object"&&self)||br(typeof global=="object"&&global)||br(typeof Ii=="object"&&Ii)||function(){return this}()||Function("return this")()});var _=d((VO,js)=>{"use strict";js.exports=function(i){try{return!!i()}catch{return!0}}});var ue=d((_O,Fs)=>{"use strict";var Tg=_();Fs.exports=!Tg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var xr=d((DO,zs)=>{"use strict";var Og=_();zs.exports=!Og(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=d((LO,$s)=>{"use strict";var Sg=xr(),st=Function.prototype.call;$s.exports=Sg?st.bind(st):function(){return st.apply(st,arguments)}});var Xs=d(Ys=>{"use strict";var Gs={}.propertyIsEnumerable,Hs=Object.getOwnPropertyDescriptor,Eg=Hs&&!Gs.call({1:2},1);Ys.f=Eg?function(e){var r=Hs(this,e);return!!r&&r.enumerable}:Gs});var ot=d((BO,Ws)=>{"use strict";Ws.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var D=d((UO,Zs)=>{"use strict";var Qs=xr(),Ks=Function.prototype,Mi=Ks.call,wg=Qs&&Ks.bind.bind(Mi,Mi);Zs.exports=Qs?wg:function(i){return function(){return Mi.apply(i,arguments)}}});var Pe=d((jO,eo)=>{"use strict";var Js=D(),Cg=Js({}.toString),qg=Js("".slice);eo.exports=function(i){return qg(Cg(i),8,-1)}});var _i=d((FO,ro)=>{"use strict";var Pg=D(),Ag=_(),Rg=Pe(),Vi=Object,Ng=Pg("".split);ro.exports=Ag(function(){return!Vi("z").propertyIsEnumerable(0)})?function(i){return Rg(i)==="String"?Ng(i,""):Vi(i)}:Vi});var Tr=d((zO,to)=>{"use strict";to.exports=function(i){return i==null}});var le=d(($O,io)=>{"use strict";var Ig=Tr(),Mg=TypeError;io.exports=function(i){if(Ig(i))throw new Mg("Can't call method on "+i);return i}});var Qe=d((GO,ao)=>{"use strict";var Vg=_i(),_g=le();ao.exports=function(i){return Vg(_g(i))}});var k=d((HO,no)=>{"use strict";var Di=typeof document=="object"&&document.all;no.exports=typeof Di>"u"&&Di!==void 0?function(i){return typeof i=="function"||i===Di}:function(i){return typeof i=="function"}});var te=d((YO,so)=>{"use strict";var Dg=k();so.exports=function(i){return typeof i=="object"?i!==null:Dg(i)}});var Ae=d((XO,oo)=>{"use strict";var Li=M(),Lg=k(),kg=function(i){return Lg(i)?i:void 0};oo.exports=function(i,e){return arguments.length<2?kg(Li[i]):Li[i]&&Li[i][e]}});var Or=d((WO,uo)=>{"use strict";var Bg=D();uo.exports=Bg({}.isPrototypeOf)});var Ke=d((QO,co)=>{"use strict";var Ug=M(),lo=Ug.navigator,ho=lo&&lo.userAgent;co.exports=ho?String(ho):""});var lt=d((KO,mo)=>{"use strict";var yo=M(),ki=Ke(),fo=yo.process,vo=yo.Deno,go=fo&&fo.versions||vo&&vo.version,po=go&&go.v8,fe,ut;po&&(fe=po.split("."),ut=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ut&&ki&&(fe=ki.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=ki.match(/Chrome\/(\d+)/),fe&&(ut=+fe[1])));mo.exports=ut});var Bi=d((ZO,xo)=>{"use strict";var bo=lt(),jg=_(),Fg=M(),zg=Fg.String;xo.exports=!!Object.getOwnPropertySymbols&&!jg(function(){var i=Symbol("symbol detection");return!zg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&bo&&bo<41})});var Ui=d((JO,To)=>{"use strict";var $g=Bi();To.exports=$g&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var ji=d((eS,Oo)=>{"use strict";var Gg=Ae(),Hg=k(),Yg=Or(),Xg=Ui(),Wg=Object;Oo.exports=Xg?function(i){return typeof i=="symbol"}:function(i){var e=Gg("Symbol");return Hg(e)&&Yg(e.prototype,Wg(i))}});var Sr=d((rS,So)=>{"use strict";var Qg=String;So.exports=function(i){try{return Qg(i)}catch{return"Object"}}});var be=d((tS,Eo)=>{"use strict";var Kg=k(),Zg=Sr(),Jg=TypeError;Eo.exports=function(i){if(Kg(i))return i;throw new Jg(Zg(i)+" is not a function")}});var ke=d((iS,wo)=>{"use strict";var ed=be(),rd=Tr();wo.exports=function(i,e){var r=i[e];return rd(r)?void 0:ed(r)}});var qo=d((aS,Co)=>{"use strict";var Fi=H(),zi=k(),$i=te(),td=TypeError;Co.exports=function(i,e){var r,t;if(e==="string"&&zi(r=i.toString)&&!$i(t=Fi(r,i))||zi(r=i.valueOf)&&!$i(t=Fi(r,i))||e!=="string"&&zi(r=i.toString)&&!$i(t=Fi(r,i)))return t;throw new td("Can't convert object to primitive value")}});var ve=d((nS,Po)=>{"use strict";Po.exports=!1});var ht=d((sS,Ro)=>{"use strict";var Ao=M(),id=Object.defineProperty;Ro.exports=function(i,e){try{id(Ao,i,{value:e,configurable:!0,writable:!0})}catch{Ao[i]=e}return e}});var ct=d((oS,Mo)=>{"use strict";var ad=ve(),nd=M(),sd=ht(),No="__core-js_shared__",Io=Mo.exports=nd[No]||sd(No,{});(Io.versions||(Io.versions=[])).push({version:"3.43.0",mode:ad?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var ft=d((uS,_o)=>{"use strict";var Vo=ct();_o.exports=function(i,e){return Vo[i]||(Vo[i]=e||{})}});var Er=d((lS,Do)=>{"use strict";var od=le(),ud=Object;Do.exports=function(i){return ud(od(i))}});var he=d((hS,Lo)=>{"use strict";var ld=D(),hd=Er(),cd=ld({}.hasOwnProperty);Lo.exports=Object.hasOwn||function(e,r){return cd(hd(e),r)}});var Gi=d((cS,ko)=>{"use strict";var fd=D(),vd=0,gd=Math.random(),dd=fd(1.1.toString);ko.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+dd(++vd+gd,36)}});var z=d((fS,Uo)=>{"use strict";var pd=M(),yd=ft(),Bo=he(),md=Gi(),bd=Bi(),xd=Ui(),Ze=pd.Symbol,Hi=yd("wks"),Td=xd?Ze.for||Ze:Ze&&Ze.withoutSetter||md;Uo.exports=function(i){return Bo(Hi,i)||(Hi[i]=bd&&Bo(Ze,i)?Ze[i]:Td("Symbol."+i)),Hi[i]}});var $o=d((vS,zo)=>{"use strict";var Od=H(),jo=te(),Fo=ji(),Sd=ke(),Ed=qo(),wd=z(),Cd=TypeError,qd=wd("toPrimitive");zo.exports=function(i,e){if(!jo(i)||Fo(i))return i;var r=Sd(i,qd),t;if(r){if(e===void 0&&(e="default"),t=Od(r,i,e),!jo(t)||Fo(t))return t;throw new Cd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Ed(i,e)}});var Yi=d((gS,Go)=>{"use strict";var Pd=$o(),Ad=ji();Go.exports=function(i){var e=Pd(i,"string");return Ad(e)?e:e+""}});var wr=d((dS,Yo)=>{"use strict";var Rd=M(),Ho=te(),Xi=Rd.document,Nd=Ho(Xi)&&Ho(Xi.createElement);Yo.exports=function(i){return Nd?Xi.createElement(i):{}}});var Wi=d((pS,Xo)=>{"use strict";var Id=ue(),Md=_(),Vd=wr();Xo.exports=!Id&&!Md(function(){return Object.defineProperty(Vd("div"),"a",{get:function(){return 7}}).a!==7})});var Cr=d(Qo=>{"use strict";var _d=ue(),Dd=H(),Ld=Xs(),kd=ot(),Bd=Qe(),Ud=Yi(),jd=he(),Fd=Wi(),Wo=Object.getOwnPropertyDescriptor;Qo.f=_d?Wo:function(e,r){if(e=Bd(e),r=Ud(r),Fd)try{return Wo(e,r)}catch{}if(jd(e,r))return kd(!Dd(Ld.f,e,r),e[r])}});var Qi=d((mS,Ko)=>{"use strict";var zd=ue(),$d=_();Ko.exports=zd&&$d(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=d((bS,Zo)=>{"use strict";var Gd=te(),Hd=String,Yd=TypeError;Zo.exports=function(i){if(Gd(i))return i;throw new Yd(Hd(i)+" is not an object")}});var Te=d(eu=>{"use strict";var Xd=ue(),Wd=Wi(),Qd=Qi(),vt=J(),Jo=Yi(),Kd=TypeError,Ki=Object.defineProperty,Zd=Object.getOwnPropertyDescriptor,Zi="enumerable",Ji="configurable",ea="writable";eu.f=Xd?Qd?function(e,r,t){if(vt(e),r=Jo(r),vt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&ea in t&&!t[ea]){var a=Zd(e,r);a&&a[ea]&&(e[r]=t.value,t={configurable:Ji in t?t[Ji]:a[Ji],enumerable:Zi in t?t[Zi]:a[Zi],writable:!1})}return Ki(e,r,t)}:Ki:function(e,r,t){if(vt(e),r=Jo(r),vt(t),Wd)try{return Ki(e,r,t)}catch{}if("get"in t||"set"in t)throw new Kd("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var Je=d((TS,ru)=>{"use strict";var Jd=ue(),ep=Te(),rp=ot();ru.exports=Jd?function(i,e,r){return ep.f(i,e,rp(1,r))}:function(i,e,r){return i[e]=r,i}});var qr=d((OS,iu)=>{"use strict";var ra=ue(),tp=he(),tu=Function.prototype,ip=ra&&Object.getOwnPropertyDescriptor,ta=tp(tu,"name"),ap=ta&&function(){}.name==="something",np=ta&&(!ra||ra&&ip(tu,"name").configurable);iu.exports={EXISTS:ta,PROPER:ap,CONFIGURABLE:np}});var gt=d((SS,au)=>{"use strict";var sp=D(),op=k(),ia=ct(),up=sp(Function.toString);op(ia.inspectSource)||(ia.inspectSource=function(i){return up(i)});au.exports=ia.inspectSource});var ou=d((ES,su)=>{"use strict";var lp=M(),hp=k(),nu=lp.WeakMap;su.exports=hp(nu)&&/native code/.test(String(nu))});var dt=d((wS,lu)=>{"use strict";var cp=ft(),fp=Gi(),uu=cp("keys");lu.exports=function(i){return uu[i]||(uu[i]=fp(i))}});var pt=d((CS,hu)=>{"use strict";hu.exports={}});var Ar=d((qS,vu)=>{"use strict";var vp=ou(),fu=M(),gp=te(),dp=Je(),aa=he(),na=ct(),pp=dt(),yp=pt(),cu="Object already initialized",sa=fu.TypeError,mp=fu.WeakMap,yt,Pr,mt,bp=function(i){return mt(i)?Pr(i):yt(i,{})},xp=function(i){return function(e){var r;if(!gp(e)||(r=Pr(e)).type!==i)throw new sa("Incompatible receiver, "+i+" required");return r}};vp||na.state?(ge=na.state||(na.state=new mp),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,yt=function(i,e){if(ge.has(i))throw new sa(cu);return e.facade=i,ge.set(i,e),e},Pr=function(i){return ge.get(i)||{}},mt=function(i){return ge.has(i)}):(Be=pp("state"),yp[Be]=!0,yt=function(i,e){if(aa(i,Be))throw new sa(cu);return e.facade=i,dp(i,Be,e),e},Pr=function(i){return aa(i,Be)?i[Be]:{}},mt=function(i){return aa(i,Be)});var ge,Be;vu.exports={set:yt,get:Pr,has:mt,enforce:bp,getterFor:xp}});var la=d((PS,pu)=>{"use strict";var ua=D(),Tp=_(),Op=k(),bt=he(),oa=ue(),Sp=qr().CONFIGURABLE,Ep=gt(),du=Ar(),wp=du.enforce,Cp=du.get,gu=String,xt=Object.defineProperty,qp=ua("".slice),Pp=ua("".replace),Ap=ua([].join),Rp=oa&&!Tp(function(){return xt(function(){},"length",{value:8}).length!==8}),Np=String(String).split("String"),Ip=pu.exports=function(i,e,r){qp(gu(e),0,7)==="Symbol("&&(e="["+Pp(gu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!bt(i,"name")||Sp&&i.name!==e)&&(oa?xt(i,"name",{value:e,configurable:!0}):i.name=e),Rp&&r&&bt(r,"arity")&&i.length!==r.arity&&xt(i,"length",{value:r.arity});try{r&&bt(r,"constructor")&&r.constructor?oa&&xt(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=wp(i);return bt(t,"source")||(t.source=Ap(Np,typeof e=="string"?e:"")),i};Function.prototype.toString=Ip(function(){return Op(this)&&Cp(this).source||Ep(this)},"toString")});var Re=d((AS,yu)=>{"use strict";var Mp=k(),Vp=Te(),_p=la(),Dp=ht();yu.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Mp(r)&&_p(r,n,t),t.global)a?i[e]=r:Dp(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:Vp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var bu=d((RS,mu)=>{"use strict";var Lp=Math.ceil,kp=Math.floor;mu.exports=Math.trunc||function(e){var r=+e;return(r>0?kp:Lp)(r)}});var Rr=d((NS,xu)=>{"use strict";var Bp=bu();xu.exports=function(i){var e=+i;return e!==e||e===0?0:Bp(e)}});var Ou=d((IS,Tu)=>{"use strict";var Up=Rr(),jp=Math.max,Fp=Math.min;Tu.exports=function(i,e){var r=Up(i);return r<0?jp(r+e,0):Fp(r,e)}});var Ue=d((MS,Su)=>{"use strict";var zp=Rr(),$p=Math.min;Su.exports=function(i){var e=zp(i);return e>0?$p(e,9007199254740991):0}});var Tt=d((VS,Eu)=>{"use strict";var Gp=Ue();Eu.exports=function(i){return Gp(i.length)}});var ha=d((_S,Cu)=>{"use strict";var Hp=Qe(),Yp=Ou(),Xp=Tt(),wu=function(i){return function(e,r,t){var a=Hp(e),n=Xp(a);if(n===0)return!i&&-1;var o=Yp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Cu.exports={includes:wu(!0),indexOf:wu(!1)}});var fa=d((DS,Pu)=>{"use strict";var Wp=D(),ca=he(),Qp=Qe(),Kp=ha().indexOf,Zp=pt(),qu=Wp([].push);Pu.exports=function(i,e){var r=Qp(i),t=0,a=[],n;for(n in r)!ca(Zp,n)&&ca(r,n)&&qu(a,n);for(;e.length>t;)ca(r,n=e[t++])&&(~Kp(a,n)||qu(a,n));return a}});var Ot=d((LS,Au)=>{"use strict";Au.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Nu=d(Ru=>{"use strict";var Jp=fa(),ey=Ot(),ry=ey.concat("length","prototype");Ru.f=Object.getOwnPropertyNames||function(e){return Jp(e,ry)}});var Mu=d(Iu=>{"use strict";Iu.f=Object.getOwnPropertySymbols});var _u=d((US,Vu)=>{"use strict";var ty=Ae(),iy=D(),ay=Nu(),ny=Mu(),sy=J(),oy=iy([].concat);Vu.exports=ty("Reflect","ownKeys")||function(e){var r=ay.f(sy(e)),t=ny.f;return t?oy(r,t(e)):r}});var ku=d((jS,Lu)=>{"use strict";var Du=he(),uy=_u(),ly=Cr(),hy=Te();Lu.exports=function(i,e,r){for(var t=uy(e),a=hy.f,n=ly.f,o=0;o{"use strict";var cy=_(),fy=k(),vy=/#|\.prototype\./,Nr=function(i,e){var r=dy[gy(i)];return r===yy?!0:r===py?!1:fy(e)?cy(e):!!e},gy=Nr.normalize=function(i){return String(i).replace(vy,".").toLowerCase()},dy=Nr.data={},py=Nr.NATIVE="N",yy=Nr.POLYFILL="P";Bu.exports=Nr});var ee=d((zS,Uu)=>{"use strict";var St=M(),my=Cr().f,by=Je(),xy=Re(),Ty=ht(),Oy=ku(),Sy=va();Uu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=St:a?o=St[r]||Ty(r,{}):o=St[r]&&St[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=my(o,s),u=h&&h.value):u=o[s],n=Sy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;Oy(l,u)}(i.sham||u&&u.sham)&&by(l,"sham",!0),xy(o,s,l,i)}}});var ga=d(($S,ju)=>{"use strict";var Ir=M(),Ey=Ke(),wy=Pe(),Et=function(i){return Ey.slice(0,i.length)===i};ju.exports=function(){return Et("Bun/")?"BUN":Et("Cloudflare-Workers")?"CLOUDFLARE":Et("Deno/")?"DENO":Et("Node.js/")?"NODE":Ir.Bun&&typeof Bun.version=="string"?"BUN":Ir.Deno&&typeof Deno.version=="object"?"DENO":wy(Ir.process)==="process"?"NODE":Ir.window&&Ir.document?"BROWSER":"REST"}()});var Mr=d((GS,Fu)=>{"use strict";var Cy=ga();Fu.exports=Cy==="NODE"});var $u=d((HS,zu)=>{"use strict";var qy=M();zu.exports=qy});var Hu=d((YS,Gu)=>{"use strict";var Py=D(),Ay=be();Gu.exports=function(i,e,r){try{return Py(Ay(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Xu=d((XS,Yu)=>{"use strict";var Ry=te();Yu.exports=function(i){return Ry(i)||i===null}});var Qu=d((WS,Wu)=>{"use strict";var Ny=Xu(),Iy=String,My=TypeError;Wu.exports=function(i){if(Ny(i))return i;throw new My("Can't set "+Iy(i)+" as a prototype")}});var da=d((QS,Ku)=>{"use strict";var Vy=Hu(),_y=te(),Dy=le(),Ly=Qu();Ku.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,e={},r;try{r=Vy(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Dy(a),Ly(n),_y(a)&&(i?r(a,n):a.__proto__=n),a}}():void 0)});var Vr=d((KS,Ju)=>{"use strict";var ky=Te().f,By=he(),Uy=z(),Zu=Uy("toStringTag");Ju.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!By(i,Zu)&&ky(i,Zu,{configurable:!0,value:e})}});var tl=d((ZS,rl)=>{"use strict";var el=la(),jy=Te();rl.exports=function(i,e,r){return r.get&&el(r.get,e,{getter:!0}),r.set&&el(r.set,e,{setter:!0}),jy.f(i,e,r)}});var nl=d((JS,al)=>{"use strict";var Fy=Ae(),zy=tl(),$y=z(),Gy=ue(),il=$y("species");al.exports=function(i){var e=Fy(i);Gy&&e&&!e[il]&&zy(e,il,{configurable:!0,get:function(){return this}})}});var ol=d((eE,sl)=>{"use strict";var Hy=Or(),Yy=TypeError;sl.exports=function(i,e){if(Hy(e,i))return i;throw new Yy("Incorrect invocation")}});var hl=d((rE,ll)=>{"use strict";var Xy=z(),Wy=Xy("toStringTag"),ul={};ul[Wy]="z";ll.exports=String(ul)==="[object z]"});var Ct=d((tE,cl)=>{"use strict";var Qy=hl(),Ky=k(),wt=Pe(),Zy=z(),Jy=Zy("toStringTag"),e0=Object,r0=wt(function(){return arguments}())==="Arguments",t0=function(i,e){try{return i[e]}catch{}};cl.exports=Qy?wt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=t0(e=e0(i),Jy))=="string"?r:r0?wt(e):(t=wt(e))==="Object"&&Ky(e.callee)?"Arguments":t}});var yl=d((iE,pl)=>{"use strict";var i0=D(),a0=_(),fl=k(),n0=Ct(),s0=Ae(),o0=gt(),vl=function(){},gl=s0("Reflect","construct"),pa=/^\s*(?:class|function)\b/,u0=i0(pa.exec),l0=!pa.test(vl),_r=function(e){if(!fl(e))return!1;try{return gl(vl,[],e),!0}catch{return!1}},dl=function(e){if(!fl(e))return!1;switch(n0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l0||!!u0(pa,o0(e))}catch{return!0}};dl.sham=!0;pl.exports=!gl||a0(function(){var i;return _r(_r.call)||!_r(Object)||!_r(function(){i=!0})||i})?dl:_r});var bl=d((aE,ml)=>{"use strict";var h0=yl(),c0=Sr(),f0=TypeError;ml.exports=function(i){if(h0(i))return i;throw new f0(c0(i)+" is not a constructor")}});var ya=d((nE,Tl)=>{"use strict";var xl=J(),v0=bl(),g0=Tr(),d0=z(),p0=d0("species");Tl.exports=function(i,e){var r=xl(i).constructor,t;return r===void 0||g0(t=xl(r)[p0])?e:v0(t)}});var ma=d((sE,wl)=>{"use strict";var y0=xr(),El=Function.prototype,Ol=El.apply,Sl=El.call;wl.exports=typeof Reflect=="object"&&Reflect.apply||(y0?Sl.bind(Ol):function(){return Sl.apply(Ol,arguments)})});var Dr=d((oE,Cl)=>{"use strict";var m0=Pe(),b0=D();Cl.exports=function(i){if(m0(i)==="Function")return b0(i)}});var qt=d((uE,Pl)=>{"use strict";var ql=Dr(),x0=be(),T0=xr(),O0=ql(ql.bind);Pl.exports=function(i,e){return x0(i),e===void 0?i:T0?O0(i,e):function(){return i.apply(e,arguments)}}});var ba=d((lE,Al)=>{"use strict";var S0=Ae();Al.exports=S0("document","documentElement")});var Nl=d((hE,Rl)=>{"use strict";var E0=D();Rl.exports=E0([].slice)});var Ml=d((cE,Il)=>{"use strict";var w0=TypeError;Il.exports=function(i,e){if(i{"use strict";var C0=Ke();Vl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(C0)});var Aa=d((vE,zl)=>{"use strict";var ne=M(),q0=ma(),P0=qt(),_l=k(),A0=he(),Fl=_(),Dl=ba(),R0=Nl(),Ll=wr(),N0=Ml(),I0=xa(),M0=Mr(),Ca=ne.setImmediate,qa=ne.clearImmediate,V0=ne.process,Ta=ne.Dispatch,_0=ne.Function,kl=ne.MessageChannel,D0=ne.String,Oa=0,Lr={},Bl="onreadystatechange",kr,je,Sa,Ea;Fl(function(){kr=ne.location});var Pa=function(i){if(A0(Lr,i)){var e=Lr[i];delete Lr[i],e()}},wa=function(i){return function(){Pa(i)}},Ul=function(i){Pa(i.data)},jl=function(i){ne.postMessage(D0(i),kr.protocol+"//"+kr.host)};(!Ca||!qa)&&(Ca=function(e){N0(arguments.length,1);var r=_l(e)?e:_0(e),t=R0(arguments,1);return Lr[++Oa]=function(){q0(r,void 0,t)},je(Oa),Oa},qa=function(e){delete Lr[e]},M0?je=function(i){V0.nextTick(wa(i))}:Ta&&Ta.now?je=function(i){Ta.now(wa(i))}:kl&&!I0?(Sa=new kl,Ea=Sa.port2,Sa.port1.onmessage=Ul,je=P0(Ea.postMessage,Ea)):ne.addEventListener&&_l(ne.postMessage)&&!ne.importScripts&&kr&&kr.protocol!=="file:"&&!Fl(jl)?(je=jl,ne.addEventListener("message",Ul,!1)):Bl in Ll("script")?je=function(i){Dl.appendChild(Ll("script"))[Bl]=function(){Dl.removeChild(this),Pa(i)}}:je=function(i){setTimeout(wa(i),0)});zl.exports={set:Ca,clear:qa}});var Hl=d((gE,Gl)=>{"use strict";var $l=M(),L0=ue(),k0=Object.getOwnPropertyDescriptor;Gl.exports=function(i){if(!L0)return $l[i];var e=k0($l,i);return e&&e.value}});var Ra=d((dE,Xl)=>{"use strict";var Yl=function(){this.head=null,this.tail=null};Yl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Xl.exports=Yl});var Ql=d((pE,Wl)=>{"use strict";var B0=Ke();Wl.exports=/ipad|iphone|ipod/i.test(B0)&&typeof Pebble<"u"});var Zl=d((yE,Kl)=>{"use strict";var U0=Ke();Kl.exports=/web0s(?!.*chrome)/i.test(U0)});var nh=d((mE,ah)=>{"use strict";var rr=M(),j0=Hl(),Jl=qt(),Na=Aa().set,F0=Ra(),z0=xa(),$0=Ql(),G0=Zl(),Ia=Mr(),eh=rr.MutationObserver||rr.WebKitMutationObserver,rh=rr.document,th=rr.process,Pt=rr.Promise,_a=j0("queueMicrotask"),er,Ma,Va,At,ih;_a||(Br=new F0,Ur=function(){var i,e;for(Ia&&(i=th.domain)&&i.exit();e=Br.get();)try{e()}catch(r){throw Br.head&&er(),r}i&&i.enter()},!z0&&!Ia&&!G0&&eh&&rh?(Ma=!0,Va=rh.createTextNode(""),new eh(Ur).observe(Va,{characterData:!0}),er=function(){Va.data=Ma=!Ma}):!$0&&Pt&&Pt.resolve?(At=Pt.resolve(void 0),At.constructor=Pt,ih=Jl(At.then,At),er=function(){ih(Ur)}):Ia?er=function(){th.nextTick(Ur)}:(Na=Jl(Na,rr),er=function(){Na(Ur)}),_a=function(i){Br.head||er(),Br.add(i)});var Br,Ur;ah.exports=_a});var oh=d((bE,sh)=>{"use strict";sh.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Rt=d((xE,uh)=>{"use strict";uh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var tr=d((TE,lh)=>{"use strict";var H0=M();lh.exports=H0.Promise});var ir=d((OE,vh)=>{"use strict";var Y0=M(),jr=tr(),X0=k(),W0=va(),Q0=gt(),K0=z(),hh=ga(),Z0=ve(),Da=lt(),ch=jr&&jr.prototype,J0=K0("species"),La=!1,fh=X0(Y0.PromiseRejectionEvent),em=W0("Promise",function(){var i=Q0(jr),e=i!==String(jr);if(!e&&Da===66||Z0&&!(ch.catch&&ch.finally))return!0;if(!Da||Da<51||!/native code/.test(i)){var r=new jr(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[J0]=t,La=r.then(function(){})instanceof t,!La)return!0}return!e&&(hh==="BROWSER"||hh==="DENO")&&!fh});vh.exports={CONSTRUCTOR:em,REJECTION_EVENT:fh,SUBCLASSING:La}});var ar=d((SE,dh)=>{"use strict";var gh=be(),rm=TypeError,tm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new rm("Bad Promise constructor");e=t,r=a}),this.resolve=gh(e),this.reject=gh(r)};dh.exports.f=function(i){return new tm(i)}});var _h=d(()=>{"use strict";var im=ee(),am=ve(),Vt=Mr(),Ne=M(),nm=$u(),ur=H(),ph=Re(),yh=da(),sm=Vr(),om=nl(),um=be(),Mt=k(),lm=te(),hm=ol(),cm=ya(),Oh=Aa().set,Fa=nh(),fm=oh(),vm=Rt(),gm=Ra(),Sh=Ar(),_t=tr(),za=ir(),Eh=ar(),Dt="Promise",wh=za.CONSTRUCTOR,dm=za.REJECTION_EVENT,pm=za.SUBCLASSING,ka=Sh.getterFor(Dt),ym=Sh.set,nr=_t&&_t.prototype,Fe=_t,Nt=nr,Ch=Ne.TypeError,Ba=Ne.document,$a=Ne.process,Ua=Eh.f,mm=Ua,bm=!!(Ba&&Ba.createEvent&&Ne.dispatchEvent),qh="unhandledrejection",xm="rejectionhandled",mh=0,Ph=1,Tm=2,Ga=1,Ah=2,It,bh,Rh,xh,Nh=function(i){var e;return lm(i)&&Mt(e=i.then)?e:!1},Ih=function(i,e){var r=e.value,t=e.state===Ph,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Ah&&Sm(e),e.rejection=Ga),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Ch("Promise-chain cycle")):(l=Nh(u))?ur(l,u,n,o):n(u)):o(r)}catch(c){s&&!h&&s.exit(),o(c)}},Mh=function(i,e){i.notified||(i.notified=!0,Fa(function(){for(var r=i.reactions,t;t=r.get();)Ih(t,i);i.notified=!1,e&&!i.rejection&&Om(i)}))},Vh=function(i,e,r){var t,a;bm?(t=Ba.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ne.dispatchEvent(t)):t={promise:e,reason:r},!dm&&(a=Ne["on"+i])?a(t):i===qh&&fm("Unhandled promise rejection",r)},Om=function(i){ur(Oh,Ne,function(){var e=i.facade,r=i.value,t=Th(i),a;if(t&&(a=vm(function(){Vt?$a.emit("unhandledRejection",r,e):Vh(qh,e,r)}),i.rejection=Vt||Th(i)?Ah:Ga,a.error))throw a.value})},Th=function(i){return i.rejection!==Ga&&!i.parent},Sm=function(i){ur(Oh,Ne,function(){var e=i.facade;Vt?$a.emit("rejectionHandled",e):Vh(xm,e,i.value)})},sr=function(i,e,r){return function(t){i(e,t,r)}},or=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=Tm,Mh(i,!0))},ja=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Ch("Promise can't be resolved itself");var t=Nh(e);t?Fa(function(){var a={done:!1};try{ur(t,e,sr(ja,a,i),sr(or,a,i))}catch(n){or(a,n,i)}}):(i.value=e,i.state=Ph,Mh(i,!1))}catch(a){or({done:!1},a,i)}}};if(wh&&(Fe=function(e){hm(this,Nt),um(e),ur(It,this);var r=ka(this);try{e(sr(ja,r),sr(or,r))}catch(t){or(r,t)}},Nt=Fe.prototype,It=function(e){ym(this,{type:Dt,done:!1,notified:!1,parent:!1,reactions:new gm,rejection:!1,state:mh,value:null})},It.prototype=ph(Nt,"then",function(e,r){var t=ka(this),a=Ua(cm(this,Fe));return t.parent=!0,a.ok=Mt(e)?e:!0,a.fail=Mt(r)&&r,a.domain=Vt?$a.domain:void 0,t.state===mh?t.reactions.add(a):Fa(function(){Ih(a,t)}),a.promise}),bh=function(){var i=new It,e=ka(i);this.promise=i,this.resolve=sr(ja,e),this.reject=sr(or,e)},Eh.f=Ua=function(i){return i===Fe||i===Rh?new bh(i):mm(i)},!am&&Mt(_t)&&nr!==Object.prototype)){xh=nr.then,pm||ph(nr,"then",function(e,r){var t=this;return new Fe(function(a,n){ur(xh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete nr.constructor}catch{}yh&&yh(nr,Nt)}im({global:!0,constructor:!0,wrap:!0,forced:wh},{Promise:Fe});Rh=nm.Promise;sm(Fe,Dt,!1,!0);om(Dt)});var lr=d((CE,Dh)=>{"use strict";Dh.exports={}});var kh=d((qE,Lh)=>{"use strict";var Em=z(),wm=lr(),Cm=Em("iterator"),qm=Array.prototype;Lh.exports=function(i){return i!==void 0&&(wm.Array===i||qm[Cm]===i)}});var Ha=d((PE,Uh)=>{"use strict";var Pm=Ct(),Bh=ke(),Am=Tr(),Rm=lr(),Nm=z(),Im=Nm("iterator");Uh.exports=function(i){if(!Am(i))return Bh(i,Im)||Bh(i,"@@iterator")||Rm[Pm(i)]}});var Fh=d((AE,jh)=>{"use strict";var Mm=H(),Vm=be(),_m=J(),Dm=Sr(),Lm=Ha(),km=TypeError;jh.exports=function(i,e){var r=arguments.length<2?Lm(i):e;if(Vm(r))return _m(Mm(r,i));throw new km(Dm(i)+" is not iterable")}});var Gh=d((RE,$h)=>{"use strict";var Bm=H(),zh=J(),Um=ke();$h.exports=function(i,e,r){var t,a;zh(i);try{if(t=Um(i,"return"),!t){if(e==="throw")throw r;return r}t=Bm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return zh(t),r}});var Ya=d((NE,Wh)=>{"use strict";var jm=qt(),Fm=H(),zm=J(),$m=Sr(),Gm=kh(),Hm=Tt(),Hh=Or(),Ym=Fh(),Xm=Ha(),Yh=Gh(),Wm=TypeError,Lt=function(i,e){this.stopped=i,this.result=e},Xh=Lt.prototype;Wh.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=jm(e,t),l,h,c,v,f,g,p,y=function(T){return l&&Yh(l,"normal"),new Lt(!0,T)},m=function(T){return a?(zm(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Xm(i),!h)throw new Wm($m(i)+" is not iterable");if(Gm(h)){for(c=0,v=Hm(i);v>c;c++)if(f=m(i[c]),f&&Hh(Xh,f))return f;return new Lt(!1)}l=Ym(i,h)}for(g=n?i.next:l.next;!(p=Fm(g,l)).done;){try{f=m(p.value)}catch(T){Yh(l,"throw",T)}if(typeof f=="object"&&f&&Hh(Xh,f))return f}return new Lt(!1)}});var ec=d((IE,Jh)=>{"use strict";var Qm=z(),Kh=Qm("iterator"),Zh=!1;try{Qh=0,Xa={next:function(){return{done:!!Qh++}},return:function(){Zh=!0}},Xa[Kh]=function(){return this},Array.from(Xa,function(){throw 2})}catch{}var Qh,Xa;Jh.exports=function(i,e){try{if(!e&&!Zh)return!1}catch{return!1}var r=!1;try{var t={};t[Kh]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var Wa=d((ME,rc)=>{"use strict";var Km=tr(),Zm=ec(),Jm=ir().CONSTRUCTOR;rc.exports=Jm||!Zm(function(i){Km.all(i).then(void 0,function(){})})});var tc=d(()=>{"use strict";var eb=ee(),rb=H(),tb=be(),ib=ar(),ab=Rt(),nb=Ya(),sb=Wa();eb({target:"Promise",stat:!0,forced:sb},{all:function(e){var r=this,t=ib.f(r),a=t.resolve,n=t.reject,o=ab(function(){var s=tb(r.resolve),u=[],l=0,h=1;nb(e,function(c){var v=l++,f=!1;h++,rb(s,r,c).then(function(g){f||(f=!0,u[v]=g,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var ac=d(()=>{"use strict";var ob=ee(),ub=ve(),lb=ir().CONSTRUCTOR,Ka=tr(),hb=Ae(),cb=k(),fb=Re(),ic=Ka&&Ka.prototype;ob({target:"Promise",proto:!0,forced:lb,real:!0},{catch:function(i){return this.then(void 0,i)}});!ub&&cb(Ka)&&(Qa=hb("Promise").prototype.catch,ic.catch!==Qa&&fb(ic,"catch",Qa,{unsafe:!0}));var Qa});var nc=d(()=>{"use strict";var vb=ee(),gb=H(),db=be(),pb=ar(),yb=Rt(),mb=Ya(),bb=Wa();vb({target:"Promise",stat:!0,forced:bb},{race:function(e){var r=this,t=pb.f(r),a=t.reject,n=yb(function(){var o=db(r.resolve);mb(e,function(s){gb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var sc=d(()=>{"use strict";var xb=ee(),Tb=ar(),Ob=ir().CONSTRUCTOR;xb({target:"Promise",stat:!0,forced:Ob},{reject:function(e){var r=Tb.f(this),t=r.reject;return t(e),r.promise}})});var uc=d((FE,oc)=>{"use strict";var Sb=J(),Eb=te(),wb=ar();oc.exports=function(i,e){if(Sb(i),Eb(e)&&e.constructor===i)return e;var r=wb.f(i),t=r.resolve;return t(e),r.promise}});var cc=d(()=>{"use strict";var Cb=ee(),qb=Ae(),lc=ve(),Pb=tr(),hc=ir().CONSTRUCTOR,Ab=uc(),Rb=qb("Promise"),Nb=lc&&!hc;Cb({target:"Promise",stat:!0,forced:lc||hc},{resolve:function(e){return Ab(Nb&&this===Rb?Pb:this,e)}})});var fc=d(()=>{"use strict";_h();tc();ac();nc();sc();cc()});var de=d((XE,gc)=>{"use strict";var Ib=Ct(),Mb=String;gc.exports=function(i){if(Ib(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Mb(i)}});var Za=d((WE,dc)=>{"use strict";var Vb=J();dc.exports=function(){var i=Vb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var tn=d((QE,pc)=>{"use strict";var Ja=_(),_b=M(),en=_b.RegExp,rn=Ja(function(){var i=en("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Db=rn||Ja(function(){return!en("a","y").sticky}),Lb=rn||Ja(function(){var i=en("^r","gy");return i.lastIndex=2,i.exec("str")!==null});pc.exports={BROKEN_CARET:Lb,MISSED_STICKY:Db,UNSUPPORTED_Y:rn}});var mc=d((KE,yc)=>{"use strict";var kb=fa(),Bb=Ot();yc.exports=Object.keys||function(e){return kb(e,Bb)}});var xc=d(bc=>{"use strict";var Ub=ue(),jb=Qi(),Fb=Te(),zb=J(),$b=Qe(),Gb=mc();bc.f=Ub&&!jb?Object.defineProperties:function(e,r){zb(e);for(var t=$b(r),a=Gb(r),n=a.length,o=0,s;n>o;)Fb.f(e,s=a[o++],t[s]);return e}});var Fr=d((JE,qc)=>{"use strict";var Hb=J(),Yb=xc(),Tc=Ot(),Xb=pt(),Wb=ba(),Qb=wr(),Kb=dt(),Oc=">",Sc="<",nn="prototype",sn="script",wc=Kb("IE_PROTO"),an=function(){},Cc=function(i){return Sc+sn+Oc+i+Sc+"/"+sn+Oc},Ec=function(i){i.write(Cc("")),i.close();var e=i.parentWindow.Object;return i=null,e},Zb=function(){var i=Qb("iframe"),e="java"+sn+":",r;return i.style.display="none",Wb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Cc("document.F=Object")),r.close(),r.F},kt,Bt=function(){try{kt=new ActiveXObject("htmlfile")}catch{}Bt=typeof document<"u"?document.domain&&kt?Ec(kt):Zb():Ec(kt);for(var i=Tc.length;i--;)delete Bt[nn][Tc[i]];return Bt()};Xb[wc]=!0;qc.exports=Object.create||function(e,r){var t;return e!==null?(an[nn]=Hb(e),t=new an,an[nn]=null,t[wc]=e):t=Bt(),r===void 0?t:Yb.f(t,r)}});var Ac=d((ew,Pc)=>{"use strict";var Jb=_(),ex=M(),rx=ex.RegExp;Pc.exports=Jb(function(){var i=rx(".","s");return!(i.dotAll&&i.test(`
-`)&&i.flags==="s")})});var Nc=d((rw,Rc)=>{"use strict";var tx=_(),ix=M(),ax=ix.RegExp;Rc.exports=tx(function(){var i=ax("(?b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$c")!=="bc"})});var Ft=d((tw,Mc)=>{"use strict";var hr=H(),jt=D(),nx=de(),sx=Za(),ox=tn(),ux=ft(),lx=Fr(),hx=Ar().get,cx=Ac(),fx=Nc(),vx=ux("native-string-replace",String.prototype.replace),Ut=RegExp.prototype.exec,un=Ut,gx=jt("".charAt),dx=jt("".indexOf),px=jt("".replace),on=jt("".slice),ln=function(){var i=/a/,e=/b*/g;return hr(Ut,i,"a"),hr(Ut,e,"a"),i.lastIndex!==0||e.lastIndex!==0}(),Ic=ox.BROKEN_CARET,hn=/()??/.exec("")[1]!==void 0,yx=ln||hn||Ic||cx||fx;yx&&(un=function(e){var r=this,t=hx(r),a=nx(e),n=t.raw,o,s,u,l,h,c,v;if(n)return n.lastIndex=r.lastIndex,o=hr(un,n,a),r.lastIndex=n.lastIndex,o;var f=t.groups,g=Ic&&r.sticky,p=hr(sx,r),y=r.source,m=0,T=a;if(g&&(p=px(p,"y",""),dx(p,"g")===-1&&(p+="g"),T=on(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&gx(a,r.lastIndex-1)!==`
-`)&&(y="(?: "+y+")",T=" "+T,m++),s=new RegExp("^(?:"+y+")",p)),hn&&(s=new RegExp("^"+y+"$(?!\\s)",p)),ln&&(u=r.lastIndex),l=hr(Ut,g?s:r,T),g?l?(l.input=on(l.input,m),l[0]=on(l[0],m),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:ln&&l&&(r.lastIndex=r.global?l.index+l[0].length:u),hn&&l&&l.length>1&&hr(vx,l[0],s,function(){for(h=1;h{"use strict";var mx=ee(),Vc=Ft();mx({target:"RegExp",proto:!0,forced:/./.exec!==Vc},{exec:Vc})});var zt=d((nw,Uc)=>{"use strict";_c();var Dc=H(),Lc=Re(),bx=Ft(),kc=_(),Bc=z(),xx=Je(),Tx=Bc("species"),cn=RegExp.prototype;Uc.exports=function(i,e,r,t){var a=Bc(i),n=!kc(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!kc(function(){var l=!1,h=/a/;return i==="split"&&(h={},h.constructor={},h.constructor[Tx]=function(){return h},h.flags="",h[a]=/./[a]),h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,c,v,f){var g=h.exec;return g===bx||g===cn.exec?n&&!f?{done:!0,value:Dc(s,h,c,v)}:{done:!0,value:Dc(l,c,h,v)}:{done:!1}});Lc(String.prototype,i,u[0]),Lc(cn,a,u[1])}t&&xx(cn[a],"sham",!0)}});var $c=d((sw,zc)=>{"use strict";var fn=D(),Ox=Rr(),Sx=de(),Ex=le(),wx=fn("".charAt),jc=fn("".charCodeAt),Cx=fn("".slice),Fc=function(i){return function(e,r){var t=Sx(Ex(e)),a=Ox(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=jc(t,a),o<55296||o>56319||a+1===n||(s=jc(t,a+1))<56320||s>57343?i?wx(t,a):o:i?Cx(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};zc.exports={codeAt:Fc(!1),charAt:Fc(!0)}});var $t=d((ow,Gc)=>{"use strict";var qx=$c().charAt;Gc.exports=function(i,e,r){return e+(r?qx(i,e).length:1)}});var Xc=d((uw,Yc)=>{"use strict";var Px=M(),Ax=_(),Hc=Px.RegExp,Rx=!Ax(function(){var i=!0;try{Hc(".","d")}catch{i=!1}var e={},r="",t=i?"dgimsy":"gimsy",a=function(u,l){Object.defineProperty(e,u,{get:function(){return r+=l,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(n.hasIndices="d");for(var o in n)a(o,n[o]);var s=Object.getOwnPropertyDescriptor(Hc.prototype,"flags").get.call(e);return s!==t||r!==t});Yc.exports={correct:Rx}});var Gt=d((lw,Qc)=>{"use strict";var Nx=H(),Ix=he(),Mx=Or(),Wc=Xc(),Vx=Za(),_x=RegExp.prototype;Qc.exports=Wc.correct?function(i){return i.flags}:function(i){return!Wc.correct&&Mx(_x,i)&&!Ix(i,"flags")?Nx(Vx,i):i.flags}});var Ht=d((hw,Zc)=>{"use strict";var Kc=H(),Dx=J(),Lx=k(),kx=Pe(),Bx=Ft(),Ux=TypeError;Zc.exports=function(i,e){var r=i.exec;if(Lx(r)){var t=Kc(r,i,e);return t!==null&&Dx(t),t}if(kx(i)==="RegExp")return Kc(Bx,i,e);throw new Ux("RegExp#exec called on incompatible receiver")}});var rf=d(()=>{"use strict";var jx=H(),Fx=D(),zx=zt(),$x=J(),Gx=te(),Hx=Ue(),Yt=de(),Yx=le(),Xx=ke(),Wx=$t(),Qx=Gt(),Jc=Ht(),ef=Fx("".indexOf);zx("match",function(i,e,r){return[function(a){var n=Yx(this),o=Gx(a)?Xx(a,i):void 0;return o?jx(o,a,n):new RegExp(a)[i](Yt(n))},function(t){var a=$x(this),n=Yt(t),o=r(e,a,n);if(o.done)return o.value;var s=Yt(Qx(a));if(ef(s,"g")===-1)return Jc(a,n);var u=ef(s,"u")!==-1;a.lastIndex=0;for(var l=[],h=0,c;(c=Jc(a,n))!==null;){var v=Yt(c[0]);l[h]=v,v===""&&(a.lastIndex=Wx(n,Hx(a.lastIndex),u)),h++}return h===0?null:l}]})});var af=d((vw,tf)=>{"use strict";var dn=D(),Kx=Er(),Zx=Math.floor,vn=dn("".charAt),Jx=dn("".replace),gn=dn("".slice),e1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,r1=/\$([$&'`]|\d{1,2})/g;tf.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=r1;return a!==void 0&&(a=Kx(a),u=e1),Jx(n,u,function(l,h){var c;switch(vn(h,0)){case"$":return"$";case"&":return i;case"`":return gn(e,0,r);case"'":return gn(e,o);case"<":c=a[gn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var f=Zx(v/10);return f===0?l:f<=s?t[f-1]===void 0?vn(h,1):t[f-1]+vn(h,1):l}c=t[v-1]}return c===void 0?"":c})}});var uf=d(()=>{"use strict";var t1=ma(),nf=H(),Wt=D(),i1=zt(),a1=_(),n1=J(),s1=k(),o1=te(),u1=Rr(),l1=Ue(),ze=de(),h1=le(),c1=$t(),f1=ke(),v1=af(),g1=Gt(),d1=Ht(),p1=z(),yn=p1("replace"),y1=Math.max,m1=Math.min,b1=Wt([].concat),pn=Wt([].push),Xt=Wt("".indexOf),sf=Wt("".slice),x1=function(i){return i===void 0?i:String(i)},T1=function(){return"a".replace(/./,"$0")==="$0"}(),of=function(){return/./[yn]?/./[yn]("a","$0")==="":!1}(),O1=!a1(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$")!=="7"});i1("replace",function(i,e,r){var t=of?"$":"$0";return[function(n,o){var s=h1(this),u=o1(n)?f1(n,yn):void 0;return u?nf(u,n,s,o):nf(e,ze(s),n,o)},function(a,n){var o=n1(this),s=ze(a);if(typeof n=="string"&&Xt(n,t)===-1&&Xt(n,"$<")===-1){var u=r(e,o,s,n);if(u.done)return u.value}var l=s1(n);l||(n=ze(n));var h=ze(g1(o)),c=Xt(h,"g")!==-1,v;c&&(v=Xt(h,"u")!==-1,o.lastIndex=0);for(var f=[],g;g=d1(o,s),!(g===null||(pn(f,g),!c));){var p=ze(g[0]);p===""&&(o.lastIndex=c1(s,l1(o.lastIndex),v))}for(var y="",m=0,T=0;T=m&&(y+=sf(s,m,O)+C,m=O+x.length)}return y+sf(s,m)}]},!O1||!T1||of)});var hf=d((pw,lf)=>{"use strict";var S1=te(),E1=Pe(),w1=z(),C1=w1("match");lf.exports=function(i){var e;return S1(i)&&((e=i[C1])!==void 0?!!e:E1(i)==="RegExp")}});var Qt=d((yw,cf)=>{"use strict";var q1=hf(),P1=TypeError;cf.exports=function(i){if(q1(i))throw new P1("The method doesn't accept regular expressions");return i}});var Kt=d((mw,ff)=>{"use strict";var A1=z(),R1=A1("match");ff.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[R1]=!1,"/./"[i](e)}catch{}}return!1}});var df=d(()=>{"use strict";var N1=ee(),I1=Dr(),M1=Cr().f,V1=Ue(),vf=de(),_1=Qt(),D1=le(),L1=Kt(),k1=ve(),B1=I1("".slice),U1=Math.min,gf=L1("startsWith"),j1=!k1&&!gf&&!!function(){var i=M1(String.prototype,"startsWith");return i&&!i.writable}();N1({target:"String",proto:!0,forced:!j1&&!gf},{startsWith:function(e){var r=vf(D1(this));_1(e);var t=V1(U1(arguments.length>1?arguments[1]:void 0,r.length)),a=vf(e);return B1(r,t,t+a.length)===a}})});var yf=d((Tw,pf)=>{"use strict";var F1=z(),z1=Fr(),$1=Te().f,mn=F1("unscopables"),bn=Array.prototype;bn[mn]===void 0&&$1(bn,mn,{configurable:!0,value:z1(null)});pf.exports=function(i){bn[mn][i]=!0}});var bf=d((Ow,mf)=>{"use strict";var G1=_();mf.exports=!G1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var Tn=d((Sw,Tf)=>{"use strict";var H1=he(),Y1=k(),X1=Er(),W1=dt(),Q1=bf(),xf=W1("IE_PROTO"),xn=Object,K1=xn.prototype;Tf.exports=Q1?xn.getPrototypeOf:function(i){var e=X1(i);if(H1(e,xf))return e[xf];var r=e.constructor;return Y1(r)&&e instanceof r?r.prototype:e instanceof xn?K1:null}});var wn=d((Ew,Ef)=>{"use strict";var Z1=_(),J1=k(),e2=te(),r2=Fr(),Of=Tn(),t2=Re(),i2=z(),a2=ve(),En=i2("iterator"),Sf=!1,Oe,On,Sn;[].keys&&(Sn=[].keys(),"next"in Sn?(On=Of(Of(Sn)),On!==Object.prototype&&(Oe=On)):Sf=!0);var n2=!e2(Oe)||Z1(function(){var i={};return Oe[En].call(i)!==i});n2?Oe={}:a2&&(Oe=r2(Oe));J1(Oe[En])||t2(Oe,En,function(){return this});Ef.exports={IteratorPrototype:Oe,BUGGY_SAFARI_ITERATORS:Sf}});var Cf=d((ww,wf)=>{"use strict";var s2=wn().IteratorPrototype,o2=Fr(),u2=ot(),l2=Vr(),h2=lr(),c2=function(){return this};wf.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=o2(s2,{next:u2(+!t,r)}),l2(i,a,!1,!0),h2[a]=c2,i}});var Lf=d((Cw,Df)=>{"use strict";var f2=ee(),v2=H(),Zt=ve(),Vf=qr(),g2=k(),d2=Cf(),qf=Tn(),Pf=da(),p2=Vr(),y2=Je(),Cn=Re(),m2=z(),Af=lr(),_f=wn(),b2=Vf.PROPER,x2=Vf.CONFIGURABLE,Rf=_f.IteratorPrototype,Jt=_f.BUGGY_SAFARI_ITERATORS,zr=m2("iterator"),Nf="keys",$r="values",If="entries",Mf=function(){return this};Df.exports=function(i,e,r,t,a,n,o){d2(r,e,t);var s=function(m){if(m===a&&v)return v;if(!Jt&&m&&m in h)return h[m];switch(m){case Nf:return function(){return new r(this,m)};case $r:return function(){return new r(this,m)};case If:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,c=h[zr]||h["@@iterator"]||a&&h[a],v=!Jt&&c||s(a),f=e==="Array"&&h.entries||c,g,p,y;if(f&&(g=qf(f.call(new i)),g!==Object.prototype&&g.next&&(!Zt&&qf(g)!==Rf&&(Pf?Pf(g,Rf):g2(g[zr])||Cn(g,zr,Mf)),p2(g,u,!0,!0),Zt&&(Af[u]=Mf))),b2&&a===$r&&c&&c.name!==$r&&(!Zt&&x2?y2(h,"name",$r):(l=!0,v=function(){return v2(c,this)})),a)if(p={values:s($r),keys:n?v:s(Nf),entries:s(If)},o)for(y in p)(Jt||l||!(y in h))&&Cn(h,y,p[y]);else f2({target:e,proto:!0,forced:Jt||l},p);return(!Zt||o)&&h[zr]!==v&&Cn(h,zr,v,{name:a}),Af[e]=v,p}});var Bf=d((qw,kf)=>{"use strict";kf.exports=function(i,e){return{value:i,done:e}}});var Pn=d((Pw,$f)=>{"use strict";var T2=Qe(),qn=yf(),Uf=lr(),Ff=Ar(),O2=Te().f,S2=Lf(),ei=Bf(),E2=ve(),w2=ue(),zf="Array Iterator",C2=Ff.set,q2=Ff.getterFor(zf);$f.exports=S2(Array,"Array",function(i,e){C2(this,{type:zf,target:T2(i),index:0,kind:e})},function(){var i=q2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,ei(void 0,!0);switch(i.kind){case"keys":return ei(r,!1);case"values":return ei(e[r],!1)}return ei([r,e[r]],!1)},"values");var jf=Uf.Arguments=Uf.Array;qn("keys");qn("values");qn("entries");if(!E2&&w2&&jf.name!=="values")try{O2(jf,"name",{value:"values"})}catch{}});var Hf=d((Aw,Gf)=>{"use strict";Gf.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var Wf=d((Rw,Xf)=>{"use strict";var P2=wr(),An=P2("span").classList,Yf=An&&An.constructor&&An.constructor.prototype;Xf.exports=Yf===Object.prototype?void 0:Yf});var ev=d(()=>{"use strict";var Qf=M(),Zf=Hf(),A2=Wf(),Gr=Pn(),Kf=Je(),R2=Vr(),N2=z(),Rn=N2("iterator"),Nn=Gr.values,Jf=function(i,e){if(i){if(i[Rn]!==Nn)try{Kf(i,Rn,Nn)}catch{i[Rn]=Nn}if(R2(i,e,!0),Zf[e]){for(var r in Gr)if(i[r]!==Gr[r])try{Kf(i,r,Gr[r])}catch{i[r]=Gr[r]}}}};for(ri in Zf)Jf(Qf[ri]&&Qf[ri].prototype,ri);var ri;Jf(A2,"DOMTokenList")});var ov=d((Uw,sv)=>{"use strict";var I2=be(),M2=Er(),V2=_i(),_2=Tt(),iv=TypeError,av="Reduce of empty array with no initial value",nv=function(i){return function(e,r,t,a){var n=M2(e),o=V2(n),s=_2(n);if(I2(r),s===0&&t<2)throw new iv(av);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new iv(av)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};sv.exports={left:nv(!1),right:nv(!0)}});var In=d((jw,uv)=>{"use strict";var D2=_();uv.exports=function(i,e){var r=[][i];return!!r&&D2(function(){r.call(null,e||function(){return 1},1)})}});var hv=d(()=>{"use strict";var L2=ee(),k2=ov().left,B2=In(),lv=lt(),U2=Mr(),j2=!U2&&lv>79&&lv<83,F2=j2||!B2("reduce");L2({target:"Array",proto:!0,forced:F2},{reduce:function(e){var r=arguments.length;return k2(this,e,r,r>1?arguments[1]:void 0)}})});var vv=d(()=>{"use strict";var z2=ee(),$2=Dr(),G2=Cr().f,H2=Ue(),cv=de(),Y2=Qt(),X2=le(),W2=Kt(),Q2=ve(),K2=$2("".slice),Z2=Math.min,fv=W2("endsWith"),J2=!Q2&&!fv&&!!function(){var i=G2(String.prototype,"endsWith");return i&&!i.writable}();z2({target:"String",proto:!0,forced:!J2&&!fv},{endsWith:function(e){var r=cv(X2(this));Y2(e);var t=arguments.length>1?arguments[1]:void 0,a=r.length,n=t===void 0?a:Z2(H2(t),a),o=cv(e);return K2(r,n-o.length,n)===o}})});var mv=d(()=>{"use strict";var Mn=H(),yv=D(),eT=zt(),rT=J(),tT=te(),iT=le(),aT=ya(),nT=$t(),sT=Ue(),gv=de(),oT=ke(),dv=Ht(),uT=tn(),lT=_(),cr=uT.UNSUPPORTED_Y,hT=4294967295,cT=Math.min,Vn=yv([].push),_n=yv("".slice),fT=!lT(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),pv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;eT("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Mn(e,this,a,n)}:e;return[function(n,o){var s=iT(this),u=tT(n)?oT(n,i):void 0;return u?Mn(u,n,s,o):Mn(t,gv(s),n,o)},function(a,n){var o=rT(this),s=gv(a);if(!pv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=aT(o,RegExp),h=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(cr?"g":"y"),v=new l(cr?"^(?:"+o.source+")":o,c),f=n===void 0?hT:n>>>0;if(f===0)return[];if(s.length===0)return dv(v,s)===null?[s]:[];for(var g=0,p=0,y=[];p{(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Hr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Hr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Hr.exports=function(){return Date.now()-r},r=Date.now()):(Hr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(bv)});var Ov=d((Xw,ni)=>{var vT=xv(),Se=typeof window>"u"?global:window,ii=["moz","webkit"],vr="AnimationFrame",gr=Se["request"+vr],Yr=Se["cancel"+vr]||Se["cancelRequest"+vr];for(fr=0;!gr&&fr{"use strict";Sv.exports=`	
-\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Cv=d((Qw,wv)=>{"use strict";var gT=D(),dT=le(),pT=de(),Bn=Ln(),Ev=gT("".replace),yT=RegExp("^["+Bn+"]+"),mT=RegExp("(^|[^"+Bn+"])["+Bn+"]+$"),kn=function(i){return function(e){var r=pT(dT(e));return i&1&&(r=Ev(r,yT,"")),i&2&&(r=Ev(r,mT,"$1")),r}};wv.exports={start:kn(1),end:kn(2),trim:kn(3)}});var Rv=d((Kw,Av)=>{"use strict";var bT=qr().PROPER,xT=_(),qv=Ln(),Pv="\u200B\x85\u180E";Av.exports=function(i){return xT(function(){return!!qv[i]()||Pv[i]()!==Pv||bT&&qv[i].name!==i})}});var Nv=d(()=>{"use strict";var TT=ee(),OT=Cv().trim,ST=Rv();TT({target:"String",proto:!0,forced:ST("trim")},{trim:function(){return OT(this)}})});var Mv=d((eC,Iv)=>{Iv.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l "+p.toRGB()+" -> "+p.toHex());g.appendChild(y),g.appendChild(m),f.appendChild(g)}catch{}return f}}});var _v=d(()=>{"use strict";var ET=ee(),wT=Dr(),CT=ha().indexOf,qT=In(),Un=wT([].indexOf),Vv=!!Un&&1/Un([1],1,-0)<0,PT=Vv||!qT("indexOf");ET({target:"Array",proto:!0,forced:PT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return Vv?Un(this,e,r)||0:CT(this,e,r)}})});var Lv=d(()=>{"use strict";var AT=ee(),RT=D(),NT=Qt(),IT=le(),Dv=de(),MT=Kt(),VT=RT("".indexOf);AT({target:"String",proto:!0,forced:!MT("includes")},{includes:function(e){return!!~VT(Dv(IT(this)),Dv(NT(e)),arguments.length>1?arguments[1]:void 0)}})});var Bv=d((nC,kv)=>{"use strict";var _T=Pe();kv.exports=Array.isArray||function(e){return _T(e)==="Array"}});var jv=d(()=>{"use strict";var DT=ee(),LT=D(),kT=Bv(),BT=LT([].reverse),Uv=[1,2];DT({target:"Array",proto:!0,forced:String(Uv)===String(Uv.reverse())},{reverse:function(){return kT(this)&&(this.length=this.length),BT(this)}})});var eg=d(()=>{"use strict";var $T=qr().PROPER,GT=Re(),HT=J(),Kv=de(),YT=_(),XT=Gt(),zn="toString",Zv=RegExp.prototype,Jv=Zv[zn],WT=YT(function(){return Jv.call({source:"a",flags:"b"})!=="/a/b"}),QT=$T&&Jv.name!==zn;(WT||QT)&>(Zv,zn,function(){var e=HT(this),r=Kv(e.source),t=Kv(XT(e));return"/"+r+"/"+t},{unsafe:!0})});var fC=Z(fc(),1);function vc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function xe(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){vc(n,t,a,o,s,"next",u)}function s(u){vc(n,t,a,o,s,"throw",u)}o(void 0)})}}var gC=Z(rf(),1),dC=Z(uf(),1),pC=Z(df(),1),yC=Z(Pn(),1),mC=Z(ev(),1);function rv(i,e){if(mr(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(mr(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function tv(i){var e=rv(i,"string");return mr(e)=="symbol"?e:e+""}function ti(i,e,r){return(e=tv(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var xC=Z(hv(),1),TC=Z(vv(),1),OC=Z(mv(),1),hi=Z(Ov(),1),SC=Z(Nv(),1),ci=Z(Mv(),1),EC=Z(_v(),1),wC=Z(Lv(),1),CC=Z(jv(),1);var Xv=function(i,e){return(Xv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function Wv(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}Xv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function UT(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;ri.phi1&&(i.phi2-=2*Me),i.sweepFlag===1&&i.phi2t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var U,Ee=Math.PI/180;function zv(i,e,r){return(1-r)*i+r*e}function $v(i,e,r,t){return i+Math.cos(t/180*Me)*e+Math.sin(t/180*Me)*r}function Gv(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)S&&(f.sweepFlag=+!f.sweepFlag),f})}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a(function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a(function(h,c,v,f,g){if(isNaN(f)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:c),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?f-c:f,h.y=h.relative?g-v:g),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h})},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,c=NaN;return a(function(v,f,g,p,y){var m=Math.abs,T=!1,x=0,O=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:f-u,O=isNaN(l)?0:g-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?f+v.x2:v.x2,l=v.relative?g+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?f:2*f-h,c=isNaN(c)?g:2*g-c):v.type&b.QUAD_TO?(h=v.relative?f+v.x1:v.x1,c=v.relative?g+v.y1:v.y2):(h=NaN,c=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var E=v.x===void 0?0:v.relative?v.x:v.x-f,C=v.y===void 0?0:v.relative?v.y:v.y-g;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-f:h-f,O=isNaN(c)?v.y1===void 0?O:v.relative?v.y:v.y1-g:c-g;var S=v.x2===void 0?0:v.relative?v.x:v.x2-f,P=v.y2===void 0?0:v.relative?v.y:v.y2-g;m(E)<=s&&m(C)<=s&&m(x)<=s&&m(O)<=s&&m(S)<=s&&m(P)<=s&&(T=!0)}return v.type&b.CLOSE_PATH&&m(f-p)<=s&&m(g-y)<=s&&(T=!0),T?[]:v})},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),c=Math.cos(s);return n(c,h,-h,c,u-u*c+l*h,l-u*h-l*c)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a(function(s,u,l){return b.ARC===s.type?function(h,c,v){var f,g,p,y;h.cX||jn(h,c,v);for(var m=Math.min(h.phi1,h.phi2),T=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(T/90),O=new Array(x),E=c,C=v,S=0;Sc.maxX&&(c.maxX=R),Rc.maxY&&(c.maxY=R),RI&&y(Hv(f,p.x1,p.x2,p.x,I));for(var O=0,E=Gv(g,p.y1,p.y2,p.y);OI&&m(Hv(g,p.y1,p.y2,p.y,I))}if(p.type&b.ARC){y(p.x),m(p.y),jn(p,f,g);for(var C=p.xRot/180*Math.PI,S=Math.cos(C)*p.rX,P=Math.sin(C)*p.rX,A=-Math.sin(C)*p.rY,V=Math.cos(C)*p.rY,L=p.phi1p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],N=L[0],X=L[1],W=function(R){var re=R[0],ce=R[1],me=180*Math.atan2(ce,re)/Math.PI;return meN&&IN&&Ih)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(h),this.curArgs.length===zT[this.curCommandType]&&(b.HORIZ_LINE_TO===this.curCommandType?n({type:b.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):b.VERT_LINE_TO===this.curCommandType?n({type:b.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===b.MOVE_TO||this.curCommandType===b.LINE_TO||this.curCommandType===b.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),b.MOVE_TO===this.curCommandType&&(this.curCommandType=b.LINE_TO)):this.curCommandType===b.CURVE_TO?n({type:b.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===b.SMOOTH_CURVE_TO?n({type:b.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.QUAD_TO?n({type:b.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.ARC&&n({type:b.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!jT(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=b.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=b.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=b.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=b.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=b.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=b.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=b.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=b.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=b.ARC,this.curCommandRelative=s==="a"}else t.push({type:b.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},e.prototype.transform=function(r){return Object.create(this,{parse:{value:function(t,a){a===void 0&&(a=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,t);n>>E;if(o[x+3]=Ti,Ti!==0){var Oi=255/Ti;o[x]=(R*O>>>E)*Oi,o[x+1]=(re*O>>>E)*Oi,o[x+2]=(ce*O>>>E)*Oi}else o[x]=o[x+1]=o[x+2]=0;R-=Q,re-=Y,ce-=K,me-=I,Q-=y.r,Y-=y.g,K-=y.b,I-=y.a;var Ve=xi+n+1;Ve=T+(Ve>>E,ie>0?(ie=255/ie,o[ae]=(et*O>>>E)*ie,o[ae+1]=(rt*O>>>E)*ie,o[ae+2]=(tt*O>>>E)*ie):o[ae]=o[ae+1]=o[ae+2]=0,et-=Si,rt-=Ei,tt-=wi,it-=Ci,Si-=y.r,Ei-=y.g,wi-=y.b,Ci-=y.a,ae=We+((ae=Ni+h)0&&arguments[0]!==void 0?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:i,createCanvas(r,t){return new OffscreenCanvas(r,t)},createImage(r){return xe(function*(){var t=yield fetch(r),a=yield t.blob(),n=yield createImageBitmap(a);return n})()}};return(typeof DOMParser<"u"||typeof i>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function iO(i){var{DOMParser:e,canvas:r,fetch:t}=i;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t,createCanvas:r.createCanvas,createImage:r.loadImage}}var RC=Object.freeze({__proto__:null,offscreen:tO,node:iO});function yr(i){return i.replace(/(?!\u3000)\s+/gm," ")}function aO(i){return i.replace(/^[\n \t]+/,"")}function nO(i){return i.replace(/[\n \t]+$/,"")}function se(i){var e=(i||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e.map(parseFloat)}var sO=/^[A-Z-]+$/;function oO(i){return sO.test(i)?i.toLowerCase():i}function ig(i){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(i)||[];return e[2]||e[3]||e[4]}function uO(i){if(!i.startsWith("rgb"))return i;var e=3,r=i.replace(/\d+(\.\d+)?/g,(t,a)=>e--&&a?String(Math.round(parseFloat(t))):t);return r}var lO=/(\[[^\]]+\])/g,hO=/(#[^\s+>~.[:]+)/g,cO=/(\.[^\s+>~.[:]+)/g,fO=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,vO=/(:[\w-]+\([^)]*\))/gi,gO=/(:[^\s+>~.[:]+)/g,dO=/([^\s+>~.[:]+)/g;function $e(i,e){var r=e.exec(i);return r?[i.replace(e," "),r.length]:[i,0]}function pO(i){var e=[0,0,0],r=i.replace(/:not\(([^)]*)\)/g,"     $1 ").replace(/{[\s\S]*/gm," "),t=0;return[r,t]=$e(r,lO),e[1]+=t,[r,t]=$e(r,hO),e[0]+=t,[r,t]=$e(r,cO),e[1]+=t,[r,t]=$e(r,fO),e[2]+=t,[r,t]=$e(r,vO),e[1]+=t,[r,t]=$e(r,gO),e[1]+=t,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,t]=$e(r,dO),e[2]+=t,e.join("")}var dr=1e-8;function ag(i){return Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2))}function $n(i,e){return(i[0]*e[0]+i[1]*e[1])/(ag(i)*ag(e))}function ng(i,e){return(i[0]*e[1]{class i{constructor(r,t,a){this.document=r,this.name=t,this.value=a,this.isNormalizedColor=!1}static empty(r){return new i(r,"EMPTY","")}split(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:t,name:a}=this;return yr(this.getString()).trim().split(r).map(n=>new i(t,a,n))}hasValue(r){var{value:t}=this;return t!==null&&t!==""&&(r||t!==0)&&typeof t<"u"}isString(r){var{value:t}=this,a=typeof t=="string";return!a||!r?a:r.test(t)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var r=this.getString();switch(!0){case r.endsWith("px"):case/^[0-9]+$/.test(r):return!0;default:return!1}}setValue(r){return this.value=r,this}getValue(r){return typeof r>"u"||this.hasValue()?this.value:r}getNumber(r){if(!this.hasValue())return typeof r>"u"?0:parseFloat(r);var{value:t}=this,a=parseFloat(t);return this.isString(/%$/)&&(a/=100),a}getString(r){return typeof r>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(r)}getColor(r){var t=this.getString(r);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=uO(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[a,n]=typeof r=="boolean"?[void 0,r]:[r],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(a);default:{var s=this.getNumber();return t&&s<1?s*o.computeSize(a):s}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var r=this.getString(),t=/#([^)'"]+)/.exec(r);return t&&(t=t[1]),t||(t=r),this.document.definitions[t]}getFillStyleDefinition(r,t){var a=this.getDefinition();if(!a)return null;if(typeof a.createGradient=="function")return a.createGradient(this.document.ctx,r,t);if(typeof a.createPattern=="function"){if(a.getHrefAttribute().hasValue()){var n=a.getAttribute("patternTransform");a=a.getHrefAttribute().getDefinition(),n.hasValue()&&a.getAttribute("patternTransform",!0).setValue(n.value)}return a.createPattern(this.document.ctx,r,t)}return null}getTextBaseline(){return this.hasValue()?i.textBaselineMapping[this.getString()]:null}addOpacity(r){for(var t=this.getColor(),a=t.length,n=0,o=0;o1&&arguments[1]!==void 0?arguments[1]:0,[t=r,a=r]=se(e);return new i(t,a)}static parseScale(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[t=r,a=t]=se(e);return new i(t,a)}static parsePath(e){for(var r=se(e),t=r.length,a=[],n=0;n0}runEvents(){if(this.working){var{screen:e,events:r,eventElements:t}=this,{style:a}=e.ctx.canvas;a&&(a.cursor=""),r.forEach((n,o)=>{for(var{run:s}=n,u=t[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInPath&&r.isPointInPath(s,u)&&(a[o]=e)})}}checkBoundingBox(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInBox(s,u)&&(a[o]=e)})}}mapXY(e,r){for(var{window:t,ctx:a}=this.screen,n=new $(e,r),o=a.canvas;o;)n.x-=o.offsetLeft,n.y-=o.offsetTop,o=o.offsetParent;return t.scrollX&&(n.x+=t.scrollX),t.scrollY&&(n.y+=t.scrollY),n}onClick(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:r,y:t,run(a){a.onClick&&a.onClick()}})}onMouseMove(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:r,y:t,run(a){a.onMouseMove&&a.onMouseMove()}})}},vg=typeof window<"u"?window:null,gg=typeof fetch<"u"?fetch.bind(void 0):null,xg=(()=>{class i{constructor(r){var{fetch:t=gg,window:a=vg}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Gn,this.mouse=new Hn(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=t}wait(r){this.waits.push(r)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var r=this.waits.every(t=>t());return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}setDefaults(r){r.strokeStyle="rgba(0,0,0,0)",r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4}setViewBox(r){var{document:t,ctx:a,aspectRatio:n,width:o,desiredWidth:s,height:u,desiredHeight:l,minX:h=0,minY:c=0,refX:v,refY:f,clip:g=!1,clipX:p=0,clipY:y=0}=r,m=yr(n).replace(/^defer\s/,""),[T,x]=m.split(" "),O=T||"xMidYMid",E=x||"meet",C=o/s,S=u/l,P=Math.min(C,S),A=Math.max(C,S),V=s,L=l;E==="meet"&&(V*=P,L*=P),E==="slice"&&(V*=A,L*=A);var N=new w(t,"refX",v),X=new w(t,"refY",f),W=N.hasValue()&&X.hasValue();if(W&&a.translate(-P*N.getPixels("x"),-P*X.getPixels("y")),g){var G=P*p,Q=P*y;a.beginPath(),a.moveTo(G,Q),a.lineTo(o,Q),a.lineTo(o,u),a.lineTo(G,u),a.closePath(),a.clip()}if(!W){var Y=E==="meet"&&P===S,K=E==="slice"&&A===S,I=E==="meet"&&P===C,R=E==="slice"&&A===C;O.startsWith("xMid")&&(Y||K)&&a.translate(o/2-V/2,0),O.endsWith("YMid")&&(I||R)&&a.translate(0,u/2-L/2),O.startsWith("xMax")&&(Y||K)&&a.translate(o-V,0),O.endsWith("YMax")&&(I||R)&&a.translate(0,u-L)}switch(!0){case O==="none":a.scale(C,S);break;case E==="meet":a.scale(P,P);break;case E==="slice":a.scale(A,A);break}a.translate(-h,-c)}start(r){var{enableRedraw:t=!1,ignoreMouse:a=!1,ignoreAnimation:n=!1,ignoreDimensions:o=!1,ignoreClear:s=!1,forceRedraw:u,scaleWidth:l,scaleHeight:h,offsetX:c,offsetY:v}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:f,mouse:g}=this,p=1e3/f;if(this.frameDuration=p,this.readyPromise=new Promise(O=>{this.resolveReady=O}),this.isReady()&&this.render(r,o,s,l,h,c,v),!!t){var y=Date.now(),m=y,T=0,x=()=>{y=Date.now(),T=y-m,T>=p&&(m=y-T%p,this.shouldUpdate(n,u)&&(this.render(r,o,s,l,h,c,v),g.runEvents())),this.intervalId=(0,hi.default)(x)};a||g.start(),this.intervalId=(0,hi.default)(x)}}stop(){this.intervalId&&(hi.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(r,t){if(!r){var{frameDuration:a}=this,n=this.animations.reduce((o,s)=>s.update(a)||o,!1);if(n)return!0}return!!(typeof t=="function"&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(r,t,a,n,o,s,u){var{CLIENT_WIDTH:l,CLIENT_HEIGHT:h,viewPort:c,ctx:v,isFirstRender:f}=this,g=v.canvas;c.clear(),g.width&&g.height?c.setCurrent(g.width,g.height):c.setCurrent(l,h);var p=r.getStyle("width"),y=r.getStyle("height");!t&&(f||typeof n!="number"&&typeof o!="number")&&(p.hasValue()&&(g.width=p.getPixels("x"),g.style&&(g.style.width="".concat(g.width,"px"))),y.hasValue()&&(g.height=y.getPixels("y"),g.style&&(g.style.height="".concat(g.height,"px"))));var m=g.clientWidth||g.width,T=g.clientHeight||g.height;if(t&&p.hasValue()&&y.hasValue()&&(m=p.getPixels("x"),T=y.getPixels("y")),c.setCurrent(m,T),typeof s=="number"&&r.getAttribute("x",!0).setValue(s),typeof u=="number"&&r.getAttribute("y",!0).setValue(u),typeof n=="number"||typeof o=="number"){var x=se(r.getAttribute("viewBox").getString()),O=0,E=0;if(typeof n=="number"){var C=r.getStyle("width");C.hasValue()?O=C.getPixels("x")/n:isNaN(x[2])||(O=x[2]/n)}if(typeof o=="number"){var S=r.getStyle("height");S.hasValue()?E=S.getPixels("y")/o:isNaN(x[3])||(E=x[3]/o)}O||(O=E),E||(E=O),r.getAttribute("width",!0).setValue(n),r.getAttribute("height",!0).setValue(o);var P=r.getStyle("transform",!0,!0);P.setValue("".concat(P.getString()," scale(").concat(1/O,", ").concat(1/E,")"))}a||v.clearRect(0,0,m,T),r.render(v),f&&(this.isFirstRender=!1)}}return i.defaultWindow=vg,i.defaultFetch=gg,i})(),{defaultFetch:yO}=xg,mO=typeof DOMParser<"u"?DOMParser:null,Xr=class{constructor(){var{fetch:e=yO,DOMParser:r=mO}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=e,this.DOMParser=r}parse(e){var r=this;return xe(function*(){return e.startsWith("<")?r.parseFromString(e):r.load(e)})()}parseFromString(e){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(r.parseFromString(e,"text/xml"))}}checkDocument(e){var r=e.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return e}load(e){var r=this;return xe(function*(){var t=yield r.fetch(e),a=yield t.text();return r.parseFromString(a)})()}},Yn=class{constructor(e,r){this.type="translate",this.point=null,this.point=$.parse(r)}apply(e){var{x:r,y:t}=this.point;e.translate(r||0,t||0)}unapply(e){var{x:r,y:t}=this.point;e.translate(-1*r||0,-1*t||0)}applyToPoint(e){var{x:r,y:t}=this.point;e.applyTransform([1,0,0,1,r||0,t||0])}},Xn=class{constructor(e,r,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=se(r);this.angle=new w(e,"angle",a[0]),this.originX=t[0],this.originY=t[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(o.getRadians()),e.translate(-s,-u)}unapply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(-1*o.getRadians()),e.translate(-s,-u)}applyToPoint(e){var{cx:r,cy:t,angle:a}=this,n=a.getRadians();e.applyTransform([1,0,0,1,r||0,t||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-r||0,-t||0])}},Wn=class{constructor(e,r,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=$.parseScale(r);(a.x===0||a.y===0)&&(a.x=dr,a.y=dr),this.scale=a,this.originX=t[0],this.originY=t[1]}apply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(r,t||r),e.translate(-o,-s)}unapply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(1/r,1/t||r),e.translate(-o,-s)}applyToPoint(e){var{x:r,y:t}=this.scale;e.applyTransform([r||0,0,0,t||0,0,0])}},fi=class{constructor(e,r,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=se(r),this.originX=t[0],this.originY=t[1]}apply(e){var{originX:r,originY:t,matrix:a}=this,n=r.getPixels("x"),o=t.getPixels("y");e.translate(n,o),e.transform(a[0],a[1],a[2],a[3],a[4],a[5]),e.translate(-n,-o)}unapply(e){var{originX:r,originY:t,matrix:a}=this,n=a[0],o=a[2],s=a[4],u=a[1],l=a[3],h=a[5],c=0,v=0,f=1,g=1/(n*(l*f-h*v)-o*(u*f-h*c)+s*(u*v-l*c)),p=r.getPixels("x"),y=t.getPixels("y");e.translate(p,y),e.transform(g*(l*f-h*v),g*(h*c-u*f),g*(s*v-o*f),g*(n*f-s*c),g*(o*h-s*l),g*(s*u-n*h)),e.translate(-p,-y)}applyToPoint(e){e.applyTransform(this.matrix)}},vi=class extends fi{constructor(e,r,t){super(e,r,t),this.type="skew",this.angle=null,this.angle=new w(e,"angle",r)}},Qn=class extends vi{constructor(e,r,t){super(e,r,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},Kn=class extends vi{constructor(e,r,t){super(e,r,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};function bO(i){return yr(i).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function xO(i){var[e,r]=i.split("(");return[e.trim(),r.trim().replace(")","")]}var Rs=(()=>{class i{constructor(r,t,a){this.document=r,this.transforms=[];var n=bO(t);n.forEach(o=>{if(o!=="none"){var[s,u]=xO(o),l=i.transformTypes[s];typeof l<"u"&&this.transforms.push(new l(this.document,u,a))}})}static fromElement(r,t){var a=t.getStyle("transform",!1,!0),[n,o=n]=t.getStyle("transform-origin",!1,!0).split(),s=[n,o];return a.hasValue()?new i(r,a.getString(),s):null}apply(r){for(var{transforms:t}=this,a=t.length,n=0;n=0;n--)t[n].unapply(r)}applyToPoint(r){for(var{transforms:t}=this,a=t.length,n=0;n{class i{constructor(r,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=r,this.node=t,this.captureTextNodes=a,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!t||t.nodeType!==1)){if(Array.from(t.attributes).forEach(u=>{var l=oO(u.nodeName);this.attributes[l]=new w(r,l,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var n=this.getAttribute("style").getString().split(";").map(u=>u.trim());n.forEach(u=>{if(u){var[l,h]=u.split(":").map(c=>c.trim());this.styles[l]=new w(r,l,h)}})}var{definitions:o}=r,s=this.getAttribute("id");s.hasValue()&&(o[s.getString()]||(o[s.getString()]=this)),Array.from(t.childNodes).forEach(u=>{if(u.nodeType===1)this.addChild(u);else if(a&&(u.nodeType===3||u.nodeType===4)){var l=r.createTextNode(u);l.getText().length>0&&this.addChild(l)}})}}getAttribute(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=this.attributes[r];if(!a&&t){var n=new w(this.document,r,"");return this.attributes[r]=n,n}return a||w.empty(this.document)}getHrefAttribute(){for(var r in this.attributes)if(r==="href"||r.endsWith(":href"))return this.attributes[r];return w.empty(this.document)}getStyle(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.styles[r];if(n)return n;var o=this.getAttribute(r);if(o!=null&&o.hasValue())return this.styles[r]=o,o;if(!a){var{parent:s}=this;if(s){var u=s.getStyle(r);if(u!=null&&u.hasValue())return u}}if(t){var l=new w(this.document,r,"");return this.styles[r]=l,l}return n||w.empty(this.document)}render(r){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(r.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(r),t.apply(r,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var a=this.getStyle("filter").getDefinition();a&&(this.applyEffects(r),a.apply(r,this))}else this.setContext(r),this.renderChildren(r),this.clearContext(r);r.restore()}}setContext(r){}applyEffects(r){var t=Rs.fromElement(this.document,this);t&&t.apply(r);var a=this.getStyle("clip-path",!1,!0);if(a.hasValue()){var n=a.getDefinition();n&&n.apply(r)}}clearContext(r){}renderChildren(r){this.children.forEach(t=>{t.render(r)})}addChild(r){var t=r instanceof i?r:this.document.createElement(r);t.parent=this,i.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(r){var t,{node:a}=this;if(typeof a.matches=="function")return a.matches(r);var n=(t=a.getAttribute)===null||t===void 0?void 0:t.call(a,"class");return!n||n===""?!1:n.split(" ").some(o=>".".concat(o)===r)}addStylesFromStyleDefinition(){var{styles:r,stylesSpecificity:t}=this.document;for(var a in r)if(!a.startsWith("@")&&this.matchesSelector(a)){var n=r[a],o=t[a];if(n)for(var s in n){var u=this.stylesSpecificity[s];typeof u>"u"&&(u="000"),o>=u&&(this.styles[s]=n[s],this.stylesSpecificity[s]=o)}}}removeStyles(r,t){var a=t.reduce((n,o)=>{var s=r.getStyle(o);if(!s.hasValue())return n;var u=s.getString();return s.setValue(""),[...n,[o,u]]},[]);return a}restoreStyles(r,t){t.forEach(a=>{var[n,o]=a;r.getStyle(n,!0).setValue(o)})}isFirstChild(){var r;return((r=this.parent)===null||r===void 0?void 0:r.children.indexOf(this))===0}}return i.ignoreChildTypes=["title"],i})(),Zn=class extends B{constructor(e,r,t){super(e,r,t)}};function TO(i){var e=i.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function OO(i){return typeof process>"u"?i:i.trim().split(",").map(TO).join(",")}function SO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function EO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var pr=(()=>{class i{constructor(r,t,a,n,o,s){var u=s?typeof s=="string"?i.parse(s):s:{};this.fontFamily=o||u.fontFamily,this.fontSize=n||u.fontSize,this.fontStyle=r||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=t||u.fontVariant}static parse(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a="",n="",o="",s="",u="",l=yr(r).trim().split(" "),h={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(c=>{switch(!0){case(!h.fontStyle&&i.styles.includes(c)):c!=="inherit"&&(a=c),h.fontStyle=!0;break;case(!h.fontVariant&&i.variants.includes(c)):c!=="inherit"&&(n=c),h.fontStyle=!0,h.fontVariant=!0;break;case(!h.fontWeight&&i.weights.includes(c)):c!=="inherit"&&(o=c),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0;break;case!h.fontSize:c!=="inherit"&&([s]=c.split("/")),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0,h.fontSize=!0;break;default:c!=="inherit"&&(u+=c)}}),new i(a,n,o,s,u,t)}toString(){return[SO(this.fontStyle),this.fontVariant,EO(this.fontWeight),this.fontSize,OO(this.fontFamily)].join(" ").trim()}}return i.styles="normal|italic|oblique|inherit",i.variants="normal|small-caps|inherit",i.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",i})(),oe=class{constructor(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=e,this.y1=r,this.x2=t,this.y2=a,this.addPoint(e,r),this.addPoint(t,a)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,r){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),ethis.x2&&(this.x2=e)),typeof r<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),rthis.y2&&(this.y2=r))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:r,y1:t,x2:a,y2:n}=e;this.addPoint(r,t),this.addPoint(a,n)}}sumCubic(e,r,t,a,n){return Math.pow(1-e,3)*r+3*Math.pow(1-e,2)*e*t+3*(1-e)*Math.pow(e,2)*a+Math.pow(e,3)*n}bezierCurveAdd(e,r,t,a,n){var o=6*r-12*t+6*a,s=-3*r+9*t-9*a+3*n,u=3*t-3*r;if(s===0){if(o===0)return;var l=-u/o;0=r.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",t=new $(this.command[e],this.command[r]);return this.makeAbsolute(t)}getAsControlPoint(e,r){var t=this.getPoint(e,r);return this.control=t,t}getAsCurrentPoint(e,r){var t=this.getPoint(e,r);return this.current=t,t}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==b.CURVE_TO&&e!==b.SMOOTH_CURVE_TO&&e!==b.QUAD_TO&&e!==b.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:t},control:{x:a,y:n}}=this,o=new $(2*r-a,2*t-n);return o}makeAbsolute(e){if(this.command.relative){var{x:r,y:t}=this.current;e.x+=r,e.y+=t}return e}addMarker(e,r,t){var{points:a,angles:n}=this;t&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=a[a.length-1].angleTo(t)),this.addMarkerAngle(e,r?r.angleTo(e):null)}addMarkerAngle(e,r){this.points.push(e),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,r=e.length,t=0;t1&&arguments[1]!==void 0?arguments[1]:!1;if(!r){var t=this.getStyle("fill"),a=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var s=t.getFillStyleDefinition(this,a);s&&(e.fillStyle=s)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var u=t.getColor();u!=="inherit"&&(e.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(a.hasValue()){var l=new w(this.document,"fill",e.fillStyle).addOpacity(a).getColor();e.fillStyle=l}if(n.isUrlDefinition()){var h=n.getFillStyleDefinition(this,o);h&&(e.strokeStyle=h)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var c=n.getString();c!=="inherit"&&(e.strokeStyle=c==="none"?"rgba(0,0,0,0)":c)}if(o.hasValue()){var v=new w(this.document,"stroke",e.strokeStyle).addOpacity(o).getString();e.strokeStyle=v}var f=this.getStyle("stroke-width");if(f.hasValue()){var g=f.getPixels();e.lineWidth=g||dr}var p=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),m=this.getStyle("stroke-miterlimit"),T=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(e.lineCap=p.getString()),y.hasValue()&&(e.lineJoin=y.getString()),m.hasValue()&&(e.miterLimit=m.getNumber()),T.hasValue()&&T.getString()!=="none"){var O=se(T.getString());typeof e.setLineDash<"u"?e.setLineDash(O):typeof e.webkitLineDash<"u"?e.webkitLineDash=O:typeof e.mozDash<"u"&&!(O.length===1&&O[0]===0)&&(e.mozDash=O);var E=x.getPixels();typeof e.lineDashOffset<"u"?e.lineDashOffset=E:typeof e.webkitLineDashOffset<"u"?e.webkitLineDashOffset=E:typeof e.mozDashOffset<"u"&&(e.mozDashOffset=E)}}if(this.modifiedEmSizeStack=!1,typeof e.font<"u"){var C=this.getStyle("font"),S=this.getStyle("font-style"),P=this.getStyle("font-variant"),A=this.getStyle("font-weight"),V=this.getStyle("font-size"),L=this.getStyle("font-family"),N=new pr(S.getString(),P.getString(),A.getString(),V.hasValue()?"".concat(V.getPixels(!0),"px"):"",L.getString(),pr.parse(C.getString(),e.font));S.setValue(N.fontStyle),P.setValue(N.fontVariant),A.setValue(N.fontWeight),V.setValue(N.fontSize),L.setValue(N.fontFamily),e.font=N.toString(),V.isPixels()&&(this.document.emSize=V.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}},F=class i extends Ce{constructor(e,r,t){super(e,r,t),this.type="path",this.pathParser=null,this.pathParser=new q(this.getAttribute("d").getString())}path(e){var{pathParser:r}=this,t=new oe;for(r.reset(),e&&e.beginPath();!r.isEnd();)switch(r.next().type){case q.MOVE_TO:this.pathM(e,t);break;case q.LINE_TO:this.pathL(e,t);break;case q.HORIZ_LINE_TO:this.pathH(e,t);break;case q.VERT_LINE_TO:this.pathV(e,t);break;case q.CURVE_TO:this.pathC(e,t);break;case q.SMOOTH_CURVE_TO:this.pathS(e,t);break;case q.QUAD_TO:this.pathQ(e,t);break;case q.SMOOTH_QUAD_TO:this.pathT(e,t);break;case q.ARC:this.pathA(e,t);break;case q.CLOSE_PATH:this.pathZ(e,t);break}return t}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,r=e.getMarkerPoints(),t=e.getMarkerAngles(),a=r.map((n,o)=>[n,t[o]]);return a}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var r=this.getStyle("fill-rule");e.fillStyle!==""&&(r.getString("inherit")!=="inherit"?e.fill(r.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var t=this.getMarkers();if(t){var a=t.length-1,n=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var u=n.getDefinition(),[l,h]=t[0];u.render(e,l,h)}if(o.isUrlDefinition())for(var c=o.getDefinition(),v=1;v1&&(a*=Math.sqrt(v),n*=Math.sqrt(v));var f=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(n,2)-Math.pow(a,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(a,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var g=new $(f*a*c.y/n,f*-n*c.x/a),p=new $((r.x+h.x)/2+Math.cos(l)*g.x-Math.sin(l)*g.y,(r.y+h.y)/2+Math.sin(l)*g.x+Math.cos(l)*g.y),y=ng([1,0],[(c.x-g.x)/a,(c.y-g.y)/n]),m=[(c.x-g.x)/a,(c.y-g.y)/n],T=[(-c.x-g.x)/a,(-c.y-g.y)/n],x=ng(m,T);return $n(m,T)<=-1&&(x=Math.PI),$n(m,T)>=1&&(x=0),{currentPoint:h,rX:a,rY:n,sweepFlag:u,xAxisRotation:l,centp:p,a1:y,ad:x}}pathA(e,r){var{pathParser:t}=this,{currentPoint:a,rX:n,rY:o,sweepFlag:s,xAxisRotation:u,centp:l,a1:h,ad:c}=i.pathA(t),v=1-s?1:-1,f=h+v*(c/2),g=new $(l.x+n*Math.cos(f),l.y+o*Math.sin(f));if(t.addMarkerAngle(g,f-v*Math.PI/2),t.addMarkerAngle(a,f-v*Math.PI),r.addPoint(a.x,a.y),e&&!isNaN(h)&&!isNaN(c)){var p=n>o?n:o,y=n>o?1:n/o,m=n>o?o/n:1;e.translate(l.x,l.y),e.rotate(u),e.scale(y,m),e.arc(0,0,p,h,h+c,!!(1-s)),e.scale(1/y,1/m),e.rotate(-u),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,r){i.pathZ(this.pathParser),e&&r.x1!==r.x2&&r.y1!==r.y2&&e.closePath()}},gi=class extends F{constructor(e,r,t){super(e,r,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},He=class i extends Ce{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(e,r);var t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(e.textBaseline=t)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var r=null;return this.children.forEach((t,a)=>{var n=this.getChildBoundingBox(e,this,this,a);r?r.addBoundingBox(n):r=n}),r}getFontSize(){var{document:e,parent:r}=this,t=pr.parse(e.ctx.font).fontSize,a=r.getStyle("font-size").getNumber(t);return a}getTElementBoundingBox(e){var r=this.getFontSize();return new oe(this.x,this.y-r,this.x+this.measureText(e),this.y)}getGlyph(e,r,t){var a=r[t],n=null;if(e.isArabic){var o=r.length,s=r[t-1],u=r[t+1],l="isolated";if((t===0||s===" ")&&t0&&s!==" "&&t0&&s!==" "&&(t===o-1||u===" ")&&(l="initial"),typeof e.glyphs[a]<"u"){var h=e.glyphs[a];n=h instanceof gi?h:h[l]}}else n=e.glyphs[a];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var r=e||this.node,t=Array.from(r.parentNode.childNodes),a=t.indexOf(r),n=t.length-1,o=yr(r.textContent||"");return a===0&&(o=aO(o)),a===n&&(o=nO(o)),o}renderChildren(e){if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,a)=>{this.renderChild(e,this,this,a)});var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:r,parent:t}=this,a=this.getText(),n=t.getStyle("font-family").getDefinition();if(n){for(var{unitsPerEm:o}=n.fontFace,s=pr.parse(r.ctx.font),u=t.getStyle("font-size").getNumber(s.fontSize),l=t.getStyle("font-style").getString(s.fontStyle),h=u/o,c=n.isRTL?a.split("").reverse().join(""):a,v=se(t.getAttribute("dx").getString()),f=c.length,g=0;g=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],r=e.getStyle("text-anchor").getString("start"),t=!1,a=0;r==="start"&&!t||r==="end"&&t?a=e.x-this.minX:r==="end"&&!t||r==="start"&&t?a=e.x-this.maxX:a=e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n{this.adjustChildCoordinatesRecursiveCore(e,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,r,t,a){var n=t.children[a];n.children.length>0?n.children.forEach((o,s)=>{r.adjustChildCoordinatesRecursiveCore(e,r,n,s)}):this.adjustChildCoordinates(e,r,t,a)}adjustChildCoordinates(e,r,t,a){var n=t.children[a];if(typeof n.measureText!="function")return n;e.save(),n.setContext(e,!0);var o=n.getAttribute("x"),s=n.getAttribute("y"),u=n.getAttribute("dx"),l=n.getAttribute("dy"),h=n.getStyle("font-family").getDefinition(),c=!!h&&h.isRTL;a===0&&(o.hasValue()||o.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),u.hasValue()||u.setValue(n.getInheritedAttribute("dx")),l.hasValue()||l.setValue(n.getInheritedAttribute("dy")));var v=n.measureText(e);return c&&(r.x-=v),o.hasValue()?(r.applyAnchoring(),n.x=o.getPixels("x"),u.hasValue()&&(n.x+=u.getPixels("x"))):(u.hasValue()&&(r.x+=u.getPixels("x")),n.x=r.x),r.x=n.x,c||(r.x+=v),s.hasValue()?(n.y=s.getPixels("y"),l.hasValue()&&(n.y+=l.getPixels("y"))):(l.hasValue()&&(r.y+=l.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+v),r.maxX=Math.max(r.maxX,n.x,n.x+v),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,r,t,a){var n=t.children[a];if(typeof n.getBoundingBox!="function")return null;var o=n.getBoundingBox(e);return o?(n.children.forEach((s,u)=>{var l=r.getChildBoundingBox(e,r,n,u);o.addBoundingBox(l)}),o):null}renderChild(e,r,t,a){var n=t.children[a];n.render(e),n.children.forEach((o,s)=>{r.renderChild(e,r,n,s)})}measureText(e){var{measureCache:r}=this;if(~r)return r;var t=this.getText(),a=this.measureTargetText(e,t);return this.measureCache=a,a}measureTargetText(e,r){if(!r.length)return 0;var{parent:t}=this,a=t.getStyle("font-family").getDefinition();if(a){for(var n=this.getFontSize(),o=a.isRTL?r.split("").reverse().join(""):r,s=se(t.getAttribute("dx").getString()),u=o.length,l=0,h=0;h0?"":this.getTextFromNode()}getText(){return this.text}},Jn=class extends di{constructor(){super(...arguments),this.type="textNode"}},Ye=class extends Ce{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var r,{document:t}=this,{screen:a,window:n}=t,o=e.canvas;if(a.setDefaults(e),o.style&&typeof e.font<"u"&&n&&typeof n.getComputedStyle<"u"){e.font=n.getComputedStyle(o).getPropertyValue("font");var s=new w(t,"fontSize",pr.parse(e.font).fontSize);s.hasValue()&&(t.rootEmSize=s.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:l}=a.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var h=this.getAttribute("refX"),c=this.getAttribute("refY"),v=this.getAttribute("viewBox"),f=v.hasValue()?se(v.getString()):null,g=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",p=0,y=0,m=0,T=0;f&&(p=f[0],y=f[1]),this.root||(u=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),this.type==="marker"&&(m=p,T=y,p=0,y=0)),a.viewPort.setCurrent(u,l),this.node&&(!this.parent||((r=this.node.parentNode)===null||r===void 0?void 0:r.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),f&&(u=f[2],l=f[3]),t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:l,minX:p,minY:y,refX:h.getValue(),refY:c.getValue(),clip:g,clipX:m,clipY:T}),f&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.getAttribute("width",!0),n=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),l=n.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var h=this.getAttribute("preserveAspectRatio");h.hasValue()&&h.setValue(h.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(e),n.setValue(r),o.hasValue()||o.setValue("0 0 ".concat(u||e," ").concat(l||r)),s.hasValue()){var c=this.getStyle("width"),v=this.getStyle("height");c.hasValue()&&c.setValue("".concat(e,"px")),v.hasValue()&&v.setValue("".concat(r,"px"))}}},pi=class extends F{constructor(){super(...arguments),this.type="rect"}path(e){var r=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),l=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(l=u),s.hasValue()&&!o.hasValue()&&(u=l),u=Math.min(u,a/2),l=Math.min(l,n/2),e){var h=4*((Math.sqrt(2)-1)/3);e.beginPath(),n>0&&a>0&&(e.moveTo(r+u,t),e.lineTo(r+a-u,t),e.bezierCurveTo(r+a-u+h*u,t,r+a,t+l-h*l,r+a,t+l),e.lineTo(r+a,t+n-l),e.bezierCurveTo(r+a,t+n-l+h*l,r+a-u+h*u,t+n,r+a-u,t+n),e.lineTo(r+u,t+n),e.bezierCurveTo(r+u-h*u,t+n,r,t+n-l+h*l,r,t+n-l),e.lineTo(r,t+l),e.bezierCurveTo(r,t+l-h*l,r+u-h*u,t,r+u,t),e.closePath())}return new oe(r,t,r+a,t+n)}getMarkers(){return null}},es=class extends F{constructor(){super(...arguments),this.type="circle"}path(e){var r=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return e&&a>0&&(e.beginPath(),e.arc(r,t,a,0,Math.PI*2,!1),e.closePath()),new oe(r-a,t-a,r+a,t+a)}getMarkers(){return null}},rs=class extends F{constructor(){super(...arguments),this.type="ellipse"}path(e){var r=4*((Math.sqrt(2)-1)/3),t=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&t>0&&a>0&&(e.beginPath(),e.moveTo(n+t,o),e.bezierCurveTo(n+t,o+r*a,n+r*t,o+a,n,o+a),e.bezierCurveTo(n-r*t,o+a,n-t,o+r*a,n-t,o),e.bezierCurveTo(n-t,o-r*a,n-r*t,o-a,n,o-a),e.bezierCurveTo(n+r*t,o-a,n+t,o-r*a,n+t,o),e.closePath()),new oe(n-t,o-a,n+t,o+a)}getMarkers(){return null}},ts=class extends F{constructor(){super(...arguments),this.type="line"}getPoints(){return[new $(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new $(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:r,y:t},{x:a,y:n}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(r,t),e.lineTo(a,n)),new oe(r,t,a,n)}getMarkers(){var[e,r]=this.getPoints(),t=e.angleTo(r);return[[e,t],[r,t]]}},yi=class extends F{constructor(e,r,t){super(e,r,t),this.type="polyline",this.points=[],this.points=$.parsePath(this.getAttribute("points").getString())}path(e){var{points:r}=this,[{x:t,y:a}]=r,n=new oe(t,a);return e&&(e.beginPath(),e.moveTo(t,a)),r.forEach(o=>{var{x:s,y:u}=o;n.addPoint(s,u),e&&e.lineTo(s,u)}),n}getMarkers(){var{points:e}=this,r=e.length-1,t=[];return e.forEach((a,n)=>{n!==r&&t.push([a,a.angleTo(e[n+1])])}),t.length>0&&t.push([e[e.length-1],t[t.length-1][1]]),t}},is=class extends yi{constructor(){super(...arguments),this.type="polygon"}path(e){var r=super.path(e),[{x:t,y:a}]=this.points;return e&&(e.lineTo(t,a),e.closePath()),r}},as=class extends B{constructor(){super(...arguments),this.type="pattern"}createPattern(e,r,t){var a=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),o=new Ye(this.document,null);o.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new w(this.document,"width","".concat(a,"px")),o.attributes.height=new w(this.document,"height","".concat(n,"px")),o.attributes.transform=new w(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,n),u=s.getContext("2d"),l=this.getAttribute("x"),h=this.getAttribute("y");l.hasValue()&&h.hasValue()&&u.translate(l.getPixels("x",!0),h.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var v=-1;v<=1;v++)u.save(),o.attributes.x=new w(this.document,"x",c*s.width),o.attributes.y=new w(this.document,"y",v*s.height),o.render(u),u.restore();var f=e.createPattern(s,"repeat");return f}},ns=class extends B{constructor(){super(...arguments),this.type="marker"}render(e,r,t){if(r){var{x:a,y:n}=r,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(a,n),o==="auto"&&e.rotate(t),s==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var u=new Ye(this.document,null);u.type=this.type,u.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new w(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new w(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new w(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new w(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new w(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new w(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new w(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(e),e.restore(),s==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),o==="auto"&&e.rotate(-t),e.translate(-a,-n)}}},ss=class extends B{constructor(){super(...arguments),this.type="defs"}render(){}},Wr=class extends Ce{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var r=new oe;return this.children.forEach(t=>{r.addBoundingBox(t.getBoundingBox(e))}),r}},mi=class extends B{constructor(e,r,t){super(e,r,t),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:n}=this;n.forEach(o=>{o.type==="stop"&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,r,t){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:n}=a,o=this.getGradient(e,r);if(!o)return this.addParentOpacity(t,n[n.length-1].color);if(n.forEach(y=>{o.addColorStop(y.offset,this.addParentOpacity(t,y.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:l}=s.screen,[h]=l.viewPorts,c=new pi(s,null);c.attributes.x=new w(s,"x",-u/3),c.attributes.y=new w(s,"y",-u/3),c.attributes.width=new w(s,"width",u),c.attributes.height=new w(s,"height",u);var v=new Wr(s,null);v.attributes.transform=new w(s,"transform",this.getAttribute("gradientTransform").getValue()),v.children=[c];var f=new Ye(s,null);f.attributes.x=new w(s,"x",0),f.attributes.y=new w(s,"y",0),f.attributes.width=new w(s,"width",h.width),f.attributes.height=new w(s,"height",h.height),f.children=[v];var g=s.createCanvas(h.width,h.height),p=g.getContext("2d");return p.fillStyle=o,f.render(p),p.createPattern(g,"no-repeat")}return o}inheritStopContainer(e){this.attributesToInherit.forEach(r=>{!this.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())})}addParentOpacity(e,r){if(e.hasValue()){var t=new w(this.document,"color",r);return t.addOpacity(e).getColor()}return r}},os=class extends mi{constructor(e,r,t){super(e,r,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=t?r.getBoundingBox(e):null;if(t&&!a)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=t?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=t?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=t?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=t?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===s&&o===u?null:e.createLinearGradient(n,o,s,u)}},us=class extends mi{constructor(e,r,t){super(e,r,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=r.getBoundingBox(e);if(t&&!a)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=t?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=t?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=n,u=o;this.getAttribute("fx").hasValue()&&(s=t?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=t?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=t?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),h=this.getAttribute("fr").getPixels();return e.createRadialGradient(s,u,h,n,o,l)}},ls=class extends B{constructor(e,r,t){super(e,r,t),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),n.hasValue()&&(o=o.addOpacity(n)),this.offset=a,this.color=o.getColor()}},Qr=class extends B{constructor(e,r,t){super(e,r,t),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new w(e,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:e}=this,{progress:r,from:t,to:a}=this.getProgress(),n=t.getNumber()+(a.getNumber()-t.getNumber())*r;return e==="%"&&(n*=100),"".concat(n).concat(e)}update(e){var{parent:r}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(a==="freeze"&&!this.frozen)this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=t.getString();else if(a==="remove"&&!this.removed)return this.removed=!0,t.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var n=!1;if(this.begin{var l=n[u];return s+(l-s)*e}).join(" ");return o}},fs=class extends B{constructor(e,r,t){super(e,r,t),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=e,{children:n}=this;for(var o of n)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}},vs=class extends B{constructor(e,r,t){super(e,r,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},gs=class extends F{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},ds=class extends He{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var r=e.children[0];if(r)return r.getText()}return""}},ps=class extends He{constructor(e,r,t){super(e,r,t),this.type="a";var{childNodes:a}=r,n=a[0],o=a.length>0&&Array.from(a).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:r,x:t,y:a}=this,{mouse:n}=r.screen,o=new w(r,"fontSize",pr.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new oe(t,a-o.getPixels("y"),t+this.measureText(e),a))}else if(this.children.length>0){var s=new Wr(this.document,null);s.children=this.children,s.parent=this,s.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}};function dg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function oi(i){for(var e=1;e{var{type:a,points:n}=t;switch(a){case q.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case q.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case q.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case q.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case q.ARC:{var[o,s,u,l,h,c,v,f]=n,g=u>l?u:l,p=u>l?1:u/l,y=u>l?l/u:1;e&&(e.translate(o,s),e.rotate(v),e.scale(p,y),e.arc(0,0,g,h,h+c,!!(1-f)),e.scale(1/p,1/y),e.rotate(-v),e.translate(-o,-s));break}case q.CLOSE_PATH:e&&e.closePath();break}})}renderChildren(e){this.setTextData(e),e.save();var r=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:a}=this,n=e.fillStyle;r==="underline"&&e.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:l,rotation:h,text:c}=o;e.save(),e.translate(u.x,u.y),e.rotate(h),e.fillStyle&&e.fillText(c,0,0),e.strokeStyle&&e.strokeText(c,0,0),e.restore(),r==="underline"&&(s===0&&e.moveTo(u.x,u.y+t/8),e.lineTo(l.x,l.y+t/5))}),r==="underline"&&(e.lineWidth=t/20,e.strokeStyle=n,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,r,t,a,n,o,s,u,l){var h=o,c=this.measureText(e,u);u===" "&&r==="justify"&&t-1&&(h+=this.getLetterSpacingAt(l));var v=this.textHeight/20,f=this.getEquidistantPointOnPath(h,v,0),g=this.getEquidistantPointOnPath(h+c,v,0),p={p0:f,p1:g},y=f&&g?Math.atan2(g.y-f.y,g.x-f.x):0;if(s){var m=Math.cos(Math.PI/2+y)*s,T=Math.cos(-y)*s;p.p0=oi(oi({},f),{},{x:f.x+m,y:f.y+T}),p.p1=oi(oi({},g),{},{x:g.x+m,y:g.y+T})}return h+=c,{offset:h,segment:p,rotation:y}}measureText(e,r){var{measuresCache:t}=this,a=r||this.getText();if(t.has(a))return t.get(a);var n=this.measureTargetText(e,a);return t.set(a,n),n}setTextData(e){if(!this.glyphInfo){var r=this.getText(),t=r.split(""),a=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map(O=>O.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),h=0;!u.hasValue()||u.getValue()==="inherit"?h=l.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(h=u.getPixels());var c=[],v=r.length;this.letterSpacingCache=c;for(var f=0;fC===0?0:O+E||0,0),p=this.measureText(e),y=Math.max(p+g,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var m=this.getPathLength(),T=this.getStyle("startOffset").getNumber(0)*m,x=0;(s==="middle"||s==="center")&&(x=-y/2),(s==="end"||s==="right")&&(x=-y),x+=T,t.forEach((O,E)=>{var{offset:C,segment:S,rotation:P}=this.findSegmentToFitChar(e,s,y,m,a,x,o,O,E);x=C,!(!S.p0||!S.p1)&&this.glyphInfo.push({text:t[E],p0:S.p0,p1:S.p1,rotation:P})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var r=[],{pathParser:t}=e;for(t.reset();!t.isEnd();){var{current:a}=t,n=a?a.x:0,o=a?a.y:0,s=t.next(),u=s.type,l=[];switch(s.type){case q.MOVE_TO:this.pathM(t,l);break;case q.LINE_TO:u=this.pathL(t,l);break;case q.HORIZ_LINE_TO:u=this.pathH(t,l);break;case q.VERT_LINE_TO:u=this.pathV(t,l);break;case q.CURVE_TO:this.pathC(t,l);break;case q.SMOOTH_CURVE_TO:u=this.pathS(t,l);break;case q.QUAD_TO:this.pathQ(t,l);break;case q.SMOOTH_QUAD_TO:u=this.pathT(t,l);break;case q.ARC:l=this.pathA(t);break;case q.CLOSE_PATH:F.pathZ(t);break}s.type!==q.CLOSE_PATH?r.push({type:u,points:l,start:{x:n,y:o},pathLength:this.calcLength(n,o,u,l)}):r.push({type:q.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(e,r){var{x:t,y:a}=F.pathM(e).point;r.push(t,a)}pathL(e,r){var{x:t,y:a}=F.pathL(e).point;return r.push(t,a),q.LINE_TO}pathH(e,r){var{x:t,y:a}=F.pathH(e).point;return r.push(t,a),q.LINE_TO}pathV(e,r){var{x:t,y:a}=F.pathV(e).point;return r.push(t,a),q.LINE_TO}pathC(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathC(e);r.push(t.x,t.y,a.x,a.y,n.x,n.y)}pathS(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathS(e);return r.push(t.x,t.y,a.x,a.y,n.x,n.y),q.CURVE_TO}pathQ(e,r){var{controlPoint:t,currentPoint:a}=F.pathQ(e);r.push(t.x,t.y,a.x,a.y)}pathT(e,r){var{controlPoint:t,currentPoint:a}=F.pathT(e);return r.push(t.x,t.y,a.x,a.y),q.QUAD_TO}pathA(e){var{rX:r,rY:t,sweepFlag:a,xAxisRotation:n,centp:o,a1:s,ad:u}=F.pathA(e);return a===0&&u>0&&(u-=2*Math.PI),a===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,r,t,s,u,n,a]}calcLength(e,r,t,a){var n=0,o=null,s=null,u=0;switch(t){case q.LINE_TO:return this.getLineLength(e,r,a[0],a[1]);case q.CURVE_TO:for(n=0,o=this.getPointOnCubicBezier(0,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.QUAD_TO:for(n=0,o=this.getPointOnQuadraticBezier(0,e,r,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,e,r,a[0],a[1],a[2],a[3]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.ARC:{n=0;var l=a[4],h=a[5],c=a[4]+h,v=Math.PI/180;if(Math.abs(l-c)c;u-=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=l+v;u5&&arguments[5]!==void 0?arguments[5]:r,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,u=(n-t)/(a-r+dr),l=Math.sqrt(e*e/(1+u*u));ar)return null;var{dataArray:n}=this;for(var o of n){if(o&&(o.pathLength<5e-5||t+o.pathLength+5e-5=0&&u>c)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case q.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case q.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(a)return a;break}return null}getLineLength(e,r,t,a){return Math.sqrt((t-e)*(t-e)+(a-r)*(a-r))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((e,r)=>r.pathLength>0?e+r.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,r,t,a,n,o,s,u,l){var h=u*sg(e)+o*og(e)+a*ug(e)+r*lg(e),c=l*sg(e)+s*og(e)+n*ug(e)+t*lg(e);return{x:h,y:c}}getPointOnQuadraticBezier(e,r,t,a,n,o,s){var u=o*hg(e)+a*cg(e)+r*fg(e),l=s*hg(e)+n*cg(e)+t*fg(e);return{x:u,y:l}}getPointOnEllipticalArc(e,r,t,a,n,o){var s=Math.cos(o),u=Math.sin(o),l={x:t*Math.cos(n),y:a*Math.sin(n)};return{x:e+(l.x*s-l.y*u),y:r+(l.x*u+l.y*s)}}buildEquidistantCache(e,r){var t=this.getPathLength(),a=r||.25,n=e||t/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==a){this.equidistantCache={step:n,precision:a,points:[]};for(var o=0,s=0;s<=t;s+=a){var u=this.getPointOnPath(s),l=this.getPointOnPath(s+a);!u||!l||(o+=this.getLineLength(u.x,u.y,l.x,l.y),o>=n&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=n))}}}getEquidistantPointOnPath(e,r,t){if(this.buildEquidistantCache(r,t),e<0||e-this.getPathLength()>5e-5)return null;var a=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}},wO=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,ms=class extends Ce{constructor(e,r,t){super(e,r,t),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var n=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);e.images.push(this),n?this.loadSvg(a):this.loadImage(a),this.isSvg=n}}loadImage(e){var r=this;return xe(function*(){try{var t=yield r.document.createImage(e);r.image=t}catch(a){console.error('Error while loading image "'.concat(e,'":'),a)}r.loaded=!0})()}loadSvg(e){var r=this;return xe(function*(){var t=wO.exec(e);if(t){var a=t[5];t[4]==="base64"?r.image=atob(a):r.image=decodeURIComponent(a)}else try{var n=yield r.document.fetch(e),o=yield n.text();r.image=o}catch(s){console.error('Error while loading image "'.concat(e,'":'),s)}r.loaded=!0})()}renderChildren(e){var{document:r,image:t,loaded:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!a||!t||!s||!u)){if(e.save(),e.translate(n,o),this.isSvg){var l=r.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});l.document.documentElement.parent=this,l.render()}else{var h=this.image;r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:h.width,height:u,desiredHeight:h.height}),this.loaded&&(typeof h.complete>"u"||h.complete)&&e.drawImage(h,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new oe(e,r,e+t,r+a)}},bs=class extends Ce{constructor(){super(...arguments),this.type="symbol"}render(e){}},xs=class{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,r){var t=this;return xe(function*(){try{var{document:a}=t,n=yield a.canvg.parser.load(r),o=n.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[e]=u})}catch(s){console.error('Error while loading font "'.concat(r,'":'),s)}t.loaded=!0})()}},CO=(()=>{class i extends B{constructor(r,t,a){super(r,t,a),this.type="style";var n=yr(Array.from(t.childNodes).map(s=>s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),o=n.split("}");o.forEach(s=>{var u=s.trim();if(u){var l=u.split("{"),h=l[0].split(","),c=l[1].split(";");h.forEach(v=>{var f=v.trim();if(f){var g=r.styles[f]||{};if(c.forEach(m=>{var T=m.indexOf(":"),x=m.substr(0,T).trim(),O=m.substr(T+1,m.length-T).trim();x&&O&&(g[x]=new w(r,x,O))}),r.styles[f]=g,r.stylesSpecificity[f]=pO(f),f==="@font-face"){var p=g["font-family"].getString().replace(/"|'/g,""),y=g.src.getString().split(",");y.forEach(m=>{if(m.indexOf('format("svg")')>0){var T=ig(m);T&&new xs(r).load(p,T)}})}}})}})}}return i.parseExternalUrl=ig,i})(),Ts=class extends Ce{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var r=this.getAttribute("x"),t=this.getAttribute("y");r.hasValue()&&e.translate(r.getPixels("x"),0),t.hasValue()&&e.translate(0,t.getPixels("y"))}path(e){var{element:r}=this;r&&r.path(e)}renderChildren(e){var{document:r,element:t}=this;if(t){var a=t;if(t.type==="symbol"&&(a=new Ye(r,null),a.attributes.viewBox=new w(r,"viewBox",t.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new w(r,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new w(r,"overflow",t.getAttribute("overflow").getString()),a.children=t.children,t.styles.opacity=new w(r,"opacity",this.calculateOpacity())),a.type==="svg"){var n=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);n.hasValue()&&(a.attributes.width=new w(r,"width",n.getString())),o.hasValue()&&(a.attributes.height=new w(r,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(e),a.parent=s}}getBoundingBox(e){var{element:r}=this;return r?r.getBoundingBox(e):null}elementTransform(){var{document:e,element:r}=this;return Rs.fromElement(e,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};function ui(i,e,r,t,a,n){return i[r*t*4+e*4+n]}function li(i,e,r,t,a,n,o){i[r*t*4+e*4+n]=o}function j(i,e,r){var t=i[e];return t*r}function we(i,e,r,t){return e+Math.cos(i)*r+Math.sin(i)*t}var bi=class extends B{constructor(e,r,t){super(e,r,t),this.type="feColorMatrix";var a=se(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var n=a[0];a=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=a[0]*Math.PI/180;a=[we(o,.213,.787,-.213),we(o,.715,-.715,-.715),we(o,.072,-.072,.928),0,0,we(o,.213,-.213,.143),we(o,.715,.285,.14),we(o,.072,-.072,-.283),0,0,we(o,.213,-.213,-.787),we(o,.715,-.715,.715),we(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,r,t,a,n){for(var{includeOpacity:o,matrix:s}=this,u=e.getImageData(0,0,a,n),l=0;l{class i extends B{constructor(){super(...arguments),this.type="mask"}apply(r,t){var{document:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!s&&!u){var l=new oe;this.children.forEach(p=>{l.addBoundingBox(p.getBoundingBox(r))}),n=Math.floor(l.x1),o=Math.floor(l.y1),s=Math.floor(l.width),u=Math.floor(l.height)}var h=this.removeStyles(t,i.ignoreStyles),c=a.createCanvas(n+s,o+u),v=c.getContext("2d");a.screen.setDefaults(v),this.renderChildren(v),new bi(a,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(v,0,0,n+s,o+u);var f=a.createCanvas(n+s,o+u),g=f.getContext("2d");a.screen.setDefaults(g),t.render(g),g.globalCompositeOperation="destination-in",g.fillStyle=v.createPattern(c,"no-repeat"),g.fillRect(0,0,n+s,o+u),r.fillStyle=g.createPattern(f,"no-repeat"),r.fillRect(0,0,n+s,o+u),this.restoreStyles(t,h)}render(r){}}return i.ignoreStyles=["mask","transform","clip-path"],i})(),pg=()=>{},Os=class extends B{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:r}=this,t=Reflect.getPrototypeOf(e),{beginPath:a,closePath:n}=e;t&&(t.beginPath=pg,t.closePath=pg),Reflect.apply(a,e,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=Rs.fromElement(r,o)),s&&s.apply(e),o.path(e),t&&(t.closePath=n),s&&s.unapply(e)}}),Reflect.apply(n,e,[]),e.clip(),t&&(t.beginPath=a,t.closePath=n)}render(e){}},PO=(()=>{class i extends B{constructor(){super(...arguments),this.type="filter"}apply(r,t){var{document:a,children:n}=this,o=t.getBoundingBox(r);if(o){var s=0,u=0;n.forEach(T=>{var x=T.extraFilterDistance||0;s=Math.max(s,x),u=Math.max(u,x)});var l=Math.floor(o.width),h=Math.floor(o.height),c=l+2*s,v=h+2*u;if(!(c<1||v<1)){var f=Math.floor(o.x),g=Math.floor(o.y),p=this.removeStyles(t,i.ignoreStyles),y=a.createCanvas(c,v),m=y.getContext("2d");a.screen.setDefaults(m),m.translate(-f+s,-g+u),t.render(m),n.forEach(T=>{typeof T.apply=="function"&&T.apply(m,0,0,c,v)}),r.drawImage(y,0,0,c,v,f-s,g-u,c,v),this.restoreStyles(t,p)}}}render(r){}}return i.ignoreStyles=["filter","transform","clip-path"],i})(),Ss=class extends B{constructor(e,r,t){super(e,r,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,r,t,a,n){}},Es=class extends B{constructor(){super(...arguments),this.type="feMorphology"}apply(e,r,t,a,n){}},ws=class extends B{constructor(){super(...arguments),this.type="feComposite"}apply(e,r,t,a,n){}},Cs=class extends B{constructor(e,r,t){super(e,r,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,r,t,a,n){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,l=e.canvas;l.id=o.getUniqueId(),u&&(l.style.display="none",u.appendChild(l)),tg(l,r,t,a,n,s),u&&u.removeChild(l)}},qs=class extends B{constructor(){super(...arguments),this.type="title"}},Ps=class extends B{constructor(){super(...arguments),this.type="desc"}},AO={svg:Ye,rect:pi,circle:es,ellipse:rs,line:ts,polyline:yi,polygon:is,path:F,pattern:as,marker:ns,defs:ss,linearGradient:os,radialGradient:us,stop:ls,animate:Qr,animateColor:hs,animateTransform:cs,font:fs,"font-face":vs,"missing-glyph":gs,glyph:gi,text:He,tspan:di,tref:ds,a:ps,textPath:ys,image:ms,g:Wr,symbol:bs,style:CO,use:Ts,mask:qO,clipPath:Os,filter:PO,feDropShadow:Ss,feMorphology:Es,feComposite:ws,feColorMatrix:bi,feGaussianBlur:Cs,title:qs,desc:Ps};function yg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function RO(i){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:!1,r=document.createElement("img");return e&&(r.crossOrigin="Anonymous"),new Promise((t,a)=>{r.onload=()=>{t(r)},r.onerror=(n,o,s,u,l)=>{a(l)},r.src=i})}),As.apply(this,arguments)}var MO=(()=>{class i{constructor(r){var{rootEmSize:t=12,emSize:a=12,createCanvas:n=i.createCanvas,createImage:o=i.createImage,anonymousCrossOrigin:s}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=r,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=r.screen,this.rootEmSize=t,this.emSize=a,this.createCanvas=n,this.createImage=this.bindCreateImage(o,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(r,t){return typeof t=="boolean"?(a,n)=>r(a,typeof n=="boolean"?n:t):r}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:r}=this;return r[r.length-1]}set emSize(r){var{emSizeStack:t}=this;t.push(r)}popEmSize(){var{emSizeStack:r}=this;r.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(r=>r.loaded)}isFontsLoaded(){return this.fonts.every(r=>r.loaded)}createDocumentElement(r){var t=this.createElement(r.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(r){var t=r.nodeName.replace(/^[^:]+:/,""),a=i.elementTypes[t];return typeof a<"u"?new a(this,r):new Zn(this,r)}createTextNode(r){return new Jn(this,r)}setViewBox(r){this.screen.setViewBox(RO({document:this},r))}}return i.createCanvas=NO,i.createImage=IO,i.elementTypes=AO,i})();function mg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function Ge(i){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Xr(t),this.screen=new xg(e,t),this.options=t;var a=new MO(this,t),n=a.createDocumentElement(r);this.document=a,this.documentElement=n}static from(e,r){var t=arguments;return xe(function*(){var a=t.length>2&&t[2]!==void 0?t[2]:{},n=new Xr(a),o=yield n.parse(r);return new i(e,o,a)})()}static fromString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=new Xr(t),n=a.parseFromString(r);return new i(e,n,t)}fork(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.from(e,r,Ge(Ge({},this.options),t))}forkString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.fromString(e,r,Ge(Ge({},this.options),t))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,r=this;return xe(function*(){var t=e.length>0&&e[0]!==void 0?e[0]:{};r.start(Ge({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t)),yield r.ready(),r.stop()})()}start(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:r,screen:t,options:a}=this;t.start(r,Ge(Ge({enableRedraw:!0},a),e))}stop(){this.screen.stop()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(e,r,t)}};export{ps as AElement,hs as AnimateColorElement,Qr as AnimateElement,cs as AnimateTransformElement,oe as BoundingBox,sg as CB1,og as CB2,ug as CB3,lg as CB4,bg as Canvg,es as CircleElement,Os as ClipPathElement,ss as DefsElement,Ps as DescElement,MO as Document,B as Element,rs as EllipseElement,bi as FeColorMatrixElement,ws as FeCompositeElement,Ss as FeDropShadowElement,Cs as FeGaussianBlurElement,Es as FeMorphologyElement,PO as FilterElement,pr as Font,fs as FontElement,vs as FontFaceElement,Wr as GElement,gi as GlyphElement,mi as GradientElement,ms as ImageElement,ts as LineElement,os as LinearGradientElement,ns as MarkerElement,qO as MaskElement,fi as Matrix,gs as MissingGlyphElement,Hn as Mouse,dr as PSEUDO_ZERO,Xr as Parser,F as PathElement,q as PathParser,as as PatternElement,$ as Point,is as PolygonElement,yi as PolylineElement,w as Property,hg as QB1,cg as QB2,fg as QB3,us as RadialGradientElement,pi as RectElement,Ce as RenderedElement,Xn as Rotate,Ye as SVGElement,xs as SVGFontLoader,Wn as Scale,xg as Screen,vi as Skew,Qn as SkewX,Kn as SkewY,ls as StopElement,CO as StyleElement,bs as SymbolElement,ds as TRefElement,di as TSpanElement,He as TextElement,ys as TextPathElement,qs as TitleElement,Rs as Transform,Yn as Translate,Zn as UnknownElement,Ts as UseElement,Gn as ViewPort,yr as compressSpaces,bg as default,pO as getSelectorSpecificity,oO as normalizeAttributeName,uO as normalizeColor,ig as parseExternalUrl,RC as presets,se as toNumbers,aO as trimLeft,nO as trimRight,ag as vectorMagnitude,ng as vectorsAngle,$n as vectorsRatio};
diff --git a/browser/index.html b/browser/index.html
deleted file mode 100644
index 5b06f5ea1..000000000
--- a/browser/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-  
-    
-    {{'APP_NAME' | translate}}
-    
-    
-    
-    
-
-    
-    
-    
-    
-
-    
-    
-    
-  
-  
-    
-    
-
-    
-
-    
-
-    
-      
-
-
-
-
-
-
- - diff --git a/browser/loans.module-CDWDPYCE.js b/browser/loans.module-CDWDPYCE.js deleted file mode 100644 index 1c5665eb3..000000000 --- a/browser/loans.module-CDWDPYCE.js +++ /dev/null @@ -1,5886 +0,0 @@ -import{a as rd}from"./chunk-Y4A5RXFJ.js";import{a as rr,b as _l,c as M0,d as $c}from"./chunk-5Y6MWJHO.js";import{a as O0,b as Wc,c as ld,d as sd}from"./chunk-AGAVVHNS.js";import{a as ii}from"./chunk-FK6H3RFT.js";import{a as od}from"./chunk-RO62NWKH.js";import{$ as s,$d as Vm,$e as Hm,Aa as Qn,Ac as le,Ad as _0,Ae as C0,Af as Jm,Ba as Xn,Bc as te,Bd as v0,Be as dl,Bf as xl,C as Xe,Ca as Mt,Cb as ol,Cd as ui,Ce as ul,D as d0,Da as t,Dc as Nm,De as fl,Df as It,Ea as y,Ee as hl,F as on,Fa as S,Fd as b0,Fe as Ua,Ff as Qm,Ga as Ht,Gc as nn,Gd as So,Ge as Pa,H as Pt,Ha as ps,He as gn,Hf as Pe,I as u0,Ia as ms,Ic as ye,Ie as xn,If as Xm,Ja as ds,Jc as Wt,Je as _n,K as or,Ka as us,Kc as ue,Kd as $i,Ke as y0,Kf as Zm,L as lt,La as fs,Lc as Te,Le as vn,Lf as Yi,M as st,Me as bn,Mf as ji,Ne as S0,Nf as hs,Oa as Ut,Oc as pe,Oe as Cn,Pa as fa,Pb as Nt,Pc as Fm,Pe as yn,Pf as td,Qb as Om,Qc as Fe,Qe as D0,Qf as ed,R as al,Ra as m,Rc as di,Re as Sn,Sa as u,Sb as ne,Sc as Co,Se as Dn,Ta as pn,Tb as Qt,Tc as Ie,Te as P0,Tf as nd,Ua as Tm,Ub as Am,Ue as Pn,V as Dm,Va as qe,Vb as Gc,Vf as id,Wc as Me,Wd as jm,We as hi,X as Hc,Xc as km,Xd as qm,Y as f0,Yc as Bm,Zb as In,Zc as ke,_b as Gt,_d as _e,aa as L,ab as aa,ac as Ca,ad as Se,ae as zm,af as Gm,ag as I0,bb as en,be as we,bf as Wm,bg as Ei,c as Cm,cb as qt,cd as ya,cg as ad,da as Pm,dd as fe,de as je,e as ym,ed as Be,ee as Um,fa as g,ga as Bi,ha as h,hb as Im,hd as Ve,id as he,jd as Fn,kc as rl,kd as De,la as r,lc as ll,ld as Ue,ma as l,mb as Mm,mc as qn,md as He,na as w,nb as oa,nc as sl,nd as Ge,oa as G,oc as cl,od as Mn,pa as W,pc as pl,pd as pi,pf as $m,qc as ml,qd as Ri,qe as Sa,qf as Ea,ra as xt,rd as Rm,rf as Ym,sa as et,ta as M,td as g0,uc as Wi,ud as yo,uf as Tn,vc as Ot,vf as Km,wa as ae,wc as Em,wf as w0,xa as wm,xc as Lm,xf as En,y as Sm,ye as za,yf as T0,za as Jn,zc as h0,zd as x0,ze as Da,zf as gl}from"./chunk-SR4VE5NL.js";import{a as ie,b as Ne}from"./chunk-O7S4L63H.js";var A0=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var wf=()=>["./general"],Tf=()=>["./accountdetail"],If=()=>["./repayment-schedule"],Mf=()=>["./loan-documents"],Of=()=>["./original-schedule"],Af=()=>["./transactions"],Ef=()=>["./delinquencytags"],Lf=()=>["./loan-collateral"],Nf=()=>["./loan-tranche-details"],Ff=()=>["./term-variations"],kf=()=>["./overdue-charges"],Bf=()=>["./floating-interest-rates"],Rf=()=>["./charges"],jf=()=>["./loan-reschedules"],qf=()=>["./notes"],Vf=()=>["./standing-instruction"],zf=()=>["./external-asset-owner"],Uf=e=>["./datatables",e];function Hf(e,i){if(e&1&&(r(0,"tr"),t(1,` - `),r(2,"td"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"td"),t(7,` - `),r(8,"span",47),w(9,"i",48),l(),t(10),l(),t(11,` - `),l()),e&2){let n=M(2);s(3),S("",u(4,3,"labels.inputs.Delinquency Classification")," :"),s(6),h("ngClass",n.loanDelinquencyClassificationStyle),s(),S(` - `,n.loanDetailsData==null?null:n.loanDetailsData.delinquencyRange.classification,` - `)}}function Gf(e,i){if(e&1&&(r(0,"tr"),t(1,` - `),r(2,"td"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"td"),t(7),m(8,"formatNumber"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),S("",u(4,2,"labels.inputs.Past Due Days")," :"),s(4),y(u(8,4,n.loanDetailsData==null?null:n.loanDetailsData.delinquent.pastDueDays))}}function Wf(e,i){if(e&1&&(r(0,"tr"),t(1,` - `),r(2,"td"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"td"),t(7),m(8,"formatNumber"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),S("",u(4,2,"labels.inputs.Delinquent Days")," :"),s(4),y(u(8,4,n.loanDetailsData==null?null:n.loanDetailsData.delinquent.delinquentDays))}}function $f(e,i){if(e&1&&(r(0,"div"),t(1,` - `),r(2,"table",46),t(3,` - `),r(4,"tbody"),t(5,` - `),g(6,Hf,12,5,"tr",37),t(7,` - `),g(8,Gf,10,6,"tr",37),t(9,` - `),g(10,Wf,10,6,"tr",37),t(11,` - `),l(),t(12,` - `),l(),t(13,` - `),l()),e&2){let n=M();s(6),h("ngIf",n.loanDetailsData.delinquencyRange),s(2),h("ngIf",n.loanDetailsData.delinquent&&n.loanDetailsData.delinquent.pastDueDays>0),s(2),h("ngIf",n.loanDetailsData.delinquent&&n.loanDetailsData.delinquent.delinquentDays>0&&n.loanDetailsData.delinquent.pastDueDays!==n.loanDetailsData.delinquent.delinquentDays)}}function Yf(e,i){if(e&1&&(r(0,"td",50),t(1),m(2,"currency"),l()),e&2){let n=M(3);s(),S(` - `,qe(2,1,n.loanDetailsData.summary.totalOverdue,n.currency.code,"symbol-narrow","1.2-2"),` - `)}}function Kf(e,i){e&1&&(r(0,"td"),t(1),m(2,"translate"),l()),e&2&&(s(),S(` - `,u(2,1,"labels.inputs.Not Provided"),` - `))}function Jf(e,i){if(e&1&&(r(0,"tr"),t(1,` - `),r(2,"td"),t(3),m(4,"translate"),l(),t(5,` - `),g(6,Yf,3,6,"td",51),t(7,` - `),g(8,Kf,3,3,"td",37),t(9,` - `),l()),e&2){let n=M(2);s(3),y(u(4,3,"labels.inputs.Arrears By")),s(3),h("ngIf",n.loanDetailsData.summary.totalOverdue>=0),s(2),h("ngIf",!(n.loanDetailsData.summary.totalOverdue>=0))}}function Qf(e,i){if(e&1&&(r(0,"tr"),t(1,` - `),r(2,"td"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"td"),t(7),m(8,"dateFormat"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),y(u(4,2,"labels.inputs.Arrears Since")),s(4),y(u(8,4,n.loanDetailsData.summary.overdueSinceDate))}}function Xf(e,i){if(e&1&&(r(0,"tr"),t(1,` - `),r(2,"td"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"td",50),t(7),m(8,"currency"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),y(u(4,2,"labels.inputs.Overpaid By")),s(4),S(` - `,qe(8,4,n.loanDetailsData.totalOverpaid,n.currency.code,"symbol-narrow","1.2-2"),` - `)}}function Zf(e,i){if(e&1&&(r(0,"div",49),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"table",46),t(7,` - `),r(8,"tbody"),t(9,` - `),r(10,"tr"),t(11,` - `),r(12,"td"),t(13),m(14,"translate"),l(),t(15,` - `),r(16,"td",50),t(17),m(18,"currency"),l(),t(19,` - `),l(),t(20,` - `),g(21,Jf,10,5,"tr",37),t(22,` - `),g(23,Qf,10,6,"tr",37),t(24,` - `),g(25,Xf,10,9,"tr",37),t(26,` - `),l(),t(27,` - `),l(),t(28,` - `),l()),e&2){let n=M();s(3),y(u(4,6,"labels.heading.Account Overview")),s(10),y(u(14,8,"labels.inputs.Current Balance")),s(4),S(` - `,qe(18,10,n.loanDetailsData.summary.totalOutstanding,n.currency.code,"symbol-narrow","1.2-2"),` - `),s(4),h("ngIf",n.loanDisplayArrearsDelinquency<2),s(2),h("ngIf",n.loanDetailsData.inArrears),s(2),h("ngIf",n.loanDetailsData.totalOverpaid&&n.loanDetailsData.totalOverpaid>0)}}function th(e,i){if(e&1&&(r(0,"button",52),t(1,` - `),r(2,"mat-icon",53),t(3,` - `),w(4,"fa-icon",54),t(5,` - `),l(),t(6,` - `),l()),e&2){M();let n=Mt(66);h("matMenuTriggerFor",n)}}function eh(e,i){if(e&1){let n=xt();r(0,"button",56),et("click",function(){lt(n);let o=M().$implicit,c=M();return st(c.loanAction(o.name))}),t(1,` - `),r(2,"mat-icon",57),t(3,` - `),w(4,"fa-icon",58),t(5,` - `),l(),t(6,` - `),r(7,"span"),t(8),m(9,"translate"),l(),t(10,` - `),l()}if(e&2){let n=M().$implicit;s(4),ae("icon",n.icon),s(4),y(u(9,2,"labels.menus."+n.name))}}function nh(e,i){if(e&1&&(G(0),t(1,` - `),g(2,eh,11,4,"button",55),t(3,` - `),W()),e&2){let n=i.$implicit;s(2),h("mifosxHasPermission",n.taskPermissionName)}}function ih(e,i){if(e&1){let n=xt();r(0,"button",56),et("click",function(){lt(n);let o=M().$implicit,c=M(2);return st(c.loanAction(o.name))}),t(1),m(2,"translate"),l()}if(e&2){let n=M().$implicit;s(),S(` - `,u(2,1,"labels.menus."+n.name),` - `)}}function ah(e,i){if(e&1&&(r(0,"span"),t(1,` - `),g(2,ih,3,3,"button",55),t(3,` - `),l()),e&2){let n=i.$implicit;s(2),h("mifosxHasPermission",n.taskPermissionName)}}function oh(e,i){if(e&1&&(G(0,59),t(1,` - `),r(2,"button",60),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"mat-menu",null,6),t(8,` - `),g(9,ah,4,1,"span",41),t(10,` - `),l(),t(11,` - `),W()),e&2){let n=Mt(7),a=M();s(2),h("matMenuTriggerFor",n),s(),y(u(4,3,"labels.menus.Payments")),s(6),h("ngForOf",a.buttonConfig.optionsPayment)}}function rh(e,i){if(e&1){let n=xt();r(0,"button",56),et("click",function(){lt(n);let o=M().$implicit,c=M(2);return st(c.loanAction(o.name))}),t(1),m(2,"translate"),l()}if(e&2){let n=M().$implicit;s(),S(` - `,u(2,1,"labels.menus."+n.name),` - `)}}function lh(e,i){if(e&1&&(r(0,"span"),t(1,` - `),g(2,rh,3,3,"button",55),t(3,` - `),l()),e&2){let n=i.$implicit;s(2),h("mifosxHasPermission",n.taskPermissionName)}}function sh(e,i){if(e&1&&(G(0,59),t(1,` - `),r(2,"button",60),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"mat-menu",null,7),t(8,` - `),g(9,lh,4,1,"span",41),t(10,` - `),l(),t(11,` - `),W()),e&2){let n=Mt(7),a=M();s(2),h("matMenuTriggerFor",n),s(),y(u(4,3,"labels.menus.More")),s(6),h("ngForOf",a.buttonConfig.options)}}function ch(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,8),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Of))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Original Schedule"),` - `)}}function ph(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,9),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Af))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Transactions"),` - `)}}function mh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,10),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Ef))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Delinquency Tags"),` - `)}}function dh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,11),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Lf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Loan Collateral Details"),` - `)}}function uh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,12),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Nf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Loan Tranche Details"),` - `)}}function fh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,13),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Ff))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Term Variations"),` - `)}}function hh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,14),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,kf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Overdue Charges"),` - `)}}function gh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,15),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Bf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Floating Interest Rates"),` - `)}}function xh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,16),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Rf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Charges"),` - `)}}function _h(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,17),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,jf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Loan Reschedules"),` - `)}}function vh(e,i){if(e&1&&(r(0,"a",44,18),t(2),m(3,"translate"),l()),e&2){let n=Mt(1);h("routerLink",Ut(5,qf))("active",n.isActive),s(2),S(` - `,u(3,3,"labels.inputs.Notes"),` - `)}}function bh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,19),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,Vf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.Standing Instruction"),` - `)}}function Ch(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"a",44,20),t(4),m(5,"translate"),l(),t(6,` - `),W()),e&2){let n=Mt(3);s(2),h("routerLink",Ut(5,zf))("active",n.isActive),s(2),S(` - `,u(5,3,"labels.inputs.External Asset Owner"),` - `)}}function yh(e,i){if(e&1&&(r(0,"a",44,21),t(2),l()),e&2){let n=Mt(1),a=M().$implicit;h("routerLink",fa(3,Uf,a.registeredTableName))("active",n.isActive),s(2),S(` - `,a.registeredTableName,` - `)}}function Sh(e,i){if(e&1&&(G(0),t(1,` - `),g(2,yh,3,5,"a",45),t(3,` - `),W()),e&2){let n=i.$implicit;s(2),h("mifosxHasPermission","READ_"+n.registeredTableName)}}var cd=(()=>{class e{constructor(n,a,o,c,d){this.route=n,this.router=a,this.loansService=o,this.translateService=c,this.dialog=d,this.disburseTransactionNo=0,this.loanDelinquencyClassificationStyle="",this.loanSubStatus=null,this.loanReAged=!1,this.loanReAmortized=!1,this.route.data.subscribe(f=>{this.loanDetailsData=f.loanDetailsData,this.loanDatatables=f.loanDatatables,this.loanDisplayArrearsDelinquency=f.loanArrearsDelinquencyConfig.value||0,this.loanStatus=this.loanDetailsData.status,this.loanSubStatus=this.loanDetailsData.subStatus===void 0?null:this.loanDetailsData.subStatus,this.currency=this.loanDetailsData.currency,o.saveLoanDisbursementDetailsData(this.loanDetailsData.disbursementDetails),this.loanStatus.active&&this.loanDetailsData.transactions.forEach(_=>{_.manuallyReversed||(_.type.reAge?this.loanReAged=!0:_.type.reAmortize&&(this.loanReAmortized=!0))}),this.setConditionalButtons()}),this.loanId=this.route.snapshot.params.loanId,this.clientId=this.loanDetailsData.clientId}ngOnInit(){this.route.params.subscribe(n=>{this.loanId!=n.loanId&&(this.loanId=n.loanId,this.reload())}),this.recalculateInterest=this.loanDetailsData.recalculateInterest||!0,this.status=this.loanDetailsData.status.value,this.loanStatus=this.loanDetailsData.status,this.loanSubStatus=this.loanDetailsData.subStatus===void 0?null:this.loanDetailsData.subStatus,this.loanStatus.active&&this.loanDetailsData.multiDisburseLoan&&this.loanDetailsData&&this.loanDetailsData.transactions&&this.loanDetailsData.transactions.forEach(n=>{n.type.disbursement&&this.disburseTransactionNo++}),this.setConditionalButtons(),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center"),this.loanDelinquencyClassification()}setConditionalButtons(){this.buttonConfig=new A0(this.status,this.loanSubStatus),this.status==="Submitted and pending approval"?(this.buttonConfig.addOption({name:this.loanDetailsData.loanOfficerName?"Change Loan Officer":"Assign Loan Officer",icon:"user-tie",taskPermissionName:"DISBURSE_LOAN"}),this.loanDetailsData.isVariableInstallmentsAllowed&&this.buttonConfig.addOption({name:"Edit Repayment Schedule",icon:"edit",taskPermissionName:"ADJUST_REPAYMENT_SCHEDULE"})):this.status==="Approved"?this.buttonConfig.addButton({name:this.loanDetailsData.loanOfficerName?"Change Loan Officer":"Assign Loan Officer",icon:"user-tie",taskPermissionName:"DISBURSE_LOAN"}):this.status==="Active"&&(this.loanDetailsData.enableIncomeCapitalization&&this.buttonConfig.addButton({name:"Capitalized Income",icon:"coins",taskPermissionName:"CAPITALIZED_INCOME_LOAN"}),(this.loanDetailsData.canDisburse||this.loanDetailsData.multiDisburseLoan)&&this.buttonConfig.addButton({name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"}),this.loanDetailsData.canDisburse&&this.buttonConfig.addButton({name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"}),this.loanDetailsData.multiDisburseLoan&&this.disburseTransactionNo>1&&this.buttonConfig.addButton({name:"Undo Last Disbursal",icon:"undo",taskPermissionName:"DISBURSALLASTUNDO_LOAN"}),this.recalculateInterest&&this.buttonConfig.addButton({name:"Add Interest Pause",icon:"calendar",taskPermissionName:"CREATE_INTEREST_PAUSE"}),this.loanDetailsData.loanOfficerName||this.buttonConfig.addButton({name:"Assign Loan Officer",icon:"user-tie",taskPermissionName:"UPDATELOANOFFICER_LOAN"}),this.recalculateInterest&&this.buttonConfig.addButton({name:"Prepay Loan",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"}),this.loanDetailsData.chargedOff?this.buttonConfig.addButton({name:"Undo Charge-Off",icon:"undo",taskPermissionName:"UNDOCHARGEOFF_LOAN"}):this.buttonConfig.addButton({name:"Charge-Off",icon:"coins",taskPermissionName:"CHARGEOFF_LOAN"}),this.loanReAged?this.buttonConfig.addButton({name:"Undo Re-Age",icon:"undo",taskPermissionName:"UNDO_REAGE_LOAN"}):this.buttonConfig.addButton({name:"Re-Age",icon:"calendar",taskPermissionName:"REAGE_LOAN"}),this.loanReAmortized?this.buttonConfig.addButton({name:"Undo Re-Amortize",icon:"undo",taskPermissionName:"UNDO_REAMORTIZE_LOAN"}):this.buttonConfig.addButton({name:"Re-Amortize",icon:"calendar-alt",taskPermissionName:"REAMORTIZE_LOAN"}))}loanAction(n){switch(n){case"Recover From Guarantor":this.recoverFromGuarantor();break;case"Delete":this.deleteLoanAccount();break;case"Modify Application":this.router.navigate(["edit-loans-account"],{relativeTo:this.route});break;case"Transfer Funds":let a={loanId:this.loanId,accountType:"fromloans"};this.router.navigate(["transfer-funds/make-account-transfer"],{relativeTo:this.route,queryParams:a});break;case"Undo Re-Age":case"Undo Re-Amortize":case"Undo Charge-Off":this.undoLoanAction(n);break;default:let o={relativeTo:this.route,state:{data:this.loanDetailsData}};this.router.navigate(["actions",n],o);break}}recoverFromGuarantor(){this.dialog.open($i,{data:{heading:this.translateService.instant("labels.heading.Recover from Guarantor"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want recover from Guarantor"),type:"Mild"}}).afterClosed().subscribe(a=>{a.confirm&&this.loansService.loanActionButtons(this.loanId,"recoverGuarantees").subscribe(()=>{this.reload()})})}loanDelinquencyClassification(){this.loanDelinquencyClassificationStyle="",this.loanDetailsData.delinquent&&this.loanDetailsData.delinquent.delinquencyPausePeriods&&this.loanDetailsData.delinquent.delinquencyPausePeriods.some(n=>{n.active&&(this.loanDelinquencyClassificationStyle="fa fa-stop status-pending")})}undoLoanAction(n){n=n.replace("Undo ",""),this.dialog.open($i,{data:{heading:this.translateService.instant("labels.heading.Undo Transaction"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want undo the transaction type")+" "+this.translateService.instant("labels.menus."+n)}}).afterClosed().subscribe(o=>{if(o.confirm){let c="";switch(n){case"Re-Age":c="undoReAge";break;case"Re-Amortize":c="undoReAmortize";break;case"Charge-Off":c="undo-charge-off";break}this.loansService.executeLoansAccountTransactionsCommand(String(this.loanId),c,{}).subscribe(()=>{this.reload()})}})}iconLoanStatusColor(){return this.loanDetailsData.chargedOff?"loanStatusType.chargeoff":this.isContractTermination(this.loanSubStatus)?"loanSubStatusType.contractTermination":this.loanDetailsData.inArrears?"loanStatusType.activeOverdue":this.loanDetailsData.status.code}loanStatusTooltip(){return this.loanDetailsData.chargedOff?"Chargeoff":this.loanDetailsData.inArrears?"activeOverdue":this.loanDetailsData.status.code}loanSubStatusTooltip(){return this.isContractTermination(this.loanSubStatus)?"contractTermination":""}deleteLoanAccount(){this.dialog.open(Ri,{data:{deleteContext:`with loan id: ${this.loanId}`}}).afterClosed().subscribe(a=>{a.delete&&this.loansService.deleteLoanAccount(this.loanId).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}reload(){let n=this.clientId,a=this.router.url;this.router.navigateByUrl(`/clients/${n}/loans-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([a]))}isContractTermination(n){return n==null?!1:n.code==="loanSubStatus.loanSubStatusType.contractTermination"}static{this.\u0275fac=function(a){return new(a||e)(L(Nt),L(ne),L(It),L(Wi),L(qn))}}static{this.\u0275cmp=Pt({type:e,selectors:[["mifosx-loans-view"]],decls:138,vars:67,consts:[["accountMenu","matMenu"],["general","routerLinkActive"],["accountdetail","routerLinkActive"],["repaymentSchedule","routerLinkActive"],["loanDocuments","routerLinkActive"],["tabPanel",""],["Payments","matMenu"],["More","matMenu"],["originalSchedule","routerLinkActive"],["transactions","routerLinkActive"],["delinquencytags","routerLinkActive"],["loanCollateralDetails","routerLinkActive"],["loanTrancheDetails","routerLinkActive"],["termVariations","routerLinkActive"],["overduecharges","routerLinkActive"],["floatingInterestRates","routerLinkActive"],["charges","routerLinkActive"],["loanReschedules","routerLinkActive"],["notes","routerLinkActive"],["standingInstruction","routerLinkActive"],["externalAssetOwner","routerLinkActive"],["datatable","routerLinkActive"],[1,"account-card"],[1,"header","layout-column"],[1,"header-title-group"],[1,"profile-image-container"],["iconFile","account_placeholder","iconName","LOAN_ACCOUNT","iconWidth","210",3,"iconClass","matTooltip"],[1,"mat-typography","account-card-title"],[1,"layout-row","responsive-column"],[1,"flex-60"],[1,"fa","fa-stop",3,"matTooltip","ngClass"],[1,"m-r-5"],[3,"textValue"],["display","left",3,"accountNo"],[1,"loans-overview"],[1,"m-r-10"],[1,"m-l-5"],[4,"ngIf"],["class","loans-overview mat-typography flex-30",4,"ngIf"],[1,"flex-5"],["mat-icon-button","","aria-label","Loan account actions","yPosition","below",3,"matMenuTriggerFor",4,"ngIf"],[4,"ngFor","ngForOf"],["class","loan-span",4,"ngIf"],["mat-tab-nav-bar","",1,"navigation-tabs",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"mifosxHasPermission"],[1,"account-overview"],[1,"m-r-3"],[3,"ngClass"],[1,"loans-overview","mat-typography","flex-30"],[1,"r-amount"],["class","r-amount",4,"ngIf"],["mat-icon-button","","aria-label","Loan account actions","yPosition","below",3,"matMenuTriggerFor"],["matListIcon","",1,"actions-menu"],["icon","bars","size","sm"],["mat-menu-item","",3,"click",4,"mifosxHasPermission"],["mat-menu-item","",3,"click"],["matListIcon",""],["size","sm",3,"icon"],[1,"loan-span"],["mat-menu-item","",3,"matMenuTriggerFor"]],template:function(a,o){if(a&1&&(r(0,"mat-card",22),t(1,` - `),r(2,"mat-card-header",23),t(3,` - `),r(4,"mat-card-title-group",24),t(5,` - `),r(6,"div",25),t(7,` - `),r(8,"div"),t(9,` - `),r(10,"mifosx-svg-icon",26),m(11,"translate"),t(12,` - `),l(),t(13,` - `),l(),t(14,` - `),l(),t(15,` - - `),r(16,"div",27),t(17,` - `),r(18,"mat-card-title"),t(19,` - `),r(20,"div",28),t(21,` - `),r(22,"div",29),t(23,` - `),r(24,"h3"),t(25,` - `),w(26,"i",30),m(27,"translate"),m(28,"statusLookup"),t(29,` - `),r(30,"span",31),t(31),m(32,"translate"),l(),t(33,` - `),r(34,"span",31),w(35,"mifosx-long-text",32),l(),t(36,` - `),w(37,"mifosx-account-number",33),t(38,` - `),l(),t(39,` - `),r(40,"span",34),t(41,` - `),r(42,"span",35),t(43),m(44,"translate"),m(45,"translate"),l(),t(46),r(47,"span",36),t(48),l(),w(49,"br"),t(50,` - `),l(),t(51,` - `),g(52,$f,14,3,"div",37),t(53,` - `),l(),t(54,` - - `),g(55,Zf,29,15,"div",38),t(56,` - - `),r(57,"div",39),t(58,` - `),g(59,th,7,1,"button",40),t(60,` - `),l(),t(61,` - `),l(),t(62,` - `),l(),t(63,` - `),l(),t(64,` - - `),r(65,"mat-menu",null,0),t(67,` - `),g(68,nh,4,1,"ng-container",41),t(69,` - - `),g(70,oh,12,5,"ng-container",42),t(71,` - - `),g(72,sh,12,5,"ng-container",42),t(73,` - `),l(),t(74,` - `),l(),t(75,` - `),l(),t(76,` - - `),r(77,"mat-card-content"),t(78,` - `),r(79,"nav",43),t(80,` - `),r(81,"a",44,1),t(83),m(84,"translate"),l(),t(85,` - `),r(86,"a",44,2),t(88),m(89,"translate"),l(),t(90,` - `),g(91,ch,7,6,"ng-container",37),t(92,` - `),r(93,"a",44,3),t(95),m(96,"translate"),l(),t(97,` - `),g(98,ph,7,6,"ng-container",37),t(99,` - `),g(100,mh,7,6,"ng-container",37),t(101,` - `),g(102,dh,7,6,"ng-container",37),t(103,` - `),g(104,uh,7,6,"ng-container",37),t(105,` - `),g(106,fh,7,6,"ng-container",37),t(107,` - `),g(108,hh,7,6,"ng-container",37),t(109,` - `),g(110,gh,7,6,"ng-container",37),t(111,` - `),g(112,xh,7,6,"ng-container",37),t(113,` - `),g(114,_h,7,6,"ng-container",37),t(115,` - `),r(116,"a",44,4),t(118),m(119,"translate"),l(),t(120,` - `),g(121,vh,4,6,"a",45),t(122,` - `),g(123,bh,7,6,"ng-container",37),t(124,` - `),g(125,Ch,7,6,"ng-container",37),t(126,` - `),g(127,Sh,4,1,"ng-container",41),t(128,` - `),l(),t(129,` - `),r(130,"mat-tab-nav-panel",null,5),t(132,` - `),w(133,"router-outlet"),t(134,` - `),l(),t(135,` - `),l(),t(136,` -`),l(),t(137,` -`)),a&2){let c=Mt(82),d=Mt(87),f=Mt(94),_=Mt(117),C=Mt(131);s(10),ae("matTooltip",u(11,43,"tooltips.Loan Account")),s(16),ae("matTooltip",u(27,45,"labels.status."+o.loanDetailsData.status.value)),h("ngClass",u(28,47,o.iconLoanStatusColor())),s(5),S("",u(32,49,"labels.heading.Loan Product")," :"),s(4),ae("textValue",o.loanDetailsData.loanProductName),s(2),ae("accountNo",o.loanDetailsData.accountNo),s(6),Ht("",u(44,51,"labels.text."+o.entityType)," ",u(45,53,"labels.inputs.name")," :"),s(3),S(` - `,o.loanDetailsData.clientName||o.loanDetailsData.group.name,""),s(2),S("(",o.loanDetailsData.clientAccountNo||o.loanDetailsData.group.accountNo,")"),s(4),h("ngIf",o.loanDisplayArrearsDelinquency!==1),s(3),h("ngIf",o.loanDetailsData.summary),s(4),h("ngIf",o.buttonConfig.singleButtons.length>0),s(9),h("ngForOf",o.buttonConfig.singleButtons),s(2),h("ngIf",o.buttonConfig.optionsPayment.length),s(2),h("ngIf",o.buttonConfig.options.length),s(7),h("tabPanel",C),s(2),h("routerLink",Ut(63,wf))("active",c.isActive),s(2),S(` - `,u(84,55,"labels.inputs.General"),` - `),s(3),h("routerLink",Ut(64,Tf))("active",d.isActive),s(2),S(` - `,u(89,57,"labels.inputs.Account Details"),` - `),s(3),h("ngIf",o.loanDetailsData.originalSchedule),s(2),h("routerLink",Ut(65,If))("active",f.isActive),s(2),S(` - `,u(96,59,"labels.inputs.Repayment Schedule"),` - `),s(3),h("ngIf",o.loanDetailsData.transactions),s(2),h("ngIf",o.loanDetailsData.status.active),s(2),h("ngIf",o.loanDetailsData.collateral),s(2),h("ngIf",o.loanDetailsData.multiDisburseLoan),s(2),h("ngIf",o.loanDetailsData.loanTermVariations),s(2),h("ngIf",o.loanDetailsData.overdueCharges.length>0),s(2),h("ngIf",o.loanDetailsData.isLoanProductLinkedToFloatingRate),s(2),h("ngIf",o.loanDetailsData.charges),s(2),h("ngIf",o.loanDetailsData.status.active),s(2),h("routerLink",Ut(66,Mf))("active",_.isActive),s(2),S(` - `,u(119,61,"labels.inputs.Loan Documents"),` - `),s(3),h("mifosxHasPermission","READ_LOANNOTE"),s(2),h("ngIf",o.loanDetailsData.clientId),s(2),h("ngIf",o.loanDetailsData.status.active),s(2),h("ngForOf",o.loanDatatables)}},dependencies:[aa,en,qt,nn,Ca,_e,we,Um,Vm,zm,b0,_0,x0,v0,Hm,Wm,Gm,ui,nd,ed,I0,Pe,Om,Qt,Am,oa,Ot,T0,Tn,En],styles:[".loans-overview[_ngcontent-%COMP%]{font-size:14px}.account-overview[_ngcontent-%COMP%]{min-width:80%;font-weight:400}"]})}}return e})();function Dh(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"div",2),t(7,` - `),r(8,"table"),t(9,` - `),r(10,"tbody"),t(11,` - `),r(12,"tr"),t(13,` - `),r(14,"td",3),t(15,` - `),r(16,"b"),t(17),m(18,"translate"),l(),t(19,` - `),l(),t(20,` - `),r(21,"td",4),t(22),m(23,"formatNumber"),l(),t(24,` - `),r(25,"td",3),t(26,` - `),r(27,"b"),t(28),m(29,"translate"),l(),t(30,` - `),l(),t(31,` - `),r(32,"td",4),t(33),m(34,"dateFormat"),l(),t(35,` - `),l(),t(36,` - `),l(),t(37,` - `),l(),t(38,` - `),l(),t(39,` - `),W()),e&2){let n=M();s(3),y(u(4,5,"labels.heading.Performance History")),s(14),S("",u(18,7,"labels.inputs.Number of Repayments")," :"),s(5),S(` - `,u(23,9,n.loanDetails==null?null:n.loanDetails.numberOfRepayments),` - `),s(6),S("",u(29,11,"labels.inputs.Maturity Date")," :"),s(5),S(` - `,u(34,13,n.loanDetails==null?null:n.loanDetails.timeline.expectedMaturityDate),` - `)}}function Ph(e,i){e&1&&w(0,"th",22)}function wh(e,i){if(e&1&&(r(0,"td",23),t(1),l()),e&2){let n=i.$implicit;s(),y(n.property)}}function Th(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Original")))}function Ih(e,i){if(e&1&&(r(0,"td",25),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.original,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function Mh(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Paid")))}function Oh(e,i){if(e&1&&(r(0,"td",26),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.paid,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function Ah(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Credit Adjustments")))}function Eh(e,i){if(e&1&&(r(0,"td",27),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.adjustment,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function Lh(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Waived")))}function Nh(e,i){if(e&1&&(r(0,"td",26),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.waived,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function Fh(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Written Off")))}function kh(e,i){if(e&1&&(r(0,"td",26),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.writtenOff,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function Bh(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Outstanding")))}function Rh(e,i){if(e&1&&(r(0,"td",25),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.outstanding,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function jh(e,i){e&1&&(r(0,"th",24),t(1),m(2,"translate"),l()),e&2&&(s(),y(u(2,1,"labels.inputs.Over Due")))}function qh(e,i){if(e&1&&(r(0,"td",25),t(1),m(2,"currency"),l()),e&2){let n=i.$implicit,a=M(2);s(),S(` - `,qe(2,1,n.overdue,a.currencyCode,"symbol-narrow","1.2-2"),` - `)}}function Vh(e,i){e&1&&w(0,"tr",28)}function zh(e,i){e&1&&w(0,"tr",29)}function Uh(e,i){if(e&1&&(r(0,"div"),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - - `),r(6,"table",5),t(7,` - `),G(8,6),t(9,` - `),g(10,Ph,1,0,"th",7),t(11,` - `),g(12,wh,2,1,"td",8),t(13,` - `),W(),t(14,` - - `),G(15,9),t(16,` - `),g(17,Th,3,3,"th",10),t(18,` - `),g(19,Ih,3,6,"td",11),t(20,` - `),W(),t(21,` - - `),G(22,12),t(23,` - `),g(24,Mh,3,3,"th",10),t(25,` - `),g(26,Oh,3,6,"td",13),t(27,` - `),W(),t(28,` - - `),G(29,14),t(30,` - `),g(31,Ah,3,3,"th",10),t(32,` - `),g(33,Eh,3,6,"td",15),t(34,` - `),W(),t(35,` - - `),G(36,16),t(37,` - `),g(38,Lh,3,3,"th",10),t(39,` - `),g(40,Nh,3,6,"td",13),t(41,` - `),W(),t(42,` - - `),G(43,17),t(44,` - `),g(45,Fh,3,3,"th",10),t(46,` - `),g(47,kh,3,6,"td",13),t(48,` - `),W(),t(49,` - - `),G(50,18),t(51,` - `),g(52,Bh,3,3,"th",10),t(53,` - `),g(54,Rh,3,6,"td",11),t(55,` - `),W(),t(56,` - - `),G(57,19),t(58,` - `),g(59,jh,3,3,"th",10),t(60,` - `),g(61,qh,3,6,"td",11),t(62,` - `),W(),t(63,` - - `),g(64,Vh,1,0,"tr",20),t(65,` - `),g(66,zh,1,0,"tr",21),t(67,` - `),l(),t(68,` - `),l()),e&2){let n=M();s(3),y(u(4,4,"labels.heading.Loan Summary")),s(3),h("dataSource",n.dataSource),s(58),h("matHeaderRowDef",n.loanSummaryColumns),s(2),h("matRowDefColumns",n.loanSummaryColumns)}}function Hh(e,i){if(e&1&&(r(0,"td",23),t(1),m(2,"translate"),l()),e&2){let n=i.$implicit;s(),y(u(2,1,"labels.inputs."+n.key))}}function Gh(e,i){if(e&1&&(r(0,"span"),t(1),m(2,"dateFormat"),l()),e&2){let n=M(4);s(),S(` - `,u(2,1,n.loanDetails.timeline.actualDisbursementDate),` - `)}}function Wh(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(` - `,u(2,1,"labels.inputs.Not Available"),` - `))}function $h(e,i){if(e&1&&(G(0),t(1,` - `),g(2,Gh,3,3,"span",1),t(3,` - `),g(4,Wh,3,3,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",n.loanDetails.timeline.actualDisbursementDate),s(2),h("ngIf",!n.loanDetails.timeline.actualDisbursementDate)}}function Yh(e,i){if(e&1&&(r(0,"span"),t(1),l()),e&2){let n=M(4);s(),S(" ",n.loanDetails.loanPurposeName," ")}}function Kh(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(" ",u(2,1,"labels.inputs.Not Available")," "))}function Jh(e,i){if(e&1&&(G(0),t(1,` - `),g(2,Yh,2,1,"span",1),t(3,` - `),g(4,Kh,3,3,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",n.loanDetails.loanPurposeName),s(2),h("ngIf",!n.loanDetails.loanPurposeName)}}function Qh(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(" ",u(2,1,"labels.inputs.Unassigned")," "))}function Xh(e,i){e&1&&(r(0,"span"),t(1," "),l())}function Zh(e,i){if(e&1&&(r(0,"span"),t(1),g(2,Xh,2,0,"span",1),t(3,` - `),l()),e&2){let n=M(4);s(),S(` - `,n.loanDetails.loanOfficerName,` \xA0 - `),s(),h("ngIf",n.loanDetails.loanOfficerName)}}function t2(e,i){if(e&1&&(G(0),t(1,` - `),g(2,Qh,3,3,"span",1),t(3,` - `),g(4,Zh,4,2,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",!n.loanDetails.loanOfficerName),s(2),h("ngIf",n.loanDetails.loanOfficerName)}}function e2(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"span"),t(3),l(),t(4,` - `),W()),e&2){let n=M(3);s(3),Ht(" ",n.loanDetails.currency.name," ",n.loanDetails.currency.code," ")}}function n2(e,i){if(e&1&&(r(0,"span"),t(1,` - `),w(2,"mifosx-external-identifier",32),t(3,` - `),l()),e&2){let n=M(4);s(2),ae("externalId",n.loanDetails.externalId)}}function i2(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(" ",u(2,1,"labels.inputs.Not Available")," "))}function a2(e,i){if(e&1&&(G(0),t(1,` - `),g(2,n2,4,1,"span",1),t(3,` - `),g(4,i2,3,3,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",n.loanDetails.externalId),s(2),h("ngIf",!n.loanDetails.externalId)}}function o2(e,i){if(e&1&&(G(0),t(1),W()),e&2){let n=M().$implicit;s(),S(` - `,n.value,` - `)}}function r2(e,i){if(e&1&&(r(0,"td",23),t(1,` - `),g(2,$h,6,2,"ng-container",1),t(3,` - - `),g(4,Jh,6,2,"ng-container",1),t(5,` - - `),g(6,t2,6,2,"ng-container",1),t(7,` - - `),g(8,e2,5,2,"ng-container",1),t(9,` - - `),g(10,a2,6,2,"ng-container",1),t(11,` - - `),g(12,o2,2,1,"ng-container",1),t(13,` - `),l()),e&2){let n=i.$implicit;s(2),h("ngIf",n.key==="Disbursement Date"),s(2),h("ngIf",n.key==="Loan Purpose"),s(2),h("ngIf",n.key==="Loan Officer"),s(2),h("ngIf",n.key==="Currency"),s(2),h("ngIf",n.key==="External Id"),s(2),h("ngIf",n.key==="Proposed Amount"||n.key==="Approved Amount"||n.key==="Disburse Amount")}}function l2(e,i){e&1&&w(0,"tr",29)}function s2(e,i){if(e&1&&(r(0,"div"),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"table",5),t(7,` - `),G(8,30),t(9,` - `),g(10,Hh,3,3,"td",8),t(11,` - `),W(),t(12,` - - `),G(13,31),t(14,` - `),g(15,r2,14,6,"td",8),t(16,` - `),W(),t(17,` - - `),g(18,l2,1,0,"tr",21),t(19,` - `),l(),t(20,` - `),l()),e&2){let n=M();s(3),y(u(4,3,"labels.heading.Loan Details")),s(3),h("dataSource",n.detailsDataSource),s(12),h("matRowDefColumns",n.loanDetailsColumns)}}function c2(e,i){if(e&1&&(r(0,"td",23),t(1),m(2,"translate"),l()),e&2){let n=i.$implicit;s(),y(u(2,1,"labels.inputs."+n.key))}}function p2(e,i){if(e&1&&(r(0,"span"),t(1),m(2,"dateFormat"),l()),e&2){let n=M(4);s(),S(` - `,u(2,1,n.loanDetails.timeline.actualDisbursementDate),` - `)}}function m2(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(` - `,u(2,1,"labels.inputs.Not Available"),` - `))}function d2(e,i){if(e&1&&(G(0),t(1,` - `),g(2,p2,3,3,"span",1),t(3,` - `),g(4,m2,3,3,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",n.loanDetails.timeline.actualDisbursementDate),s(2),h("ngIf",!n.loanDetails.timeline.actualDisbursementDate)}}function u2(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(" ",u(2,1,"labels.inputs.Unassigned")," "))}function f2(e,i){e&1&&(r(0,"span"),t(1," "),l())}function h2(e,i){if(e&1&&(r(0,"span"),t(1),g(2,f2,2,0,"span",1),t(3,` - `),l()),e&2){let n=M(4);s(),S(` - `,n.loanDetails.loanOfficerName,` \xA0 - `),s(),h("ngIf",n.loanDetails.loanOfficerName)}}function g2(e,i){if(e&1&&(G(0),t(1,` - `),g(2,u2,3,3,"span",1),t(3,` - `),g(4,h2,4,2,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",!n.loanDetails.loanOfficerName),s(2),h("ngIf",n.loanDetails.loanOfficerName)}}function x2(e,i){if(e&1&&(G(0),t(1,` - `),r(2,"span"),t(3),l(),t(4,` - `),W()),e&2){let n=M(3);s(3),Ht(" ",n.loanDetails.currency.name," ",n.loanDetails.currency.code," ")}}function _2(e,i){if(e&1&&(r(0,"span"),t(1,` - `),w(2,"mifosx-external-identifier",32),t(3,` - `),l()),e&2){let n=M(4);s(2),ae("externalId",n.loanDetails.externalId)}}function v2(e,i){e&1&&(r(0,"span"),t(1),m(2,"translate"),l()),e&2&&(s(),S(" ",u(2,1,"labels.inputs.Not Available")," "))}function b2(e,i){if(e&1&&(G(0),t(1,` - `),g(2,_2,4,1,"span",1),t(3,` - `),g(4,v2,3,3,"span",1),t(5,` - `),W()),e&2){let n=M(3);s(2),h("ngIf",n.loanDetails.externalId),s(2),h("ngIf",!n.loanDetails.externalId)}}function C2(e,i){if(e&1&&(r(0,"td",23),t(1,` - `),g(2,d2,6,2,"ng-container",1),t(3,` - - `),g(4,g2,6,2,"ng-container",1),t(5,` - - `),g(6,x2,5,2,"ng-container",1),t(7,` - - `),g(8,b2,6,2,"ng-container",1),t(9,` - `),l()),e&2){let n=i.$implicit;s(2),h("ngIf",n.key==="Disbursement Date"),s(2),h("ngIf",n.key==="Loan Officer"),s(2),h("ngIf",n.key==="Currency"),s(2),h("ngIf",n.key==="External Id")}}function y2(e,i){e&1&&w(0,"tr",29)}function S2(e,i){if(e&1&&(r(0,"div"),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"table",5),t(7,` - `),G(8,30),t(9,` - `),g(10,c2,3,3,"td",8),t(11,` - `),W(),t(12,` - - `),G(13,31),t(14,` - `),g(15,C2,10,4,"td",8),t(16,` - `),W(),t(17,` - - `),g(18,y2,1,0,"tr",21),t(19,` - `),l(),t(20,` - `),l()),e&2){let n=M();s(3),y(u(4,3,"labels.heading.Loan Details")),s(3),h("dataSource",n.detailsDataSource),s(12),h("matRowDefColumns",n.loanDetailsColumns)}}function D2(e,i){if(e&1&&(r(0,"span",36),t(1),l()),e&2){let n=M(2);s(),S(` - `,n.loanDetails.loanPurposeName,` - `)}}function P2(e,i){e&1&&(r(0,"span",36),t(1),m(2,"translate"),l()),e&2&&(s(),S(` - `,u(2,1,"labels.inputs.Not Provided"),` - `))}function w2(e,i){if(e&1&&(r(0,"div",35),t(1,` - `),r(2,"span",36),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",36),t(7),m(8,"currency"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),S("",u(4,2,"labels.inputs.Approved Amount"),":"),s(4),y(qe(8,4,n.loanDetails.approvedPrincipal,n.currencyCode,"symbol-narrow","1.2-2"))}}function T2(e,i){if(e&1&&(r(0,"div",35),t(1,` - `),r(2,"span",36),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",36),t(7),m(8,"currency"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),S("",u(4,2,"labels.inputs.Disburse Amount"),":"),s(4),y(qe(8,4,n.loanDetails.principal,n.currencyCode,"symbol-narrow","1.2-2"))}}function I2(e,i){if(e&1&&(r(0,"div",35),t(1,` - `),r(2,"span",36),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",36),t(7),m(8,"currency"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),S("",u(4,2,"labels.inputs.Balloon Repayment Amount"),":"),s(4),y(qe(8,4,n.loanDetails.balloonRepaymentAmount,n.currencyCode,"symbol-narrow","1.2-2"))}}function M2(e,i){if(e&1&&(r(0,"div"),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"div",33),t(7,` - `),r(8,"div",34),t(9,` - `),r(10,"div",35),t(11,` - `),r(12,"span",36),t(13),m(14,"translate"),l(),t(15,` - `),g(16,D2,2,1,"span",37),t(17,` - `),g(18,P2,3,3,"span",37),t(19,` - `),l(),t(20,` - - `),r(21,"div",35),t(22,` - `),r(23,"span",36),t(24),m(25,"translate"),l(),t(26,` - `),r(27,"span",36),t(28),m(29,"currency"),l(),t(30,` - `),l(),t(31,` - - `),g(32,w2,10,9,"div",38),t(33,` - - `),g(34,T2,10,9,"div",38),t(35,` - - `),g(36,I2,10,9,"div",38),t(37,` - - `),r(38,"div",35),t(39,` - `),r(40,"span",36),t(41),m(42,"translate"),l(),t(43,` - `),r(44,"span",36),t(45),m(46,"translate"),l(),t(47,` - `),l(),t(48,` - `),l(),t(49,` - `),l(),t(50,` - `),l()),e&2){let n=M();s(3),y(u(4,11,"labels.heading.Loan Purpose")),s(10),S("",u(14,13,"labels.inputs.Loan Purpose"),":"),s(3),h("ngIf",n.loanDetails.loanPurposeName),s(2),h("ngIf",!n.loanDetails.loanPurposeName),s(6),S("",u(25,15,"labels.inputs.Proposed Amount"),":"),s(4),y(qe(29,17,n.loanDetails.proposedPrincipal,n.currencyCode,"symbol-narrow","1.2-2")),s(4),h("ngIf",n.showApprovedAmountBasedOnStatus()),s(2),h("ngIf",n.showDisbursedAmountBasedOnStatus()),s(2),h("ngIf",n.loanDetails.balloonRepaymentAmount>0),s(5),S("",u(42,22,"labels.inputs.Arrears By"),":"),s(4),y(u(46,24,"labels.inputs.Not Provided"))}}var pd=(()=>{class e{constructor(n){this.route=n,this.loanSummaryColumns=["Empty","Original","Paid","Waived","Written Off","Outstanding","Over Due"],this.loanDetailsColumns=["Key","Value"],this.showDisbursedAmountBasedOnStatus=function(){return!(this.status==="Submitted and pending approval"||this.status==="Withdrawn by applicant"||this.status==="Rejected"||this.status==="Approved")},this.route.parent.data.subscribe(a=>{this.loanDetails=a.loanDetailsData,this.currencyCode=this.loanDetails.currency.code,this.loanDetails.transactions&&this.loanDetails.transactions.some(o=>{if(o.type.code==="loanTransactionType.chargeback"){this.loanSummaryColumns=["Empty","Original","Adjustments","Paid","Waived","Written Off","Outstanding","Over Due"];return}})})}ngOnInit(){this.status=this.loanDetails.value,this.loanDetails.summary?(this.setloanSummaryTableData(),this.setloanDetailsTableData()):this.setloanNonDetailsTableData()}setloanSummaryTableData(){this.loanSummaryTableData=[{property:"Principal",original:this.loanDetails.summary.totalPrincipal,adjustment:this.loanDetails.summary.principalAdjustments||0,paid:this.loanDetails.summary.principalPaid,waived:this.loanDetails.summary.principalWaived||0,writtenOff:this.loanDetails.summary.principalWrittenOff,outstanding:this.loanDetails.summary.principalOutstanding,overdue:this.loanDetails.summary.principalOverdue},{property:"Interest",original:this.loanDetails.summary.interestCharged,adjustment:"0",paid:this.loanDetails.summary.interestPaid,waived:this.loanDetails.summary.interestWaived,writtenOff:this.loanDetails.summary.interestWrittenOff,outstanding:this.loanDetails.summary.interestOutstanding,overdue:this.loanDetails.summary.interestOverdue},{property:"Fees",original:this.loanDetails.summary.feeChargesCharged,adjustment:"0",paid:this.loanDetails.summary.feeChargesPaid,waived:this.loanDetails.summary.feeChargesWaived,writtenOff:this.loanDetails.summary.feeChargesWrittenOff,outstanding:this.loanDetails.summary.feeChargesOutstanding,overdue:this.loanDetails.summary.feeChargesOverdue},{property:"Penalties",original:this.loanDetails.summary.penaltyChargesCharged,adjustment:"0",paid:this.loanDetails.summary.penaltyChargesPaid,waived:this.loanDetails.summary.penaltyChargesWaived,writtenOff:this.loanDetails.summary.penaltyChargesWrittenOff,outstanding:this.loanDetails.summary.penaltyChargesOutstanding,overdue:this.loanDetails.summary.penaltyChargesOverdue},{property:"Total",original:this.loanDetails.summary.totalExpectedRepayment,adjustment:this.loanDetails.summary.principalAdjustments||0,paid:this.loanDetails.summary.totalRepayment,waived:this.loanDetails.summary.totalWaived,writtenOff:this.loanDetails.summary.totalWrittenOff,outstanding:this.loanDetails.summary.totalOutstanding,overdue:this.loanDetails.summary.totalOverdue}],this.dataSource=new hi(this.loanSummaryTableData)}setloanDetailsTableData(){this.loanDetailsTableData=[{key:"Disbursement Date"},{key:"Loan Purpose"},{key:"Loan Officer"},{key:"Currency"},{key:"External Id"},{key:"Proposed Amount",value:this.loanDetails.proposedPrincipal},{key:"Approved Amount",value:this.loanDetails.approvedPrincipal},{key:"Disburse Amount",value:this.loanDetails.principal}],this.detailsDataSource=new hi(this.loanDetailsTableData)}setloanNonDetailsTableData(){this.loanDetailsTableData=[{key:"Disbursement Date"},{key:"Currency"},{key:"Loan Officer"},{key:"External Id"}],this.detailsDataSource=new hi(this.loanDetailsTableData)}showApprovedAmountBasedOnStatus(){return!(this.status==="Submitted and pending approval"||this.status==="Withdrawn by applicant"||this.status==="Rejected")}static{this.\u0275fac=function(a){return new(a||e)(L(Nt))}}static{this.\u0275cmp=Pt({type:e,selectors:[["mifosx-general-tab"]],decls:13,vars:5,consts:[[1,"tab-container","mat-typography"],[4,"ngIf"],[1,"layout-row","gap-32px","performance-history-container"],[1,"flex-25"],[1,"flex-25","left"],["mat-table","",3,"dataSource"],["matColumnDef","Empty"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Original"],["mat-header-cell","","class","r-amount",4,"matHeaderCellDef"],["mat-cell","","class","r-amount",4,"matCellDef"],["matColumnDef","Paid"],["mat-cell","","class","r-amount amount-minus",4,"matCellDef"],["matColumnDef","Adjustments"],["mat-cell","","class","r-amount amount-plus",4,"matCellDef"],["matColumnDef","Waived"],["matColumnDef","Written Off"],["matColumnDef","Outstanding"],["matColumnDef","Over Due"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","",1,"r-amount"],["mat-cell","",1,"r-amount"],["mat-cell","",1,"r-amount","amount-minus"],["mat-cell","",1,"r-amount","amount-plus"],["mat-header-row",""],["mat-row",""],["matColumnDef","Key"],["matColumnDef","Value"],["completed","true",3,"externalId"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"flex-contents"],[1,"flex-50"],["class","flex-50",4,"ngIf"],["class","flex-contents",4,"ngIf"]],template:function(a,o){a&1&&(r(0,"div",0),t(1,` - `),g(2,Dh,40,15,"ng-container",1),t(3,` - - `),g(4,Uh,69,6,"div",1),t(5,` - - `),g(6,s2,21,5,"div",1),t(7,` - - `),g(8,S2,21,5,"div",1),t(9,` - - `),g(10,M2,51,26,"div",1),t(11,` -`),l(),t(12,` -`)),a&2&&(s(2),h("ngIf",o.loanDetails.summary),s(2),h("ngIf",o.loanDetails.summary),s(2),h("ngIf",o.loanDetails.summary),s(2),h("ngIf",!o.loanDetails.summary),s(2),h("ngIf",!o.loanDetails.summary))},dependencies:[qt,gn,_n,yn,vn,xn,Sn,bn,Cn,Dn,Pn,Ea,oa,Ot,Tn,En],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .performance-history-container[_ngcontent-%COMP%]{border:1px solid;padding:1%;margin-bottom:20px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;margin-bottom:20px}span[_ngcontent-%COMP%]{margin:.5em 0}"]})}}return e})();function O2(e,i){if(e&1&&(r(0,"span"),t(1,` - `),r(2,"span",7),t(3),m(4,"translate"),l(),t(5),r(6,"span",7),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M(2);s(3),y(u(4,3,"labels.commons.on")),s(2),S("",n.loanDetails.repaymentFrequencyNthDayType==null?null:n.loanDetails.repaymentFrequencyNthDayType.value,` - `),s(2),y(pn(8,5,n.loanDetails.repaymentFrequencyDayOfWeekType==null?null:n.loanDetails.repaymentFrequencyDayOfWeekType.value,"catalogs"))}}function A2(e,i){if(e&1&&(r(0,"span",7),t(1,` - `),g(2,O2,10,8,"span",8),t(3,` - `),l()),e&2){let n=M();s(2),h("ngIf",n.loanDetails.repaymentFrequencyDayOfWeekType)}}function E2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,3,"labels.inputs.Fixed Length")," "),s(4),Ht(` - `,n.loanDetails.fixedLength," ",pn(8,5,n.loanDetails.repaymentFrequencyType.value,"catalogs"),"")}}function L2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"formatNumber"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Principal Percentage Per Installment")," "),s(4),S(" ",u(8,4,n.loanDetails.fixedPrincipalPercentagePerInstallment)," %")}}function N2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Income capitalization calculation type"),""),s(4),S(` - `,pn(8,4,n.loanDetails.capitalizedIncomeCalculationType==null?null:n.loanDetails.capitalizedIncomeCalculationType.value,"catalogs"),` - `)}}function F2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Income capitalization strategy"),""),s(4),S(" ",pn(8,4,n.loanDetails.capitalizedIncomeStrategy==null?null:n.loanDetails.capitalizedIncomeStrategy.value,"catalogs")," ")}}function k2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Income capitalization type"),""),s(4),S(" ",pn(8,4,n.loanDetails.capitalizedIncomeType==null?null:n.loanDetails.capitalizedIncomeType.value,"catalogs")," ")}}function B2(e,i){if(e&1&&(r(0,"span",3),t(1),l()),e&2){let n=M();s(),S(" ",n.loanDetails.fundName," ")}}function R2(e,i){e&1&&(r(0,"span",3),t(1),m(2,"translate"),l()),e&2&&(s(),S(" ",u(2,1,"labels.inputs.Unassigned")," "))}function j2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"formatNumber"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Fixed EMI amount"),""),s(4),S(" ",u(8,4,n.loanDetails.fixedEmiAmount)," ")}}function q2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"yesNo"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Is Topup Loan"),"?"),s(4),S(" ",u(8,4,n.loanDetails.isTopup)," ")}}function V2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7,` - `),r(8,"a",9),t(9),l(),t(10,` - `),l(),t(11,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Loan closed with Topup")," "),s(6),y(n.loanDetails.closureLoanAccountNo)}}function z2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"formatNumber"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Topup closure amount"),""),s(4),S(" ",u(8,4,n.loanDetails.topupAmount)," ")}}function U2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Interest recalculation compounding on"),""),s(4),S(` - `,pn(8,4,n.loanDetails.interestRecalculationData.interestRecalculationCompoundingType.value,"catalogs"),` - `)}}function H2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"translateKey"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Advance payments adjustment type"),""),s(4),S(` - `,pn(8,4,n.loanDetails.interestRecalculationData.rescheduleStrategyType.value,"catalogs"),` - `)}}function G2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),l(),t(8,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Frequency for recalculate Outstanding Principal"),""),s(4),S(" ",n.loanDetails.interestRecalculationData.calendarData.humanReadable," ")}}function W2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),l(),t(8,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Frequency for compounding"),""),s(4),S(" ",n.loanDetails.interestRecalculationData.compoundingCalendarData.humanReadable," ")}}function $2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"yesNo"),l(),t(9,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,2,"labels.inputs.Variable Installments Allowed"),""),s(4),S(" ",u(8,4,n.loanDetails.isVariableInstallmentsAllowed)," ")}}function Y2(e,i){if(e&1&&(r(0,"div",2),t(1,` - `),r(2,"span",3),t(3),m(4,"translate"),l(),t(5,` - `),r(6,"span",3),t(7),m(8,"formatNumber"),m(9,"translate"),m(10,"formatNumber"),m(11,"translate"),l(),t(12,` - `),l()),e&2){let n=M();s(3),S(" ",u(4,5,"labels.inputs.Gap between Installments"),""),s(4),ms(` - `,u(8,7,n.loanDetails.minimumGap),"\xA0",u(9,9,"labels.text.Days"),"\xA0, Max:",u(10,11,n.loanDetails.maximumGap),"\xA0",u(11,13,"labels.text.Days"),` - `)}}var dd=(()=>{class e{constructor(n){this.route=n,this.route.parent.data.subscribe(a=>{this.loanDetails=a.loanDetailsData})}static{this.\u0275fac=function(a){return new(a||e)(L(Nt))}}static{this.\u0275cmp=Pt({type:e,selectors:[["mifosx-account-details"]],decls:315,vars:177,consts:[[1,"container","p-b-20"],[1,"responsive-column"],[1,"flex-fill","layout-row"],[1,"flex-50"],["class","m-l-10",4,"ngIf"],["class","flex-fill layout-row",4,"ngIf"],["class","flex-50",4,"ngIf"],[1,"m-l-10"],[4,"ngIf"],["href","#"]],template:function(a,o){a&1&&(r(0,"div",0),t(1,` - `),r(2,"h3"),t(3),m(4,"translate"),l(),t(5,` - - `),r(6,"div",1),t(7,` - `),r(8,"div",2),t(9,` - `),r(10,"span",3),t(11),m(12,"translate"),l(),t(13,` - `),r(14,"span",3),t(15),m(16,"translateKey"),l(),t(17,` - `),l(),t(18,` - - `),r(19,"div",2),t(20,` - `),r(21,"span",3),t(22),m(23,"translate"),l(),t(24,` - `),r(25,"span",3),t(26),m(27,"translateKey"),g(28,A2,4,1,"span",4),t(29,` - `),l(),t(30,` - `),l(),t(31,` - - `),g(32,E2,10,8,"div",5),t(33,` - - `),r(34,"div",2),t(35,` - `),r(36,"span",3),t(37),m(38,"translate"),l(),t(39,` - `),r(40,"span",3),t(41),m(42,"translateKey"),l(),t(43,` - `),l(),t(44,` - - `),g(45,L2,10,6,"div",5),t(46,` - - `),r(47,"div",2),t(48,` - `),r(49,"span",3),t(50),m(51,"translate"),l(),t(52,` - `),r(53,"span",3),t(54),m(55,"yesNo"),l(),t(56,` - `),l(),t(57,` - - `),r(58,"div",2),t(59,` - `),r(60,"span",3),t(61),m(62,"translate"),l(),t(63,` - `),r(64,"span",3),t(65),m(66,"formatNumber"),m(67,"translate"),m(68,"translateKey"),l(),t(69,` - `),l(),t(70,` - - `),r(71,"div",2),t(72,` - `),r(73,"span",3),t(74),m(75,"translate"),l(),t(76,` - `),r(77,"span",3),t(78),m(79,"translate"),l(),t(80,` - `),l(),t(81,` - - `),r(82,"div",2),t(83,` - `),r(84,"span",3),t(85),m(86,"translate"),l(),t(87,` - `),r(88,"span",3),t(89),m(90,"yesNo"),l(),t(91,` - `),l(),t(92,` - - `),r(93,"div",2),t(94,` - `),r(95,"span",3),t(96),m(97,"translate"),l(),t(98,` - `),r(99,"span",3),t(100),m(101,"translateKey"),l(),t(102,` - `),l(),t(103,` - - `),r(104,"div",2),t(105,` - `),r(106,"span",3),t(107),m(108,"translate"),l(),t(109,` - `),r(110,"span",3),t(111),m(112,"yesNo"),l(),t(113,` - `),l(),t(114,` - - `),g(115,N2,10,7,"div",5),t(116,` - - `),g(117,F2,10,7,"div",5),t(118,` - - `),g(119,k2,10,7,"div",5),t(120,` - - `),r(121,"div",2),t(122,` - `),r(123,"span",3),t(124),m(125,"translate"),l(),t(126,` - `),r(127,"span",3),t(128),l(),t(129,` - `),l(),t(130,` - - `),r(131,"div",2),t(132,` - `),r(133,"span",3),t(134),m(135,"translate"),l(),t(136,` - `),r(137,"span",3),t(138),l(),t(139,` - `),l(),t(140,` - - `),r(141,"div",2),t(142,` - `),r(143,"span",3),t(144),m(145,"translate"),l(),t(146,` - `),r(147,"span",3),t(148),l(),t(149,` - `),l(),t(150,` - - `),r(151,"div",2),t(152,` - `),r(153,"span",3),t(154),m(155,"translate"),l(),t(156,` - `),r(157,"span",3),t(158),m(159,"yesNo"),l(),t(160,` - `),l(),t(161,` - - `),r(162,"div",2),t(163,` - `),r(164,"span",3),t(165),m(166,"translate"),l(),t(167,` - `),g(168,B2,2,1,"span",6),t(169,` - `),g(170,R2,3,3,"span",6),t(171,` - `),l(),t(172,` - - `),r(173,"div",2),t(174,` - `),r(175,"span",3),t(176),m(177,"translate"),l(),t(178,` - `),r(179,"span",3),t(180),l(),t(181,` - `),l(),t(182,` - - `),r(183,"div",2),t(184,` - `),r(185,"span",3),t(186),m(187,"translate"),l(),t(188,` - `),r(189,"span",3),t(190),m(191,"translateKey"),l(),t(192,` - `),l(),t(193,` - - `),r(194,"div",2),t(195,` - `),r(196,"span",3),t(197),m(198,"translate"),l(),t(199,` - `),r(200,"span",3),t(201),m(202,"yesNo"),l(),t(203,` - `),l(),t(204,` - - `),r(205,"div",2),t(206,` - `),r(207,"span",3),t(208),m(209,"translate"),l(),t(210,` - `),r(211,"span",3),t(212),m(213,"yesNo"),l(),t(214,` - `),l(),t(215,` - - `),r(216,"div",2),t(217,` - `),r(218,"span",3),t(219),m(220,"translate"),l(),t(221,` - `),r(222,"span",3),t(223),m(224,"dateFormat"),l(),t(225,` - `),l(),t(226,` - - `),r(227,"div",2),t(228,` - `),r(229,"span",3),t(230),m(231,"translate"),l(),t(232,` - `),r(233,"span",3),t(234),m(235,"dateFormat"),l(),t(236,` - `),l(),t(237,` - - `),r(238,"div",2),t(239,` - `),r(240,"span",3),t(241),m(242,"translate"),l(),t(243,` - `),r(244,"span",3),t(245),m(246,"dateFormat"),l(),t(247,` - `),l(),t(248,` - - `),r(249,"div",2),t(250,` - `),r(251,"span",3),t(252),m(253,"translate"),l(),t(254,` - `),r(255,"span",3),t(256),m(257,"dateFormat"),l(),t(258,` - `),l(),t(259,` - - `),g(260,j2,10,6,"div",5),t(261,` - - `),g(262,q2,10,6,"div",5),t(263,` - - `),g(264,V2,12,4,"div",5),t(265,` - - `),g(266,z2,10,6,"div",5),t(267,` - - `),r(268,"div",2),t(269,` - `),r(270,"span",3),t(271),m(272,"translate"),l(),t(273,` - `),r(274,"span",3),t(275),m(276,"yesNo"),l(),t(277,` - `),l(),t(278,` - - `),r(279,"div",2),t(280,` - `),r(281,"span",3),t(282),m(283,"translate"),l(),t(284,` - `),r(285,"span",3),t(286),m(287,"translateKey"),l(),t(288,` - `),l(),t(289,` - - `),r(290,"div",2),t(291,` - `),r(292,"span",3),t(293),m(294,"translate"),l(),t(295,` - `),r(296,"span",3),t(297),m(298,"translateKey"),l(),t(299,` - `),l(),t(300,` - - `),g(301,U2,10,7,"div",5),t(302,` - - `),g(303,H2,10,7,"div",5),t(304,` - - `),g(305,G2,9,4,"div",5),t(306,` - - `),g(307,W2,9,4,"div",5),t(308,` - - `),g(309,$2,10,6,"div",5),t(310,` - - `),g(311,Y2,13,15,"div",5),t(312,` - `),l(),t(313,` -`),l(),t(314,` -`)),a&2&&(s(3),y(u(4,73,"labels.heading.Loan Details")),s(8),y(u(12,75,"labels.inputs.Repayment Strategy")),s(4),y(pn(16,77,o.loanDetails.transactionProcessingStrategyName,"catalogs")),s(7),y(u(23,80,"labels.inputs.Repayments")),s(4),ps("",o.loanDetails.numberOfRepayments," every ",o.loanDetails.repaymentEvery,"\xA0",pn(27,82,o.loanDetails.repaymentFrequencyType.value,"catalogs"),` - `),s(2),h("ngIf",(o.loanDetails.repaymentFrequencyType==null?null:o.loanDetails.repaymentFrequencyType.id)===2&&(o.loanDetails.repaymentFrequencyNthDayType==null?null:o.loanDetails.repaymentFrequencyNthDayType.id)!==0&&(o.loanDetails.repaymentFrequencyDayOfWeekType==null?null:o.loanDetails.repaymentFrequencyDayOfWeekType.id)!==0),s(4),h("ngIf",o.loanDetails.fixedLength),s(5),S(" ",u(38,85,"labels.inputs.Amortization")," "),s(4),S(" ",pn(42,87,o.loanDetails.amortizationType.value,"catalogs")," "),s(4),h("ngIf",o.loanDetails.fixedPrincipalPercentagePerInstallment),s(5),S(" ",u(51,90,"labels.inputs.Equal Amortization")," "),s(4),S(" ",u(55,92,o.loanDetails.isEqualAmortization)," "),s(7),S(" ",u(62,94,"labels.inputs.Interest")," "),s(4),ms(` - `,u(66,96,o.loanDetails.annualInterestRate)," % ",u(67,98,"labels.text.per annum")," (",o.loanDetails.interestRatePerPeriod,` - %\xA0 `,pn(68,100,o.loanDetails.interestRateFrequencyType.value,"catalogs"),`) - `),s(9),S(" ",u(75,103,"labels.inputs.Interest Type")," "),s(4),S(" ",u(79,105,"labels.text."+o.loanDetails.interestType.value)," "),s(7),S("",u(86,107,"labels.inputs.Enable Down Payments"),":"),s(4),y(u(90,109,o.loanDetails.enableDownPayment)),s(7),S("",u(97,111,"labels.inputs.Loan Charge-off behaviour"),":"),s(4),y(pn(101,113,o.loanDetails.chargeOffBehaviour.value,"catalogs")),s(7),S(" ",u(108,116,"labels.inputs.Enable income capitalization"),""),s(4),S(" ",u(112,118,o.loanDetails.enableIncomeCapitalization)," "),s(4),h("ngIf",o.loanDetails.enableIncomeCapitalization),s(2),h("ngIf",o.loanDetails.enableIncomeCapitalization),s(2),h("ngIf",o.loanDetails.enableIncomeCapitalization),s(5),S(" ",u(125,120,"labels.inputs.Grace: On Principal Payment"),""),s(4),S(" ",o.loanDetails.graceOnPrincipalPayment," "),s(6),S(" ",u(135,122,"labels.inputs.Grace: On Interest Payment"),""),s(4),S(" ",o.loanDetails.graceOnInterestPayment," "),s(6),S(" ",u(145,124,"labels.inputs.Grace on Arrears Ageing"),""),s(4),S(" ",o.loanDetails.graceOnArrearsAgeing," "),s(6),S(" ",u(155,126,"labels.inputs.Enable installment level Delinquency")," "),s(4),S(" ",u(159,128,o.loanDetails.enableInstallmentLevelDelinquency)," "),s(7),S(" ",u(166,130,"labels.inputs.Fund Source")," "),s(3),h("ngIf",o.loanDetails.fundName),s(2),h("ngIf",!o.loanDetails.fundName),s(6),S(" ",u(177,132,"labels.inputs.Interest Free Period"),""),s(4),S(" ",o.loanDetails.graceOnInterestCharged," "),s(6),S(" ",u(187,134,"labels.inputs.Interest Calculation Period"),""),s(4),S(" ",pn(191,136,o.loanDetails.interestCalculationPeriodType.value,"catalogs")," "),s(7),S(` - `,u(198,139,"labels.inputs.Allow Partial Interest Calculation with same as repayment"),""),s(4),S(" ",u(202,141,o.loanDetails.allowPartialPeriodInterestCalculation)," "),s(7),S("",u(209,143,"labels.inputs.Is interest recognition on disbursement date?"),":"),s(4),y(u(213,145,o.loanDetails.interestRecognitionOnDisbursementDate)),s(7),S(" ",u(220,147,"labels.inputs.Submitted on"),""),s(4),S(" ",u(224,149,o.loanDetails.timeline.submittedOnDate)," "),s(7),S(" ",u(231,151,"labels.inputs.Approved on"),""),s(4),S(" ",u(235,153,o.loanDetails.timeline.approvedOnDate)," "),s(7),S(" ",u(242,155,"labels.inputs.Disbursed on"),""),s(4),S(" ",u(246,157,o.loanDetails.timeline.actualDisbursementDate)," "),s(7),S(" ",u(253,159,"labels.inputs.Matures on"),""),s(4),S(" ",u(257,161,o.loanDetails.timeline.expectedMaturityDate)," "),s(4),h("ngIf",o.loanDetails.canDefineInstallmentAmount),s(2),h("ngIf",o.loanDetails.isTopup),s(2),h("ngIf",o.loanDetails.isTopup),s(2),h("ngIf",o.loanDetails.isTopup),s(5),S(" ",u(272,163,"labels.inputs.Recalculate Interest based on new terms"),""),s(4),S(" ",u(276,165,o.loanDetails.isInterestRecalculationEnabled)," "),s(7),S(" ",u(283,167,"labels.inputs.Days in year"),""),s(4),S(" ",pn(287,169,o.loanDetails.daysInYearType.value,"catalogs")," "),s(7),S(" ",u(294,172,"labels.inputs.Days in month"),""),s(4),S(" ",pn(298,174,o.loanDetails.daysInMonthType.value,"catalogs")," "),s(4),h("ngIf",o.loanDetails.isInterestRecalculationEnabled),s(2),h("ngIf",o.loanDetails.isInterestRecalculationEnabled),s(2),h("ngIf",o.loanDetails.isInterestRecalculationEnabled),s(2),h("ngIf",o.loanDetails.isInterestRecalculationEnabled&&o.loanDetails.interestRecalculationData.interestRecalculationCompoundingType.id!==0),s(2),h("ngIf",o.loanDetails.isVariableInstallmentsAllowed),s(2),h("ngIf",o.loanDetails.isVariableInstallmentsAllowed))},dependencies:[qt,Ot,Tn,En,gl,So],styles:["table[_ngcontent-%COMP%]{width:100%}span[_ngcontent-%COMP%]{margin:.5em 0}"]})}}return e})();var ud=(()=>{class e{constructor(n,a,o){this.route=n,this.loansService=a,this.authenticationService=o;let c=this.authenticationService.getCredentials();this.username=c.username,this.entityId=this.route.parent.snapshot.params.loanId,this.route.data.subscribe(d=>{this.entityNotes=d.loanNotes})}ngOnInit(){this.route.parent.params.subscribe(n=>{this.entityId=n.loanId})}addNote(n){this.loansService.createLoanNote(this.entityId,n).subscribe(a=>{this.entityNotes.push({id:a.resourceId,createdByUsername:this.username,createdOn:new Date,note:n.note})})}editNote(n,a,o){this.loansService.editLoanNote(this.entityId,n,a).subscribe(()=>{this.entityNotes[o].note=a.note})}deleteNote(n,a){this.loansService.deleteLoanNote(this.entityId,n).subscribe(()=>{this.entityNotes.splice(a,1)})}static{this.\u0275fac=function(a){return new(a||e)(L(Nt),L(It),L(Nm))}}static{this.\u0275cmp=Pt({type:e,selectors:[["mifosx-notes-tab"]],decls:3,vars:5,consts:[[3,"entityId","entityNotes","callbackAdd","callbackEdit","callbackDelete"]],template:function(a,o){a&1&&(r(0,"mifosx-entity-notes-tab",0),t(1,` -`),l(),t(2,` -`)),a&2&&h("entityId",o.entityId)("entityNotes",o.entityNotes)("callbackAdd",o.addNote)("callbackEdit",o.editNote)("callbackDelete",o.deleteNote)},dependencies:[Qm]})}}return e})();var ra=Uint8Array,La=Uint16Array,ep=Int32Array,L0=new ra([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),N0=new ra([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Qc=new ra([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xd=function(e,i){for(var n=new La(31),a=0;a<31;++a)n[a]=i+=1<>1|($n&21845)<<1,jo=(jo&52428)>>2|(jo&13107)<<2,jo=(jo&61680)>>4|(jo&3855)<<4,Zc[$n]=((jo&65280)>>8|(jo&255)<<8)>>1;var jo,$n,Do=function(e,i,n){for(var a=e.length,o=0,c=new La(i);o>_]=C}else for(f=new La(a),o=0;o>15-e[o]);return f},lr=new ra(288);for($n=0;$n<144;++$n)lr[$n]=8;var $n;for($n=144;$n<256;++$n)lr[$n]=9;var $n;for($n=256;$n<280;++$n)lr[$n]=7;var $n;for($n=280;$n<288;++$n)lr[$n]=8;var $n,_s=new ra(32);for($n=0;$n<32;++$n)_s[$n]=5;var $n,J2=Do(lr,9,0),Q2=Do(lr,9,1),X2=Do(_s,5,0),Z2=Do(_s,5,1),Yc=function(e){for(var i=e[0],n=1;ni&&(i=e[n]);return i},oo=function(e,i,n){var a=i/8|0;return(e[a]|e[a+1]<<8)>>(i&7)&n},Kc=function(e,i){var n=i/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(i&7)},np=function(e){return(e+7)/8|0},Cd=function(e,i,n){return(i==null||i<0)&&(i=0),(n==null||n>e.length)&&(n=e.length),new ra(e.subarray(i,n))};var tg=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ro=function(e,i,n){var a=new Error(i||tg[e]);if(a.code=e,Error.captureStackTrace&&Error.captureStackTrace(a,ro),!n)throw a;return a},eg=function(e,i,n,a){var o=e.length,c=a?a.length:0;if(!o||i.f&&!i.l)return n||new ra(0);var d=!n,f=d||i.i!=2,_=i.i;d&&(n=new ra(o*3));var C=function(Zt){var de=n.length;if(Zt>de){var se=new ra(Math.max(de*2,Zt));se.set(n),n=se}},T=i.f||0,I=i.p||0,E=i.b||0,D=i.l,z=i.d,q=i.m,K=i.n,j=o*8;do{if(!D){T=oo(e,I,1);var J=oo(e,I+1,3);if(I+=3,J)if(J==1)D=Q2,z=Z2,q=9,K=5;else if(J==2){var Kt=oo(e,I,31)+257,vt=oo(e,I+10,15)+4,it=Kt+oo(e,I+5,31)+1;I+=14;for(var yt=new ra(it),Rt=new ra(19),V=0;V>4;if(pt<16)yt[V++]=pt;else{var Dt=0,Ft=0;for(pt==16?(Ft=3+oo(e,I,3),I+=2,Dt=yt[V-1]):pt==17?(Ft=3+oo(e,I,7),I+=3):pt==18&&(Ft=11+oo(e,I,127),I+=7);Ft--;)yt[V++]=Dt}}var gt=yt.subarray(0,Kt),Lt=yt.subarray(Kt);q=Yc(gt),K=Yc(Lt),D=Do(gt,q,1),z=Do(Lt,K,1)}else ro(1);else{var pt=np(I)+4,St=e[pt-4]|e[pt-3]<<8,At=pt+St;if(At>o){_&&ro(0);break}f&&C(E+St),n.set(e.subarray(pt,At),E),i.b=E+=St,i.p=I=At*8,i.f=T;continue}if(I>j){_&&ro(0);break}}f&&C(E+131072);for(var Bt=(1<>4;if(I+=Dt&15,I>j){_&&ro(0);break}if(Dt||ro(2),$<256)n[E++]=$;else if($==256){k=I,D=null;break}else{var Q=$-254;if($>264){var V=$-257,nt=L0[V];Q=oo(e,I,(1<>4;dt||ro(3),I+=dt&15;var Lt=K2[_t];if(_t>3){var nt=N0[_t];Lt+=Kc(e,I)&(1<j){_&&ro(0);break}f&&C(E+131072);var bt=E+Q;if(E>8},gs=function(e,i,n){n<<=i&7;var a=i/8|0;e[a]|=n,e[a+1]|=n>>8,e[a+2]|=n>>16},Jc=function(e,i){for(var n=[],a=0;aE&&(E=c[a].s);var D=new La(E+1),z=tp(n[T-1],D,0);if(z>i){var a=0,q=0,K=z-i,j=1<i)q+=j-(1<>=K;q>0;){var pt=c[a].s;D[pt]=0&&q;--a){var St=c[a].s;D[St]==i&&(--D[St],++q)}z=i}return{t:new ra(D),l:z}},tp=function(e,i,n){return e.s==-1?Math.max(tp(e.l,i,n+1),tp(e.r,i,n+1)):i[e.s]=n},hd=function(e){for(var i=e.length;i&&!e[--i];);for(var n=new La(++i),a=0,o=e[0],c=1,d=function(_){n[a++]=_},f=1;f<=i;++f)if(e[f]==o&&f!=i)++c;else{if(!o&&c>2){for(;c>138;c-=138)d(32754);c>2&&(d(c>10?c-11<<5|28690:c-3<<5|12305),c=0)}else if(c>3){for(d(o),--c;c>6;c-=6)d(8304);c>2&&(d(c-3<<5|8208),c=0)}for(;c--;)d(o);c=1,o=e[f]}return{c:n.subarray(0,a),n:i}},xs=function(e,i){for(var n=0,a=0;a>8,e[o+2]=e[o]^255,e[o+3]=e[o+1]^255;for(var c=0;c4&&!Rt[Qc[U-1]];--U);var rt=C+5<<3,Z=xs(o,lr)+xs(c,_s)+d,Tt=xs(o,E)+xs(c,q)+d+14+3*U+xs(vt,Rt)+2*vt[16]+3*vt[17]+7*vt[18];if(_>=0&&rt<=Z&&rt<=Tt)return yd(i,T,e.subarray(_,_+C));var Dt,Ft,gt,Lt;if(qo(i,T,1+(Tt15&&(qo(i,T,$[it]>>5&127),T+=$[it]>>12)}}else Dt=J2,Ft=lr,gt=X2,Lt=_s;for(var it=0;it255){var Q=nt>>18&31;gs(i,T,Dt[Q+257]),T+=Ft[Q+257],Q>7&&(qo(i,T,nt>>23&31),T+=L0[Q]);var dt=nt&31;gs(i,T,gt[dt]),T+=Lt[dt],dt>3&&(gs(i,T,nt>>5&8191),T+=N0[dt])}else gs(i,T,Dt[nt]),T+=Ft[nt]}return gs(i,T,Dt[256]),T+Ft[256]},ng=new ep([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Sd=new ra(0),ig=function(e,i,n,a,o,c){var d=c.z||e.length,f=new ra(a+d+5*(1+Math.ceil(d/7e3))+o),_=f.subarray(a,f.length-o),C=c.l,T=(c.r||0)&7;if(i){T&&(_[0]=c.r>>3);for(var I=ng[i-1],E=I>>13,D=I&8191,z=(1<7e3||Rt>24576)&&(Dt>423||!C)){T=gd(e,_,0,St,At,Kt,it,Rt,U,yt-U,T),Rt=vt=it=0,U=yt;for(var Ft=0;Ft<286;++Ft)At[Ft]=0;for(var Ft=0;Ft<30;++Ft)Kt[Ft]=0}var gt=2,Lt=0,Bt=D,ve=Z-Tt&32767;if(Dt>2&&rt==pt(yt-ve))for(var k=Math.min(E,Dt)-1,$=Math.min(32767,yt),Q=Math.min(258,Dt);ve<=$&&--Bt&&Z!=Tt;){if(e[yt+gt]==e[yt+gt-ve]){for(var nt=0;ntgt){if(gt=nt,Lt=ve,nt>k)break;for(var dt=Math.min(ve,nt-2),_t=0,Ft=0;Ft_t&&(_t=ee,Tt=bt)}}}Z=Tt,Tt=q[Z],ve+=Z-Tt&32767}if(Lt){St[Rt++]=268435456|Xc[gt]<<18|fd[Lt];var Zt=Xc[gt]&31,de=fd[Lt]&31;it+=L0[Zt]+N0[de],++At[257+Zt],++Kt[de],V=yt+gt,++vt}else St[Rt++]=e[yt],++At[e[yt]]}}for(yt=Math.max(yt,V);yt=d&&(_[T/8|0]=C,se=d),T=yd(_,T+1,e.subarray(yt,se))}c.i=d}return Cd(f,0,a+np(T)+o)};var Dd=function(){var e=1,i=0;return{p:function(n){for(var a=e,o=i,c=n.length|0,d=0;d!=c;){for(var f=Math.min(d+2655,c);d>16),o=(o&65535)+15*(o>>16)}e=a,i=o},d:function(){return e%=65521,i%=65521,(e&255)<<24|(e&65280)<<8|(i&255)<<8|i>>8}}},ag=function(e,i,n,a,o){if(!o&&(o={l:1},i.dictionary)){var c=i.dictionary.subarray(-32768),d=new ra(c.length+e.length);d.set(c),d.set(e,c.length),e=d,o.w=c.length}return ig(e,i.level==null?6:i.level,i.mem==null?o.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+i.mem,n,a,o)};var Pd=function(e,i,n){for(;n;++i)e[i]=n,n>>>=8};var og=function(e,i){var n=i.level,a=n==0?0:n<6?1:n==9?3:2;if(e[0]=120,e[1]=a<<6|(i.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,i.dictionary){var o=Dd();o.p(i.dictionary),Pd(e,2,o.d())}},rg=function(e,i){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&ro(6,"invalid zlib data"),(e[1]>>5&1)==+!i&&ro(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function F0(e,i){i||(i={});var n=Dd();n.p(e);var a=ag(e,i,i.dictionary?6:2,4);return og(a,i),Pd(a,a.length-4,n.d()),a}function wd(e,i){return eg(e.subarray(rg(e,i&&i.dictionary),-4),{i:2},i&&i.out,i&&i.dictionary)}var lg=typeof TextDecoder<"u"&&new TextDecoder,sg=0;try{lg.decode(Sd,{stream:!0}),sg=1}catch{}var tn=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function ip(){tn.console&&typeof tn.console.log=="function"&&tn.console.log.apply(tn.console,arguments)}var ri={log:ip,warn:function(e){tn.console&&(typeof tn.console.warn=="function"?tn.console.warn.apply(tn.console,arguments):ip.call(null,arguments))},error:function(e){tn.console&&(typeof tn.console.error=="function"?tn.console.error.apply(tn.console,arguments):ip(e))}};function ap(e,i,n){var a=new XMLHttpRequest;a.open("GET",e),a.responseType="blob",a.onload=function(){Pr(a.response,i,n)},a.onerror=function(){ri.error("could not download file")},a.send()}function Td(e){var i=new XMLHttpRequest;i.open("HEAD",e,!1);try{i.send()}catch{}return i.status>=200&&i.status<=299}function k0(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(i)}}var vs,cp,Pr=tn.saveAs||((typeof window>"u"?"undefined":ii(window))!=="object"||window!==tn?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,i,n){var a=tn.URL||tn.webkitURL,o=document.createElement("a");i=i||e.name||"download",o.download=i,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?Td(o.href)?ap(e,i,n):k0(o,o.target="_blank"):k0(o)):(o.href=a.createObjectURL(e),setTimeout(function(){a.revokeObjectURL(o.href)},4e4),setTimeout(function(){k0(o)},0))}:"msSaveOrOpenBlob"in navigator?function(e,i,n){if(i=i||e.name||"download",typeof e=="string")if(Td(e))ap(e,i,n);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){k0(a)})}else navigator.msSaveOrOpenBlob(function(o,c){return c===void 0?c={autoBom:!1}:ii(c)!=="object"&&(ri.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}(e,n),i)}:function(e,i,n,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),typeof e=="string")return ap(e,i,n);var o=e.type==="application/octet-stream",c=/constructor/i.test(tn.HTMLElement)||tn.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||o&&c)&&(typeof FileReader>"u"?"undefined":ii(FileReader))==="object"){var f=new FileReader;f.onloadend=function(){var T=f.result;T=d?T:T.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=T:location=T,a=null},f.readAsDataURL(e)}else{var _=tn.URL||tn.webkitURL,C=_.createObjectURL(e);a?a.location=C:location.href=C,a=null,setTimeout(function(){_.revokeObjectURL(C)},4e4)}});function Hd(e){var i;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(f){return[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(f){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(f){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}}],a=0;a255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var f=this.r.toString(16),_=this.g.toString(16),C=this.b.toString(16);return f.length==1&&(f="0"+f),_.length==1&&(_="0"+_),C.length==1&&(C="0"+C),"#"+f+_+C}}function op(e,i){var n=e[0],a=e[1],o=e[2],c=e[3];n=la(n,a,o,c,i[0],7,-680876936),c=la(c,n,a,o,i[1],12,-389564586),o=la(o,c,n,a,i[2],17,606105819),a=la(a,o,c,n,i[3],22,-1044525330),n=la(n,a,o,c,i[4],7,-176418897),c=la(c,n,a,o,i[5],12,1200080426),o=la(o,c,n,a,i[6],17,-1473231341),a=la(a,o,c,n,i[7],22,-45705983),n=la(n,a,o,c,i[8],7,1770035416),c=la(c,n,a,o,i[9],12,-1958414417),o=la(o,c,n,a,i[10],17,-42063),a=la(a,o,c,n,i[11],22,-1990404162),n=la(n,a,o,c,i[12],7,1804603682),c=la(c,n,a,o,i[13],12,-40341101),o=la(o,c,n,a,i[14],17,-1502002290),n=sa(n,a=la(a,o,c,n,i[15],22,1236535329),o,c,i[1],5,-165796510),c=sa(c,n,a,o,i[6],9,-1069501632),o=sa(o,c,n,a,i[11],14,643717713),a=sa(a,o,c,n,i[0],20,-373897302),n=sa(n,a,o,c,i[5],5,-701558691),c=sa(c,n,a,o,i[10],9,38016083),o=sa(o,c,n,a,i[15],14,-660478335),a=sa(a,o,c,n,i[4],20,-405537848),n=sa(n,a,o,c,i[9],5,568446438),c=sa(c,n,a,o,i[14],9,-1019803690),o=sa(o,c,n,a,i[3],14,-187363961),a=sa(a,o,c,n,i[8],20,1163531501),n=sa(n,a,o,c,i[13],5,-1444681467),c=sa(c,n,a,o,i[2],9,-51403784),o=sa(o,c,n,a,i[7],14,1735328473),n=ca(n,a=sa(a,o,c,n,i[12],20,-1926607734),o,c,i[5],4,-378558),c=ca(c,n,a,o,i[8],11,-2022574463),o=ca(o,c,n,a,i[11],16,1839030562),a=ca(a,o,c,n,i[14],23,-35309556),n=ca(n,a,o,c,i[1],4,-1530992060),c=ca(c,n,a,o,i[4],11,1272893353),o=ca(o,c,n,a,i[7],16,-155497632),a=ca(a,o,c,n,i[10],23,-1094730640),n=ca(n,a,o,c,i[13],4,681279174),c=ca(c,n,a,o,i[0],11,-358537222),o=ca(o,c,n,a,i[3],16,-722521979),a=ca(a,o,c,n,i[6],23,76029189),n=ca(n,a,o,c,i[9],4,-640364487),c=ca(c,n,a,o,i[12],11,-421815835),o=ca(o,c,n,a,i[15],16,530742520),n=pa(n,a=ca(a,o,c,n,i[2],23,-995338651),o,c,i[0],6,-198630844),c=pa(c,n,a,o,i[7],10,1126891415),o=pa(o,c,n,a,i[14],15,-1416354905),a=pa(a,o,c,n,i[5],21,-57434055),n=pa(n,a,o,c,i[12],6,1700485571),c=pa(c,n,a,o,i[3],10,-1894986606),o=pa(o,c,n,a,i[10],15,-1051523),a=pa(a,o,c,n,i[1],21,-2054922799),n=pa(n,a,o,c,i[8],6,1873313359),c=pa(c,n,a,o,i[15],10,-30611744),o=pa(o,c,n,a,i[6],15,-1560198380),a=pa(a,o,c,n,i[13],21,1309151649),n=pa(n,a,o,c,i[4],6,-145523070),c=pa(c,n,a,o,i[11],10,-1120210379),o=pa(o,c,n,a,i[2],15,718787259),a=pa(a,o,c,n,i[9],21,-343485551),e[0]=cr(n,e[0]),e[1]=cr(a,e[1]),e[2]=cr(o,e[2]),e[3]=cr(c,e[3])}function W0(e,i,n,a,o,c){return i=cr(cr(i,e),cr(a,c)),cr(i<>>32-o,n)}function la(e,i,n,a,o,c,d){return W0(i&n|~i&a,e,i,o,c,d)}function sa(e,i,n,a,o,c,d){return W0(i&a|n&~a,e,i,o,c,d)}function ca(e,i,n,a,o,c,d){return W0(i^n^a,e,i,o,c,d)}function pa(e,i,n,a,o,c,d){return W0(n^(i|~a),e,i,o,c,d)}function Gd(e){var i,n=e.length,a=[1732584193,-271733879,-1732584194,271733878];for(i=64;i<=e.length;i+=64)op(a,cg(e.substring(i-64,i)));e=e.substring(i-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(i=0;i>2]|=e.charCodeAt(i)<<(i%4<<3);if(o[i>>2]|=128<<(i%4<<3),i>55)for(op(a,o),i=0;i<16;i++)o[i]=0;return o[14]=8*n,op(a,o),a}function cg(e){var i,n=[];for(i=0;i<64;i+=4)n[i>>2]=e.charCodeAt(i)+(e.charCodeAt(i+1)<<8)+(e.charCodeAt(i+2)<<16)+(e.charCodeAt(i+3)<<24);return n}vs=tn.atob.bind(tn),cp=tn.btoa.bind(tn);var Id="0123456789abcdef".split("");function pg(e){for(var i="",n=0;n<4;n++)i+=Id[e>>8*n+4&15]+Id[e>>8*n&15];return i}function mg(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function pp(e){return Gd(e).map(mg).join("")}var dg=function(e){for(var i=0;i>16)+(i>>16)+(n>>16)<<16|65535&n}return e+i&4294967295}function mp(e,i){var n,a,o,c;if(e!==n){for(var d=(o=e,c=1+(256/e.length>>0),new Array(c+1).join(o)),f=[],_=0;_<256;_++)f[_]=_;var C=0;for(_=0;_<256;_++){var T=f[_];C=(C+T+d.charCodeAt(_))%256,f[_]=f[C],f[C]=T}n=e,a=f}else f=a;var I=i.length,E=0,D=0,z="";for(_=0;_\x80/\f\xA9\xFEdSiz";var c=(i+this.padding).substr(0,32),d=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(c,d),this.P=-(1+(255^o)),this.encryptionKey=pp(c+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(a)).substr(0,5),this.U=mp(this.encryptionKey,this.padding)}function Sl(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var i="",n=e.length,a=0;a126?i+="#"+("0"+o.toString(16)).slice(-2):i+=e[a]}return i}function Od(e){if(ii(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var i={};this.subscribe=function(n,a,o){if(o=o||!1,typeof n!="string"||typeof a!="function"||typeof o!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");i.hasOwnProperty(n)||(i[n]={});var c=Math.random().toString(35);return i[n][c]=[a,!!o],c},this.unsubscribe=function(n){for(var a in i)if(i[a][n])return delete i[a][n],Object.keys(i[a]).length===0&&delete i[a],!0;return!1},this.publish=function(n){if(i.hasOwnProperty(n)){var a=Array.prototype.slice.call(arguments,1),o=[];for(var c in i[n]){var d=i[n][c];try{d[0].apply(e,a)}catch(f){tn.console&&ri.error("jsPDF PubSub Error",f.message,f)}d[1]&&o.push(c)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return i}}function H0(e){if(!(this instanceof H0))return new H0(e);var i="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&i.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function Wd(e,i){this.gState=e,this.matrix=i,this.id="",this.objectNumber=-1}function wr(e,i,n,a,o){if(!(this instanceof wr))return new wr(e,i,n,a,o);this.type=e==="axial"?2:3,this.coords=i,this.colors=n,Wd.call(this,a,o)}function Dl(e,i,n,a,o){if(!(this instanceof Dl))return new Dl(e,i,n,a,o);this.boundingBox=e,this.xStep=i,this.yStep=n,this.stream="",this.cloneIndex=0,Wd.call(this,a,o)}function Je(e){var i,n=typeof arguments[0]=="string"?arguments[0]:"p",a=arguments[1],o=arguments[2],c=arguments[3],d=[],f=1,_=16,C="S",T=null;ii(e=e||{})==="object"&&(n=e.orientation,a=e.unit||a,o=e.format||o,c=e.compress||e.compressPdf||c,(T=e.encryption||null)!==null&&(T.userPassword=T.userPassword||"",T.ownerPassword=T.ownerPassword||"",T.userPermissions=T.userPermissions||[]),f=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(i=e.precision),e.floatPrecision!==void 0&&(_=e.floatPrecision),C=e.defaultPathOperation||"S"),d=e.filters||(c===!0?["FlateEncode"]:d),a=a||"mm",n=(""+(n||"P")).toLowerCase();var I=e.putOnlyUsedFonts||!1,E={},D={internal:{},__private__:{}};D.__private__.PubSub=Od;var z="1.3",q=D.__private__.getPdfVersion=function(){return z};D.__private__.setPdfVersion=function(v){z=v};var K={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};D.__private__.getPageFormats=function(){return K};var j=D.__private__.getPageFormat=function(v){return K[v]};o=o||"a4";var J={COMPAT:"compat",ADVANCED:"advanced"},pt=J.COMPAT;function St(){this.saveGraphicsState(),X(new Qe(xe,0,0,-xe,0,$o()*xe).toString()+" cm"),this.setFontSize(this.getFontSize()/xe),C="n",pt=J.ADVANCED}function At(){this.restoreGraphicsState(),C="S",pt=J.COMPAT}var Kt=D.__private__.combineFontStyleAndFontWeight=function(v,A){if(v=="bold"&&A=="normal"||v=="bold"&&A==400||v=="normal"&&A=="italic"||v=="bold"&&A=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return A&&(v=A==400||A==="normal"?v==="italic"?"italic":"normal":A!=700&&A!=="bold"||v!=="normal"?(A==700?"bold":A)+""+v:"bold"),v};D.advancedAPI=function(v){var A=pt===J.COMPAT;return A&&St.call(this),typeof v!="function"||(v(this),A&&At.call(this)),this},D.compatAPI=function(v){var A=pt===J.ADVANCED;return A&&At.call(this),typeof v!="function"||(v(this),A&&St.call(this)),this},D.isAdvancedAPI=function(){return pt===J.ADVANCED};var vt,it=function(v){if(pt!==J.ADVANCED)throw new Error(v+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},yt=D.roundToPrecision=D.__private__.roundToPrecision=function(v,A){var Y=i||A;if(isNaN(v)||isNaN(Y))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return v.toFixed(Y).replace(/0+$/,"")};vt=D.hpf=D.__private__.hpf=typeof _=="number"?function(v){if(isNaN(v))throw new Error("Invalid argument passed to jsPDF.hpf");return yt(v,_)}:_==="smart"?function(v){if(isNaN(v))throw new Error("Invalid argument passed to jsPDF.hpf");return yt(v,v>-1&&v<1?16:5)}:function(v){if(isNaN(v))throw new Error("Invalid argument passed to jsPDF.hpf");return yt(v,16)};var Rt=D.f2=D.__private__.f2=function(v){if(isNaN(v))throw new Error("Invalid argument passed to jsPDF.f2");return yt(v,2)},V=D.__private__.f3=function(v){if(isNaN(v))throw new Error("Invalid argument passed to jsPDF.f3");return yt(v,3)},U=D.scale=D.__private__.scale=function(v){if(isNaN(v))throw new Error("Invalid argument passed to jsPDF.scale");return pt===J.COMPAT?v*xe:pt===J.ADVANCED?v:void 0},rt=function(v){return pt===J.COMPAT?$o()-v:pt===J.ADVANCED?v:void 0},Z=function(v){return U(rt(v))};D.__private__.setPrecision=D.setPrecision=function(v){typeof parseInt(v,10)=="number"&&(i=parseInt(v,10))};var Tt,Dt="00000000000000000000000000000000",Ft=D.__private__.getFileId=function(){return Dt},gt=D.__private__.setFileId=function(v){return Dt=v!==void 0&&/^[a-fA-F0-9]{32}$/.test(v)?v.toUpperCase():Dt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),T!==null&&(na=new yl(T.userPermissions,T.userPassword,T.ownerPassword,Dt)),Dt};D.setFileId=function(v){return gt(v),this},D.getFileId=function(){return Ft()};var Lt=D.__private__.convertDateToPDFDate=function(v){var A=v.getTimezoneOffset(),Y=A<0?"+":"-",tt=Math.floor(Math.abs(A/60)),ut=Math.abs(A%60),Et=[Y,Q(tt),"'",Q(ut),"'"].join("");return["D:",v.getFullYear(),Q(v.getMonth()+1),Q(v.getDate()),Q(v.getHours()),Q(v.getMinutes()),Q(v.getSeconds()),Et].join("")},Bt=D.__private__.convertPDFDateToDate=function(v){var A=parseInt(v.substr(2,4),10),Y=parseInt(v.substr(6,2),10)-1,tt=parseInt(v.substr(8,2),10),ut=parseInt(v.substr(10,2),10),Et=parseInt(v.substr(12,2),10),Yt=parseInt(v.substr(14,2),10);return new Date(A,Y,tt,ut,Et,Yt,0)},ve=D.__private__.setCreationDate=function(v){var A;if(v===void 0&&(v=new Date),v instanceof Date)A=Lt(v);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(v))throw new Error("Invalid argument passed to jsPDF.setCreationDate");A=v}return Tt=A},k=D.__private__.getCreationDate=function(v){var A=Tt;return v==="jsDate"&&(A=Bt(Tt)),A};D.setCreationDate=function(v){return ve(v),this},D.getCreationDate=function(v){return k(v)};var $,Q=D.__private__.padd2=function(v){return("0"+parseInt(v)).slice(-2)},nt=D.__private__.padd2Hex=function(v){return("00"+(v=v.toString())).substr(v.length)},dt=0,_t=[],bt=[],Ct=0,ee=[],Zt=[],de=!1,se=bt,Ze=function(){dt=0,Ct=0,bt=[],_t=[],ee=[],Mo=Ii(),Ja=Ii()};D.__private__.setCustomOutputDestination=function(v){de=!0,se=v};var kt=function(v){de||(se=v)};D.__private__.resetCustomOutputDestination=function(){de=!1,se=bt};var X=D.__private__.out=function(v){return v=v.toString(),Ct+=v.length+1,se.push(v),se},un=D.__private__.write=function(v){return X(arguments.length===1?v.toString():Array.prototype.join.call(arguments," "))},Re=D.__private__.getArrayBuffer=function(v){for(var A=v.length,Y=new ArrayBuffer(A),tt=new Uint8Array(Y);A--;)tt[A]=v.charCodeAt(A);return Y},Xt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];D.__private__.getStandardFonts=function(){return Xt};var oe=e.fontSize||16;D.__private__.setFontSize=D.setFontSize=function(v){return oe=pt===J.ADVANCED?v/xe:v,this};var ge,me=D.__private__.getFontSize=D.getFontSize=function(){return pt===J.COMPAT?oe:oe*xe},We=e.R2L||!1;D.__private__.setR2L=D.setR2L=function(v){return We=v,this},D.__private__.getR2L=D.getR2L=function(){return We};var ln,wn=D.__private__.setZoomMode=function(v){var A=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(v))ge=v;else if(isNaN(v)){if(A.indexOf(v)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+v+'" is not recognized.');ge=v}else ge=parseInt(v,10)};D.__private__.getZoomMode=function(){return ge};var On,Un=D.__private__.setPageMode=function(v){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(v)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+v+'" is not recognized.');ln=v};D.__private__.getPageMode=function(){return ln};var ei=D.__private__.setLayoutMode=function(v){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(v)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+v+'" is not recognized.');On=v};D.__private__.getLayoutMode=function(){return On},D.__private__.setDisplayMode=D.setDisplayMode=function(v,A,Y){return wn(v),ei(A),Un(Y),this};var an={title:"",subject:"",author:"",keywords:"",creator:""};D.__private__.getDocumentProperty=function(v){if(Object.keys(an).indexOf(v)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return an[v]},D.__private__.getDocumentProperties=function(){return an},D.__private__.setDocumentProperties=D.setProperties=D.setDocumentProperties=function(v){for(var A in an)an.hasOwnProperty(A)&&v[A]&&(an[A]=v[A]);return this},D.__private__.setDocumentProperty=function(v,A){if(Object.keys(an).indexOf(v)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return an[v]=A};var An,xe,ea,Gn,$a,ai={},mi={},po=[],Yn={},dr={},xi={},Ya={},Io=null,_i=0,sn=[],Kn=new Od(D),ur=e.hotfixes||[],Qi={},mo={},uo=[],Qe=function v(A,Y,tt,ut,Et,Yt){if(!(this instanceof v))return new v(A,Y,tt,ut,Et,Yt);isNaN(A)&&(A=1),isNaN(Y)&&(Y=0),isNaN(tt)&&(tt=0),isNaN(ut)&&(ut=1),isNaN(Et)&&(Et=0),isNaN(Yt)&&(Yt=0),this._matrix=[A,Y,tt,ut,Et,Yt]};Object.defineProperty(Qe.prototype,"sx",{get:function(){return this._matrix[0]},set:function(v){this._matrix[0]=v}}),Object.defineProperty(Qe.prototype,"shy",{get:function(){return this._matrix[1]},set:function(v){this._matrix[1]=v}}),Object.defineProperty(Qe.prototype,"shx",{get:function(){return this._matrix[2]},set:function(v){this._matrix[2]=v}}),Object.defineProperty(Qe.prototype,"sy",{get:function(){return this._matrix[3]},set:function(v){this._matrix[3]=v}}),Object.defineProperty(Qe.prototype,"tx",{get:function(){return this._matrix[4]},set:function(v){this._matrix[4]=v}}),Object.defineProperty(Qe.prototype,"ty",{get:function(){return this._matrix[5]},set:function(v){this._matrix[5]=v}}),Object.defineProperty(Qe.prototype,"a",{get:function(){return this._matrix[0]},set:function(v){this._matrix[0]=v}}),Object.defineProperty(Qe.prototype,"b",{get:function(){return this._matrix[1]},set:function(v){this._matrix[1]=v}}),Object.defineProperty(Qe.prototype,"c",{get:function(){return this._matrix[2]},set:function(v){this._matrix[2]=v}}),Object.defineProperty(Qe.prototype,"d",{get:function(){return this._matrix[3]},set:function(v){this._matrix[3]=v}}),Object.defineProperty(Qe.prototype,"e",{get:function(){return this._matrix[4]},set:function(v){this._matrix[4]=v}}),Object.defineProperty(Qe.prototype,"f",{get:function(){return this._matrix[5]},set:function(v){this._matrix[5]=v}}),Object.defineProperty(Qe.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qe.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qe.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qe.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Qe.prototype.join=function(v){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(vt).join(v)},Qe.prototype.multiply=function(v){var A=v.sx*this.sx+v.shy*this.shx,Y=v.sx*this.shy+v.shy*this.sy,tt=v.shx*this.sx+v.sy*this.shx,ut=v.shx*this.shy+v.sy*this.sy,Et=v.tx*this.sx+v.ty*this.shx+this.tx,Yt=v.tx*this.shy+v.ty*this.sy+this.ty;return new Qe(A,Y,tt,ut,Et,Yt)},Qe.prototype.decompose=function(){var v=this.sx,A=this.shy,Y=this.shx,tt=this.sy,ut=this.tx,Et=this.ty,Yt=Math.sqrt(v*v+A*A),be=(v/=Yt)*Y+(A/=Yt)*tt;Y-=v*be,tt-=A*be;var $e=Math.sqrt(Y*Y+tt*tt);return be/=$e,v*(tt/=$e)>16&255,tt=$e>>8&255,ut=255&$e}if(tt===void 0||Et===void 0&&Y===tt&&tt===ut)if(typeof Y=="string")A=Y+" "+Yt[0];else switch(v.precision){case 2:A=Rt(Y/255)+" "+Yt[0];break;case 3:default:A=V(Y/255)+" "+Yt[0]}else if(Et===void 0||ii(Et)==="object"){if(Et&&!isNaN(Et.a)&&Et.a===0)return A=["1.","1.","1.",Yt[1]].join(" ");if(typeof Y=="string")A=[Y,tt,ut,Yt[1]].join(" ");else switch(v.precision){case 2:A=[Rt(Y/255),Rt(tt/255),Rt(ut/255),Yt[1]].join(" ");break;default:case 3:A=[V(Y/255),V(tt/255),V(ut/255),Yt[1]].join(" ")}}else if(typeof Y=="string")A=[Y,tt,ut,Et,Yt[2]].join(" ");else switch(v.precision){case 2:A=[Rt(Y),Rt(tt),Rt(ut),Rt(Et),Yt[2]].join(" ");break;case 3:default:A=[V(Y),V(tt),V(ut),V(Et),Yt[2]].join(" ")}return A},ho=D.__private__.getFilters=function(){return d},Na=D.__private__.putStream=function(v){var A=(v=v||{}).data||"",Y=v.filters||ho(),tt=v.alreadyAppliedFilters||[],ut=v.addLength1||!1,Et=A.length,Yt=v.objectId,be=function(ia){return ia};if(T!==null&&Yt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");T!==null&&(be=na.encryptor(Yt,0));var $e={};Y===!0&&(Y=["FlateEncode"]);var fn=v.additionalKeyValues||[],cn=($e=Je.API.processDataByFilters!==void 0?Je.API.processDataByFilters(A,Y):{data:A,reverseChain:[]}).reverseChain+(Array.isArray(tt)?tt.join(" "):tt.toString());if($e.data.length!==0&&(fn.push({key:"Length",value:$e.data.length}),ut===!0&&fn.push({key:"Length1",value:Et})),cn.length!=0)if(cn.split("/").length-1==1)fn.push({key:"Filter",value:cn});else{fn.push({key:"Filter",value:"["+cn+"]"});for(var jn=0;jn>"),$e.data.length!==0&&(X("stream"),X(be($e.data)),X("endstream"))},go=D.__private__.putPage=function(v){var A=v.number,Y=v.data,tt=v.objId,ut=v.contentsObjId;Ta(tt,!0),X("<>"),X("endobj");var Et=Y.join(` -`);return pt===J.ADVANCED&&(Et+=` -Q`),Ta(ut,!0),Na({data:Et,filters:ho(),objectId:ut}),X("endobj"),tt},fr=D.__private__.putPages=function(){var v,A,Y=[];for(v=1;v<=_i;v++)sn[v].objId=Ii(),sn[v].contentsObjId=Ii();for(v=1;v<=_i;v++)Y.push(go({number:v,data:Zt[v],objId:sn[v].objId,contentsObjId:sn[v].contentsObjId,mediaBox:sn[v].mediaBox,cropBox:sn[v].cropBox,bleedBox:sn[v].bleedBox,trimBox:sn[v].trimBox,artBox:sn[v].artBox,userUnit:sn[v].userUnit,rootDictionaryObjId:Mo,resourceDictionaryObjId:Ja}));Ta(Mo,!0),X("<>"),X("endobj"),Kn.publish("postPutPages")},Or=function(v){Kn.publish("putFont",{font:v,out:X,newObject:Fi,putStream:Na}),v.isAlreadyPutted!==!0&&(v.objectNumber=Fi(),X("<<"),X("/Type /Font"),X("/BaseFont /"+Sl(v.postScriptName)),X("/Subtype /Type1"),typeof v.encoding=="string"&&X("/Encoding /"+v.encoding),X("/FirstChar 32"),X("/LastChar 255"),X(">>"),X("endobj"))},Ar=function(){for(var v in ai)ai.hasOwnProperty(v)&&(I===!1||I===!0&&E.hasOwnProperty(v))&&Or(ai[v])},Er=function(v){v.objectNumber=Fi();var A=[];A.push({key:"Type",value:"/XObject"}),A.push({key:"Subtype",value:"/Form"}),A.push({key:"BBox",value:"["+[vt(v.x),vt(v.y),vt(v.x+v.width),vt(v.y+v.height)].join(" ")+"]"}),A.push({key:"Matrix",value:"["+v.matrix.toString()+"]"});var Y=v.pages[1].join(` -`);Na({data:Y,additionalKeyValues:A,objectId:v.objectNumber}),X("endobj")},Lr=function(){for(var v in Qi)Qi.hasOwnProperty(v)&&Er(Qi[v])},ys=function(v,A){var Y,tt=[],ut=1/(A-1);for(Y=0;Y<1;Y+=ut)tt.push(Y);if(tt.push(1),v[0].offset!=0){var Et={offset:0,color:v[0].color};v.unshift(Et)}if(v[v.length-1].offset!=1){var Yt={offset:1,color:v[v.length-1].color};v.push(Yt)}for(var be="",$e=0,fn=0;fnv[$e+1].offset;)$e++;var cn=v[$e].offset,jn=(Y-cn)/(v[$e+1].offset-cn),fi=v[$e].color,vi=v[$e+1].color;be+=nt(Math.round((1-jn)*fi[0]+jn*vi[0]).toString(16))+nt(Math.round((1-jn)*fi[1]+jn*vi[1]).toString(16))+nt(Math.round((1-jn)*fi[2]+jn*vi[2]).toString(16))}return be.trim()},nc=function(v,A){A||(A=21);var Y=Fi(),tt=ys(v.colors,A),ut=[];ut.push({key:"FunctionType",value:"0"}),ut.push({key:"Domain",value:"[0.0 1.0]"}),ut.push({key:"Size",value:"["+A+"]"}),ut.push({key:"BitsPerSample",value:"8"}),ut.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ut.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Na({data:tt,additionalKeyValues:ut,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Y}),X("endobj"),v.objectNumber=Fi(),X("<< /ShadingType "+v.type),X("/ColorSpace /DeviceRGB");var Et="/Coords ["+vt(parseFloat(v.coords[0]))+" "+vt(parseFloat(v.coords[1]))+" ";v.type===2?Et+=vt(parseFloat(v.coords[2]))+" "+vt(parseFloat(v.coords[3])):Et+=vt(parseFloat(v.coords[2]))+" "+vt(parseFloat(v.coords[3]))+" "+vt(parseFloat(v.coords[4]))+" "+vt(parseFloat(v.coords[5])),X(Et+="]"),v.matrix&&X("/Matrix ["+v.matrix.toString()+"]"),X("/Function "+Y+" 0 R"),X("/Extend [true true]"),X(">>"),X("endobj")},ic=function(v,A){var Y=Ii(),tt=Fi();A.push({resourcesOid:Y,objectOid:tt}),v.objectNumber=tt;var ut=[];ut.push({key:"Type",value:"/Pattern"}),ut.push({key:"PatternType",value:"1"}),ut.push({key:"PaintType",value:"1"}),ut.push({key:"TilingType",value:"1"}),ut.push({key:"BBox",value:"["+v.boundingBox.map(vt).join(" ")+"]"}),ut.push({key:"XStep",value:vt(v.xStep)}),ut.push({key:"YStep",value:vt(v.yStep)}),ut.push({key:"Resources",value:Y+" 0 R"}),v.matrix&&ut.push({key:"Matrix",value:"["+v.matrix.toString()+"]"}),Na({data:v.stream,additionalKeyValues:ut,objectId:v.objectNumber}),X("endobj")},Nr=function(v){var A;for(A in Yn)Yn.hasOwnProperty(A)&&(Yn[A]instanceof wr?nc(Yn[A]):Yn[A]instanceof Dl&&ic(Yn[A],v))},Ss=function(v){for(var A in v.objectNumber=Fi(),X("<<"),v)switch(A){case"opacity":X("/ca "+Rt(v[A]));break;case"stroke-opacity":X("/CA "+Rt(v[A]))}X(">>"),X("endobj")},ac=function(){var v;for(v in xi)xi.hasOwnProperty(v)&&Ss(xi[v])},Nl=function(){for(var v in X("/XObject <<"),Qi)Qi.hasOwnProperty(v)&&Qi[v].objectNumber>=0&&X("/"+v+" "+Qi[v].objectNumber+" 0 R");Kn.publish("putXobjectDict"),X(">>")},oc=function(){na.oid=Fi(),X("<<"),X("/Filter /Standard"),X("/V "+na.v),X("/R "+na.r),X("/U <"+na.toHexString(na.U)+">"),X("/O <"+na.toHexString(na.O)+">"),X("/P "+na.P),X(">>"),X("endobj")},Ds=function(){for(var v in X("/Font <<"),ai)ai.hasOwnProperty(v)&&(I===!1||I===!0&&E.hasOwnProperty(v))&&X("/"+v+" "+ai[v].objectNumber+" 0 R");X(">>")},rc=function(){if(Object.keys(Yn).length>0){for(var v in X("/Shading <<"),Yn)Yn.hasOwnProperty(v)&&Yn[v]instanceof wr&&Yn[v].objectNumber>=0&&X("/"+v+" "+Yn[v].objectNumber+" 0 R");Kn.publish("putShadingPatternDict"),X(">>")}},Fr=function(v){if(Object.keys(Yn).length>0){for(var A in X("/Pattern <<"),Yn)Yn.hasOwnProperty(A)&&Yn[A]instanceof D.TilingPattern&&Yn[A].objectNumber>=0&&Yn[A].objectNumber>")}},lc=function(){if(Object.keys(xi).length>0){var v;for(v in X("/ExtGState <<"),xi)xi.hasOwnProperty(v)&&xi[v].objectNumber>=0&&X("/"+v+" "+xi[v].objectNumber+" 0 R");Kn.publish("putGStateDict"),X(">>")}},yi=function(v){Ta(v.resourcesOid,!0),X("<<"),X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ds(),rc(),Fr(v.objectOid),lc(),Nl(),X(">>"),X("endobj")},Ps=function(){var v=[];Ar(),ac(),Lr(),Nr(v),Kn.publish("putResources"),v.forEach(yi),yi({resourcesOid:Ja,objectOid:Number.MAX_SAFE_INTEGER}),Kn.publish("postPutResources")},ws=function(){Kn.publish("putAdditionalObjects");for(var v=0;v>8&&($e=!0);v=be.join("")}for(Y=v.length;$e===void 0&&Y!==0;)v.charCodeAt(Y-1)>>8&&($e=!0),Y--;if(!$e)return v;for(be=A.noBOM?[]:[254,255],Y=0,tt=v.length;Y>8)>>8)throw new Error("Character at position "+Y+" of string '"+v+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");be.push(cn),be.push(fn-(cn<<8))}return String.fromCharCode.apply(void 0,be)},ga=D.__private__.pdfEscape=D.pdfEscape=function(v,A){return kr(v,A).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},kl=D.__private__.beginPage=function(v){Zt[++_i]=[],sn[_i]={objId:0,contentsObjId:0,userUnit:Number(f),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(v[0]),topRightY:Number(v[1])}},Ms(_i),kt(Zt[$])},Is=function(v,A){var Y,tt,ut;switch(n=A||n,typeof v=="string"&&(Y=j(v.toLowerCase()),Array.isArray(Y)&&(tt=Y[0],ut=Y[1])),Array.isArray(v)&&(tt=v[0]*xe,ut=v[1]*xe),isNaN(tt)&&(tt=o[0],ut=o[1]),(tt>14400||ut>14400)&&(ri.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),tt=Math.min(14400,tt),ut=Math.min(14400,ut)),o=[tt,ut],n.substr(0,1)){case"l":ut>tt&&(o=[ut,tt]);break;case"p":tt>ut&&(o=[ut,tt])}kl(o),Fs(ql),X(to),zl!==0&&X(zl+" J"),Ul!==0&&X(Ul+" j"),Kn.publish("addPage",{pageNumber:_i})},cc=function(v){v>0&&v<=_i&&(Zt.splice(v,1),sn.splice(v,1),_i--,$>_i&&($=_i),this.setPage($))},Ms=function(v){v>0&&v<=_i&&($=v)},pc=D.__private__.getNumberOfPages=D.getNumberOfPages=function(){return Zt.length-1},Os=function(v,A,Y){var tt,ut=void 0;return Y=Y||{},v=v!==void 0?v:ai[An].fontName,A=A!==void 0?A:ai[An].fontStyle,tt=v.toLowerCase(),mi[tt]!==void 0&&mi[tt][A]!==void 0?ut=mi[tt][A]:mi[v]!==void 0&&mi[v][A]!==void 0?ut=mi[v][A]:Y.disableWarning===!1&&ri.warn("Unable to look up font label for font '"+v+"', '"+A+"'. Refer to getFontList() for available fonts."),ut||Y.noFallback||(ut=mi.times[A])==null&&(ut=mi.times.normal),ut},mc=D.__private__.putInfo=function(){var v=Fi(),A=function(tt){return tt};for(var Y in T!==null&&(A=na.encryptor(v,0)),X("<<"),X("/Producer ("+ga(A("jsPDF "+Je.version))+")"),an)an.hasOwnProperty(Y)&&an[Y]&&X("/"+Y.substr(0,1).toUpperCase()+Y.substr(1)+" ("+ga(A(an[Y]))+")");X("/CreationDate ("+ga(A(Tt))+")"),X(">>"),X("endobj")},Bl=D.__private__.putCatalog=function(v){var A=(v=v||{}).rootDictionaryObjId||Mo;switch(Fi(),X("<<"),X("/Type /Catalog"),X("/Pages "+A+" 0 R"),ge||(ge="fullwidth"),ge){case"fullwidth":X("/OpenAction [3 0 R /FitH null]");break;case"fullheight":X("/OpenAction [3 0 R /FitV null]");break;case"fullpage":X("/OpenAction [3 0 R /Fit]");break;case"original":X("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Y=""+ge;Y.substr(Y.length-1)==="%"&&(ge=parseInt(ge)/100),typeof ge=="number"&&X("/OpenAction [3 0 R /XYZ null null "+Rt(ge)+"]")}switch(On||(On="continuous"),On){case"continuous":X("/PageLayout /OneColumn");break;case"single":X("/PageLayout /SinglePage");break;case"two":case"twoleft":X("/PageLayout /TwoColumnLeft");break;case"tworight":X("/PageLayout /TwoColumnRight")}ln&&X("/PageMode /"+ln),Kn.publish("putCatalog"),X(">>"),X("endobj")},dc=D.__private__.putTrailer=function(){X("trailer"),X("<<"),X("/Size "+(dt+1)),X("/Root "+dt+" 0 R"),X("/Info "+(dt-1)+" 0 R"),T!==null&&X("/Encrypt "+na.oid+" 0 R"),X("/ID [ <"+Dt+"> <"+Dt+"> ]"),X(">>")},uc=D.__private__.putHeader=function(){X("%PDF-"+z),X("%\xBA\xDF\xAC\xE0")},fc=D.__private__.putXRef=function(){var v="0000000000";X("xref"),X("0 "+(dt+1)),X("0000000000 65535 f ");for(var A=1;A<=dt;A++)typeof _t[A]=="function"?X((v+_t[A]()).slice(-10)+" 00000 n "):_t[A]!==void 0?X((v+_t[A]).slice(-10)+" 00000 n "):X("0000000000 00000 n ")},Oo=D.__private__.buildDocument=function(){Ze(),kt(bt),Kn.publish("buildDocument"),uc(),fr(),ws(),Ps(),T!==null&&oc(),mc(),Bl();var v=Ct;return fc(),dc(),X("startxref"),X(""+v),X("%%EOF"),kt(Zt[$]),bt.join(` -`)},Br=D.__private__.getBlob=function(v){return new Blob([Re(v)],{type:"application/pdf"})},Rr=D.output=D.__private__.output=Za(function(v,A){switch(typeof(A=A||{})=="string"?A={filename:A}:A.filename=A.filename||"generated.pdf",v){case void 0:return Oo();case"save":D.save(A.filename);break;case"arraybuffer":return Re(Oo());case"blob":return Br(Oo());case"bloburi":case"bloburl":if(tn.URL!==void 0&&typeof tn.URL.createObjectURL=="function")return tn.URL&&tn.URL.createObjectURL(Br(Oo()))||void 0;ri.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Y="",tt=Oo();try{Y=cp(tt)}catch{Y=cp(unescape(encodeURIComponent(tt)))}return"data:application/pdf;filename="+A.filename+";base64,"+Y;case"pdfobjectnewwindow":if(Object.prototype.toString.call(tn)==="[object Window]"){var ut="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Et=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';A.pdfObjectUrl&&(ut=A.pdfObjectUrl,Et="");var Yt=' + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/main.js b/main.js new file mode 100644 index 000000000..c63530f2d --- /dev/null +++ b/main.js @@ -0,0 +1 @@ +(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["main"],{43718:(Rt,Tt,D)=>{Rt=D.nmd(Rt),function(l){const k=l.en=l.en||{};k.dictionary=Object.assign(k.dictionary||{},{"%0 of %1":"%0 of %1",Accept:"Accept","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot access default workspace.":"Cannot access default workspace.","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit image":"Edit image","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Failed to determine category of edited image.":"Failed to determine category of edited image.","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height",HEX:"HEX","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset",Italic:"Italic","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower\u2013roman":"Lower\u2013roman","Media toolbar":"Media toolbar","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous","Processing the edited image.":"Processing the edited image.",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Server failed to process the image.":"Server failed to process the image.","Show more items":"Show more items","Side image":"Side image",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower\u2013latin list style":"Toggle the lower\u2013latin list style","Toggle the lower\u2013roman list style":"Toggle the lower\u2013roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper\u2013latin list style":"Toggle the upper\u2013latin list style","Toggle the upper\u2013roman list style":"Toggle the upper\u2013roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),self,Rt.exports=(()=>{var l={4959:(t,C,g)=>{const f=g(1103),h={};for(const p of Object.keys(f))h[f[p]]=p;const _={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=_;for(const p of Object.keys(_)){if(!("channels"in _[p]))throw new Error("missing channels property: "+p);if(!("labels"in _[p]))throw new Error("missing channel labels property: "+p);if(_[p].labels.length!==_[p].channels)throw new Error("channel and label counts mismatch: "+p);const{channels:m,labels:F}=_[p];delete _[p].channels,delete _[p].labels,Object.defineProperty(_[p],"channels",{value:m}),Object.defineProperty(_[p],"labels",{value:F})}_.rgb.hsl=function(p){const m=p[0]/255,F=p[1]/255,M=p[2]/255,y=Math.min(m,F,M),T=Math.max(m,F,M),I=T-y;let O,S;T===y?O=0:m===T?O=(F-M)/I:F===T?O=2+(M-m)/I:M===T&&(O=4+(m-F)/I),O=Math.min(60*O,360),O<0&&(O+=360);const B=(y+T)/2;return S=T===y?0:B<=.5?I/(T+y):I/(2-T-y),[O,100*S,100*B]},_.rgb.hsv=function(p){let m,F,M,y,T;const I=p[0]/255,O=p[1]/255,S=p[2]/255,B=Math.max(I,O,S),P=B-Math.min(I,O,S),U=function(z){return(B-z)/6/P+.5};return 0===P?(y=0,T=0):(T=P/B,m=U(I),F=U(O),M=U(S),I===B?y=M-F:O===B?y=.3333333333333333+m-M:S===B&&(y=.6666666666666666+F-m),y<0?y+=1:y>1&&(y-=1)),[360*y,100*T,100*B]},_.rgb.hwb=function(p){const m=p[0],F=p[1];let M=p[2];const y=_.rgb.hsl(p)[0],T=1/255*Math.min(m,Math.min(F,M));return M=1-.00392156862745098*Math.max(m,Math.max(F,M)),[y,100*T,100*M]},_.rgb.cmyk=function(p){const m=p[0]/255,F=p[1]/255,M=p[2]/255,y=Math.min(1-m,1-F,1-M);return[100*((1-m-y)/(1-y)||0),100*((1-F-y)/(1-y)||0),100*((1-M-y)/(1-y)||0),100*y]},_.rgb.keyword=function(p){const m=h[p];if(m)return m;let F,M=1/0;for(const I of Object.keys(f)){const S=((y=p)[0]-(T=f[I])[0])**2+(y[1]-T[1])**2+(y[2]-T[2])**2;S.04045?((m+.055)/1.055)**2.4:m/12.92,F=F>.04045?((F+.055)/1.055)**2.4:F/12.92,M=M>.04045?((M+.055)/1.055)**2.4:M/12.92,[100*(.4124*m+.3576*F+.1805*M),100*(.2126*m+.7152*F+.0722*M),100*(.0193*m+.1192*F+.9505*M)]},_.rgb.lab=function(p){const m=_.rgb.xyz(p);let F=m[0],M=m[1],y=m[2];return F/=95.047,M/=100,y/=108.883,F=F>.008856?F**.3333333333333333:7.787*F+.13793103448275862,M=M>.008856?M**.3333333333333333:7.787*M+.13793103448275862,y=y>.008856?y**.3333333333333333:7.787*y+.13793103448275862,[116*M-16,500*(F-M),200*(M-y)]},_.hsl.rgb=function(p){const m=p[0]/360,F=p[1]/100,M=p[2]/100;let y,T,I;if(0===F)return I=255*M,[I,I,I];y=M<.5?M*(1+F):M+F-M*F;const O=2*M-y,S=[0,0,0];for(let B=0;B<3;B++)T=m+.3333333333333333*-(B-1),T<0&&T++,T>1&&T--,I=6*T<1?O+6*(y-O)*T:2*T<1?y:3*T<2?O+(y-O)*(.6666666666666666-T)*6:O,S[B]=255*I;return S},_.hsl.hsv=function(p){const m=p[0];let F=p[1]/100,M=p[2]/100,y=F;const T=Math.max(M,.01);return M*=2,F*=M<=1?M:2-M,y*=T<=1?T:2-T,[m,100*(0===M?2*y/(T+y):2*F/(M+F)),(M+F)/2*100]},_.hsv.rgb=function(p){const m=p[0]/60,F=p[1]/100;let M=p[2]/100;const y=Math.floor(m)%6,T=m-Math.floor(m),I=255*M*(1-F),O=255*M*(1-F*T),S=255*M*(1-F*(1-T));switch(M*=255,y){case 0:return[M,S,I];case 1:return[O,M,I];case 2:return[I,M,S];case 3:return[I,O,M];case 4:return[S,I,M];case 5:return[M,I,O]}},_.hsv.hsl=function(p){const m=p[0],F=p[1]/100,M=p[2]/100,y=Math.max(M,.01);let T,I;I=(2-F)*M;const O=(2-F)*y;return T=F*y,T/=O<=1?O:2-O,T=T||0,I/=2,[m,100*T,100*I]},_.hwb.rgb=function(p){const m=p[0]/360;let F=p[1]/100,M=p[2]/100;const y=F+M;let T;y>1&&(F/=y,M/=y);const I=Math.floor(6*m),O=1-M;T=6*m-I,1&I&&(T=1-T);const S=F+T*(O-F);let B,P,U;switch(I){default:case 6:case 0:B=O,P=S,U=F;break;case 1:B=S,P=O,U=F;break;case 2:B=F,P=O,U=S;break;case 3:B=F,P=S,U=O;break;case 4:B=S,P=F,U=O;break;case 5:B=O,P=F,U=S}return[255*B,255*P,255*U]},_.cmyk.rgb=function(p){const F=p[1]/100,M=p[2]/100,y=p[3]/100;return[255*(1-Math.min(1,p[0]/100*(1-y)+y)),255*(1-Math.min(1,F*(1-y)+y)),255*(1-Math.min(1,M*(1-y)+y))]},_.xyz.rgb=function(p){const m=p[0]/100,F=p[1]/100,M=p[2]/100;let y,T,I;return y=3.2406*m+-1.5372*F+-.4986*M,T=-.9689*m+1.8758*F+.0415*M,I=.0557*m+-.204*F+1.057*M,y=y>.0031308?1.055*y**.4166666666666667-.055:12.92*y,T=T>.0031308?1.055*T**.4166666666666667-.055:12.92*T,I=I>.0031308?1.055*I**.4166666666666667-.055:12.92*I,y=Math.min(Math.max(0,y),1),T=Math.min(Math.max(0,T),1),I=Math.min(Math.max(0,I),1),[255*y,255*T,255*I]},_.xyz.lab=function(p){let m=p[0],F=p[1],M=p[2];return m/=95.047,F/=100,M/=108.883,m=m>.008856?m**.3333333333333333:7.787*m+.13793103448275862,F=F>.008856?F**.3333333333333333:7.787*F+.13793103448275862,M=M>.008856?M**.3333333333333333:7.787*M+.13793103448275862,[116*F-16,500*(m-F),200*(F-M)]},_.lab.xyz=function(p){let m,F,M;F=(p[0]+16)/116,m=p[1]/500+F,M=F-p[2]/200;const y=F**3,T=m**3,I=M**3;return F=y>.008856?y:(F-.13793103448275862)/7.787,m=T>.008856?T:(m-.13793103448275862)/7.787,M=I>.008856?I:(M-.13793103448275862)/7.787,m*=95.047,F*=100,M*=108.883,[m,F,M]},_.lab.lch=function(p){const m=p[0],F=p[1],M=p[2];let y;return y=360*Math.atan2(M,F)/2/Math.PI,y<0&&(y+=360),[m,Math.sqrt(F*F+M*M),y]},_.lch.lab=function(p){const F=p[1],M=p[2]/360*2*Math.PI;return[p[0],F*Math.cos(M),F*Math.sin(M)]},_.rgb.ansi16=function(p,m=null){const[F,M,y]=p;let T=null===m?_.rgb.hsv(p)[2]:m;if(T=Math.round(T/50),0===T)return 30;let I=30+(Math.round(y/255)<<2|Math.round(M/255)<<1|Math.round(F/255));return 2===T&&(I+=60),I},_.hsv.ansi16=function(p){return _.rgb.ansi16(_.hsv.rgb(p),p[2])},_.rgb.ansi256=function(p){const m=p[0],F=p[1],M=p[2];return m===F&&F===M?m<8?16:m>248?231:Math.round((m-8)/247*24)+232:16+36*Math.round(m/255*5)+6*Math.round(F/255*5)+Math.round(M/255*5)},_.ansi16.rgb=function(p){let m=p%10;if(0===m||7===m)return p>50&&(m+=3.5),m=m/10.5*255,[m,m,m];const F=.5*(1+~~(p>50));return[(1&m)*F*255,(m>>1&1)*F*255,(m>>2&1)*F*255]},_.ansi256.rgb=function(p){if(p>=232){const F=10*(p-232)+8;return[F,F,F]}let m;return p-=16,[Math.floor(p/36)/5*255,Math.floor((m=p%36)/6)/5*255,m%6/5*255]},_.rgb.hex=function(p){const m=(((255&Math.round(p[0]))<<16)+((255&Math.round(p[1]))<<8)+(255&Math.round(p[2]))).toString(16).toUpperCase();return"000000".substring(m.length)+m},_.hex.rgb=function(p){const m=p.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!m)return[0,0,0];let F=m[0];3===m[0].length&&(F=F.split("").map(y=>y+y).join(""));const M=parseInt(F,16);return[M>>16&255,M>>8&255,255&M]},_.rgb.hcg=function(p){const m=p[0]/255,F=p[1]/255,M=p[2]/255,y=Math.max(Math.max(m,F),M),T=Math.min(Math.min(m,F),M),I=y-T;let O,S;return O=I<1?T/(1-I):0,S=I<=0?0:y===m?(F-M)/I%6:y===F?2+(M-m)/I:4+(m-F)/I,S/=6,S%=1,[360*S,100*I,100*O]},_.hsl.hcg=function(p){const m=p[1]/100,F=p[2]/100,M=F<.5?2*m*F:2*m*(1-F);let y=0;return M<1&&(y=(F-.5*M)/(1-M)),[p[0],100*M,100*y]},_.hsv.hcg=function(p){const F=p[2]/100,M=p[1]/100*F;let y=0;return M<1&&(y=(F-M)/(1-M)),[p[0],100*M,100*y]},_.hcg.rgb=function(p){const F=p[1]/100,M=p[2]/100;if(0===F)return[255*M,255*M,255*M];const y=[0,0,0],T=p[0]/360%1*6,I=T%1,O=1-I;let S=0;switch(Math.floor(T)){case 0:y[0]=1,y[1]=I,y[2]=0;break;case 1:y[0]=O,y[1]=1,y[2]=0;break;case 2:y[0]=0,y[1]=1,y[2]=I;break;case 3:y[0]=0,y[1]=O,y[2]=1;break;case 4:y[0]=I,y[1]=0,y[2]=1;break;default:y[0]=1,y[1]=0,y[2]=O}return S=(1-F)*M,[255*(F*y[0]+S),255*(F*y[1]+S),255*(F*y[2]+S)]},_.hcg.hsv=function(p){const m=p[1]/100,F=m+p[2]/100*(1-m);let M=0;return F>0&&(M=m/F),[p[0],100*M,100*F]},_.hcg.hsl=function(p){const m=p[1]/100,F=p[2]/100*(1-m)+.5*m;let M=0;return F>0&&F<.5?M=m/(2*F):F>=.5&&F<1&&(M=m/(2*(1-F))),[p[0],100*M,100*F]},_.hcg.hwb=function(p){const m=p[1]/100,F=m+p[2]/100*(1-m);return[p[0],100*(F-m),100*(1-F)]},_.hwb.hcg=function(p){const F=1-p[2]/100,M=F-p[1]/100;let y=0;return M<1&&(y=(F-M)/(1-M)),[p[0],100*M,100*y]},_.apple.rgb=function(p){return[p[0]/65535*255,p[1]/65535*255,p[2]/65535*255]},_.rgb.apple=function(p){return[p[0]/255*65535,p[1]/255*65535,p[2]/255*65535]},_.gray.rgb=function(p){return[p[0]/100*255,p[0]/100*255,p[0]/100*255]},_.gray.hsl=function(p){return[0,0,p[0]]},_.gray.hsv=_.gray.hsl,_.gray.hwb=function(p){return[0,100,p[0]]},_.gray.cmyk=function(p){return[0,0,0,p[0]]},_.gray.lab=function(p){return[p[0],0,0]},_.gray.hex=function(p){const m=255&Math.round(p[0]/100*255),F=((m<<16)+(m<<8)+m).toString(16).toUpperCase();return"000000".substring(F.length)+F},_.rgb.gray=function(p){return[(p[0]+p[1]+p[2])/3/255*100]}},841:(t,C,g)=>{const f=g(4959),h=g(9325),_={};Object.keys(f).forEach(p=>{_[p]={},Object.defineProperty(_[p],"channels",{value:f[p].channels}),Object.defineProperty(_[p],"labels",{value:f[p].labels});const m=h(p);Object.keys(m).forEach(F=>{const M=m[F];_[p][F]=function(y){const T=function(...I){const O=I[0];if(null==O)return O;O.length>1&&(I=O);const S=y(I);if("object"==typeof S)for(let B=S.length,P=0;P1&&(I=O),y(I))};return"conversion"in y&&(T.conversion=y.conversion),T}(M)})}),t.exports=_},9325:(t,C,g)=>{const f=g(4959);function _(m,F){return function(M){return F(m(M))}}function p(m,F){const M=[F[m].parent,m];let y=f[F[m].parent][m],T=F[m].parent;for(;F[T].parent;)M.unshift(F[T].parent),y=_(f[F[T].parent][T],y),T=F[T].parent;return y.conversion=M,y}t.exports=function(m){const F=function h(m){const F=function(){const y={},T=Object.keys(f);for(let I=T.length,O=0;O{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8603:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n"],sourceRoot:""}]);const m=p},3062:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}","",{version:3,sources:["webpack://./../ckeditor5-block-quote/theme/blockquote.css"],names:[],mappings:"AAKA,uBAWC,0BAAsC,CADtC,iBAAkB,CAFlB,aAAc,CACd,cAAe,CAPf,eAAgB,CAIhB,kBAAmB,CADnB,mBAOD,CAEA,gCACC,aAAc,CACd,2BACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir="rtl"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n'],sourceRoot:""}]);const m=p},443:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',"",{version:3,sources:["webpack://./../ckeditor5-ckbox/theme/ckboximageedit.css"],names:[],mappings:"AAKA,MAEC,6CAAyD,CACzD,8CACD,CAIE,gDACC,iBA2BD,CAzBC,uDAmBC,0DAA2D,CAR3D,oKAKC,CACD,yBAA0B,CAhB1B,UAAW,CAOX,WAAY,CAHZ,MAAO,CAFP,iBAAkB,CAClB,KAAM,CAKN,UAAW,CAHX,SAcD,CAEA,oDACC,WACD,CAKH,yCACC,GACC,0BACD,CACA,GACC,2BACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n"],sourceRoot:""}]);const m=p},903:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CAIF,kCAEC,mBAAoB,CADpB,iBAED,CC9BA,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CAOF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD,CAGD,kCAGC,gDAAiD,CADjD,sDAAuD,CADvD,QAAS,CAGT,eAwBD,CAtBC,yCAMC,kBAAmB,CALnB,UAAW,CAIX,QAAS,CAHT,iBAAkB,CAClB,uDAA0D,CAC1D,OAiBD,CArBA,mDAYE,sFAAuF,CADvF,+JAAoK,CAFpK,SAYF,CArBA,mDAmBE,sFAAuF,CADvF,+JAAmK,CAFnK,UAKF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_dir.css\";\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tleft: -1px;\n\n\t\t\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\t\t\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tright: -1px;\n\n\t\t\tborder-width:calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\t\t\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},3143:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}","",{version:3,sources:["webpack://./../ckeditor5-editor-classic/theme/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,cAIC,iBAMD,CAJC,2DAEC,yBACD,CCLC,gDCED,eDKC,CAPA,uICMA,qCAAsC,CDJpC,2BAA4B,CAC5B,4BAIF,CAPA,gDAMC,qBACD,CAEA,iFACC,uBAAwB,CCR1B,eDaC,CANA,yMCHA,qCAAsC,CDOpC,eAEF,CAKF,yCAEC,0CAA2C,CCpB3C,eD8BD,CAZA,yHCdE,qCAAsC,CDmBtC,wBAAyB,CACzB,yBAMF,CAHC,0DACC,wCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor {\n\t/* All the elements within `.ck-editor` are positioned relatively to it.\n\t If any element needs to be positioned with respect to the , etc.,\n\t it must land outside of the `.ck-editor` in DOM. */\n\tposition: relative;\n\n\t& .ck-editor__top .ck-sticky-panel .ck-toolbar {\n\t\t/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */\n\t\tz-index: var(--ck-z-modal);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n.ck.ck-editor__top {\n\t& .ck-sticky-panel {\n\t\t& .ck-toolbar {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\n\t\t\tborder-bottom-width: 0;\n\t\t}\n\n\t\t& .ck-sticky-panel__content_sticky .ck-toolbar {\n\t\t\tborder-bottom-width: 1px;\n\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Note: Use ck-editor__main to make sure these styles don\'t apply to other editor types */\n.ck.ck-editor__main > .ck-editor__editable {\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */\n\tbackground: var(--ck-color-base-background);\n\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&:not(.ck-focused) {\n\t\tborder-color: var(--ck-color-base-border);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},4717:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder, .ck .ck-placeholder {\n\t&::before {\n\t\tcursor: text;\n\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t}\n}\n"],sourceRoot:""}]);const m=p},9315:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"],sourceRoot:""}]);const m=p},8733:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-heading_heading1 {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 {\n\tfont-size: 14px;\n}\n\n.ck[class*="ck-heading_heading"] {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Resize dropdown's button label. */\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n"],sourceRoot:""}]);const m=p},3508:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBA2BD,CAjBC,uBAEC,aAAc,CAad,WAAY,CAVZ,aAAc,CAGd,cAAe,CAGf,cAKD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAKA,+BACC,SASD,CAHC,kDACC,SACD,CAMD,sCACC,SAkBD,CAZC,yDACC,SAUD,CAHC,qEACC,YACD,CAMF,0CACC,WACD,CAMC,0FACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see #44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content\'s width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%;\n\n\t\t\t/* Keep proportions of the block image if the height is set and the image is wider than the editor width.\n\t\t\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don\'t allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Inhertit the content styles padding of the
in case the integration overrides `text-align: center`\n\t * of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native\n\t * caret does, and not at the edge of
.\n\t */\n\t& .image > figcaption.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the image caption placeholder doesn\'t overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\t\t}\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image-inline {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected inline image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\n\t\t\t/*\n\t\t\t * Make sure the native browser selection style is not displayed.\n\t\t\t * Inline image widgets have their own styles for the selected state and\n\t\t\t * leaving this up to the browser is asking for a visual collision.\n\t\t\t */\n\t\t\t& ::selection {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Keep proportions of the inline image if the height is set and the image is wider than the editor width.\n\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t& .image-inline img {\n\t\theight: auto;\n\t}\n\n\t/* The inline image nested in the table should have its original size if not resized.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline img {\n\t\t\tmax-width: none;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},2640:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,mDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,oEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: break-word;\n\tcolor: var(--ck-color-image-caption-text);\n\tbackground-color: var(--ck-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {\n\tanimation: ck-image-caption-highlight .6s ease-out;\n}\n\n@keyframes ck-image-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-image-caption-highligted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-image-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const m=p},3535:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;padding:var(--ck-list-button-padding);width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageinsert.css"],names:[],mappings:"AAMC,yDACC,YAAa,CACb,mCACD,CCFD,MACC,2CACD,CAEA,wBACC,qBAgBD,CAdC,yDACC,uCAAwC,CACxC,kCAWD,CATC,oJAEC,sBAAuB,CACvB,cACD,CAEA,sFACC,0BACD,CAKD,uCACC,aAAc,CAEd,qCAAsC,CADtC,UAUD,CAZA,iDAME,eAMF,CAZA,iDAUE,gBAEF,CAGC,8DACC,gDACD,CAEA,6DACC,mDACD,CAMD,6FAJC,oDAOD,CAHA,iDAEC,+BACD,CAEA,+BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert-url {\n\t& .ck-image-insert-url__action-row {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(2, 1fr);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-image-insert-insert-by-url-width: 250px;\n}\n\n.ck.ck-image-insert-url {\n\t--ck-input-width: 100%;\n\n\t& .ck-image-insert-url__action-row {\n\t\tgrid-column-gap: var(--ck-spacing-large);\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n\n.ck.ck-image-insert-form {\n\t& > .ck.ck-button {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& > .ck.ck-collapsible {\n\t\t&:not(:first-child) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t&:not(:last-child) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t}\n\n\t/* This is the case when there are no other integrations configured than insert by URL */\n\t& > .ck.ck-image-insert-url {\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t\tpadding: var(--ck-spacing-large);\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n'],sourceRoot:""}]);const m=p},2873:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageplaceholder.css"],names:[],mappings:"AAMC,8CACC,yBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& img.image_placeholder {\n\t\tbackground-size: 100% 100%;\n\t}\n}\n"],sourceRoot:""}]);const m=p},6270:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageresize.css"],names:[],mappings:"AAMA,8BACC,WACD,CAEA,iCAQC,qBAAsB,CADtB,aAAc,CANd,cAkBD,CATC,qCAEC,UACD,CAEA,4CAEC,aACD,CAQC,sHACC,cACD,CAIF,oFACC,uCACD,CAEA,oFACC,sCACD,CAEA,oEACC,SACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Preserve aspect ratio of the resized image after introducing image height attribute. */\n.ck-content img.image_resized {\n\theight: auto;\n}\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `
` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `
` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `
` element uses `display:block`, so `
` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/* The resized inline image nested in the table should respect its parent size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline.image_resized img {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-right: var(--ck-spacing-standard);\n}\n\n[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-left: var(--ck-spacing-standard);\n}\n\n.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {\n\twidth: 4em;\n}\n'],sourceRoot:""}]);const m=p},5083:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-image-style-spacing: 1.5em;\n\t--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);\n}\n\n.ck-content {\n\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\tconfirming successful application of the style if image width exceeds the editor's size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t& .image-style-block-align-left,\n\t& .image-style-block-align-right {\n\t\tmax-width: calc(100% - var(--ck-image-style-spacing));\n\t}\n\n\t/* Allows displaying multiple floating images in the same line.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t& .image-style-align-left,\n\t& .image-style-align-right {\n\t\tclear: none;\n\t}\n\n\t& .image-style-side {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t\tmax-width: 50%;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-block-align-right {\n\t\tmargin-right: 0;\n\t\tmargin-left: auto;\n\t}\n\n\t& .image-style-block-align-left {\n\t\tmargin-left: 0;\n\t\tmargin-right: auto;\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image-style-align-left,\n\t& p + .image-style-align-right,\n\t& p + .image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck.ck-splitbutton {\n\t/* The button should display as a regular drop-down if the action button\n\tis forced to fire the same action as the arrow button. */\n\t&.ck-splitbutton_flatten {\n\t\t&:hover,\n\t\t&.ck-splitbutton_open {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-background);\n\n\t\t\t\t&::after {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-splitbutton_open:hover {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-hover-background);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},4036:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-image-upload-complete-icon {\n\tdisplay: block;\n\tposition: absolute;\n\n\t/*\n\t * Smaller images should have the icon closer to the border.\n\t * Match the icon position with the linked image indicator brought by the link image feature.\n\t */\n\ttop: min(var(--ck-spacing-medium), 6%);\n\tright: min(var(--ck-spacing-medium), 6%);\n\tborder-radius: 50%;\n\tz-index: 1;\n\n\t&::after {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-upload-icon: hsl(0, 0%, 100%);\n\t--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);\n\n\t/* Match the icon size with the linked image indicator brought by the link image feature. */\n\t--ck-image-upload-icon-size: 20;\n\t--ck-image-upload-icon-width: 2px;\n\t--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck-image-upload-complete-icon {\n\topacity: 0;\n\tbackground: var(--ck-color-image-upload-icon-background);\n\tanimation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;\n\tanimation-fill-mode: forwards, forwards;\n\tanimation-duration: 500ms, 500ms;\n\n\t/* To make animation scalable. */\n\tfont-size: calc(1px * var(--ck-image-upload-icon-size));\n\n\t/* Hide completed upload icon after 3 seconds. */\n\tanimation-delay: 0ms, 3000ms;\n\n\t/*\n\t * Use CSS math to simulate container queries.\n\t * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t */\n\toverflow: hidden;\n\twidth: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\theight: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\n\t/* This is check icon element made from border-width mixed with animations. */\n\t&::after {\n\t\t/* Because of border transformation we need to "hard code" left position. */\n\t\tleft: 25%;\n\n\t\ttop: 50%;\n\t\topacity: 0;\n\t\theight: 0;\n\t\twidth: 0;\n\n\t\ttransform: scaleX(-1) rotate(135deg);\n\t\ttransform-origin: left top;\n\t\tborder-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\t\tborder-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\n\t\tanimation-name: ck-upload-complete-icon-check;\n\t\tanimation-duration: 500ms;\n\t\tanimation-delay: 500ms;\n\t\tanimation-fill-mode: forwards;\n\n\t\t/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */\n\t\tbox-sizing: border-box;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-show {\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-hide {\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-check {\n\t0% {\n\t\topacity: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n\t33% {\n\t\twidth: 0.3em;\n\t\theight: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t\twidth: 0.3em;\n\t\theight: 0.45em;\n\t}\n}\n'],sourceRoot:""}]);const m=p},3773:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-upload-placeholder-loader {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\ttop: 0;\n\tleft: 0;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: relative;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);\n\t--ck-upload-placeholder-loader-size: 32px;\n\t--ck-upload-placeholder-image-aspect-ratio: 2.8;\n}\n\n.ck .ck-image-upload-placeholder {\n\t/* We need to control the full width of the SVG gray background. */\n\twidth: 100%;\n\tmargin: 0;\n\n\t&.image-inline {\n\t\twidth: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );\n\t}\n\n\t& img {\n\t\t/*\n\t\t * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.\n\t\t * There's nothing special about this number except that it should make the image placeholder look like\n\t\t * a real image during this short period after the upload started and before the image was read from the\n\t\t * file system (and a rich preview was loaded).\n\t\t */\n\t\taspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);\n\t}\n}\n\n.ck .ck-upload-placeholder-loader {\n\twidth: 100%;\n\theight: 100%;\n\n\t&::before {\n\t\twidth: var(--ck-upload-placeholder-loader-size);\n\t\theight: var(--ck-upload-placeholder-loader-size);\n\t\tborder-radius: 50%;\n\t\tborder-top: 3px solid var(--ck-color-upload-placeholder-loader);\n\t\tborder-right: 2px solid transparent;\n\t\tanimation: ck-upload-placeholder-loader 1s linear infinite;\n\t}\n}\n\n@keyframes ck-upload-placeholder-loader {\n\tto {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n"],sourceRoot:""}]);const m=p},3689:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\tposition: relative;\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\t/* Showing animation. */\n\t\t&.ck-appear {\n\t\t\tanimation: fadeIn 700ms;\n\t\t}\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\theight: 2px;\n\t\twidth: 0;\n\t\tbackground: var(--ck-color-upload-bar-background);\n\t\ttransition: width 100ms;\n\t}\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n"],sourceRoot:""}]);const m=p},1905:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-text-alternative-form {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},9773:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Class added to span element surrounding currently selected link. */\n.ck .ck-link_selected {\n\tbackground: var(--ck-color-link-selected-background);\n\n\t/* Give linked inline images some outline to let the user know they are also part of the link. */\n\t& span.image-inline {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);\n\t}\n}\n\n/*\n * Classes used by the "fake visual selection" displayed in the content when an input\n * in the link UI has focus (the browser does not render the native selection in this state).\n */\n.ck .ck-fake-link-selection {\n\tbackground: var(--ck-color-link-fake-selection);\n}\n\n/* A collapsed fake visual selection. */\n.ck .ck-fake-link-selection_collapsed {\n\theight: 100%;\n\tborder-right: 1px solid var(--ck-color-base-text);\n\tmargin-right: -1px;\n\toutline: solid 1px hsla(0, 0%, 100%, .5);\n}\n'],sourceRoot:""}]);const m=p},2347:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-link-actions__preview {\n\t\tdisplay: inline-block;\n\n\t\t& .ck-button__label {\n\t\t\toverflow: hidden;\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-link-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\t& .ck-button.ck-link-actions__preview {\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\n\t\t& .ck-button__label {\n\t\t\tpadding: 0 var(--ck-spacing-medium);\n\t\t\tcolor: var(--ck-color-link-default);\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: pointer;\n\n\t\t\t/* Match the box model of the link editor form\'s input so the balloon\n\t\t\tdoes not change width when moving between actions and the form. */\n\t\t\tmax-width: var(--ck-input-width);\n\t\t\tmin-width: 3em;\n\t\t\ttext-align: center;\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\n\t\t&,\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&:focus {\n\t\t\t& .ck-button__label {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-button:not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-button:not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\t& .ck-button.ck-link-actions__preview {\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\n\t\t\t& .ck-button__label {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},7754:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-form {\n\tdisplay: flex;\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tdisplay: block;\n\n\t/*\n\t * Whether the form is in the responsive mode or not, if there are decorator buttons\n\t * keep the top margin of action buttons medium.\n\t */\n\t& .ck-button {\n\t\t&.ck-button-save,\n\t\t&.ck-button-cancel {\n\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tpadding: 0;\n\tmin-width: var(--ck-input-width);\n\n\t& .ck-labeled-field-view {\n\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);\n\n\t\t& .ck-input-text {\n\t\t\tmin-width: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t& > .ck-button {\n\t\tpadding: var(--ck-spacing-standard);\n\t\tmargin: 0;\n\t\twidth: 50%;\n\t\tborder-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: 0;\n\n\t\t\t&:last-of-type {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */\n\t& .ck.ck-list {\n\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-large);\n\n\t\t& .ck-button.ck-switchbutton {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: none;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},111:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',"",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkimage.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkimage.css"],names:[],mappings:"AASE,+FACC,aAAc,CACd,iBACD,CCPF,MAEC,sCAAuC,CACvC,oEACD,CAME,+FAUC,+BAAqC,CACrC,83BAA+3B,CAG/3B,uBAA2B,CAD3B,2BAA4B,CAD5B,oBAAqB,CAGrB,kBAAmB,CAdnB,UAAW,CAsBX,oGAAuG,CAFvG,eAAgB,CAbhB,sCAAwC,CADxC,oCAAsC,CAetC,mGAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Match the icon size with the upload indicator brought by the image upload feature. */\n\t--ck-link-image-indicator-icon-size: 20;\n\t--ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tcontent: "";\n\n\t\t\t/*\n\t\t\t * Smaller images should have the icon closer to the border.\n\t\t\t * Match the icon position with the upload indicator brought by the image upload feature.\n\t\t\t */\n\t\t\ttop: min(var(--ck-spacing-medium), 6%);\n\t\t\tright: min(var(--ck-spacing-medium), 6%);\n\n\t\t\tbackground-color: hsla(0, 0%, 0%, .4);\n\t\t\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");\n\t\t\tbackground-size: 14px;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-position: center;\n\t\t\tborder-radius: 100%;\n\n\t\t\t/*\n\t\t\t* Use CSS math to simulate container queries.\n\t\t\t* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t\t\t*/\n\t\t\toverflow: hidden;\n\t\t\twidth: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t\theight: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const m=p},5730:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/documentlist.css"],names:[],mappings:"AAKA,8CACC,aACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-editor__editable .ck-list-bogus-paragraph {\n\tdisplay: block;\n}\n"],sourceRoot:""}]);const m=p},4564:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content ol {\n\tlist-style-type: decimal;\n\n\t& ol {\n\t\tlist-style-type: lower-latin;\n\n\t\t& ol {\n\t\t\tlist-style-type: lower-roman;\n\n\t\t\t& ol {\n\t\t\t\tlist-style-type: upper-latin;\n\n\t\t\t\t& ol {\n\t\t\t\t\tlist-style-type: upper-roman;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-content ul {\n\tlist-style-type: disc;\n\n\t& ul {\n\t\tlist-style-type: circle;\n\n\t\t& ul {\n\t\t\tlist-style-type: square;\n\n\t\t\t& ul {\n\t\t\t\tlist-style-type: square;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},6082:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/listproperties.css"],names:[],mappings:"AAOC,yDACC,+BASD,CAPC,2DACC,cAKD,CAHC,6DACC,qCACD,CASD,wFACC,oCACD,CAGA,mFACC,gDAWD,CARE,+GACC,UAKD,CAHC,iHACC,qCACD,CAMJ,8EACC,cAAe,CACf,UACD,CAEA,uEACC,sBAAuB,CAGvB,6CAAgD,CAFhD,cAAe,CACf,eAQD,CALC,2JAGC,eAAgB,CADhB,wBAAyB,CADzB,eAGD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-properties {\n\t/* When there are no list styles and there is no collapsible. */\n\t&.ck-list-properties_without-styles {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * {\n\t\t\tmin-width: 14em;\n\n\t\t\t& + * {\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * When the numbered list property fields (start at, reversed) should be displayed,\n\t * more horizontal space is needed. Reconfigure the style grid to create that space.\n\t */\n\t&.ck-list-properties_with-numbered-properties {\n\t\t& > .ck-list-styles-list {\n\t\t\tgrid-template-columns: repeat( 4, auto );\n\t\t}\n\n\t\t/* When list styles are rendered and property fields are in a collapsible. */\n\t\t& > .ck-collapsible {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\n\t\t\t& > .ck-collapsible__children {\n\t\t\t\t& > * {\n\t\t\t\t\twidth: 100%;\n\n\t\t\t\t\t& + * {\n\t\t\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-numbered-list-properties__start-index .ck-input {\n\t\tmin-width: auto;\n\t\twidth: 100%;\n\t}\n\n\t& .ck.ck-numbered-list-properties__reversed-order {\n\t\tbackground: transparent;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t\tmargin-bottom: calc(-1 * var(--ck-spacing-tiny));\n\n\t\t&:active, &:hover {\n\t\t\tbox-shadow: none;\n\t\t\tborder-color: transparent;\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},2417:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/liststyles.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/liststyles.css"],names:[],mappings:"AAKA,wBACC,YACD,CCFA,MACC,gCACD,CAEA,wBAGC,mCAAoC,CAFpC,oCAAwC,CAGxC,+BAAgC,CAFhC,gCA4BD,CAxBC,mCAiBC,sBAAuB,CAPvB,QAAS,CANT,SAmBD,CAJC,+EAhBA,uCAAwC,CADxC,sCAoBA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-styles-list {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-list-style-button-size: 44px;\n}\n\n.ck.ck-list-styles-list {\n\tgrid-template-columns: repeat( 3, auto );\n\trow-gap: var(--ck-spacing-medium);\n\tcolumn-gap: var(--ck-spacing-medium);\n\tpadding: var(--ck-spacing-large);\n\n\t& .ck-button {\n\t\t/* Make the button look like a thumbnail (the icon "takes it all"). */\n\t\twidth: var(--ck-list-style-button-size);\n\t\theight: var(--ck-list-style-button-size);\n\t\tpadding: 0;\n\n\t\t/*\n\t\t * Buttons are aligned by the grid so disable default button margins to not collide with the\n\t\t * gaps in the grid.\n\t\t */\n\t\tmargin: 0;\n\n\t\t/*\n\t\t * Make sure the button border (which is displayed on focus, BTW) does not steal pixels\n\t\t * from the button dimensions and, as a result, decrease the size of the icon\n\t\t * (which becomes blurry as it scales down).\n\t\t */\n\t\tbox-sizing: content-box;\n\n\t\t& .ck-icon {\n\t\t\twidth: var(--ck-list-style-button-size);\n\t\t\theight: var(--ck-list-style-button-size);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},1199:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',"",{version:3,sources:["webpack://./../ckeditor5-list/theme/todolist.css"],names:[],mappings:"AAKA,MACC,kCACD,CAwEA,uBACC,eAwBD,CAtBC,0BAEC,iBAAkB,CADlB,iBAMD,CAHC,qCACC,cACD,CAIA,+CAlFD,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAiFC,CAFA,wDAhEA,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAgEA,CA5DD,sDAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qDAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+DACC,kBAA8B,CAC9B,oBACD,CAEA,8DACC,iBACD,CAwBA,wEACC,qBACD,CAEA,mGACC,iBACD,CAYD,kKAEC,cAKD,CAHC,4LACC,mCACD,CAMD,+FApHA,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAmHA,CAFA,wGAlGC,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAkGD,CA9FA,sGAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qGAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+GACC,kBAA8B,CAC9B,oBACD,CAEA,8GACC,iBACD,CA2DA,uHACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-todo-list-checkmark-size: 16px;\n}\n\n@define-mixin todo-list-checkbox {\n\t-webkit-appearance: none;\n\tdisplay: inline-block;\n\tposition: relative;\n\twidth: var(--ck-todo-list-checkmark-size);\n\theight: var(--ck-todo-list-checkmark-size);\n\tvertical-align: middle;\n\n\t/* Needed on iOS */\n\tborder: 0;\n\n\t/* LTR styles */\n\tleft: -25px;\n\tmargin-right: -15px;\n\tright: 0;\n\tmargin-left: 0;\n\n\t/* RTL styles */\n\t@nest [dir=rtl]& {\n\t\tleft: 0;\n\t\tmargin-right: 0;\n\t\tright: -25px;\n\t\tmargin-left: -15px;\n\t}\n\n\t&::before {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: border-box;\n\t\tcontent: '';\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder: 1px solid hsl(0, 0%, 20%);\n\t\tborder-radius: 2px;\n\t\ttransition: 250ms ease-in-out box-shadow;\n\t}\n\n\t&::after {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: content-box;\n\t\tpointer-events: none;\n\t\tcontent: '';\n\n\t\t/* Calculate tick position, size and border-width proportional to the checkmark size. */\n\t\tleft: calc( var(--ck-todo-list-checkmark-size) / 3 );\n\t\ttop: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\twidth: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\theight: calc( var(--ck-todo-list-checkmark-size) / 2.6 );\n\t\tborder-style: solid;\n\t\tborder-color: transparent;\n\t\tborder-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;\n\t\ttransform: rotate(45deg);\n\t}\n\n\t&[checked] {\n\t\t&::before {\n\t\t\tbackground: hsl(126, 64%, 41%);\n\t\t\tborder-color: hsl(126, 64%, 41%);\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: hsl(0, 0%, 100%);\n\t\t}\n\t}\n}\n\n/*\n * To-do list content styles.\n */\n.ck-content .todo-list {\n\tlist-style: none;\n\n\t& li {\n\t\tposition: relative;\n\t\tmargin-bottom: 5px;\n\n\t\t& .todo-list {\n\t\t\tmargin-top: 5px;\n\t\t}\n\t}\n\n\t& .todo-list__label {\n\t\t& > input {\n\t\t\t@mixin todo-list-checkbox;\n\t\t}\n\n\t\t& .todo-list__label__description {\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t&.todo-list__label_without-description input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n/*\n * To-do list editing view styles.\n */\n.ck-editor__editable.ck-content .todo-list .todo-list__label {\n\t/*\n\t * To-do list should be interactive only during the editing\n\t * (https://github.com/ckeditor/ckeditor5/issues/2090).\n\t */\n\t& > input,\n\t& > span[contenteditable=false] > input {\n\t\tcursor: pointer;\n\n\t\t&:hover::before {\n\t\t\tbox-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);\n\t\t}\n\t}\n\n\t/*\n\t * Document Lists - editing view has an additional span around checkbox.\n\t */\n\t& > span[contenteditable=false] > input {\n\t\t@mixin todo-list-checkbox;\n\t}\n\n\t&.todo-list__label_without-description {\n\t\t& input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},4652:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .media {\n\t/* Don\'t allow floated content overlap the media.\n\thttps://github.com/ckeditor/ckeditor5-media-embed/issues/53 */\n\tclear: both;\n\n\t/* Make sure there is some space between the content and the media. */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\n\n\t/* Make sure media is not overriden with Bootstrap default `flex` value.\n\tSee: https://github.com/ckeditor/ckeditor5/issues/1373. */\n\tdisplay: block;\n\n\t/* Give the media some minimal width in the content to prevent them\n\tfrom being "squashed" in tight spaces, e.g. in table cells (#44) */\n\tmin-width: 15em;\n}\n'],sourceRoot:""}]);const m=p},7442:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtNy44NzUgMC04Ljg0NC03LjUxMS0xNi4wMTQtMTYuNzc2LTE2LjAxNHoiIGZpbGw9IiNkZDRiM2UiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PGVsbGlwc2Ugcnk9IjUuNTY0IiByeD0iNS44MjgiIGN5PSIyMzkuMDAyIiBjeD0iMjI2Ljc0MiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMTkwLjMwMSAyMzcuMjgzYy00LjY3IDAtOC40NTcgMy44NTMtOC40NTcgOC42MDZzMy43ODYgOC42MDcgOC40NTcgOC42MDdjMy4wNDMgMCA0LjgwNi0uOTU4IDYuMzM3LTIuNTE2IDEuNTMtMS41NTcgMi4wODctMy45MTMgMi4wODctNi4yOSAwLS4zNjItLjAyMy0uNzIyLS4wNjQtMS4wNzloLTguMjU3djMuMDQzaDQuODVjLS4xOTcuNzU5LS41MzEgMS40NS0xLjA1OCAxLjk4Ni0uOTQyLjk1OC0yLjAyOCAxLjU0OC0zLjkwMSAxLjU0OC0yLjg3NiAwLTUuMjA4LTIuMzcyLTUuMjA4LTUuMjk5IDAtMi45MjYgMi4zMzItNS4yOTkgNS4yMDgtNS4yOTkgMS4zOTkgMCAyLjYxOC40MDcgMy41ODQgMS4yOTNsMi4zODEtMi4zOGMwLS4wMDItLjAwMy0uMDA0LS4wMDQtLjAwNS0xLjU4OC0xLjUyNC0zLjYyLTIuMjE1LTUuOTU1LTIuMjE1em00LjQzIDUuNjYuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0ibTIxNS4xODQgMjUxLjkyOS03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJtMjEyLjk4MyAyNDguNDk1LTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOCA1LjIzOGgxLjAxNWwzNS42NjYtMzUuNjY2YTEzNi4yNzUgMTM2LjI3NSAwIDAgMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAgMC0uOTg5LTEuNDQgMzUuMTI3IDM1LjEyNyAwIDAgMC0uOTUtMS41MDhjLS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OVptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OVoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNabTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1Wk00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}',"",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembedediting.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaembedediting.css"],names:[],mappings:"AAMC,0CAGC,kBAAmB,CAFnB,YAAa,CACb,qBAcD,CAXC,sEAEC,cAAe,CAEf,iBAMD,CAJC,wGAEC,aAAc,CADd,eAED,CAWD,6kBACC,YACD,CAYF,2LACC,mBACD,CC1CA,MACC,0CAA2C,CAE3C,mDAA4D,CAC5D,2EACD,CAEA,mBACC,aA+FD,CA7FC,0CAEC,0CAA2C,CAD3C,0CA6BD,CA1BC,uEAIC,uBAA2B,CAC3B,qBAAsB,CAHtB,kDAAmD,CACnD,qCAAsC,CAFtC,qDAUD,CAJC,gFAEC,WAAY,CADZ,UAED,CAGD,4EACC,sDAAuD,CAGvD,iBAAkB,CADlB,iBAAkB,CAElB,sBAAuB,CAHvB,kBAUD,CALC,kFACC,4DAA6D,CAC7D,cAAe,CACf,yBACD,CAIF,wDAEC,gBAAiB,CADjB,eAED,CAEA,4UAIC,wvGACD,CAEA,2EACC,kBAaD,CAXC,wGACC,orBACD,CAEA,6GACC,UAKD,CAHC,mHACC,UACD,CAIF,4EACC,2DAcD,CAZC,yGACC,4jHACD,CAGA,8GACC,aAKD,CAHC,oHACC,UACD,CAIF,6EAEC,iDAaD,CAXC,0GACC,wiCACD,CAEA,+GACC,aAKD,CAHC,qHACC,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-media__wrapper {\n\t& .ck-media__placeholder {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\n\t\t& .ck-media__placeholder__url {\n\t\t\t/* Otherwise the URL will overflow when the content is very narrow. */\n\t\t\tmax-width: 100%;\n\n\t\t\tposition: relative;\n\n\t\t\t& .ck-media__placeholder__url__text {\n\t\t\t\toverflow: hidden;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"],\n\t&[data-oembed-url*="google.com/maps"],\n\t&[data-oembed-url*="goo.gl/maps"],\n\t&[data-oembed-url*="maps.google.com"],\n\t&[data-oembed-url*="maps.app.goo.gl"],\n\t&[data-oembed-url*="facebook.com"],\n\t&[data-oembed-url*="instagram.com"] {\n\t\t& .ck-media__placeholder__icon * {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n/* Disable all mouse interaction as long as the editor is not read\u2013only.\n https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */\n.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {\n\tpointer-events: none;\n}\n\n/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).\n https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */\n.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {\n\tpointer-events: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-media-embed-placeholder-icon-size: 3em;\n\n\t--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);\n\t--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);\n}\n\n.ck-media__wrapper {\n\tmargin: 0 auto;\n\n\t& .ck-media__placeholder {\n\t\tpadding: calc( 3 * var(--ck-spacing-standard) );\n\t\tbackground: var(--ck-color-base-foreground);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tmin-width: var(--ck-media-embed-placeholder-icon-size);\n\t\t\theight: var(--ck-media-embed-placeholder-icon-size);\n\t\t\tmargin-bottom: var(--ck-spacing-large);\n\t\t\tbackground-position: center;\n\t\t\tbackground-size: cover;\n\n\t\t\t& .ck-icon {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t\tfont-style: italic;\n\t\t\ttext-overflow: ellipsis;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text-hover);\n\t\t\t\tcursor: pointer;\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="open.spotify.com"] {\n\t\tmax-width: 300px;\n\t\tmax-height: 380px;\n\t}\n\n\t&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {\n\t\tbackground-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);\n\t}\n\n\t&[data-oembed-url*="facebook.com"] .ck-media__placeholder {\n\t\tbackground: hsl(220, 46%, 48%);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(220, 100%, 90%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="instagram.com"] .ck-media__placeholder {\n\t\tbackground: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);\n\t\t}\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(302, 100%, 94%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {\n\t\t/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */\n\t\tbackground: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(201, 100%, 86%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},9292:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-media-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},7368:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,YAAa,CACb,0BAA2B,CAF3B,UAgCD,CA5BC,0CAEC,WAAY,CADZ,cAED,CAEA,sCACC,cAMD,CAHC,kFACC,YACD,CAGD,8CAEC,YAWD,CATC,kFAEC,eAAgB,CADhB,iBAOD,CAJC,0IAEC,aAAc,CADd,iBAED,CC1BF,+CAGE,4BAA6B,CAD7B,yBAcF,CAhBA,+CAQE,2BAA4B,CAD5B,wBASF,CAHC,2CACC,SACD,CAIA,wEACC,SA0CD,CA3CA,kFAKE,2BAA4B,CAD5B,wBAuCF,CApCE,8FACC,iCACD,CATF,kFAcE,4BAA6B,CAD7B,yBA8BF,CA3BE,8FACC,kCACD,CAGD,oFACC,oDACD,CAEA,4GC1CF,eD2DE,CAjBA,+PCtCD,qCDuDC,CAjBA,4GAKC,6CAA8C,CAD9C,WAAY,CADZ,UAcD,CAVC,oKAKC,cAA6B,CAC7B,iBAAkB,CAHlB,WAAY,CADZ,QAAS,CADT,QAAS,CAMT,uBAAwB,CACxB,oBAAqB,CAJrB,QAKD,CAKH,oDAIC,2BAA4B,CAC5B,4BAA6B,CAH7B,qEAAwE,CADxE,UA0BD,CApBC,gEACC,oDACD,CATD,8DAYE,yBAeF,CA3BA,8DAgBE,wBAWF,CARC,gEACC,uCAMD,CAPA,0EAKE,sCAAuC,CADvC,cAGF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input-color {\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\n\t& > input.ck.ck-input-text {\n\t\tmin-width: auto;\n\t\tflex-grow: 1;\n\t}\n\n\t& > div.ck.ck-dropdown {\n\t\tmin-width: auto;\n\n\t\t/* This dropdown has no arrow but a color preview instead. */\n\t\t& > .ck-input-color__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__button {\n\t\t/* Resolving issue with misaligned buttons on Safari (see #10589) */\n\t\tdisplay: flex;\n\n\t\t& .ck.ck-input-color__button__preview {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\n\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_rounded.css";\n\n.ck.ck-input-color {\n\t& > .ck.ck-input-text {\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* Make sure the focused input is always on top of the dropdown button so its\n\t\t outline and border are never cropped (also when the input is read-only). */\n\t\t&:focus {\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\t& > .ck.ck-dropdown {\n\t\t& > .ck.ck-button.ck-input-color__button {\n\t\t\tpadding: 0;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-left: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-right: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.ck-disabled {\n\t\t\t\tbackground: var(--ck-color-input-disabled-background);\n\t\t\t}\n\n\t\t\t& > .ck.ck-input-color__button__preview {\n\t\t\t\t@mixin ck-rounded-corners;\n\n\t\t\t\twidth: 20px;\n\t\t\t\theight: 20px;\n\t\t\t\tborder: 1px solid var(--ck-color-input-border);\n\n\t\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\t\ttop: -30%;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\theight: 150%;\n\t\t\t\t\twidth: 8%;\n\t\t\t\t\tbackground: hsl(0, 100%, 50%);\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\ttransform: rotate(45deg);\n\t\t\t\t\ttransform-origin: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__remove-color {\n\t\twidth: 100%;\n\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\n\t\tborder-bottom-left-radius: 0;\n\t\tborder-bottom-right-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-input-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t}\n\n\t\t& .ck.ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},4070:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/form.css"],names:[],mappings:"AAKA,YACC,mCAyBD,CAvBC,kBAEC,YACD,CAEA,8BACC,cAAe,CACf,OACD,CAEA,4BACC,cAWD,CARE,6DACC,4CACD,CAEA,mEACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form {\n\tpadding: 0 0 var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t& .ck.ck-input-text {\n\t\tmin-width: 100%;\n\t\twidth: 0;\n\t}\n\n\t& .ck.ck-dropdown {\n\t\tmin-width: 100%;\n\n\t\t& .ck-dropdown__button {\n\t\t\t&:not(:focus) {\n\t\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck-button__label {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},9247:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/formrow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/formrow.css"],names:[],mappings:"AAKA,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAaD,CAVC,iCACC,WACD,CAGC,wHAEC,sBACD,CCbF,iBACC,4DA2BD,CAvBE,6CAEE,mCAMF,CARA,6CAME,oCAEF,CAGD,2BAEC,cAAe,CADf,UAED,CAEA,2CACC,kCAKD,CAHC,wEACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-form__row {\n\tpadding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\t& + * {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-label {\n\t\twidth: 100%;\n\t\tmin-width: 100%;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},1613:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-insert-table-dropdown__grid {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-insert-table-dropdown-padding: 10px;\n\t--ck-insert-table-dropdown-box-height: 11px;\n\t--ck-insert-table-dropdown-box-width: 12px;\n\t--ck-insert-table-dropdown-box-margin: 1px;\n}\n\n.ck .ck-insert-table-dropdown__grid {\n\t/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */\n\twidth: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);\n\tpadding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;\n}\n\n.ck .ck-insert-table-dropdown__label,\n.ck[dir=rtl] .ck-insert-table-dropdown__label {\n\ttext-align: center;\n}\n\n.ck .ck-insert-table-dropdown-grid-box {\n\tmin-width: var(--ck-insert-table-dropdown-box-width);\n\tmin-height: var(--ck-insert-table-dropdown-box-height);\n\tmargin: var(--ck-insert-table-dropdown-box-margin);\n\tborder: 1px solid var(--ck-color-base-border);\n\tborder-radius: 1px;\n\toutline: none;\n\ttransition: none;\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n\n\t&.ck-on {\n\t\tborder-color: var(--ck-color-focus-border);\n\t\tbackground: var(--ck-color-focus-outer-shadow);\n\t}\n}\n\n"],sourceRoot:""}]);const m=p},6306:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .table {\n\t/* Give the table widget some air and center it horizontally */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em auto;\n\tdisplay: table;\n\n\t& table {\n\t\t/* The table cells should have slight borders */\n\t\tborder-collapse: collapse;\n\t\tborder-spacing: 0;\n\n\t\t/* Table width and height are set on the parent
. Make sure the table inside stretches\n\t\tto the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t/* The outer border of the table should be slightly darker than the inner lines.\n\t\tAlso see https://github.com/ckeditor/ckeditor5-table/issues/50. */\n\t\tborder: 1px double hsl(0, 0%, 70%);\n\n\t\t& td,\n\t\t& th {\n\t\t\tmin-width: 2em;\n\t\t\tpadding: .4em;\n\n\t\t\t/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it\'s not necessary here.\n\t\t\tHowever, the border is a content style, so it should use .ck-content (so it works outside the editor).\n\t\t\tHence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */\n\t\t\tborder: 1px solid hsl(0, 0%, 75%);\n\t\t}\n\n\t\t& th {\n\t\t\tfont-weight: bold;\n\t\t\tbackground: hsla(0, 0%, 0%, 5%);\n\t\t}\n\t}\n}\n\n/* Text alignment of the table header should match the editor settings and override the native browser styling,\nwhen content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */\n.ck-content[dir="rtl"] .table th {\n\ttext-align: right;\n}\n\n.ck-content[dir="ltr"] .table th {\n\ttext-align: left;\n}\n\n.ck-editor__editable .ck-table-bogus-paragraph {\n\t/*\n\t * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.\n\t * See https://github.com/ckeditor/ckeditor5/issues/6062.\n\t */\n\tdisplay: inline-block;\n\n\t/*\n\t * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9117.\n\t */\n\twidth: 100%;\n}\n'],sourceRoot:""}]);const m=p},2128:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecaption.css"],names:[],mappings:"AAKA,MACC,8CAAuD,CACvD,qCAAiD,CACjD,uDACD,CAGA,8BAMC,4DAA6D,CAJ7D,gBAAiB,CAGjB,2CAA4C,CAJ5C,qBAAsB,CAOtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,iBAAkB,CADlB,qBAOD,CAIC,qEACC,iDACD,CAEA,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAGD,sCACC,GACC,wEACD,CAEA,GACC,4DACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-selector-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-selector-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .table > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: top;\n\tword-break: break-word;\n\ttext-align: center;\n\tcolor: var(--ck-color-selector-caption-text);\n\tbackground-color: var(--ck-color-selector-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .table > figcaption {\n\t&.table__caption_highlighted {\n\t\tanimation: ck-table-caption-highlight .6s ease-out;\n\t}\n\n\t&.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the table caption placeholder doesn't overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\n\n@keyframes ck-table-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-selector-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-selector-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const m=p},5087:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecellproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css"],names:[],mappings:"AAOE,6FACC,cAiBD,CAdE,0HAEC,cACD,CAEA,yHAEC,cACD,CAEA,uHACC,WACD,CClBJ,kCACC,WAkBD,CAfE,2FACC,mBAAoB,CACpB,SAAU,CACV,SACD,CAGC,4GACC,eAAgB,CAGhB,qCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\t&:first-of-type {\n\t\t\t\t\t/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */\n\t\t\t\t\tflex-grow: 0.57;\n\t\t\t\t}\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\t/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */\n\t\t\t\t\tflex-grow: 0.43;\n\t\t\t\t}\n\n\t\t\t\t& .ck-button {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__padding-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\t\t\twidth: 25%;\n\t\t}\n\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},4101:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecolumnresize.css"],names:[],mappings:"AAKA,MACC,oEAAqE,CACrE,mCAAoC,CAIpC,iGACD,CAEA,qCACC,kBACD,CAEA,yBACC,eACD,CAEA,4CAIC,wBAAyB,CACzB,iBACD,CAEA,wDAGC,QAAS,CAGT,iBAAkB,CALlB,iBAAkB,CAGlB,oDAAqD,CAFrD,KAAM,CAKN,gBAAiB,CAFjB,0CAA2C,CAG3C,2BACD,CAQA,qJACC,YACD,CAEA,8HAEC,8DAA+D,CAO/D,gBAAiB,CANjB,WAAa,CAKb,aAED,CAEA,iEACC,mDAAoD,CACpD,WACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-column-resizer-hover: var(--ck-color-base-active);\n\t--ck-table-column-resizer-width: 7px;\n\n\t/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.\n\t The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */\n\t--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);\n}\n\n.ck-content .table .ck-table-resized {\n\ttable-layout: fixed;\n}\n\n.ck-content .table table {\n\toverflow: hidden;\n}\n\n.ck-content .table td,\n.ck-content .table th {\n\t/* To prevent text overflowing beyond its cell when columns are resized by resize handler\n\t(https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */\n\toverflow-wrap: break-word;\n\tposition: relative;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tright: var(--ck-table-column-resizer-position-offset);\n\twidth: var(--ck-table-column-resizer-width);\n\tcursor: col-resize;\n\tuser-select: none;\n\tz-index: var(--ck-z-default);\n}\n\n.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,\n all resizers must be hidden while the table is dragged. */\n.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer:hover,\n.ck.ck-editor__editable .table .ck-table-column-resizer__active {\n\tbackground-color: var(--ck-color-selector-column-resizer-hover);\n\topacity: 0.25;\n\t/* The resizer element resides in each cell so to occupy the entire height of the table, which is unknown from a CSS point of view,\n\t it is extended to an extremely high height. Even for screens with a very high pixel density, the resizer will fulfill its role as\n\t it should, i.e. for a screen of 476 ppi the total height of the resizer will take over 350 sheets of A4 format, which is totally\n\t unrealistic height for a single table. */\n\ttop: -999999px;\n\tbottom: -999999px;\n}\n\n.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {\n\tleft: var(--ck-table-column-resizer-position-offset);\n\tright: unset;\n}\n"],sourceRoot:""}]);const m=p},3881:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,gEACD,CAKE,8QAGC,2DAA4D,CAK5D,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);\n}\n\n.ck-widget.table {\n\t& td,\n\t& th {\n\t\t&.ck-editor__nested-editable.ck-editor__nested-editable_focused,\n\t\t&.ck-editor__nested-editable:focus {\n\t\t\t/* A very slight background to highlight the focused cell */\n\t\t\tbackground: var(--ck-color-selector-focused-cell-background);\n\n\t\t\t/* Fixes the problem where surrounding cells cover the focused cell's border.\n\t\t\tIt does not fix the problem in all places but the UX is improved.\n\t\t\tSee https://github.com/ckeditor/ckeditor5-table/issues/29. */\n\t\t\tborder-style: none;\n\t\t\toutline: 1px solid var(--ck-color-focus-border);\n\t\t\toutline-offset: -1px; /* progressive enhancement - no IE support */\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},6237:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableform.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableform.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAWE,wHACC,cACD,CAEA,8DAEC,kBAAmB,CADnB,cAgBD,CAbC,qFAGC,kBAAmB,CAFnB,YAAa,CACb,6BAMD,CAEA,sMACC,WACD,CAIF,4CAEC,iBAoBD,CAlBC,8EAGC,2DAAgE,CADhE,QAAS,CADT,iBAAkB,CAGlB,8BAA+B,CAG/B,SAUD,CAPC,oFACC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAClB,wDAA6D,CAE7D,0BACD,CChDH,MACC,0CAA2C,CAC3C,2CACD,CAMI,2FACC,kCAAmC,CACnC,iBACD,CAGD,8KAIC,cAAe,CADf,cAAe,CADf,UAGD,CAGD,8DACC,SAcD,CAZC,yMAEC,QACD,CAEA,iGACC,mBAAoB,CACpB,oBAAqB,CACrB,wCAAyC,CACzC,6CAA8C,CAC9C,gCACD,CAIF,4CACC,sCAyBD,CAvBC,8ECxCD,eDyDC,CAjBA,mMCpCA,qCDqDA,CAjBA,8EAGC,qCAAsC,CACtC,qCAAsC,CAEtC,oDAAqD,CADrD,wDAAyD,CAEzD,iBAUD,CAPC,oFACC,2EAA4E,CAE5E,kBAAmB,CADnB,kJAED,CAdD,8EAgBC,iEACD,CAGA,6GACC,YACD,CAIF,oDACC,GACC,SACD,CAEA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__background-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t\talign-items: center;\n\n\t\t\t\t& .ck.ck-dropdown {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\tflex-grow: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\t/* Allow absolute positioning of the status (error) balloons. */\n\t\tposition: relative;\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\tposition: absolute;\n\t\t\tleft: 50%;\n\t\t\tbottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\ttransform: translate(-50%,100%);\n\n\t\t\t/* Make sure the balloon status stays on top of other form elements. */\n\t\t\tz-index: 1;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\t\tleft: 50%;\n\t\t\t\ttransform: translateX( -50% );\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n:root {\n\t--ck-table-properties-error-arrow-size: 6px;\n\t--ck-table-properties-min-error-width: 150px;\n}\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\t& > .ck-label {\n\t\t\t\t\tfont-size: var(--ck-font-size-tiny);\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__border-style,\n\t\t\t& .ck-table-form__border-width {\n\t\t\t\twidth: 80px;\n\t\t\t\tmin-width: 80px;\n\t\t\t\tmax-width: 80px;\n\t\t\t}\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tpadding: 0;\n\n\t\t\t& .ck-table-form__dimensions-row__width,\n\t\t\t& .ck-table-form__dimensions-row__height {\n\t\t\t\tmargin: 0\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\talign-self: flex-end;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\theight: var(--ck-ui-component-min-height);\n\t\t\t\tline-height: var(--ck-ui-component-min-height);\n\t\t\t\tmargin: 0 var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: var(--ck-spacing-standard);\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\t@mixin ck-rounded-corners;\n\n\t\t\tbackground: var(--ck-color-base-error);\n\t\t\tcolor: var(--ck-color-base-background);\n\t\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\t\tmin-width: var(--ck-table-properties-min-error-width);\n\t\t\ttext-align: center;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tborder-color: transparent transparent var(--ck-color-base-error) transparent;\n\t\t\t\tborder-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\n\t\t\tanimation: ck-table-form-labeled-view-status-appear .15s ease both;\n\t\t}\n\n\t\t/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */\n\t\t& .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n@keyframes ck-table-form-labeled-view-status-appear {\n\t0% {\n\t\topacity: 0;\n\t}\n\n\t100% {\n\t\topacity: 1;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},7341:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableproperties.css"],names:[],mappings:"AAOE,mFAGC,sBAAuB,CADvB,YAAa,CADb,cAOD,CAHC,qHACC,gBACD,CCTH,6BACC,WAmBD,CAhBE,mFACC,mBAAoB,CACpB,SAYD,CAVC,kGACC,eAAgB,CAGhB,qCAKD,CAHC,uHACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\t\t\tflex-basis: 0;\n\t\t\talign-content: baseline;\n\n\t\t\t& .ck.ck-toolbar .ck-toolbar__items {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t\t\t& .ck-toolbar__items > * {\n\t\t\t\t\twidth: 40px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},6945:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);\n}\n\n.ck.ck-editor__editable .table table {\n\t& td.ck-editor__editable_selected,\n\t& th.ck-editor__editable_selected {\n\t\tposition: relative;\n\t\tcaret-color: transparent;\n\t\toutline: unset;\n\t\tbox-shadow: unset;\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/6446 */\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tpointer-events: none;\n\t\t\tbackground-color: var(--ck-table-selected-cell-background);\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t}\n\n\t\t& ::selection,\n\t\t&:focus {\n\t\t\tbackground-color: transparent;\n\t\t}\n\n\t\t/*\n\t\t * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9491.\n\t\t */\n\t\t& .ck-widget {\n\t\t\toutline: unset;\n\n\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},3210:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"],names:[],mappings:"AAKA,2BAEC,aAAc,CADd,iBAAkB,CAElB,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-aria-live-announcer {\n\tposition: absolute;\n\tleft: -10000px;\n\ttop: -10000px;\n}\n"],sourceRoot:""}]);const m=p},8157:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-modal)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{border-radius:0}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:200px;min-width:auto;overflow-y:auto}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,oBACC,iBAeD,CAbC,wCACC,iBAAkB,CAClB,yBAUD,CARC,6DACC,WACD,CAEA,6DAEC,WAAY,CADZ,QAED,CCVD,wCCEA,eDuBA,CAzBA,uHCMC,qCDmBD,CAzBA,wCAMC,0CAA2C,CAC3C,sDAAuD,CEPxD,oCAA8B,CFI7B,gBAAiB,CAIjB,cAAe,CAHf,eAoBD,CAfC,6DACC,2BAA4B,CAC5B,4BAA6B,CAG7B,kBACD,CAEA,6DACC,wBAAyB,CACzB,yBAA0B,CAG1B,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-autocomplete {\n\tposition: relative;\n\n\t& > .ck-search__results {\n\t\tposition: absolute;\n\t\tz-index: var(--ck-z-modal);\n\n\t\t&.ck-search__results_n {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";\n\n.ck.ck-autocomplete {\n\t& > .ck-search__results {\n\t\t@mixin ck-rounded-corners;\n\t\t@mixin ck-drop-shadow;\n\n\t\tmax-height: 200px;\n\t\toverflow-y: auto;\n\t\tbackground: var(--ck-color-base-background);\n\t\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\t\tmin-width: auto;\n\n\t\t&.ck-search__results_n {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-bottom: -1px;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-top-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-top: -1px;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},4906:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/button.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAQA,6BAMC,kBAAmB,CADnB,mBAAoB,CADpB,iBAAkB,CCHlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD0BD,CA9BA,iDASE,oBAqBF,CA9BA,iDAaE,qBAiBF,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEzBD,6BCAC,oDD4ID,CCzIE,6EACC,0DACD,CAEA,+EACC,2DACD,CAID,qDACC,6DACD,CDfD,6BEDC,eF6ID,CA5IA,wIEGE,qCFyIF,CA5IA,6BA6BC,uBAAwB,CANxB,4BAA6B,CAjB7B,cAAe,CAcf,iBAAkB,CAHlB,aAAc,CAJd,4CAA6C,CAD7C,2CAA4C,CAJ5C,8BAA+B,CAC/B,iBAAkB,CAiBlB,4DAA8D,CAnB9D,qBAAsB,CAFtB,kBAuID,CA7GC,oFGhCA,2BAA2B,CCF3B,2CAA8B,CDC9B,YHqCA,CAIC,kJAEC,aACD,CAGD,iEAIC,aAAc,CACd,cAAe,CAHf,iBAAkB,CAClB,mBAAoB,CAMpB,qBASD,CAlBA,qFAYE,eAMF,CAlBA,qFAgBE,gBAEF,CAEA,yEACC,aAYD,CAbA,6FAIE,mCASF,CAbA,6FAQE,oCAKF,CAbA,yEAWC,eAAiB,CACjB,UACD,CAIC,oIIrFD,oDJyFC,CAOA,gLKhGD,kCLkGC,CAEA,iGACC,UACD,CAGD,qEACC,yDAcD,CAXC,2HAEE,4CAA+C,CAC/C,oCAOF,CAVA,2HAQE,mCAAoC,CADpC,6CAGF,CAKA,mHACC,WACD,CAID,yCC/HA,+CDmIA,CChIC,yFACC,qDACD,CAEA,2FACC,sDACD,CAID,iEACC,wDACD,CDgHA,yCAGC,qCACD,CAEA,2DACC,iCACD,CAEA,+DACC,mCACD,CAID,2CC/IC,mDDoJD,CCjJE,2FACC,yDACD,CAEA,6FACC,0DACD,CAID,mEACC,4DACD,CDgID,2CAIC,wCACD,CAEA,uCAEC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n@import "../../mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-unselectable;\n\n\tposition: relative;\n\tdisplay: inline-flex;\n\talign-items: center;\n\n\t@mixin ck-dir ltr {\n\t\tjustify-content: left;\n\t}\n\n\t@mixin ck-dir rtl {\n\t\tjustify-content: right;\n\t}\n\n\t& .ck-button__label {\n\t\tdisplay: none;\n\t}\n\n\t&.ck-button_with-text {\n\t\t& .ck-button__label {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n\n\t/* Center the icon horizontally in a button without text. */\n\t&:not(.ck-button_with-text) {\n\t\tjustify-content: center;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-button-colors --ck-color-button-default;\n\t@mixin ck-rounded-corners;\n\n\twhite-space: nowrap;\n\tcursor: default;\n\tvertical-align: middle;\n\tpadding: var(--ck-spacing-tiny);\n\ttext-align: center;\n\n\t/* A very important piece of styling. Go to variable declaration to learn more. */\n\tmin-width: var(--ck-ui-component-min-height);\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Normalize the height of the line. Removing this will break consistent height\n\tamong text and text-less buttons (with icons). */\n\tline-height: 1;\n\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t/* Avoid flickering when the foucs border shows up. */\n\tborder: 1px solid transparent;\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .2s ease-in-out, border .2s ease-in-out;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */\n\t-webkit-appearance: none;\n\n\t&:active,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t/* Allow icon coloring using the text "color" property. */\n\t& .ck-button__icon {\n\t\t& use,\n\t\t& use * {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t& .ck-button__label {\n\t\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t\tcolor: inherit;\n\t\tcursor: inherit;\n\n\t\t/* Must be consistent with .ck-icon\'s vertical align. Otherwise, buttons with and\n\t\twithout labels (but with icons) have different sizes in Chrome */\n\t\tvertical-align: middle;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& .ck-button__keystroke {\n\t\tcolor: inherit;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t}\n\n\t\tfont-weight: bold;\n\t\topacity: .7;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t&.ck-disabled {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t/* The disabled button should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t\t& .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t& .ck-button__keystroke {\n\t\t\topacity: .3;\n\t\t}\n\t}\n\n\t&.ck-button_with-text {\n\t\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-standard);\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-button_with-keystroke {\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t}\n\t}\n\n\t/* A style of the button which is currently on, e.g. its feature is active. */\n\t&.ck-on {\n\t\t@mixin ck-button-colors --ck-color-button-on;\n\n\t\tcolor: var(--ck-color-button-on-color);\n\t}\n\n\t&.ck-button-save {\n\t\tcolor: var(--ck-color-button-save);\n\t}\n\n\t&.ck-button-cancel {\n\t\tcolor: var(--ck-color-button-cancel);\n\t}\n}\n\n/* A style of the button which handles the primary action. */\n.ck.ck-button-action,\na.ck.ck-button-action {\n\t@mixin ck-button-colors --ck-color-button-action;\n\n\tcolor: var(--ck-color-button-action-text);\n}\n\n.ck.ck-button-bold,\na.ck.ck-button-bold {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements a button of given background color.\n *\n * @param {String} $background - Background color of the button.\n * @param {String} $border - Border color of the button.\n */\n@define-mixin ck-button-colors $prefix {\n\tbackground: var($(prefix)-background);\n\n\t&:not(.ck-disabled) {\n\t\t&:hover {\n\t\t\tbackground: var($(prefix)-hover-background);\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground: var($(prefix)-active-background);\n\t\t}\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t&.ck-disabled {\n\t\tbackground: var($(prefix)-disabled-background);\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const m=p},5332:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8BF,CAxCA,iDAkBC,uDAAwD,CAFxD,4BAA6B,CAD7B,iFAAsF,CAEtF,0CAuBD,CApBC,2ECxDD,eDmEC,CAXA,6LCpDA,qCAAsC,CDsDpC,8CASF,CAXA,2EAOC,yDAA0D,CAD1D,gDAAiD,CAIjD,uBAA0B,CAL1B,+CAMD,CAEA,uDACC,6DAKD,CAHC,iFACC,qDACD,CAIF,6DEhFA,kCFkFA,CAGA,oCACC,wBAAyB,CAEzB,eAAgB,CADhB,YAQD,CALC,uDACC,iGAAmG,CAEnG,4BAA6B,CAD7B,kBAED,CAKA,uDACC,sDAkBD,CAhBC,6DACC,4DACD,CAEA,2FAKE,2DAMF,CAXA,2FASE,oEAEF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-button.ck-switchbutton {\n\t& .ck-button__toggle {\n\t\tdisplay: block;\n\n\t\t& .ck-button__toggle__inner {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature\nof the component, floating\u2013point numbers have been used which, for the default font size\n(see: --ck-font-size-base), will generate simple integers. */\n:root {\n\t/* 34px at 13px font-size */\n\t--ck-switch-button-toggle-width: 2.6153846154em;\n\t/* 14px at 13px font-size */\n\t--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);\n\t--ck-switch-button-translation: calc(\n\t\tvar(--ck-switch-button-toggle-width) -\n\t\tvar(--ck-switch-button-toggle-inner-size) -\n\t\t2px /* Border */\n\t);\n\t--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);\n}\n\n.ck.ck-button.ck-switchbutton {\n\t/* Unlike a regular button, the switch button text color and background should never change.\n\t * Changing toggle switch (background, outline) is enough to carry the information about the\n\t * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)\n\t */\n\t&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {\n\t\tcolor: inherit;\n\t\tbackground: transparent;\n\t}\n\n\t& .ck-button__label {\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-right: calc(2 * var(--ck-spacing-large));\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-left: calc(2 * var(--ck-spacing-large));\n\t\t}\n\t}\n\n\t& .ck-button__toggle {\n\t\t@mixin ck-rounded-corners;\n\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Make sure the toggle is always to the right as far as possible. */\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Make sure the toggle is always to the left as far as possible. */\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t/* Apply some smooth transition to the box-shadow and border. */\n\t\t/* Gently animate the background color of the toggle switch */\n\t\ttransition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;\n\t\tborder: 1px solid transparent;\n\t\twidth: var(--ck-switch-button-toggle-width);\n\t\tbackground: var(--ck-color-switch-button-off-background);\n\n\t\t& .ck-button__toggle__inner {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: calc(.5 * var(--ck-border-radius));\n\t\t\t}\n\n\t\t\twidth: var(--ck-switch-button-toggle-inner-size);\n\t\t\theight: var(--ck-switch-button-toggle-inner-size);\n\t\t\tbackground: var(--ck-color-switch-button-inner-background);\n\n\t\t\t/* Gently animate the inner part of the toggle switch */\n\t\t\ttransition: all 300ms ease;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-switch-button-off-hover-background);\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\tbox-shadow: var(--ck-switch-button-inner-hover-shadow);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-button__toggle {\n\t\t@mixin ck-disabled;\n\t}\n\n\t/* Overriding default .ck-button:focus styles + an outline around the toogle */\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t\tbox-shadow: none;\n\n\t\t& .ck-button__toggle {\n\t\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);\n\t\t\toutline-offset: 1px;\n\t\t\toutline: var(--ck-focus-ring);\n\t\t}\n\t}\n\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-on {\n\t\t& .ck-button__toggle {\n\t\t\tbackground: var(--ck-color-switch-button-on-background);\n\n\t\t\t&:hover {\n\t\t\t\tbackground: var(--ck-color-switch-button-on-hover-background);\n\t\t\t}\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\t/*\n\t\t\t\t* Move the toggle switch to the right. It will be animated.\n\t\t\t\t*/\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\ttransform: translateX( var( --ck-switch-button-translation ) );\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\ttransform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const m=p},8010:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;padding:var(--ck-list-button-padding);width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/collapsible/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/collapsible/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,qCAAsC,CAFtC,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,gFACD,CAGC,mEACC,wBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-collapsible.ck-collapsible_collapsed {\n\t& > .ck-collapsible__children {\n\t\tdisplay: none;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-collapsible {\n\t& > .ck.ck-button {\n\t\twidth: 100%;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-list-button-padding);\n\t\tborder-radius: 0;\n\t\tcolor: inherit;\n\n\t\t&:focus {\n\t\t\tbackground: transparent;\n\t\t}\n\n\t\t&:active, &:not(:focus), &:hover:not(:focus) {\n\t\t\tbackground: transparent;\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t& > .ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t\twidth: var(--ck-collapsible-arrow-size);\n\t\t}\n\t}\n\n\t& > .ck-collapsible__children {\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large);\n\t}\n\n\t&.ck-collapsible_collapsed {\n\t\t& > .ck.ck-button .ck-icon {\n\t\t\ttransform: rotate(-90deg);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const m=p},6781:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,+DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-color-grid {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-grid-tile-size: 24px;\n\n\t/* Not using global colors here because these may change but some colors in a pallette\n\t * require special treatment. For instance, this ensures no matter what the UI text color is,\n\t * the check icon will look good on the black color tile. */\n\t--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);\n}\n\n.ck.ck-color-grid {\n\tgrid-gap: 5px;\n\tpadding: 8px;\n}\n\n.ck.ck-color-grid__tile {\n\twidth: var(--ck-color-grid-tile-size);\n\theight: var(--ck-color-grid-tile-size);\n\tmin-width: var(--ck-color-grid-tile-size);\n\tmin-height: var(--ck-color-grid-tile-size);\n\tpadding: 0;\n\ttransition: .2s ease box-shadow;\n\tborder: 0;\n\n\t&.ck-disabled {\n\t\tcursor: unset;\n\t\ttransition: unset;\n\t}\n\n\t&.ck-color-selector__color-tile_bordered {\n\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-border);\n\t}\n\n\t& .ck.ck-icon {\n\t\tdisplay: none;\n\t\tcolor: var(--ck-color-color-grid-check-icon);\n\t}\n\n\t&.ck-on {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);\n\n\t\t& .ck.ck-icon {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t&.ck-on,\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\t/* Disable the default .ck-button\'s border ring. */\n\t\tborder: 0;\n\t}\n\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);\n\t}\n}\n\n.ck.ck-color-grid__label {\n\tpadding: 0 var(--ck-spacing-standard);\n}\n'],sourceRoot:""}]);const m=p},3398:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorpicker/colorpicker.css"],names:[],mappings:"AAKA,wBACC,iBAKD,CAHC,qCACC,eACD,CAGD,yBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAA8B,CAC9B,kCAAmC,CACnC,WAcD,CAZC,mDACC,iBACD,CAEA,2CACC,WACD,CAEA,qDAEC,sCAAuC,CADvC,kCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.color-picker-hex-input {\n\twidth: max-content;\n\n\t& .ck.ck-input {\n\t\tmin-width: unset;\n\t}\n}\n\n.ck.ck-color-picker__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\tmargin: var(--ck-spacing-large) 0 0;\n\twidth: unset;\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: unset;\n\t}\n\n\t& .ck.ck-input-text {\n\t\twidth: unset;\n\t}\n\n\t& .ck-color-picker__hash-view {\n\t\tpadding-top: var(--ck-spacing-tiny);\n\t\tpadding-right: var(--ck-spacing-medium);\n\t}\n}\n"],sourceRoot:""}]);const m=p},4157:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorselector/colorselector.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorselector/colorselector.css"],names:[],mappings:"AAUE,oLAGC,kBAAmB,CADnB,YAMD,CARA,wMAME,0BAEF,CAKA,iFACC,YAAa,CACb,kBAAmB,CACnB,4BAMD,CAJC,oMAEC,MACD,CCrBD,oLAEC,UACD,CAEA,0FAEC,2BAA4B,CAC5B,4BAA6B,CAF7B,qEAiBD,CAbC,sGACC,gDACD,CAEA,gHAEE,uCAMF,CARA,gHAME,sCAEF,CAGD,6EACC,iBACD,CAKA,oEACC,WAoBD,CAlBC,sFACC,YAAa,CACb,eAeD,CAbC,wGACC,iEACD,CAEA,iGACC,iEACD,CAEA,yNAGC,WAAY,CADZ,UAED,CAIF,iFACC,iBACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-around;\n\n\t\t\t& .ck-button-save,\n\t\t\t& .ck-button-cancel {\n\t\t\t\tflex: 1\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck.ck-icon {\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tmargin-right: var(--ck-spacing-standard);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& label.ck.ck-color-grid__label {\n\t\t\tfont-weight: unset;\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-picker {\n\t\t\tpadding: 8px;\n\n\t\t\t& .hex-color-picker {\n\t\t\t\theight: 100px;\n\t\t\t\tmin-width: 180px;\n\n\t\t\t\t&::part(saturation) {\n\t\t\t\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\t\t\t\t}\n\n\t\t\t\t&::part(hue) {\n\t\t\t\t\tborder-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);\n\t\t\t\t}\n\n\t\t\t\t&::part(saturation-pointer),\n\t\t\t\t&::part(hue-pointer) {\n\t\t\t\t\twidth: 15px;\n\t\t\t\t\theight: 15px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tpadding: 0 8px 8px;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},5485:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-modal)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-modal) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,MACC,4BACD,CAEA,gBACC,oBAAqB,CACrB,iBA2ED,CAzEC,oCACC,mBAAoB,CACpB,2BACD,CAGA,+CACC,UACD,CAEA,oCACC,YAAa,CAEb,sCAAuC,CAEvC,iBAAkB,CAHlB,yBA4DD,CAvDC,+DACC,oBACD,CAEA,mSAKC,WACD,CAEA,mSAUC,WAAY,CADZ,QAED,CAEA,oHAEC,MACD,CAEA,oHAEC,OACD,CAEA,kHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAQF,mCACC,mCACD,CCpFA,MACC,sDACD,CAEA,gBAEC,iBA2ED,CAzEC,oCACC,mCACD,CAGC,8CAIC,sCAAuC,CAHvC,gCAID,CAIA,8CACC,+BAAgC,CAGhC,oCACD,CAGD,gDC/BA,kCDiCA,CAIE,mFAEC,oCACD,CAIA,mFAEC,qCACD,CAID,iEAEC,eAAgB,CAChB,sBAAuB,CAFvB,SAGD,CAGA,6EC1DD,kCD4DC,CAGA,qDACC,2BAA4B,CAC5B,4BACD,CAEA,sGACC,UACD,CAGA,yHAEC,eAKD,CAHC,qIE7EF,2CF+EE,CAKH,uBGlFC,eHkHD,CAhCA,qFG9EE,qCH8GF,CAhCA,uBAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CE1FT,oCAA8B,CF6F9B,cAuBD,CAnBC,6CACC,wBACD,CAEA,6CACC,yBACD,CAEA,6CACC,2BACD,CAEA,6CACC,4BACD,CAEA,6BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-dropdown-max-width: 75vw;\n}\n\n.ck.ck-dropdown {\n\tdisplay: inline-block;\n\tposition: relative;\n\n\t& .ck-dropdown__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n\t/* Dropdown button should span horizontally, e.g. in vertical toolbars */\n\t& .ck-button.ck-dropdown__button {\n\t\twidth: 100%;\n\t}\n\n\t& .ck-dropdown__panel {\n\t\tdisplay: none;\n\t\tz-index: var(--ck-z-modal);\n\t\tmax-width: var(--ck-dropdown-max-width);\n\n\t\tposition: absolute;\n\n\t\t&.ck-dropdown__panel-visible {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_n,\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_nme {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-dropdown__panel_se,\n\t\t&.ck-dropdown__panel_sw,\n\t\t&.ck-dropdown__panel_smw,\n\t\t&.ck-dropdown__panel_sme,\n\t\t&.ck-dropdown__panel_s {\n\t\t\t/*\n\t\t\t * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.\n\t\t\t * See https://github.com/ckeditor/ckeditor5/issues/1053.\n\t\t\t */\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_se {\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_sw {\n\t\t\tright: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_s,\n\t\t&.ck-dropdown__panel_n {\n\t\t\t/* Positioning panels relative to the center of the button */\n\t\t\tleft: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_smw {\n\t\t\t/* Positioning panels relative to the middle-west of the button */\n\t\t\tleft: 75%;\n\t\t\ttransform: translateX(-75%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nme,\n\t\t&.ck-dropdown__panel_sme {\n\t\t\t/* Positioning panels relative to the middle-east of the button */\n\t\t\tleft: 25%;\n\t\t\ttransform: translateX(-25%);\n\t\t}\n\t}\n}\n\n/*\n * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.\n * See https://github.com/ckeditor/ckeditor5/issues/7874\n */\n.ck.ck-toolbar .ck-dropdown__panel {\n\tz-index: calc( var(--ck-z-modal) + 1 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-dropdown {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-dropdown__arrow {\n\t\twidth: var(--ck-dropdown-arrow-size);\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-dropdown__arrow {\n\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-dropdown__arrow {\n\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-dropdown__arrow {\n\t\t@mixin ck-disabled;\n\t}\n\n\t& .ck-button.ck-dropdown__button {\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t/* #23 */\n\t\t& .ck-button__label {\n\t\t\twidth: 7em;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t\t&.ck-disabled .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/816 */\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t&.ck-dropdown__button_label-width_auto .ck-button__label {\n\t\t\twidth: auto;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/8699 */\n\t\t&.ck-off:active,\n\t\t&.ck-on:active {\n\t\t\tbox-shadow: none;\n\n\t\t\t&:focus {\n\t\t\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-dropdown__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\n\t/* Make sure the panel is at least as wide as the drop-down\'s button. */\n\tmin-width: 100%;\n\n\t/* Disabled corner border radius to be consistent with the .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-dropdown__panel_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},3949:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-dropdown .ck-dropdown__panel .ck-list {\n\t/* Disabled radius of top-left border to be consistent with .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t/* Make sure the button belonging to the first/last child of the list goes well with the\n\tborder radius of the entire panel. */\n\t& .ck-list__item {\n\t\t&:first-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},7686:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-splitbutton {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-splitbutton__action:focus {\n\t\tz-index: calc(var(--ck-z-default) + 1);\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-split-button-hover-background: hsl(0, 0%, 92%);\n\t--ck-color-split-button-hover-border: hsl(0, 0%, 70%);\n}\n\n.ck.ck-splitbutton {\n\t/*\n\t * Note: ck-rounded and ck-dir mixins don\'t go together (because they both use @nest).\n\t */\n\t&:hover > .ck-splitbutton__action,\n\t&.ck-splitbutton_open > .ck-splitbutton__action {\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the action button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the action button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\t}\n\n\t& > .ck-splitbutton__arrow {\n\t\t/* It\'s a text-less button and since the icon is positioned absolutely in such situation,\n\t\tit must get some arbitrary min-width. */\n\t\tmin-width: unset;\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the arrow button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the arrow button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t& svg {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\t\t}\n\t}\n\n\t/* Make sure the divider stretches 100% height of the button\n\thttps://github.com/ckeditor/ckeditor5/issues/10936 */\n\t& > .ck-splitbutton__arrow:not(:focus) {\n\t\tborder-top-width: 0px;\n\t\tborder-bottom-width: 0px;\n\t}\n\n\t/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling\n\tas a whole. The background of both buttons should stand out and there should be a visual\n\tseparation between both buttons. */\n\t&.ck-splitbutton_open,\n\t&:hover {\n\t\t/* When the split button hovered as a whole, not as individual buttons. */\n\t\t& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {\n\t\t\tbackground: var(--ck-color-split-button-hover-background);\n\t\t}\n\n\t\t/* Splitbutton separator needs to be set with the ::after pseudoselector\n\t\tto display properly the borders on focus */\n\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\twidth: 1px;\n\t\t\theight: 100%;\n\t\t\tbackground-color: var(--ck-color-split-button-hover-border);\n\t\t}\n\n\t\t/* Make sure the divider between the buttons looks fine when the button is focused */\n\t\t& > .ck-splitbutton__arrow:focus::after {\n\t\t\t--ck-color-split-button-hover-border: var(--ck-color-focus-border);\n\t\t}\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tleft: -1px;\n\t\t\t}\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tright: -1px;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Don\'t round the bottom left and right corners of the buttons when "open"\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-splitbutton_open {\n\t\t@mixin ck-rounded-corners {\n\t\t\t& > .ck-splitbutton__action {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t}\n\n\t\t\t& > .ck-splitbutton__arrow {\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},7339:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-dropdown-max-width: 60vw;\n}\n\n.ck.ck-toolbar-dropdown > .ck-dropdown__panel {\n\t/* https://github.com/ckeditor/ckeditor5/issues/5586 */\n\twidth: max-content;\n\tmax-width: var(--ck-toolbar-dropdown-max-width);\n\n\t& .ck-button {\n\t\t&:focus {\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-toolbar-dropdown .ck-toolbar {\n\tborder: 0;\n}\n"],sourceRoot:""}]);const m=p},9688:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,oDACD,CAIA,gEACC,iDACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_focus.css";\n@import "../../mixins/_button.css";\n\n:root {\n\t--ck-color-editable-blur-selection: hsl(0, 0%, 85%);\n}\n\n.ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\t@mixin ck-rounded-corners;\n\n\t&.ck-focused {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\t}\n}\n\n.ck.ck-editor__editable_inline {\n\toverflow: auto;\n\tpadding: 0 var(--ck-spacing-standard);\n\tborder: 1px solid transparent;\n\n\t&[dir="ltr"] {\n\t\ttext-align: left;\n\t}\n\n\t&[dir="rtl"] {\n\t\ttext-align: right;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */\n\t& > *:first-child {\n\t\tmargin-top: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/847 */\n\t& > *:last-child {\n\t\t/*\n\t\t * This value should match with the default margins of the block elements (like .media or .image)\n\t\t * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).\n\t\t */\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/6517 */\n\t&.ck-blurred ::selection {\n\t\tbackground: var(--ck-color-editable-blur-selection);\n\t}\n}\n\n/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {\n\t&::after {\n\t\tborder-bottom-color: var(--ck-color-panel-background);\n\t}\n}\n\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {\n\t&::after {\n\t\tborder-top-color: var(--ck-color-panel-background);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},8847:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:38px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}[dir=ltr] .ck.ck-form__header .ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header .ck-icon{margin-left:var(--ck-spacing-medium)}.ck.ck-form__header .ck-form__header__label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BAKD,CAHC,8CACC,WACD,CCPD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAkBD,CAbC,uCAEE,qCAMF,CARA,uCAME,oCAEF,CAEA,4CACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__header {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\n\t& h2.ck-form__header__label {\n\t\tflex-grow: 1;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-form-header-height: 38px;\n}\n\n.ck.ck-form__header {\n\tpadding: var(--ck-spacing-small) var(--ck-spacing-large);\n\theight: var(--ck-form-header-height);\n\tline-height: var(--ck-form-header-height);\n\tborder-bottom: 1px solid var(--ck-color-base-border);\n\n\t& .ck-icon {\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: var(--ck-spacing-medium);\n\t\t}\n\t}\n\n\t& .ck-form__header__label {\n\t\tfont-weight: bold;\n\t}\n}\n'],sourceRoot:""}]);const m=p},8960:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"],names:[],mappings:"AAKA,6BACC,+CAAgD,CAIhD,iBAAkB,CAFlB,mBAAoB,CACpB,mBAAoB,CAFpB,sBAID",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-highlighted-text mark {\n\tbackground: var(--ck-color-highlight-background);\n\tvertical-align: initial;\n\tfont-weight: inherit;\n\tline-height: inherit;\n\tfont-size: inherit;\n}\n"],sourceRoot:""}]);const m=p},6574:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-icon {\n\tvertical-align: middle;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));\n}\n\n.ck.ck-icon {\n\twidth: var(--ck-icon-size);\n\theight: var(--ck-icon-size);\n\n\t/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */\n\tfont-size: .8333350694em;\n\n\t/* Inherit cursor style (#5). */\n\tcursor: inherit;\n\n\t/* This will prevent blurry icons on Firefox. See #340. */\n\twill-change: transform;\n\n\t& * {\n\t\t/* Inherit cursor style (#5). */\n\t\tcursor: inherit;\n\t}\n\n\t/* Allows dynamic coloring of an icon by inheriting its color from the parent. */\n\t&.ck-icon_inherit-color {\n\t\tcolor: inherit;\n\n\t\t& * {\n\t\t\tcolor: inherit;\n\n\t\t\t&:not([fill]) {\n\t\t\t\t/* Needed by FF. */\n\t\t\t\tfill: currentColor;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},4879:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-input-width: 18em;\n\n\t/* Backward compatibility. */\n\t--ck-input-text-width: var(--ck-input-width);\n}\n\n.ck.ck-input {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-input-background);\n\tborder: 1px solid var(--ck-color-input-border);\n\tpadding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);\n\tmin-width: var(--ck-input-width);\n\n\t/* This is important to stay of the same height as surrounding buttons */\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .1s ease-in-out, border .1s ease-in-out;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t&[readonly] {\n\t\tborder: 1px solid var(--ck-color-input-disabled-border);\n\t\tbackground: var(--ck-color-input-disabled-background);\n\t\tcolor: var(--ck-color-input-disabled-text);\n\n\t\t&:focus {\n\t\t\t/* The read-only input should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\tborder-color: var(--ck-color-input-error-border);\n\t\tanimation: ck-input-shake .3s ease both;\n\n\t\t&:focus {\n\t\t\t@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);\n\t\t}\n\t}\n}\n\n@keyframes ck-input-shake {\n\t20% {\n\t\ttransform: translateX(-2px);\n\t}\n\n\t40% {\n\t\ttransform: translateX(2px);\n\t}\n\n\t60% {\n\t\ttransform: translateX(-1px);\n\t}\n\n\t80% {\n\t\ttransform: translateX(1px);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},3662:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tdisplay: block;\n}\n\n.ck.ck-voice-label {\n\tdisplay: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tfont-weight: bold;\n}\n"],sourceRoot:""}]);const m=p},2577:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAMC,mEACC,YAAa,CACb,iBACD,CAEA,uCACC,aAAc,CACd,iBACD,CCND,MACC,kEAAsE,CACtE,gFAAiF,CACjF,oEAAqE,CACrE,8EAAiF,CACjF,yEACD,CAEA,0BCLC,eD+GD,CA1GA,2FCDE,qCD2GF,CAvGC,mEACC,UAoCD,CAlCC,gFACC,KAgCD,CAjCA,0FAIE,MAAS,CAGT,6DAA+D,CAF/D,oBA4BF,CAjCA,0FAWE,OAAU,CAEV,sEAA0E,CAD1E,uBAqBF,CAjCA,gFAkBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAH9C,mBAAoB,CAQpB,sBAAuB,CAKvB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,4WAGE,+HAYF,CAfA,4WAOE,wIAQF,CAfA,wVAaC,sBAAuB,CAFvB,iEAAkE,CAGlE,SACD,CAKA,8FACC,sBACD,CAGA,yIACC,SACD,CAGA,kMACC,8HACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-labeled-field-view {\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\tdisplay: flex;\n\t\tposition: relative;\n\t}\n\n\t& .ck.ck-label {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);\n\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));\n\t--ck-color-labeled-field-label-background: var(--ck-color-base-background);\n}\n\n.ck.ck-labeled-field-view {\n\t@mixin ck-rounded-corners;\n\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\twidth: 100%;\n\n\t\t& > .ck.ck-label {\n\t\t\ttop: 0px;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: 0px;\n\t\t\t\ttransform-origin: 0 0;\n\t\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t\ttransform-origin: 100% 0;\n\t\t\t\ttransform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);\n\t\t\t}\n\n\t\t\tpointer-events: none;\n\n\t\t\tbackground: var(--ck-color-labeled-field-label-background);\n\t\t\tpadding: 0 calc(.5 * var(--ck-font-size-tiny));\n\t\t\tline-height: initial;\n\t\t\tfont-weight: normal;\n\n\t\t\t/* Prevent overflow when the label is longer than the input */\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\n\t\t\tmax-width: 100%;\n\n\t\t\ttransition:\n\t\t\t\ttransform var(--ck-labeled-field-view-transition),\n\t\t\t\tpadding var(--ck-labeled-field-view-transition),\n\t\t\t\tbackground var(--ck-labeled-field-view-transition);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\t& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\n\t\t& .ck-input:not([readonly]) + .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t& .ck-labeled-field-view__status {\n\t\tfont-size: var(--ck-font-size-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\n\t\t/* Let the info wrap to the next line to avoid stretching the layout horizontally.\n\t\tThe status could be very long. */\n\t\twhite-space: normal;\n\n\t\t&.ck-labeled-field-view__status_error {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t/* Disabled fields and fields that have no focus should fade out. */\n\t&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\tcolor: var(--ck-color-input-disabled-text);\n\t}\n\n\t/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t@mixin ck-dir ltr {\n\t\t\ttransform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttransform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t/* Compensate for the default translate position. */\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));\n\n\t\tbackground: transparent;\n\t\tpadding: 0;\n\t}\n\n\t/*------ DropdownView integration ----------------------------------------------------------------------------------- */\n\n\t/* Make sure dropdown\' background color in any of dropdown\'s state does not collide with labeled field. */\n\t& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {\n\t\tbackground: transparent;\n\t}\n\n\t/* When the dropdown is "empty", the labeled field label replaces its label. */\n\t&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {\n\t\topacity: 0;\n\t}\n\n\t/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},1046:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}:root{--ck-list-button-padding:calc(var(--ck-line-height-base)*0.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;width:100%}[dir=ltr] .ck.ck-list__item .ck-button{text-align:left}[dir=rtl] .ck.ck-list__item .ck-button{text-align:right}.ck.ck-list__item .ck-button{padding:var(--ck-list-button-padding)}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium);:not(.ck-hidden)~&{border-top:1px solid var(--ck-color-base-border)}}.ck-list .ck-list__group>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium)}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEdD,MACC,oJAGD,CAEA,YCLC,eDUD,CALA,+DCDE,qCDMF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cAgED,CA9DC,6BAGC,eAAgB,CAFhB,gBAAiB,CACjB,UA6CD,CA/CA,uCAME,eAyCF,CA/CA,uCAUE,gBAqCF,CA/CA,6BAgBC,qCA+BD,CA7BC,+CAEC,yEACD,CAEA,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,yBACC,oCAAqC,CAGrC,mBACC,gDACD,CAOD,CALC,mCACC,cAAe,CACf,eAAiB,CACjB,oFACD,CAGD,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-list {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-list__item,\n\t& .ck-list__separator {\n\t\tdisplay: block;\n\t}\n\n\t/* Make sure that whatever child of the list item gets focus, it remains on the\n\ttop. Thanks to that, styles like box-shadow, outline, etc. are not masked by\n\tadjacent list items. */\n\t& .ck-list__item > *:focus {\n\t\tposition: relative;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-list-button-padding:\n\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n}\n\n.ck.ck-list {\n\t@mixin ck-rounded-corners;\n\n\tlist-style-type: none;\n\tbackground: var(--ck-color-list-background);\n}\n\n.ck.ck-list__item {\n\tcursor: default;\n\tmin-width: 12em;\n\n\t& .ck-button {\n\t\tmin-height: unset;\n\t\twidth: 100%;\n\t\tborder-radius: 0;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\n\t\t/* List items should have the same height. Use absolute units to make sure it is so\n\t\t because e.g. different heading styles may have different height\n\t\t https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t& .ck-button__label {\n\t\t\t/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\t\tline-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-button-on-background);\n\t\t\tcolor: var(--ck-color-list-button-on-text);\n\n\t\t\t&:active {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-on-background-focus);\n\t\t\t}\n\n\t\t\t&:focus:not(.ck-switchbutton):not(.ck-disabled) {\n\t\t\t\tborder-color: var(--ck-color-base-background);\n\t\t\t}\n\t\t}\n\n\t\t&:hover:not(.ck-disabled) {\n\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t}\n\t}\n\n\t/* It\'s unnecessary to change the background/text of a switch toggle; it has different ways\n\tof conveying its state (like the switcher) */\n\t& .ck-switchbutton {\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-background);\n\t\t\tcolor: inherit;\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-list .ck-list__group {\n\tpadding-top: var(--ck-spacing-medium);\n\n\t/* The group should have a border when it\'s not the first item. */\n\t*:not(.ck-hidden) ~ & {\n\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t}\n\n\t& > .ck-label {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium);\n\t}\n}\n\n.ck.ck-list__separator {\n\theight: 1px;\n\twidth: 100%;\n\tbackground: var(--ck-color-base-border);\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},8793:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MAEC,8DACD,CAEA,qBACC,YAAa,CACb,iBAAkB,CAElB,yBAyCD,CAtCE,+GAEC,UAAW,CACX,iBACD,CAEA,wDACC,6CACD,CAEA,uDACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAGD,8CACC,aACD,CC9CD,MACC,6BAA8B,CAC9B,6BAA8B,CAC9B,8BAA+B,CAC/B,iCAAkC,CAClC,oEACD,CAEA,qBCLC,eDmMD,CA9LA,iFCDE,qCD+LF,CA9LA,qBAMC,2CAA4C,CAC5C,wEAAyE,CEdzE,oCAA8B,CFW9B,eA0LD,CApLE,+GAIC,kBAAmB,CADnB,QAAS,CADT,OAGD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,kDACD,CAEA,2CACC,iFAAkF,CAClF,gFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,iEAAkE,CAClE,uDAAwD,CACxD,qDACD,CAEA,2CACC,iFAAkF,CAClF,mFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,oDACD,CAEA,2CACC,iFAAkF,CAClF,kFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,mDACD,CAEA,2CACC,iFAAkF,CAClF,iFACD,CAIA,yGAEC,QAAS,CACT,uDAA0D,CAC1D,2CACD,CAIA,2GAEC,+CAAkD,CAClD,2CACD,CAIA,2GAEC,gDAAmD,CACnD,2CACD,CAIA,yGAIC,8CAAiD,CAFjD,QAAS,CACT,uDAED,CAIA,2GAGC,8CAAiD,CADjD,+CAED,CAIA,2GAGC,8CAAiD,CADjD,gDAED,CAIA,6GAIC,8CAAiD,CADjD,uDAA0D,CAD1D,SAGD,CAIA,6GAIC,8CAAiD,CAFjD,QAAS,CACT,sDAED,CAIA,6GAGC,uDAA0D,CAD1D,SAAU,CAEV,2CACD,CAIA,6GAEC,QAAS,CACT,sDAAyD,CACzD,2CACD,CAIA,yGAGC,sDAAyD,CADzD,6CAAgD,CAEhD,OACD,CAIA,yGAEC,4CAA+C,CAC/C,sDAAyD,CACzD,OACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Make sure the balloon arrow does not float over its children. */\n\t--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);\n}\n\n.ck.ck-balloon-panel {\n\tdisplay: none;\n\tposition: absolute;\n\n\tz-index: var(--ck-z-modal);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t}\n\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_visible {\n\t\tdisplay: block;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-border-width: 1px;\n\t--ck-balloon-arrow-offset: 2px;\n\t--ck-balloon-arrow-height: 10px;\n\t--ck-balloon-arrow-half-width: 8px;\n\t--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);\n}\n\n.ck.ck-balloon-panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-border) transparent;\n\t\t\tmargin-top: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-background) transparent;\n\t\t\tmargin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: var(--ck-color-panel-border) transparent transparent;\n\t\t\tfilter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));\n\t\t\tmargin-bottom: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: var(--ck-color-panel-background) transparent transparent transparent;\n\t\t\tmargin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_e"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-border);\n\t\t\tmargin-right: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-background);\n\t\t\tmargin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_w"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent var(--ck-color-panel-border) transparent transparent;\n\t\t\tmargin-left: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent var(--ck-color-panel-background) transparent transparent;\n\t\t\tmargin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_n {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_ne {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_s {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_se {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_smw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nmw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_e {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_w {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},4650:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Buttons inside a toolbar should be centered when rotator bar is wider.\n * See: https://github.com/ckeditor/ckeditor5-ui/issues/495\n */\n.ck .ck-balloon-rotator__content .ck-toolbar {\n\tjustify-content: center;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tbackground: var(--ck-color-toolbar-background);\n\tborder-bottom: 1px solid var(--ck-color-toolbar-border);\n\tpadding: 0 var(--ck-spacing-small);\n\n\t/* Let's keep similar appearance to `ck-toolbar`. */\n\t& > * {\n\t\tmargin-right: var(--ck-spacing-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t/* Gives counter more breath than buttons. */\n\t& .ck-balloon-rotator__counter {\n\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t/* We need to use smaller margin because of previous button's right margin. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n.ck .ck-balloon-rotator__content {\n\n\t/* Disable default annotation shadow inside rotator with fake panels. */\n\t& .ck.ck-annotation-wrapper {\n\t\tbox-shadow: none;\n\t}\n}\n"],sourceRoot:""}]);const m=p},7676:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-fake-panel {\n\tposition: absolute;\n\n\t/* Fake panels should be placed under main balloon content. */\n\tz-index: calc(var(--ck-z-modal) - 1);\n}\n\n.ck .ck-fake-panel div {\n\tposition: absolute;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tz-index: 2;\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tz-index: 1;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-fake-panel-offset-horizontal: 6px;\n\t--ck-balloon-fake-panel-offset-vertical: 6px;\n}\n\n/* Let\'s use `.ck-balloon-panel` appearance. See: balloonpanel.css. */\n.ck .ck-fake-panel div {\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: 1px solid var(--ck-color-panel-border);\n\tborder-radius: var(--ck-border-radius);\n\n\twidth: 100%;\n\theight: 100%;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tmargin-left: var(--ck-balloon-fake-panel-offset-horizontal);\n\tmargin-top: var(--ck-balloon-fake-panel-offset-vertical);\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);\n}\n.ck .ck-fake-panel div:nth-child( 3 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);\n}\n\n/* If balloon is positioned above element, we need to move fake panel to the top. */\n.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {\n\t--ck-balloon-fake-panel-offset-vertical: -6px;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},5868:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\tz-index: var(--ck-z-modal); /* #315 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t}\n\n\t& .ck-sticky-panel__content_sticky_bottom-limit {\n\t\ttop: auto;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\t@mixin ck-drop-shadow;\n\n\t\tborder-width: 0 1px 1px;\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},6764:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: "";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck-vertical-form > .ck-button:nth-last-child(2)::after {\n\tborder-right: 1px solid var(--ck-color-base-border);\n}\n\n.ck.ck-responsive-form {\n\tpadding: var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& > :not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& > :not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tpadding: 0;\n\t\twidth: calc(.8 * var(--ck-input-width));\n\n\t\t& .ck-labeled-field-view {\n\t\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) 0;\n\n\t\t\t& .ck-input-text {\n\t\t\t\tmin-width: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t/* Let the long error messages wrap in the narrow form. */\n\t\t\t& .ck-labeled-field-view__error {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\t\t}\n\n\t\t/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\t&::after {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\n\t\t& > .ck-button:nth-last-child(1),\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\tpadding: var(--ck-spacing-standard);\n\t\t\tmargin-top: var(--ck-spacing-large);\n\t\t\tborder-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const m=p},6770:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/search/search.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/search/search.css"],names:[],mappings:"AASE,oFACC,iBAAkB,CAClB,OAAQ,CACR,0BASD,CAZA,8FAME,6BAMF,CAZA,8FAUE,8BAEF,CAEA,uDACC,iBAAkB,CAClB,OAAQ,CACR,0BACD,CAKC,oEACC,aACD,CAGA,qEACC,YACD,CChCH,MACC,8FACD,CAIE,+CACC,UACD,CAEA,gEACC,0FAoBD,CAlBC,+GACC,UAAW,CACX,mBACD,CAEA,0EACC,UAWD,CAJE,kMACC,2DACD,CAKH,iEACC,sGAwCD,CAtCC,6FACC,6HACD,CAEA,mFAIC,eAAgB,CAFhB,eAAgB,CADhB,cAAe,CAIf,UAAW,CACX,SAaD,CAnBA,6FASE,8BAUF,CAnBA,6FAaE,6BAMF,CAHC,yFACC,SACD,CAGD,2EACC,UAWD,CAZA,oMAUE,4DAEF,CAIF,kCACC,cAkBD,CAhBC,mDAEC,wDAAyD,CADzD,UAcD,CAXC,qDACC,kBACD,CAEA,oEACC,eACD,CAEA,mEACC,mCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\n\t\t& .ck-search__reset {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\t& > .ck-search__info {\n\t\t\t& > span:first-child {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t/* Hide the filtered view when nothing was found */\n\t\t\t&:not(.ck-hidden) ~ * {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));\n}\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& .ck-input {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t&.ck-search__query_with-icon {\n\t\t\t--ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\t\topacity: .5;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-search__query_with-reset {\n\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t&.ck-labeled-field-view_empty {\n\t\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t& .ck-search__reset {\n\t\t\t\tmin-width: auto;\n\t\t\t\tmin-height: auto;\n\n\t\t\t\tbackground: none;\n\t\t\t\topacity: .5;\n\t\t\t\tpadding: 0;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t&:hover {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\tmin-width: 100%;\n\n\t\t& > .ck-search__info {\n\t\t\twidth: 100%;\n\t\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\n\t\t\t& * {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\n\t\t\t& > span:first-child {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\n\t\t\t& > span:last-child {\n\t\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const m=p},498:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:rotate 1.5s linear infinite}.ck.ck-spinner,.ck.ck-spinner-container{height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent}@keyframes rotate{to{transform:rotate(1turn)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/spinner/spinner.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/spinner/spinner.css"],names:[],mappings:"AASA,yBACC,aAAc,CACd,iBACD,CAEA,eAGC,MAAO,CAEP,aAAc,CAJd,iBAAkB,CAGlB,OAAQ,CAFR,OAAQ,CAIR,0BAA2B,CAC3B,SACD,CCjBA,MACC,8BACD,CAEA,yBAGC,qCACD,CAEA,wCAJC,qCAAsC,CADtC,oCAWD,CANA,eAKC,qCAA6B,CAF7B,iBAAkB,CAElB,gCACD,CAEA,kBACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\tdisplay: block;\n\tposition: relative;\n}\n\n.ck.ck-spinner {\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 0;\n\tright: 0;\n\tmargin: 0 auto;\n\ttransform: translateY(-50%);\n\tz-index: 1;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tanimation: 1.5s infinite rotate linear;\n}\n\n.ck.ck-spinner {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tborder-radius: 50%;\n\tborder: 2px solid var(--ck-color-text);\n\tborder-top-color: transparent;\n}\n\n@keyframes rotate {\n\tto {\n\t\ttransform: rotate(360deg)\n\t}\n}\n\n"],sourceRoot:""}]);const m=p},8182:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-textarea{overflow-x:hidden}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/textarea/textarea.css"],names:[],mappings:"AASA,aACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.\n * This bug is especially visible when rows=1.\n */\n.ck-textarea {\n\toverflow-x: hidden\n}\n"],sourceRoot:""}]);const m=p},9695:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-block-toolbar-button {\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-block-toolbar-button: var(--ck-color-text);\n\t--ck-block-toolbar-button-size: var(--ck-font-size-normal);\n}\n\n.ck.ck-block-toolbar-button {\n\tcolor: var(--ck-color-block-toolbar-button);\n\tfont-size: var(--ck-block-toolbar-size);\n}\n"],sourceRoot:""}]);const m=p},5542:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/toolbar.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,eAKC,kBAAmB,CAFnB,YAAa,CACb,oBAAqB,CCFrB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD6CD,CA3CC,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,WAED,CAEA,yCACC,oBAWD,CAJC,yGAEC,YACD,CAGD,uCACC,eACD,CAEA,sDACC,gBACD,CAEA,sDACC,qBACD,CAEA,sDACC,gBACD,CAGC,yFACC,YACD,CE/CF,eCGC,eDwGD,CA3GA,qECOE,qCDoGF,CA3GA,eAGC,6CAA8C,CAE9C,+CAAgD,CADhD,iCAuGD,CApGC,yCACC,kBAAmB,CAGnB,yCAA0C,CAO1C,qCAAsC,CADtC,kCAAmC,CAPnC,aAAc,CADd,SAUD,CAEA,uCACC,QACD,CAGC,gEAEC,oCACD,CAIA,kEACC,YACD,CAGD,gHAIC,qCAAsC,CADtC,kCAED,CAEA,mCAEC,SAaD,CAVC,0DAQC,eAAgB,CAHhB,QAAS,CAHT,UAOD,CAGD,kCAEC,SAWD,CATC,uDAEC,QAMD,CAHC,yFACC,eACD,CASD,kFACC,mCACD,CAMA,wEACC,cACD,CAEA,iFACC,aAAc,CACd,UACD,CAGD,qBACC,YACD,CAtGD,qCAyGE,QAEF,CAYC,+FACC,cACD,CAEA,iJAEC,mCACD,CAEA,qHACC,aACD,CAIC,6JAEC,2BAA4B,CAD5B,wBAED,CAGA,2JAEC,4BAA6B,CAD7B,yBAED,CASD,8RACC,mCACD,CAWA,qHACC,cACD,CAIC,6JAEC,4BAA6B,CAD7B,yBAED,CAGA,2JAEC,2BAA4B,CAD5B,wBAED,CASD,8RACC,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\talign-items: center;\n\n\t& > .ck-toolbar__items {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\talign-items: center;\n\t\tflex-grow: 1;\n\n\t}\n\n\t& .ck.ck-toolbar__separator {\n\t\tdisplay: inline-block;\n\n\t\t/*\n\t\t * A leading or trailing separator makes no sense (separates from nothing on one side).\n\t\t * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and\n\t\t * moved to another toolbar in the dropdown.\n\t\t */\n\t\t&:first-child,\n\t\t&:last-child {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\tflex-basis: 100%;\n\t}\n\n\t&.ck-toolbar_grouping > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t&.ck-toolbar_vertical > .ck-toolbar__items {\n\t\tflex-direction: column;\n\t}\n\n\t&.ck-toolbar_floating > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t& > .ck-dropdown__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-toolbar-background);\n\tpadding: 0 var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\n\t& .ck.ck-toolbar__separator {\n\t\talign-self: stretch;\n\t\twidth: 1px;\n\t\tmin-width: 1px;\n\t\tbackground: var(--ck-color-toolbar-border);\n\n\t\t/*\n\t\t * These margins make the separators look better in balloon toolbars (when aligned with the "tip").\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/7493.\n\t\t */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\theight: 0;\n\t}\n\n\t& > .ck-toolbar__items {\n\t\t& > *:not(.ck-toolbar__line-break) {\n\t\t\t/* (#11) Separate toolbar items. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/* Don\'t display a separator after an empty items container, for instance,\n\t\twhen all items were grouped */\n\t\t&:empty + .ck.ck-toolbar__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/* Make sure items wrapped to the next line have v-spacing */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t&.ck-toolbar_vertical {\n\t\t/* Items in a vertical toolbar span the entire width. */\n\t\tpadding: 0;\n\n\t\t/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */\n\t\t& > .ck-toolbar__items > .ck {\n\t\t\t/* Items in a vertical toolbar should span the horizontal space. */\n\t\t\twidth: 100%;\n\n\t\t\t/* Items in a vertical toolbar should have no margin. */\n\t\t\tmargin: 0;\n\n\t\t\t/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t&.ck-toolbar_compact {\n\t\t/* No spacing around items. */\n\t\tpadding: 0;\n\n\t\t& > .ck-toolbar__items > * {\n\t\t\t/* Compact toolbar items have no spacing between them. */\n\t\t\tmargin: 0;\n\n\t\t\t/* "Middle" children should have no rounded corners. */\n\t\t\t&:not(:first-child):not(:last-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/*\n\t\t * Dropdown button has asymmetric padding to fit the arrow.\n\t\t * This button has no arrow so let\'s revert that padding back to normal.\n\t\t */\n\t\t& > .ck.ck-button.ck-dropdown__button {\n\t\t\tpadding-left: var(--ck-spacing-tiny);\n\t\t}\n\t}\n\n\t/* A drop-down containing the nested toolbar with configured items. */\n\t& .ck-toolbar__nested-toolbar-dropdown {\n\t\t/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */\n\t\t& > .ck-dropdown__panel {\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& > .ck-button > .ck-button__label {\n\t\t\tmax-width: 7em;\n\t\t\twidth: auto;\n\t\t}\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t@nest .ck-toolbar-container & {\n\t\tborder: 0;\n\t}\n}\n\n/* stylelint-disable */\n\n/*\n * Styles for RTL toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="rtl"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="rtl"] {\n\t& > .ck-toolbar__items > .ck {\n\t\tmargin-right: 0;\n\t}\n\n\t&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {\n\t\t/* (#11) Separate toolbar items. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-left: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n/*\n * Styles for LTR toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="ltr"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="ltr"] {\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-right: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n}\n\n/* stylelint-enable */\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const m=p},3332:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDRnC,mBAAoB,CAEpB,qCACD,CCOC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAEA,wEAEC,oBAAqB,CACrB,wCAAyC,CAFzC,wBAGD,CApBD,gCAuBC,eAMD,CAHC,uCACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t/* Keep tooltips transparent for any interactions. */\n\tpointer-events: none;\n\n\tz-index: calc( var(--ck-z-modal) + 100 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t--ck-balloon-border-width: 0px;\n\t--ck-balloon-arrow-offset: 0px;\n\t--ck-balloon-arrow-half-width: 4px;\n\t--ck-balloon-arrow-height: 4px;\n\t--ck-tooltip-text-padding: 4px;\n\t--ck-color-panel-background: var(--ck-color-tooltip-background);\n\n\tpadding: 0 var(--ck-spacing-medium);\n\n\t& .ck-tooltip__text {\n\t\tfont-size: .9em;\n\t\tline-height: 1.5;\n\t\tcolor: var(--ck-color-tooltip-text);\n\t}\n\n\t&.ck-tooltip_multi-line .ck-tooltip__text {\n\t\twhite-space: break-spaces;\n\t\tdisplay: inline-block;\n\t\tpadding: var(--ck-tooltip-text-padding) 0;\n\t}\n\n\t/* Reset balloon panel styles */\n\tbox-shadow: none;\n\n\t/* Hide the default shadow of the .ck-balloon-panel tip */\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const m=p},4793:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-modal) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/globals/_hidden.css","webpack://./../ckeditor5-ui/theme/globals/_reset.css","webpack://./../ckeditor5-ui/theme/globals/_zindex.css","webpack://./../ckeditor5-ui/theme/globals/_transition.css","webpack://./../ckeditor5-ui/theme/globals/_poweredby.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_focus.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_fonts.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_reset.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_spacing.css"],names:[],mappings:"AAQA,WAGC,sBACD,CCPA,2EAGC,qBAAsB,CAEtB,WAAY,CACZ,eAAgB,CAFhB,UAGD,CCPA,MACC,gBAAiB,CACjB,4CACD,CCAA,oDAEC,yBACD,CCNA,MACC,gCAAiC,CACjC,oCAAqC,CACrC,sCAAuC,CACvC,kCAA2C,CAC3C,qDAAsD,CACtD,+BAA4C,CAC5C,yDACD,CAEA,2CACC,qDAAsD,CAGtD,0CAA2C,CAD3C,eAAgB,CAEhB,gBAAiB,CACjB,mCAiDD,CA/CC,6DACC,4CAoCD,CAlCC,+DAGC,kBAAmB,CAFnB,cAAe,CACf,YAAa,CAGb,qBAAsB,CACtB,4CAA6C,CAF7C,WAAY,CAGZ,qFACD,CAEA,mFASC,qCAAsC,CAFtC,cAAe,CANf,eAAgB,CAIhB,eAAiB,CAHjB,oBAAqB,CAMrB,kBAAmB,CAFnB,gBAAiB,CAHjB,gBAAiB,CACjB,wBAOD,CAEA,sEAEC,cAAe,CADf,aAED,CAGC,qEACC,mBAAqB,CACrB,SACD,CAIF,mEACC,wBACD,CAEA,mEACC,2BAA4B,CAC5B,8CACD,CChED,MACC,kCAAmD,CACnD,+BAAoD,CACpD,8BAAkD,CAClD,8BAAuD,CACvD,6BAAmD,CACnD,yBAA+C,CAC/C,8BAAsD,CACtD,oCAA4D,CAC5D,6BAAkD,CAIlD,mDAA4D,CAC5D,qEAA+E,CAC/E,qCAA4D,CAC5D,qDAA8D,CAC9D,gDAAyD,CACzD,yCAAqD,CACrD,sCAAsD,CACtD,4CAA0D,CAC1D,sCAAsD,CAItD,gDAAuD,CACvD,kDAAiE,CACjE,mDAAkE,CAClE,yDAA8D,CAE9D,uCAA6D,CAC7D,6CAAoE,CACpE,8CAAoE,CACpE,gDAAiE,CACjE,kCAAyD,CAGzD,+DAAsE,CACtE,iDAAsE,CACtE,kDAAsE,CACtE,oDAAoE,CACpE,6DAAsE,CAEtE,8BAAoD,CACpD,gCAAqD,CAErD,+CAA8D,CAC9D,qDAAiE,CACjE,+EAAqF,CACrF,oDAAuE,CACvE,yEAA8E,CAC9E,oDAAgE,CAIhE,oEAA2E,CAC3E,4DAAoE,CAIpE,2DAAoE,CACpE,mDAA6D,CAC7D,wDAAgE,CAChE,+CAA0D,CAC1D,4CAA2D,CAC3D,4DAAoE,CACpE,sCAAsD,CAItD,0DAAmE,CACnE,uFAA6F,CAC7F,oEAA2E,CAC3E,0EAA+E,CAC/E,8DAAsE,CAItE,2DAAoE,CACpE,mDAA6D,CAI7D,6DAAsE,CACtE,qDAA+D,CAI/D,uDAAgE,CAChE,uDAAiE,CAIjE,0CAAyD,CAIzD,wCAA2D,CAI3D,+BAAoD,CACpD,uDAAmE,CACnE,kDAAgE,CAIhE,oCAAyD,CAIzD,yBAAgD,CC3GhD,wBAAyB,CCAzB,0CAA2C,CAK3C,gGAAiG,CAKjG,4GAA6G,CAK7G,sGAAuG,CAKvG,sDAAuD,CCvBvD,wBAAyB,CACzB,6BAA8B,CAC9B,wDAA6D,CAE7D,yBAA0B,CAC1B,2BAA4B,CAC5B,yBAA0B,CAC1B,wBAAyB,CACzB,0BAA2B,CCJ3B,kCJ2GD,CIrGA,2EAaC,oBAAqB,CANrB,sBAAuB,CADvB,QAAS,CAFT,QAAS,CACT,SAAU,CAGV,oBAAqB,CAErB,eAAgB,CADhB,qBAKD,CAKA,8DAGC,wBAAyB,CAEzB,0BAA2B,CAG3B,WAAY,CACZ,UAAW,CALX,iGAAkG,CAElG,eAAgB,CAChB,kBAGD,CAGC,qDACC,gBACD,CAEA,mDAEC,sBACD,CAEA,qDACC,oBACD,CAEA,mLAGC,WACD,CAEA,iNAGC,cACD,CAEA,qDAEC,yBAAoC,CADpC,YAED,CAEA,qEAGC,QAAQ,CADR,SAED,CAMD,8BAEC,gBACD,CCnFA,MACC,sBAAuB,CCAvB,gEAAiE,CAKjE,0DAA2D,CAK3D,wEAAyE,CCbzE,uBAA8B,CAC9B,mDAA2D,CAC3D,4CAAkD,CAClD,oDAA4D,CAC5D,mDAA2D,CAC3D,kDAA2D,CAC3D,yDFFD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which hides an element in DOM.\n */\n.ck-hidden {\n\t/* Override selector specificity. Otherwise, all elements with some display\n\tstyle defined will override this one, which is not a desired result. */\n\tdisplay: none !important;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\tbox-sizing: border-box;\n\twidth: auto;\n\theight: auto;\n\tposition: static;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-z-default: 1;\n\t--ck-z-modal: calc( var(--ck-z-default) + 999 );\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class that disables all transitions of the element and its children.\n */\n.ck-transitions-disabled,\n.ck-transitions-disabled * {\n\ttransition: none !important;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-powered-by-line-height: 10px;\n\t--ck-powered-by-padding-vertical: 2px;\n\t--ck-powered-by-padding-horizontal: 4px;\n\t--ck-powered-by-text-color: hsl(0, 0%, 31%);\n\t--ck-powered-by-border-radius: var(--ck-border-radius);\n\t--ck-powered-by-background: hsl(0, 0%, 100%);\n\t--ck-powered-by-border-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-balloon-panel.ck-powered-by-balloon {\n\t--ck-border-radius: var(--ck-powered-by-border-radius);\n\n\tbox-shadow: none;\n\tbackground: var(--ck-powered-by-background);\n\tmin-height: unset;\n\tz-index: calc( var(--ck-z-modal) - 1 );\n\n\t& .ck.ck-powered-by {\n\t\tline-height: var(--ck-powered-by-line-height);\n\n\t\t& a {\n\t\t\tcursor: pointer;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\topacity: .66;\n\t\t\tfilter: grayscale(80%);\n\t\t\tline-height: var(--ck-powered-by-line-height);\n\t\t\tpadding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);\n\t\t}\n\n\t\t& .ck-powered-by__label {\n\t\t\tfont-size: 7.5px;\n\t\t\tletter-spacing: -.2px;\n\t\t\tpadding-left: 2px;\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tmargin-right: 4px;\n\t\t\tcursor: pointer;\n\t\t\tline-height: normal;\n\t\t\tcolor: var(--ck-powered-by-text-color);\n\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: block;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t&:hover {\n\t\t\t& a {\n\t\t\t\tfilter: grayscale(0%);\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[class*="position_inside"] {\n\t\tborder-color: transparent;\n\t}\n\n\t&[class*="position_border"] {\n\t\tborder: var(--ck-focus-ring);\n\t\tborder-color: var(--ck-powered-by-border-color);\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-base-foreground: \t\t\t\t\t\t\t\thsl(0, 0%, 98%);\n\t--ck-color-base-background: \t\t\t\t\t\t\t\thsl(0, 0%, 100%);\n\t--ck-color-base-border: \t\t\t\t\t\t\t\t\thsl(220, 6%, 81%);\n\t--ck-color-base-action: \t\t\t\t\t\t\t\t\thsl(104, 50.2%, 42.5%);\n\t--ck-color-base-focus: \t\t\t\t\t\t\t\t\t\thsl(209, 92%, 70%);\n\t--ck-color-base-text: \t\t\t\t\t\t\t\t\t\thsl(0, 0%, 20%);\n\t--ck-color-base-active: \t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\t--ck-color-base-active-focus:\t\t\t\t\t\t\t\thsl(218.2, 100%, 52.5%);\n\t--ck-color-base-error:\t\t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------ */\n\n\t--ck-color-focus-border-coordinates: \t\t\t\t\t\t218, 81.8%, 56.9%;\n\t--ck-color-focus-border: \t\t\t\t\t\t\t\t\thsl(var(--ck-color-focus-border-coordinates));\n\t--ck-color-focus-outer-shadow:\t\t\t\t\t\t\t\thsl(212.4, 89.3%, 89%);\n\t--ck-color-focus-disabled-shadow:\t\t\t\t\t\t\thsla(209, 90%, 72%,.3);\n\t--ck-color-focus-error-shadow:\t\t\t\t\t\t\t\thsla(9,100%,56%,.3);\n\t--ck-color-text: \t\t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-shadow-drop: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.15);\n\t--ck-color-shadow-drop-active:\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.2);\n\t--ck-color-shadow-inner: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Buttons ------------------------------------------------------------------------------- */\n\n\t--ck-color-button-default-background: \t\t\t\t\t\ttransparent;\n\t--ck-color-button-default-hover-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-active-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-disabled-background: \t\t\t\ttransparent;\n\n\t--ck-color-button-on-background: \t\t\t\t\t\t\thsl(212, 100%, 97.1%);\n\t--ck-color-button-on-hover-background: \t\t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-active-background: \t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-disabled-background: \t\t\t\t\thsl(211, 15%, 95%);\n\t--ck-color-button-on-color:\t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\n\n\t--ck-color-button-action-background: \t\t\t\t\t\tvar(--ck-color-base-action);\n\t--ck-color-button-action-hover-background: \t\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-active-background: \t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-disabled-background: \t\t\t\thsl(104, 44%, 58%);\n\t--ck-color-button-action-text: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t--ck-color-button-save: \t\t\t\t\t\t\t\t\thsl(120, 100%, 27%);\n\t--ck-color-button-cancel: \t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t--ck-color-switch-button-off-background:\t\t\t\t\thsl(0, 0%, 57.6%);\n\t--ck-color-switch-button-off-hover-background:\t\t\t\thsl(0, 0%, 49%);\n\t--ck-color-switch-button-on-background:\t\t\t\t\t\tvar(--ck-color-button-action-background);\n\t--ck-color-switch-button-on-hover-background:\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-switch-button-inner-background:\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-switch-button-inner-shadow:\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Dropdown ------------------------------------------------------------------------------ */\n\n\t--ck-color-dropdown-panel-background: \t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-dropdown-panel-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Input --------------------------------------------------------------------------------- */\n\n\t--ck-color-input-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-input-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-error-border:\t\t\t\t\t\t\t\tvar(--ck-color-base-error);\n\t--ck-color-input-text: \t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-input-disabled-background: \t\t\t\t\t\thsl(0, 0%, 95%);\n\t--ck-color-input-disabled-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-disabled-text: \t\t\t\t\t\t\thsl(0, 0%, 46%);\n\n\t/* -- List ---------------------------------------------------------------------------------- */\n\n\t--ck-color-list-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-list-button-hover-background: \t\t\t\t\tvar(--ck-color-button-default-hover-background);\n\t--ck-color-list-button-on-background: \t\t\t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-background-focus: \t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-text:\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Panel --------------------------------------------------------------------------------- */\n\n\t--ck-color-panel-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-panel-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Toolbar ------------------------------------------------------------------------------- */\n\n\t--ck-color-toolbar-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-toolbar-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Tooltip ------------------------------------------------------------------------------- */\n\n\t--ck-color-tooltip-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-tooltip-text: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Engine -------------------------------------------------------------------------------- */\n\n\t--ck-color-engine-placeholder-text: \t\t\t\t\t\thsl(0, 0%, 44%);\n\n\t/* -- Upload -------------------------------------------------------------------------------- */\n\n\t--ck-color-upload-bar-background:\t\t \t\t\t\t\thsl(209, 92%, 70%);\n\n\t/* -- Link -------------------------------------------------------------------------------- */\n\n\t--ck-color-link-default:\t\t\t\t\t\t\t\t\thsl(240, 100%, 47%);\n\t--ck-color-link-selected-background:\t\t\t\t\t\thsla(201, 100%, 56%, 0.1);\n\t--ck-color-link-fake-selection:\t\t\t\t\t\t\t\thsla(201, 100%, 56%, 0.3);\n\n\t/* -- Search result highlight ---------------------------------------------------------------- */\n\n\t--ck-color-highlight-background:\t\t\t\t\t\t\thsl(60, 100%, 50%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------- */\n\n\t--ck-color-light-red:\t\t\t\t\t\t\t\t\t\thsl(0, 100%, 90%);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * An opacity value of disabled UI item.\n\t */\n\t--ck-disabled-opacity: .5;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * The geometry of the of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow-geometry: 0 0 0 3px;\n\n\t/**\n\t * A visual style of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when disabled).\n\t */\n\t--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when has errors).\n\t */\n\t--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);\n\n\t/**\n\t * A visual style of focused element's border or outline.\n\t */\n\t--ck-focus-ring: 1px solid var(--ck-color-focus-border);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-font-size-base: 13px;\n\t--ck-line-height-base: 1.84615;\n\t--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\n\t--ck-font-size-tiny: 0.7em;\n\t--ck-font-size-small: 0.75em;\n\t--ck-font-size-normal: 1em;\n\t--ck-font-size-big: 1.4em;\n\t--ck-font-size-large: 1.8em;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* This is super-important. This is **manually** adjusted so a button without an icon\n\tis never smaller than a button with icon, additionally making sure that text-less buttons\n\tare perfect squares. The value is also shared by other components which should stay "in-line"\n\twith buttons. */\n\t--ck-ui-component-min-height: 2.3em;\n}\n\n/**\n * Resets an element, ignoring its children.\n */\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* Do not include inheritable rules here. */\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: transparent;\n\ttext-decoration: none;\n\tvertical-align: middle;\n\ttransition: none;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */\n\tword-wrap: break-word;\n}\n\n/**\n * Resets an element AND its children.\n */\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* These are rule inherited by all children elements. */\n\tborder-collapse: collapse;\n\tfont: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);\n\tcolor: var(--ck-color-text);\n\ttext-align: left;\n\twhite-space: nowrap;\n\tcursor: auto;\n\tfloat: none;\n}\n\n.ck-reset_all {\n\t& .ck-rtl *:not(.ck-reset_all-excluded *) {\n\t\ttext-align: right;\n\t}\n\n\t& iframe:not(.ck-reset_all-excluded *) {\n\t\t/* For IE */\n\t\tvertical-align: inherit;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *) {\n\t\twhite-space: pre-wrap;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *),\n\t& input[type="text"]:not(.ck-reset_all-excluded *),\n\t& input[type="password"]:not(.ck-reset_all-excluded *) {\n\t\tcursor: text;\n\t}\n\n\t& textarea[disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="text"][disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {\n\t\tcursor: default;\n\t}\n\n\t& fieldset:not(.ck-reset_all-excluded *) {\n\t\tpadding: 10px;\n\t\tborder: 2px groove hsl(255, 7%, 88%);\n\t}\n\n\t& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {\n\t\t/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */\n\t\tpadding: 0;\n\t\tborder: 0\n\t}\n}\n\n/**\n * Default UI rules for RTL languages.\n */\n.ck[dir="rtl"],\n.ck[dir="rtl"] .ck {\n\ttext-align: right;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Default border-radius value.\n */\n:root{\n\t--ck-border-radius: 2px;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * A visual style of element's inner shadow (i.e. input).\n\t */\n\t--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;\n\n\t/**\n\t * A visual style of element's drop shadow (i.e. panel).\n\t */\n\t--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);\n\n\t/**\n\t * A visual style of element's active shadow (i.e. comment or suggestion).\n\t */\n\t--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-spacing-unit: \t\t\t\t\t\t0.6em;\n\t--ck-spacing-large: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 1.5);\n\t--ck-spacing-standard: \t\t\t\t\tvar(--ck-spacing-unit);\n\t--ck-spacing-medium: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.8);\n\t--ck-spacing-small: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.5);\n\t--ck-spacing-tiny: \t\t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.3);\n\t--ck-spacing-extra-tiny: \t\t\t\tcalc(var(--ck-spacing-unit) * 0.16);\n}\n"],sourceRoot:""}]);const m=p},3488:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widget.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,+CAAgD,CAChD,6CAAsD,CACtD,uCAAgD,CAEhD,kDAAmD,CACnD,gCAAiC,CACjC,kEACD,CAOA,8DAEC,iBAqBD,CAnBC,4EACC,iBAOD,CALC,qFAGC,aACD,CASD,iLACC,kBACD,CAGD,kBACC,qDAAsD,CAEtD,qDAAsD,CACtD,6CAA8C,CAF9C,0CAA2C,CAI3C,aAAc,CADd,kCAAmC,CAGnC,uCAAwC,CACxC,4CAA6C,CAF7C,iCAsCD,CAlCC,8NAKC,iBACD,CAEA,0CAEC,qCAAsC,CADtC,oCAED,CAEA,2CAEC,sCAAuC,CADvC,oCAED,CAEA,8CACC,uCAAwC,CACxC,sCACD,CAEA,6CACC,uCAAwC,CACxC,qCACD,CAGA,8CAEC,QAAS,CADT,6CAAgD,CAEhD,yBACD,CCjFD,MACC,iCAAkC,CAClC,kCAAmC,CACnC,4CAA6C,CAC7C,wCAAyC,CAEzC,wCAAiD,CACjD,sCAAkD,CAClD,2EAA4E,CAC5E,yEACD,CAEA,eAGC,yBAA0B,CAD1B,mBAAoB,CADpB,gDAAiD,CAGjD,6GAUD,CARC,0EAEC,6EACD,CAEA,qBACC,iDACD,CAGD,gCACC,4BAWD,CAPC,yGAKC,iEAAkE,CCnCnE,2BAA2B,CCF3B,qCAA8B,CDC9B,YDqCA,CAIA,4EAKC,4BAA6B,CAa7B,iEAAkE,CAhBlE,qBAAsB,CAoBtB,mDAAoD,CAhBpD,SAAU,CALV,WAAY,CAsBZ,KAAM,CAFN,2BAA4B,CAT5B,6SAgCD,CAnBC,qFAIC,oDAAqD,CADrD,yCAA0C,CAD1C,wCAWD,CANC,kHACC,SAAU,CAGV,+DACD,CAID,wHACC,SACD,CAID,kFAEC,oDAAqD,CADrD,SAED,CAKC,oMAEC,6CAA8C,CAD9C,SAOD,CAHC,gRACC,SACD,CAOH,qFACC,SAAU,CACV,oDACD,CAGA,gDAEC,eAkBD,CAhBC,yEAOC,iCACD,CAGC,gOAEC,gDACD,CAOD,wIAEC,mDAQD,CALE,ghBAEC,gDACD,CAKH,yKAOC,yDACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n\n:root {\n\t--ck-widget-outline-thickness: 3px;\n\t--ck-widget-handler-icon-size: 16px;\n\t--ck-widget-handler-animation-duration: 200ms;\n\t--ck-widget-handler-animation-curve: ease;\n\n\t--ck-color-widget-blurred-border: hsl(0, 0%, 87%);\n\t--ck-color-widget-hover-border: hsl(43, 100%, 62%);\n\t--ck-color-widget-editable-focus-background: var(--ck-color-base-background);\n\t--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);\n}\n\n.ck .ck-widget {\n\toutline-width: var(--ck-widget-outline-thickness);\n\toutline-style: solid;\n\toutline-color: transparent;\n\ttransition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);\n\t}\n\n\t&:hover {\n\t\toutline-color: var(--ck-color-widget-hover-border);\n\t}\n}\n\n.ck .ck-editor__nested-editable {\n\tborder: 1px solid transparent;\n\n\t/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.\n\tThese styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */\n\t&.ck-editor__nested-editable_focused,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\n\t\tbackground-color: var(--ck-color-widget-editable-focus-background);\n\t}\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t& .ck-widget__selection-handle {\n\t\tpadding: 4px;\n\t\tbox-sizing: border-box;\n\n\t\t/* Background and opacity will be animated as the handler shows up or the widget gets selected. */\n\t\tbackground-color: transparent;\n\t\topacity: 0;\n\n\t\t/* Transition:\n\t\t * background-color for the .ck-widget_selected state change,\n\t\t * visibility for hiding the handler,\n\t\t * opacity for the proper look of the icon when the handler disappears. */\n\t\ttransition:\n\t\t\tbackground-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\tvisibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\topacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t/* Make only top corners round. */\n\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\n\t\t/* Place the drag handler outside the widget wrapper. */\n\t\ttransform: translateY(-100%);\n\t\tleft: calc(0px - var(--ck-widget-outline-thickness));\n\t\ttop: 0;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the dimensions of the icon are independent of the fon-size of the content. */\n\t\t\twidth: var(--ck-widget-handler-icon-size);\n\t\t\theight: var(--ck-widget-handler-icon-size);\n\t\t\tcolor: var(--ck-color-widget-drag-handler-icon-color);\n\n\t\t\t/* The "selected" part of the icon is invisible by default */\n\t\t\t& .ck-icon__selected-indicator {\n\t\t\t\topacity: 0;\n\n\t\t\t\t/* Note: The animation is longer on purpose. Simply feels better. */\n\t\t\t\ttransition: opacity 300ms var(--ck-widget-handler-animation-curve);\n\t\t\t}\n\t\t}\n\n\t\t/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */\n\t\t&:hover .ck-icon .ck-icon__selected-indicator {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\topacity: 1;\n\t\tbackground-color: var(--ck-color-widget-hover-border);\n\t}\n\n\t/* Show the selection handler when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\t& > .ck-widget__selection-handle {\n\t\t\topacity: 1;\n\t\t\tbackground-color: var(--ck-color-focus-border);\n\n\t\t\t/* When the widget is selected, notify the user using the proper look of the icon. */\n\t\t\t& .ck-icon .ck-icon__selected-indicator {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* In a RTL environment, align the selection handler to the right side of the widget */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\tleft: auto;\n\tright: calc(0px - var(--ck-widget-outline-thickness));\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/6415 */\n.ck.ck-editor__editable.ck-read-only .ck-widget {\n\t/* Prevent the :hover outline from showing up because of the used outline-color transition. */\n\ttransition: none;\n\n\t&:not(.ck-widget_selected) {\n\t\t/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/1261\n\t\t *\n\t\t * Leave the unit because this custom property is used in calc() by other features.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/6775\n\t\t */\n\t\t--ck-widget-outline-thickness: 0px;\n\t}\n\n\t&.ck-widget_with-selection-handle {\n\t\t& .ck-widget__selection-handle,\n\t\t& .ck-widget__selection-handle:hover {\n\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t}\n\t}\n}\n\n/* Style the widget when it\'s selected but the editable it belongs to lost focus. */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck.ck-editor__editable.ck-blurred .ck-widget {\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline-color: var(--ck-color-widget-blurred-border);\n\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t& > .ck-widget__selection-handle,\n\t\t\t& > .ck-widget__selection-handle:hover {\n\t\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,\n.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {\n\t/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.\n\tIn fact, anything with overflow: hidden.\n\thttps://github.com/ckeditor/ckeditor5-block-quote/issues/28\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/44\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/66 */\n\tmargin-top: calc(1em + var(--ck-widget-handler-icon-size));\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const m=p},8506:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-resizer-size: 10px;\n\n\t/* Set the resizer with a 50% offset. */\n\t--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);\n\t--ck-resizer-border-width: 1px;\n}\n\n.ck .ck-widget__resizer {\n\toutline: 1px solid var(--ck-color-resizer);\n}\n\n.ck .ck-widget__resizer__handle {\n\twidth: var(--ck-resizer-size);\n\theight: var(--ck-resizer-size);\n\tbackground: var(--ck-color-focus-border);\n\tborder: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);\n\tborder-radius: var(--ck-resizer-border-radius);\n\n\t&.ck-widget__resizer__handle-top-left {\n\t\ttop: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-top-right {\n\t\ttop: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n}\n"],sourceRoot:""}]);const m=p},4921:(t,C,g)=>{"use strict";g.d(C,{Z:()=>m});var f=g(1799),h=g.n(f),_=g(2609),p=g.n(_)()(h());p.push([t.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgettypearound.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css"],names:[],mappings:"AASC,+CACC,aAAc,CAEd,eAAgB,CADhB,iBAAkB,CAElB,2BAwBD,CAtBC,mDAGC,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAEA,qFAGC,kBAAoB,CADpB,gDAAoD,CAGpD,0BACD,CAEA,oFAEC,mDAAuD,CACvD,mBAAqB,CAErB,yBACD,CAUA,mLACC,UAAW,CACX,aAAc,CAGd,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAMD,2EACC,YAAa,CAEb,MAAO,CADP,iBAAkB,CAElB,OACD,CAOA,iFACC,gDAAqD,CACrD,iDACD,CAKA,wHAEC,aAAc,CADd,qDAED,CAKA,uHACC,wDAA6D,CAC7D,aACD,CAoBD,mOACC,YACD,CC3GA,MACC,wCAAyC,CACzC,wEAAyE,CACzE,8EAA+E,CAC/E,2FAA4F,CAC5F,wDAAyD,CACzD,uDAAwD,CACxD,yEACD,CAgBC,+CAGC,oDAAqD,CACrD,mBAAoB,CAFpB,+CAAgD,CAVjD,SAAU,CACV,mBAAoB,CAYnB,uMAAyM,CAJzM,8CAkDD,CA1CC,mDAEC,UAAW,CAGX,cAAe,CAFf,8BAA+B,CAC/B,6BAA8B,CAH9B,UAoBD,CAdC,qDACC,mBAAoB,CACpB,mBAAoB,CAEpB,SAAU,CACV,qDAAsD,CACtD,kBAAmB,CACnB,oBAAqB,CACrB,qBACD,CAEA,wDACC,kBACD,CAGD,qDAIC,6DAcD,CARE,kEACC,oDACD,CAEA,8DACC,wDACD,CAUF,uKAvED,SAAU,CACV,mBAwEC,CAOD,gGACC,0DACD,CAOA,uKAEC,2DAQD,CANC,mLAIC,uEAAkF,CADlF,mBAAoB,CADpB,2DAA4D,CAD5D,0DAID,CAOD,8GACC,gBACD,CAKA,mDAGC,mFAAoF,CAOpF,oCAAqC,CARrC,UAAW,CAOX,oCAAwC,CARxC,mBAUD,CAOC,6JAEC,yBACD,CAUA,yKACC,iDACD,CAMA,uOAlJD,SAAU,CACV,mBAmJC,CAoBA,6yBACC,SACD,CASF,uHACC,aAAc,CACd,iBACD,CAYG,iRAlMF,SAAU,CACV,mBAmME,CAQH,kIACC,qEAKD,CAHC,wIACC,WACD,CAGD,4CACC,GACC,oBACD,CACA,OACC,mBACD,CACD,CAEA,gDACC,OACC,mBACD,CACA,OACC,mBACD,CACD,CAEA,8CACC,GACC,6HACD,CACA,IACC,6HACD,CACA,GACC,+HACD,CACD,CAEA,kDACC,GACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the "fake caret" would normally be narrower than the\n\t * extra outline displayed around the widget. Let\'s extend the "fake caret" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-widget-type-around-button-size: 20px;\n\t--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);\n\t--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);\n\t--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);\n\t--ck-color-widget-type-around-button-radar-start-alpha: 0;\n\t--ck-color-widget-type-around-button-radar-end-alpha: .3;\n\t--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);\n}\n\n@define-mixin ck-widget-type-around-button-visible {\n\topacity: 1;\n\tpointer-events: auto;\n}\n\n@define-mixin ck-widget-type-around-button-hidden {\n\topacity: 0;\n\tpointer-events: none;\n}\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\twidth: var(--ck-widget-type-around-button-size);\n\t\theight: var(--ck-widget-type-around-button-size);\n\t\tbackground: var(--ck-color-widget-type-around-button);\n\t\tborder-radius: 100px;\n\t\ttransition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t@mixin ck-widget-type-around-button-hidden;\n\n\t\t& svg {\n\t\t\twidth: 10px;\n\t\t\theight: 8px;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\ttransition: transform .5s ease;\n\t\t\tmargin-top: 1px;\n\n\t\t\t& * {\n\t\t\t\tstroke-dasharray: 10;\n\t\t\t\tstroke-dashoffset: 0;\n\n\t\t\t\tfill: none;\n\t\t\t\tstroke: var(--ck-color-widget-type-around-button-icon);\n\t\t\t\tstroke-width: 1.5px;\n\t\t\t\tstroke-linecap: round;\n\t\t\t\tstroke-linejoin: round;\n\t\t\t}\n\n\t\t\t& line {\n\t\t\t\tstroke-dasharray: 7;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t/*\n\t\t\t * Display the "sonar" around the button when hovered.\n\t\t\t */\n\t\t\tanimation: ck-widget-type-around-button-sonar 1s ease infinite;\n\n\t\t\t/*\n\t\t\t * Animate active button\'s icon.\n\t\t\t */\n\t\t\t& svg {\n\t\t\t\t& polyline {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-dash 2s linear;\n\t\t\t\t}\n\n\t\t\t\t& line {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-tip-dash 2s linear;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Show type around buttons when the widget gets selected or being hovered.\n\t */\n\t&.ck-widget_selected,\n\t&:hover {\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-visible;\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when the widget is NOT selected (but the buttons are visible\n\t * and still can be hovered).\n\t */\n\t&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\tbackground: var(--ck-color-widget-type-around-button-hover);\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\tbackground: var(--ck-color-widget-type-around-button-active);\n\n\t\t&::after {\n\t\t\twidth: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\theight: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\tborder-radius: 100px;\n\t\t\tbackground: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the "before" button when the widget has a selection handle. Because some space\n\t * is consumed by the handle, the button must be moved slightly to the right to let it breathe.\n\t */\n\t&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {\n\t\tmargin-left: 20px;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& .ck-widget__type-around__fake-caret {\n\t\tpointer-events: none;\n\t\theight: 1px;\n\t\tanimation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;\n\n\t\t/*\n\t\t * The semi-transparent-outline+background combo improves the contrast\n\t\t * when the background underneath the fake caret is dark.\n\t\t */\n\t\toutline: solid 1px hsla(0, 0%, 100%, .5);\n\t\tbackground: var(--ck-color-base-text);\n\t}\n\n\t/*\n\t * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t * Despite the widget being physically selected in the model, its outline should disappear.\n\t */\n\t&.ck-widget_selected {\n\t\t&.ck-widget_type-around_show-fake-caret_before,\n\t\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t\toutline-color: transparent;\n\t\t}\n\t}\n\n\t&.ck-widget_type-around_show-fake-caret_before,\n\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t/*\n\t\t * When the "fake caret" is visible we simulate that the widget is not selected\n\t\t * (despite being physically selected), so the outline color should be for the\n\t\t * unselected widget.\n\t\t */\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline-color: var(--ck-color-widget-hover-border);\n\t\t}\n\n\t\t/*\n\t\t * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t\t * In this state, the type around buttons would collide with the fake carets so they should disappear.\n\t\t */\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the selection handle. When the caret is visible, simply\n\t\t * hide the handle because it intersects with the caret (and does not make much sense anyway).\n\t\t */\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t&.ck-widget_selected,\n\t\t\t&.ck-widget_selected:hover {\n\t\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\t\topacity: 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the resize UI. When the caret is visible, simply\n\t\t * hide the resize UI because it creates too much noise. It can be visible when the user\n\t\t * hovers the widget, though.\n\t\t */\n\t\t&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {\n\t\t\topacity: 0\n\t\t}\n\t}\n}\n\n/*\n * Styles for the "before" button when the widget has a selection handle in an RTL environment.\n * The selection handler is aligned to the right side of the widget so there is no need to create\n * additional space for it next to the "before" button.\n */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {\n\tmargin-left: 0;\n\tmargin-right: 20px;\n}\n\n/*\n * Hide type around buttons when the widget is selected as a child of a selected\n * nested editable (e.g. mulit-cell table selection).\n *\n * See https://github.com/ckeditor/ckeditor5/issues/7263.\n */\n.ck-editor__nested-editable.ck-editor__editable_selected {\n\t& .ck-widget {\n\t\t&.ck-widget_selected,\n\t\t&:hover {\n\t\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/*\n * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).\n */\n.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {\n\tbackground: var(--ck-color-widget-type-around-button-blurred-editable);\n\n\t& svg * {\n\t\tstroke: hsl(0,0%,60%);\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-dash {\n\t0% {\n\t\tstroke-dashoffset: 10;\n\t}\n\t20%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-tip-dash {\n\t0%, 20% {\n\t\tstroke-dashoffset: 7;\n\t}\n\t40%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-button-sonar {\n\t0% {\n\t\tbox-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n\t50% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));\n\t}\n\t100% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n}\n\n@keyframes ck-widget-type-around-fake-caret-pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t49% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t99% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n'],sourceRoot:""}]);const m=p},2609:t=>{"use strict";t.exports=function(C){var g=[];return g.toString=function(){return this.map(function(f){var h=C(f);return f[2]?"@media ".concat(f[2]," {").concat(h,"}"):h}).join("")},g.i=function(f,h,_){"string"==typeof f&&(f=[[null,f,""]]);var p={};if(_)for(var m=0;m{"use strict";function g(f,h){(null==h||h>f.length)&&(h=f.length);for(var _=0,p=new Array(h);_{"use strict";var f,_=function(){var U={};return function(z){if(void 0===U[z]){var nt=document.querySelector(z);if(window.HTMLIFrameElement&&nt instanceof window.HTMLIFrameElement)try{nt=nt.contentDocument.head}catch{nt=null}U[z]=nt}return U[z]}}(),p=[];function m(U){for(var z=-1,nt=0;nt{var C=t&&t.__esModule?()=>t.default:()=>t;return A.d(C,{a:C}),C},A.d=(t,C)=>{for(var g in C)A.o(C,g)&&!A.o(t,g)&&Object.defineProperty(t,g,{enumerable:!0,get:C[g]})},A.o=(t,C)=>Object.prototype.hasOwnProperty.call(t,C),A.nc=void 0;var G={};return(()=>{"use strict";function t({emitter:v,activator:a,callback:c,contextElements:u}){v.listenTo(document,"mousedown",(E,R)=>{if(!a())return;const V="function"==typeof R.composedPath?R.composedPath():[],X="function"==typeof u?u():u;for(const et of X)if(et.contains(R.target)||V.includes(et))return;c()})}function C(v){return class extends v{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...a){super(...a),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function g({view:v}){v.listenTo(v.element,"submit",(a,c)=>{c.preventDefault(),v.fire("submit")},{useCapture:!0})}A.d(G,{default:()=>J3});const f=function(){try{return navigator.userAgent.toLowerCase()}catch{return""}}();var h;const _={isMac:p(f),isWindows:(h=f,h.indexOf("windows")>-1),isGecko:(v=f,!!v.match(/gecko\/\d+/)),isSafari:function(v){return v.indexOf(" applewebkit/")>-1&&-1===v.indexOf("chrome")}(f),isiOS:function(v){return!!v.match(/iphone|ipad/i)||p(v)&&navigator.maxTouchPoints>0}(f),isAndroid:function(v){return v.indexOf("android")>-1}(f),isBlink:function(v){return v.indexOf("chrome/")>-1&&v.indexOf("edge/")<0}(f),features:{isRegExpUnicodePropertySupported:function(){let v=!1;try{v=0==="\u0107".search(new RegExp("[\\p{L}]","u"))}catch{}return v}()}};var v;function p(v){return v.indexOf("macintosh")>-1}function m(v,a,c,u){c=c||function(et,bt){return et===bt};const E=Array.isArray(v)?v:Array.prototype.slice.call(v),R=Array.isArray(a)?a:Array.prototype.slice.call(a),V=function(et,bt,vt){const Pt=F(et,bt,vt);if(-1===Pt)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const Ae=F(M(et,Pt),M(bt,Pt),vt);return{firstIndex:Pt,lastIndexOld:et.length-Ae,lastIndexNew:bt.length-Ae}}(E,R,c);return u?function(et,bt){const{firstIndex:vt,lastIndexOld:Pt,lastIndexNew:Wt}=et;if(-1===vt)return Array(bt).fill("equal");let he=[];return vt>0&&(he=he.concat(Array(vt).fill("equal"))),Wt-vt>0&&(he=he.concat(Array(Wt-vt).fill("insert"))),Pt-vt>0&&(he=he.concat(Array(Pt-vt).fill("delete"))),Wt0&&vt.push({index:Pt,type:"insert",values:et.slice(Pt,he)}),Wt-Pt>0&&vt.push({index:Pt+(he-Pt),type:"delete",howMany:Wt-Pt}),vt}(R,V)}function F(v,a,c){for(let u=0;u200||E>200||u+E>300)return y.fastDiff(v,a,c,!0);let R,V;if(Exn?-1:1;vt[ze+ti]&&(vt[ze]=vt[ze+ti].slice(0)),vt[ze]||(vt[ze]=[]),vt[ze].push(mn>xn?R:V);let Si=Math.max(mn,xn),mo=Si-ze;for(;mobt;he--)Pt[he]=Wt(he);Pt[bt]=Wt(bt),Ae++}while(Pt[bt]!==et);return vt[bt].slice(1)}y.fastDiff=m;class I{constructor(a,c){this.source=a,this.name=c,this.path=[],this.stop=function v(){v.called=!0},this.off=function v(){v.called=!0}}}const O=new Array(256).fill("").map((v,a)=>("0"+a.toString(16)).slice(-2));function S(){const v=4294967296*Math.random()>>>0,a=4294967296*Math.random()>>>0,c=4294967296*Math.random()>>>0,u=4294967296*Math.random()>>>0;return"e"+O[255&v]+O[v>>8&255]+O[v>>16&255]+O[v>>24&255]+O[255&a]+O[a>>8&255]+O[a>>16&255]+O[a>>24&255]+O[255&c]+O[c>>8&255]+O[c>>16&255]+O[c>>24&255]+O[255&u]+O[u>>8&255]+O[u>>16&255]+O[u>>24&255]}const B={get(v="normal"){return"number"!=typeof v?this[v]||this.normal:v},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function P(v,a){const c=B.get(a.priority);for(let u=0;u{if("object"==typeof Pt&&null!==Pt){if(V.has(Pt))return`[object ${Pt.constructor.name}]`;V.add(Pt)}return Pt})}`:"")+rt(E)}(a,u)),this.name="CKEditorError",this.context=c,this.data=u}is(a){return"CKEditorError"===a}static rethrowUnexpectedError(a,c){if(a.is&&a.is("CKEditorError"))throw a;const u=new z(a.message,c);throw u.stack=a.stack,u}}function nt(v,a){console.warn(...mt(v,a))}function it(v,a){console.error(...mt(v,a))}function rt(v){return`\nRead more: ${U}#error-${v}`}function mt(v,a){const c=rt(v);return a?[v,a,c]:[v,c]}const ht=new Date(2023,11,12);if(globalThis.CKEDITOR_VERSION)throw new z("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION="40.2.0";const yt=Symbol("listeningTo"),wt=Symbol("emitterId"),Z=Symbol("delegations"),dt=ft(Object);function ft(v){return v?class extends v{on(a,c,u){this.listenTo(this,a,c,u)}once(a,c,u){let E=!1;this.listenTo(this,a,(R,...V)=>{E||(E=!0,R.off(),c.call(this,R,...V))},u)}off(a,c){this.stopListening(this,a,c)}listenTo(a,c,u,E={}){let R,V;this[yt]||(this[yt]={});const X=this[yt];Y(a)||L(a);const et=Y(a);var vt,Pt,Wt,he;(R=X[et])||(R=X[et]={emitter:a,callbacks:{}}),(V=R.callbacks[c])||(V=R.callbacks[c]=[]),V.push(u),Pt=c,Wt=u,he=E,(vt=a)._addEventListener?vt._addEventListener(Pt,Wt,he):this._addEventListener.call(vt,Pt,Wt,he)}stopListening(a,c,u){const E=this[yt];let R=a&&Y(a);const V=E&&R?E[R]:void 0,X=V&&c?V.callbacks[c]:void 0;if(!(!E||a&&!V||c&&!X))if(u)ut(this,a,c,u),-1!==X.indexOf(u)&&(1===X.length?delete V.callbacks[c]:ut(this,a,c,u));else if(X){for(;u=X.pop();)ut(this,a,c,u);delete V.callbacks[c]}else if(V){for(c in V.callbacks)this.stopListening(a,c);delete E[R]}else{for(R in E)this.stopListening(E[R].emitter);delete this[yt]}}fire(a,...c){try{const u=a instanceof I?a:new I(this,a),E=u.name;let R=K(this,E);if(u.path.push(this),R){const X=[u,...c];R=Array.from(R);for(let et=0;et{this[Z]||(this[Z]=new Map),a.forEach(E=>{const R=this[Z].get(E);R?R.set(c,u):this[Z].set(E,new Map([[c,u]]))})}}}stopDelegating(a,c){if(this[Z])if(a)if(c){const u=this[Z].get(a);u&&u.delete(c)}else this[Z].delete(a);else this[Z].clear()}_addEventListener(a,c,u){!function(V,X){const et=J(V);if(et[X])return;let bt=X,vt=null;const Pt=[];for(;""!==bt&&!et[bt];)et[bt]={callbacks:[],childEvents:[]},Pt.push(et[bt]),vt&&et[bt].childEvents.push(vt),vt=bt,bt=bt.substr(0,bt.lastIndexOf(":"));if(""!==bt){for(const Wt of Pt)Wt.callbacks=et[bt].callbacks.slice();et[bt].childEvents.push(vt)}}(this,a);const E=H(this,a),R={callback:c,priority:B.get(u.priority)};for(const V of E)P(V,R)}_removeEventListener(a,c){const u=H(this,a);for(const E of u)for(let R=0;R-1?K(v,a.substr(0,a.lastIndexOf(":"))):null}function tt(v,a,c){for(let[u,E]of v){E?"function"==typeof E&&(E=E(a.name)):E=a.name;const R=new I(a.source,E);R.path=[...a.path],u.fire(R,...c)}}function ut(v,a,c,u){a._removeEventListener?a._removeEventListener(c,u):v._removeEventListener.call(a,c,u)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(v=>{ft[v]=dt.prototype[v]});const _t=function(v){var a=typeof v;return null!=v&&("object"==a||"function"==a)},xt=Symbol("observableProperties"),Dt=Symbol("boundObservables"),gt=Symbol("boundProperties"),Mt=Symbol("decoratedMethods"),ot=Symbol("decoratedOriginal"),Q=kt(ft());function kt(v){return v?class extends v{set(a,c){if(_t(a))return void Object.keys(a).forEach(E=>{this.set(E,a[E])},this);Xt(this);const u=this[xt];if(a in this&&!u.has(a))throw new z("observable-set-cannot-override",this);Object.defineProperty(this,a,{enumerable:!0,configurable:!0,get:()=>u.get(a),set(E){const R=u.get(a);let V=this.fire(`set:${a}`,a,E,R);void 0===V&&(V=E),R===V&&u.has(a)||(u.set(a,V),this.fire(`change:${a}`,a,V,R))}}),this[a]=c}bind(...a){if(!a.length||!Bt(a))throw new z("observable-bind-wrong-properties",this);if(new Set(a).size!==a.length)throw new z("observable-bind-duplicate-properties",this);Xt(this);const c=this[gt];a.forEach(E=>{if(c.has(E))throw new z("observable-bind-rebind",this)});const u=new Map;return a.forEach(E=>{const R={property:E,to:[]};c.set(E,R),u.set(E,R)}),{to:Ie,toMany:Qt,_observable:this,_bindProperties:a,_to:[],_bindings:u}}unbind(...a){if(!this[xt])return;const c=this[gt],u=this[Dt];if(a.length){if(!Bt(a))throw new z("observable-unbind-wrong-properties",this);a.forEach(E=>{const R=c.get(E);R&&(R.to.forEach(([V,X])=>{const et=u.get(V),bt=et[X];bt.delete(R),bt.size||delete et[X],Object.keys(et).length||(u.delete(V),this.stopListening(V,"change"))}),c.delete(E))})}else u.forEach((E,R)=>{this.stopListening(R,"change")}),u.clear(),c.clear()}decorate(a){Xt(this);const c=this[a];if(!c)throw new z("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:a});this.on(a,(u,E)=>{u.return=c.apply(this,E)}),this[a]=function(...u){return this.fire(a,u)},this[a][ot]=c,this[Mt]||(this[Mt]=[]),this[Mt].push(a)}stopListening(a,c,u){if(!a&&this[Mt]){for(const E of this[Mt])this[E]=this[E][ot];delete this[Mt]}super.stopListening(a,c,u)}}:Q}function Xt(v){v[xt]||(Object.defineProperty(v,xt,{value:new Map}),Object.defineProperty(v,Dt,{value:new Map}),Object.defineProperty(v,gt,{value:new Map}))}function Ie(...v){const a=function(...R){if(!R.length)throw new z("observable-bind-to-parse-error",null);const V={to:[]};let X;return"function"==typeof R[R.length-1]&&(V.callback=R.pop()),R.forEach(et=>{if("string"==typeof et)X.properties.push(et);else{if("object"!=typeof et)throw new z("observable-bind-to-parse-error",null);X={observable:et,properties:[]},V.to.push(X)}}),V}(...v),c=Array.from(this._bindings.keys()),u=c.length;if(!a.callback&&a.to.length>1)throw new z("observable-bind-to-no-callback",this);if(u>1&&a.callback)throw new z("observable-bind-to-extra-callback",this);var E;a.to.forEach(R=>{if(R.properties.length&&R.properties.length!==u)throw new z("observable-bind-to-properties-length",this);R.properties.length||(R.properties=this._bindProperties)}),this._to=a.to,a.callback&&(this._bindings.get(c[0]).callback=a.callback),E=this._observable,this._to.forEach(R=>{const V=E[Dt];let X;V.get(R.observable)||E.listenTo(R.observable,"change",(et,bt)=>{X=V.get(R.observable)[bt],X&&X.forEach(vt=>{St(E,vt.property)})})}),function(R){let V;R._bindings.forEach((X,et)=>{R._to.forEach(bt=>{V=bt.properties[X.callback?0:R._bindProperties.indexOf(et)],X.to.push([bt.observable,V]),function(vt,Pt,Wt,he){const Ae=vt[Dt],ze=Ae.get(Wt),mn=ze||{};mn[he]||(mn[he]=new Set),mn[he].add(Pt),ze||Ae.set(Wt,mn)}(R._observable,X,bt.observable,V)})})}(this),this._bindProperties.forEach(R=>{St(this._observable,R)})}function Qt(v,a,c){if(this._bindings.size>1)throw new z("observable-bind-to-many-not-one-binding",this);this.to(...function(u,E){const R=u.map(V=>[V,E]);return Array.prototype.concat.apply([],R)}(v,a),c)}function Bt(v){return v.every(a=>"string"==typeof a)}function St(v,a){const c=v[gt].get(a);let u;c.callback?u=c.callback.apply(v,c.to.map(E=>E[0][E[1]])):(u=c.to[0],u=u[0][u[1]]),Object.prototype.hasOwnProperty.call(v,a)?v[a]=u:v.set(a,u)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(v=>{kt[v]=Q.prototype[v]});class Nt{constructor(){this._replacedElements=[]}replace(a,c){this._replacedElements.push({element:a,newElement:c}),a.style.display="none",c&&a.parentNode.insertBefore(c,a.nextSibling)}restore(){this._replacedElements.forEach(({element:a,newElement:c})=>{a.style.display="",c&&c.remove()}),this._replacedElements=[]}}function Jt(v){let a=0;for(const c of v)a++;return a}function se(v,a){const c=Math.min(v.length,a.length);for(let u=0;u-1},ie.prototype.set=function(v,a){var c=this.__data__,u=qn(c,v);return u<0?(++this.size,c.push([v,a])):c[u][1]=a,this};const Ye=ie,Ci=function(v){if(!_t(v))return!1;var a=jn(v);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a},so=Yt["__core-js_shared__"];var Hi=function(){var v=/[^.]+$/.exec(so&&so.keys&&so.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),Ao=Function.prototype.toString;const rn=function(v){if(null!=v){try{return Ao.call(v)}catch{}try{return v+""}catch{}}return""};var hi=/^\[object .+?Constructor\]$/,He=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const hn=function(v,a){var c=function(v,a){return v?.[a]}(v,a);return function(v){return!(!_t(v)||function(v){return!!Hi&&Hi in v}(v))&&(Ci(v)?He:hi).test(rn(v))}(c)?c:void 0},vn=hn(Yt,"Map"),Be=hn(Object,"create");var Fe=Object.prototype.hasOwnProperty,tn=Object.prototype.hasOwnProperty;function Mo(v){var a=-1,c=null==v?0:v.length;for(this.clear();++a-1&&v%1==0&&v-1&&v%1==0&&v<=9007199254740991};var go={};go["[object Float32Array]"]=go["[object Float64Array]"]=go["[object Int8Array]"]=go["[object Int16Array]"]=go["[object Int32Array]"]=go["[object Uint8Array]"]=go["[object Uint8ClampedArray]"]=go["[object Uint16Array]"]=go["[object Uint32Array]"]=!0,go["[object Arguments]"]=go["[object Array]"]=go["[object ArrayBuffer]"]=go["[object Boolean]"]=go["[object DataView]"]=go["[object Date]"]=go["[object Error]"]=go["[object Function]"]=go["[object Map]"]=go["[object Number]"]=go["[object Object]"]=go["[object RegExp]"]=go["[object Set]"]=go["[object String]"]=go["[object WeakMap]"]=!1;const ia=function(v){return function(a){return v(a)}};var nl=Tt&&!Tt.nodeType&&Tt,wo=nl&&Rt&&!Rt.nodeType&&Rt,Ks=wo&&wo.exports===nl&&Me.process;const ks=function(){try{return wo&&wo.require&&wo.require("util").types||Ks&&Ks.binding&&Ks.binding("util")}catch{}}();var il=ks&&ks.isTypedArray;const Vc=il?ia(il):function(v){return ui(v)&&Xl(v.length)&&!!go[jn(v)]};var _l=Object.prototype.hasOwnProperty;const $a=function(v,a){var c=mi(v),u=!c&&Qa(v),E=!c&&!u&&zs(v),R=!c&&!u&&!E&&Vc(v),V=c||u||E||R,X=V?function(v,a){for(var c=-1,u=Array(v);++c{this._setToTarget(a,E,c[E],u)})}}function fa(v){return Fo(v,Ur)}function Ur(v){return ar(v)||"function"==typeof v?v:void 0}function ga(v){if(v){if(v.defaultView)return v instanceof v.defaultView.Document;if(v.ownerDocument&&v.ownerDocument.defaultView)return v instanceof v.ownerDocument.defaultView.Node}return!1}function gu(v){const a=Object.prototype.toString.apply(v);return"[object Window]"==a||"[object global]"==a}const ns=Gr(ft());function Gr(v){return v?class extends v{listenTo(a,c,u,E={}){if(ga(a)||gu(a)){const R={capture:!!E.useCapture,passive:!!E.usePassive},V=this._getProxyEmitter(a,R)||new _u(a,R);this.listenTo(V,c,u,E)}else super.listenTo(a,c,u,E)}stopListening(a,c,u){if(ga(a)||gu(a)){const E=this._getAllProxyEmitters(a);for(const R of E)this.stopListening(R,c,u)}else super.stopListening(a,c,u)}_getProxyEmitter(a,c){return function(u,E){const R=u[yt];return R&&R[E]?R[E].emitter:null}(this,sl(a,c))}_getAllProxyEmitters(a){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(c=>this._getProxyEmitter(a,c)).filter(c=>!!c)}}:ns}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(v=>{Gr[v]=ns.prototype[v]});class _u extends(ft()){constructor(a,c){super(),L(this,sl(a,c)),this._domNode=a,this._options=c}attach(a){if(this._domListeners&&this._domListeners[a])return;const c=this._createDomListener(a);this._domNode.addEventListener(a,c,this._options),this._domListeners||(this._domListeners={}),this._domListeners[a]=c}detach(a){let c;!this._domListeners[a]||(c=this._events[a])&&c.callbacks.length||this._domListeners[a].removeListener()}_addEventListener(a,c,u){this.attach(a),ft().prototype._addEventListener.call(this,a,c,u)}_removeEventListener(a,c){ft().prototype._removeEventListener.call(this,a,c),this.detach(a)}_createDomListener(a){const c=u=>{this.fire(a,u)};return c.removeListener=()=>{this._domNode.removeEventListener(a,c,this._options),delete this._domListeners[a]},c}}function sl(v,a){let c=(u=v)["data-ck-expando"]||(u["data-ck-expando"]=S());var u;for(const u of Object.keys(a).sort())a[u]&&(c+="-"+u);return c}let Ga;try{Ga={window,document}}catch{Ga={window:{},document:{}}}const Lo=Ga;function Uo(v){return"[object Text]"==Object.prototype.toString.call(v)}function Ra(v){return"[object Range]"==Object.prototype.toString.apply(v)}function Fl(v){const a=v.ownerDocument.defaultView.getComputedStyle(v);return{top:parseInt(a.borderTopWidth,10),right:parseInt(a.borderRightWidth,10),bottom:parseInt(a.borderBottomWidth,10),left:parseInt(a.borderLeftWidth,10)}}function Wl(v){return v&&v.parentNode?v.offsetParent===Lo.document.body?null:v.offsetParent:null}const ke=["top","right","bottom","left","width","height"];class Qe{constructor(a){const c=Ra(a);if(Object.defineProperty(this,"_source",{value:a._source||a,writable:!0,enumerable:!1}),Mn(a)||c)if(c){const u=Qe.getDomRangeRects(a);en(this,Qe.getBoundingRect(u))}else en(this,a.getBoundingClientRect());else if(gu(a)){const{innerWidth:u,innerHeight:E}=a;en(this,{top:0,right:u,bottom:E,left:0,width:u,height:E})}else en(this,a)}clone(){return new Qe(this)}moveTo(a,c){return this.top=c,this.right=a+this.width,this.bottom=c+this.height,this.left=a,this}moveBy(a,c){return this.top+=c,this.right+=a,this.left+=a,this.bottom+=c,this}getIntersection(a){const c={top:Math.max(this.top,a.top),right:Math.min(this.right,a.right),bottom:Math.min(this.bottom,a.bottom),left:Math.max(this.left,a.left),width:0,height:0};if(c.width=c.right-c.left,c.height=c.bottom-c.top,c.width<0||c.height<0)return null;{const u=new Qe(c);return u._source=this._source,u}}getIntersectionArea(a){const c=this.getIntersection(a);return c?c.getArea():0}getArea(){return this.width*this.height}getVisible(){const a=this._source;let c=this.clone();if(dn(a))return c;let u,E=a,R=a.parentNode||a.commonAncestorContainer;for(;R&&!dn(R);){const X="visible"===((V=R)instanceof HTMLElement?V.ownerDocument.defaultView.getComputedStyle(V).overflow:"visible");E instanceof HTMLElement&&"absolute"===oi(E)&&(u=E);const et=oi(R);if(X||u&&("relative"===et&&X||"relative"!==et)){E=R,R=R.parentNode;continue}const bt=new Qe(R),vt=c.getIntersection(bt);if(!vt)return null;vt.getArea(){for(const a of v){const c=Kn._getElementCallbacks(a.target);if(c)for(const u of c)u(a)}})}};let Mi=Kn;function Bi(v,a){v instanceof HTMLTextAreaElement&&(v.value=a),v.innerHTML=a}function to(v){return a=>a+v}function ro(v){let a=0;for(;v.previousSibling;)v=v.previousSibling,a++;return a}function Lt(v,a,c){v.insertBefore(c,v.childNodes[a]||null)}function $e(v){return v&&v.nodeType===Node.COMMENT_NODE}function ne(v){return!!(v&&v.getClientRects&&v.getClientRects().length)}Mi._observerInstance=null,Mi._elementCallbacks=null;var Se=Math.pow;function Tn({element:v,target:a,positions:c,limiter:u,fitInViewport:E,viewportOffsetConfig:R}){Ci(a)&&(a=a()),Ci(u)&&(u=u());const V=Wl(v),X=function(Wt){Wt=Object.assign({top:0,bottom:0,left:0,right:0},Wt);const he=new Qe(Lo.window);return he.top+=Wt.top,he.height-=Wt.top,he.bottom-=Wt.bottom,he.height-=Wt.bottom,he}(R),et=new Qe(v),bt=pi(a,X);let vt;if(!bt||!X.getIntersection(bt))return null;const Pt={targetRect:bt,elementRect:et,positionedElementAncestor:V,viewportRect:X};if(u||E){if(u){const Wt=pi(u,X);Wt&&(Pt.limiterRect=Wt)}vt=function(Wt,he){const{elementRect:Ae}=he,ze=Ae.getArea(),mn=Wt.map(Si=>new Ni(Si,he)).filter(Si=>!!Si.name);let xn=0,ti=null;for(const Si of mn){const{limiterIntersectionArea:mo,viewportIntersectionArea:lr}=Si;if(mo===ze)return Si;const Ia=Se(lr,2)+Se(mo,2);Ia>xn&&(xn=Ia,ti=Si)}return ti}(c,Pt)}else vt=new Ni(c[0],Pt);return vt}function pi(v,a){const c=new Qe(v).getVisible();return c?c.getIntersection(a):null}class Ni{constructor(a,c){const u=a(c.targetRect,c.elementRect,c.viewportRect,c.limiterRect);if(!u)return;const{left:E,top:R,name:V,config:X}=u;this.name=V,this.config=X,this._positioningFunctionCoordinates={left:E,top:R},this._options=c}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const a=this._options.limiterRect;return a?a.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=this._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function Qi(v){const a=v.parentNode;a&&a.removeChild(v)}function Vo({window:v,rect:a,alignToTop:c,forceScroll:u,viewportOffset:E}){const R=a.clone().moveBy(0,E.bottom),V=a.clone().moveBy(0,-E.top),X=new Qe(v).excludeScrollbarsAndBorders(),et=c&&u,bt=[V,R].every(Ae=>X.contains(Ae));let{scrollX:vt,scrollY:Pt}=v;const Wt=vt,he=Pt;et?Pt-=X.top-a.top+E.top:bt||(Ko(V,X)?Pt-=X.top-a.top+E.top:gr(R,X)&&(Pt+=c?a.top-X.top-E.top:a.bottom-X.bottom+E.bottom)),bt||(Wr(a,X)?vt-=X.left-a.left+E.left:Jr(a,X)&&(vt+=a.right-X.right+E.right)),vt==Wt&&Pt===he||v.scrollTo(vt,Pt)}function fr({parent:v,getRect:a,alignToTop:c,forceScroll:u,ancestorOffset:E=0,limiterElement:R}){const V=ko(v),X=c&&u;let et,bt,vt;const Pt=R||V.document.body;for(;v!=Pt;)bt=a(),et=new Qe(v).excludeScrollbarsAndBorders(),vt=et.contains(bt),X?v.scrollTop-=et.top-bt.top+E:vt||(Ko(bt,et)?v.scrollTop-=et.top-bt.top+E:gr(bt,et)&&(v.scrollTop+=c?bt.top-et.top-E:bt.bottom-et.bottom+E)),vt||(Wr(bt,et)?v.scrollLeft-=et.left-bt.left+E:Jr(bt,et)&&(v.scrollLeft+=bt.right-et.right+E)),v=v.parentNode}function gr(v,a){return v.bottom>a.bottom}function Ko(v,a){return v.topa.right}function ko(v){return Ra(v)?v.startContainer.ownerDocument.defaultView:v.ownerDocument.defaultView}function tr(v){if(Ra(v)){let a=v.commonAncestorContainer;return Uo(a)&&(a=a.parentNode),a}return v.parentNode}function Ui(v,a){const c=ko(v),u=new Qe(v);if(c===a)return u;{let E=c;for(;E!=a;){const V=new Qe(E.frameElement).excludeScrollbarsAndBorders();u.moveBy(V.left,V.top),E=E.parent}}return u}const xo={ctrl:"\u2303",cmd:"\u2318",alt:"\u2325",shift:"\u21e7"},_a={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},er=function(){const v={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let a=65;a<=90;a++)v[String.fromCharCode(a).toLowerCase()]=a;for(let a=48;a<=57;a++)v[a-48]=a;for(let a=112;a<=123;a++)v["f"+(a-111)]=a;for(const a of"`-=[];',./\\")v[a]=a.charCodeAt(0);return v}(),Da=Object.fromEntries(Object.entries(er).map(([v,a])=>[a,v.charAt(0).toUpperCase()+v.slice(1)]));function Ba(v){let a;if("string"==typeof v){if(a=er[v.toLowerCase()],!a)throw new z("keyboard-unknown-key",null,{key:v})}else a=v.keyCode+(v.altKey?er.alt:0)+(v.ctrlKey?er.ctrl:0)+(v.shiftKey?er.shift:0)+(v.metaKey?er.cmd:0);return a}function Bc(v){return"string"==typeof v&&(v=v.split("+").map(c=>c.trim())),v.map(a=>"string"==typeof a?function(c){if(c.endsWith("!"))return Ba(c.slice(0,-1));const u=Ba(c);return(_.isMac||_.isiOS)&&u==er.ctrl?er.cmd:u}(a):a).reduce((a,c)=>c+a,0)}function wa(v){let a=Bc(v);return Object.entries(_.isMac||_.isiOS?xo:_a).reduce((c,[u,E])=>(a&er[u]&&(a&=~er[u],c+=E),c),"")+(a?Da[a]:"")}function ba(v,a){const c="ltr"===a;switch(v){case er.arrowleft:return c?"left":"right";case er.arrowright:return c?"right":"left";case er.arrowup:return"up";case er.arrowdown:return"down"}}function ua(v){return Array.isArray(v)?v:[v]}Lo.window.CKEDITOR_TRANSLATIONS||(Lo.window.CKEDITOR_TRANSLATIONS={});const Ic=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function Nl(v){return Ic.includes(v)?"rtl":"ltr"}class bu{constructor({uiLanguage:a="en",contentLanguage:c}={}){this.uiLanguage=a,this.contentLanguage=c||this.uiLanguage,this.uiLanguageDirection=Nl(this.uiLanguage),this.contentLanguageDirection=Nl(this.contentLanguage),this.t=(u,E)=>this._t(u,E)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(a,c=[]){return c=ua(c),"string"==typeof a&&(a={string:a}),E=function nr(v,a,c=1){if("number"!=typeof c)throw new z("translation-service-quantity-not-a-number",null,{quantity:c});const u=Object.keys(Lo.window.CKEDITOR_TRANSLATIONS).length;1===u&&(v=Object.keys(Lo.window.CKEDITOR_TRANSLATIONS)[0]);const E=a.id||a.string;if(0===u||!Lo.window.CKEDITOR_TRANSLATIONS[et=v]||!Lo.window.CKEDITOR_TRANSLATIONS[et].dictionary[E])return 1!==c?a.plural:a.string;var et;const V=Lo.window.CKEDITOR_TRANSLATIONS[v].getPluralForm||(et=>1===et?0:1),X=Lo.window.CKEDITOR_TRANSLATIONS[v].dictionary[E];return"string"==typeof X?X:X[Number(V(c))]}(this.uiLanguage,a,a.plural?c[0]:1),R=c,E.replace(/%(\d+)/g,(V,X)=>Xthis._items.length||c<0)throw new z("collection-add-item-invalid-index",this);let u=0;for(const E of a){const R=this._getItemIdBeforeAdding(E),V=c+u;this._items.splice(V,0,E),this._itemMap.set(R,E),this.fire("add",E,V),u++}return this.fire("change",{added:a,removed:[],index:c}),this}get(a){let c;if("string"==typeof a)c=this._itemMap.get(a);else{if("number"!=typeof a)throw new z("collection-get-invalid-arg",this);c=this._items[a]}return c||null}has(a){if("string"==typeof a)return this._itemMap.has(a);{const c=a[this._idProperty];return c&&this._itemMap.has(c)}}getIndex(a){let c;return c="string"==typeof a?this._itemMap.get(a):a,c?this._items.indexOf(c):-1}remove(a){const[c,u]=this._remove(a);return this.fire("change",{added:[],removed:[c],index:u}),c}map(a,c){return this._items.map(a,c)}forEach(a,c){this._items.forEach(a,c)}find(a,c){return this._items.find(a,c)}filter(a,c){return this._items.filter(a,c)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const a=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:a,index:0})}bindTo(a){if(this._bindToCollection)throw new z("collection-bind-to-rebind",this);return this._bindToCollection=a,{as:c=>{this._setUpBindToBinding(u=>new c(u))},using:c=>{this._setUpBindToBinding("function"==typeof c?c:u=>u[c])}}}_setUpBindToBinding(a){const c=this._bindToCollection,u=(E,R,V)=>{const X=c._bindToCollection==this,et=c._bindToInternalToExternalMap.get(R);if(X&&et)this._bindToExternalToInternalMap.set(R,et),this._bindToInternalToExternalMap.set(et,R);else{const bt=a(R);if(!bt)return void this._skippedIndexesFromExternal.push(V);let vt=V;for(const Pt of this._skippedIndexesFromExternal)V>Pt&&vt--;for(const Pt of c._skippedIndexesFromExternal)vt>=Pt&&vt++;this._bindToExternalToInternalMap.set(R,bt),this._bindToInternalToExternalMap.set(bt,R),this.add(bt,vt);for(let Pt=0;Pt{const X=this._bindToExternalToInternalMap.get(R);X&&this.remove(X),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((et,bt)=>(Vbt&&et.push(bt),et),[])})}_getItemIdBeforeAdding(a){const c=this._idProperty;let u;if(c in a){if(u=a[c],"string"!=typeof u)throw new z("collection-add-invalid-id",this);if(this.get(u))throw new z("collection-add-item-already-exists",this)}else a[c]=u=S();return u}_remove(a){let c,u,E,R=!1;const V=this._idProperty;if("string"==typeof a?(u=a,E=this._itemMap.get(u),R=!E,E&&(c=this._items.indexOf(E))):"number"==typeof a?(c=a,E=this._items[c],R=!E,E&&(u=E[V])):(E=a,u=E[V],c=this._items.indexOf(E),R=-1==c||!this._itemMap.get(u)),R)throw new z("collection-remove-404",this);this._items.splice(c,1),this._itemMap.delete(u);const X=this._bindToInternalToExternalMap.get(E);return this._bindToInternalToExternalMap.delete(E),this._bindToExternalToInternalMap.delete(X),this.fire("remove",E,c),[E,c]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function kr(v){const a=v.next();return a.done?null:a.value}class Ys extends(Gr(kt())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(a){if(this._elements.has(a))throw new z("focustracker-add-element-already-exist",this);this.listenTo(a,"focus",()=>this._focus(a),{useCapture:!0}),this.listenTo(a,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(a)}remove(a){a===this.focusedElement&&this._blur(),this._elements.has(a)&&(this.stopListening(a),this._elements.delete(a))}destroy(){this.stopListening()}_focus(a){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=a,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}class Ja{constructor(){this._listener=new(Gr())}listenTo(a){this._listener.listenTo(a,"keydown",(c,u)=>{this._listener.fire("_keydown:"+Ba(u),u)})}set(a,c,u={}){const E=Bc(a);this._listener.listenTo(this._listener,"_keydown:"+E,(V,X)=>{c(X,()=>{X.preventDefault(),X.stopPropagation(),V.stop()}),V.return=!0},{priority:u.priority})}press(a){return!!this._listener.fire("_keydown:"+Ba(a),a)}stopListening(a){this._listener.stopListening(a)}destroy(){this.stopListening()}}function qi(v){return be(v)?new Map(v):function(a){const c=new Map;for(const u in a)c.set(u,a[u]);return c}(v)}function Fu(v,a){let c;function u(...E){u.cancel(),c=setTimeout(()=>v(...E),a)}return u.cancel=()=>{clearTimeout(c)},u}function Ze(v,a){return!!(c=v.charAt(a-1))&&1==c.length&&/[\ud800-\udbff]/.test(c)&&!!(u=v.charAt(a))&&1==u.length&&/[\udc00-\udfff]/.test(u);var u,c}function Kl(v,a){return!!(c=v.charAt(a))&&1==c.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(c);var c}const Id=function(){const v=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],a=new RegExp("\\p{Regional_Indicator}{2}","u").source,c="(?:"+v.map(u=>u.source).join("|")+")";return new RegExp(`${a}|${c}(?:\u200d${c})*`,"ug")}();function Go(v,a){const c=String(v).matchAll(Id);return Array.from(c).some(u=>u.index{this._renderViewIntoCollectionParent(u,E)}),this.on("remove",(c,u)=>{u.element&&this._parentElement&&u.element.remove()}),this._parentElement=null}destroy(){this.map(a=>a.destroy())}setParent(a){this._parentElement=a;for(const c of this)this._renderViewIntoCollectionParent(c)}delegate(...a){if(!a.length||!a.every(c=>"string"==typeof c))throw new z("ui-viewcollection-delegate-wrong-events",this);return{to:c=>{for(const u of this)for(const E of a)u.delegate(E).to(c);this.on("add",(u,E)=>{for(const R of a)E.delegate(R).to(c)}),this.on("remove",(u,E)=>{for(const R of a)E.stopDelegating(R,c)})}}}_renderViewIntoCollectionParent(a,c){a.isRendered||a.render(),a.element&&this._parentElement&&this._parentElement.insertBefore(a.element,this._parentElement.children[c])}remove(a){return super.remove(a)}}var Hu=A(6062),ao=A.n(Hu),vu=A(4793);ao()(vu.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Ro extends(Gr(kt())){constructor(a){super(),this.element=null,this.isRendered=!1,this.locale=a,this.t=a&&a.t,this._viewCollections=new Fa,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(c,u)=>{u.locale=a,u.t=a&&a.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=vl.bind(this,this)}createCollection(a){const c=new _r(a);return this._viewCollections.add(c),c}registerChild(a){be(a)||(a=[a]);for(const c of a)this._unboundChildren.add(c)}deregisterChild(a){be(a)||(a=[a]);for(const c of a)this._unboundChildren.remove(c)}setTemplate(a){this.template=new vl(a)}extendTemplate(a){vl.extend(this.template,a)}render(){if(this.isRendered)throw new z("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(a=>a.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}class vl extends(ft()){constructor(a){super(),Object.assign(this,Ll(zm(a))),this._isRendered=!1,this._revertData=null}render(){const a=this._renderNode({intoFragment:!0});return this._isRendered=!0,a}apply(a){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:a,intoFragment:!1,isApplying:!0,revertData:this._revertData}),a}revert(a){if(!this._revertData)throw new z("ui-template-revert-not-applied",[this,a]);this._revertTemplateFromNode(a,this._revertData)}*getViews(){yield*function*a(c){if(c.children)for(const u of c.children)is(u)?yield u:It(u)&&(yield*a(u))}(this)}static bind(a,c){return{to:(u,E)=>new vs({eventNameOrFunction:u,attribute:u,observable:a,emitter:c,callback:E}),if:(u,E,R)=>new Ql({observable:a,emitter:c,attribute:u,valueIfTrue:E,callback:R})}}static extend(a,c){if(a._isRendered)throw new z("template-extend-render",[this,a]);An(a,Ll(zm(c)))}_renderNode(a){let c;if(c=a.node?this.tag&&this.text:this.tag?this.text:!this.text,c)throw new z("ui-template-wrong-syntax",this);return this.text?this._renderText(a):this._renderElement(a)}_renderElement(a){let c=a.node;return c||(c=a.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(a),this._renderElementChildren(a),this._setUpListeners(a),c}_renderText(a){let c=a.node;return c?a.revertData.text=c.textContent:c=a.node=document.createTextNode(""),Ns(this.text)?this._bindToObservable({schema:this.text,updater:td(c),data:a}):c.textContent=this.text.join(""),c}_renderAttributes(a){if(!this.attributes)return;const c=a.node,u=a.revertData;for(const E in this.attributes){const R=c.getAttribute(E),V=this.attributes[E];u&&(u.attributes[E]=R);const X=zt(V)?V[0].ns:null;if(Ns(V)){const et=zt(V)?V[0].value:V;u&&ee(E)&&et.unshift(R),this._bindToObservable({schema:et,updater:Gm(c,E,X),data:a})}else if("style"==E&&"string"!=typeof V[0])this._renderStyleAttribute(V[0],a);else{u&&R&&ee(E)&&V.unshift(R);const et=V.map(bt=>bt&&bt.value||bt).reduce((bt,vt)=>bt.concat(vt),[]).reduce(Qd,"");gi(et)||c.setAttributeNS(X,E,et)}}}_renderStyleAttribute(a,c){const u=c.node;for(const E in a){const R=a[E];Ns(R)?this._bindToObservable({schema:[R],updater:Bm(u,E),data:c}):u.style[E]=R}}_renderElementChildren(a){const c=a.node,u=a.intoFragment?document.createDocumentFragment():c,E=a.isApplying;let R=0;for(const V of this.children)if(Kt(V)){if(!E){V.setParent(c);for(const X of V)u.appendChild(X.element)}}else if(is(V))E||(V.isRendered||V.render(),u.appendChild(V.element));else if(ga(V))u.appendChild(V);else if(E){const X={children:[],bindings:[],attributes:{}};a.revertData.children.push(X),V._renderNode({intoFragment:!1,node:u.childNodes[R++],isApplying:!0,revertData:X})}else u.appendChild(V.render());a.intoFragment&&c.appendChild(u)}_setUpListeners(a){if(this.eventListeners)for(const c in this.eventListeners){const u=this.eventListeners[c].map(E=>{const[R,V]=c.split("@");return E.activateDomEventListener(R,V,a)});a.revertData&&a.revertData.bindings.push(u)}}_bindToObservable({schema:a,updater:c,data:u}){const E=u.revertData;Zl(a,c,u);const R=a.filter(V=>!gi(V)).filter(V=>V.observable).map(V=>V.activateAttributeListener(a,c,u));E&&E.bindings.push(R)}_revertTemplateFromNode(a,c){for(const E of c.bindings)for(const R of E)R();if(c.text)return void(a.textContent=c.text);const u=a;for(const E in c.attributes){const R=c.attributes[E];null===R?u.removeAttribute(E):u.setAttribute(E,R)}for(let E=0;EZl(a,c,u);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,E),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,E)}}}class vs extends js{constructor(a){super(a),this.eventNameOrFunction=a.eventNameOrFunction}activateDomEventListener(a,c,u){const E=(R,V)=>{c&&!V.target.matches(c)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(V):this.observable.fire(this.eventNameOrFunction,V))};return this.emitter.listenTo(u.node,a,E),()=>{this.emitter.stopListening(u.node,a,E)}}}class Ql extends js{constructor(a){super(a),this.valueIfTrue=a.valueIfTrue}getValue(a){return!gi(super.getValue(a))&&(this.valueIfTrue||!0)}}function Ns(v){return!!v&&(v.value&&(v=v.value),Array.isArray(v)?v.some(Ns):v instanceof js)}function Zl(v,a,{node:c}){const u=(V=c,v.map(X=>X instanceof js?X.getValue(V):X));var V;let E;E=1==v.length&&v[0]instanceof Ql?u[0]:u.reduce(Qd,""),gi(E)?a.remove():a.set(E)}function td(v){return{set(a){v.textContent=a},remove(){v.textContent=""}}}function Gm(v,a,c){return{set(u){v.setAttributeNS(c,a,u)},remove(){v.removeAttributeNS(c,a)}}}function Bm(v,a){return{set(c){v.style[a]=c},remove(){v.style[a]=null}}}function zm(v){return Fo(v,a=>{if(a&&(a instanceof js||It(a)||is(a)||Kt(a)))return a})}function Ll(v){if("string"==typeof v?v=function(a){return{text:[a]}}(v):v.text&&((a=v).text=ua(a.text)),v.on&&(v.eventListeners=function(a){for(const c in a)Or(a,c);return a}(v.on),delete v.on),!v.text){v.attributes&&function(c){for(const u in c)c[u].value&&(c[u].value=ua(c[u].value)),Or(c,u)}(v.attributes);const a=[];if(v.children)if(Kt(v.children))a.push(v.children);else for(const c of v.children)It(c)||is(c)||ga(c)?a.push(c):a.push(new vl(c));v.children=a}var a;return v}function Or(v,a){v[a]=ua(v[a])}function Qd(v,a){return gi(a)?v:gi(v)?a:`${v} ${a}`}function Dr(v,a){for(const c in a)v[c]?v[c].push(...a[c]):v[c]=a[c]}function An(v,a){if(a.attributes&&(v.attributes||(v.attributes={}),Dr(v.attributes,a.attributes)),a.eventListeners&&(v.eventListeners||(v.eventListeners={}),Dr(v.eventListeners,a.eventListeners)),a.text&&v.text.push(...a.text),a.children&&a.children.length){if(v.children.length!=a.children.length)throw new z("ui-template-extend-children-mismatch",v);let c=0;for(const u of a.children)An(v.children[c++],u)}}function gi(v){return!v&&0!==v}function is(v){return v instanceof Ro}function It(v){return v instanceof vl}function Kt(v){return v instanceof _r}function zt(v){return _t(v[0])&&v[0].ns}function ee(v){return"class"==v||"style"==v}class xe extends _r{constructor(a,c=[]){super(c),this.locale=a}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new vl({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let a=document.querySelector(".ck-body-wrapper");a||(a=Jn(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(a)),a.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const a=document.querySelector(".ck-body-wrapper");a&&0==a.childElementCount&&a.remove()}}var on=A(6574);ao()(on.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const bi=class extends Ro{constructor(){super();const v=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",v.if("isVisible","ck-hidden",a=>!a),"ck-reset_all-excluded",v.if("isColorInherited","ck-icon_inherit-color")],viewBox:v.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const v=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),a=v.getAttribute("viewBox");a&&(this.viewBox=a);for(const{name:c,value:u}of Array.from(v.attributes))bi.presentationalAttributeNames.includes(c)&&this.element.setAttribute(c,u);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;v.childNodes.length>0;)this.element.appendChild(v.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(v=>{v.style.fill=this.fillColor})}};let di=bi;di.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];class fo extends Ro{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const a=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:a.to("style"),id:a.to("id")},children:[{text:a.to("text")}]})}}var Qo=A(4906);ao()(Qo.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class br extends Ro{constructor(a,c=new fo){super(a),this._focusDelayed=null;const u=this.bindTemplate,E=S();this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${E}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(c),this.iconView=new di,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const R={tag:"button",attributes:{class:["ck","ck-button",u.to("class"),u.if("isEnabled","ck-disabled",V=>!V),u.if("isVisible","ck-hidden",V=>!V),u.to("isOn",V=>V?"ck-on":"ck-off"),u.if("withText","ck-button_with-text"),u.if("withKeystroke","ck-button_with-keystroke")],role:u.to("role"),type:u.to("type",V=>V||"button"),tabindex:u.to("tabindex"),"aria-label":u.to("ariaLabel"),"aria-labelledby":u.to("ariaLabelledBy"),"aria-disabled":u.if("isEnabled",!0,V=>!V),"aria-pressed":u.to("isOn",V=>!!this.isToggleable&&String(!!V)),"data-cke-tooltip-text":u.to("_tooltipString"),"data-cke-tooltip-position":u.to("tooltipPosition")},children:this.children,on:{click:u.to(V=>{this.isEnabled?this.fire("execute"):V.preventDefault()})}};_.isSafari&&(this._focusDelayed||(this._focusDelayed=Fu(()=>this.focus(),0)),R.on.mousedown=u.to(()=>{this._focusDelayed()}),R.on.mouseup=u.to(()=>{this._focusDelayed.cancel()})),this.setTemplate(R)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(a){return a.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),a}_createKeystrokeView(){const a=new Ro;return a.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",c=>wa(c))}]}),a}_getTooltipString(a,c,u){return a?"string"==typeof a?a:(u&&(u=wa(u)),a instanceof Function?a(c,u):`${c}${u?` (${u})`:""}`):""}}var _c=A(5332);ao()(_c.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class _d extends br{constructor(a){super(a),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const a=new Ro;return a.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),a}}var Yu=A(6781);ao()(Yu.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),A(1103),A(841);var bd=A(3662);ao()(bd.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Zd extends Ro{constructor(a){super(a),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${S()}`;const c=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:c.to("for")},children:[{text:c.to("text")}]})}}var cl=A(2577);ao()(cl.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ed extends Ro{constructor(a,c){super(a);const u=`ck-labeled-field-view-${S()}`,E=`ck-labeled-field-view-status-${S()}`;this.fieldView=c(this,u,E),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(u),this.statusView=this._createStatusView(E),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(V,X)=>V||X);const R=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",R.to("class"),R.if("isEnabled","ck-disabled",V=>!V),R.if("isEmpty","ck-labeled-field-view_empty"),R.if("isFocused","ck-labeled-field-view_focused"),R.if("placeholder","ck-labeled-field-view_placeholder"),R.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(a){const c=new Zd(this.locale);return c.for=a,c.bind("text").to(this,"label"),c}_createStatusView(a){const c=new Ro(this.locale),u=this.bindTemplate;return c.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",u.if("errorText","ck-labeled-field-view__status_error"),u.if("_statusText","ck-hidden",E=>!E)],id:a,role:u.if("errorText","alert")},children:[{text:u.to("_statusText")}]}),c}focus(a){this.fieldView.focus(a)}}class Hm extends Ro{constructor(a){super(a),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new Ys,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const c=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",c.if("isFocused","ck-input_focused"),c.if("isEmpty","ck-input-text_empty"),c.if("hasError","ck-error")],id:c.to("id"),placeholder:c.to("placeholder"),readonly:c.to("isReadOnly"),"aria-invalid":c.if("hasError",!0),"aria-describedby":c.to("ariaDescribedById")},on:{input:c.to((...u)=>{this.fire("input",...u),this._updateIsEmpty()}),change:c.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(a,c,u)=>{this._setDomElementValue(u),this._updateIsEmpty()})}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(a){this.element.value=a||0===a?a:""}}var H1=A(4879);ao()(H1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class tf extends Hm{constructor(a){super(a),this.set("inputMode","text"),this.extendTemplate({attributes:{inputmode:this.bindTemplate.to("inputMode")}})}}class x2 extends tf{constructor(a){super(a),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var $l=A(8182);ao()($l.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Z0 extends Ro{constructor(a){super(a);const c=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",c.to("position",u=>`ck-dropdown__panel_${u}`),c.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:c.to(u=>{"input"!==u.target.tagName.toLocaleLowerCase()&&u.preventDefault()})}})}focus(){if(this.children.length){const a=this.children.first;"function"==typeof a.focus?a.focus():nt("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const a=this.children.last;"function"==typeof a.focusLast?a.focusLast():a.focus()}}}var Ir=A(5485);ao()(Ir.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Uu=class extends Ro{constructor(v,a,c){super(v);const u=this.bindTemplate;this.buttonView=a,this.panelView=c,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new Ja,this.focusTracker=new Ys,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",u.to("class"),u.if("isEnabled","ck-disabled",E=>!E)],id:u.to("id"),"aria-describedby":u.to("ariaDescribedById")},children:[a,c]}),a.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":u.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.on("change:isOpen",(a,c,u)=>{if(u)if("auto"===this.panelPosition){const E=Uu._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=E?E.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition}),this.keystrokes.listenTo(this.element);const v=(a,c)=>{this.isOpen&&(this.isOpen=!1,c())};this.keystrokes.set("arrowdown",(a,c)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,c())}),this.keystrokes.set("arrowright",(a,c)=>{this.isOpen&&c()}),this.keystrokes.set("arrowleft",v),this.keystrokes.set("esc",v)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:v,north:a,southEast:c,southWest:u,northEast:E,northWest:R,southMiddleEast:V,southMiddleWest:X,northMiddleEast:et,northMiddleWest:bt}=Uu.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[c,u,V,X,v,E,R,et,bt,a]:[u,c,X,V,v,R,E,bt,et,a]}};let ds=Uu;ds.defaultPanelPositions={south:(v,a)=>({top:v.bottom,left:v.left-(a.width-v.width)/2,name:"s"}),southEast:v=>({top:v.bottom,left:v.left,name:"se"}),southWest:(v,a)=>({top:v.bottom,left:v.left-a.width+v.width,name:"sw"}),southMiddleEast:(v,a)=>({top:v.bottom,left:v.left-(a.width-v.width)/4,name:"sme"}),southMiddleWest:(v,a)=>({top:v.bottom,left:v.left-3*(a.width-v.width)/4,name:"smw"}),north:(v,a)=>({top:v.top-a.height,left:v.left-(a.width-v.width)/2,name:"n"}),northEast:(v,a)=>({top:v.top-a.height,left:v.left,name:"ne"}),northWest:(v,a)=>({top:v.top-a.height,left:v.left-a.width+v.width,name:"nw"}),northMiddleEast:(v,a)=>({top:v.top-a.height,left:v.left-(a.width-v.width)/4,name:"nme"}),northMiddleWest:(v,a)=>({top:v.top-a.height,left:v.left-3*(a.width-v.width)/4,name:"nmw"})},ds._getOptimalPosition=Tn;const Sd='';class Cu extends br{constructor(a){super(a),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",c=>String(c))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const a=new di;return a.content=Sd,a.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),a}}class sc extends(ft()){constructor(a){if(super(),this.focusables=a.focusables,this.focusTracker=a.focusTracker,this.keystrokeHandler=a.keystrokeHandler,this.actions=a.actions,a.actions&&a.keystrokeHandler)for(const c in a.actions){let u=a.actions[c];"string"==typeof u&&(u=[u]);for(const E of u)a.keystrokeHandler.set(E,(R,V)=>{this[c](),V()})}this.on("forwardCycle",()=>this.focusFirst(),{priority:"low"}),this.on("backwardCycle",()=>this.focusLast(),{priority:"low"})}get first(){return this.focusables.find(cc)||null}get last(){return this.focusables.filter(cc).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let a=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((c,u)=>{const E=c.element===this.focusTracker.focusedElement;return E&&(a=u),E}),a)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const a=this.next;a&&this.focusables.getIndex(a)===this.current||(a===this.first?this.fire("forwardCycle"):this._focus(a,1))}focusPrevious(){const a=this.previous;a&&this.focusables.getIndex(a)===this.current||(a===this.last?this.fire("backwardCycle"):this._focus(a,-1))}_focus(a,c){a&&a.focus(c)}_getFocusableItem(a){const c=this.current,u=this.focusables.length;if(!u)return null;if(null===c)return this[1===a?"first":"last"];let E=(c+u+a)%u;do{const R=this.focusables.get(E);if(cc(R))return R;E=(E+u+a)%u}while(E!==c);return null}}function cc(v){return!(!("focus"in v)||!ne(v.element))}class Zs extends Ro{constructor(a){super(a),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class U1 extends Ro{constructor(a){super(a),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}var tc=Object.defineProperty,Pd=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,Ad=Object.prototype.propertyIsEnumerable,Ju=(v,a,c)=>a in v?tc(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,Xu=(v,a)=>{for(var c in a||(a={}))ef.call(a,c)&&Ju(v,c,a[c]);if(Pd)for(var c of Pd(a))Ad.call(a,c)&&Ju(v,c,a[c]);return v};function Um(v){if(Array.isArray(v))return{items:v,removeItems:[]};const a={items:[],removeItems:[]};return v?Xu(Xu({},a),v):a}class j extends(kt()){constructor(a){super(),this._disableStack=new Set,this.editor=a,this.set("isEnabled",!0)}forceDisabled(a){this._disableStack.add(a),1==this._disableStack.size&&(this.on("set:isEnabled",qt,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(a){this._disableStack.delete(a),0==this._disableStack.size&&(this.off("set:isEnabled",qt),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function qt(v){v.return=!1,v.stop()}class ri extends(kt()){constructor(a){super(),this.editor=a,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.listenTo(a,"change:isReadOnly",()=>{this.refresh()}),this.on("set:isEnabled",c=>{if(!this.affectsData)return;const u=a.model.document.selection,E="$graveyard"!=u.getFirstPosition().root.rootName&&a.model.canEditAt(u);(a.isReadOnly||this._isEnabledBasedOnSelection&&!E)&&(c.return=!1,c.stop())},{priority:"highest"}),this.on("execute",c=>{this.isEnabled||c.stop()},{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(a){this._affectsData=a}refresh(){this.isEnabled=!0}forceDisabled(a){this._disableStack.add(a),1==this._disableStack.size&&(this.on("set:isEnabled",tu,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(a){this._disableStack.delete(a),0==this._disableStack.size&&(this.off("set:isEnabled",tu),this.refresh())}execute(...a){}destroy(){this.stopListening()}}function tu(v){v.return=!1,v.stop()}class ir extends ri{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...a){const c=this._getFirstEnabledCommand();return!!c&&c.execute(a)}registerChildCommand(a,c={}){P(this._childCommandsDefinitions,{command:a,priority:c.priority||"normal"}),a.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const a=this._childCommandsDefinitions.find(({command:c})=>c.isEnabled);return a&&a.command}}class zn extends(ft()){constructor(a,c=[],u=[]){super(),this._plugins=new Map,this._context=a,this._availablePlugins=new Map;for(const E of c)E.pluginName&&this._availablePlugins.set(E.pluginName,E);this._contextPlugins=new Map;for(const[E,R]of u)this._contextPlugins.set(E,R),this._contextPlugins.set(R,E),E.pluginName&&this._availablePlugins.set(E.pluginName,E)}*[Symbol.iterator](){for(const a of this._plugins)"function"==typeof a[0]&&(yield a)}get(a){const c=this._plugins.get(a);if(!c){let u=a;throw"function"==typeof a&&(u=a.pluginName||a.name),new z("plugincollection-plugin-not-loaded",this._context,{plugin:u})}return c}has(a){return this._plugins.has(a)}init(a,c=[],u=[]){const E=this,R=this._context;(function Ae(ze,mn=new Set){ze.forEach(xn=>{et(xn)&&(mn.has(xn)||(mn.add(xn),xn.pluginName&&!E._availablePlugins.has(xn.pluginName)&&E._availablePlugins.set(xn.pluginName,xn),xn.requires&&Ae(xn.requires,mn)))})})(a),Wt(a);const V=[...function Ae(ze,mn=new Set){return ze.map(xn=>et(xn)?xn:E._availablePlugins.get(xn)).reduce((xn,ti)=>mn.has(ti)?xn:(mn.add(ti),ti.requires&&(Wt(ti.requires,ti),Ae(ti.requires,mn).forEach(Si=>xn.add(Si))),xn.add(ti)),new Set)}(a.filter(Ae=>!vt(Ae,c)))];!function(Ae,ze){for(const mn of ze){if("function"!=typeof mn)throw new z("plugincollection-replace-plugin-invalid-type",null,{pluginItem:mn});const xn=mn.pluginName;if(!xn)throw new z("plugincollection-replace-plugin-missing-name",null,{pluginItem:mn});if(mn.requires&&mn.requires.length)throw new z("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:xn});const ti=E._availablePlugins.get(xn);if(!ti)throw new z("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:xn});const Si=Ae.indexOf(ti);if(-1===Si){if(E._contextPlugins.has(ti))return;throw new z("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:xn})}if(ti.requires&&ti.requires.length)throw new z("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:xn});Ae.splice(Si,1,mn),E._availablePlugins.set(xn,mn)}}(V,u);const X=V.map(Ae=>{let ze=E._contextPlugins.get(Ae);return ze=ze||new Ae(R),E._add(Ae,ze),ze});return he(X,"init").then(()=>he(X,"afterInit")).then(()=>X);function et(Ae){return"function"==typeof Ae}function bt(Ae){return et(Ae)&&!!Ae.isContextPlugin}function vt(Ae,ze){return ze.some(mn=>mn===Ae||Pt(Ae)===mn||Pt(mn)===Ae)}function Pt(Ae){return et(Ae)?Ae.pluginName||Ae.name:Ae}function Wt(Ae,ze=null){Ae.map(mn=>et(mn)?mn:E._availablePlugins.get(mn)||mn).forEach(mn=>{(function(xn,ti){if(!et(xn))throw ti?new z("plugincollection-soft-required",R,{missingPlugin:xn,requiredBy:Pt(ti)}):new z("plugincollection-plugin-not-found",R,{plugin:xn})})(mn,ze),function(xn,ti){if(bt(ti)&&!bt(xn))throw new z("plugincollection-context-required",R,{plugin:Pt(xn),requiredBy:Pt(ti)})}(mn,ze),function(xn,ti){if(ti&&vt(xn,c))throw new z("plugincollection-required",R,{plugin:Pt(xn),requiredBy:Pt(ti)})}(mn,ze)})}function he(Ae,ze){return Ae.reduce((mn,xn)=>xn[ze]?E._contextPlugins.has(xn)?mn:mn.then(xn[ze].bind(xn)):mn,Promise.resolve())}}destroy(){const a=[];for(const[,c]of this)"function"!=typeof c.destroy||this._contextPlugins.has(c)||a.push(c.destroy());return Promise.all(a)}_add(a,c){this._plugins.set(a,c);const u=a.pluginName;if(u){if(this._plugins.has(u))throw new z("plugincollection-plugin-name-conflict",null,{pluginName:u,plugin1:this._plugins.get(u).constructor,plugin2:a});this._plugins.set(u,c)}}}class va{constructor(a){this._contextOwner=null,this.config=new jo(a,this.constructor.defaultConfig);const c=this.constructor.builtinPlugins;this.config.define("plugins",c),this.plugins=new zn(this,c);const u=this.config.get("language")||{};this.locale=new bu({uiLanguage:"string"==typeof u?u:u.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new Fa}initPlugins(){const a=this.config.get("plugins")||[],c=this.config.get("substitutePlugins")||[];for(const u of a.concat(c)){if("function"!=typeof u)throw new z("context-initplugins-constructor-only",null,{Plugin:u});if(!0!==u.isContextPlugin)throw new z("context-initplugins-invalid-plugin",null,{Plugin:u})}return this.plugins.init(a,[],c)}destroy(){return Promise.all(Array.from(this.editors,a=>a.destroy())).then(()=>this.plugins.destroy())}_addEditor(a,c){if(this._contextOwner)throw new z("context-addeditor-private-context");this.editors.add(a),c&&(this._contextOwner=a)}_removeEditor(a){return this.editors.has(a)&&this.editors.remove(a),this._contextOwner===a?this.destroy():Promise.resolve()}_getEditorConfig(){const a={};for(const c of this.config.names())["plugins","removePlugins","extraPlugins"].includes(c)||(a[c]=this.config.get(c));return a}static create(a){return new Promise(c=>{const u=new this(a);c(u.initPlugins().then(()=>u))})}}class Ft extends(kt()){constructor(a){super(),this.context=a}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class $t extends Ja{constructor(a){super(),this.editor=a}set(a,c,u={}){if("string"==typeof c){const E=c;c=(R,V)=>{this.editor.execute(E),V()}}super.set(a,c,u)}}var me=A(4717);ao()(me.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const cn=new WeakMap;let Xn=!1;function Li({view:v,element:a,text:c,isDirectHost:u=!0,keepOnFocus:E=!1}){const R=v.document;function V(X){cn.get(R).set(a,{text:X,isDirectHost:u,keepOnFocus:E,hostElement:u?a:null}),v.change(et=>Fr(R,et))}cn.has(R)||(cn.set(R,new Map),R.registerPostFixer(X=>Fr(R,X)),R.on("change:isComposing",()=>{v.change(X=>Fr(R,X))},{priority:"high"})),a.is("editableElement")&&a.on("change:placeholder",(X,et,bt)=>{V(bt)}),a.placeholder?V(a.placeholder):c&&V(c),c&&(Xn||nt("enableplaceholder-deprecated-text-option"),Xn=!0)}function Fr(v,a){const c=cn.get(v),u=[];let E=!1;for(const[R,V]of c)V.isDirectHost&&(u.push(R),Kr(a,R,V)&&(E=!0));for(const[R,V]of c){if(V.isDirectHost)continue;const X=wi(R);X&&(u.includes(X)||(V.hostElement=X,Kr(a,R,V)&&(E=!0)))}return E}function Kr(v,a,c){const{text:u,isDirectHost:E,hostElement:R}=c;let V=!1;return R.getAttribute("data-placeholder")!==u&&(v.setAttribute("data-placeholder",u,R),V=!0),(E||1==a.childCount)&&function(X,et){if(!X.isAttached()||Array.from(X.getChildren()).some(Pt=>!Pt.is("uiElement")))return!1;const bt=X.document,vt=bt.selection.anchor;return!(bt.isComposing&&vt&&vt.parent===X||!et&&bt.isFocused&&(!vt||vt.parent===X))}(R,c.keepOnFocus)?(X=v,!(et=R).hasClass("ck-placeholder")&&(X.addClass("ck-placeholder",et),!0)&&(V=!0)):function To(v,a){return!!a.hasClass("ck-placeholder")&&(v.removeClass("ck-placeholder",a),!0)}(v,R)&&(V=!0),V;var X,et}function wi(v){if(v.childCount){const a=v.getChild(0);if(a.is("element")&&!a.is("uiElement")&&!a.is("attributeElement"))return a}return null}class ur{is(){throw new Error("is() method is abstract")}}const Od=function(v){return Ei(v,4)};class p1 extends(ft(ur)){constructor(a){super(),this.document=a,this.parent=null}get index(){let a;if(!this.parent)return null;if(-1==(a=this.parent.getChildIndex(this)))throw new z("view-node-not-found-in-parent",this);return a}get nextSibling(){const a=this.index;return null!==a&&this.parent.getChild(a+1)||null}get previousSibling(){const a=this.index;return null!==a&&this.parent.getChild(a-1)||null}get root(){let a=this;for(;a.parent;)a=a.parent;return a}isAttached(){return this.root.is("rootElement")}getPath(){const a=[];let c=this;for(;c.parent;)a.unshift(c.index),c=c.parent;return a}getAncestors(a={}){const c=[];let u=a.includeSelf?this:this.parent;for(;u;)c[a.parentFirst?"push":"unshift"](u),u=u.parent;return c}getCommonAncestor(a,c={}){const u=this.getAncestors(c),E=a.getAncestors(c);let R=0;for(;u[R]==E[R]&&u[R];)R++;return 0===R?null:u[R-1]}isBefore(a){if(this==a||this.root!==a.root)return!1;const c=this.getPath(),u=a.getPath(),E=se(c,u);switch(E){case"prefix":return!0;case"extension":return!1;default:return c[E]a.data.length)throw new z("view-textproxy-wrong-offsetintext",this);if(u<0||c+u>a.data.length)throw new z("view-textproxy-wrong-length",this);this.data=a.data.substring(c,c+u),this.offsetInText=c}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(a={}){const c=[];let u=a.includeSelf?this.textNode:this.parent;for(;null!==u;)c[a.parentFirst?"push":"unshift"](u),u=u.parent;return c}}eu.prototype.is=function(v){return"$textProxy"===v||"view:$textProxy"===v||"textProxy"===v||"view:textProxy"===v};class nd{constructor(...a){this._patterns=[],this.add(...a)}add(...a){for(let c of a)("string"==typeof c||c instanceof RegExp)&&(c={name:c}),this._patterns.push(c)}match(...a){for(const c of a)for(const u of this._patterns){const E=Fd(c,u);if(E)return{element:c,pattern:u,match:E}}return null}matchAll(...a){const c=[];for(const u of a)for(const E of this._patterns){const R=Fd(u,E);R&&c.push({element:u,pattern:E,match:R})}return c.length>0?c:null}getElementName(){if(1!==this._patterns.length)return null;const a=this._patterns[0],c=a.name;return"function"==typeof a||!c||c instanceof RegExp?null:c}}function Fd(v,a){if("function"==typeof a)return a(v);const c={};return a.name&&(c.name=(E=v.name,(u=a.name)instanceof RegExp?!!E.match(u):u===E),!c.name)||a.attributes&&(c.attributes=function(u,E){const R=new Set(E.getAttributeKeys());return te(u)?(void 0!==u.style&&nt("matcher-pattern-deprecated-attributes-style-key",u),void 0!==u.class&&nt("matcher-pattern-deprecated-attributes-class-key",u)):(R.delete("style"),R.delete("class")),Sp(u,R,V=>E.getAttribute(V))}(a.attributes,v),!c.attributes)||a.classes&&(c.classes=function(u,E){return Sp(u,E.getClassNames(),()=>{})}(a.classes,v),!c.classes)||a.styles&&(c.styles=function(u,E){return Sp(u,E.getStyleNames(!0),R=>E.getStyle(R))}(a.styles,v),!c.styles)?null:c;var u,E}function Sp(v,a,c){const u=(V=v,Array.isArray(V)?V.map(X=>te(X)?(void 0!==X.key&&void 0!==X.value||nt("matcher-pattern-missing-key-or-value",X),[X.key,X.value]):[X,!0]):te(V)?Object.entries(V):[[V,!0]]),E=Array.from(a),R=[];var V;if(u.forEach(([V,X])=>{E.forEach(et=>{var bt,vt;vt=et,(!0===(bt=V)||bt===vt||bt instanceof RegExp&&vt.match(bt))&&function(bt,vt,Pt){if(!0===bt)return!0;const Wt=Pt(vt);return bt===Wt||bt instanceof RegExp&&!!String(Wt).match(bt)}(X,et,c)&&R.push(et)})}),u.length&&!(R.lengthE?0:E+a),(c=c>E?E:c)<0&&(c+=E),E=a>c?0:c-a>>>0,a>>>=0;for(var R=Array(E);++u0){if(++a>=800)return arguments[0]}else a=0;return v.apply(void 0,arguments)}}(a_),Ee=function(v){return function(v,a){return Cl(function(v,a,c){return a=I2(void 0===a?v.length-1:a,0),function(){for(var u=arguments,E=-1,R=I2(u.length-a,0),V=Array(R);++E1?c[E-1]:void 0,V=E>2?c[2]:void 0;for(R=v.length>3&&"function"==typeof R?(E--,R):void 0,V&&function(v,a,c){if(!_t(c))return!1;var u=typeof a;return!!("number"==u?Ps(c)&&Ws(a,c.length):"string"==u&&a in c)&&nn(c[a],v)}(c[0],c[1],V)&&(R=E<3?void 0:R,E=1),a=Object(a);++uu===a);return Array.isArray(c)}set(a,c){if(_t(a))for(const[u,E]of Object.entries(a))this._styleProcessor.toNormalizedForm(u,E,this._styles);else this._styleProcessor.toNormalizedForm(a,c,this._styles)}remove(a){const c=lf(a);(function(v,a){null==v||function(v,a){null==(v=function(v,a){return a.length<2?v:rf(v,Xm(a,0,-1))}(v,a=ll(a,v)))||delete v[Op(function(v){var a=null==v?0:v.length;return a?v[a-1]:void 0}(a))]}(v,a)})(this._styles,c),delete this._styles[a],this._cleanEmptyObjectsOnPath(c)}getNormalized(a){return this._styleProcessor.getNormalized(a,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map(a=>a.join(":")).sort().join(";")+";"}getAsString(a){if(this.isEmpty)return;if(this._styles[a]&&!_t(this._styles[a]))return this._styles[a];const c=this._styleProcessor.getReducedForm(a,this._styles).find(([u])=>u===a);return Array.isArray(c)?c[1]:void 0}getStyleNames(a=!1){return this.isEmpty?[]:a?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map(([c])=>c)}clear(){this._styles={}}_getStylesEntries(){const a=[],c=Object.keys(this._styles);for(const u of c)a.push(...this._styleProcessor.getReducedForm(u,this._styles));return a}_cleanEmptyObjectsOnPath(a){const c=a.split(".");if(!(c.length>1))return;const u=c.splice(0,c.length-1).join("."),E=X1(this._styles,u);E&&!Object.keys(E).length&&this.remove(u)}}class og{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(a,c,u){if(_t(c))W1(u,lf(a),c);else if(this._normalizers.has(a)){const E=this._normalizers.get(a),{path:R,value:V}=E(c);W1(u,R,V)}else W1(u,a,c)}getNormalized(a,c){if(!a)return cf({},c);if(void 0!==c[a])return c[a];if(this._extractors.has(a)){const u=this._extractors.get(a);if("string"==typeof u)return X1(c,u);const E=u(a,c);if(E)return E}return X1(c,lf(a))}getReducedForm(a,c){const u=this.getNormalized(a,c);return void 0===u?[]:this._reducers.has(a)?this._reducers.get(a)(u):[[a,u]]}getStyleNames(a){const c=Array.from(this._consumables.keys()).filter(E=>{const R=this.getNormalized(E,a);return R&&"object"==typeof R?Object.keys(R).length:R}),u=new Set([...c,...Object.keys(a)]);return Array.from(u)}getRelatedStyles(a){return this._consumables.get(a)||[]}setNormalizer(a,c){this._normalizers.set(a,c)}setExtractor(a,c){this._extractors.set(a,c)}setReducer(a,c){this._reducers.set(a,c)}setStyleRelation(a,c){this._mapStyleNames(a,c);for(const u of c)this._mapStyleNames(u,[a])}_mapStyleNames(a,c){this._consumables.has(a)||this._consumables.set(a,[]),this._consumables.get(a).push(...c)}}function lf(v){return v.replace("-",".")}function W1(v,a,c){let u=c;_t(c)&&(u=cf({},X1(v,a),c)),function(v,a,c){null==v||function(v,a,c,u){if(!_t(v))return v;for(var E=-1,R=(a=ll(a,v)).length,V=R-1,X=v;null!=X&&++E0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(a){if("class"==a)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==a){const c=this._styles.toString();return""==c?void 0:c}return this._attrs.get(a)}hasAttribute(a){return"class"==a?this._classes.size>0:"style"==a?!this._styles.isEmpty:this._attrs.has(a)}isSimilar(a){if(!(a instanceof dl))return!1;if(this===a)return!0;if(this.name!=a.name||this._attrs.size!==a._attrs.size||this._classes.size!==a._classes.size||this._styles.size!==a._styles.size)return!1;for(const[c,u]of this._attrs)if(!a._attrs.has(c)||a._attrs.get(c)!==u)return!1;for(const c of this._classes)if(!a._classes.has(c))return!1;for(const c of this._styles.getStyleNames())if(!a._styles.has(c)||a._styles.getAsString(c)!==this._styles.getAsString(c))return!1;return!0}hasClass(...a){for(const c of a)if(!this._classes.has(c))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(a){return this._styles.getAsString(a)}getNormalizedStyle(a){return this._styles.getNormalized(a)}getStyleNames(a){return this._styles.getStyleNames(a)}hasStyle(...a){for(const c of a)if(!this._styles.has(c))return!1;return!0}findAncestor(...a){const c=new nd(...a);let u=this.parent;for(;u&&!u.is("documentFragment");){if(c.match(u))return u;u=u.parent}return null}getCustomProperty(a){return this._customProperties.get(a)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const a=Array.from(this._classes).sort().join(","),c=this._styles.toString(),u=Array.from(this._attrs).map(E=>`${E[0]}="${E[1]}"`).sort().join(" ");return this.name+(""==a?"":` class="${a}"`)+(c?` style="${c}"`:"")+(""==u?"":` ${u}`)}shouldRenderUnsafeAttribute(a){return this._unsafeAttributesToRender.includes(a)}_clone(a=!1){const c=[];if(a)for(const E of this.getChildren())c.push(E._clone(a));const u=new this.constructor(this.document,this.name,this._attrs,c);return u._classes=new Set(this._classes),u._styles.set(this._styles.getNormalized()),u._customProperties=new Map(this._customProperties),u.getFillerOffset=this.getFillerOffset,u._unsafeAttributesToRender=this._unsafeAttributesToRender,u}_appendChild(a){return this._insertChild(this.childCount,a)}_insertChild(a,c){this._fireChange("children",this);let u=0;const E=(R=this.document,"string"==typeof(V=c)?[new or(R,V)]:(be(V)||(V=[V]),Array.from(V).map(X=>"string"==typeof X?new or(R,X):X instanceof eu?new or(R,X.data):X)));var R,V;for(const R of E)null!==R.parent&&R._remove(),R.parent=this,R.document=this.document,this._children.splice(a,0,R),a++,u++;return u}_removeChildren(a,c=1){this._fireChange("children",this);for(let u=a;u0&&(this._classes.clear(),!0):"style"==a?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(a)}_addClass(a){this._fireChange("attributes",this);for(const c of ua(a))this._classes.add(c)}_removeClass(a){this._fireChange("attributes",this);for(const c of ua(a))this._classes.delete(c)}_setStyle(a,c){this._fireChange("attributes",this),"string"!=typeof a?this._styles.set(a):this._styles.set(a,c)}_removeStyle(a){this._fireChange("attributes",this);for(const c of ua(a))this._styles.remove(c)}_setCustomProperty(a,c){this._customProperties.set(a,c)}_removeCustomProperty(a){return this._customProperties.delete(a)}}function lb(v,a){const c=a.split(/\s+/);v.clear(),c.forEach(u=>v.add(u))}dl.prototype.is=function(v,a){return a?a===this.name&&("element"===v||"view:element"===v):"element"===v||"view:element"===v||"node"===v||"view:node"===v};class df extends dl{constructor(a,c,u,E){super(a,c,u,E),this.getFillerOffset=uf}}function uf(){const v=[...this.getChildren()],a=v[this.childCount-1];if(a&&a.is("element","br"))return this.childCount;for(const c of v)if(!c.is("uiElement"))return null;return this.childCount}df.prototype.is=function(v,a){return a?a===this.name&&("containerElement"===v||"view:containerElement"===v||"element"===v||"view:element"===v):"containerElement"===v||"view:containerElement"===v||"element"===v||"view:element"===v||"node"===v||"view:node"===v};class wu extends(kt(df)){constructor(a,c,u,E){super(a,c,u,E),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(a),this.bind("isFocused").to(a,"isFocused",R=>R&&a.selection.editableElement==this),this.listenTo(a.selection,"change",()=>{this.isFocused=a.isFocused&&a.selection.editableElement==this})}destroy(){this.stopListening()}}wu.prototype.is=function(v,a){return a?a===this.name&&("editableElement"===v||"view:editableElement"===v||"containerElement"===v||"view:containerElement"===v||"element"===v||"view:element"===v):"editableElement"===v||"view:editableElement"===v||"containerElement"===v||"view:containerElement"===v||"element"===v||"view:element"===v||"node"===v||"view:node"===v};const lc=Symbol("rootName");class Ca extends wu{constructor(a,c){super(a,c),this.rootName="main"}get rootName(){return this.getCustomProperty(lc)}set rootName(a){this._setCustomProperty(lc,a)}set _name(a){this.name=a}}Ca.prototype.is=function(v,a){return a?a===this.name&&("rootElement"===v||"view:rootElement"===v||"editableElement"===v||"view:editableElement"===v||"containerElement"===v||"view:containerElement"===v||"element"===v||"view:element"===v):"rootElement"===v||"view:rootElement"===v||"editableElement"===v||"view:editableElement"===v||"containerElement"===v||"view:containerElement"===v||"element"===v||"view:element"===v||"node"===v||"view:node"===v};class nu{constructor(a={}){if(!a.boundaries&&!a.startPosition)throw new z("view-tree-walker-no-start-position",null);if(a.direction&&"forward"!=a.direction&&"backward"!=a.direction)throw new z("view-tree-walker-unknown-direction",a.startPosition,{direction:a.direction});this.boundaries=a.boundaries||null,this._position=oo._createAt(a.startPosition?a.startPosition:a.boundaries["backward"==a.direction?"end":"start"]),this.direction=a.direction||"forward",this.singleCharacters=!!a.singleCharacters,this.shallow=!!a.shallow,this.ignoreElementEnd=!!a.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(a){let c,u;do{u=this.position,c=this.next()}while(!c.done&&a(c.value));c.done||(this._position=u)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let a=this.position.clone();const c=this.position,u=a.parent;if(null===u.parent&&a.offset===u.childCount)return{done:!0,value:void 0};if(u===this._boundaryEndParent&&a.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let E;if(u instanceof or){if(a.isAtEnd)return this._position=oo._createAfter(u),this._next();E=u.data[a.offset]}else E=u.getChild(a.offset);if(E instanceof dl){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(a))return{done:!0,value:void 0};a.offset++}else a=new oo(E,0);return this._position=a,this._formatReturnValue("elementStart",E,c,a,1)}if(E instanceof or){if(this.singleCharacters)return a=new oo(E,0),this._position=a,this._next();let R,V=E.data.length;return E==this._boundaryEndParent?(V=this.boundaries.end.offset,R=new eu(E,0,V),a=oo._createAfter(R)):(R=new eu(E,0,E.data.length),a.offset++),this._position=a,this._formatReturnValue("text",R,c,a,V)}if("string"==typeof E){let R;R=this.singleCharacters?1:(u===this._boundaryEndParent?this.boundaries.end.offset:u.data.length)-a.offset;const V=new eu(u,a.offset,R);return a.offset+=R,this._position=a,this._formatReturnValue("text",V,c,a,R)}return a=oo._createAfter(u),this._position=a,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",u,c,a)}_previous(){let a=this.position.clone();const c=this.position,u=a.parent;if(null===u.parent&&0===a.offset)return{done:!0,value:void 0};if(u==this._boundaryStartParent&&a.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let E;if(u instanceof or){if(a.isAtStart)return this._position=oo._createBefore(u),this._previous();E=u.data[a.offset-1]}else E=u.getChild(a.offset-1);if(E instanceof dl)return this.shallow?(a.offset--,this._position=a,this._formatReturnValue("elementStart",E,c,a,1)):(a=new oo(E,E.childCount),this._position=a,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",E,c,a));if(E instanceof or){if(this.singleCharacters)return a=new oo(E,E.data.length),this._position=a,this._previous();let R,V=E.data.length;if(E==this._boundaryStartParent){const X=this.boundaries.start.offset;R=new eu(E,X,E.data.length-X),V=R.data.length,a=oo._createBefore(R)}else R=new eu(E,0,E.data.length),a.offset--;return this._position=a,this._formatReturnValue("text",R,c,a,V)}if("string"==typeof E){let R;R=this.singleCharacters?1:a.offset-(u===this._boundaryStartParent?this.boundaries.start.offset:0),a.offset-=R;const V=new eu(u,a.offset,R);return this._position=a,this._formatReturnValue("text",V,c,a,R)}return a=oo._createBefore(u),this._position=a,this._formatReturnValue("elementStart",u,c,a,1)}_formatReturnValue(a,c,u,E,R){return c instanceof eu&&(c.offsetInText+c.data.length==c.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?u=oo._createAfter(c.textNode):(E=oo._createAfter(c.textNode),this._position=E)),0===c.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?u=oo._createBefore(c.textNode):(E=oo._createBefore(c.textNode),this._position=E))),{done:!1,value:{type:a,item:c,previousPosition:u,nextPosition:E,length:R}}}}class oo extends ur{constructor(a,c){super(),this.parent=a,this.offset=c}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const a=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===a}get root(){return this.parent.root}get editableElement(){let a=this.parent;for(;!(a instanceof wu);){if(!a.parent)return null;a=a.parent}return a}getShiftedBy(a){const c=oo._createAt(this),u=c.offset+a;return c.offset=u<0?0:u,c}getLastMatchingPosition(a,c={}){c.startPosition=this;const u=new nu(c);return u.skip(a),u.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(a){const c=this.getAncestors(),u=a.getAncestors();let E=0;for(;c[E]==u[E]&&c[E];)E++;return 0===E?null:c[E-1]}isEqual(a){return this.parent==a.parent&&this.offset==a.offset}isBefore(a){return"before"==this.compareWith(a)}isAfter(a){return"after"==this.compareWith(a)}compareWith(a){if(this.root!==a.root)return"different";if(this.isEqual(a))return"same";const c=this.parent.is("node")?this.parent.getPath():[],u=a.parent.is("node")?a.parent.getPath():[];c.push(this.offset),u.push(a.offset);const E=se(c,u);switch(E){case"prefix":return"before";case"extension":return"after";default:return c[E]0?new this(u,E):new this(E,u)}static _createIn(a){return this._createFromParentsAndOffsets(a,0,a,a.childCount)}static _createOn(a){const c=a.is("$textProxy")?a.offsetSize:1;return this._createFromPositionAndShift(oo._createBefore(a),c)}}function Wm(v){return!(!v.item.is("attributeElement")&&!v.item.is("uiElement"))}Er.prototype.is=function(v){return"range"===v||"view:range"===v};class Sa extends(ft(ur)){constructor(...a){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",a.length&&this.setTo(...a)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const a=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?a.end:a.start).clone()}get focus(){if(!this._ranges.length)return null;const a=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?a.start:a.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const a of this._ranges)yield a.clone()}getFirstRange(){let a=null;for(const c of this._ranges)a&&!c.start.isBefore(a.start)||(a=c);return a?a.clone():null}getLastRange(){let a=null;for(const c of this._ranges)a&&!c.end.isAfter(a.end)||(a=c);return a?a.clone():null}getFirstPosition(){const a=this.getFirstRange();return a?a.start.clone():null}getLastPosition(){const a=this.getLastRange();return a?a.end.clone():null}isEqual(a){if(this.isFake!=a.isFake||this.isFake&&this.fakeSelectionLabel!=a.fakeSelectionLabel||this.rangeCount!=a.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(a.anchor)||!this.focus.isEqual(a.focus))return!1;for(const c of this._ranges){let u=!1;for(const E of a._ranges)if(c.isEqual(E)){u=!0;break}if(!u)return!1}return!0}isSimilar(a){if(this.isBackward!=a.isBackward)return!1;const c=Jt(this.getRanges());if(c!=Jt(a.getRanges()))return!1;if(0==c)return!0;for(let u of this.getRanges()){u=u.getTrimmed();let E=!1;for(let R of a.getRanges())if(R=R.getTrimmed(),u.start.isEqual(R.start)&&u.end.isEqual(R.end)){E=!0;break}if(!E)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...a){let[c,u,E]=a;if("object"==typeof u&&(E=u,u=void 0),null===c)this._setRanges([]),this._setFakeOptions(E);else if(c instanceof Sa||c instanceof dc)this._setRanges(c.getRanges(),c.isBackward),this._setFakeOptions({fake:c.isFake,label:c.fakeSelectionLabel});else if(c instanceof Er)this._setRanges([c],E&&E.backward),this._setFakeOptions(E);else if(c instanceof oo)this._setRanges([new Er(c)]),this._setFakeOptions(E);else if(c instanceof p1){const R=!!E&&!!E.backward;let V;if(void 0===u)throw new z("view-selection-setto-required-second-parameter",this);V="in"==u?Er._createIn(c):"on"==u?Er._createOn(c):new Er(oo._createAt(c,u)),this._setRanges([V],R),this._setFakeOptions(E)}else{if(!be(c))throw new z("view-selection-setto-not-selectable",this);this._setRanges(c,E&&E.backward),this._setFakeOptions(E)}this.fire("change")}setFocus(a,c){if(null===this.anchor)throw new z("view-selection-setfocus-no-ranges",this);const u=oo._createAt(a,c);if("same"==u.compareWith(this.focus))return;const E=this.anchor;this._ranges.pop(),"before"==u.compareWith(E)?this._addRange(new Er(u,E),!0):this._addRange(new Er(E,u)),this.fire("change")}_setRanges(a,c=!1){a=Array.from(a),this._ranges=[];for(const u of a)this._addRange(u);this._lastRangeBackward=!!c}_setFakeOptions(a={}){this._isFake=!!a.fake,this._fakeSelectionLabel=a.fake&&a.label||""}_addRange(a,c=!1){if(!(a instanceof Er))throw new z("view-selection-add-range-not-range",this);this._pushRange(a),this._lastRangeBackward=!!c}_pushRange(a){for(const c of this._ranges)if(a.isIntersecting(c))throw new z("view-selection-range-intersects",this,{addedRange:a,intersectingRange:c});this._ranges.push(new Er(a.start,a.end))}}Sa.prototype.is=function(v){return"selection"===v||"view:selection"===v};class dc extends(ft(ur)){constructor(...a){super(),this._selection=new Sa,this._selection.delegate("change").to(this),a.length&&this._selection.setTo(...a)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(a){return this._selection.isEqual(a)}isSimilar(a){return this._selection.isSimilar(a)}_setTo(...a){this._selection.setTo(...a)}_setFocus(a,c){this._selection.setFocus(a,c)}}dc.prototype.is=function(v){return"selection"===v||"documentSelection"==v||"view:selection"==v||"view:documentSelection"==v};class Pa extends I{constructor(a,c,u){super(a,c),this.startRange=u,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const Rc=Symbol("bubbling contexts");function ma(v){return class extends v{fire(a,...c){try{const u=a instanceof I?a:new I(this,a),E=Lp(this);if(!E.size)return;if(Gl(u,"capturing",this),Us(E,"$capture",u,...c))return u.return;const R=u.startRange||this.selection.getFirstRange(),V=R?R.getContainedElement():null,X=!!V&&!!_1(E,V);let et=V||function(bt){if(!bt)return null;const vt=bt.start.parent,Pt=bt.end.parent,Wt=vt.getPath(),he=Pt.getPath();return Wt.length>he.length?vt:Pt}(R);if(Gl(u,"atTarget",et),!X){if(Us(E,"$text",u,...c))return u.return;Gl(u,"bubbling",et)}for(;et;){if(et.is("rootElement")){if(Us(E,"$root",u,...c))return u.return}else if(et.is("element")&&Us(E,et.name,u,...c))return u.return;if(Us(E,et,u,...c))return u.return;et=et.parent,Gl(u,"bubbling",et)}return Gl(u,"bubbling",this),Us(E,"$document",u,...c),u.return}catch(u){z.rethrowUnexpectedError(u,this)}}_addEventListener(a,c,u){const E=ua(u.context||"$document"),R=Lp(this);for(const V of E){let X=R.get(V);X||(X=new(ft()),R.set(V,X)),this.listenTo(X,a,c,u)}}_removeEventListener(a,c){const u=Lp(this);for(const E of u.values())this.stopListening(E,a,c)}}}{const v=ma(Object);["fire","_addEventListener","_removeEventListener"].forEach(a=>{ma[a]=v.prototype[a]})}function Gl(v,a,c){v instanceof Pa&&(v._eventPhase=a,v._currentTarget=c)}function Us(v,a,c,...u){const E="string"==typeof a?v.get(a):_1(v,a);return!!E&&(E.fire(c,...u),c.stop.called)}function _1(v,a){for(const[c,u]of v)if("function"==typeof c&&c(a))return u;return null}function Lp(v){return v[Rc]||(v[Rc]=new Map),v[Rc]}class mf extends(ma(kt())){constructor(a){super(),this._postFixers=new Set,this.selection=new dc,this.roots=new Fa({idProperty:"rootName"}),this.stylesProcessor=a,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(a="main"){return this.roots.get(a)}registerPostFixer(a){this._postFixers.add(a)}destroy(){this.roots.forEach(a=>a.destroy()),this.stopListening()}_callPostFixers(a){let c=!1;do{for(const u of this._postFixers)if(c=u(a),c)break}while(c)}}class id extends dl{constructor(a,c,u,E){super(a,c,u,E),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=rg}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new z("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(a){return null!==this.id||null!==a.id?this.id===a.id:super.isSimilar(a)&&this.priority==a.priority}_clone(a=!1){const c=super._clone(a);return c._priority=this._priority,c._id=this._id,c}}function rg(){if(Bl(this))return null;let v=this.parent;for(;v&&v.is("attributeElement");){if(Bl(v)>1)return null;v=v.parent}return!v||Bl(v)>1?null:this.childCount}function Bl(v){return Array.from(v.getChildren()).filter(a=>!a.is("uiElement")).length}id.DEFAULT_PRIORITY=10,id.prototype.is=function(v,a){return a?a===this.name&&("attributeElement"===v||"view:attributeElement"===v||"element"===v||"view:element"===v):"attributeElement"===v||"view:attributeElement"===v||"element"===v||"view:element"===v||"node"===v||"view:node"===v};class qu extends dl{constructor(a,c,u,E){super(a,c,u,E),this.getFillerOffset=S2}_insertChild(a,c){if(c&&(c instanceof p1||Array.from(c).length>0))throw new z("view-emptyelement-cannot-add",[this,c]);return 0}}function S2(){return null}qu.prototype.is=function(v,a){return a?a===this.name&&("emptyElement"===v||"view:emptyElement"===v||"element"===v||"view:element"===v):"emptyElement"===v||"view:emptyElement"===v||"element"===v||"view:element"===v||"node"===v||"view:node"===v};class iu extends dl{constructor(a,c,u,E){super(a,c,u,E),this.getFillerOffset=Km}_insertChild(a,c){if(c&&(c instanceof p1||Array.from(c).length>0))throw new z("view-uielement-cannot-add",[this,c]);return 0}render(a,c){return this.toDomElement(a)}toDomElement(a){const c=a.createElement(this.name);for(const u of this.getAttributeKeys())c.setAttribute(u,this.getAttribute(u));return c}}function Km(){return null}iu.prototype.is=function(v,a){return a?a===this.name&&("uiElement"===v||"view:uiElement"===v||"element"===v||"view:element"===v):"uiElement"===v||"view:uiElement"===v||"element"===v||"view:element"===v||"node"===v||"view:node"===v};class Jo extends dl{constructor(a,c,u,E){super(a,c,u,E),this.getFillerOffset=pf}_insertChild(a,c){if(c&&(c instanceof p1||Array.from(c).length>0))throw new z("view-rawelement-cannot-add",[this,c]);return 0}render(a,c){}}function pf(){return null}Jo.prototype.is=function(v,a){return a?a===this.name&&("rawElement"===v||"view:rawElement"===v||"element"===v||"view:element"===v):"rawElement"===v||"view:rawElement"===v||v===this.name||v==="view:"+this.name||"element"===v||"view:element"===v||"node"===v||"view:node"===v};class od extends(ft(ur)){constructor(a,c){super(),this._children=[],this._customProperties=new Map,this.document=a,c&&this._insertChild(0,c)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(a){return this._customProperties.get(a)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(a){return this._insertChild(this.childCount,a)}getChild(a){return this._children[a]}getChildIndex(a){return this._children.indexOf(a)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(a,c){this._fireChange("children",this);let u=0;const E=(R=this.document,"string"==typeof(V=c)?[new or(R,V)]:(be(V)||(V=[V]),Array.from(V).map(X=>"string"==typeof X?new or(R,X):X instanceof eu?new or(R,X.data):X)));var R,V;for(const R of E)null!==R.parent&&R._remove(),R.parent=this,this._children.splice(a,0,R),a++,u++;return u}_removeChildren(a,c=1){this._fireChange("children",this);for(let u=a;u{const et=V[V.length-1],bt=!X.is("uiElement");return et&&et.breakAttributes==bt?et.nodes.push(X):V.push({breakAttributes:bt,nodes:[X]}),V},[]);let E=null,R=a;for(const{nodes:V,breakAttributes:X}of u){const et=this._insertNodes(R,V,X);E||(E=et.start),R=et.end}return E?new Er(E,R):new Er(a)}remove(a){const c=a instanceof Er?a:Er._createOn(a);if(Ku(c,this.document),c.isCollapsed)return new od(this.document);const{start:u,end:E}=this._breakAttributesRange(c,!0),X=u.parent._removeChildren(u.offset,E.offset-u.offset);for(const bt of X)this._removeFromClonedElementsGroup(bt);const et=this.mergeAttributes(u);return c.start=et,c.end=et.clone(),new od(this.document,X)}clear(a,c){Ku(a,this.document);const u=a.getWalker({direction:"backward",ignoreElementEnd:!0});for(const E of u){const R=E.item;let V;if(R.is("element")&&c.isSimilar(R))V=Er._createOn(R);else if(!E.nextPosition.isAfter(a.start)&&R.is("$textProxy")){const X=R.getAncestors().find(et=>et.is("element")&&c.isSimilar(et));X&&(V=Er._createIn(X))}V&&(V.end.isAfter(a.end)&&(V.end=a.end),V.start.isBefore(a.start)&&(V.start=a.start),this.remove(V))}}move(a,c){let u;if(c.isAfter(a.end)){const E=(c=this._breakAttributes(c,!0)).parent,R=E.childCount;a=this._breakAttributesRange(a,!0),u=this.remove(a),c.offset+=E.childCount-R}else u=this.remove(a);return this.insert(c,u)}wrap(a,c){if(!(c instanceof id))throw new z("view-writer-wrap-invalid-attribute",this.document);if(Ku(a,this.document),a.isCollapsed){let E=a.start;E.parent.is("element")&&!Array.from(E.parent.getChildren()).some(V=>!V.is("uiElement"))&&(E=E.getLastMatchingPosition(V=>V.item.is("uiElement"))),E=this._wrapPosition(E,c);const R=this.document.selection;return R.isCollapsed&&R.getFirstPosition().isEqual(a.start)&&this.setSelection(E),new Er(E)}return this._wrapRange(a,c)}unwrap(a,c){if(!(c instanceof id))throw new z("view-writer-unwrap-invalid-attribute",this.document);if(Ku(a,this.document),a.isCollapsed)return a;const{start:u,end:E}=this._breakAttributesRange(a,!0),V=this._unwrapChildren(u.parent,u.offset,E.offset,c),X=this.mergeAttributes(V.start);X.isEqual(V.start)||V.end.offset--;const et=this.mergeAttributes(V.end);return new Er(X,et)}rename(a,c){const u=new df(this.document,a,c.getAttributes());return this.insert(oo._createAfter(c),u),this.move(Er._createIn(c),oo._createAt(u,0)),this.remove(Er._createOn(c)),u}clearClonedElementsGroup(a){this._cloneGroups.delete(a)}createPositionAt(a,c){return oo._createAt(a,c)}createPositionAfter(a){return oo._createAfter(a)}createPositionBefore(a){return oo._createBefore(a)}createRange(a,c){return new Er(a,c)}createRangeOn(a){return Er._createOn(a)}createRangeIn(a){return Er._createIn(a)}createSelection(...a){return new Sa(...a)}createSlot(a="children"){if(!this._slotFactory)throw new z("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,a)}_registerSlotFactory(a){this._slotFactory=a}_clearSlotFactory(){this._slotFactory=null}_insertNodes(a,c,u){let E,R;if(E=u?Ls(a):a.parent.is("$text")?a.parent.parent:a.parent,!E)throw new z("view-writer-invalid-position-container",this.document);R=u?this._breakAttributes(a,!0):a.parent.is("$text")?Fc(a):a;const V=E._insertChild(R.offset,c);for(const vt of c)this._addToClonedElementsGroup(vt);const X=R.getShiftedBy(V),et=this.mergeAttributes(R);et.isEqual(R)||X.offset--;const bt=this.mergeAttributes(X);return new Er(et,bt)}_wrapChildren(a,c,u,E){let R=c;const V=[];for(;R!1,a.parent._insertChild(a.offset,u);const E=new Er(a,a.getShiftedBy(1));this.wrap(E,c);const R=new oo(u.parent,u.index);u._remove();const V=R.nodeBefore,X=R.nodeAfter;return V instanceof or&&X instanceof or?b1(V,X):K1(R)}_wrapAttributeElement(a,c){if(!$p(a,c)||a.name!==c.name||a.priority!==c.priority)return!1;for(const u of a.getAttributeKeys())if("class"!==u&&"style"!==u&&c.hasAttribute(u)&&c.getAttribute(u)!==a.getAttribute(u))return!1;for(const u of a.getStyleNames())if(c.hasStyle(u)&&c.getStyle(u)!==a.getStyle(u))return!1;for(const u of a.getAttributeKeys())"class"!==u&&"style"!==u&&(c.hasAttribute(u)||this.setAttribute(u,a.getAttribute(u),c));for(const u of a.getStyleNames())c.hasStyle(u)||this.setStyle(u,a.getStyle(u),c);for(const u of a.getClassNames())c.hasClass(u)||this.addClass(u,c);return!0}_unwrapAttributeElement(a,c){if(!$p(a,c)||a.name!==c.name||a.priority!==c.priority)return!1;for(const u of a.getAttributeKeys())if("class"!==u&&"style"!==u&&(!c.hasAttribute(u)||c.getAttribute(u)!==a.getAttribute(u)))return!1;if(!c.hasClass(...a.getClassNames()))return!1;for(const u of a.getStyleNames())if(!c.hasStyle(u)||c.getStyle(u)!==a.getStyle(u))return!1;for(const u of a.getAttributeKeys())"class"!==u&&"style"!==u&&this.removeAttribute(u,c);return this.removeClass(Array.from(a.getClassNames()),c),this.removeStyle(Array.from(a.getStyleNames()),c),!0}_breakAttributesRange(a,c=!1){const u=a.start,E=a.end;if(Ku(a,this.document),a.isCollapsed){const et=this._breakAttributes(a.start,c);return new Er(et,et)}const R=this._breakAttributes(E,c),V=R.parent.childCount,X=this._breakAttributes(u,c);return R.offset+=R.parent.childCount-V,new Er(X,R)}_breakAttributes(a,c=!1){const u=a.offset,E=a.parent;if(a.parent.is("emptyElement"))throw new z("view-writer-cannot-break-empty-element",this.document);if(a.parent.is("uiElement"))throw new z("view-writer-cannot-break-ui-element",this.document);if(a.parent.is("rawElement"))throw new z("view-writer-cannot-break-raw-element",this.document);if(!c&&E.is("$text")&&F1(E.parent)||F1(E))return a.clone();if(E.is("$text"))return this._breakAttributes(Fc(a),c);if(u==E.childCount){const R=new oo(E.parent,E.index+1);return this._breakAttributes(R,c)}if(0===u){const R=new oo(E.parent,E.index);return this._breakAttributes(R,c)}{const R=E.index+1,V=E._clone();E.parent._insertChild(R,V),this._addToClonedElementsGroup(V);const et=E._removeChildren(u,E.childCount-u);V._appendChild(et);const bt=new oo(E.parent,R);return this._breakAttributes(bt,c)}}_addToClonedElementsGroup(a){if(!a.root.is("rootElement"))return;if(a.is("element"))for(const E of a.getChildren())this._addToClonedElementsGroup(E);const c=a.id;if(!c)return;let u=this._cloneGroups.get(c);u||(u=new Set,this._cloneGroups.set(c,u)),u.add(a),a._clonesGroup=u}_removeFromClonedElementsGroup(a){if(a.is("element"))for(const E of a.getChildren())this._removeFromClonedElementsGroup(E);const c=a.id;if(!c)return;const u=this._cloneGroups.get(c);u&&u.delete(a)}}function Ls(v){let a=v.parent;for(;!F1(a);){if(!a)return;a=a.parent}return a}function hf(v,a){return v.prioritya.priority)&&v.getIdentity()c instanceof u))throw new z("view-writer-insert-invalid-node-type",a);c.is("$text")||Q1(c.getChildren(),a)}}function F1(v){return v&&(v.is("containerElement")||v.is("documentFragment"))}function Ku(v,a){const c=Ls(v.start),u=Ls(v.end);if(!c||!u||c!==u)throw new z("view-writer-invalid-range-container",a)}function $p(v,a){return null===v.id&&null===a.id}const Qm=v=>v.createTextNode("\xa0"),P2=v=>{const a=v.createElement("span");return a.dataset.ckeFiller="true",a.innerText="\xa0",a},xu=v=>{const a=v.createElement("br");return a.dataset.ckeFiller="true",a},os=7,Ld="\u2060".repeat(os);function vd(v){return"string"==typeof v?v.substr(0,os)===Ld:Uo(v)&&v.data.substr(0,os)===Ld}function Z1(v){return v.data.length==os&&vd(v)}function ul(v){const a="string"==typeof v?v:v.data;return vd(v)?a.slice(os):a}function Vp(v,a){if(a.keyCode==er.arrowleft){const c=a.domTarget.ownerDocument.defaultView.getSelection();if(1==c.rangeCount&&c.getRangeAt(0).collapsed){const u=c.getRangeAt(0).startContainer,E=c.getRangeAt(0).startOffset;vd(u)&&E<=os&&c.collapse(u,0)}}}var tm=A(9315);ao()(tm.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ff extends(kt()){constructor(a,c){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=a,this.selection=c,this.set("isFocused",!1),this.set("isSelecting",!1),_.isBlink&&!_.isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()}),this.set("isComposing",!1),this.on("change:isComposing",()=>{this.isComposing||this.render()})}markToSync(a,c){if("text"===a)this.domConverter.mapViewToDom(c.parent)&&this.markedTexts.add(c);else{if(!this.domConverter.mapViewToDom(c))return;if("attributes"===a)this.markedAttributes.add(c);else{if("children"!==a)throw new z("view-renderer-unknown-type",this);this.markedChildren.add(c)}}}render(){if(this.isComposing&&!_.isAndroid)return;let a=null;const c=!(_.isBlink&&!_.isAndroid&&this.isSelecting);for(const u of this.markedChildren)this._updateChildrenMappings(u);c?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?a=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(a=this.selection.getFirstPosition(),this.markedChildren.add(a.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(a=this.domConverter.domPositionToView(this._inlineFiller),a&&a.parent.is("$text")&&(a=oo._createBefore(a.parent)));for(const u of this.markedAttributes)this._updateAttrs(u);for(const u of this.markedChildren)this._updateChildren(u,{inlineFillerPosition:a});for(const u of this.markedTexts)!this.markedChildren.has(u.parent)&&this.domConverter.mapViewToDom(u.parent)&&this._updateText(u,{inlineFillerPosition:a});if(c)if(a){const u=this.domConverter.viewPositionToDom(a),E=u.parent.ownerDocument;this._inlineFiller=vd(u.parent)?u.parent:v1(E,u.parent,u.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(a){const c=this.domConverter.mapViewToDom(a);if(!c)return;const u=Array.from(c.childNodes),E=Array.from(this.domConverter.viewChildrenToDom(a,{withChildren:!1})),R=this._diffNodeLists(u,E),V=this._findUpdateActions(R,u,E,Yc);if(-1!==V.indexOf("update")){const X={equal:0,insert:0,delete:0};for(const et of V)if("update"===et){const bt=X.equal+X.insert,vt=X.equal+X.delete,Pt=a.getChild(bt);!Pt||Pt.is("uiElement")||Pt.is("rawElement")||this._updateElementMappings(Pt,u[vt]),Qi(E[bt]),X.equal++}else X[et]++}}_updateElementMappings(a,c){this.domConverter.unbindDomElement(c),this.domConverter.bindElements(c,a),this.markedChildren.add(a),this.markedAttributes.add(a)}_getInlineFillerPosition(){const a=this.selection.getFirstPosition();return a.parent.is("$text")?oo._createBefore(a.parent):a}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const a=this.selection.getFirstPosition(),c=this.domConverter.viewPositionToDom(a);return!!(c&&Uo(c.parent)&&vd(c.parent))}_removeInlineFiller(){const a=this._inlineFiller;if(!vd(a))throw new z("view-renderer-filler-was-lost",this);Z1(a)?a.remove():a.data=a.data.substr(os),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const a=this.selection.getFirstPosition(),c=a.parent,u=a.offset;if(!this.domConverter.mapViewToDom(c.root)||!c.is("element")||!function(V){if("false"==V.getAttribute("contenteditable"))return!1;const X=V.findAncestor(et=>et.hasAttribute("contenteditable"));return!X||"true"==X.getAttribute("contenteditable")}(c)||u===c.getFillerOffset())return!1;const E=a.nodeBefore,R=a.nodeAfter;return!(E instanceof or||R instanceof or||_.isAndroid&&(E||R))}_updateText(a,c){const u=this.domConverter.findCorrespondingDomText(a);let E=this.domConverter.viewToDom(a).data;const R=c.inlineFillerPosition;R&&R.parent==a.parent&&R.offset==a.index&&(E=Ld+E),cg(u,E)}_updateAttrs(a){const c=this.domConverter.mapViewToDom(a);if(!c)return;const u=Array.from(c.attributes).map(R=>R.name),E=a.getAttributeKeys();for(const R of E)this.domConverter.setDomElementAttribute(c,R,a.getAttribute(R),a);for(const R of u)a.hasAttribute(R)||this.domConverter.removeDomElementAttribute(c,R)}_updateChildren(a,c){const u=this.domConverter.mapViewToDom(a);if(!u)return;if(_.isAndroid){let Pt=null;for(const Wt of Array.from(u.childNodes)){if(Pt&&Uo(Pt)&&Uo(Wt)){u.normalize();break}Pt=Wt}}const E=c.inlineFillerPosition,R=u.childNodes,V=Array.from(this.domConverter.viewChildrenToDom(a,{bind:!0}));E&&E.parent===a&&v1(u.ownerDocument,V,E.offset);const X=this._diffNodeLists(R,V),et=this._findUpdateActions(X,R,V,ag);let bt=0;const vt=new Set;for(const Pt of et)"delete"===Pt?(vt.add(R[bt]),Qi(R[bt])):"equal"!==Pt&&"update"!==Pt||bt++;bt=0;for(const Pt of et)"insert"===Pt?(Lt(u,bt,V[bt]),bt++):"update"===Pt?(cg(R[bt],V[bt].data),bt++):"equal"===Pt&&(this._markDescendantTextToSync(this.domConverter.domToView(V[bt])),bt++);for(const Pt of vt)Pt.parentNode||this.domConverter.unbindDomElement(Pt)}_diffNodeLists(a,c){return y(a=function(u,E){const R=Array.from(u);return 0==R.length||!E||R[R.length-1]==E&&R.pop(),R}(a,this._fakeSelectionContainer),c,sg.bind(null,this.domConverter))}_findUpdateActions(a,c,u,E){if(-1===a.indexOf("insert")||-1===a.indexOf("delete"))return a;let R=[],V=[],X=[];const et={equal:0,insert:0,delete:0};for(const bt of a)"insert"===bt?X.push(u[et.equal+et.insert]):"delete"===bt?V.push(c[et.equal+et.delete]):(R=R.concat(y(V,X,E).map(vt=>"equal"===vt?"update":vt)),R.push("equal"),V=[],X=[]),et[bt]++;return R.concat(y(V,X,E).map(bt=>"equal"===bt?"update":bt))}_markDescendantTextToSync(a){if(a)if(a.is("$text"))this.markedTexts.add(a);else if(a.is("element"))for(const c of a.getChildren())this._markDescendantTextToSync(c)}_updateSelection(){if(_.isBlink&&!_.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const a=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&a&&(this.selection.isFake?this._updateFakeSelection(a):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(a)):this.isComposing&&_.isAndroid||this._updateDomSelection(a))}_updateFakeSelection(a){const c=a.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(V){const X=V.createElement("div");return X.className="ck-fake-selection-container",Object.assign(X.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),X.textContent="\xa0",X}(c));const u=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(u,this.selection),!this._fakeSelectionNeedsUpdate(a))return;u.parentElement&&u.parentElement==a||a.appendChild(u),u.textContent=this.selection.fakeSelectionLabel||"\xa0";const E=c.getSelection(),R=c.createRange();E.removeAllRanges(),R.selectNodeContents(u),E.addRange(R)}_updateDomSelection(a){const c=a.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(c))return;const u=this.domConverter.viewPositionToDom(this.selection.anchor),E=this.domConverter.viewPositionToDom(this.selection.focus);c.setBaseAndExtent(u.parent,u.offset,E.parent,E.offset),_.isGecko&&function(R,V){const X=R.parent;if(X.nodeType!=Node.ELEMENT_NODE||R.offset!=X.childNodes.length-1)return;const et=X.childNodes[R.offset];et&&"BR"==et.tagName&&V.addRange(V.getRangeAt(0))}(E,c)}_domSelectionNeedsUpdate(a){if(!this.domConverter.isDomSelectionCorrect(a))return!0;const c=a&&this.domConverter.domSelectionToView(a);return!(c&&this.selection.isEqual(c)||!this.selection.isCollapsed&&this.selection.isSimilar(c))}_fakeSelectionNeedsUpdate(a){const c=this._fakeSelectionContainer,u=a.ownerDocument.getSelection();return!c||c.parentElement!==a||u.anchorNode!==c&&!c.contains(u.anchorNode)||c.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const a of this.domDocuments){const c=a.getSelection();if(c.rangeCount){const u=a.activeElement,E=this.domConverter.mapDomToView(u);u&&E&&c.removeAllRanges()}}}_removeFakeSelection(){const a=this._fakeSelectionContainer;a&&a.remove()}_updateFocus(){if(this.isFocused){const a=this.selection.editableElement;a&&this.domConverter.focus(a)}}}function v1(v,a,c){const u=a instanceof Array?a:a.childNodes,E=u[c];if(Uo(E))return E.data=Ld+E.data,E;{const R=v.createTextNode(Ld);return Array.isArray(a)?u.splice(c,0,R):Lt(a,c,R),R}}function Yc(v,a){return ga(v)&&ga(a)&&!Uo(v)&&!Uo(a)&&!$e(v)&&!$e(a)&&v.tagName.toLowerCase()===a.tagName.toLowerCase()}function ag(v,a){return ga(v)&&ga(a)&&Uo(v)&&Uo(a)}function sg(v,a,c){return a===c||(Uo(a)&&Uo(c)?a.data===c.data:!(!v.isBlockFiller(a)||!v.isBlockFiller(c)))}function cg(v,a){const c=v.data;if(c==a)return;const u=m(c,a);for(const E of u)"insert"===E.type?v.insertData(E.index,E.values.join("")):v.deleteData(E.index,E.howMany)}const gf=xu(Lo.document),Qu=Qm(Lo.document),Hl=P2(Lo.document),ou="data-ck-unsafe-attribute-",Zm="data-ck-unsafe-element";class Gp{constructor(a,{blockFillerMode:c,renderingMode:u="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new nd,this._inlineObjectElementMatcher=new nd,this._elementsWithTemporaryCustomProperties=new Set,this.document=a,this.renderingMode=u,this.blockFillerMode=c||("editing"===u?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?Lo.document:Lo.document.implementation.createHTMLDocument("")}bindFakeSelection(a,c){this._fakeSelectionMapping.set(a,new Sa(c))}fakeSelectionToView(a){return this._fakeSelectionMapping.get(a)}bindElements(a,c){this._domToViewMapping.set(a,c),this._viewToDomMapping.set(c,a)}unbindDomElement(a){const c=this._domToViewMapping.get(a);if(c){this._domToViewMapping.delete(a),this._viewToDomMapping.delete(c);for(const u of Array.from(a.children))this.unbindDomElement(u)}}bindDocumentFragments(a,c){this._domToViewMapping.set(a,c),this._viewToDomMapping.set(c,a)}shouldRenderAttribute(a,c,u){return"data"===this.renderingMode||!(a=a.toLowerCase()).startsWith("on")&&("srcdoc"!==a||!c.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===u&&("src"===a||"srcset"===a)||"source"===u&&"srcset"===a||!c.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(a,c){if("data"===this.renderingMode)return void(a.innerHTML=c);const u=(new DOMParser).parseFromString(c,"text/html"),E=u.createDocumentFragment(),R=u.body.childNodes;for(;R.length>0;)E.appendChild(R[0]);const V=u.createTreeWalker(E,NodeFilter.SHOW_ELEMENT),X=[];let et;for(;et=V.nextNode();)X.push(et);for(const bt of X){for(const Pt of bt.getAttributeNames())this.setDomElementAttribute(bt,Pt,bt.getAttribute(Pt));const vt=bt.tagName.toLowerCase();this._shouldRenameElement(vt)&&(_f(vt),bt.replaceWith(this._createReplacementDomElement(vt,bt)))}for(;a.firstChild;)a.firstChild.remove();a.append(E)}viewToDom(a,c={}){if(a.is("$text")){const u=this._processDataFromViewText(a);return this._domDocument.createTextNode(u)}{const u=a;if(this.mapViewToDom(u)){if(!u.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(u);this._elementsWithTemporaryCustomProperties.add(u)}let E;if(u.is("documentFragment"))E=this._domDocument.createDocumentFragment(),c.bind&&this.bindDocumentFragments(E,u);else{if(u.is("uiElement"))return E="$comment"===u.name?this._domDocument.createComment(u.getCustomProperty("$rawContent")):u.render(this._domDocument,this),c.bind&&this.bindElements(E,u),E;this._shouldRenameElement(u.name)?(_f(u.name),E=this._createReplacementDomElement(u.name)):E=u.hasAttribute("xmlns")?this._domDocument.createElementNS(u.getAttribute("xmlns"),u.name):this._domDocument.createElement(u.name),u.is("rawElement")&&u.render(E,this),c.bind&&this.bindElements(E,u);for(const R of u.getAttributeKeys())this.setDomElementAttribute(E,R,u.getAttribute(R),u)}if(!1!==c.withChildren)for(const R of this.viewChildrenToDom(u,c))E.appendChild(R);return E}}setDomElementAttribute(a,c,u,E){const R=this.shouldRenderAttribute(c,u,a.tagName.toLowerCase())||E&&E.shouldRenderUnsafeAttribute(c);R||nt("domconverter-unsafe-attribute-detected",{domElement:a,key:c,value:u}),function(V){try{Lo.document.createAttribute(V)}catch{return!1}return!0}(c)?(a.hasAttribute(c)&&!R?a.removeAttribute(c):a.hasAttribute(ou+c)&&R&&a.removeAttribute(ou+c),a.setAttribute(R?c:ou+c,u)):nt("domconverter-invalid-attribute-detected",{domElement:a,key:c,value:u})}removeDomElementAttribute(a,c){c!=Zm&&(a.removeAttribute(c),a.removeAttribute(ou+c))}*viewChildrenToDom(a,c={}){const u=a.getFillerOffset&&a.getFillerOffset();let E=0;for(const R of a.getChildren()){u===E&&(yield this._getBlockFiller());const V=R.is("element")&&!!R.getCustomProperty("dataPipeline:transparentRendering")&&!kr(R.getAttributes());V&&"data"==this.renderingMode?yield*this.viewChildrenToDom(R,c):(V&&nt("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:R}),yield this.viewToDom(R,c)),E++}u===E&&(yield this._getBlockFiller())}viewRangeToDom(a){const c=this.viewPositionToDom(a.start),u=this.viewPositionToDom(a.end),E=this._domDocument.createRange();return E.setStart(c.parent,c.offset),E.setEnd(u.parent,u.offset),E}viewPositionToDom(a){const c=a.parent;if(c.is("$text")){const u=this.findCorrespondingDomText(c);if(!u)return null;let E=a.offset;return vd(u)&&(E+=os),{parent:u,offset:E}}{let u,E,R;if(0===a.offset){if(u=this.mapViewToDom(c),!u)return null;R=u.childNodes[0]}else{const V=a.nodeBefore;if(E=V.is("$text")?this.findCorrespondingDomText(V):this.mapViewToDom(V),!E)return null;u=E.parentNode,R=E.nextSibling}return Uo(R)&&vd(R)?{parent:R,offset:os}:{parent:u,offset:E?ro(E)+1:0}}}domToView(a,c={}){const u=[],E=this._domToView(a,c,u),R=E.next().value;return R?(E.next(),this._processDomInlineNodes(null,u,c),R.is("$text")&&0==R.data.length?null:R):null}*domChildrenToView(a,c={},u=[]){for(let E=0;E{const{scrollLeft:X,scrollTop:et}=V;R.push([X,et])}),c.focus(),O2(c,V=>{const[X,et]=R.shift();V.scrollLeft=X,V.scrollTop=et}),Lo.window.scrollTo(u,E)}}_clearDomSelection(){const a=this.mapViewToDom(this.document.selection.editableElement);if(!a)return;const c=a.ownerDocument.defaultView.getSelection(),u=this.domSelectionToView(c);u&&u.rangeCount>0&&c.removeAllRanges()}isElement(a){return a&&a.nodeType==Node.ELEMENT_NODE}isDocumentFragment(a){return a&&a.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(a){return"br"==this.blockFillerMode?a.isEqualNode(gf):!("BR"!==a.tagName||!tp(a,this.blockElements)||1!==a.parentNode.childNodes.length)||a.isEqualNode(Hl)||(u=this.blockElements,(c=a).isEqualNode(Qu)&&tp(c,u)&&1===c.parentNode.childNodes.length);var c,u}isDomSelectionBackward(a){if(a.isCollapsed)return!1;const c=this._domDocument.createRange();try{c.setStart(a.anchorNode,a.anchorOffset),c.setEnd(a.focusNode,a.focusOffset)}catch{return!1}const u=c.collapsed;return c.detach(),u}getHostViewElement(a){const c=function(u){const E=[];let R=u;for(;R&&R.nodeType!=Node.DOCUMENT_NODE;)E.unshift(R),R=R.parentNode;return E}(a);for(c.pop();c.length;){const u=c.pop(),E=this._domToViewMapping.get(u);if(E&&(E.is("uiElement")||E.is("rawElement")))return E}return null}isDomSelectionCorrect(a){return this._isDomSelectionPositionCorrect(a.anchorNode,a.anchorOffset)&&this._isDomSelectionPositionCorrect(a.focusNode,a.focusOffset)}registerRawContentMatcher(a){this._rawContentElementMatcher.add(a)}registerInlineObjectMatcher(a){this._inlineObjectElementMatcher.add(a)}_clearTemporaryCustomProperties(){for(const a of this._elementsWithTemporaryCustomProperties)a._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return Qm(this._domDocument);case"markedNbsp":return P2(this._domDocument);case"br":return xu(this._domDocument)}}_isDomSelectionPositionCorrect(a,c){if(Uo(a)&&vd(a)&&c0?c[R-1]:null,vt=R+1this.preElements.includes(u.name)))return c;if(" "==c.charAt(0)){const u=this._getTouchingInlineViewNode(a,!1);!(u&&u.is("$textProxy")&&this._nodeEndsWithSpace(u))&&u||(c="\xa0"+c.substr(1))}if(" "==c.charAt(c.length-1)){const u=this._getTouchingInlineViewNode(a,!0),E=u&&u.is("$textProxy")&&" "==u.data.charAt(0);" "!=c.charAt(c.length-2)&&u&&!E||(c=c.substr(0,c.length-1)+"\xa0")}return c.replace(/ {2}/g," \xa0")}_nodeEndsWithSpace(a){if(a.getAncestors().some(u=>this.preElements.includes(u.name)))return!1;const c=this._processDataFromViewText(a);return" "==c.charAt(c.length-1)}_getTouchingInlineViewNode(a,c){const u=new nu({startPosition:c?oo._createAfter(a):oo._createBefore(a),direction:c?"forward":"backward"});for(const E of u){if(E.item.is("element","br"))return null;if(this._isInlineObjectElement(E.item))return E.item;if(E.item.is("containerElement"))return null;if(E.item.is("$textProxy"))return E.item}return null}_isBlockDomElement(a){return this.isElement(a)&&this.blockElements.includes(a.tagName.toLowerCase())}_isBlockViewElement(a){return a.is("element")&&this.blockElements.includes(a.name)}_isInlineObjectElement(a){return!!a.is("element")&&("br"==a.name||this.inlineObjectElements.includes(a.name)||!!this._inlineObjectElementMatcher.match(a))}_createViewElement(a,c){if($e(a))return new iu(this.document,"$comment");const u=c.keepOriginalCase?a.tagName:a.tagName.toLowerCase();return new dl(this.document,u)}_isViewElementWithRawContent(a,c){return!1!==c.withChildren&&a.is("element")&&!!this._rawContentElementMatcher.match(a)}_shouldRenameElement(a){const c=a.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(c)}_createReplacementDomElement(a,c){const u=this._domDocument.createElement("span");if(u.setAttribute(Zm,a),c){for(;c.firstChild;)u.appendChild(c.firstChild);for(const E of c.getAttributeNames())u.setAttribute(E,c.getAttribute(E))}return u}}function A2(v,a){return v.getAncestors().some(c=>c.is("element")&&a.includes(c.name))}function O2(v,a){let c=v;for(;c;)a(c),c=c.parentElement}function tp(v,a){const c=v.parentNode;return!!c&&!!c.tagName&&a.includes(c.tagName.toLowerCase())}function _f(v){"script"===v&&nt("domconverter-unsafe-script-element-detected"),"style"===v&&nt("domconverter-unsafe-style-element-detected")}class ml extends(Gr()){constructor(a){super(),this._isEnabled=!1,this.view=a,this.document=a.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(a){return a&&3===a.nodeType&&(a=a.parentNode),!(!a||1!==a.nodeType)&&a.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const E1=Ee(function(v,a){hs(a,Ma(a),v)});class Bp{constructor(a,c,u){this.view=a,this.document=a.document,this.domEvent=c,this.domTarget=c.target,E1(this,u)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class rd extends ml{constructor(){super(...arguments),this.useCapture=!1}observe(a){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(c=>{this.listenTo(a,c,(u,E)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(E.target)&&this.onDomEvent(E)},{useCapture:this.useCapture})})}stopObserving(a){this.stopListening(a)}fire(a,c,u){this.isEnabled&&this.document.fire(a,new Bp(this.view,c,u))}}class $d extends rd{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(a){this.fire(a.type,a,{keyCode:a.keyCode,altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey,get keystroke(){return Ba(this)}})}}const bf=function(){return Yt.Date.now()};var l_=/\s/,Zu=/^\s+/,ep=/^[-+]0x[0-9a-f]+$/i,Ff=/^0b[01]+$/i,d_=/^0o[0-7]+$/i,j2=parseInt;const lg=function(v){if("number"==typeof v)return v;if(J1(v))return NaN;if(_t(v)){var a="function"==typeof v.valueOf?v.valueOf():v;v=_t(a)?a+"":a}if("string"!=typeof v)return 0===v?v:+v;v=function(v){return v&&v.slice(0,function(v){for(var a=v.length;a--&&l_.test(v.charAt(a)););return a}(v)+1).replace(Zu,"")}(v);var c=Ff.test(v);return c||d_.test(v)?j2(v.slice(2),c?2:8):ep.test(v)?NaN:+v};var zp=Math.max,C1=Math.min;const nm=function(v,a,c){var u,E,R,V,X,et,bt=0,vt=!1,Pt=!1,Wt=!0;if("function"!=typeof v)throw new TypeError("Expected a function");function he(ti){var Si=u,mo=E;return u=E=void 0,bt=ti,V=v.apply(mo,Si)}function Ae(ti){var Si=ti-et;return void 0===et||Si>=a||Si<0||Pt&&ti-bt>=R}function ze(){var Si,mo,ti=bf();if(Ae(ti))return mn(ti);X=setTimeout(ze,(mo=a-((Si=ti)-et),Pt?C1(mo,R-(Si-bt)):mo))}function mn(ti){return X=void 0,Wt&&u?he(ti):(u=E=void 0,V)}function xn(){var mo,ti=bf(),Si=Ae(ti);if(u=arguments,E=this,et=ti,Si){if(void 0===X)return bt=mo=et,X=setTimeout(ze,a),vt?he(mo):V;if(Pt)return clearTimeout(X),X=setTimeout(ze,a),he(et)}return void 0===X&&(X=setTimeout(ze,a)),V}return a=lg(a)||0,_t(c)&&(vt=!!c.leading,R=(Pt="maxWait"in c)?zp(lg(c.maxWait)||0,a):R,Wt="trailing"in c?!!c.trailing:Wt),xn.cancel=function(){void 0!==X&&clearTimeout(X),bt=0,u=et=E=X=void 0},xn.flush=function(){return void 0===X?V:mn(bf())},xn};class $o extends ml{constructor(a){super(a),this._fireSelectionChangeDoneDebounced=nm(c=>{this.document.fire("selectionChangeDone",c)},200)}observe(){const a=this.document;a.on("arrowKey",(c,u)=>{a.selection.isFake&&this.isEnabled&&u.preventDefault()},{context:"$capture"}),a.on("arrowKey",(c,u)=>{a.selection.isFake&&this.isEnabled&&this._handleSelectionMove(u.keyCode)},{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(a){const c=this.document.selection,u=new Sa(c.getRanges(),{backward:c.isBackward,fake:!1});a!=er.arrowleft&&a!=er.arrowup||u.setTo(u.getFirstPosition()),a!=er.arrowright&&a!=er.arrowdown||u.setTo(u.getLastPosition());const E={oldSelection:c,newSelection:u,domSelection:null};this.document.fire("selectionChange",E),this._fireSelectionChangeDoneDebounced(E)}}function ru(v){var a=-1,c=null==v?0:v.length;for(this.__data__=new bo;++aX))return!1;var bt=R.get(v),vt=R.get(a);if(bt&&vt)return bt==a&&vt==v;var Pt=-1,Wt=!0,he=2&c?new y1:void 0;for(R.set(v,a),R.set(a,v);++Pt{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{this.flush(),a.change(()=>{})},50)}),c.on("blur",(u,E)=>{const R=c.selection.editableElement;null!==R&&R!==E.target||(c.isFocused=!1,this._isFocusChanging=!1,a.change(()=>{}))})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(a){this.fire(a.type,a)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class kf extends ml{constructor(a){super(a),this.mutationObserver=a.getObserver(Cf),this.focusObserver=a.getObserver(k1),this.selection=this.document.selection,this.domConverter=a.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=nm(c=>{this.document.fire("selectionChangeDone",c)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=nm(()=>this.document.isSelecting=!1,5e3),this._loopbackCounter=0}observe(a){const c=a.ownerDocument,u=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,c),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(a,"selectstart",()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},{priority:"highest"}),this.listenTo(a,"keydown",u,{priority:"highest",useCapture:!0}),this.listenTo(a,"keyup",u,{priority:"highest",useCapture:!0}),this._documents.has(c)||(this.listenTo(c,"mouseup",u,{priority:"highest",useCapture:!0}),this.listenTo(c,"selectionchange",(E,R)=>{this.document.isComposing&&!_.isAndroid||(this._handleSelectionChange(R,c),this._documentIsSelectingInactivityTimeoutDebounced())}),this._documents.add(c))}stopObserving(a){this.stopListening(a)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(a,c){if(!this.isEnabled)return;const u=c.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(u.anchorNode))return;this.mutationObserver.flush();const E=this.domConverter.domSelectionToView(u);if(0!=E.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(E)||!this.domConverter.isDomSelectionCorrect(u))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(E))this.view.forceRender();else{const R={oldSelection:this.selection,newSelection:E,domSelection:u};this.document.fire("selectionChange",R),this._fireSelectionChangeDoneDebounced(R)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class pg extends rd{constructor(a){super(a),this.domEventType=["compositionstart","compositionupdate","compositionend"];const c=this.document;c.on("compositionstart",()=>{c.isComposing=!0},{priority:"low"}),c.on("compositionend",()=>{c.isComposing=!1},{priority:"low"})}onDomEvent(a){this.fire(a.type,a,{data:a.data})}}class wf{constructor(a,c={}){this._files=c.cacheFiles?hg(a):null,this._native=a}get files(){return this._files||(this._files=hg(this._native)),this._files}get types(){return this._native.types}getData(a){return this._native.getData(a)}setData(a,c){this._native.setData(a,c)}set effectAllowed(a){this._native.effectAllowed=a}get effectAllowed(){return this._native.effectAllowed}set dropEffect(a){this._native.dropEffect=a}get dropEffect(){return this._native.dropEffect}setDragImage(a,c,u){this._native.setDragImage(a,c,u)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function hg(v){const a=Array.from(v.files||[]),c=Array.from(v.items||[]);return a.length?a:c.filter(u=>"file"===u.kind).map(u=>u.getAsFile())}class f_ extends rd{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(a){const c=a.getTargetRanges(),u=this.view,E=u.document;let R=null,V=null,X=[];if(a.dataTransfer&&(R=new wf(a.dataTransfer)),null!==a.data?V=a.data:R&&(V=R.getData("text/plain")),E.selection.isFake)X=Array.from(E.selection.getRanges());else if(c.length)X=c.map(et=>{const bt=u.domConverter.domPositionToView(et.startContainer,et.startOffset),vt=u.domConverter.domPositionToView(et.endContainer,et.endOffset);return bt?u.createRange(bt,vt):vt?u.createRange(vt):void 0}).filter(et=>!!et);else if(_.isAndroid){const et=a.target.ownerDocument.defaultView.getSelection();X=Array.from(u.domConverter.domSelectionToView(et).getRanges())}if(_.isAndroid&&"insertCompositionText"==a.inputType&&V&&V.endsWith("\n"))this.fire(a.type,a,{inputType:"insertParagraph",targetRanges:[u.createRange(X[0].end)]});else if("insertText"==a.inputType&&V&&V.includes("\n")){const et=V.split(/\n{1,2}/g);let bt=X;for(let vt=0;vt{if(this.isEnabled&&((E=u.keyCode)==er.arrowright||E==er.arrowleft||E==er.arrowup||E==er.arrowdown)){const R=new Pa(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(R,u),R.stop.called&&c.stop()}var E})}observe(){}stopObserving(){}}class gg extends ml{constructor(a){super(a);const c=this.document;c.on("keydown",(u,E)=>{if(!this.isEnabled||E.keyCode!=er.tab||E.ctrlKey)return;const R=new Pa(c,"tab",c.selection.getFirstRange());c.fire(R,E),R.stop.called&&u.stop()})}observe(){}stopObserving(){}}const rm=function(v){return Ei(v,5)};class mb extends(kt()){constructor(a){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new mf(a),this.domConverter=new Gp(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new ff(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new zl(this.document),this.addObserver(Cf),this.addObserver(k1),this.addObserver(kf),this.addObserver($d),this.addObserver($o),this.addObserver(pg),this.addObserver(fg),this.addObserver(f_),this.addObserver(gg),this.document.on("arrowKey",Vp,{priority:"low"}),function Wu(v){v.document.on("arrowKey",(a,c)=>function(u,E,R){if(E.keyCode==er.arrowright){const V=E.domTarget.ownerDocument.defaultView.getSelection(),X=1==V.rangeCount&&V.getRangeAt(0).collapsed;if(X||E.shiftKey){const vt=R.domPositionToView(V.focusNode,V.focusOffset);if(null===vt)return;let Pt=!1;const Wt=vt.getLastMatchingPosition(he=>(he.item.is("uiElement")&&(Pt=!0),!(!he.item.is("uiElement")&&!he.item.is("attributeElement"))));if(Pt){const he=R.viewPositionToDom(Wt);X?V.collapse(he.parent,he.offset):V.extend(he.parent,he.offset)}}}}(0,c,v.domConverter),{priority:"low"})}(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0}),this.listenTo(this.document,"change:isFocused",()=>{this._hasChangedSinceTheLastRendering=!0}),_.isiOS&&this.listenTo(this.document,"blur",(c,u)=>{this.domConverter.mapDomToView(u.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})}attachDomRoot(a,c="main"){const u=this.document.getRoot(c);u._name=a.tagName.toLowerCase();const E={};for(const{name:V,value:X}of Array.from(a.attributes))E[V]=X,"class"===V?this._writer.addClass(X.split(" "),u):this._writer.setAttribute(V,X,u);this._initialDomRootAttributes.set(a,E);const R=()=>{this._writer.setAttribute("contenteditable",(!u.isReadOnly).toString(),u),u.isReadOnly?this._writer.addClass("ck-read-only",u):this._writer.removeClass("ck-read-only",u)};R(),this.domRoots.set(c,a),this.domConverter.bindElements(a,u),this._renderer.markToSync("children",u),this._renderer.markToSync("attributes",u),this._renderer.domDocuments.add(a.ownerDocument),u.on("change:children",(V,X)=>this._renderer.markToSync("children",X)),u.on("change:attributes",(V,X)=>this._renderer.markToSync("attributes",X)),u.on("change:text",(V,X)=>this._renderer.markToSync("text",X)),u.on("change:isReadOnly",()=>this.change(R)),u.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const V of this._observers.values())V.observe(a,c)}detachDomRoot(a){const c=this.domRoots.get(a);Array.from(c.attributes).forEach(({name:E})=>c.removeAttribute(E));const u=this._initialDomRootAttributes.get(c);for(const E in u)c.setAttribute(E,u[E]);this.domRoots.delete(a),this.domConverter.unbindDomElement(c);for(const E of this._observers.values())E.stopObserving(c)}getDomRoot(a="main"){return this.domRoots.get(a)}addObserver(a){let c=this._observers.get(a);if(c)return c;c=new a(this),this._observers.set(a,c);for(const[u,E]of this.domRoots)c.observe(E,u);return c.enable(),c}getObserver(a){return this._observers.get(a)}disableObservers(){for(const a of this._observers.values())a.disable()}enableObservers(){for(const a of this._observers.values())a.enable()}scrollToTheSelection({alignToTop:a,forceScroll:c,viewportOffset:u=20,ancestorOffset:E=20}={}){const R=this.document.selection.getFirstRange();if(!R)return;const V=rm({alignToTop:a,forceScroll:c,viewportOffset:u,ancestorOffset:E});"number"==typeof u&&(u={top:u,bottom:u,left:u,right:u});const X={target:this.domConverter.viewRangeToDom(R),viewportOffset:u,ancestorOffset:E,alignToTop:a,forceScroll:c};this.fire("scrollToTheSelection",X,V),function({target:et,viewportOffset:bt=0,ancestorOffset:vt=0,alignToTop:Pt,forceScroll:Wt}){const he=ko(et);let Ae=he,ze=null;for(bt=function(mn){return"number"==typeof mn?{top:mn,bottom:mn,left:mn,right:mn}:mn}(bt);Ae;){let mn;mn=tr(Ae==he?et:ze),fr({parent:mn,getRect:()=>Ui(et,Ae),alignToTop:Pt,ancestorOffset:vt,forceScroll:Wt});const xn=Ui(et,Ae);if(Vo({window:Ae,rect:xn,viewportOffset:bt,alignToTop:Pt,forceScroll:Wt}),Ae.parent!=Ae){if(ze=Ae.frameElement,Ae=Ae.parent,!ze)return}else Ae=null}}(X)}focus(){if(!this.document.isFocused){const a=this.document.selection.editableElement;a&&(this.domConverter.focus(a),this.forceRender())}}change(a){if(this.isRenderingInProgress||this._postFixersInProgress)throw new z("cannot-change-view-tree",this);try{if(this._ongoingChange)return a(this._writer);this._ongoingChange=!0;const c=a(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),c}catch(c){z.rethrowUnexpectedError(c,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(k1).flush(),this.change(()=>{})}destroy(){for(const a of this._observers.values())a.destroy();this.document.destroy(),this.stopListening()}createPositionAt(a,c){return oo._createAt(a,c)}createPositionAfter(a){return oo._createAfter(a)}createPositionBefore(a){return oo._createBefore(a)}createRange(a,c){return new Er(a,c)}createRangeOn(a){return Er._createOn(a)}createRangeIn(a){return Er._createIn(a)}createSelection(...a){return new Sa(...a)}_disableRendering(a){this._renderingDisabled=a,0==a&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class t1{is(){throw new Error("is() method is abstract")}}class w1 extends t1{constructor(a){super(),this.parent=null,this._attrs=qi(a)}get document(){return null}get index(){let a;if(!this.parent)return null;if(null===(a=this.parent.getChildIndex(this)))throw new z("model-node-not-found-in-parent",this);return a}get startOffset(){let a;if(!this.parent)return null;if(null===(a=this.parent.getChildStartOffset(this)))throw new z("model-node-not-found-in-parent",this);return a}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const a=this.index;return null!==a&&this.parent.getChild(a+1)||null}get previousSibling(){const a=this.index;return null!==a&&this.parent.getChild(a-1)||null}get root(){let a=this;for(;a.parent;)a=a.parent;return a}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const a=[];let c=this;for(;c.parent;)a.unshift(c.startOffset),c=c.parent;return a}getAncestors(a={}){const c=[];let u=a.includeSelf?this:this.parent;for(;u;)c[a.parentFirst?"push":"unshift"](u),u=u.parent;return c}getCommonAncestor(a,c={}){const u=this.getAncestors(c),E=a.getAncestors(c);let R=0;for(;u[R]==E[R]&&u[R];)R++;return 0===R?null:u[R-1]}isBefore(a){if(this==a||this.root!==a.root)return!1;const c=this.getPath(),u=a.getPath(),E=se(c,u);switch(E){case"prefix":return!0;case"extension":return!1;default:return c[E](c[u[0]]=u[1],c),{})),a}_clone(a){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(a,c){this._attrs.set(a,c)}_setAttributesTo(a){this._attrs=qi(a)}_removeAttribute(a){return this._attrs.delete(a)}_clearAttributes(){this._attrs.clear()}}w1.prototype.is=function(v){return"node"===v||"model:node"===v};class am{constructor(a){this._nodes=[],a&&this._insertNodes(0,a)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((a,c)=>a+c.offsetSize,0)}getNode(a){return this._nodes[a]||null}getNodeIndex(a){const c=this._nodes.indexOf(a);return-1==c?null:c}getNodeStartOffset(a){const c=this.getNodeIndex(a);return null===c?null:this._nodes.slice(0,c).reduce((u,E)=>u+E.offsetSize,0)}indexToOffset(a){if(a==this._nodes.length)return this.maxOffset;const c=this._nodes[a];if(!c)throw new z("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(c)}offsetToIndex(a){let c=0;for(const u of this._nodes){if(a>=c&&a1e4)return u.slice(0,R).concat(E).concat(u.slice(R+0,u.length));{const X=Array.from(u);return X.splice(R,0,...E),X}}(this._nodes,Array.from(c),a)}_removeNodes(a,c=1){return this._nodes.splice(a,c)}toJSON(){return this._nodes.map(a=>a.toJSON())}}class Es extends w1{constructor(a,c){super(c),this._data=a||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const a=super.toJSON();return a.data=this.data,a}_clone(){return new Es(this.data,this.getAttributes())}static fromJSON(a){return new Es(a.data,a.attributes)}}Es.prototype.is=function(v){return"$text"===v||"model:$text"===v||"text"===v||"model:text"===v||"node"===v||"model:node"===v};class au extends t1{constructor(a,c,u){if(super(),this.textNode=a,c<0||c>a.offsetSize)throw new z("model-textproxy-wrong-offsetintext",this);if(u<0||c+u>a.offsetSize)throw new z("model-textproxy-wrong-length",this);this.data=a.data.substring(c,c+u),this.offsetInText=c}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const a=this.textNode.getPath();return a.length>0&&(a[a.length-1]+=this.offsetInText),a}getAncestors(a={}){const c=[];let u=a.includeSelf?this:this.parent;for(;u;)c[a.parentFirst?"push":"unshift"](u),u=u.parent;return c}hasAttribute(a){return this.textNode.hasAttribute(a)}getAttribute(a){return this.textNode.getAttribute(a)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}au.prototype.is=function(v){return"$textProxy"===v||"model:$textProxy"===v||"textProxy"===v||"model:textProxy"===v};class rs extends w1{constructor(a,c,u){super(c),this._children=new am,this.name=a,u&&this._insertChild(0,u)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(a){return this._children.getNode(a)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(a){return this._children.getNodeIndex(a)}getChildStartOffset(a){return this._children.getNodeStartOffset(a)}offsetToIndex(a){return this._children.offsetToIndex(a)}getNodeByPath(a){let c=this;for(const u of a)c=c.getChild(c.offsetToIndex(u));return c}findAncestor(a,c={}){let u=c.includeSelf?this:this.parent;for(;u;){if(u.name===a)return u;u=u.parent}return null}toJSON(){const a=super.toJSON();if(a.name=this.name,this._children.length>0){a.children=[];for(const c of this._children)a.children.push(c.toJSON())}return a}_clone(a=!1){const c=a?Array.from(this._children).map(u=>u._clone(!0)):void 0;return new rs(this.name,this.getAttributes(),c)}_appendChild(a){this._insertChild(this.childCount,a)}_insertChild(a,c){const u="string"==typeof(E=c)?[new Es(E)]:(be(E)||(E=[E]),Array.from(E).map(R=>"string"==typeof R?new Es(R):R instanceof au?new Es(R.data,R.getAttributes()):R));var E;for(const E of u)null!==E.parent&&E._remove(),E.parent=this;this._children._insertNodes(a,u)}_removeChildren(a,c=1){const u=this._children._removeNodes(a,c);for(const E of u)E.parent=null;return u}static fromJSON(a){let c;if(a.children){c=[];for(const u of a.children)c.push(u.name?rs.fromJSON(u):Es.fromJSON(u))}return new rs(a.name,a.attributes,c)}}rs.prototype.is=function(v,a){return a?a===this.name&&("element"===v||"model:element"===v):"element"===v||"model:element"===v||"node"===v||"model:node"===v};class Gd{constructor(a){if(!a||!a.boundaries&&!a.startPosition)throw new z("model-tree-walker-no-start-position",null);const c=a.direction||"forward";if("forward"!=c&&"backward"!=c)throw new z("model-tree-walker-unknown-direction",a,{direction:c});this.direction=c,this.boundaries=a.boundaries||null,this._position=a.startPosition?a.startPosition.clone():Ki._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!a.singleCharacters,this.shallow=!!a.shallow,this.ignoreElementEnd=!!a.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(a){let c,u,E,R;do{E=this.position,R=this._visitedParent,({done:c,value:u}=this.next())}while(!c&&a(u));c||(this._position=E,this._visitedParent=R)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const a=this.position,c=this.position.clone(),u=this._visitedParent;if(null===u.parent&&c.offset===u.maxOffset)return{done:!0,value:void 0};if(u===this._boundaryEndParent&&c.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const E=ip(c,u),R=E||xf(c,u,E);if(R instanceof rs){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(c))return{done:!0,value:void 0};c.offset++}else c.path.push(0),this._visitedParent=R;return this._position=c,np("elementStart",R,a,c,1)}if(R instanceof Es){let V;if(this.singleCharacters)V=1;else{let bt=R.endOffset;this._boundaryEndParent==u&&this.boundaries.end.offsetvt&&(vt=this.boundaries.start.offset),X=c.offset-vt}const bt=new au(V,c.offset-V.startOffset-X,X);return c.offset-=X,this._position=c,np("text",bt,a,c,X)}return c.path.pop(),this._position=c,this._visitedParent=u.parent,np("elementStart",u,a,c,1)}}function np(v,a,c,u,E){return{done:!1,value:{type:v,item:a,previousPosition:c,nextPosition:u,length:E}}}class Ki extends t1{constructor(a,c,u="toNone"){if(super(),!a.is("element")&&!a.is("documentFragment"))throw new z("model-position-root-invalid",a);if(!(c instanceof Array)||0===c.length)throw new z("model-position-path-incorrect-format",a,{path:c});a.is("rootElement")?c=c.slice():(c=[...a.getPath(),...c],a=a.root),this.root=a,this.path=c,this.stickiness=u}get offset(){return this.path[this.path.length-1]}set offset(a){this.path[this.path.length-1]=a}get parent(){let a=this.root;for(let c=0;c1)return!1;if(1===E)return su(a,this,u);if(-1===E)return su(this,a,u)}return this.path.length===a.path.length||op(this.path.length>a.path.length?this.path:a.path,c)}hasSameParentAs(a){return this.root===a.root&&"same"==se(this.getParentPath(),a.getParentPath())}getTransformedByOperation(a){let c;switch(a.type){case"insert":c=this._getTransformedByInsertOperation(a);break;case"move":case"remove":case"reinsert":c=this._getTransformedByMoveOperation(a);break;case"split":c=this._getTransformedBySplitOperation(a);break;case"merge":c=this._getTransformedByMergeOperation(a);break;default:c=Ki._createAt(this)}return c}_getTransformedByInsertOperation(a){return this._getTransformedByInsertion(a.position,a.howMany)}_getTransformedByMoveOperation(a){return this._getTransformedByMove(a.sourcePosition,a.targetPosition,a.howMany)}_getTransformedBySplitOperation(a){const c=a.movedRange;return c.containsPosition(this)||c.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(a.splitPosition,a.moveTargetPosition):a.graveyardPosition?this._getTransformedByMove(a.graveyardPosition,a.insertionPosition,1):this._getTransformedByInsertion(a.insertionPosition,1)}_getTransformedByMergeOperation(a){const c=a.movedRange;let u;return c.containsPosition(this)||c.start.isEqual(this)?(u=this._getCombined(a.sourcePosition,a.targetPosition),a.sourcePosition.isBefore(a.targetPosition)&&(u=u._getTransformedByDeletion(a.deletionPosition,1))):u=this.isEqual(a.deletionPosition)?Ki._createAt(a.deletionPosition):this._getTransformedByMove(a.deletionPosition,a.graveyardPosition,1),u}_getTransformedByDeletion(a,c){const u=Ki._createAt(this);if(this.root!=a.root)return u;if("same"==se(a.getParentPath(),this.getParentPath())){if(a.offsetthis.offset)return null;u.offset-=c}}else if("prefix"==se(a.getParentPath(),this.getParentPath())){const E=a.path.length-1;if(a.offset<=this.path[E]){if(a.offset+c>this.path[E])return null;u.path[E]-=c}}return u}_getTransformedByInsertion(a,c){const u=Ki._createAt(this);if(this.root!=a.root)return u;if("same"==se(a.getParentPath(),this.getParentPath()))(a.offset=E;){if(u.path[V]+X!==R.maxOffset)return!1;X=1,V--,R=R.parent}return!0}(v,c+1)}function op(v,a){for(;ac+1;){const R=E.maxOffset-u.offset;0!==R&&a.push(new Ri(u,u.getShiftedBy(R))),u.path=u.path.slice(0,-1),u.offset++,E=E.parent}for(;u.path.length<=this.end.path.length;){const R=this.end.path[u.path.length-1],V=R-u.offset;0!==V&&a.push(new Ri(u,u.getShiftedBy(V))),u.offset=R,u.path.push(0)}return a}getWalker(a={}){return a.boundaries=this,new Gd(a)}*getItems(a={}){a.boundaries=this,a.ignoreElementEnd=!0;const c=new Gd(a);for(const u of c)yield u.item}*getPositions(a={}){a.boundaries=this;const c=new Gd(a);yield c.position;for(const u of c)yield u.nextPosition}getTransformedByOperation(a){switch(a.type){case"insert":return this._getTransformedByInsertOperation(a);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(a);case"split":return[this._getTransformedBySplitOperation(a)];case"merge":return[this._getTransformedByMergeOperation(a)]}return[new Ri(this.start,this.end)]}getTransformedByOperations(a){const c=[new Ri(this.start,this.end)];for(const u of a)for(let E=0;E0?new this(u,E):new this(E,u)}static _createIn(a){return new this(Ki._createAt(a,0),Ki._createAt(a,a.maxOffset))}static _createOn(a){return this._createFromPositionAndShift(Ki._createBefore(a),a.offsetSize)}static _createFromRanges(a){if(0===a.length)throw new z("range-create-from-ranges-empty-array",null);if(1==a.length)return a[0].clone();const c=a[0];a.sort((R,V)=>R.start.isAfter(V.start)?1:-1);const u=a.indexOf(c),E=new this(c.start,c.end);if(u>0)for(let R=u-1;a[R].end.isEqual(E.start);R++)E.start=Ki._createAt(a[R].start);for(let R=u+1;R{if(c.viewPosition)return;const u=this._modelToViewMapping.get(c.modelPosition.parent);if(!u)throw new z("mapping-model-position-view-parent-not-found",this,{modelPosition:c.modelPosition});c.viewPosition=this.findPositionIn(u,c.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(a,c)=>{if(c.modelPosition)return;const u=this.findMappedViewAncestor(c.viewPosition),E=this._viewToModelMapping.get(u),R=this._toModelOffset(c.viewPosition.parent,c.viewPosition.offset,u);c.modelPosition=Ki._createAt(E,R)},{priority:"low"})}bindElements(a,c){this._modelToViewMapping.set(a,c),this._viewToModelMapping.set(c,a)}unbindViewElement(a,c={}){const u=this.toModelElement(a);if(this._elementToMarkerNames.has(a))for(const E of this._elementToMarkerNames.get(a))this._unboundMarkerNames.add(E);c.defer?this._deferredBindingRemovals.set(a,a.root):(this._viewToModelMapping.delete(a),this._modelToViewMapping.get(u)==a&&this._modelToViewMapping.delete(u))}unbindModelElement(a){const c=this.toViewElement(a);this._modelToViewMapping.delete(a),this._viewToModelMapping.get(c)==a&&this._viewToModelMapping.delete(c)}bindElementToMarker(a,c){const u=this._markerNameToElements.get(c)||new Set;u.add(a);const E=this._elementToMarkerNames.get(a)||new Set;E.add(c),this._markerNameToElements.set(c,u),this._elementToMarkerNames.set(a,E)}unbindElementFromMarkerName(a,c){const u=this._markerNameToElements.get(c);u&&(u.delete(a),0==u.size&&this._markerNameToElements.delete(c));const E=this._elementToMarkerNames.get(a);E&&(E.delete(c),0==E.size&&this._elementToMarkerNames.delete(a))}flushUnboundMarkerNames(){const a=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),a}flushDeferredBindings(){for(const[a,c]of this._deferredBindingRemovals)a.root==c&&this.unbindViewElement(a);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(a){return this._viewToModelMapping.get(a)}toViewElement(a){return this._modelToViewMapping.get(a)}toModelRange(a){return new Ri(this.toModelPosition(a.start),this.toModelPosition(a.end))}toViewRange(a){return new Er(this.toViewPosition(a.start),this.toViewPosition(a.end))}toModelPosition(a){const c={viewPosition:a,mapper:this};return this.fire("viewToModelPosition",c),c.modelPosition}toViewPosition(a,c={}){const u={modelPosition:a,mapper:this,isPhantom:c.isPhantom};return this.fire("modelToViewPosition",u),u.viewPosition}markerNameToElements(a){const c=this._markerNameToElements.get(a);if(!c)return null;const u=new Set;for(const E of c)if(E.is("attributeElement"))for(const R of E.getElementsWithSameId())u.add(R);else u.add(E);return u}registerViewToModelLength(a,c){this._viewToModelLengthCallbacks.set(a,c)}findMappedViewAncestor(a){let c=a.parent;for(;!this._viewToModelMapping.has(c);)c=c.parent;return c}_toModelOffset(a,c,u){if(u!=a)return this._toModelOffset(a.parent,a.index,u)+this._toModelOffset(a,c,a);if(a.is("$text"))return c;let E=0;for(let R=0;R1?a[0]+":"+a[1]:a[0]}var Tf=Object.defineProperty,g_=Object.defineProperties,pb=Object.getOwnPropertyDescriptors,__=Object.getOwnPropertySymbols,Xi=Object.prototype.hasOwnProperty,b5=Object.prototype.propertyIsEnumerable,Df=(v,a,c)=>a in v?Tf(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,cu=(v,a)=>{for(var c in a||(a={}))Xi.call(a,c)&&Df(v,c,a[c]);if(__)for(var c of __(a))b5.call(a,c)&&Df(v,c,a[c]);return v},If=(v,a)=>g_(v,pb(a));class $2 extends(ft()){constructor(a){super(),this._conversionApi=cu({dispatcher:this},a),this._firedEventsMap=new WeakMap}convertChanges(a,c,u){const E=this._createConversionApi(u,a.getRefreshedItems());for(const V of a.getMarkersToRemove())this._convertMarkerRemove(V.name,V.range,E);const R=this._reduceChanges(a.getChanges());for(const V of R)"insert"===V.type?this._convertInsert(Ri._createFromPositionAndShift(V.position,V.length),E):"reinsert"===V.type?this._convertReinsert(Ri._createFromPositionAndShift(V.position,V.length),E):"remove"===V.type?this._convertRemove(V.position,V.length,V.name,E):this._convertAttribute(V.range,V.attributeKey,V.attributeOldValue,V.attributeNewValue,E);E.mapper.flushDeferredBindings();for(const V of E.mapper.flushUnboundMarkerNames()){const X=c.get(V).getRange();this._convertMarkerRemove(V,X,E),this._convertMarkerAdd(V,X,E)}for(const V of a.getMarkersToAdd())this._convertMarkerAdd(V.name,V.range,E);E.consumable.verifyAllConsumed("insert")}convert(a,c,u,E={}){const R=this._createConversionApi(u,void 0,E);this._convertInsert(a,R);for(const[V,X]of c)this._convertMarkerAdd(V,X,R);R.consumable.verifyAllConsumed("insert")}convertSelection(a,c,u){const E=this._createConversionApi(u);this.fire("cleanSelection",{selection:a},E);const R=a.getFirstPosition().root;if(!E.mapper.toViewElement(R))return;const V=Array.from(c.getMarkersAtPosition(a.getFirstPosition()));if(this._addConsumablesForSelection(E.consumable,a,V),this.fire("selection",{selection:a},E),a.isCollapsed){for(const X of V)if(E.consumable.test(a,"addMarker:"+X.name)){const et=X.getRange();if(!rp(a.getFirstPosition(),X,E.mapper))continue;this.fire(`addMarker:${X.name}`,{item:a,markerName:X.name,markerRange:et},E)}for(const X of a.getAttributeKeys())if(E.consumable.test(a,"attribute:"+X)){const et={item:a,range:a.getFirstRange(),attributeKey:X,attributeOldValue:null,attributeNewValue:a.getAttribute(X)};this.fire(`attribute:${X}:$text`,et,E)}}}_convertInsert(a,c,u={}){u.doNotAddConsumables||this._addConsumablesForInsert(c.consumable,a);for(const E of Array.from(a.getWalker({shallow:!0})).map(Rf))this._testAndFire("insert",E,c)}_convertRemove(a,c,u,E){this.fire(`remove:${u}`,{position:a,length:c},E)}_convertAttribute(a,c,u,E,R){this._addConsumablesForRange(R.consumable,a,`attribute:${c}`);for(const V of a){const X={item:V.item,range:Ri._createFromPositionAndShift(V.previousPosition,V.length),attributeKey:c,attributeOldValue:u,attributeNewValue:E};this._testAndFire(`attribute:${c}`,X,R)}}_convertReinsert(a,c){const u=Array.from(a.getWalker({shallow:!0}));this._addConsumablesForInsert(c.consumable,u);for(const E of u.map(Rf))this._testAndFire("insert",If(cu({},E),{reconversion:!0}),c)}_convertMarkerAdd(a,c,u){if("$graveyard"==c.root.rootName)return;const E=`addMarker:${a}`;if(u.consumable.add(c,E),this.fire(E,{markerName:a,markerRange:c},u),u.consumable.consume(c,E)){this._addConsumablesForRange(u.consumable,c,E);for(const R of c.getItems()){if(!u.consumable.test(R,E))continue;const V={item:R,range:Ri._createOn(R),markerName:a,markerRange:c};this.fire(E,V,u)}}}_convertMarkerRemove(a,c,u){"$graveyard"!=c.root.rootName&&this.fire(`removeMarker:${a}`,{markerName:a,markerRange:c},u)}_reduceChanges(a){const c={changes:a};return this.fire("reduceChanges",c),c.changes}_addConsumablesForInsert(a,c){for(const u of c){const E=u.item;if(null===a.test(E,"insert")){a.add(E,"insert");for(const R of E.getAttributeKeys())a.add(E,"attribute:"+R)}}return a}_addConsumablesForRange(a,c,u){for(const E of c.getItems())a.add(E,u);return a}_addConsumablesForSelection(a,c,u){a.add(c,"selection");for(const E of u)a.add(c,"addMarker:"+E.name);for(const E of c.getAttributeKeys())a.add(c,"attribute:"+E);return a}_testAndFire(a,c,u){const E=`${a}:${(bt=c).item.is("element")?bt.item.name:"$text"}`,R=c.item.is("$textProxy")?u.consumable._getSymbolForTextProxy(c.item):c.item,V=this._firedEventsMap.get(u),X=V.get(R);var bt;if(X){if(X.has(E))return;X.add(E)}else V.set(R,new Set([E]));this.fire(E,c,u)}_testAndFireAddAttributes(a,c){const u={item:a,range:Ri._createOn(a)};for(const E of u.item.getAttributeKeys())u.attributeKey=E,u.attributeOldValue=null,u.attributeNewValue=u.item.getAttribute(E),this._testAndFire(`attribute:${E}`,u,c)}_createConversionApi(a,c=new Set,u={}){const E=If(cu({},this._conversionApi),{consumable:new Mf,writer:a,options:u,convertItem:R=>this._convertInsert(Ri._createOn(R),E),convertChildren:R=>this._convertInsert(Ri._createIn(R),E,{doNotAddConsumables:!0}),convertAttributes:R=>this._testAndFireAddAttributes(R,E),canReuseView:R=>!c.has(E.mapper.toModelElement(R))});return this._firedEventsMap.set(E,new Map),E}}function rp(v,a,c){const u=a.getRange(),E=Array.from(v.getAncestors());return E.shift(),E.reverse(),!E.some(R=>{if(u.containsItem(R))return!!c.toViewElement(R).getCustomProperty("addHighlight")})}function Rf(v){return{item:v.item,range:Ri._createFromPositionAndShift(v.previousPosition,v.length)}}class yl extends(ft(t1)){constructor(...a){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],a.length&&this.setTo(...a)}get anchor(){if(this._ranges.length>0){const a=this._ranges[this._ranges.length-1];return this._lastRangeBackward?a.end:a.start}return null}get focus(){if(this._ranges.length>0){const a=this._ranges[this._ranges.length-1];return this._lastRangeBackward?a.start:a.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(a){if(this.rangeCount!=a.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(a.anchor)||!this.focus.isEqual(a.focus))return!1;for(const c of this._ranges){let u=!1;for(const E of a._ranges)if(c.isEqual(E)){u=!0;break}if(!u)return!1}return!0}*getRanges(){for(const a of this._ranges)yield new Ri(a.start,a.end)}getFirstRange(){let a=null;for(const c of this._ranges)a&&!c.start.isBefore(a.start)||(a=c);return a?new Ri(a.start,a.end):null}getLastRange(){let a=null;for(const c of this._ranges)a&&!c.end.isAfter(a.end)||(a=c);return a?new Ri(a.start,a.end):null}getFirstPosition(){const a=this.getFirstRange();return a?a.start.clone():null}getLastPosition(){const a=this.getLastRange();return a?a.end.clone():null}setTo(...a){let[c,u,E]=a;if("object"==typeof u&&(E=u,u=void 0),null===c)this._setRanges([]);else if(c instanceof yl)this._setRanges(c.getRanges(),c.isBackward);else if(c&&"function"==typeof c.getRanges)this._setRanges(c.getRanges(),c.isBackward);else if(c instanceof Ri)this._setRanges([c],!!E&&!!E.backward);else if(c instanceof Ki)this._setRanges([new Ri(c)]);else if(c instanceof w1){const R=!!E&&!!E.backward;let V;if("in"==u)V=Ri._createIn(c);else if("on"==u)V=Ri._createOn(c);else{if(void 0===u)throw new z("model-selection-setto-required-second-parameter",[this,c]);V=new Ri(Ki._createAt(c,u))}this._setRanges([V],R)}else{if(!be(c))throw new z("model-selection-setto-not-selectable",[this,c]);this._setRanges(c,E&&!!E.backward)}}_setRanges(a,c=!1){const u=Array.from(a),E=u.some(R=>{if(!(R instanceof Ri))throw new z("model-selection-set-ranges-not-range",[this,a]);return this._ranges.every(V=>!V.isEqual(R))});(u.length!==this._ranges.length||E)&&(this._replaceAllRanges(u),this._lastRangeBackward=!!c,this.fire("change:range",{directChange:!0}))}setFocus(a,c){if(null===this.anchor)throw new z("model-selection-setfocus-no-ranges",[this,a]);const u=Ki._createAt(a,c);if("same"==u.compareWith(this.focus))return;const E=this.anchor;this._ranges.length&&this._popRange(),"before"==u.compareWith(E)?(this._pushRange(new Ri(u,E)),this._lastRangeBackward=!0):(this._pushRange(new Ri(E,u)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(a){return this._attrs.get(a)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(a){return this._attrs.has(a)}removeAttribute(a){this.hasAttribute(a)&&(this._attrs.delete(a),this.fire("change:attribute",{attributeKeys:[a],directChange:!0}))}setAttribute(a,c){this.getAttribute(a)!==c&&(this._attrs.set(a,c),this.fire("change:attribute",{attributeKeys:[a],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const a=new WeakSet;for(const c of this.getRanges()){const u=x1(c.start,a);Pf(u,c)&&(yield u);for(const R of c.getWalker()){const V=R.item;"elementEnd"==R.type&&Sf(V,a,c)&&(yield V)}const E=x1(c.end,a);ap(E,c)&&(yield E)}}containsEntireContent(a=this.anchor.root){const c=Ki._createAt(a,0),u=Ki._createAt(a,"end");return c.isTouching(this.getFirstPosition())&&u.isTouching(this.getLastPosition())}_pushRange(a){this._checkRange(a),this._ranges.push(new Ri(a.start,a.end))}_checkRange(a){for(let c=0;c0;)this._popRange()}_popRange(){this._ranges.pop()}}function Jp(v,a){return!a.has(v)&&(a.add(v),v.root.document.model.schema.isBlock(v)&&!!v.parent)}function Sf(v,a,c){return Jp(v,a)&&e1(v,c)}function x1(v,a){const c=v.parent.root.document.model.schema,u=v.parent.getAncestors({parentFirst:!0,includeSelf:!0});let E=!1;const R=u.find(V=>!E&&(E=c.isLimit(V),!E&&Jp(V,a)));return u.forEach(V=>a.add(V)),R}function e1(v,a){const c=function(u){const E=u.root.document.model.schema;let R=u.parent;for(;R;){if(E.isBlock(R))return R;R=R.parent}}(v);return!c||!a.containsRange(Ri._createOn(c),!0)}function Pf(v,a){return!!v&&(!(!a.isCollapsed&&!v.isEmpty)||!a.start.isTouching(Ki._createAt(v,v.maxOffset))&&e1(v,a))}function ap(v,a){return!!v&&(!(!a.isCollapsed&&!v.isEmpty)||!a.end.isTouching(Ki._createAt(v,0))&&e1(v,a))}yl.prototype.is=function(v){return"selection"===v||"model:selection"===v};class Bd extends(ft(Ri)){constructor(a,c){super(a,c),bg.call(this)}detach(){this.stopListening()}toRange(){return new Ri(this.start,this.end)}static fromRange(a){return new Bd(a.start,a.end)}}function bg(){this.listenTo(this.root.document.model,"applyOperation",(v,a)=>{const c=a[0];c.isDocumentOperation&&Af.call(this,c)},{priority:"low"})}function Af(v){const a=this.getTransformedByOperation(v),c=Ri._createFromRanges(a),u=!c.isEqual(this),E=function(V,X){switch(X.type){case"insert":return V.containsPosition(X.position);case"move":case"remove":case"reinsert":case"merge":return V.containsPosition(X.sourcePosition)||V.start.isEqual(X.sourcePosition)||V.containsPosition(X.targetPosition);case"split":return V.containsPosition(X.splitPosition)||V.containsPosition(X.insertionPosition)}return!1}(this,v);let R=null;if(u){"$graveyard"==c.root.rootName&&(R="remove"==v.type?v.sourcePosition:v.deletionPosition);const V=this.toRange();this.start=c.start,this.end=c.end,this.fire("change:range",V,{deletionPosition:R})}else E&&this.fire("change:content",this.toRange(),{deletionPosition:R})}Bd.prototype.is=function(v){return"liveRange"===v||"model:liveRange"===v||"range"==v||"model:range"===v};const Xp="selection:";class kl extends(ft(t1)){constructor(a){super(),this._selection=new Fg(a),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(a){return this._selection.containsEntireContent(a)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(a){return this._selection.getAttribute(a)}hasAttribute(a){return this._selection.hasAttribute(a)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(a){this._selection.observeMarkers(a)}_setFocus(a,c){this._selection.setFocus(a,c)}_setTo(...a){this._selection.setTo(...a)}_setAttribute(a,c){this._selection.setAttribute(a,c)}_removeAttribute(a){this._selection.removeAttribute(a)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(a){this._selection.restoreGravity(a)}static _getStoreAttributeKey(a){return Xp+a}static _isStoreAttributeKey(a){return a.startsWith(Xp)}}kl.prototype.is=function(v){return"selection"===v||"model:selection"==v||"documentSelection"==v||"model:documentSelection"==v};class Fg extends yl{constructor(a){super(),this.markers=new Fa({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=a.model,this._document=a,this.listenTo(this._model,"applyOperation",(c,u)=>{const E=u[0];E.isDocumentOperation&&"marker"!=E.type&&"rename"!=E.type&&"noop"!=E.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))},{priority:"lowest"}),this.on("change:range",()=>{this._validateSelectionRanges(this.getRanges())}),this.listenTo(this._model.markers,"update",(c,u,E,R)=>{this._updateMarker(u,R)}),this.listenTo(this._document,"change",(c,u)=>{!function(E,R){const V=E.document.differ;for(const X of V.getChanges()){if("insert"!=X.type)continue;const et=X.position.parent;X.length===et.maxOffset&&E.enqueueChange(R,bt=>{const vt=Array.from(et.getAttributeKeys()).filter(Pt=>Pt.startsWith(Xp));for(const Pt of vt)bt.removeAttribute(Pt,et)})}}(this._model,u)})}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let a=0;a{if(this._hasChangedRange=!0,c.root==this._document.graveyard){this._selectionRestorePosition=R.deletionPosition;const V=this._ranges.indexOf(c);this._ranges.splice(V,1),c.detach()}}),c}updateMarkers(){if(!this._observedMarkers.size)return;const a=[];let c=!1;for(const E of this._model.markers){const R=E.name.split(":",1)[0];if(!this._observedMarkers.has(R))continue;const V=E.getRange();for(const X of this.getRanges())V.containsRange(X,!X.isCollapsed)&&a.push(E)}const u=Array.from(this.markers);for(const E of a)this.markers.has(E)||(this.markers.add(E),c=!0);for(const E of Array.from(this.markers))a.includes(E)||(this.markers.remove(E),c=!0);c&&this.fire("change:marker",{oldMarkers:u,directChange:!1})}_updateMarker(a,c){const u=a.name.split(":",1)[0];if(!this._observedMarkers.has(u))return;let E=!1;const R=Array.from(this.markers),V=this.markers.has(a);if(c){let X=!1;for(const et of this.getRanges())if(c.containsRange(et,!et.isCollapsed)){X=!0;break}X&&!V?(this.markers.add(a),E=!0):!X&&V&&(this.markers.remove(a),E=!0)}else V&&(this.markers.remove(a),E=!0);E&&this.fire("change:marker",{oldMarkers:R,directChange:!1})}_updateAttributes(a){const c=qi(this._getSurroundingAttributes()),u=qi(this.getAttributes());if(a)this._attributePriority=new Map,this._attrs=new Map;else for(const[R,V]of this._attributePriority)"low"==V&&(this._attrs.delete(R),this._attributePriority.delete(R));this._setAttributesTo(c);const E=[];for(const[R,V]of this.getAttributes())u.has(R)&&u.get(R)===V||E.push(R);for(const[R]of u)this.hasAttribute(R)||E.push(R);E.length>0&&this.fire("change:attribute",{attributeKeys:E,directChange:!1})}_setAttribute(a,c,u=!0){const E=u?"normal":"low";return("low"!=E||"normal"!=this._attributePriority.get(a))&&super.getAttribute(a)!==c&&(this._attrs.set(a,c),this._attributePriority.set(a,E),!0)}_removeAttribute(a,c=!0){const u=c?"normal":"low";return!("low"==u&&"normal"==this._attributePriority.get(a)||(this._attributePriority.set(a,u),!super.hasAttribute(a)||(this._attrs.delete(a),0)))}_setAttributesTo(a){const c=new Set;for(const[u,E]of this.getAttributes())a.get(u)!==E&&this._removeAttribute(u,!1);for(const[u,E]of a)this._setAttribute(u,E,!1)&&c.add(u);return c}*getStoredAttributes(){const a=this.getFirstPosition().parent;if(this.isCollapsed&&a.isEmpty)for(const c of a.getAttributeKeys())c.startsWith(Xp)&&(yield[c.substr(10),a.getAttribute(c)])}_getSurroundingAttributes(){const a=this.getFirstPosition(),c=this._model.schema;if("$graveyard"==a.root.rootName)return null;let u=null;if(this.isCollapsed){const E=a.textNode?a.textNode:a.nodeBefore,R=a.textNode?a.textNode:a.nodeAfter;if(this.isGravityOverridden||(u=Of(E,c)),u||(u=Of(R,c)),!this.isGravityOverridden&&!u){let V=E;for(;V&&!u;)V=V.previousSibling,u=Of(V,c)}if(!u){let V=R;for(;V&&!u;)V=V.nextSibling,u=Of(V,c)}u||(u=this.getStoredAttributes())}else{const E=this.getFirstRange();for(const R of E){if(R.item.is("element")&&c.isObject(R.item)){u=Of(R.item,c);break}if("text"==R.type){u=R.item.getAttributes();break}}}return u}_fixGraveyardSelection(a){const c=this._model.schema.getNearestSelectionRange(a);c&&this._pushRange(c)}}function Of(v,a){if(!v)return null;if(v instanceof au||v instanceof Es)return v.getAttributes();if(!a.isInline(v))return null;if(!a.isObject(v))return[];const c=[];for(const[u,E]of v.getAttributes())a.checkAttribute("$text",u)&&!1!==a.getAttributeProperties(u).copyFromObject&&c.push([u,E]);return c}class qp{constructor(a){this._dispatchers=a}add(a){for(const c of this._dispatchers)a(c);return this}}class b_ extends qp{elementToElement(a){return this.add(function(c){const u=sp(c.model),E=sm(c.view,"container");return u.attributes.length&&(u.children=!0),R=>{R.on(`insert:${u.name}`,function(V,X=Tu){return(et,bt,vt)=>{if(!X(bt.item,vt.consumable,{preflight:!0}))return;const Pt=V(bt.item,vt,bt);if(!Pt)return;X(bt.item,vt.consumable);const Wt=vt.mapper.toViewPosition(bt.range.start);vt.mapper.bindElements(bt.item,Pt),vt.writer.insert(Wt,Pt),vt.convertAttributes(bt.item),vg(Pt,bt.item.getChildren(),vt,{reconversion:bt.reconversion})}}(E,Wp(u)),{priority:c.converterPriority||"normal"}),(u.children||u.attributes.length)&&R.on("reduceChanges",jf(u),{priority:"low"})}}(a))}elementToStructure(a){return this.add(function(c){const u=sp(c.model),E=sm(c.view,"container");return u.children=!0,R=>{if(R._conversionApi.schema.checkChild(u.name,"$text"))throw new z("conversion-element-to-structure-disallowed-text",R,{elementName:u.name});var V,X;R.on(`insert:${u.name}`,(V=E,X=Wp(u),(et,bt,vt)=>{if(!X(bt.item,vt.consumable,{preflight:!0}))return;const Pt=new Map;vt.writer._registerSlotFactory(function(Ae,ze,mn){return(xn,ti)=>{const Si=xn.createContainerElement("$slot");let mo=null;if("children"===ti)mo=Array.from(Ae.getChildren());else{if("function"!=typeof ti)throw new z("conversion-slot-mode-unknown",mn.dispatcher,{modeOrFilter:ti});mo=Array.from(Ae.getChildren()).filter(lr=>ti(lr))}return ze.set(Si,mo),Si}}(bt.item,Pt,vt));const Wt=V(bt.item,vt,bt);if(vt.writer._clearSlotFactory(),!Wt)return;(function(Ae,ze,mn){const xn=Array.from(ze.values()).flat(),ti=new Set(xn);if(ti.size!=xn.length)throw new z("conversion-slot-filter-overlap",mn.dispatcher,{element:Ae});if(ti.size!=Ae.childCount)throw new z("conversion-slot-filter-incomplete",mn.dispatcher,{element:Ae})})(bt.item,Pt,vt),X(bt.item,vt.consumable);const he=vt.mapper.toViewPosition(bt.range.start);vt.mapper.bindElements(bt.item,Wt),vt.writer.insert(he,Wt),vt.convertAttributes(bt.item),function(Ae,ze,mn,xn){mn.mapper.on("modelToViewPosition",mo,{priority:"highest"});let ti=null,Si=null;for([ti,Si]of ze)vg(Ae,Si,mn,xn),mn.writer.move(mn.writer.createRangeIn(ti),mn.writer.createPositionBefore(ti)),mn.writer.remove(ti);function mo(lr,Ia){const yc=Si.indexOf(Ia.modelPosition.nodeAfter);yc<0||(Ia.viewPosition=Ia.mapper.findPositionIn(ti,yc))}mn.mapper.off("modelToViewPosition",mo)}(Wt,Pt,vt,{reconversion:bt.reconversion})}),{priority:c.converterPriority||"normal"}),R.on("reduceChanges",jf(u),{priority:"low"})}}(a))}attributeToElement(a){return this.add(function(c){let u=(c=rm(c)).model;"string"==typeof u&&(u={key:u});let E=`attribute:${u.key}`;if(u.name&&(E+=":"+u.name),u.values)for(const V of u.values)c.view[V]=sm(c.view[V],"attribute");else c.view=sm(c.view,"attribute");const R=Yl(c);return V=>{V.on(E,function(X){return(et,bt,vt)=>{if(!vt.consumable.test(bt.item,et.name))return;const Pt=X(bt.attributeOldValue,vt,bt),Wt=X(bt.attributeNewValue,vt,bt);if(!Pt&&!Wt)return;vt.consumable.consume(bt.item,et.name);const he=vt.writer;if(bt.item instanceof yl||bt.item instanceof kl)he.wrap(he.document.selection.getFirstRange(),Wt);else{let ze=vt.mapper.toViewRange(bt.range);null!==bt.attributeOldValue&&Pt&&(ze=he.unwrap(ze,Pt)),null!==bt.attributeNewValue&&Wt&&he.wrap(ze,Wt)}}}(R),{priority:c.converterPriority||"normal"})}}(a))}attributeToAttribute(a){return this.add(function(c){let u=(c=rm(c)).model;"string"==typeof u&&(u={key:u});let E=`attribute:${u.key}`;if(u.name&&(E+=":"+u.name),u.values)for(const V of u.values)c.view[V]=Mu(c.view[V]);else c.view=Mu(c.view);const R=Yl(c);return V=>{var X;V.on(E,(X=R,(et,bt,vt)=>{if(!vt.consumable.test(bt.item,et.name))return;const Pt=X(bt.attributeOldValue,vt,bt),Wt=X(bt.attributeNewValue,vt,bt);if(!Pt&&!Wt)return;vt.consumable.consume(bt.item,et.name);const he=vt.mapper.toViewElement(bt.item),Ae=vt.writer;if(!he)throw new z("conversion-attribute-to-attribute-on-text",vt.dispatcher,bt);if(null!==bt.attributeOldValue&&Pt)if("class"==Pt.key){const ze=ua(Pt.value);for(const mn of ze)Ae.removeClass(mn,he)}else if("style"==Pt.key){const ze=Object.keys(Pt.value);for(const mn of ze)Ae.removeStyle(mn,he)}else Ae.removeAttribute(Pt.key,he);if(null!==bt.attributeNewValue&&Wt)if("class"==Wt.key){const ze=ua(Wt.value);for(const mn of ze)Ae.addClass(mn,he)}else if("style"==Wt.key){const ze=Object.keys(Wt.value);for(const mn of ze)Ae.setStyle(mn,Wt.value[mn],he)}else Ae.setAttribute(Wt.key,Wt.value,he)}),{priority:c.converterPriority||"normal"})}}(a))}markerToElement(a){return this.add(function(c){const u=sm(c.view,"ui");return E=>{var R;E.on(`addMarker:${c.model}`,(R=u,(V,X,et)=>{X.isOpening=!0;const bt=R(X,et);X.isOpening=!1;const vt=R(X,et);if(!bt||!vt)return;const Pt=X.markerRange;if(Pt.isCollapsed&&!et.consumable.consume(Pt,V.name))return;for(const Ae of Pt)if(!et.consumable.consume(Ae.item,V.name))return;const Wt=et.mapper,he=et.writer;he.insert(Wt.toViewPosition(Pt.start),bt),et.mapper.bindElementToMarker(bt,X.markerName),Pt.isCollapsed||(he.insert(Wt.toViewPosition(Pt.end),vt),et.mapper.bindElementToMarker(vt,X.markerName)),V.stop()}),{priority:c.converterPriority||"normal"}),E.on(`removeMarker:${c.model}`,(V,X,et)=>{const bt=et.mapper.markerNameToElements(X.markerName);if(bt){for(const vt of bt)et.mapper.unbindElementFromMarkerName(vt,X.markerName),et.writer.clear(et.writer.createRangeOn(vt),vt);et.writer.clearClonedElementsGroup(X.markerName),V.stop()}},{priority:c.converterPriority||"normal"})}}(a))}markerToHighlight(a){return this.add(function(c){return u=>{var E;u.on(`addMarker:${c.model}`,(E=c.view,(R,V,X)=>{if(!V.item||!(V.item instanceof yl||V.item instanceof kl||V.item.is("$textProxy")))return;const et=n1(E,V,X);if(!et||!X.consumable.consume(V.item,R.name))return;const bt=X.writer,vt=F_(bt,et);if(V.item instanceof yl||V.item instanceof kl)bt.wrap(bt.document.selection.getFirstRange(),vt);else{const Wt=X.mapper.toViewRange(V.range),he=bt.wrap(Wt,vt);for(const Ae of he.getItems())if(Ae.is("attributeElement")&&Ae.isSimilar(vt)){X.mapper.bindElementToMarker(Ae,V.markerName);break}}}),{priority:c.converterPriority||"normal"}),u.on(`addMarker:${c.model}`,function(R){return(V,X,et)=>{if(!(X.item&&X.item instanceof rs))return;const bt=n1(R,X,et);if(!bt||!et.consumable.test(X.item,V.name))return;const vt=et.mapper.toViewElement(X.item);if(vt&&vt.getCustomProperty("addHighlight")){et.consumable.consume(X.item,V.name);for(const Pt of Ri._createIn(X.item))et.consumable.consume(Pt.item,V.name);vt.getCustomProperty("addHighlight")(vt,bt,et.writer),et.mapper.bindElementToMarker(vt,X.markerName)}}}(c.view),{priority:c.converterPriority||"normal"}),u.on(`removeMarker:${c.model}`,function(R){return(V,X,et)=>{if(X.markerRange.isCollapsed)return;const bt=n1(R,X,et);if(!bt)return;const vt=F_(et.writer,bt),Pt=et.mapper.markerNameToElements(X.markerName);if(Pt){for(const Wt of Pt)et.mapper.unbindElementFromMarkerName(Wt,X.markerName),Wt.is("attributeElement")?et.writer.unwrap(et.writer.createRangeOn(Wt),vt):Wt.getCustomProperty("removeHighlight")(Wt,bt.id,et.writer);et.writer.clearClonedElementsGroup(X.markerName),V.stop()}}}(c.view),{priority:c.converterPriority||"normal"})}}(a))}markerToData(a){return this.add(function(c){const u=(c=rm(c)).model;let E=c.view;return E||(E=R=>({group:u,name:R.substr(c.model.length+1)})),R=>{var V;R.on(`addMarker:${u}`,(V=E,(X,et,bt)=>{const vt=V(et.markerName,bt);if(!vt)return;const Pt=et.markerRange;bt.consumable.consume(Pt,X.name)&&(v_(Pt,!1,bt,et,vt),v_(Pt,!0,bt,et,vt),X.stop())}),{priority:c.converterPriority||"normal"}),R.on(`removeMarker:${u}`,function(X){return(et,bt,vt)=>{const Pt=X(bt.markerName,vt);if(!Pt)return;const Wt=vt.mapper.markerNameToElements(bt.markerName);if(Wt){for(const Ae of Wt)vt.mapper.unbindElementFromMarkerName(Ae,bt.markerName),Ae.is("containerElement")?(he(`data-${Pt.group}-start-before`,Ae),he(`data-${Pt.group}-start-after`,Ae),he(`data-${Pt.group}-end-before`,Ae),he(`data-${Pt.group}-end-after`,Ae)):vt.writer.clear(vt.writer.createRangeOn(Ae),Ae);vt.writer.clearClonedElementsGroup(bt.markerName),et.stop()}function he(Ae,ze){if(ze.hasAttribute(Ae)){const mn=new Set(ze.getAttribute(Ae).split(","));mn.delete(Pt.name),0==mn.size?vt.writer.removeAttribute(Ae,ze):vt.writer.setAttribute(Ae,Array.from(mn).join(","),ze)}}}}(E),{priority:c.converterPriority||"normal"})}}(a))}}function F_(v,a){const c=v.createAttributeElement("span",a.attributes);return a.classes&&c._addClass(a.classes),"number"==typeof a.priority&&(c._priority=a.priority),c._id=a.id,c}function v_(v,a,c,u,E){const R=a?v.start:v.end,V=R.nodeAfter&&R.nodeAfter.is("element")?R.nodeAfter:null,X=R.nodeBefore&&R.nodeBefore.is("element")?R.nodeBefore:null;if(V||X){let et,bt;a&&V||!a&&!X?(et=V,bt=!0):(et=X,bt=!1);const vt=c.mapper.toViewElement(et);if(vt)return void function(Pt,Wt,he,Ae,ze,mn){const xn=`data-${mn.group}-${Wt?"start":"end"}-${he?"before":"after"}`,ti=Pt.hasAttribute(xn)?Pt.getAttribute(xn).split(","):[];ti.unshift(mn.name),Ae.writer.setAttribute(xn,ti.join(","),Pt),Ae.mapper.bindElementToMarker(Pt,ze.markerName)}(vt,a,bt,c,u,E)}!function(et,bt,vt,Pt,Wt){const ze=vt.writer.createUIElement(`${Wt.group}-${bt?"start":"end"}`,Wt.name?{name:Wt.name}:null);vt.writer.insert(et,ze),vt.mapper.bindElementToMarker(ze,Pt.markerName)}(c.mapper.toViewPosition(R),a,c,u,E)}function sp(v){return"string"==typeof v&&(v={name:v}),{name:v.name,attributes:v.attributes?ua(v.attributes):[],children:!!v.children}}function sm(v,a){return"function"==typeof v?v:(c,u)=>function(E,R,V){let X;"string"==typeof E&&(E={name:E});const et=R.writer,bt=Object.assign({},E.attributes);if(X="container"==V?et.createContainerElement(E.name,bt):"attribute"==V?et.createAttributeElement(E.name,bt,{priority:E.priority||id.DEFAULT_PRIORITY}):et.createUIElement(E.name,bt),E.styles){const vt=Object.keys(E.styles);for(const Pt of vt)et.setStyle(Pt,E.styles[Pt],X)}if(E.classes){const vt=E.classes;if("string"==typeof vt)et.addClass(vt,X);else for(const Pt of vt)et.addClass(Pt,X)}return X}(v,u,a)}function Yl(v){return v.model.values?(a,c,u)=>{const E=v.view[a];return E?E(a,c,u):null}:v.view}function Mu(v){return"string"==typeof v?a=>({key:v,value:a}):"object"==typeof v?v.value?()=>v:a=>({key:v.key,value:a}):v}function n1(v,a,c){const u="function"==typeof v?v(a,c):v;return u?(u.priority||(u.priority=10),u.id||(u.id=a.markerName),u):null}function jf(v){const a=function(c){return(u,E)=>{if(!u.is("element",c.name))return!1;if("attribute"==E.type){if(c.attributes.includes(E.attributeKey))return!0}else if(c.children)return!0;return!1}}(v);return(c,u)=>{const E=[];u.reconvertedElements||(u.reconvertedElements=new Set);for(const R of u.changes){const V="attribute"==R.type?R.range.start.nodeAfter:R.position.parent;if(V&&a(V,R)){if(!u.reconvertedElements.has(V)){u.reconvertedElements.add(V);const X=Ki._createBefore(V);let et=E.length;for(let bt=E.length-1;bt>=0;bt--){const vt=E[bt],Pt=("attribute"==vt.type?vt.range.start:vt.position).compareWith(X);if("before"==Pt||"remove"==vt.type&&"same"==Pt)break;et=bt}E.splice(et,0,{type:"remove",name:V.name,position:X,length:1},{type:"reinsert",name:V.name,position:X,length:1})}}else E.push(R)}u.changes=E}}function Wp(v){return(a,c,u={})=>{const E=["insert"];for(const R of v.attributes)a.hasAttribute(R)&&E.push(`attribute:${R}`);return!!E.every(R=>c.test(a,R))&&(u.preflight||E.forEach(R=>c.consume(a,R)),!0)}}function vg(v,a,c,u){for(const E of a)M1(v.root,E,c,u)||c.convertItem(E)}function M1(v,a,c,u){const{writer:E,mapper:R}=c;if(!u.reconversion)return!1;const V=R.toViewElement(a);return!(!V||V.root==v||!c.canReuseView(V)||(E.move(E.createRangeOn(V),R.toViewPosition(Ki._createBefore(a))),0))}function Tu(v,a,{preflight:c}={}){return c?a.test(v,"insert"):a.consume(v,"insert")}function Eg(v){const{schema:a,document:c}=v.model;for(const u of c.getRoots())if(u.isEmpty&&!a.checkChild(u,"$text")&&a.checkChild(u,"paragraph"))return v.insertElement("paragraph",u),!0;return!1}function V2(v,a,c){const u=c.createContext(v);return!!c.checkChild(u,"paragraph")&&!!c.checkChild(u.push("paragraph"),a)}function Kp(v,a){const c=a.createElement("paragraph");return a.insert(c,v),a.createPositionAt(c,0)}var cm=Object.defineProperty,G2=Object.defineProperties,Cg=Object.getOwnPropertyDescriptors,B2=Object.getOwnPropertySymbols,Nf=Object.prototype.hasOwnProperty,lm=Object.prototype.propertyIsEnumerable,Lf=(v,a,c)=>a in v?cm(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class cp extends qp{elementToElement(a){return this.add(z2(a))}elementToAttribute(a){return this.add(function(c){$f(c=rm(c));const u=Y2(c,!1),E=H2(c.view),R=E?`element:${E}`:"element";return V=>{V.on(R,u,{priority:c.converterPriority||"low"})}}(a))}attributeToAttribute(a){return this.add(function(c){let u=null;("string"==typeof(c=rm(c)).view||c.view.key)&&(u=function(R){"string"==typeof R.view&&(R.view={key:R.view});const V=R.view.key;let X;return X="class"==V||"style"==V?{["class"==V?"classes":"styles"]:R.view.value}:{attributes:{[V]:void 0===R.view.value?/[\s\S]*/:R.view.value}},R.view.name&&(X.name=R.view.name),R.view=X,V}(c)),$f(c,u);const E=Y2(c,!0);return R=>{R.on("element",E,{priority:c.converterPriority||"low"})}}(a))}elementToMarker(a){return this.add(function(c){const u=function(V){return(X,et)=>{const bt="string"==typeof V?V:V(X,et);return et.writer.createElement("$marker",{"data-name":bt})}}(c.model);return z2((E=((V,X)=>{for(var et in X||(X={}))Nf.call(X,et)&&Lf(V,et,X[et]);if(B2)for(var et of B2(X))lm.call(X,et)&&Lf(V,et,X[et]);return V})({},c),G2(E,Cg({model:u}))));var E}(a))}dataToMarker(a){return this.add(function(c){(c=rm(c)).model||(c.model=V=>V?c.view+":"+V:c.view);const u={view:c.view,model:c.model},E=yg(Vf(u,"start")),R=yg(Vf(u,"end"));return V=>{V.on(`element:${c.view}-start`,E,{priority:c.converterPriority||"normal"}),V.on(`element:${c.view}-end`,R,{priority:c.converterPriority||"normal"});const X=B.low,et=B.highest,bt=B.get(c.converterPriority)/et;V.on("element",function(vt){return(Pt,Wt,he)=>{const Ae=`data-${vt.view}`;function ze(mn,xn){for(const ti of xn){const Si=vt.model(ti,he),mo=he.writer.createElement("$marker",{"data-name":Si});he.writer.insert(mo,mn),Wt.modelCursor=Wt.modelCursor.isEqual(mn)?Wt.modelCursor.getShiftedBy(1):Wt.modelCursor._getTransformedByInsertion(mn,1),Wt.modelRange=Wt.modelRange._getTransformedByInsertion(mn,1)[0]}}(he.consumable.test(Wt.viewItem,{attributes:Ae+"-end-after"})||he.consumable.test(Wt.viewItem,{attributes:Ae+"-start-after"})||he.consumable.test(Wt.viewItem,{attributes:Ae+"-end-before"})||he.consumable.test(Wt.viewItem,{attributes:Ae+"-start-before"}))&&(Wt.modelRange||Object.assign(Wt,he.convertChildren(Wt.viewItem,Wt.modelCursor)),he.consumable.consume(Wt.viewItem,{attributes:Ae+"-end-after"})&&ze(Wt.modelRange.end,Wt.viewItem.getAttribute(Ae+"-end-after").split(",")),he.consumable.consume(Wt.viewItem,{attributes:Ae+"-start-after"})&&ze(Wt.modelRange.end,Wt.viewItem.getAttribute(Ae+"-start-after").split(",")),he.consumable.consume(Wt.viewItem,{attributes:Ae+"-end-before"})&&ze(Wt.modelRange.start,Wt.viewItem.getAttribute(Ae+"-end-before").split(",")),he.consumable.consume(Wt.viewItem,{attributes:Ae+"-start-before"})&&ze(Wt.modelRange.start,Wt.viewItem.getAttribute(Ae+"-start-before").split(",")))}}(u),{priority:X+bt})}}(a))}}function z2(v){const a=yg(v=rm(v)),c=H2(v.view),u=c?`element:${c}`:"element";return E=>{E.on(u,a,{priority:v.converterPriority||"normal"})}}function H2(v){return"string"==typeof v?v:"object"==typeof v&&"string"==typeof v.name?v.name:null}function yg(v){const a=new nd(v.view);return(c,u,E)=>{const R=a.match(u.viewItem);if(!R)return;const V=R.match;if(V.name=!0,!E.consumable.test(u.viewItem,V))return;const X=(vt=E,(et=v.model)instanceof Function?et(u.viewItem,vt):vt.writer.createElement(et));var et,vt;X&&E.safeInsert(X,u.modelCursor)&&(E.consumable.consume(u.viewItem,V),E.convertChildren(u.viewItem,X),E.updateConversionResult(X,u))}}function $f(v,a=null){v.model={key:"object"!=typeof v.model?v.model:v.model.key,value:"object"!=typeof v.model||void 0===v.model.value?null===a||(R=>R.getAttribute(a)):v.model.value}}function Y2(v,a){const c=new nd(v.view);return(u,E,R)=>{if(!E.modelRange&&a)return;const V=c.match(E.viewItem);if(!V||(function(vt,Pt){const Wt="function"==typeof vt?vt(Pt):vt;return!("object"==typeof Wt&&!H2(Wt)||Wt.classes||Wt.attributes||Wt.styles)}(v.view,E.viewItem)?V.match.name=!0:delete V.match.name,!R.consumable.test(E.viewItem,V.match)))return;const X=v.model.key,et="function"==typeof v.model.value?v.model.value(E.viewItem,R):v.model.value;null!==et&&(E.modelRange||Object.assign(E,R.convertChildren(E.viewItem,E.modelCursor)),function(vt,Pt,Wt,he){let Ae=!1;for(const ze of Array.from(vt.getItems({shallow:Wt})))he.schema.checkAttribute(ze,Pt.key)&&(Ae=!0,ze.hasAttribute(Pt.key)||he.writer.setAttribute(Pt.key,Pt.value,ze));return Ae}(E.modelRange,{key:X,value:et},a,R)&&(R.consumable.test(E.viewItem,{name:!0})&&(V.match.name=!0),R.consumable.consume(E.viewItem,V.match)))}}function Vf(v,a){return{view:`${v.view}-${a}`,model:(c,u)=>{const E=c.getAttribute("name"),R=v.model(E,u);return u.writer.createElement("$marker",{"data-name":R})}}}function T1(v,a){return v.isCollapsed?function(c,u){const E=c.start,R=u.getNearestSelectionRange(E);if(!R){const X=E.getAncestors().reverse().find(et=>u.isObject(et));return X?Ri._createOn(X):null}if(!R.isCollapsed)return R;const V=R.start;return E.isEqual(V)?null:new Ri(V)}(v,a):function(c,u){const{start:E,end:R}=c,V=u.checkChild(E,"$text"),X=u.checkChild(R,"$text"),et=u.getLimitElement(E),bt=u.getLimitElement(R);if(et===bt){if(V&&X)return null;if(function(Wt,he,Ae){const ze=Wt.nodeAfter&&!Ae.isLimit(Wt.nodeAfter)||Ae.checkChild(Wt,"$text"),mn=he.nodeBefore&&!Ae.isLimit(he.nodeBefore)||Ae.checkChild(he,"$text");return ze||mn}(E,R,u)){const Wt=E.nodeAfter&&u.isSelectable(E.nodeAfter)?null:u.getNearestSelectionRange(E,"forward"),he=R.nodeBefore&&u.isSelectable(R.nodeBefore)?null:u.getNearestSelectionRange(R,"backward");return new Ri(Wt?Wt.start:E,he?he.end:R)}}const vt=et&&!et.is("rootElement"),Pt=bt&&!bt.is("rootElement");if(vt||Pt){const Wt=E.nodeAfter&&R.nodeBefore&&E.nodeAfter.parent===R.nodeBefore.parent,he=vt&&(!Wt||!Qp(E.nodeAfter,u)),Ae=Pt&&(!Wt||!Qp(R.nodeBefore,u));let ze=E,mn=R;return he&&(ze=Ki._createBefore(D1(et,u))),Ae&&(mn=Ki._createAfter(D1(bt,u))),new Ri(ze,mn)}return null}(v,a)}function D1(v,a){let c=v,u=c;for(;a.isLimit(u)&&u.parent;)c=u,u=u.parent;return c}function Qp(v,a){return v&&a.isSelectable(v)}class kg extends(kt()){constructor(a,c){super(),this.model=a,this.view=new mb(c),this.mapper=new L2,this.downcastDispatcher=new $2({mapper:this.mapper,schema:a.schema});const u=this.model.document,E=u.selection,R=this.model.markers;var V,X,et;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(u,"change",()=>{this.view.change(bt=>{this.downcastDispatcher.convertChanges(u.differ,R,bt),this.downcastDispatcher.convertSelection(E,R,bt)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(bt,vt){return(Pt,Wt)=>{const he=Wt.newSelection,Ae=[];for(const mn of he.getRanges())Ae.push(vt.toModelRange(mn));const ze=bt.createSelection(Ae,{backward:he.isBackward});ze.isEqual(bt.document.selection)||bt.change(mn=>{mn.setSelection(ze)})}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(V=this.mapper,X=this.model.schema,et=this.view,(bt,vt)=>{if(!et.document.isComposing||_.isAndroid)for(let Pt=0;Pt{if(!Pt.consumable.consume(vt.item,bt.name))return;const Wt=Pt.writer,he=Pt.mapper.toViewPosition(vt.range.start),Ae=Wt.createText(vt.item.data);Wt.insert(he,Ae)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(bt,vt,Pt)=>{Pt.convertAttributes(vt.item),vt.reconversion||!vt.item.is("element")||vt.item.isEmpty||Pt.convertChildren(vt.item)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(bt,vt,Pt)=>{const Wt=Pt.mapper.toViewPosition(vt.position),he=vt.position.getShiftedBy(vt.length),Ae=Pt.mapper.toViewPosition(he,{isPhantom:!0}),ze=Pt.writer.createRange(Wt,Ae),mn=Pt.writer.remove(ze.getTrimmed());for(const xn of Pt.writer.createRangeIn(mn).getItems())Pt.mapper.unbindViewElement(xn,{defer:!0})},{priority:"low"}),this.downcastDispatcher.on("cleanSelection",(bt,vt,Pt)=>{const Wt=Pt.writer,he=Wt.document.selection;for(const Ae of he.getRanges())Ae.isCollapsed&&Ae.end.parent.isAttached()&&Pt.writer.mergeAttributes(Ae.start);Wt.setSelection(null)}),this.downcastDispatcher.on("selection",(bt,vt,Pt)=>{const Wt=vt.selection;if(Wt.isCollapsed||!Pt.consumable.consume(Wt,"selection"))return;const he=[];for(const Ae of Wt.getRanges())he.push(Pt.mapper.toViewRange(Ae));Pt.writer.setSelection(he,{backward:Wt.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(bt,vt,Pt)=>{const Wt=vt.selection;if(!Wt.isCollapsed||!Pt.consumable.consume(Wt,"selection"))return;const he=Pt.writer,Ae=Wt.getFirstPosition(),ze=Pt.mapper.toViewPosition(Ae),mn=he.breakAttributes(ze);he.setSelection(mn)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(bt=>{if("$graveyard"==bt.rootName)return null;const vt=new Ca(this.view.document,bt.name);return vt.rootName=bt.rootName,this.mapper.bindElements(bt,vt),vt})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(a){const c="string"==typeof a?a:a.name,u=this.model.markers.get(c);if(!u)throw new z("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:c});this.model.change(()=>{this.model.markers._refresh(u)})}reconvertItem(a){this.model.change(()=>{this.model.document.differ._refreshItem(a)})}}class Zp{constructor(){this._consumables=new Map}add(a,c){let u;a.is("$text")||a.is("documentFragment")?this._consumables.set(a,!0):(this._consumables.has(a)?u=this._consumables.get(a):(u=new hb(a),this._consumables.set(a,u)),u.add(c))}test(a,c){const u=this._consumables.get(a);return void 0===u?null:a.is("$text")||a.is("documentFragment")?u:u.test(c)}consume(a,c){return!!this.test(a,c)&&(a.is("$text")||a.is("documentFragment")?this._consumables.set(a,!1):this._consumables.get(a).consume(c),!0)}revert(a,c){const u=this._consumables.get(a);void 0!==u&&(a.is("$text")||a.is("documentFragment")?this._consumables.set(a,!0):u.revert(c))}static consumablesFromElement(a){const c={element:a,name:!0,attributes:[],classes:[],styles:[]},u=a.getAttributeKeys();for(const V of u)"style"!=V&&"class"!=V&&c.attributes.push(V);const E=a.getClassNames();for(const V of E)c.classes.push(V);const R=a.getStyleNames();for(const V of R)c.styles.push(V);return c}static createFrom(a,c){if(c||(c=new Zp),a.is("$text"))return c.add(a),c;a.is("element")&&c.add(a,Zp.consumablesFromElement(a)),a.is("documentFragment")&&c.add(a);for(const u of a.getChildren())c=Zp.createFrom(u,c);return c}}const th=["attributes","classes","styles"];class hb{constructor(a){this.element=a,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(a){a.name&&(this._canConsumeName=!0);for(const c of th)c in a&&this._add(c,a[c])}test(a){if(a.name&&!this._canConsumeName)return this._canConsumeName;for(const c of th)if(c in a){const u=this._test(c,a[c]);if(!0!==u)return u}return!0}consume(a){a.name&&(this._canConsumeName=!1);for(const c of th)c in a&&this._consume(c,a[c])}revert(a){a.name&&(this._canConsumeName=!0);for(const c of th)c in a&&this._revert(c,a[c])}_add(a,c){const u=mi(c)?c:[c],E=this._consumables[a];for(const R of u){if("attributes"===a&&("class"===R||"style"===R))throw new z("viewconsumable-invalid-attribute",this);if(E.set(R,!0),"styles"===a)for(const V of this.element.document.stylesProcessor.getRelatedStyles(R))E.set(V,!0)}}_test(a,c){const u=mi(c)?c:[c],E=this._consumables[a];for(const R of u)if("attributes"!==a||"class"!==R&&"style"!==R){const V=E.get(R);if(void 0===V)return null;if(!V)return!1}else{const V="class"==R?"classes":"styles",X=this._test(V,[...this._consumables[V].keys()]);if(!0!==X)return X}return!0}_consume(a,c){const u=mi(c)?c:[c],E=this._consumables[a];for(const R of u)if("attributes"!==a||"class"!==R&&"style"!==R){if(E.set(R,!1),"styles"==a)for(const V of this.element.document.stylesProcessor.getRelatedStyles(R))E.set(V,!1)}else{const V="class"==R?"classes":"styles";this._consume(V,[...this._consumables[V].keys()])}}_revert(a,c){const u=mi(c)?c:[c],E=this._consumables[a];for(const R of u)if("attributes"!==a||"class"!==R&&"style"!==R)!1===E.get(R)&&E.set(R,!0);else{const V="class"==R?"classes":"styles";this._revert(V,[...this._consumables[V].keys()])}}}class nc extends(kt()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(a,c)=>{c[0]=new lu(c[0])},{priority:"highest"}),this.on("checkChild",(a,c)=>{c[0]=new lu(c[0]),c[1]=this.getDefinition(c[1])},{priority:"highest"})}register(a,c){if(this._sourceDefinitions[a])throw new z("schema-cannot-register-item-twice",this,{itemName:a});this._sourceDefinitions[a]=[Object.assign({},c)],this._clearCache()}extend(a,c){if(!this._sourceDefinitions[a])throw new z("schema-cannot-extend-missing-item",this,{itemName:a});this._sourceDefinitions[a].push(Object.assign({},c)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(a){let c;return c="string"==typeof a?a:"is"in a&&(a.is("$text")||a.is("$textProxy"))?"$text":a.name,this.getDefinitions()[c]}isRegistered(a){return!!this.getDefinition(a)}isBlock(a){const c=this.getDefinition(a);return!(!c||!c.isBlock)}isLimit(a){const c=this.getDefinition(a);return!(!c||!c.isLimit&&!c.isObject)}isObject(a){const c=this.getDefinition(a);return!!c&&!!(c.isObject||c.isLimit&&c.isSelectable&&c.isContent)}isInline(a){const c=this.getDefinition(a);return!(!c||!c.isInline)}isSelectable(a){const c=this.getDefinition(a);return!(!c||!c.isSelectable&&!c.isObject)}isContent(a){const c=this.getDefinition(a);return!(!c||!c.isContent&&!c.isObject)}checkChild(a,c){return!!c&&this._checkContextMatch(c,a)}checkAttribute(a,c){const u=this.getDefinition(a.last);return!!u&&u.allowAttributes.includes(c)}checkMerge(a,c){if(a instanceof Ki){const u=a.nodeBefore,E=a.nodeAfter;if(!(u instanceof rs))throw new z("schema-check-merge-no-element-before",this);if(!(E instanceof rs))throw new z("schema-check-merge-no-element-after",this);return this.checkMerge(u,E)}for(const u of c.getChildren())if(!this.checkChild(a,u))return!1;return!0}addChildCheck(a){this.on("checkChild",(c,[u,E])=>{if(!E)return;const R=a(u,E);"boolean"==typeof R&&(c.stop(),c.return=R)},{priority:"high"})}addAttributeCheck(a){this.on("checkAttribute",(c,[u,E])=>{const R=a(u,E);"boolean"==typeof R&&(c.stop(),c.return=R)},{priority:"high"})}setAttributeProperties(a,c){this._attributeProperties[a]=Object.assign(this.getAttributeProperties(a),c)}getAttributeProperties(a){return this._attributeProperties[a]||{}}getLimitElement(a){let c;for(c=a instanceof Ki?a.parent:(a instanceof Ri?[a]:Array.from(a.getRanges())).reduce((u,E)=>{const R=E.getCommonAncestor();return u?u.getCommonAncestor(R,{includeSelf:!0}):R},null);!this.isLimit(c)&&c.parent;)c=c.parent;return c}checkAttributeInSelection(a,c){if(a.isCollapsed){const u=[...a.getFirstPosition().getAncestors(),new Es("",a.getAttributes())];return this.checkAttribute(u,c)}{const u=a.getRanges();for(const E of u)for(const R of E)if(this.checkAttribute(R.item,c))return!0}return!1}*getValidRanges(a,c){a=function*(u){for(const E of u)yield*E.getMinimalFlatRanges()}(a);for(const u of a)yield*this._getValidRangesForRange(u,c)}getNearestSelectionRange(a,c="both"){if("$graveyard"==a.root.rootName)return null;if(this.checkChild(a,"$text"))return new Ri(a);let u,E;const R=a.getAncestors().reverse().find(V=>this.isLimit(V))||a.root;"both"!=c&&"backward"!=c||(u=new Gd({boundaries:Ri._createIn(R),startPosition:a,direction:"backward"})),"both"!=c&&"forward"!=c||(E=new Gd({boundaries:Ri._createIn(R),startPosition:a}));for(const V of function*(X,et){let bt=!1;for(;!bt;){if(bt=!0,X){const vt=X.next();vt.done||(bt=!1,yield{walker:X,value:vt.value})}if(et){const vt=et.next();vt.done||(bt=!1,yield{walker:et,value:vt.value})}}}(u,E)){const et=V.value;if(et.type==(V.walker==u?"elementEnd":"elementStart")&&this.isObject(et.item))return Ri._createOn(et.item);if(this.checkChild(et.nextPosition,"$text"))return new Ri(et.nextPosition)}return null}findAllowedParent(a,c){let u=a.parent;for(;u;){if(this.checkChild(u,c))return u;if(this.isLimit(u))return null;u=u.parent}return null}setAllowedAttributes(a,c,u){const E=u.model;for(const[R,V]of Object.entries(c))E.schema.checkAttribute(a,R)&&u.setAttribute(R,V,a)}removeDisallowedAttributes(a,c){for(const u of a)if(u.is("$text"))Uc(this,u,c);else{const E=Ri._createIn(u).getPositions();for(const R of E)Uc(this,R.nodeBefore||R.parent,c)}}getAttributesWithProperty(a,c,u){const E={};for(const[R,V]of a.getAttributes()){const X=this.getAttributeProperties(R);void 0!==X[c]&&(void 0!==u&&u!==X[c]||(E[R]=V))}return E}createContext(a){return new lu(a)}_clearCache(){this._compiledDefinitions=null}_compile(){const a={},c=this._sourceDefinitions,u=Object.keys(c);for(const E of u)a[E]=fb(c[E],E);for(const E of u)I1(a,E);for(const E of u)Nr(a,E);for(const E of u)gb(a,E);for(const E of u)ad(a,E),vc(a,E);for(const E of u)Gf(a,E),R1(a,E),C_(a,E);this._compiledDefinitions=a}_checkContextMatch(a,c,u=c.length-1){const E=c.getItem(u);if(a.allowIn.includes(E.name)){if(0==u)return!0;{const R=this.getDefinition(E);return this._checkContextMatch(R,c,u-1)}}return!1}*_getValidRangesForRange(a,c){let u=a.start,E=a.start;for(const R of a.getItems({shallow:!0}))R.is("element")&&(yield*this._getValidRangesForRange(Ri._createIn(R),c)),this.checkAttribute(R,c)||(u.isEqual(E)||(yield new Ri(u,E)),u=Ki._createAfter(R)),E=Ki._createAfter(R);u.isEqual(E)||(yield new Ri(u,E))}}class lu{constructor(a){if(a instanceof lu)return a;let c;c="string"==typeof a?[a]:Array.isArray(a)?a:a.getAncestors({includeSelf:!0}),this._items=c.map(eh)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(a){const c=new lu([a]);return c._items=[...this._items,...c._items],c}getItem(a){return this._items[a]}*getNames(){yield*this._items.map(a=>a.name)}endsWith(a){return Array.from(this.getNames()).join(" ").endsWith(a)}startsWith(a){return Array.from(this.getNames()).join(" ").startsWith(a)}}function fb(v,a){const c={name:a,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(u,E){for(const R of u){const V=Object.keys(R).filter(X=>X.startsWith("is"));for(const X of V)E[X]=!!R[X]}}(v,c),dm(v,c,"allowIn"),dm(v,c,"allowContentOf"),dm(v,c,"allowWhere"),dm(v,c,"allowAttributes"),dm(v,c,"allowAttributesOf"),dm(v,c,"allowChildren"),dm(v,c,"inheritTypesFrom"),function(u,E){for(const R of u){const V=R.inheritAllFrom;V&&(E.allowContentOf.push(V),E.allowWhere.push(V),E.allowAttributesOf.push(V),E.inheritTypesFrom.push(V))}}(v,c),c}function I1(v,a){const c=v[a];for(const u of c.allowChildren){const E=v[u];E&&E.allowIn.push(a)}c.allowChildren.length=0}function Nr(v,a){for(const c of v[a].allowContentOf)v[c]&&U2(v,c).forEach(u=>{u.allowIn.push(a)});delete v[a].allowContentOf}function gb(v,a){for(const c of v[a].allowWhere){const u=v[c];u&&v[a].allowIn.push(...u.allowIn)}delete v[a].allowWhere}function ad(v,a){for(const c of v[a].allowAttributesOf){const u=v[c];u&&v[a].allowAttributes.push(...u.allowAttributes)}delete v[a].allowAttributesOf}function vc(v,a){const c=v[a];for(const u of c.inheritTypesFrom){const E=v[u];if(E){const R=Object.keys(E).filter(V=>V.startsWith("is"));for(const V of R)V in c||(c[V]=E[V])}}delete c.inheritTypesFrom}function Gf(v,a){const c=v[a],u=c.allowIn.filter(E=>v[E]);c.allowIn=Array.from(new Set(u))}function R1(v,a){const c=v[a];for(const u of c.allowIn)v[u].allowChildren.push(a)}function C_(v,a){const c=v[a];c.allowAttributes=Array.from(new Set(c.allowAttributes))}function dm(v,a,c){for(const u of v){const E=u[c];"string"==typeof E?a[c].push(E):Array.isArray(E)&&a[c].push(...E)}}function U2(v,a){const c=v[a];return(u=v,Object.keys(u).map(E=>u[E])).filter(E=>E.allowIn.includes(c.name));var u}function eh(v){return"string"==typeof v||v.is("documentFragment")?{name:"string"==typeof v?v:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:v.is("element")?v.name:"$text",*getAttributeKeys(){yield*v.getAttributeKeys()},getAttribute:a=>v.getAttribute(a)}}function Uc(v,a,c){for(const u of a.getAttributeKeys())v.checkAttribute(a,u)||c.removeAttribute(u,a)}var sd=Object.defineProperty,um=Object.defineProperties,Du=Object.getOwnPropertyDescriptors,lp=Object.getOwnPropertySymbols,wg=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,uc=(v,a,c)=>a in v?sd(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class nh extends(ft()){constructor(a){var c;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(c=((u,E)=>{for(var R in E||(E={}))wg.call(E,R)&&uc(u,R,E[R]);if(lp)for(var R of lp(E))gs.call(E,R)&&uc(u,R,E[R]);return u})({},a),um(c,Du({consumable:null,writer:null,store:null,convertItem:(u,E)=>this._convertItem(u,E),convertChildren:(u,E)=>this._convertChildren(u,E),safeInsert:(u,E)=>this._safeInsert(u,E),updateConversionResult:(u,E)=>this._updateConversionResult(u,E),splitToAllowedParent:(u,E)=>this._splitToAllowedParent(u,E),getSplitParts:u=>this._getSplitParts(u),keepEmptyElement:u=>this._keepEmptyElement(u)})))}convert(a,c,u=["$root"]){this.fire("viewCleanup",a),this._modelCursor=function(V,X){let et;for(const bt of new lu(V)){const vt={};for(const Wt of bt.getAttributeKeys())vt[Wt]=bt.getAttribute(Wt);const Pt=X.createElement(bt.name,vt);et&&X.insert(Pt,et),et=Ki._createAt(Pt,0)}return et}(u,c),this.conversionApi.writer=c,this.conversionApi.consumable=Zp.createFrom(a),this.conversionApi.store={};const{modelRange:E}=this._convertItem(a,this._modelCursor),R=c.createDocumentFragment();if(E){this._removeEmptyElements();for(const V of Array.from(this._modelCursor.parent.getChildren()))c.append(V,R);R.markers=function(V,X){const et=new Set,bt=new Map,vt=Ri._createIn(V).getItems();for(const Pt of vt)Pt.is("element","$marker")&&et.add(Pt);for(const Pt of et){const Wt=Pt.getAttribute("data-name"),he=X.createPositionBefore(Pt);bt.has(Wt)?bt.get(Wt).end=he.clone():bt.set(Wt,new Ri(he.clone())),X.remove(Pt)}return bt}(R,c)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,R}_convertItem(a,c){const u={viewItem:a,modelCursor:c,modelRange:null};if(a.is("element")?this.fire(`element:${a.name}`,u,this.conversionApi):a.is("$text")?this.fire("text",u,this.conversionApi):this.fire("documentFragment",u,this.conversionApi),u.modelRange&&!(u.modelRange instanceof Ri))throw new z("view-conversion-dispatcher-incorrect-result",this);return{modelRange:u.modelRange,modelCursor:u.modelCursor}}_convertChildren(a,c){let u=c.is("position")?c:Ki._createAt(c,0);const E=new Ri(u);for(const R of Array.from(a.getChildren())){const V=this._convertItem(R,u);V.modelRange instanceof Ri&&(E.end=V.modelRange.end,u=V.modelCursor)}return{modelRange:E,modelCursor:u}}_safeInsert(a,c){const u=this._splitToAllowedParent(a,c);return!!u&&(this.conversionApi.writer.insert(a,u.position),!0)}_updateConversionResult(a,c){const u=this._getSplitParts(a),E=this.conversionApi.writer;c.modelRange||(c.modelRange=E.createRange(E.createPositionBefore(a),E.createPositionAfter(u[u.length-1])));const R=this._cursorParents.get(a);c.modelCursor=R?E.createPositionAt(R,0):c.modelRange.end}_splitToAllowedParent(a,c){const{schema:u,writer:E}=this.conversionApi;let R=u.findAllowedParent(c,a);if(R){if(R===c.parent)return{position:c};this._modelCursor.parent.getAncestors().includes(R)&&(R=null)}if(!R)return V2(c,a,u)?{position:Kp(c,E)}:null;const V=this.conversionApi.writer.split(c,R),X=[];for(const bt of V.range.getWalker())if("elementEnd"==bt.type)X.push(bt.item);else{const vt=X.pop();this._registerSplitPair(vt,bt.item)}const et=V.range.end.parent;return this._cursorParents.set(a,et),{position:V.position,cursorParent:et}}_registerSplitPair(a,c){this._splitParts.has(a)||this._splitParts.set(a,[a]);const u=this._splitParts.get(a);this._splitParts.set(c,u),u.push(c)}_getSplitParts(a){let c;return c=this._splitParts.has(a)?this._splitParts.get(a):[a],c}_keepEmptyElement(a){this._emptyElementsToKeep.add(a)}_removeEmptyElements(){let a=!1;for(const c of this._splitParts.keys())c.isEmpty&&!this._emptyElementsToKeep.has(c)&&(this.conversionApi.writer.remove(c),this._splitParts.delete(c),a=!0);a&&this._removeEmptyElements()}}class mm{getHtml(a){const c=Lo.document.implementation.createHTMLDocument("").createElement("div");return c.appendChild(a),c.innerHTML}}class _b{constructor(a){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Gp(a,{renderingMode:"data"}),this.htmlWriter=new mm}toData(a){const c=this.domConverter.viewToDom(a);return this.htmlWriter.getHtml(c)}toView(a){const c=this._toDom(a);return this.domConverter.domToView(c,{skipComments:this.skipComments})}registerRawContentMatcher(a){this.domConverter.registerRawContentMatcher(a)}useFillerType(a){this.domConverter.blockFillerMode="marked"==a?"markedNbsp":"nbsp"}_toDom(a){a.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(a=`${a}`);const c=this.domParser.parseFromString(a,"text/html"),u=c.createDocumentFragment(),E=c.body.childNodes;for(;E.length>0;)u.appendChild(E[0]);return u}}class bb extends(ft()){constructor(a,c){super(),this.model=a,this.mapper=new L2,this.downcastDispatcher=new $2({mapper:this.mapper,schema:a.schema}),this.downcastDispatcher.on("insert:$text",(u,E,R)=>{if(!R.consumable.consume(E.item,u.name))return;const V=R.writer,X=R.mapper.toViewPosition(E.range.start),et=V.createText(E.item.data);V.insert(X,et)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(u,E,R)=>{R.convertAttributes(E.item),E.reconversion||!E.item.is("element")||E.item.isEmpty||R.convertChildren(E.item)},{priority:"lowest"}),this.upcastDispatcher=new nh({schema:a.schema}),this.viewDocument=new mf(c),this.stylesProcessor=c,this.htmlProcessor=new _b(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new zl(this.viewDocument),this.upcastDispatcher.on("text",(u,E,{schema:R,consumable:V,writer:X})=>{let et=E.modelCursor;if(!V.test(E.viewItem))return;if(!R.checkChild(et,"$text")){if(!V2(et,"$text",R)||0==E.viewItem.data.trim().length)return;const vt=et.nodeBefore;et=Kp(et,X),vt&&vt.is("element","$marker")&&(X.move(X.createRangeOn(vt),et),et=X.createPositionAfter(vt))}V.consume(E.viewItem);const bt=X.createText(E.viewItem.data);X.insert(bt,et),E.modelRange=X.createRange(et,et.getShiftedBy(bt.offsetSize)),E.modelCursor=E.modelRange.end},{priority:"lowest"}),this.upcastDispatcher.on("element",(u,E,R)=>{if(!E.modelRange&&R.consumable.consume(E.viewItem,{name:!0})){const{modelRange:V,modelCursor:X}=R.convertChildren(E.viewItem,E.modelCursor);E.modelRange=V,E.modelCursor=X}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(u,E,R)=>{if(!E.modelRange&&R.consumable.consume(E.viewItem,{name:!0})){const{modelRange:V,modelCursor:X}=R.convertChildren(E.viewItem,E.modelCursor);E.modelRange=V,E.modelCursor=X}},{priority:"lowest"}),kt().prototype.decorate.call(this,"init"),kt().prototype.decorate.call(this,"set"),kt().prototype.decorate.call(this,"get"),kt().prototype.decorate.call(this,"toView"),kt().prototype.decorate.call(this,"toModel"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},Eg)},{priority:"lowest"})}get(a={}){const{rootName:c="main",trim:u="empty"}=a;if(!this._checkIfRootsExists([c]))throw new z("datacontroller-get-non-existent-root",this);const E=this.model.document.getRoot(c);return E.isAttached()||nt("datacontroller-get-detached-root",this),"empty"!==u||this.model.hasContent(E,{ignoreWhitespaces:!0})?this.stringify(E,a):""}stringify(a,c={}){const u=this.toView(a,c);return this.processor.toData(u)}toView(a,c={}){const u=this.viewDocument,E=this._viewWriter;this.mapper.clearBindings();const R=Ri._createIn(a),V=new od(u);this.mapper.bindElements(a,V);const X=a.is("documentFragment")?a.markers:function(et){const bt=[],vt=et.root.document;if(!vt)return new Map;const Pt=Ri._createIn(et);for(const Wt of vt.model.markers){const he=Wt.getRange(),Ae=he.isCollapsed,ze=he.start.isEqual(Pt.start)||he.end.isEqual(Pt.end);if(Ae&&ze)bt.push([Wt.name,he]);else{const mn=Pt.getIntersection(he);mn&&bt.push([Wt.name,mn])}}return bt.sort(([Wt,he],[Ae,ze])=>{if("after"!==he.end.compareWith(ze.start))return 1;if("before"!==he.start.compareWith(ze.end))return-1;switch(he.start.compareWith(ze.start)){case"before":return 1;case"after":return-1;default:switch(he.end.compareWith(ze.end)){case"before":return 1;case"after":return-1;default:return Ae.localeCompare(Wt)}}}),new Map(bt)}(a);return this.downcastDispatcher.convert(R,X,E,c),V}init(a){if(this.model.document.version)throw new z("datacontroller-init-document-not-empty",this);let c={};if("string"==typeof a?c.main=a:c=a,!this._checkIfRootsExists(Object.keys(c)))throw new z("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},u=>{for(const E of Object.keys(c)){const R=this.model.document.getRoot(E);u.insert(this.parse(c[E],R),R,0)}}),Promise.resolve()}set(a,c={}){let u={};if("string"==typeof a?u.main=a:u=a,!this._checkIfRootsExists(Object.keys(u)))throw new z("datacontroller-set-non-existent-root",this);this.model.enqueueChange(c.batchType||{},E=>{E.setSelection(null),E.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const R of Object.keys(u)){const V=this.model.document.getRoot(R);E.remove(E.createRangeIn(V)),E.insert(this.parse(u[R],V),V,0)}})}parse(a,c="$root"){const u=this.processor.toView(a);return this.toModel(u,c)}toModel(a,c="$root"){return this.model.change(u=>this.upcastDispatcher.convert(a,u,c))}addStyleProcessorRules(a){a(this.stylesProcessor)}registerRawContentMatcher(a){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(a),this.htmlProcessor.registerRawContentMatcher(a)}destroy(){this.stopListening()}_checkIfRootsExists(a){for(const c of a)if(!this.model.document.getRoot(c))return!1;return!0}}class xg{constructor(a,c){this._helpers=new Map,this._downcast=ua(a),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=ua(c),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(a,c){const u=this._downcast.includes(c);if(!this._upcast.includes(c)&&!u)throw new z("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:a,dispatchers:[c],isDowncast:u})}for(a){if(!this._helpers.has(a))throw new z("conversion-for-unknown-group",this);return this._helpers.get(a)}elementToElement(a){this.for("downcast").elementToElement(a);for(const{model:c,view:u}of Mg(a))this.for("upcast").elementToElement({model:c,view:u,converterPriority:a.converterPriority})}attributeToElement(a){this.for("downcast").attributeToElement(a);for(const{model:c,view:u}of Mg(a))this.for("upcast").elementToAttribute({view:u,model:c,converterPriority:a.converterPriority})}attributeToAttribute(a){this.for("downcast").attributeToAttribute(a);for(const{model:c,view:u}of Mg(a))this.for("upcast").attributeToAttribute({view:u,model:c})}_createConversionHelpers({name:a,dispatchers:c,isDowncast:u}){if(this._helpers.has(a))throw new z("conversion-group-exists",this);const E=u?new b_(c):new cp(c);this._helpers.set(a,E)}}function*Mg(v){if(v.model.values)for(const a of v.model.values){const c={key:v.model.key,value:a},u=v.view[a],E=v.upcastAlso?v.upcastAlso[a]:void 0;yield*dp(c,u,E)}else yield*dp(v.model,v.view,v.upcastAlso)}function*dp(v,a,c){if(yield{model:v,view:a},c)for(const u of ua(c))yield{model:v,view:u}}class cd{constructor(a){this.baseVersion=a,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const a=Object.assign({},this);return a.__className=this.constructor.className,delete a.batch,delete a.isDocumentOperation,a}static get className(){return"Operation"}static fromJSON(a,c){return new this(a.baseVersion)}}function S1(v,a){const c=pm(a),u=c.reduce((V,X)=>V+X.offsetSize,0),E=v.parent;ic(v);const R=v.index;return E._insertChild(R,c),o1(E,R+c.length),o1(E,R),new Ri(v,v.getShiftedBy(u))}function Bf(v){if(!v.isFlat)throw new z("operation-utils-remove-range-not-flat",this);const a=v.start.parent;ic(v.start),ic(v.end);const c=a._removeChildren(v.start.index,v.end.index-v.start.index);return o1(a,v.start.index),c}function ih(v,a){if(!v.isFlat)throw new z("operation-utils-move-range-not-flat",this);const c=Bf(v);return S1(a=a._getTransformedByDeletion(v.start,v.end.offset-v.start.offset),c)}function pm(v){const a=[];!function c(u){if("string"==typeof u)a.push(new Es(u));else if(u instanceof au)a.push(new Es(u.data,u.getAttributes()));else if(u instanceof w1)a.push(u);else if(be(u))for(const E of u)c(E)}(v);for(let c=1;ca.maxOffset)throw new z("move-operation-nodes-do-not-exist",this);if(a===c&&u=u&&this.targetPosition.path[R]u._clone(!0))),c=new Pc(this.position,a,this.baseVersion);return c.shouldReceiveAttributes=this.shouldReceiveAttributes,c}getReversed(){const c=new Ki(this.position.root.document.graveyard,[0]);return new ra(this.position,this.nodes.maxOffset,c,this.baseVersion+1)}_validate(){const a=this.position.parent;if(!a||a.maxOffsetc._clone(!0))),S1(this.position,a)}toJSON(){const a=super.toJSON();return a.position=this.position.toJSON(),a.nodes=this.nodes.toJSON(),a}static get className(){return"InsertOperation"}static fromJSON(a,c){const u=[];for(const R of a.nodes)u.push(R.name?rs.fromJSON(R):Es.fromJSON(R));const E=new Pc(Ki.fromJSON(a.position,c),u,a.baseVersion);return E.shouldReceiveAttributes=a.shouldReceiveAttributes,E}}class ja extends cd{constructor(a,c,u,E,R){super(R),this.splitPosition=a.clone(),this.splitPosition.stickiness="toNext",this.howMany=c,this.insertionPosition=u,this.graveyardPosition=E?E.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const a=this.insertionPosition.path.slice();return a.push(0),new Ki(this.insertionPosition.root,a)}get movedRange(){const a=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Ri(this.splitPosition,a)}get affectedSelectable(){const a=[Ri._createFromPositionAndShift(this.splitPosition,0),Ri._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&a.push(Ri._createFromPositionAndShift(this.graveyardPosition,0)),a}clone(){return new ja(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const c=new Ki(this.splitPosition.root.document.graveyard,[0]);return new mc(this.moveTargetPosition,this.howMany,this.splitPosition,c,this.baseVersion+1)}_validate(){const a=this.splitPosition.parent;if(!a||a.maxOffset{if(v.key===a.key&&v.range.start.hasSameParentAs(a.range.start)){const u=v.range.getDifference(a.range).map(R=>new Xa(R,v.key,v.oldValue,v.newValue,0)),E=v.range.getIntersection(a.range);return E&&c.aIsStrong&&u.push(new Xa(E,a.key,a.newValue,v.newValue,0)),0==u.length?[new Ho(0)]:u}return[v]}),ya(Xa,Pc,(v,a)=>{if(v.range.start.hasSameParentAs(a.position)&&v.range.containsPosition(a.position)){const c=v.range._getTransformedByInsertion(a.position,a.howMany,!a.shouldReceiveAttributes).map(u=>new Xa(u,v.key,v.oldValue,v.newValue,v.baseVersion));if(a.shouldReceiveAttributes){const u=Ig(a,v.key,v.oldValue);u&&c.unshift(u)}return c}return v.range=v.range._getTransformedByInsertion(a.position,a.howMany,!1)[0],[v]}),ya(Xa,mc,(v,a)=>{const c=[];v.range.start.hasSameParentAs(a.deletionPosition)&&(v.range.containsPosition(a.deletionPosition)||v.range.start.isEqual(a.deletionPosition))&&c.push(Ri._createFromPositionAndShift(a.graveyardPosition,1));const u=v.range._getTransformedByMergeOperation(a);return u.isCollapsed||c.push(u),c.map(E=>new Xa(E,v.key,v.oldValue,v.newValue,v.baseVersion))}),ya(Xa,ra,(v,a)=>function(u,E){const R=Ri._createFromPositionAndShift(E.sourcePosition,E.howMany);let V=null,X=[];R.containsRange(u,!0)?V=u:u.start.hasSameParentAs(R.start)?(X=u.getDifference(R),V=u.getIntersection(R)):X=[u];const et=[];for(let bt of X){bt=bt._getTransformedByDeletion(E.sourcePosition,E.howMany);const vt=E.getMovedRangeStart(),Pt=bt.start.hasSameParentAs(vt),Wt=bt._getTransformedByInsertion(vt,E.howMany,Pt);et.push(...Wt)}return V&&et.push(V._getTransformedByMove(E.sourcePosition,E.targetPosition,E.howMany,!1)[0]),et}(v.range,a).map(u=>new Xa(u,v.key,v.oldValue,v.newValue,v.baseVersion))),ya(Xa,ja,(v,a)=>{if(v.range.end.isEqual(a.insertionPosition))return a.graveyardPosition||v.range.end.offset++,[v];if(v.range.start.hasSameParentAs(a.splitPosition)&&v.range.containsPosition(a.splitPosition)){const c=v.clone();return c.range=new Ri(a.moveTargetPosition.clone(),v.range.end._getCombined(a.splitPosition,a.moveTargetPosition)),v.range.end=a.splitPosition.clone(),v.range.end.stickiness="toPrevious",[v,c]}return v.range=v.range._getTransformedBySplitOperation(a),[v]}),ya(Pc,Xa,(v,a)=>{const c=[v];if(v.shouldReceiveAttributes&&v.position.hasSameParentAs(a.range.start)&&a.range.containsPosition(v.position)){const u=Ig(v,a.key,a.newValue);u&&c.push(u)}return c}),ya(Pc,Pc,(v,a,c)=>(v.position.isEqual(a.position)&&c.aIsStrong||(v.position=v.position._getTransformedByInsertOperation(a)),[v])),ya(Pc,ra,(v,a)=>(v.position=v.position._getTransformedByMoveOperation(a),[v])),ya(Pc,ja,(v,a)=>(v.position=v.position._getTransformedBySplitOperation(a),[v])),ya(Pc,mc,(v,a)=>(v.position=v.position._getTransformedByMergeOperation(a),[v])),ya(Ec,Pc,(v,a)=>(v.oldRange&&(v.oldRange=v.oldRange._getTransformedByInsertOperation(a)[0]),v.newRange&&(v.newRange=v.newRange._getTransformedByInsertOperation(a)[0]),[v])),ya(Ec,Ec,(v,a,c)=>{if(v.name==a.name){if(!c.aIsStrong)return[new Ho(0)];v.oldRange=a.newRange?a.newRange.clone():null}return[v]}),ya(Ec,mc,(v,a)=>(v.oldRange&&(v.oldRange=v.oldRange._getTransformedByMergeOperation(a)),v.newRange&&(v.newRange=v.newRange._getTransformedByMergeOperation(a)),[v])),ya(Ec,ra,(v,a,c)=>{if(v.oldRange&&(v.oldRange=Ri._createFromRanges(v.oldRange._getTransformedByMoveOperation(a))),v.newRange){if(c.abRelation){const u=Ri._createFromRanges(v.newRange._getTransformedByMoveOperation(a));if("left"==c.abRelation.side&&a.targetPosition.isEqual(v.newRange.start))return v.newRange.end=u.end,v.newRange.start.path=c.abRelation.path,[v];if("right"==c.abRelation.side&&a.targetPosition.isEqual(v.newRange.end))return v.newRange.start=u.start,v.newRange.end.path=c.abRelation.path,[v]}v.newRange=Ri._createFromRanges(v.newRange._getTransformedByMoveOperation(a))}return[v]}),ya(Ec,ja,(v,a,c)=>{if(v.oldRange&&(v.oldRange=v.oldRange._getTransformedBySplitOperation(a)),v.newRange){if(c.abRelation){const u=v.newRange._getTransformedBySplitOperation(a);return v.newRange.start.isEqual(a.splitPosition)&&c.abRelation.wasStartBeforeMergedElement?v.newRange.start=Ki._createAt(a.insertionPosition):v.newRange.start.isEqual(a.splitPosition)&&!c.abRelation.wasInLeftElement&&(v.newRange.start=Ki._createAt(a.moveTargetPosition)),v.newRange.end=v.newRange.end.isEqual(a.splitPosition)&&c.abRelation.wasInRightElement?Ki._createAt(a.moveTargetPosition):v.newRange.end.isEqual(a.splitPosition)&&c.abRelation.wasEndBeforeMergedElement?Ki._createAt(a.insertionPosition):u.end,[v]}v.newRange=v.newRange._getTransformedBySplitOperation(a)}return[v]}),ya(mc,Pc,(v,a)=>(v.sourcePosition.hasSameParentAs(a.position)&&(v.howMany+=a.howMany),v.sourcePosition=v.sourcePosition._getTransformedByInsertOperation(a),v.targetPosition=v.targetPosition._getTransformedByInsertOperation(a),[v])),ya(mc,mc,(v,a,c)=>{if(v.sourcePosition.isEqual(a.sourcePosition)&&v.targetPosition.isEqual(a.targetPosition)){if(c.bWasUndone){const u=a.graveyardPosition.path.slice();return u.push(0),v.sourcePosition=new Ki(a.graveyardPosition.root,u),v.howMany=0,[v]}return[new Ho(0)]}if(v.sourcePosition.isEqual(a.sourcePosition)&&!v.targetPosition.isEqual(a.targetPosition)&&!c.bWasUndone&&"splitAtSource"!=c.abRelation){const u="$graveyard"==v.targetPosition.root.rootName,E="$graveyard"==a.targetPosition.root.rootName;if(E&&!u||(!u||E)&&c.aIsStrong){const R=a.targetPosition._getTransformedByMergeOperation(a),V=v.targetPosition._getTransformedByMergeOperation(a);return[new ra(R,v.howMany,V,0)]}return[new Ho(0)]}return v.sourcePosition.hasSameParentAs(a.targetPosition)&&(v.howMany+=a.howMany),v.sourcePosition=v.sourcePosition._getTransformedByMergeOperation(a),v.targetPosition=v.targetPosition._getTransformedByMergeOperation(a),v.graveyardPosition.isEqual(a.graveyardPosition)&&c.aIsStrong||(v.graveyardPosition=v.graveyardPosition._getTransformedByMergeOperation(a)),[v]}),ya(mc,ra,(v,a,c)=>{const u=Ri._createFromPositionAndShift(a.sourcePosition,a.howMany);return"remove"==a.type&&!c.bWasUndone&&!c.forceWeakRemove&&v.deletionPosition.hasSameParentAs(a.sourcePosition)&&u.containsPosition(v.sourcePosition)?[new Ho(0)]:(v.sourcePosition.hasSameParentAs(a.targetPosition)&&(v.howMany+=a.howMany),v.sourcePosition.hasSameParentAs(a.sourcePosition)&&(v.howMany-=a.howMany),v.sourcePosition=v.sourcePosition._getTransformedByMoveOperation(a),v.targetPosition=v.targetPosition._getTransformedByMoveOperation(a),v.graveyardPosition.isEqual(a.targetPosition)||(v.graveyardPosition=v.graveyardPosition._getTransformedByMoveOperation(a)),[v])}),ya(mc,ja,(v,a,c)=>{if(a.graveyardPosition&&(v.graveyardPosition=v.graveyardPosition._getTransformedByDeletion(a.graveyardPosition,1),v.deletionPosition.isEqual(a.graveyardPosition)&&(v.howMany=a.howMany)),v.targetPosition.isEqual(a.splitPosition)){const u=0!=a.howMany,E=a.graveyardPosition&&v.deletionPosition.isEqual(a.graveyardPosition);if(u||E||"mergeTargetNotMoved"==c.abRelation)return v.sourcePosition=v.sourcePosition._getTransformedBySplitOperation(a),[v]}if(v.sourcePosition.isEqual(a.splitPosition)){if("mergeSourceNotMoved"==c.abRelation)return v.howMany=0,v.targetPosition=v.targetPosition._getTransformedBySplitOperation(a),[v];if("mergeSameElement"==c.abRelation||v.sourcePosition.offset>0)return v.sourcePosition=a.moveTargetPosition.clone(),v.targetPosition=v.targetPosition._getTransformedBySplitOperation(a),[v]}return v.sourcePosition.hasSameParentAs(a.splitPosition)&&(v.howMany=a.splitPosition.offset),v.sourcePosition=v.sourcePosition._getTransformedBySplitOperation(a),v.targetPosition=v.targetPosition._getTransformedBySplitOperation(a),[v]}),ya(ra,Pc,(v,a)=>{const c=Ri._createFromPositionAndShift(v.sourcePosition,v.howMany)._getTransformedByInsertOperation(a,!1)[0];return v.sourcePosition=c.start,v.howMany=c.end.offset-c.start.offset,v.targetPosition.isEqual(a.position)||(v.targetPosition=v.targetPosition._getTransformedByInsertOperation(a)),[v]}),ya(ra,ra,(v,a,c)=>{const u=Ri._createFromPositionAndShift(v.sourcePosition,v.howMany),E=Ri._createFromPositionAndShift(a.sourcePosition,a.howMany);let R,V=c.aIsStrong,X=!c.aIsStrong;if("insertBefore"==c.abRelation||"insertAfter"==c.baRelation?X=!0:"insertAfter"!=c.abRelation&&"insertBefore"!=c.baRelation||(X=!1),R=v.targetPosition.isEqual(a.targetPosition)&&X?v.targetPosition._getTransformedByDeletion(a.sourcePosition,a.howMany):v.targetPosition._getTransformedByMove(a.sourcePosition,a.targetPosition,a.howMany),y_(v,a)&&y_(a,v))return[a.getReversed()];if(u.containsPosition(a.targetPosition)&&u.containsRange(E,!0))return u.start=u.start._getTransformedByMove(a.sourcePosition,a.targetPosition,a.howMany),u.end=u.end._getTransformedByMove(a.sourcePosition,a.targetPosition,a.howMany),up([u],R);if(E.containsPosition(v.targetPosition)&&E.containsRange(u,!0))return u.start=u.start._getCombined(a.sourcePosition,a.getMovedRangeStart()),u.end=u.end._getCombined(a.sourcePosition,a.getMovedRangeStart()),up([u],R);const et=se(v.sourcePosition.getParentPath(),a.sourcePosition.getParentPath());if("prefix"==et||"extension"==et)return u.start=u.start._getTransformedByMove(a.sourcePosition,a.targetPosition,a.howMany),u.end=u.end._getTransformedByMove(a.sourcePosition,a.targetPosition,a.howMany),up([u],R);"remove"!=v.type||"remove"==a.type||c.aWasUndone||c.forceWeakRemove?"remove"==v.type||"remove"!=a.type||c.bWasUndone||c.forceWeakRemove||(V=!1):V=!0;const bt=[],vt=u.getDifference(E);for(const Wt of vt){Wt.start=Wt.start._getTransformedByDeletion(a.sourcePosition,a.howMany),Wt.end=Wt.end._getTransformedByDeletion(a.sourcePosition,a.howMany);const he="same"==se(Wt.start.getParentPath(),a.getMovedRangeStart().getParentPath()),Ae=Wt._getTransformedByInsertion(a.getMovedRangeStart(),a.howMany,he);bt.push(...Ae)}const Pt=u.getIntersection(E);return null!==Pt&&V&&(Pt.start=Pt.start._getCombined(a.sourcePosition,a.getMovedRangeStart()),Pt.end=Pt.end._getCombined(a.sourcePosition,a.getMovedRangeStart()),0===bt.length?bt.push(Pt):1==bt.length?E.start.isBefore(u.start)||E.start.isEqual(u.start)?bt.unshift(Pt):bt.push(Pt):bt.splice(1,0,Pt)),0===bt.length?[new Ho(v.baseVersion)]:up(bt,R)}),ya(ra,ja,(v,a,c)=>{let u=v.targetPosition.clone();v.targetPosition.isEqual(a.insertionPosition)&&a.graveyardPosition&&"moveTargetAfter"!=c.abRelation||(u=v.targetPosition._getTransformedBySplitOperation(a));const E=Ri._createFromPositionAndShift(v.sourcePosition,v.howMany);if(E.end.isEqual(a.insertionPosition))return a.graveyardPosition||v.howMany++,v.targetPosition=u,[v];if(E.start.hasSameParentAs(a.splitPosition)&&E.containsPosition(a.splitPosition)){let V=new Ri(a.splitPosition,E.end);return V=V._getTransformedBySplitOperation(a),up([new Ri(E.start,a.splitPosition),V],u)}v.targetPosition.isEqual(a.splitPosition)&&"insertAtSource"==c.abRelation&&(u=a.moveTargetPosition),v.targetPosition.isEqual(a.insertionPosition)&&"insertBetween"==c.abRelation&&(u=v.targetPosition);const R=[E._getTransformedBySplitOperation(a)];if(a.graveyardPosition){const V=E.start.isEqual(a.graveyardPosition)||E.containsPosition(a.graveyardPosition);v.howMany>1&&V&&!c.aWasUndone&&R.push(Ri._createFromPositionAndShift(a.insertionPosition,1))}return up(R,u)}),ya(ra,mc,(v,a,c)=>{const u=Ri._createFromPositionAndShift(v.sourcePosition,v.howMany);if(a.deletionPosition.hasSameParentAs(v.sourcePosition)&&u.containsPosition(a.sourcePosition))if("remove"!=v.type||c.forceWeakRemove){if(1==v.howMany)return c.bWasUndone?(v.sourcePosition=a.graveyardPosition.clone(),v.targetPosition=v.targetPosition._getTransformedByMergeOperation(a),[v]):[new Ho(0)]}else if(!c.aWasUndone){const R=[];let V=a.graveyardPosition.clone(),X=a.targetPosition._getTransformedByMergeOperation(a);v.howMany>1&&(R.push(new ra(v.sourcePosition,v.howMany-1,v.targetPosition,0)),V=V._getTransformedByMove(v.sourcePosition,v.targetPosition,v.howMany-1),X=X._getTransformedByMove(v.sourcePosition,v.targetPosition,v.howMany-1));const et=a.deletionPosition._getCombined(v.sourcePosition,v.targetPosition),bt=new ra(V,1,et,0),vt=bt.getMovedRangeStart().path.slice();vt.push(0);const Pt=new Ki(bt.targetPosition.root,vt);X=X._getTransformedByMove(V,et,1);const Wt=new ra(X,a.howMany,Pt,0);return R.push(bt),R.push(Wt),R}const E=Ri._createFromPositionAndShift(v.sourcePosition,v.howMany)._getTransformedByMergeOperation(a);return v.sourcePosition=E.start,v.howMany=E.end.offset-E.start.offset,v.targetPosition=v.targetPosition._getTransformedByMergeOperation(a),[v]}),ya(wl,Pc,(v,a)=>(v.position=v.position._getTransformedByInsertOperation(a),[v])),ya(wl,mc,(v,a)=>v.position.isEqual(a.deletionPosition)?(v.position=a.graveyardPosition.clone(),v.position.stickiness="toNext",[v]):(v.position=v.position._getTransformedByMergeOperation(a),[v])),ya(wl,ra,(v,a)=>(v.position=v.position._getTransformedByMoveOperation(a),[v])),ya(wl,wl,(v,a,c)=>{if(v.position.isEqual(a.position)){if(!c.aIsStrong)return[new Ho(0)];v.oldName=a.newName}return[v]}),ya(wl,ja,(v,a)=>{if("same"==se(v.position.path,a.splitPosition.getParentPath())&&!a.graveyardPosition){const c=new wl(v.position.getShiftedBy(1),v.oldName,v.newName,0);return[v,c]}return v.position=v.position._getTransformedBySplitOperation(a),[v]}),ya(Cc,Cc,(v,a,c)=>{if(v.root===a.root&&v.key===a.key){if(!c.aIsStrong||v.newValue===a.newValue)return[new Ho(0)];v.oldValue=a.newValue}return[v]}),ya(Cd,Cd,(v,a)=>v.rootName===a.rootName&&v.isAdd===a.isAdd?[new Ho(0)]:[v]),ya(ja,Pc,(v,a)=>(v.splitPosition.hasSameParentAs(a.position)&&v.splitPosition.offset{if(!v.graveyardPosition&&!c.bWasUndone&&v.splitPosition.hasSameParentAs(a.sourcePosition)){const u=a.graveyardPosition.path.slice();u.push(0);const E=new Ki(a.graveyardPosition.root,u),R=ja.getInsertionPosition(new Ki(a.graveyardPosition.root,u)),V=new ja(E,0,R,null,0);return v.splitPosition=v.splitPosition._getTransformedByMergeOperation(a),v.insertionPosition=ja.getInsertionPosition(v.splitPosition),v.graveyardPosition=V.insertionPosition.clone(),v.graveyardPosition.stickiness="toNext",[V,v]}return v.splitPosition.hasSameParentAs(a.deletionPosition)&&!v.splitPosition.isAfter(a.deletionPosition)&&v.howMany--,v.splitPosition.hasSameParentAs(a.targetPosition)&&(v.howMany+=a.howMany),v.splitPosition=v.splitPosition._getTransformedByMergeOperation(a),v.insertionPosition=ja.getInsertionPosition(v.splitPosition),v.graveyardPosition&&(v.graveyardPosition=v.graveyardPosition._getTransformedByMergeOperation(a)),[v]}),ya(ja,ra,(v,a,c)=>{const u=Ri._createFromPositionAndShift(a.sourcePosition,a.howMany);if(v.graveyardPosition){const R=u.start.isEqual(v.graveyardPosition)||u.containsPosition(v.graveyardPosition);if(!c.bWasUndone&&R){const V=v.splitPosition._getTransformedByMoveOperation(a),X=v.graveyardPosition._getTransformedByMoveOperation(a),et=X.path.slice();et.push(0);const bt=new Ki(X.root,et);return[new ra(V,v.howMany,bt,0)]}v.graveyardPosition=v.graveyardPosition._getTransformedByMoveOperation(a)}const E=v.splitPosition.isEqual(a.targetPosition);if(E&&("insertAtSource"==c.baRelation||"splitBefore"==c.abRelation))return v.howMany+=a.howMany,v.splitPosition=v.splitPosition._getTransformedByDeletion(a.sourcePosition,a.howMany),v.insertionPosition=ja.getInsertionPosition(v.splitPosition),[v];if(E&&c.abRelation&&c.abRelation.howMany){const{howMany:R,offset:V}=c.abRelation;return v.howMany+=R,v.splitPosition=v.splitPosition.getShiftedBy(V),[v]}return v.splitPosition.hasSameParentAs(a.sourcePosition)&&u.containsPosition(v.splitPosition)?(v.howMany-=a.howMany-(v.splitPosition.offset-a.sourcePosition.offset),v.splitPosition.hasSameParentAs(a.targetPosition)&&v.splitPosition.offset{if(v.splitPosition.isEqual(a.splitPosition)){if(!v.graveyardPosition&&!a.graveyardPosition)return[new Ho(0)];if(v.graveyardPosition&&a.graveyardPosition&&v.graveyardPosition.isEqual(a.graveyardPosition))return[new Ho(0)];if("splitBefore"==c.abRelation)return v.howMany=0,v.graveyardPosition=v.graveyardPosition._getTransformedBySplitOperation(a),[v]}if(v.graveyardPosition&&a.graveyardPosition&&v.graveyardPosition.isEqual(a.graveyardPosition)){const u="$graveyard"==v.splitPosition.root.rootName,E="$graveyard"==a.splitPosition.root.rootName;if(E&&!u||(!u||E)&&c.aIsStrong){const R=[];return a.howMany&&R.push(new ra(a.moveTargetPosition,a.howMany,a.splitPosition,0)),v.howMany&&R.push(new ra(v.splitPosition,v.howMany,v.moveTargetPosition,0)),R}return[new Ho(0)]}if(v.graveyardPosition&&(v.graveyardPosition=v.graveyardPosition._getTransformedBySplitOperation(a)),v.splitPosition.isEqual(a.insertionPosition)&&"splitBefore"==c.abRelation)return v.howMany++,[v];if(a.splitPosition.isEqual(v.insertionPosition)&&"splitBefore"==c.baRelation){const u=a.insertionPosition.path.slice();u.push(0);const E=new Ki(a.insertionPosition.root,u);return[v,new ra(v.insertionPosition,1,E,0)]}return v.splitPosition.hasSameParentAs(a.splitPosition)&&v.splitPosition.offset{const c=a[0];c.isDocumentOperation&&rh.call(this,c)},{priority:"low"})}function rh(v){const a=this.getTransformedByOperation(v);if(!this.isEqual(a)){const c=this.toPosition();this.path=a.path,this.root=a.root,this.fire("change",c)}}xl.prototype.is=function(v){return"livePosition"===v||"model:livePosition"===v||"position"==v||"model:position"===v};class P1{constructor(a={}){"string"==typeof a&&(a="transparent"===a?{isUndoable:!1}:{},nt("batch-constructor-deprecated-string-type"));const{isUndoable:c=!0,isLocal:u=!0,isUndo:E=!1,isTyping:R=!1}=a;this.operations=[],this.isUndoable=c,this.isLocal=u,this.isUndo=E,this.isTyping=R}get type(){return nt("batch-type-deprecated"),"default"}get baseVersion(){for(const a of this.operations)if(null!==a.baseVersion)return a.baseVersion;return null}addOperation(a){return a.batch=this,this.operations.push(a),a}}var Hf=Object.defineProperty,Sg=Object.defineProperties,q2=Object.getOwnPropertyDescriptors,Pg=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,F5=Object.prototype.propertyIsEnumerable,k_=(v,a,c)=>a in v?Hf(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,pl=(v,a)=>{for(var c in a||(a={}))vb.call(a,c)&&k_(v,c,a[c]);if(Pg)for(var c of Pg(a))F5.call(a,c)&&k_(v,c,a[c]);return v};class yd{constructor(a){this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=a}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(a){const c=a;switch(c.type){case"insert":if(this._isInInsertedElement(c.position.parent))return;this._markInsert(c.position.parent,c.position.offset,c.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const u of c.range.getItems({shallow:!0}))this._isInInsertedElement(u.parent)||this._markAttribute(u);break;case"remove":case"move":case"reinsert":{if(c.sourcePosition.isEqual(c.targetPosition)||c.sourcePosition.getShiftedBy(c.howMany).isEqual(c.targetPosition))return;const u=this._isInInsertedElement(c.sourcePosition.parent),E=this._isInInsertedElement(c.targetPosition.parent);u||this._markRemove(c.sourcePosition.parent,c.sourcePosition.offset,c.howMany),E||this._markInsert(c.targetPosition.parent,c.getMovedRangeStart().offset,c.howMany);break}case"rename":{if(this._isInInsertedElement(c.position.parent))return;this._markRemove(c.position.parent,c.position.offset,1),this._markInsert(c.position.parent,c.position.offset,1);const u=Ri._createFromPositionAndShift(c.position,1);for(const E of this._markerCollection.getMarkersIntersectingRange(u)){const R=E.getData();this.bufferMarkerChange(E.name,R,R)}break}case"split":{const u=c.splitPosition.parent;this._isInInsertedElement(u)||this._markRemove(u,c.splitPosition.offset,c.howMany),this._isInInsertedElement(c.insertionPosition.parent)||this._markInsert(c.insertionPosition.parent,c.insertionPosition.offset,1),c.graveyardPosition&&this._markRemove(c.graveyardPosition.parent,c.graveyardPosition.offset,1);break}case"merge":{const u=c.sourcePosition.parent;this._isInInsertedElement(u.parent)||this._markRemove(u.parent,u.startOffset,1),this._markInsert(c.graveyardPosition.parent,c.graveyardPosition.offset,1);const R=c.targetPosition.parent;this._isInInsertedElement(R)||this._markInsert(R,c.targetPosition.offset,u.maxOffset);break}case"detachRoot":case"addRoot":{const u=c.affectedSelectable;if(!u._isLoaded||u.isAttached()==c.isAdd)return;this._bufferRootStateChange(c.rootName,c.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":if(!c.root._isLoaded)return;this._bufferRootAttributeChange(c.root.rootName,c.key,c.oldValue,c.newValue)}this._cachedChanges=null}bufferMarkerChange(a,c,u){c.range&&c.range.root.is("rootElement")&&!c.range.root._isLoaded&&(c.range=null),u.range&&u.range.root.is("rootElement")&&!u.range.root._isLoaded&&(u.range=null);let E=this._changedMarkers.get(a);E?E.newMarkerData=u:(E={newMarkerData:u,oldMarkerData:c},this._changedMarkers.set(a,E)),null==E.oldMarkerData.range&&null==u.range&&this._changedMarkers.delete(a)}getMarkersToRemove(){const a=[];for(const[c,u]of this._changedMarkers)null!=u.oldMarkerData.range&&a.push({name:c,range:u.oldMarkerData.range});return a}getMarkersToAdd(){const a=[];for(const[c,u]of this._changedMarkers)null!=u.newMarkerData.range&&a.push({name:c,range:u.newMarkerData.range});return a}getChangedMarkers(){return Array.from(this._changedMarkers).map(([a,c])=>({name:a,data:{oldRange:c.oldMarkerData.range,newRange:c.newMarkerData.range}}))}hasDataChanges(){if(this._changesInElement.size>0||this._changedRoots.size>0)return!0;for(const{newMarkerData:a,oldMarkerData:c}of this._changedMarkers.values()){if(a.affectsData!==c.affectsData)return!0;if(a.affectsData){const u=a.range&&!c.range,E=!a.range&&c.range,R=a.range&&c.range&&!a.range.isEqual(c.range);if(u||E||R)return!0}}return!1}getChanges(a={}){if(this._cachedChanges)return a.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let c=[];for(const u of this._changesInElement.keys()){const E=this._changesInElement.get(u).sort((vt,Pt)=>vt.offset===Pt.offset?vt.type!=Pt.type?"remove"==vt.type?-1:1:0:vt.offsetu.position.root!=E.position.root?u.position.root.rootNameu);for(const u of c)delete u.changeCount,"attribute"==u.type&&(delete u.position,delete u.length);return this._changeCount=0,this._cachedChangesWithGraveyard=c,this._cachedChanges=c.filter(Ag),a.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map(a=>{const c=pl({},a);return void 0!==c.state&&delete c.attributes,c})}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(a,c){if(!this._changedRoots.has(a))return void this._changedRoots.set(a,{name:a,state:c?"attached":"detached"});const u=this._changedRoots.get(a);void 0!==u.state?(delete u.state,void 0===u.attributes&&this._changedRoots.delete(a)):u.state=c?"attached":"detached"}_bufferRootAttributeChange(a,c,u,E){const R=this._changedRoots.get(a)||{name:a},V=R.attributes||{};if(V[c]){const X=V[c];E===X.oldValue?delete V[c]:X.newValue=E}else V[c]={oldValue:u,newValue:E};0===Object.entries(V).length?(delete R.attributes,void 0===R.state&&this._changedRoots.delete(a)):(R.attributes=V,this._changedRoots.set(a,R))}_refreshItem(a){if(this._isInInsertedElement(a.parent))return;this._markRemove(a.parent,a.startOffset,a.offsetSize),this._markInsert(a.parent,a.startOffset,a.offsetSize),this._refreshedItems.add(a);const c=Ri._createOn(a);for(const u of this._markerCollection.getMarkersIntersectingRange(c)){const E=u.getData();this.bufferMarkerChange(u.name,E,E)}this._cachedChanges=null}_bufferRootLoad(a){if(a.isAttached()){this._bufferRootStateChange(a.rootName,!0),this._markInsert(a,0,a.maxOffset);for(const u of a.getAttributeKeys())this._bufferRootAttributeChange(a.rootName,u,null,a.getAttribute(u));for(const u of this._markerCollection)if(u.getRange().root==a){const E=u.getData();this.bufferMarkerChange(u.name,(c=pl({},E),Sg(c,q2({range:null}))),E)}var c}}_markInsert(a,c,u){if(a.root.is("rootElement")&&!a.root._isLoaded)return;const E={type:"insert",offset:c,howMany:u,count:this._changeCount++};this._markChange(a,E)}_markRemove(a,c,u){if(a.root.is("rootElement")&&!a.root._isLoaded)return;const E={type:"remove",offset:c,howMany:u,count:this._changeCount++};this._markChange(a,E),this._removeAllNestedChanges(a,c,u)}_markAttribute(a){if(a.root.is("rootElement")&&!a.root._isLoaded)return;const c={type:"attribute",offset:a.startOffset,howMany:a.offsetSize,count:this._changeCount++};this._markChange(a.parent,c)}_markChange(a,c){this._makeSnapshot(a);const u=this._getChangesForElement(a);this._handleChange(c,u),u.push(c);for(let E=0;Eu.offset){if(E>R){const V={type:"attribute",offset:R,howMany:E-R,count:this._changeCount++};this._handleChange(V,c),c.push(V)}a.nodesToHandle=u.offset-a.offset,a.howMany=a.nodesToHandle}else a.offset>=u.offset&&a.offsetR?(a.nodesToHandle=E-R,a.offset=R):a.nodesToHandle=0);if("remove"==u.type&&a.offsetu.offset){const V={type:"attribute",offset:u.offset,howMany:E-u.offset,count:this._changeCount++};this._handleChange(V,c),c.push(V),a.nodesToHandle=u.offset-a.offset,a.howMany=a.nodesToHandle}"attribute"==u.type&&(a.offset>=u.offset&&E<=R?(a.nodesToHandle=0,a.howMany=0,a.offset=0):a.offset<=u.offset&&E>=R&&(u.howMany=0))}}a.howMany=a.nodesToHandle,delete a.nodesToHandle}_getInsertDiff(a,c,u){return{type:"insert",position:Ki._createAt(a,c),name:u.name,attributes:new Map(u.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(a,c,u){return{type:"remove",position:Ki._createAt(a,c),name:u.name,attributes:new Map(u.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(a,c,u){const E=[];u=new Map(u);for(const[R,V]of c){const X=u.has(R)?u.get(R):null;X!==V&&E.push({type:"attribute",position:a.start,range:a.clone(),length:1,attributeKey:R,attributeOldValue:V,attributeNewValue:X,changeCount:this._changeCount++}),u.delete(R)}for(const[R,V]of u)E.push({type:"attribute",position:a.start,range:a.clone(),length:1,attributeKey:R,attributeOldValue:null,attributeNewValue:V,changeCount:this._changeCount++});return E}_isInInsertedElement(a){const c=a.parent;if(!c)return!1;const u=this._changesInElement.get(c),E=a.startOffset;if(u)for(const R of u)if("insert"==R.type&&E>=R.offset&&Eu){for(let V=0;Vthis._version+1&&this._gaps.set(this._version,a),this._version=a}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(a){if(a.baseVersion!==this.version)throw new z("model-document-history-addoperation-incorrect-version",this,{operation:a,historyVersion:this.version});this._operations.push(a),this._version++,this._baseVersionToOperationIndex.set(a.baseVersion,this._operations.length-1)}getOperations(a,c=this.version){if(!this._operations.length)return[];const u=this._operations[0];void 0===a&&(a=u.baseVersion);let E=c-1;for(const[X,et]of this._gaps)a>X&&aX&&Ethis.lastOperation.baseVersion)return[];let R=this._baseVersionToOperationIndex.get(a);void 0===R&&(R=0);let V=this._baseVersionToOperationIndex.get(E);return void 0===V&&(V=this._operations.length-1),this._operations.slice(R,V+1)}getOperation(a){const c=this._baseVersionToOperationIndex.get(a);if(void 0!==c)return this._operations[c]}setOperationAsUndone(a,c){this._undoPairs.set(c,a),this._undoneOperations.add(a)}isUndoingOperation(a){return this._undoPairs.has(a)}isUndoneOperation(a){return this._undoneOperations.has(a)}getUndoneOperation(a){return this._undoPairs.get(a)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class gm extends rs{constructor(a,c,u="main"){super(c),this._isAttached=!0,this._isLoaded=!0,this._document=a,this.rootName=u}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}gm.prototype.is=function(v,a){return a?a===this.name&&("rootElement"===v||"model:rootElement"===v||"element"===v||"model:element"===v):"rootElement"===v||"model:rootElement"===v||"element"===v||"model:element"===v||"node"===v||"model:node"===v};var jg=Object.defineProperty,Ng=Object.defineProperties,ah=Object.getOwnPropertyDescriptors,mp=Object.getOwnPropertySymbols,kd=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,Yf=(v,a,c)=>a in v?jg(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,K2=(v,a)=>{for(var c in a||(a={}))kd.call(a,c)&&Yf(v,c,a[c]);if(mp)for(var c of mp(a))du.call(a,c)&&Yf(v,c,a[c]);return v},w_=(v,a)=>Ng(v,ah(a));const Eb="$graveyard";class v5 extends(ft()){constructor(a){super(),this.model=a,this.history=new Og,this.selection=new kl(this),this.roots=new Fa({idProperty:"rootName"}),this.differ=new yd(a.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Eb),this.listenTo(a,"applyOperation",(c,u)=>{const E=u[0];E.isDocumentOperation&&this.differ.bufferOperation(E)},{priority:"high"}),this.listenTo(a,"applyOperation",(c,u)=>{const E=u[0];E.isDocumentOperation&&this.history.addOperation(E)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(a.markers,"update",(c,u,E,R,V)=>{const X=w_(K2({},u.getData()),{range:R});this.differ.bufferMarkerChange(u.name,V,X),null===E&&u.on("change",(et,bt)=>{const vt=u.getData();this.differ.bufferMarkerChange(u.name,w_(K2({},vt),{range:bt}),vt)})}),this.registerPostFixer(c=>{let u=!1;for(const E of this.roots)E.isAttached()||E.isEmpty||(c.remove(c.createRangeIn(E)),u=!0);for(const E of this.model.markers)E.getRange().root.isAttached()||(c.removeMarker(E),u=!0);return u})}get version(){return this.history.version}set version(a){this.history.version=a}get graveyard(){return this.getRoot(Eb)}createRoot(a="$root",c="main"){if(this.roots.get(c))throw new z("model-document-createroot-name-exists",this,{name:c});const u=new gm(this,a,c);return this.roots.add(u),u}destroy(){this.selection.destroy(),this.stopListening()}getRoot(a="main"){return this.roots.get(a)}getRootNames(a=!1){return this.getRoots(a).map(c=>c.rootName)}getRoots(a=!1){return this.roots.filter(c=>c!=this.graveyard&&(a||c.isAttached())&&c._isLoaded)}registerPostFixer(a){this._postFixers.add(a)}toJSON(){const a=Od(this);return a.selection="[engine.model.DocumentSelection]",a.model="[engine.model.Model]",a}_handleChangeBlock(a){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(a),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",a.batch):this.fire("change",a.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const a=this.getRoots();return a.length?a[0]:this.graveyard}_getDefaultRange(){const a=this._getDefaultRoot(),c=this.model,u=c.schema,E=c.createPositionFromPath(a,[0]);return u.getNearestSelectionRange(E)||c.createRange(E)}_validateSelectionRange(a){return Lg(a.start)&&Lg(a.end)}_callPostFixers(a){let c=!1;do{for(const u of this._postFixers)if(this.selection.refresh(),c=u(a),c)break}while(c)}}function Lg(v){const a=v.textNode;if(a){const c=a.data,u=v.offset-a.startOffset;return!Ze(c,u)&&!Kl(c,u)}return!0}var _m=Object.defineProperty,Cb=Object.defineProperties,Q2=Object.getOwnPropertyDescriptors,sh=Object.getOwnPropertySymbols,ch=Object.prototype.hasOwnProperty,$g=Object.prototype.propertyIsEnumerable,O1=(v,a,c)=>a in v?_m(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class Uf extends(ft()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(a){return this._markers.has(a instanceof bm?a.name:a)}get(a){return this._markers.get(a)||null}_set(a,c,u=!1,E=!1){const R=a instanceof bm?a.name:a;if(R.includes(","))throw new z("markercollection-incorrect-marker-name",this);const V=this._markers.get(R);if(V){const vt=V.getData(),Pt=V.getRange();let Wt=!1;return Pt.isEqual(c)||(V._attachLiveRange(Bd.fromRange(c)),Wt=!0),u!=V.managedUsingOperations&&(V._managedUsingOperations=u,Wt=!0),"boolean"==typeof E&&E!=V.affectsData&&(V._affectsData=E,Wt=!0),Wt&&this.fire(`update:${R}`,V,Pt,c,vt),V}const X=Bd.fromRange(c),et=new bm(R,X,u,E);var bt;return this._markers.set(R,et),this.fire(`update:${R}`,et,null,c,(bt=((vt,Pt)=>{for(var Wt in Pt||(Pt={}))ch.call(Pt,Wt)&&O1(vt,Wt,Pt[Wt]);if(sh)for(var Wt of sh(Pt))$g.call(Pt,Wt)&&O1(vt,Wt,Pt[Wt]);return vt})({},et.getData()),Cb(bt,Q2({range:null})))),et}_remove(a){const c=a instanceof bm?a.name:a,u=this._markers.get(c);return!!u&&(this._markers.delete(c),this.fire(`update:${c}`,u,u.getRange(),null,u.getData()),this._destroyMarker(u),!0)}_refresh(a){const c=a instanceof bm?a.name:a,u=this._markers.get(c);if(!u)throw new z("markercollection-refresh-marker-not-exists",this);const E=u.getRange();this.fire(`update:${c}`,u,E,E,u.getData())}*getMarkersAtPosition(a){for(const c of this)c.getRange().containsPosition(a)&&(yield c)}*getMarkersIntersectingRange(a){for(const c of this)null!==c.getRange().getIntersection(a)&&(yield c)}destroy(){for(const a of this._markers.values())this._destroyMarker(a);this._markers=null,this.stopListening()}*getMarkersGroup(a){for(const c of this._markers.values())c.name.startsWith(a+":")&&(yield c)}_destroyMarker(a){a.stopListening(),a._detachLiveRange()}}class bm extends(ft(t1)){constructor(a,c,u,E){super(),this.name=a,this._liveRange=this._attachLiveRange(c),this._managedUsingOperations=u,this._affectsData=E}get managedUsingOperations(){if(!this._liveRange)throw new z("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new z("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new z("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new z("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new z("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(a){return this._liveRange&&this._detachLiveRange(),a.delegate("change:range").to(this),a.delegate("change:content").to(this),this._liveRange=a,a}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}bm.prototype.is=function(v){return"marker"===v||"model:marker"===v};class Vg extends cd{constructor(a,c){super(null),this.sourcePosition=a.clone(),this.howMany=c}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const a=super.toJSON();return a.sourcePosition=this.sourcePosition.toJSON(),a}_validate(){if(this.sourcePosition.root.document)throw new z("detach-operation-on-document-node",this)}_execute(){Bf(Ri._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class aa extends t1{constructor(a){super(),this.markers=new Map,this._children=new am,a&&this._insertChild(0,a)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(a){return this._children.getNode(a)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(a){return this._children.getNodeIndex(a)}getChildStartOffset(a){return this._children.getNodeStartOffset(a)}getPath(){return[]}getNodeByPath(a){let c=this;for(const u of a)c=c.getChild(c.offsetToIndex(u));return c}offsetToIndex(a){return this._children.offsetToIndex(a)}toJSON(){const a=[];for(const c of this._children)a.push(c.toJSON());return a}static fromJSON(a){const c=[];for(const u of a)c.push(u.name?rs.fromJSON(u):Es.fromJSON(u));return new aa(c)}_appendChild(a){this._insertChild(this.childCount,a)}_insertChild(a,c){const u="string"==typeof(E=c)?[new Es(E)]:(be(E)||(E=[E]),Array.from(E).map(R=>"string"==typeof R?new Es(R):R instanceof au?new Es(R.data,R.getAttributes()):R));var E;for(const E of u)null!==E.parent&&E._remove(),E.parent=this;this._children._insertNodes(a,u)}_removeChildren(a,c=1){const u=this._children._removeNodes(a,c);for(const E of u)E.parent=null;return u}}aa.prototype.is=function(v){return"documentFragment"===v||"model:documentFragment"===v};class Z2{constructor(a,c){this.model=a,this.batch=c}createText(a,c){return new Es(a,c)}createElement(a,c){return new rs(a,c)}createDocumentFragment(){return new aa}cloneElement(a,c=!0){return a._clone(c)}insert(a,c,u=0){if(this._assertWriterUsedCorrectly(),a instanceof Es&&""==a.data)return;const E=Ki._createAt(c,u);if(a.parent){if(T_(a.root,E.root))return void this.move(Ri._createOn(a),E);if(a.root.document)throw new z("model-writer-insert-forbidden-move",this);this.remove(a)}const V=new Pc(E,a,E.root.document?E.root.document.version:null);if(a instanceof Es&&(V.shouldReceiveAttributes=!0),this.batch.addOperation(V),this.model.applyOperation(V),a instanceof aa)for(const[X,et]of a.markers){const bt=Ki._createAt(et.root,0),vt={range:new Ri(et.start._getCombined(bt,E),et.end._getCombined(bt,E)),usingOperation:!0,affectsData:!0};this.model.markers.has(X)?this.updateMarker(X,vt):this.addMarker(X,vt)}}insertText(a,c,u,E){c instanceof aa||c instanceof rs||c instanceof Ki?this.insert(this.createText(a),c,u):this.insert(this.createText(a,c),u,E)}insertElement(a,c,u,E){c instanceof aa||c instanceof rs||c instanceof Ki?this.insert(this.createElement(a),c,u):this.insert(this.createElement(a,c),u,E)}append(a,c){this.insert(a,c,"end")}appendText(a,c,u){c instanceof aa||c instanceof rs?this.insert(this.createText(a),c,"end"):this.insert(this.createText(a,c),u,"end")}appendElement(a,c,u){c instanceof aa||c instanceof rs?this.insert(this.createElement(a),c,"end"):this.insert(this.createElement(a,c),u,"end")}setAttribute(a,c,u){if(this._assertWriterUsedCorrectly(),u instanceof Ri){const E=u.getMinimalFlatRanges();for(const R of E)x_(this,a,c,R)}else Gg(this,a,c,u)}setAttributes(a,c){for(const[u,E]of qi(a))this.setAttribute(u,E,c)}removeAttribute(a,c){if(this._assertWriterUsedCorrectly(),c instanceof Ri){const u=c.getMinimalFlatRanges();for(const E of u)x_(this,a,null,E)}else Gg(this,a,null,c)}clearAttributes(a){this._assertWriterUsedCorrectly();const c=u=>{for(const E of u.getAttributeKeys())this.removeAttribute(E,u)};if(a instanceof Ri)for(const u of a.getItems())c(u);else c(a)}move(a,c,u){if(this._assertWriterUsedCorrectly(),!(a instanceof Ri))throw new z("writer-move-invalid-range",this);if(!a.isFlat)throw new z("writer-move-range-not-flat",this);const E=Ki._createAt(c,u);if(E.isEqual(a.start))return;if(this._addOperationForAffectedMarkers("move",a),!T_(a.root,E.root))throw new z("writer-move-different-document",this);const V=new ra(a.start,a.end.offset-a.start.offset,E,a.root.document?a.root.document.version:null);this.batch.addOperation(V),this.model.applyOperation(V)}remove(a){this._assertWriterUsedCorrectly();const c=(a instanceof Ri?a:Ri._createOn(a)).getMinimalFlatRanges().reverse();for(const u of c)this._addOperationForAffectedMarkers("move",u),M_(u.start,u.end.offset-u.start.offset,this.batch,this.model)}merge(a){this._assertWriterUsedCorrectly();const c=a.nodeBefore,u=a.nodeAfter;if(this._addOperationForAffectedMarkers("merge",a),!(c instanceof rs))throw new z("writer-merge-no-element-before",this);if(!(u instanceof rs))throw new z("writer-merge-no-element-after",this);a.root.document?this._merge(a):this._mergeDetached(a)}createPositionFromPath(a,c,u){return this.model.createPositionFromPath(a,c,u)}createPositionAt(a,c){return this.model.createPositionAt(a,c)}createPositionAfter(a){return this.model.createPositionAfter(a)}createPositionBefore(a){return this.model.createPositionBefore(a)}createRange(a,c){return this.model.createRange(a,c)}createRangeIn(a){return this.model.createRangeIn(a)}createRangeOn(a){return this.model.createRangeOn(a)}createSelection(...a){return this.model.createSelection(...a)}_mergeDetached(a){const c=a.nodeBefore,u=a.nodeAfter;this.move(Ri._createIn(u),Ki._createAt(c,"end")),this.remove(u)}_merge(a){const c=Ki._createAt(a.nodeBefore,"end"),u=Ki._createAt(a.nodeAfter,0),R=new Ki(a.root.document.graveyard,[0]),X=new mc(u,a.nodeAfter.maxOffset,c,R,a.root.document.version);this.batch.addOperation(X),this.model.applyOperation(X)}rename(a,c){if(this._assertWriterUsedCorrectly(),!(a instanceof rs))throw new z("writer-rename-not-element-instance",this);const u=a.root.document?a.root.document.version:null,E=new wl(Ki._createBefore(a),a.name,c,u);this.batch.addOperation(E),this.model.applyOperation(E)}split(a,c){this._assertWriterUsedCorrectly();let u,E,R=a.parent;if(!R.parent)throw new z("writer-split-element-no-parent",this);if(c||(c=R.parent),!a.parent.getAncestors({includeSelf:!0}).includes(c))throw new z("writer-split-invalid-limit-element",this);do{const V=R.root.document?R.root.document.version:null,X=R.maxOffset-a.offset,et=ja.getInsertionPosition(a),bt=new ja(a,X,et,null,V);this.batch.addOperation(bt),this.model.applyOperation(bt),u||E||(u=R,E=a.parent.nextSibling),R=(a=this.createPositionAfter(a.parent)).parent}while(R!==c);return{position:a,range:new Ri(Ki._createAt(u,"end"),Ki._createAt(E,0))}}wrap(a,c){if(this._assertWriterUsedCorrectly(),!a.isFlat)throw new z("writer-wrap-range-not-flat",this);const u=c instanceof rs?c:new rs(c);if(u.childCount>0)throw new z("writer-wrap-element-not-empty",this);if(null!==u.parent)throw new z("writer-wrap-element-attached",this);this.insert(u,a.start);const E=new Ri(a.start.getShiftedBy(1),a.end.getShiftedBy(1));this.move(E,Ki._createAt(u,0))}unwrap(a){if(this._assertWriterUsedCorrectly(),null===a.parent)throw new z("writer-unwrap-element-no-parent",this);this.move(Ri._createIn(a),this.createPositionAfter(a)),this.remove(a)}addMarker(a,c){if(this._assertWriterUsedCorrectly(),!c||"boolean"!=typeof c.usingOperation)throw new z("writer-addmarker-no-usingoperation",this);const u=c.usingOperation,E=c.range,R=void 0!==c.affectsData&&c.affectsData;if(this.model.markers.has(a))throw new z("writer-addmarker-marker-exists",this);if(!E)throw new z("writer-addmarker-no-range",this);return u?(lh(this,a,null,E,R),this.model.markers.get(a)):this.model.markers._set(a,E,u,R)}updateMarker(a,c){this._assertWriterUsedCorrectly();const u="string"==typeof a?a:a.name,E=this.model.markers.get(u);if(!E)throw new z("writer-updatemarker-marker-not-exists",this);if(!c)return nt("writer-updatemarker-reconvert-using-editingcontroller",{markerName:u}),void this.model.markers._refresh(E);const R="boolean"==typeof c.usingOperation,V="boolean"==typeof c.affectsData,X=V?c.affectsData:E.affectsData;if(!R&&!c.range&&!V)throw new z("writer-updatemarker-wrong-options",this);const et=E.getRange(),bt=c.range?c.range:et;R&&c.usingOperation!==E.managedUsingOperations?c.usingOperation?lh(this,u,null,bt,X):(lh(this,u,et,null,X),this.model.markers._set(u,bt,void 0,X)):E.managedUsingOperations?lh(this,u,et,bt,X):this.model.markers._set(u,bt,void 0,X)}removeMarker(a){this._assertWriterUsedCorrectly();const c="string"==typeof a?a:a.name;if(!this.model.markers.has(c))throw new z("writer-removemarker-no-marker",this);const u=this.model.markers.get(c);u.managedUsingOperations?lh(this,c,u.getRange(),null,u.affectsData):this.model.markers._remove(c)}addRoot(a,c="$root"){this._assertWriterUsedCorrectly();const u=this.model.document.getRoot(a);if(u&&u.isAttached())throw new z("writer-addroot-root-exists",this);const E=this.model.document,R=new Cd(a,c,!0,E,E.version);return this.batch.addOperation(R),this.model.applyOperation(R),this.model.document.getRoot(a)}detachRoot(a){this._assertWriterUsedCorrectly();const c="string"==typeof a?this.model.document.getRoot(a):a;if(!c||!c.isAttached())throw new z("writer-detachroot-no-root",this);for(const R of this.model.markers)R.getRange().root===c&&this.removeMarker(R);for(const R of c.getAttributeKeys())this.removeAttribute(R,c);this.remove(this.createRangeIn(c));const u=this.model.document,E=new Cd(c.rootName,c.name,!1,u,u.version);this.batch.addOperation(E),this.model.applyOperation(E)}setSelection(...a){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...a)}setSelectionFocus(a,c){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(a,c)}setSelectionAttribute(a,c){if(this._assertWriterUsedCorrectly(),"string"==typeof a)this._setSelectionAttribute(a,c);else for(const[u,E]of qi(a))this._setSelectionAttribute(u,E)}removeSelectionAttribute(a){if(this._assertWriterUsedCorrectly(),"string"==typeof a)this._removeSelectionAttribute(a);else for(const c of a)this._removeSelectionAttribute(c)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(a){this.model.document.selection._restoreGravity(a)}_setSelectionAttribute(a,c){const u=this.model.document.selection;if(u.isCollapsed&&u.anchor.parent.isEmpty){const E=kl._getStoreAttributeKey(a);this.setAttribute(E,c,u.anchor.parent)}u._setAttribute(a,c)}_removeSelectionAttribute(a){const c=this.model.document.selection;if(c.isCollapsed&&c.anchor.parent.isEmpty){const u=kl._getStoreAttributeKey(a);this.removeAttribute(u,c.anchor.parent)}c._removeAttribute(a)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new z("writer-incorrect-use",this)}_addOperationForAffectedMarkers(a,c){for(const u of this.model.markers){if(!u.managedUsingOperations)continue;const E=u.getRange();let R=!1;if("move"===a){const V=c;R=V.containsPosition(E.start)||V.start.isEqual(E.start)||V.containsPosition(E.end)||V.end.isEqual(E.end)}else{const et=c.nodeAfter;R=E.start.parent==c.nodeBefore&&E.start.isAtEnd||E.end.parent==et&&0==E.end.offset||E.end.nodeAfter==et||E.start.nodeAfter==et}R&&this.updateMarker(u.name,{range:E})}}}function x_(v,a,c,u){const E=v.model,R=E.document;let V,X,et,bt=u.start;for(const Pt of u.getWalker({shallow:!0}))et=Pt.item.getAttribute(a),V&&X!=et&&(X!=c&&vt(),bt=V),V=Pt.nextPosition,X=et;function vt(){const Pt=new Ri(bt,V),he=new Xa(Pt,a,X,c,Pt.root.document?R.version:null);v.batch.addOperation(he),E.applyOperation(he)}V instanceof Ki&&V!=bt&&X!=c&&vt()}function Gg(v,a,c,u){const E=v.model,R=E.document,V=u.getAttribute(a);let X,et;V!=c&&(u.root===u?et=new Cc(u,a,V,c,u.document?R.version:null):(X=new Ri(Ki._createBefore(u),v.createPositionAfter(u)),et=new Xa(X,a,V,c,X.root.document?R.version:null)),v.batch.addOperation(et),E.applyOperation(et))}function lh(v,a,c,u,E){const R=v.model,X=new Ec(a,c,u,R.markers,!!E,R.document.version);v.batch.addOperation(X),R.applyOperation(X)}function M_(v,a,c,u){let E;if(v.root.document){const R=u.document,V=new Ki(R.graveyard,[0]);E=new ra(v,a,V,R.version)}else E=new Vg(v,a);c.addOperation(E),u.applyOperation(E)}function T_(v,a){return v===a||v instanceof gm&&a instanceof gm}function Bg(v,a,c={}){if(a.isCollapsed)return;const u=a.getFirstRange();if("$graveyard"==u.root.rootName)return;const E=v.schema;v.change(R=>{if(!c.doNotResetEntireContent&&function(bt,vt){const Pt=bt.getLimitElement(vt);if(!vt.containsEntireContent(Pt))return!1;const Wt=vt.getFirstRange();return Wt.start.parent!=Wt.end.parent&&bt.checkChild(Pt,"paragraph")}(E,a))return void function(bt,vt){const Pt=bt.model.schema.getLimitElement(vt);bt.remove(bt.createRangeIn(Pt)),t0(bt,bt.createPositionAt(Pt,0),vt)}(R,a);const V={};if(!c.doNotAutoparagraph){const bt=a.getSelectedElement();bt&&Object.assign(V,E.getAttributesWithProperty(bt,"copyOnReplace",!0))}const[X,et]=function(bt){const vt=bt.root.document.model,Pt=bt.start;let Wt=bt.end;if(vt.hasContent(bt,{ignoreMarkers:!0})){const he=function(Ae){const ze=Ae.parent,mn=ze.root.document.model.schema,xn=ze.getAncestors({parentFirst:!0,includeSelf:!0});for(const ti of xn){if(mn.isLimit(ti))return null;if(mn.isBlock(ti))return ti}}(Wt);if(he&&Wt.isTouching(vt.createPositionAt(he,0))){const Ae=vt.createSelection(bt);vt.modifySelection(Ae,{direction:"backward"});const ze=Ae.getLastPosition(),mn=vt.createRange(ze,Wt);vt.hasContent(mn,{ignoreMarkers:!0})||(Wt=ze)}}return[xl.fromPosition(Pt,"toPrevious"),xl.fromPosition(Wt,"toNext")]}(u);X.isTouching(et)||R.remove(R.createRange(X,et)),c.leaveUnmerged||(function(bt,vt,Pt){const Wt=bt.model;if(!uh(bt.model.schema,vt,Pt))return;const[he,Ae]=function(ze,mn){const xn=ze.getAncestors(),ti=mn.getAncestors();let Si=0;for(;xn[Si]&&xn[Si]==ti[Si];)Si++;return[xn[Si],ti[Si]]}(vt,Pt);!he||!Ae||(!Wt.hasContent(he,{ignoreMarkers:!0})&&Wt.hasContent(Ae,{ignoreMarkers:!0})?Jf(bt,vt,Pt,he.parent):dh(bt,vt,Pt,he.parent))}(R,X,et),E.removeDisallowedAttributes(X.parent.getChildren(),R)),D_(R,a,X),!c.doNotAutoparagraph&&function(bt,vt){const Pt=bt.checkChild(vt,"$text"),Wt=bt.checkChild(vt,"paragraph");return!Pt&&Wt}(E,X)&&t0(R,X,a,V),X.detach(),et.detach()})}function dh(v,a,c,u){const E=a.parent,R=c.parent;if(E!=u&&R!=u){for(a=v.createPositionAfter(E),(c=v.createPositionBefore(R)).isEqual(a)||v.insert(R,a),v.merge(a);c.parent.isEmpty;){const V=c.parent;c=v.createPositionBefore(V),v.remove(V)}uh(v.model.schema,a,c)&&dh(v,a,c,u)}}function Jf(v,a,c,u){const E=a.parent,R=c.parent;if(E!=u&&R!=u){for(a=v.createPositionAfter(E),(c=v.createPositionBefore(R)).isEqual(a)||v.insert(E,c);a.parent.isEmpty;){const V=a.parent;a=v.createPositionBefore(V),v.remove(V)}c=v.createPositionBefore(R),function(V,X){const et=X.nodeBefore,bt=X.nodeAfter;et.name!=bt.name&&V.rename(et,bt.name),V.clearAttributes(et),V.setAttributes(Object.fromEntries(bt.getAttributes()),et),V.merge(X)}(v,c),uh(v.model.schema,a,c)&&Jf(v,a,c,u)}}function uh(v,a,c){const u=a.parent,E=c.parent;return u!=E&&!v.isLimit(u)&&!v.isLimit(E)&&function(R,V,X){const et=new Ri(R,V);for(const bt of et.getWalker())if(X.isLimit(bt.item))return!1;return!0}(a,c,v)}function t0(v,a,c,u={}){const E=v.createElement("paragraph");v.model.schema.setAllowedAttributes(E,u,v),v.insert(E,a),D_(v,c,v.createPositionAt(E,0))}function D_(v,a,c){a instanceof kl?v.setSelection(c):a.setTo(c)}function Xf(v,a){const c=[];Array.from(v.getItems({direction:"backward"})).map(u=>a.createRangeOn(u)).filter(u=>(u.start.isAfter(v.start)||u.start.isEqual(v.start))&&(u.end.isBefore(v.end)||u.end.isEqual(v.end))).forEach(u=>{c.push(u.start.parent),a.remove(u)}),c.forEach(u=>{let E=u;for(;E.parent&&E.isEmpty;){const R=a.createRangeOn(E);E=E.parent,a.remove(R)}})}class zg{constructor(a,c,u){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=a,this.writer=c,this.position=u,this.canMergeWith=new Set([this.position.parent]),this.schema=a.schema,this._documentFragment=c.createDocumentFragment(),this._documentFragmentPosition=c.createPositionAt(this._documentFragment,0)}handleNodes(a){for(const c of Array.from(a))this._handleNode(c);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(a){const c=this.writer.createPositionAfter(this._lastNode),u=this.writer.createPositionAfter(a);if(u.isAfter(c)){if(this._lastNode=a,this.position.parent!=a||!this.position.isAtEnd)throw new z("insertcontent-invalid-insertion-position",this);this.position=u,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Ri._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Ri(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(a){if(this.schema.isObject(a))return void this._handleObject(a);let c=this._checkAndAutoParagraphToAllowedPosition(a);c||(c=this._checkAndSplitToAllowedPosition(a),c)?(this._appendToFragment(a),this._firstNode||(this._firstNode=a),this._lastNode=a):this._handleDisallowedNode(a)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const a=xl.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=a.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=a.toPosition(),a.detach()}_handleObject(a){this._checkAndSplitToAllowedPosition(a)?this._appendToFragment(a):this._tryAutoparagraphing(a)}_handleDisallowedNode(a){a.is("element")?this.handleNodes(a.getChildren()):this._tryAutoparagraphing(a)}_appendToFragment(a){if(!this.schema.checkChild(this.position,a))throw new z("insertcontent-wrong-position",this,{node:a,position:this.position});this.writer.insert(a,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(a.offsetSize),this._nodeToSelect=this.schema.isObject(a)&&!this.schema.checkChild(this.position,"$text")?a:null,this._filterAttributesOf.push(a)}_setAffectedBoundaries(a){this._affectedStart||(this._affectedStart=xl.fromPosition(a,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(a)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=xl.fromPosition(a,"toNext"))}_mergeOnLeft(){const a=this._firstNode;if(!(a instanceof rs&&this._canMergeLeft(a)))return;const c=xl._createBefore(a);c.stickiness="toNext";const u=xl.fromPosition(this.position,"toNext");this._affectedStart.isEqual(c)&&(this._affectedStart.detach(),this._affectedStart=xl._createAt(c.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=c.nodeBefore,this._lastNode=c.nodeBefore),this.writer.merge(c),c.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=xl._createAt(c.nodeBefore,"end","toNext")),this.position=u.toPosition(),u.detach(),this._filterAttributesOf.push(this.position.parent),c.detach()}_mergeOnRight(){const a=this._lastNode;if(!(a instanceof rs&&this._canMergeRight(a)))return;const c=xl._createAfter(a);if(c.stickiness="toNext",!this.position.isEqual(c))throw new z("insertcontent-invalid-insertion-position",this);this.position=Ki._createAt(c.nodeBefore,"end");const u=xl.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(c)&&(this._affectedEnd.detach(),this._affectedEnd=xl._createAt(c.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=c.nodeBefore,this._lastNode=c.nodeBefore),this.writer.merge(c),c.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=xl._createAt(c.nodeBefore,0,"toPrevious")),this.position=u.toPosition(),u.detach(),this._filterAttributesOf.push(this.position.parent),c.detach()}_canMergeLeft(a){const c=a.previousSibling;return c instanceof rs&&this.canMergeWith.has(c)&&this.model.schema.checkMerge(c,a)}_canMergeRight(a){const c=a.nextSibling;return c instanceof rs&&this.canMergeWith.has(c)&&this.model.schema.checkMerge(a,c)}_tryAutoparagraphing(a){const c=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,c)&&this.schema.checkChild(c,a)&&(c._appendChild(a),this._handleNode(c))}_checkAndAutoParagraphToAllowedPosition(a){if(this.schema.checkChild(this.position.parent,a))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",a))return!1;this._insertPartialFragment();const c=this.writer.createElement("paragraph");return this.writer.insert(c,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=c,this.position=this.writer.createPositionAt(c,0),!0}_checkAndSplitToAllowedPosition(a){const c=this._getAllowedIn(this.position.parent,a);if(!c)return!1;for(c!=this.position.parent&&this._insertPartialFragment();c!=this.position.parent;)if(this.position.isAtStart){const u=this.position.parent;this.position=this.writer.createPositionBefore(u),u.isEmpty&&u.parent===c&&this.writer.remove(u)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const u=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=u,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(a,c){return this.schema.checkChild(a,c)?a:this.schema.isLimit(a)?null:this._getAllowedIn(a.parent,c)}}function Fm(v,a,c="auto"){const u=v.getSelectedElement();if(u&&a.schema.isObject(u)&&!a.schema.isInline(u))return"before"==c||"after"==c?a.createRange(a.createPositionAt(u,c)):a.createRangeOn(u);const E=kr(v.getSelectedBlocks());if(!E)return a.createRange(v.focus);if(E.isEmpty)return a.createRange(a.createPositionAt(E,0));const R=a.createPositionAfter(E);return v.focus.isTouching(R)?a.createRange(R):a.createRange(a.createPositionBefore(E))}const vm=' ,.?!:;"-()';function yb(v,a){const{isForward:c,walker:u,unit:E,schema:R,treatEmojiAsSingleUnit:V}=v,{type:X,item:et,nextPosition:bt}=a;if("text"==X)return"word"===v.unit?function(vt,Pt){let Wt=vt.position.textNode;for(Wt||(Wt=Pt?vt.position.nodeAfter:vt.position.nodeBefore);Wt&&Wt.is("$text");){const he=vt.position.offset-Wt.startOffset;if(I_(Wt,he,Pt))Wt=Pt?vt.position.nodeAfter:vt.position.nodeBefore;else{if(j1(Wt.data,he,Pt))break;vt.next()}}return vt.position}(u,c):function(vt,Pt,Wt){const he=vt.position.textNode;if(he){const Ae=he.data;let ze=vt.position.offset-he.startOffset;for(;Ze(Ae,ze)||"character"==Pt&&Kl(Ae,ze)||Wt&&Go(Ae,ze);)vt.next(),ze=vt.position.offset-he.startOffset}return vt.position}(u,E,V);if(X==(c?"elementStart":"elementEnd")){if(R.isSelectable(et))return Ki._createAt(et,c?"after":"before");if(R.checkChild(bt,"$text"))return bt}else{if(R.isLimit(et))return void u.skip(()=>!0);if(R.checkChild(bt,"$text"))return bt}}function kb(v,a){const u=Ki._createAt(v.root,a?"end":0);return a?new Ri(v,u):new Ri(u,v)}function j1(v,a,c){return vm.includes(v.charAt(a+(c?0:-1)))}function I_(v,a,c){return a===(c?v.offsetSize:0)}class R_ extends(kt()){constructor(){super(),this.markers=new Uf,this.document=new v5(this),this.schema=new nc,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(a=>this.decorate(a)),this.on("applyOperation",(a,c)=>{c[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck((a,c)=>{if("$marker"===c.name)return!0}),function E_(v){v.document.registerPostFixer(a=>function(c,u){const E=u.document.selection,R=u.schema,V=[];let X=!1;for(const et of E.getRanges()){const bt=T1(et,R);bt&&!bt.isEqual(et)?(V.push(bt),X=!0):V.push(et)}return X&&c.setSelection(function(et){const bt=[...et],vt=new Set;let Pt=1;for(;Pt!vt.has(he))}(V),{backward:E.isBackward}),!1}(a,v))}(this),this.document.registerPostFixer(Eg),this.on("insertContent",(a,[c,u])=>{var E,R,V;a.return=(R=c,V=u,(E=this).change(X=>{const et=V||E.document.selection;et.isCollapsed||E.deleteContent(et,{doNotAutoparagraph:!0});const bt=new zg(E,X,et.anchor),vt=[];let Pt;if(R.is("documentFragment")){if(R.markers.size){const Ae=[];for(const[ze,mn]of R.markers){const{start:xn,end:ti}=mn,Si=xn.isEqual(ti);Ae.push({position:xn,name:ze,isCollapsed:Si},{position:ti,name:ze,isCollapsed:Si})}Ae.sort(({position:ze},{position:mn})=>ze.isBefore(mn)?1:-1);for(const{position:ze,name:mn,isCollapsed:xn}of Ae){let ti=null,Si=null;const mo=ze.parent===R&&ze.isAtStart;mo||ze.parent===R&&ze.isAtEnd?xn&&(Si=mo?"start":"end"):(ti=X.createElement("$marker"),X.insert(ti,ze)),vt.push({name:mn,element:ti,collapsed:Si})}}Pt=R.getChildren()}else Pt=[R];bt.handleNodes(Pt);let Wt=bt.getSelectionRange();if(R.is("documentFragment")&&vt.length){const Ae=Wt?Bd.fromRange(Wt):null,ze={};for(let mn=vt.length-1;mn>=0;mn--){const{name:xn,element:ti,collapsed:Si}=vt[mn],mo=!ze[xn];if(mo&&(ze[xn]=[]),ti){const lr=X.createPositionAt(ti,"before");ze[xn].push(lr),X.remove(ti)}else{const lr=bt.getAffectedRange();if(!lr){Si&&ze[xn].push(bt.position);continue}ze[xn].push(Si?lr[Si]:mo?lr.start:lr.end)}}for(const[mn,[xn,ti]]of Object.entries(ze))xn&&ti&&xn.root===ti.root&&X.addMarker(mn,{usingOperation:!0,affectsData:!0,range:new Ri(xn,ti)});Ae&&(Wt=Ae.toRange(),Ae.detach())}Wt&&(et instanceof kl?X.setSelection(Wt):et.setTo(Wt));const he=bt.getAffectedRange()||E.createRange(et.anchor);return bt.destroy(),he}))}),this.on("insertObject",(a,[c,u,E])=>{a.return=function Cs(v,a,c,u={}){if(!v.schema.isObject(a))throw new z("insertobject-element-not-an-object",v,{object:a});const E=c||v.document.selection;let R=E;u.findOptimalPosition&&v.schema.isBlock(a)&&(R=v.createSelection(Fm(E,v,u.findOptimalPosition)));const V=kr(E.getSelectedBlocks()),X={};return V&&Object.assign(X,v.schema.getAttributesWithProperty(V,"copyOnReplace",!0)),v.change(et=>{R.isCollapsed||v.deleteContent(R,{doNotAutoparagraph:!0});let bt=a;const vt=R.anchor.parent;!v.schema.checkChild(vt,a)&&v.schema.checkChild(vt,"paragraph")&&v.schema.checkChild("paragraph",a)&&(bt=et.createElement("paragraph"),et.insert(a,bt)),v.schema.setAllowedAttributes(bt,X,et);const Pt=v.insertContent(bt,R);return Pt.isCollapsed||u.setSelection&&function(Wt,he,Ae,ze){const mn=Wt.model;if("on"==Ae)return void Wt.setSelection(he,"on");if("after"!=Ae)throw new z("insertobject-invalid-place-parameter-value",mn);let xn=he.nextSibling;mn.schema.isInline(he)?Wt.setSelection(he,"after"):(!(xn&&mn.schema.checkChild(xn,"$text"))&&mn.schema.checkChild(he.parent,"paragraph")&&(xn=Wt.createElement("paragraph"),mn.schema.setAllowedAttributes(xn,ze,Wt),mn.insertContent(xn,Wt.createPositionAfter(he))),xn&&Wt.setSelection(xn,0))}(et,a,u.setSelection,X),Pt})}(this,c,u,E)}),this.on("canEditAt",a=>{const c=!this.document.isReadOnly;a.return=c,c||a.stop()})}change(a){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new P1,callback:a}),this._runPendingChanges()[0]):a(this._currentWriter)}catch(c){z.rethrowUnexpectedError(c,this)}}enqueueChange(a,c){try{a?"function"==typeof a?(c=a,a=new P1):a instanceof P1||(a=new P1(a)):a=new P1,this._pendingChanges.push({batch:a,callback:c}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(u){z.rethrowUnexpectedError(u,this)}}applyOperation(a){a._execute()}insertContent(a,c,u,...E){const R=mh(c,u);return this.fire("insertContent",[a,R,u,...E])}insertObject(a,c,u,E,...R){const V=mh(c,u);return this.fire("insertObject",[a,V,E,E,...R])}deleteContent(a,c){Bg(this,a,c)}modifySelection(a,c){!function(u,E,R={}){const V=u.schema,X="backward"!=R.direction,et=R.unit?R.unit:"character",bt=!!R.treatEmojiAsSingleUnit,Pt=new Gd({boundaries:kb(E.focus,X),singleCharacters:!0,direction:X?"forward":"backward"}),Wt={walker:Pt,schema:V,isForward:X,unit:et,treatEmojiAsSingleUnit:bt};let he;for(;he=Pt.next();){if(he.done)return;const Ae=yb(Wt,he.value);if(Ae)return void(E instanceof kl?u.change(ze=>{ze.setSelectionFocus(Ae)}):E.setFocus(Ae))}}(this,a,c)}getSelectedContent(a){return u=a,this.change(E=>{const R=E.createDocumentFragment(),V=u.getFirstRange();if(!V||V.isCollapsed)return R;const X=V.start.root,et=V.start.getCommonPath(V.end),bt=X.getNodeByPath(et);let vt;vt=V.start.parent==V.end.parent?V:E.createRange(E.createPositionAt(bt,V.start.path[et.length]),E.createPositionAt(bt,V.end.path[et.length]+1));const Pt=vt.end.offset-vt.start.offset;for(const Wt of vt.getItems({shallow:!0}))Wt.is("$textProxy")?E.appendText(Wt.data,Wt.getAttributes(),R):E.append(E.cloneElement(Wt,!0),R);if(vt!=V){const Wt=V._getTransformedByMove(vt.start,E.createPositionAt(R,0),Pt)[0],he=E.createRange(E.createPositionAt(R,0),Wt.start);Xf(E.createRange(Wt.end,E.createPositionAt(R,"end")),E),Xf(he,E)}return R});var u}hasContent(a,c={}){const u=a instanceof Ri?a:Ri._createIn(a);if(u.isCollapsed)return!1;const{ignoreWhitespaces:E=!1,ignoreMarkers:R=!1}=c;if(!R)for(const V of this.markers.getMarkersIntersectingRange(u))if(V.affectsData)return!0;for(const V of u.getItems())if(this.schema.isContent(V)&&(!V.is("$textProxy")||!E||-1!==V.data.search(/\S/)))return!0;return!1}canEditAt(a){const c=mh(a);return this.fire("canEditAt",[c])}createPositionFromPath(a,c,u){return new Ki(a,c,u)}createPositionAt(a,c){return Ki._createAt(a,c)}createPositionAfter(a){return Ki._createAfter(a)}createPositionBefore(a){return Ki._createBefore(a)}createRange(a,c){return new Ri(a,c)}createRangeIn(a){return Ri._createIn(a)}createRangeOn(a){return Ri._createOn(a)}createSelection(...a){return new yl(...a)}createBatch(a){return new P1(a)}createOperationFromJSON(a){return Xr.fromJSON(a,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const a=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){this._currentWriter=new Z2(this,this._pendingChanges[0].batch);const u=this._pendingChanges[0].callback(this._currentWriter);a.push(u),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return a}}function mh(v,a){if(v)return v instanceof yl||v instanceof kl?v:v instanceof w1?a||0===a?new yl(v,a):v.is("rootElement")?new yl(v,"in"):new yl(v,"on"):new yl(v)}class Em extends rd{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(a){this.fire(a.type,a)}}class Cm extends rd{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(a){this.fire(a.type,a)}}class Iu{constructor(a){this.document=a}createDocumentFragment(a){return new od(this.document,a)}createElement(a,c,u){return new dl(this.document,a,c,u)}createText(a){return new or(this.document,a)}clone(a,c=!1){return a._clone(c)}appendChild(a,c){return c._appendChild(a)}insertChild(a,c,u){return u._insertChild(a,c)}removeChildren(a,c,u){return u._removeChildren(a,c)}remove(a){const c=a.parent;return c?this.removeChildren(c.getChildIndex(a),1,c):[]}replace(a,c){const u=a.parent;if(u){const E=u.getChildIndex(a);return this.removeChildren(E,1,u),this.insertChild(E,c,u),!0}return!1}unwrapElement(a){const c=a.parent;if(c){const u=c.getChildIndex(a);this.remove(a),this.insertChild(u,a.getChildren(),c)}}rename(a,c){const u=new dl(this.document,a,c.getAttributes(),c.getChildren());return this.replace(c,u)?u:null}setAttribute(a,c,u){u._setAttribute(a,c)}removeAttribute(a,c){c._removeAttribute(a)}addClass(a,c){c._addClass(a)}removeClass(a,c){c._removeClass(a)}setStyle(a,c,u){te(a)&&void 0===u?c._setStyle(a):u._setStyle(a,c)}removeStyle(a,c){c._removeStyle(a)}setCustomProperty(a,c,u){u._setCustomProperty(a,c)}removeCustomProperty(a,c){return c._removeCustomProperty(a)}createPositionAt(a,c){return oo._createAt(a,c)}createPositionAfter(a){return oo._createAfter(a)}createPositionBefore(a){return oo._createBefore(a)}createRange(a,c){return new Er(a,c)}createRangeOn(a){return Er._createOn(a)}createRangeIn(a){return Er._createIn(a)}createSelection(...a){return new Sa(...a)}}class e0{constructor(){this._commands=new Map}add(a,c){this._commands.set(a,c)}get(a){return this._commands.get(a)}execute(a,...c){const u=this.get(a);if(!u)throw new z("commandcollection-command-not-found",this,{commandName:a});return u.execute(...c)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const a of this.commands())a.destroy()}}class qf extends(kt()){constructor(a={}){super();const c=this.constructor;this._context=a.context||new va({language:a.language||c.defaultConfig&&c.defaultConfig.language}),this._context._addEditor(this,!a.context);const E=Array.from(c.builtinPlugins||[]);this.config=new jo(a,c.defaultConfig),this.config.define("plugins",E),this.config.define(this._context._getEditorConfig()),this.plugins=new zn(this,E,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new e0,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new R_,this.on("change:isReadOnly",()=>{this.model.document.isReadOnly=this.isReadOnly});const R=new og;this.data=new bb(this.model,R),this.editing=new kg(this.model,R),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new xg([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new $t(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(a){throw new z("editor-isreadonly-has-no-setter")}enableReadOnlyMode(a){if("string"!=typeof a&&"symbol"!=typeof a)throw new z("editor-read-only-lock-id-invalid",null,{lockId:a});this._readOnlyLocks.has(a)||(this._readOnlyLocks.add(a),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(a){if("string"!=typeof a&&"symbol"!=typeof a)throw new z("editor-read-only-lock-id-invalid",null,{lockId:a});this._readOnlyLocks.has(a)&&(this._readOnlyLocks.delete(a),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const a=this.config,c=a.get("plugins"),u=a.get("removePlugins")||[],E=a.get("extraPlugins")||[],R=a.get("substitutePlugins")||[];return this.plugins.init(c.concat(E),u,R)}destroy(){let a=Promise.resolve();return"initializing"==this.state&&(a=new Promise(c=>this.once("ready",c))),a.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()}).then(()=>this._context._removeEditor(this))}execute(a,...c){try{return this.commands.execute(a,...c)}catch(u){z.rethrowUnexpectedError(u,this)}}focus(){this.editing.view.focus()}static create(...a){throw new Error("This is an abstract method.")}}function pp(v){return class extends v{setData(a){this.data.set(a)}getData(a){return this.data.get(a)}}}{const v=pp(Object);pp.setData=v.prototype.setData,pp.getData=v.prototype.getData}function N1(v){return class extends v{updateSourceElement(a){if(!this.sourceElement)throw new z("editor-missing-sourceelement",this);const c=this.config.get("updateSourceElementOnDestroy"),u=this.sourceElement instanceof HTMLTextAreaElement;if(!c&&!u)return void Bi(this.sourceElement,"");const E="string"==typeof a?a:this.data.get();Bi(this.sourceElement,E)}}}N1.updateSourceElement=N1(Object).prototype.updateSourceElement;class uu extends Ft{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Fa({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(a){if("string"!=typeof a)throw new z("pendingactions-add-invalid-message",this);const c=new(kt());return c.set("message",a),this._actions.add(c),this.hasAny=!0,c}remove(a){this._actions.remove(a),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const as={bold:'',cancel:'',caption:'',check:'',cog:'',eraser:'',history:'',image:'',imageUpload:'',imageAssetManager:'',imageUrl:'',lowVision:'\n',textAlternative:'',loupe:'',importExport:'',paragraph:'',plus:'',text:'',alignBottom:'',alignMiddle:'',alignTop:'',alignLeft:'',alignCenter:'',alignRight:'',alignJustify:'',objectLeft:'',objectCenter:'',objectRight:'',objectFullWidth:'',objectInline:'',objectBlockLeft:'',objectBlockRight:'',objectSizeFull:'',objectSizeLarge:'',objectSizeSmall:'',objectSizeMedium:'',pencil:'',pilcrow:'',quote:'',threeVerticalDots:'',dragIndicator:''};var Jc=A(5542);ao()(Jc.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const{threeVerticalDots:Hg}=as,Wf={alignLeft:as.alignLeft,bold:as.bold,importExport:as.importExport,paragraph:as.paragraph,plus:as.plus,text:as.text,threeVerticalDots:as.threeVerticalDots,pilcrow:as.pilcrow,dragIndicator:as.dragIndicator};class Yg extends Ro{constructor(a,c){super(a);const u=this.bindTemplate,E=this.t;this.options=c||{},this.set("ariaLabel",E("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new Ys,this.keystrokes=new Ja,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new Ug(a),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const R="rtl"===a.uiLanguageDirection;this._focusCycler=new sc({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[R?"arrowright":"arrowleft","arrowup"],focusNext:[R?"arrowleft":"arrowright","arrowdown"]}});const V=["ck","ck-toolbar",u.to("class"),u.if("isCompact","ck-toolbar_compact")];var X;this.options.shouldGroupWhenFull&&this.options.isFloating&&V.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:V,role:"toolbar","aria-label":u.to("ariaLabel"),style:{maxWidth:u.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(X=this,X.bindTemplate.to(et=>{et.target===X.element&&et.preventDefault()}))}}),this._behavior=this.options.shouldGroupWhenFull?new o0(this):new n0(this)}render(){super.render(),this.focusTracker.add(this.element);for(const a of this.items)this.focusTracker.add(a.element);this.items.on("add",(a,c)=>{this.focusTracker.add(c.element)}),this.items.on("remove",(a,c)=>{this.focusTracker.remove(c.element)}),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(a,c,u){this.items.addMany(this._buildItemsFromConfig(a,c,u))}_buildItemsFromConfig(a,c,u){const E=Um(a),R=u||E.removeItems;return this._cleanItemsConfiguration(E.items,c,R).map(V=>_t(V)?this._createNestedToolbarDropdown(V,c,R):"|"===V?new Zs:"-"===V?new U1:c.create(V)).filter(V=>!!V)}_cleanItemsConfiguration(a,c,u){const E=a.filter((R,V,X)=>"|"===R||-1===u.indexOf(R)&&("-"===R?!this.options.shouldGroupWhenFull||(nt("toolbarview-line-break-ignored-when-grouping-items",X),!1):!(!_t(R)&&!c.has(R)&&(nt("toolbarview-item-unavailable",{item:R}),1))));return this._cleanSeparatorsAndLineBreaks(E)}_cleanSeparatorsAndLineBreaks(a){const c=V=>"-"!==V&&"|"!==V,u=a.length,E=a.findIndex(c);if(-1===E)return[];const R=u-a.slice().reverse().findIndex(c);return a.slice(E,R).filter((V,X,et)=>!!c(V)||!(X>0&&et[X-1]===V))}_createNestedToolbarDropdown(a,c,u){let{label:E,icon:R,items:V,tooltip:X=!0,withText:et=!1}=a;if(V=this._cleanItemsConfiguration(V,c,u),!V.length)return null;const bt=Ru(this.locale);return E||nt("toolbarview-nested-toolbar-dropdown-missing-label",a),bt.class="ck-toolbar__nested-toolbar-dropdown",bt.buttonView.set({label:E,tooltip:X,withText:!!et}),!1!==R?bt.buttonView.icon=Wf[R]||R||Hg:bt.buttonView.withText=!0,Qf(bt,()=>bt.toolbarView._buildItemsFromConfig(V,c,u)),bt}}class Ug extends Ro{constructor(a){super(a),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class n0{constructor(a){const c=a.bindTemplate;a.set("isVertical",!1),a.itemsView.children.bindTo(a.items).using(u=>u),a.focusables.bindTo(a.items).using(u=>u),a.extendTemplate({attributes:{class:[c.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class o0{constructor(a){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=a,this.viewChildren=a.children,this.viewFocusables=a.focusables,this.viewItemsView=a.itemsView,this.viewFocusTracker=a.focusTracker,this.viewLocale=a.locale,this.ungroupedItems=a.createCollection(),this.groupedItems=a.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),a.itemsView.children.bindTo(this.ungroupedItems).using(c=>c),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),a.children.on("change",this._updateFocusCycleableItems.bind(this)),a.items.on("change",(c,u)=>{const E=u.index,R=Array.from(u.added);for(const V of u.removed)E>=this.ungroupedItems.length?this.groupedItems.remove(V):this.ungroupedItems.remove(V);for(let V=E;Vthis.ungroupedItems.length?this.groupedItems.add(X,V-this.ungroupedItems.length):this.ungroupedItems.add(X,V)}this._updateGrouping()}),a.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(a){this.viewElement=a.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(a)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!ne(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const a=this.groupedItems.length;let c;for(;this._areItemsOverflowing;)this._groupLastItem(),c=!0;if(!c&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==a&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const a=this.viewElement,c=this.viewLocale.uiLanguageDirection,u=new Qe(a.lastChild),E=new Qe(a);if(!this.cachedPadding){const R=Lo.window.getComputedStyle(a);this.cachedPadding=Number.parseInt(R["ltr"===c?"paddingRight":"paddingLeft"])}return"ltr"===c?u.right>E.right-this.cachedPadding:u.left{a&&a===c.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),a=c.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(a){a.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new Zs),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const a=this.viewLocale,c=a.t,u=Ru(a);return u.class="ck-toolbar__grouped-dropdown",u.panelPosition="ltr"===a.uiLanguageDirection?"sw":"se",Qf(u,this.groupedItems),u.buttonView.set({label:c("Show more items"),tooltip:!0,tooltipPosition:"rtl"===a.uiLanguageDirection?"se":"sw",icon:Hg}),u}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(a=>{this.viewFocusables.add(a)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class ph extends Ro{constructor(a){super(a);const c=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",c.if("isVisible","ck-hidden",u=>!u)],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class Lr extends Ro{constructor(a){super(a),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class fp extends Ro{constructor(a,c=new Zd){super(a);const u=this.bindTemplate,E=new fh(a);this.set({label:"",isVisible:!0}),this.labelView=c,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,E]),E.set({role:"group",ariaLabelledBy:c.id}),E.focusTracker.destroy(),E.keystrokes.destroy(),this.items=E.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",u.if("isVisible","ck-hidden",R=>!R)]},children:this.children})}focus(){if(this.items){const a=this.items.find(c=>!(c instanceof Lr));a&&a.focus()}}}var hh=A(1046);ao()(hh.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class fh extends Ro{constructor(a){super(a),this._listItemGroupToChangeListeners=new WeakMap;const c=this.bindTemplate;this.focusables=new _r,this.items=this.createCollection(),this.focusTracker=new Ys,this.keystrokes=new Ja,this._focusCycler=new sc({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:c.to("role"),"aria-label":c.to("ariaLabel"),"aria-labelledby":c.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const a of this.items)a instanceof fp?this._registerFocusableItemsGroup(a):a instanceof ph&&this._registerFocusableListItem(a);this.items.on("change",(a,c)=>{for(const u of c.removed)u instanceof fp?this._deregisterFocusableItemsGroup(u):this._deregisterFocusableListItem(u);for(const u of Array.from(c.added).reverse())u instanceof fp?this._registerFocusableItemsGroup(u,c.index):this._registerFocusableListItem(u,c.index)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(a,c){this.focusTracker.add(a.element),this.focusables.add(a,c)}_deregisterFocusableListItem(a){this.focusTracker.remove(a.element),this.focusables.remove(a)}_getOnGroupItemsChangeCallback(a){return(c,u)=>{for(const E of u.removed)this._deregisterFocusableListItem(E);for(const E of Array.from(u.added).reverse())this._registerFocusableListItem(E,this.items.getIndex(a)+u.index)}}_registerFocusableItemsGroup(a,c){Array.from(a.items).forEach((E,R)=>{this._registerFocusableListItem(E,void 0!==c?c+R:void 0)});const u=this._getOnGroupItemsChangeCallback(a);this._listItemGroupToChangeListeners.set(a,u),a.items.on("change",u)}_deregisterFocusableItemsGroup(a){for(const c of a.items)this._deregisterFocusableListItem(c);a.items.off("change",this._listItemGroupToChangeListeners.get(a)),this._listItemGroupToChangeListeners.delete(a)}}var Jg=A(7686);ao()(Jg.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ym extends Ro{constructor(a,c){super(a);const u=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(c),this.arrowView=this._createArrowView(),this.keystrokes=new Ja,this.focusTracker=new Ys,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",u.to("class"),u.if("isVisible","ck-hidden",E=>!E),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(a,c)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),c())}),this.keystrokes.set("arrowleft",(a,c)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),c())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(a){const c=a||new br;return a||c.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),c.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),c.delegate("execute").to(this),c}_createArrowView(){const a=new br,c=a.bindTemplate;return a.icon=Sd,a.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":c.to("isOn"),"aria-haspopup":!0,"aria-expanded":c.to("isOn",u=>String(u))}}),a.bind("isEnabled").to(this),a.bind("label").to(this),a.bind("tooltip").to(this),a.delegate("execute").to(this,"open"),a}}var r1=A(7339);ao()(r1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var gh=A(3949);function Ru(v,a=Cu){const c="function"==typeof a?new a(v):a,u=new Z0(v),E=new ds(v,c,u);return c.bind("isEnabled").to(E),c instanceof ym?c.arrowView.bind("isOn").to(E,"isOpen"):c.bind("isOn").to(E,"isOpen"),(V=R=E).on("render",()=>{t({emitter:V,activator:()=>V.isOpen,callback:()=>{V.isOpen=!1},contextElements:()=>[V.element,...V.focusTracker._elements]})}),function(V){V.on("execute",X=>{X.source instanceof _d||(V.isOpen=!1)})}(R),function(V){V.focusTracker.on("change:isFocused",(X,et,bt)=>{V.isOpen&&!bt&&(V.isOpen=!1)})}(R),function(V){V.keystrokes.set("arrowdown",(X,et)=>{V.isOpen&&(V.panelView.focus(),et())}),V.keystrokes.set("arrowup",(X,et)=>{V.isOpen&&(V.panelView.focusLast(),et())})}(R),function(V){V.on("change:isOpen",(X,et,bt)=>{if(bt)return;const vt=V.panelView.element;vt&&vt.contains(Lo.document.activeElement)&&V.buttonView.focus()})}(R),function(V){V.on("change:isOpen",(X,et,bt)=>{bt&&V.panelView.focus()},{priority:"low"})}(R),E;var R,V}function Qf(v,a,c={}){v.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),v.isOpen?_h(v,a,c):v.once("change:isOpen",()=>_h(v,a,c),{priority:"highest"}),c.enableActiveItemFocusOnDropdownOpen&&S_(v,()=>v.toolbarView.items.find(u=>u.isOn))}function _h(v,a,c){const u=v.locale,E=u.t,R=v.toolbarView=new Yg(u),V="function"==typeof a?a():a;R.ariaLabel=c.ariaLabel||E("Dropdown toolbar"),c.maxWidth&&(R.maxWidth=c.maxWidth),c.class&&(R.class=c.class),c.isCompact&&(R.isCompact=c.isCompact),c.isVertical&&(R.isVertical=!0),V instanceof _r?R.items.bindTo(V).using(X=>X):R.items.addMany(V),v.panelView.children.add(R),R.items.delegate("execute").to(v)}function bh(v,a,c={}){v.isOpen?Fh(v,a,c):v.once("change:isOpen",()=>Fh(v,a,c),{priority:"highest"}),S_(v,()=>v.listView.items.find(u=>u instanceof ph&&u.children.first.isOn))}function Fh(v,a,c){const u=v.locale,E=v.listView=new fh(u),R="function"==typeof a?a():a;E.ariaLabel=c.ariaLabel,E.role=c.role,Zf(v,E.items,R,u),v.panelView.children.add(E),E.items.delegate("execute").to(v)}function S_(v,a){v.on("change:isOpen",()=>{if(!v.isOpen)return;const c=a();c&&("function"==typeof c.focus?c.focus():nt("ui-dropdown-focus-child-on-open-child-missing-focus",{view:c}))},{priority:B.low-10})}function Zf(v,a,c,u){a.bindTo(c).using(E=>{if("separator"===E.type)return new Lr(u);if("group"===E.type){const R=new fp(u);return R.set({label:E.label}),Zf(v,R.items,E.items,u),R.items.delegate("execute").to(v),R}if("button"===E.type||"switchbutton"===E.type){const R=new ph(u);let V;return"button"===E.type?(V=new br(u),V.extendTemplate({attributes:{"aria-checked":V.bindTemplate.to("isOn")}})):V=new _d(u),V.bind(...Object.keys(E.model)).to(E.model),V.delegate("execute").to(R),R.children.add(V),R}return null})}ao()(gh.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Ml=(v,a,c)=>{const u=new x2(v.locale);return u.set({id:a,ariaDescribedById:c}),u.bind("isReadOnly").to(v,"isEnabled",E=>!E),u.bind("hasError").to(v,"errorText",E=>!!E),u.on("input",()=>{v.errorText=null}),v.bind("isEmpty","isFocused","placeholder").to(u),u},km=(v,a=0,c=1)=>v>c?c:vMath.round(c*v)/c,t2=v=>("#"===v[0]&&(v=v.substring(1)),v.length<6?{r:parseInt(v[0]+v[0],16),g:parseInt(v[1]+v[1],16),b:parseInt(v[2]+v[2],16),a:4===v.length?Ac(parseInt(v[3]+v[3],16)/255,2):1}:{r:parseInt(v.substring(0,2),16),g:parseInt(v.substring(2,4),16),b:parseInt(v.substring(4,6),16),a:8===v.length?Ac(parseInt(v.substring(6,8),16)/255,2):1}),e2=v=>{const{h:a,s:c,l:u}=(({h:v,s:a,v:c,a:u})=>{const E=(200-a)*c/100;return{h:Ac(v),s:Ac(E>0&&E<200?a*c/100/(E<=100?E:200-E)*100:0),l:Ac(E/2),a:Ac(u,2)}})(v);return`hsl(${a}, ${c}%, ${u}%)`},n2=v=>{const a=v.toString(16);return a.length<2?"0"+a:a},Ul=(v,a)=>{if(v===a)return!0;for(const c in v)if(v[c]!==a[c])return!1;return!0},A_={},W=v=>{let a=A_[v];return a||(a=document.createElement("template"),a.innerHTML=v,A_[v]=a),a},ct=(v,a,c)=>{v.dispatchEvent(new CustomEvent(a,{bubbles:!0,detail:c}))};let Ot=!1;const ue=v=>"touches"in v,Ke=(v,a)=>{const c=ue(a)?a.touches[0]:a,u=v.el.getBoundingClientRect();ct(v.el,"move",v.getMove({x:km((c.pageX-(u.left+window.pageXOffset))/u.width),y:km((c.pageY-(u.top+window.pageYOffset))/u.height)}))};class _n{constructor(a,c,u,E){const R=W(`
`);a.appendChild(R.content.cloneNode(!0));const V=a.querySelector(`[part=${c}]`);V.addEventListener("mousedown",this),V.addEventListener("touchstart",this),V.addEventListener("keydown",this),this.el=V,this.xy=E,this.nodes=[V.firstChild,V]}set dragging(a){const c=a?document.addEventListener:document.removeEventListener;c(Ot?"touchmove":"mousemove",this),c(Ot?"touchend":"mouseup",this)}handleEvent(a){switch(a.type){case"mousedown":case"touchstart":if(a.preventDefault(),c=a,Ot&&!ue(c)||(Ot||(Ot=ue(c)),0)||!Ot&&0!=a.button)return;this.el.focus(),Ke(this,a),this.dragging=!0;break;case"mousemove":case"touchmove":a.preventDefault(),Ke(this,a);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((c,u)=>{const E=u.keyCode;E>40||c.xy&&E<37||E<33||(u.preventDefault(),ct(c.el,"move",c.getMove({x:39===E?.01:37===E?-.01:34===E?.05:33===E?-.05:35===E?1:36===E?-1:0,y:40===E?.01:38===E?-.01:0},!0)))})(this,a)}var c}style(a){a.forEach((c,u)=>{for(const E in c)this.nodes[u].style.setProperty(E,c[E])})}}class Nn extends _n{constructor(a){super(a,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:a}){this.h=a,this.style([{left:a/360*100+"%",color:e2({h:a,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Ac(a)}`)}getMove(a,c){return{h:c?km(this.h+360*a.x,0,360):360*a.x}}}class Wn extends _n{constructor(a){super(a,"saturation",'aria-label="Color"',!0)}update(a){this.hsva=a,this.style([{top:100-a.v+"%",left:`${a.s}%`,color:e2(a)},{"background-color":e2({h:a.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Ac(a.s)}%, Brightness ${Ac(a.v)}%`)}getMove(a,c){return{s:c?km(this.hsva.s+100*a.x,0,100):100*a.x,v:c?km(this.hsva.v-100*a.y,0,100):Math.round(100-100*a.y)}}}const ci=Symbol("same"),Yi=Symbol("color"),zi=Symbol("hsva"),Wi=Symbol("update"),Co=Symbol("parts"),Yo=Symbol("css"),vr=Symbol("sliders");class Zr extends HTMLElement{static get observedAttributes(){return["color"]}get[Yo](){return[':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',"[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}","[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}"]}get[vr](){return[Wn,Nn]}get color(){return this[Yi]}set color(a){if(!this[ci](a)){const c=this.colorModel.toHsva(a);this[Wi](c),this[Yi]=a}}constructor(){super();const a=W(``),c=this.attachShadow({mode:"open"});c.appendChild(a.content.cloneNode(!0)),c.addEventListener("move",this),this[Co]=this[vr].map(u=>new u(c))}connectedCallback(){if(this.hasOwnProperty("color")){const a=this.color;delete this.color,this.color=a}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(a,c,u){const E=this.colorModel.fromAttr(u);this[ci](E)||(this.color=E)}handleEvent(a){const c=this[zi],u={...c,...a.detail};let E;this[Wi](u),Ul(u,c)||this[ci](E=this.colorModel.fromHsva(u))||(this[Yi]=E,ct(this,"color-changed",{value:E}))}[ci](a){return this.color&&this.colorModel.equal(a,this.color)}[Wi](a){this[zi]=a,this[Co].forEach(c=>c.update(a))}}const Xo={defaultColor:"#000",toHsva:v=>(({r:v,g:a,b:c,a:u})=>{const E=Math.max(v,a,c),R=E-Math.min(v,a,c),V=R?E===v?(a-c)/R:E===a?2+(c-v)/R:4+(v-a)/R:0;return{h:Ac(60*(V<0?V+6:V)),s:Ac(E?R/E*100:0),v:Ac(E/255*100),a:u}})(t2(v)),fromHsva:({h:v,s:a,v:c})=>(({r:v,g:a,b:c,a:u})=>{const E=u<1?n2(Ac(255*u)):"";return"#"+n2(v)+n2(a)+n2(c)+E})((({h:v,s:a,v:c,a:u})=>{v=v/360*6,a/=100,c/=100;const E=Math.floor(v),R=c*(1-a),V=c*(1-(v-E)*a),X=c*(1-(1-v+E)*a),et=E%6;return{r:Ac(255*[c,V,R,R,X,c][et]),g:Ac(255*[X,c,c,V,R,R][et]),b:Ac(255*[R,R,X,c,c,V][et]),a:Ac(u,2)}})({h:v,s:a,v:c,a:1})),equal:(v,a)=>v.toLowerCase()===a.toLowerCase()||Ul(t2(v),t2(a)),fromAttr:v=>v};class ta extends Zr{get colorModel(){return Xo}}customElements.define("hex-color-picker",class extends ta{});var xa=A(3398);ao()(xa.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),kt(Fa);var Xc=A(4157);ao()(Xc.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class $s{constructor(a){this._components=new Map,this.editor=a}*names(){for(const a of this._components.values())yield a.originalName}add(a,c){this._components.set(hl(a),{callback:c,originalName:a})}create(a){if(!this.has(a))throw new z("componentfactory-item-missing",this,{name:a});return this._components.get(hl(a)).callback(this.editor.locale)}has(a){return this._components.has(hl(a))}}function hl(v){return String(v).toLowerCase()}var Su=A(8793);ao()(Su.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var E5=Object.defineProperty,O_=Object.getOwnPropertySymbols,Zg=Object.prototype.hasOwnProperty,wb=Object.prototype.propertyIsEnumerable,$1=(v,a,c)=>a in v?E5(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,Na=(v,a)=>{for(var c in a||(a={}))Zg.call(a,c)&&$1(v,c,a[c]);if(O_)for(var c of O_(a))wb.call(a,c)&&$1(v,c,a[c]);return v};const xb=to("px"),t4=Lo.document.body,q8={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},Eh=class extends Ro{constructor(v){super(v);const a=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",a.to("position",c=>`ck-balloon-panel_${c}`),a.if("isVisible","ck-balloon-panel_visible"),a.if("withArrow","ck-balloon-panel_with-arrow"),a.to("class")],style:{top:a.to("top",xb),left:a.to("left",xb)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(v){this.show();const a=Eh.defaultPositions,c=Object.assign({},{element:this.element,positions:[a.southArrowNorth,a.southArrowNorthMiddleWest,a.southArrowNorthMiddleEast,a.southArrowNorthWest,a.southArrowNorthEast,a.northArrowSouth,a.northArrowSouthMiddleWest,a.northArrowSouthMiddleEast,a.northArrowSouthWest,a.northArrowSouthEast,a.viewportStickyNorth],limiter:t4,fitInViewport:!0},v),u=Eh._getOptimalPosition(c)||q8,E=parseInt(u.left),R=parseInt(u.top),V=u.name,X=u.config||{},{withArrow:et=!0}=X;this.top=R,this.left=E,this.position=V,this.withArrow=et}pin(v){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(v):this._stopPinning()},this._startPinning(v),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(v){this.attachTo(v);const a=Ch(v.target),c=v.limiter?Ch(v.limiter):t4;this.listenTo(Lo.document,"scroll",(u,E)=>{const R=E.target,V=a&&R.contains(a),X=c&&R.contains(c);!V&&!X&&a&&c||this.attachTo(v)},{useCapture:!0}),this.listenTo(Lo.window,"resize",()=>{this.attachTo(v)})}_stopPinning(){this.stopListening(Lo.document,"scroll"),this.stopListening(Lo.window,"resize")}};let ld=Eh;function Ch(v){return ar(v)?v:Ra(v)?v.commonAncestorContainer:"function"==typeof v?Ch(v()):null}function xd(v={}){const{sideOffset:a=ld.arrowSideOffset,heightOffset:c=ld.arrowHeightOffset,stickyVerticalOffset:u=ld.stickyVerticalOffset,config:E}=v;return{northWestArrowSouthWest:(X,et)=>Na({top:R(X,et),left:X.left-a,name:"arrow_sw"},E&&{config:E}),northWestArrowSouthMiddleWest:(X,et)=>Na({top:R(X,et),left:X.left-.25*et.width-a,name:"arrow_smw"},E&&{config:E}),northWestArrowSouth:(X,et)=>Na({top:R(X,et),left:X.left-et.width/2,name:"arrow_s"},E&&{config:E}),northWestArrowSouthMiddleEast:(X,et)=>Na({top:R(X,et),left:X.left-.75*et.width+a,name:"arrow_sme"},E&&{config:E}),northWestArrowSouthEast:(X,et)=>Na({top:R(X,et),left:X.left-et.width+a,name:"arrow_se"},E&&{config:E}),northArrowSouthWest:(X,et)=>Na({top:R(X,et),left:X.left+X.width/2-a,name:"arrow_sw"},E&&{config:E}),northArrowSouthMiddleWest:(X,et)=>Na({top:R(X,et),left:X.left+X.width/2-.25*et.width-a,name:"arrow_smw"},E&&{config:E}),northArrowSouth:(X,et)=>Na({top:R(X,et),left:X.left+X.width/2-et.width/2,name:"arrow_s"},E&&{config:E}),northArrowSouthMiddleEast:(X,et)=>Na({top:R(X,et),left:X.left+X.width/2-.75*et.width+a,name:"arrow_sme"},E&&{config:E}),northArrowSouthEast:(X,et)=>Na({top:R(X,et),left:X.left+X.width/2-et.width+a,name:"arrow_se"},E&&{config:E}),northEastArrowSouthWest:(X,et)=>Na({top:R(X,et),left:X.right-a,name:"arrow_sw"},E&&{config:E}),northEastArrowSouthMiddleWest:(X,et)=>Na({top:R(X,et),left:X.right-.25*et.width-a,name:"arrow_smw"},E&&{config:E}),northEastArrowSouth:(X,et)=>Na({top:R(X,et),left:X.right-et.width/2,name:"arrow_s"},E&&{config:E}),northEastArrowSouthMiddleEast:(X,et)=>Na({top:R(X,et),left:X.right-.75*et.width+a,name:"arrow_sme"},E&&{config:E}),northEastArrowSouthEast:(X,et)=>Na({top:R(X,et),left:X.right-et.width+a,name:"arrow_se"},E&&{config:E}),southWestArrowNorthWest:X=>Na({top:V(X),left:X.left-a,name:"arrow_nw"},E&&{config:E}),southWestArrowNorthMiddleWest:(X,et)=>Na({top:V(X),left:X.left-.25*et.width-a,name:"arrow_nmw"},E&&{config:E}),southWestArrowNorth:(X,et)=>Na({top:V(X),left:X.left-et.width/2,name:"arrow_n"},E&&{config:E}),southWestArrowNorthMiddleEast:(X,et)=>Na({top:V(X),left:X.left-.75*et.width+a,name:"arrow_nme"},E&&{config:E}),southWestArrowNorthEast:(X,et)=>Na({top:V(X),left:X.left-et.width+a,name:"arrow_ne"},E&&{config:E}),southArrowNorthWest:X=>Na({top:V(X),left:X.left+X.width/2-a,name:"arrow_nw"},E&&{config:E}),southArrowNorthMiddleWest:(X,et)=>Na({top:V(X),left:X.left+X.width/2-.25*et.width-a,name:"arrow_nmw"},E&&{config:E}),southArrowNorth:(X,et)=>Na({top:V(X),left:X.left+X.width/2-et.width/2,name:"arrow_n"},E&&{config:E}),southArrowNorthMiddleEast:(X,et)=>Na({top:V(X),left:X.left+X.width/2-.75*et.width+a,name:"arrow_nme"},E&&{config:E}),southArrowNorthEast:(X,et)=>Na({top:V(X),left:X.left+X.width/2-et.width+a,name:"arrow_ne"},E&&{config:E}),southEastArrowNorthWest:X=>Na({top:V(X),left:X.right-a,name:"arrow_nw"},E&&{config:E}),southEastArrowNorthMiddleWest:(X,et)=>Na({top:V(X),left:X.right-.25*et.width-a,name:"arrow_nmw"},E&&{config:E}),southEastArrowNorth:(X,et)=>Na({top:V(X),left:X.right-et.width/2,name:"arrow_n"},E&&{config:E}),southEastArrowNorthMiddleEast:(X,et)=>Na({top:V(X),left:X.right-.75*et.width+a,name:"arrow_nme"},E&&{config:E}),southEastArrowNorthEast:(X,et)=>Na({top:V(X),left:X.right-et.width+a,name:"arrow_ne"},E&&{config:E}),westArrowEast:(X,et)=>Na({top:X.top+X.height/2-et.height/2,left:X.left-et.width-c,name:"arrow_e"},E&&{config:E}),eastArrowWest:(X,et)=>Na({top:X.top+X.height/2-et.height/2,left:X.right+c,name:"arrow_w"},E&&{config:E}),viewportStickyNorth:(X,et,bt,vt)=>{const Pt=vt||bt;return X.getIntersection(Pt)?Pt.height-X.height>u?null:{top:Pt.top+u,left:X.left+X.width/2-et.width/2,name:"arrowless",config:Na({withArrow:!1},E)}:null}};function R(X,et){return X.top-et.height-c}function V(X){return X.bottom+c}}ld.arrowSideOffset=25,ld.arrowHeightOffset=10,ld.stickyVerticalOffset=20,ld._getOptimalPosition=Tn,ld.defaultPositions=xd();var r0=A(3332);ao()(r0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const a1="ck-tooltip",pc=class extends(Gr()){constructor(v){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,pc._editors.add(v),pc._instance)return pc._instance;pc._instance=this,this.tooltipTextView=new Ro(v.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new ld(v.locale),this.balloonPanelView.class=a1,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=nm(this._pinTooltip,600),this.listenTo(Lo.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(v){const a=v.ui.view&&v.ui.view.body;pc._editors.delete(v),this.stopListening(v.ui),a&&a.has(this.balloonPanelView)&&a.remove(this.balloonPanelView),pc._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),pc._instance=null)}static getPositioningFunctions(v){const a=pc.defaultBalloonPositions;return{s:[a.southArrowNorth,a.southArrowNorthEast,a.southArrowNorthWest],n:[a.northArrowSouth],e:[a.eastArrowWest],w:[a.westArrowEast],sw:[a.southArrowNorthEast],se:[a.southArrowNorthWest]}[v]}_onEnterOrFocus(v,{target:a}){const c=Mb(a);var u;c&&c!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(c,{text:(u=c).dataset.ckeTooltipText,position:u.dataset.ckeTooltipPosition||"s",cssClass:u.dataset.ckeTooltipClass||""}))}_onLeaveOrBlur(v,{target:a,relatedTarget:c}){if("mouseleave"===v.name){if(!ar(a)||this._currentElementWithTooltip&&a!==this._currentElementWithTooltip)return;const u=Mb(a),E=Mb(c);u&&u!==E&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&a!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(v,{target:a}){this._currentElementWithTooltip&&(a.contains(this.balloonPanelView.element)&&a.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(v,{text:a,position:c,cssClass:u}){const E=kr(pc._editors.values()).ui.view.body;E.has(this.balloonPanelView)||E.add(this.balloonPanelView),this.tooltipTextView.text=a,this.balloonPanelView.pin({target:v,positions:pc.getPositioningFunctions(c)}),this._resizeObserver=new Mi(v,()=>{ne(v)||this._unpinTooltip()}),this.balloonPanelView.class=[a1,u].filter(R=>R).join(" ");for(const R of pc._editors)this.listenTo(R.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=v,this._currentTooltipPosition=c}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const v of pc._editors)this.stopListening(v.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){ne(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:pc.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}};let j_=pc;function Mb(v){return ar(v)?v.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}j_.defaultBalloonPositions=xd({heightOffset:5,sideOffset:13}),j_._editors=new Set,j_._instance=null;const a0=function(v,a,c){var u=!0,E=!0;if("function"!=typeof v)throw new TypeError("Expected a function");return _t(c)&&(u="leading"in c?!!c.leading:u,E="trailing"in c?!!c.trailing:E),nm(v,a,{leading:u,maxWait:a,trailing:E})};var C5=Object.defineProperty,Tb=Object.getOwnPropertySymbols,e4=Object.prototype.hasOwnProperty,y5=Object.prototype.propertyIsEnumerable,N_=(v,a,c)=>a in v?C5(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class x5 extends(Gr()){constructor(a){super(),this.editor=a,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=a0(this._showBalloon.bind(this),50,{leading:!0}),a.on("ready",this._handleEditorReady.bind(this))}destroy(){const a=this._balloonView;a&&(a.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const a=this.editor;(a.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(c){function u(he){return he.length>=40&&he.length<=255?"VALID":"INVALID"}if(!c)return"INVALID";let E="";try{E=atob(c)}catch{return"INVALID"}const R=E.split("-"),V=R[0],X=R[1];if(!X)return u(c);try{atob(X)}catch{try{if(atob(V),!atob(V).length)return u(c)}catch{return u(c)}}if(V.length<40||V.length>255)return"INVALID";let et="";try{atob(V),et=atob(X)}catch{return"INVALID"}if(8!==et.length)return"INVALID";const bt=Number(et.substring(0,4)),vt=Number(et.substring(4,6))-1,Pt=Number(et.substring(6,8)),Wt=new Date(bt,vt,Pt);return Wt{this._updateLastFocusedEditableElement(),E?this._showBalloon():this._hideBalloon()}),a.ui.focusTracker.on("change:focusedElement",(c,u,E)=>{this._updateLastFocusedEditableElement(),E&&this._showBalloon()}),a.ui.on("update",()=>{this._showBalloonThrottled()}))}_createBalloonView(){const a=this.editor,c=this._balloonView=new ld,u=Ib(a),E=new s0(a.locale,u.label);c.content.add(E),c.set({class:"ck-powered-by-balloon"}),a.ui.view.body.add(c),a.ui.focusTracker.add(c.element),this._balloonView=c}_showBalloon(){if(!this._lastFocusedEditableElement)return;const a=function(c,u){const E=Ib(c);var X;return{target:u,positions:["right"===E.side?c0(u,X=E,(et,bt)=>et.left+et.width-bt.width-X.horizontalOffset):function(V,X){return c0(V,X,et=>et.left+X.horizontalOffset)}(u,E)]}}(this.editor,this._lastFocusedEditableElement);a&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(a))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const a=this.editor,u=a.ui.focusTracker.focusedElement;if(!a.ui.focusTracker.isFocused||!u)return void(this._lastFocusedEditableElement=null);const E=Array.from(a.ui.getEditableElementsNames()).map(R=>a.ui.getEditableElement(R));this._lastFocusedEditableElement=E.includes(u)?u:E[0]}}class s0 extends Ro{constructor(a,c){super(a);const u=new di,E=this.bindTemplate;u.set({content:'\n',isColorInherited:!1}),u.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...c?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[c]}]:[],u],on:{dragstart:E.to(R=>R.preventDefault())}}]})}}function c0(v,a,c){return(u,E)=>{const R=new Qe(v);if(R.width<350||R.height<50)return null;let V;V="inside"===a.position?R.bottom-E.height:R.bottom-E.height/2,V-=a.verticalOffset;const X=c(R,E),et=u.clone().moveTo(X,V).getIntersection(E.clone().moveTo(X,V)).getVisible();return!et||et.getArea(){for(var c in a||(a={}))e4.call(a,c)&&N_(v,c,a[c]);if(Tb)for(var c of Tb(a))y5.call(a,c)&&N_(v,c,a[c]);return v})({position:c,label:"Powered by",verticalOffset:"inside"===c?5:0,horizontalOffset:5,side:"ltr"===v.locale.contentLanguageDirection?"right":"left"},a)}var l0=A(3210);ao()(l0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class i4{constructor(a){this.editor=a}announce(a,c,u="polite"){const E=this.editor;this.view||(this.view=new W8(E.locale),E.ui.view.body.add(this.view));let R=this.view.regionViews.find(V=>V.regionName===a);R||(R=new K8(this.view.locale),this.view.regionViews.add(R)),R.set({regionName:a,text:c,politeness:u})}}class W8 extends Ro{constructor(a){super(a),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class K8 extends Ro{constructor(a){super(a);const c=this.bindTemplate;this.set("regionName",""),this.set("text",""),this.set("politeness","polite"),this.setTemplate({tag:"div",attributes:{role:"region","data-region":c.to("regionName"),"aria-live":c.to("politeness")},children:[{text:c.to("text")}]})}}var Q8=Object.defineProperty,u0=Object.getOwnPropertySymbols,Rb=Object.prototype.hasOwnProperty,_p=Object.prototype.propertyIsEnumerable,M5=(v,a,c)=>a in v?Q8(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class zy extends(kt()){constructor(a){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const c=a.editing.view;this.editor=a,this.componentFactory=new $s(a),this.focusTracker=new Ys,this.tooltipManager=new j_(a),this.poweredBy=new x5(a),this.ariaLiveAnnouncer=new i4(a),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",()=>{this.isReady=!0}),this.listenTo(c.document,"layoutChanged",this.update.bind(this)),this.listenTo(c,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const a of this._editableElementsMap.values())a.ckeditorInstance=null,this.editor.keystrokes.stopListening(a);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(a,c){this._editableElementsMap.set(a,c),c.ckeditorInstance||(c.ckeditorInstance=this.editor),this.focusTracker.add(c);const u=()=>{this.editor.editing.view.getDomRoot(a)||this.editor.keystrokes.listenTo(c)};this.isReady?u():this.once("ready",u)}removeEditableElement(a){const c=this._editableElementsMap.get(a);c&&(this._editableElementsMap.delete(a),this.editor.keystrokes.stopListening(c),this.focusTracker.remove(c),c.ckeditorInstance=null)}getEditableElement(a="main"){return this._editableElementsMap.get(a)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(a,c={}){a.isRendered?(this.focusTracker.add(a.element),this.editor.keystrokes.listenTo(a.element)):a.once("render",()=>{this.focusTracker.add(a.element),this.editor.keystrokes.listenTo(a.element)}),this._focusableToolbarDefinitions.push({toolbarView:a,options:c})}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_readViewportOffsetFromConfig(){const a=this.editor,c=a.config.get("ui.viewportOffset");if(c)return c;const u=a.config.get("toolbar.viewportTopOffset");return u?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:u}):{top:0}}_initFocusTracking(){const a=this.editor,c=a.editing.view;let u,E;a.keystrokes.set("Alt+F10",(R,V)=>{const X=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(X)&&!Array.from(c.domRoots.values()).includes(X)&&(u=X);const et=this._getCurrentFocusedToolbarDefinition();et&&E||(E=this._getFocusableCandidateToolbarDefinitions());for(let bt=0;bt{const X=this._getCurrentFocusedToolbarDefinition();X&&(u?(u.focus(),u=null):a.editing.view.focus(),X.options.afterBlur&&X.options.afterBlur(),V())})}_getFocusableCandidateToolbarDefinitions(){const a=[];for(const c of this._focusableToolbarDefinitions){const{toolbarView:u,options:E}=c;(ne(u.element)||E.beforeFocus)&&a.push(c)}return a.sort((c,u)=>T5(c)-T5(u)),a}_getCurrentFocusedToolbarDefinition(){for(const a of this._focusableToolbarDefinitions)if(a.toolbarView.element&&a.toolbarView.element.contains(this.focusTracker.focusedElement))return a;return null}_focusFocusableCandidateToolbar(a){const{toolbarView:c,options:{beforeFocus:u}}=a;return u&&u(),!!ne(c.element)&&(c.focus(),!0)}_handleScrollToTheSelection(a,c){const u=((E,R)=>{for(var V in R||(R={}))Rb.call(R,V)&&M5(E,V,R[V]);if(u0)for(var V of u0(R))_p.call(R,V)&&M5(E,V,R[V]);return E})({top:0,bottom:0,left:0,right:0},this.viewportOffset);c.viewportOffset.top+=u.top,c.viewportOffset.bottom+=u.bottom,c.viewportOffset.left+=u.left,c.viewportOffset.right+=u.right}}function T5(v){const{toolbarView:a,options:c}=v;let u=10;return ne(a.element)&&u--,c.isContextual&&u--,u}var D5=A(9688);ao()(D5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class zr extends Ro{constructor(a){super(a),this.body=new xe(a)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class Pu extends zr{constructor(a){super(a),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:a.uiLanguageDirection,lang:a.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const a=this.t,c=new Zd;return c.text=a("Rich Text Editor"),c.extendTemplate({attributes:{class:"ck-voice-label"}}),c}}class Z8 extends Ro{constructor(a,c,u){super(a),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:a.contentLanguage,dir:a.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=u,this._hasExternalElement=!!this._editableElement,this._editingView=c}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const a=this._editingView;function c(u){a.change(E=>{const R=a.document.getRoot(u.name);E.addClass(u.isFocused?"ck-focused":"ck-blurred",R),E.removeClass(u.isFocused?"ck-blurred":"ck-focused",R)})}a.isRenderingInProgress?function u(E){a.once("change:isRenderingInProgress",(R,V,X)=>{X?u(E):c(E)})}(this):c(this)}}class tE extends Z8{constructor(a,c,u,E={}){super(a,c,u);const R=a.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=E.label||(()=>R("Editor editing area: %0",this.name))}render(){super.render();const a=this._editingView;a.change(c=>{const u=a.document.getRoot(this.name);c.setAttribute("aria-label",this._generateLabel(this),u)})}}var Yd=A(8847);ao()(Yd.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class yh extends Ft{static get pluginName(){return"Notification"}init(){this.on("show:warning",(a,c)=>{window.alert(c.message)},{priority:"lowest"})}showSuccess(a,c={}){this._showNotification({message:a,type:"success",namespace:c.namespace,title:c.title})}showInfo(a,c={}){this._showNotification({message:a,type:"info",namespace:c.namespace,title:c.title})}showWarning(a,c={}){this._showNotification({message:a,type:"warning",namespace:c.namespace,title:c.title})}_showNotification(a){this.fire(a.namespace?`show:${a.type}:${a.namespace}`:`show:${a.type}`,{message:a.message,type:a.type,title:a.title||""})}}class L_ extends(kt()){constructor(a,c){super(),c&&E1(this,c),a&&this.set(a)}}var m0=A(4650);ao()(m0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var p0=A(7676);ao()(p0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const yo=to("px");class wm extends j{constructor(a){super(a),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const c=this.editor.editing.view,u=c.document.selection.editableElement;return u?c.domConverter.mapViewToDom(u.root):null},this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(a){return Array.from(this._viewToStack.keys()).includes(a)}add(a){if(this._view||this._createPanelView(),this.hasView(a.view))throw new z("contextualballoon-add-view-exist",[this,a]);const c=a.stackId||"main";if(!this._idToStack.has(c))return this._idToStack.set(c,new Map([[a.view,a]])),this._viewToStack.set(a.view,this._idToStack.get(c)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!a.singleViewMode||this.showStack(c));const u=this._idToStack.get(c);a.singleViewMode&&this.showStack(c),u.set(a.view,a),this._viewToStack.set(a.view,u),u===this._visibleStack&&this._showView(a)}remove(a){if(!this.hasView(a))throw new z("contextualballoon-remove-view-not-exist",[this,a]);const c=this._viewToStack.get(a);this._singleViewMode&&this.visibleView===a&&(this._singleViewMode=!1),this.visibleView===a&&(1===c.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(c.values())[c.size-2])),1===c.size?(this._idToStack.delete(this._getStackId(c)),this._numberOfStacks=this._idToStack.size):c.delete(a),this._viewToStack.delete(a)}updatePosition(a){a&&(this._visibleStack.get(this.visibleView).position=a),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(a){this.visibleStack=a;const c=this._idToStack.get(a);if(!c)throw new z("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==c&&this._showView(Array.from(c.values()).pop())}_createPanelView(){this._view=new ld(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(a){return Array.from(this._idToStack.entries()).find(c=>c[1]===a)[0]}_showNextStack(){const a=Array.from(this._idToStack.values());let c=a.indexOf(this._visibleStack)+1;a[c]||(c=0),this.showStack(this._getStackId(a[c]))}_showPrevStack(){const a=Array.from(this._idToStack.values());let c=a.indexOf(this._visibleStack)-1;a[c]||(c=a.length-1),this.showStack(this._getStackId(a[c]))}_createRotatorView(){const a=new Pb(this.editor.locale),c=this.editor.locale.t;return this.view.content.add(a),a.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(u,E)=>!E&&u>1),a.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),a.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(u,E)=>{if(E<2)return"";const R=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return c("%0 of %1",[R,E])}),a.buttonNextView.on("execute",()=>{a.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),a.buttonPrevView.on("execute",()=>{a.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),a}_createFakePanelsView(){const a=new eE(this.editor.locale,this.view);return a.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(c,u)=>!u&&c>=2?Math.min(c-1,2):0),a.listenTo(this.view,"change:top",()=>a.updatePosition()),a.listenTo(this.view,"change:left",()=>a.updatePosition()),this.editor.ui.view.body.add(a),a}_showView({view:a,balloonClassName:c="",withArrow:u=!0,singleViewMode:E=!1}){this.view.class=c,this.view.withArrow=u,this._rotatorView.showView(a),this.visibleView=a,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),E&&(this._singleViewMode=!0)}_getBalloonPosition(){let a=Array.from(this._visibleStack.values()).pop().position;return a&&(a.limiter||(a=Object.assign({},a,{limiter:this.positionLimiter})),a=Object.assign({},a,{viewportOffsetConfig:this.editor.ui.viewportOffset})),a}}class Pb extends Ro{constructor(a){super(a);const c=a.t,u=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Ys,this.buttonPrevView=this._createButtonView(c("Previous"),''),this.buttonNextView=this._createButtonView(c("Next"),''),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",u.to("isNavigationVisible",E=>E?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:u.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(a){this.hideView(),this.content.add(a)}hideView(){this.content.clear()}_createButtonView(a,c){const u=new br(this.locale);return u.set({label:a,icon:c,tooltip:!0}),u}}class eE extends Ro{constructor(a,c){super(a);const u=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=c,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",u.to("numberOfPanels",E=>E?"":"ck-hidden")],style:{top:u.to("top",yo),left:u.to("left",yo),width:u.to("width",yo),height:u.to("height",yo)}},children:this.content}),this.on("change:numberOfPanels",(E,R,V,X)=>{V>X?this._addPanels(V-X):this._removePanels(X-V),this.updatePosition()})}_addPanels(a){for(;a--;){const c=new Ro;c.setTemplate({tag:"div"}),this.content.add(c),this.registerChild(c)}}_removePanels(a){for(;a--;){const c=this.content.last;this.content.remove(c),this.deregisterChild(c),c.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:a,left:c}=this._balloonPanelView,{width:u,height:E}=new Qe(this._balloonPanelView.element);Object.assign(this,{top:a,left:c,width:u,height:E})}}}var Ab=A(5868);ao()(Ab.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const xm=to("px");class iE extends Ro{constructor(a){super(a);const c=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new vl({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:c.to("isSticky",u=>u?"block":"none"),height:c.to("isSticky",u=>u?xm(this._contentPanelRect.height):null)}}}).render(),this._contentPanel=new vl({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",c.if("isSticky","ck-sticky-panel__content_sticky"),c.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:c.to("isSticky",u=>u?xm(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:c.to("_stickyTopOffset",u=>u&&xm(u)),bottom:c.to("_stickyBottomOffset",u=>u&&xm(u)),marginLeft:c.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(Lo.document,"scroll",()=>{this.checkIfShouldBeSticky()},{useCapture:!0}),this.listenTo(this,"change:isActive",()=>{this.checkIfShouldBeSticky()})}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const a=new Qe(this.limiterElement);let c=a.getVisible();if(c){const u=new Qe(Lo.window);u.top+=this.viewportTopOffset,u.height-=this.viewportTopOffset,c=c.getIntersection(u)}if(c&&a.topc.bottom){const E=Math.max(a.bottom-c.bottom,0)+this.limiterBottomOffset;a.bottom-E>a.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(E):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",R=>!R),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class S5 extends Ro{constructor(){super();const a=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",a.if("isVisible","ck-hidden",c=>!c)],tabindex:-1},children:[{tag:"span",children:[{text:[a.to("primaryText")]}]},{tag:"span",children:[{text:[a.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class Ob extends Ro{constructor(a){super(a),this.children=this.createCollection(),this.focusTracker=new Ys,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new sc({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const a of this.children)this.focusTracker.add(a.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var P5=/[\\^$.*+?()[\]{}|]/g,bp=RegExp(P5.source);const h0=function(v){return(v=Ap(v))&&bp.test(v)?v.replace(P5,"\\$&"):v};var A5=A(6770);ao()(A5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var V_=Object.defineProperty,O5=Object.getOwnPropertySymbols,rE=Object.prototype.hasOwnProperty,aE=Object.prototype.propertyIsEnumerable,G_=(v,a,c)=>a in v?V_(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class sE extends Ro{constructor(a,c){super(a),this._config=c,this.filteredView=c.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new Ys,this.keystrokes=new Ja,this.resultsView=new Ob(a),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),c.infoView&&c.infoView.instance?this.infoView=c.infoView.instance:(this.infoView=new S5,this._enableDefaultInfoViewBehavior(),this.on("render",()=>{this.search("")})),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new sc({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",(u,{resultsCount:E,totalItemsCount:R})=>{this.resultsCount=E,this.totalItemsCount=R}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",c.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const a=c=>c.stopPropagation();for(const c of this.focusableChildren)this.focusTracker.add(c.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",a),this.keystrokes.set("arrowleft",a),this.keystrokes.set("arrowup",a),this.keystrokes.set("arrowdown",a)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(a){const c=a?new RegExp(h0(a),"ig"):null,u=this.filteredView.filter(c);this.fire("search",((E,R)=>{for(var V in R||(R={}))rE.call(R,V)&&G_(E,V,R[V]);if(O5)for(var V of O5(R))aE.call(R,V)&&G_(E,V,R[V]);return E})({query:a},u))}_createSearchTextQueryView(){const a=new oE(this.locale,this._config.queryView);return this.listenTo(a.fieldView,"input",()=>{this.search(a.fieldView.element.value)}),a.on("reset",()=>this.reset()),a.bind("isEnabled").to(this),a}_enableDefaultInfoViewBehavior(){const a=this.locale.t,c=this.infoView;function u(E,{query:R,resultsCount:V,totalItemsCount:X}){return"function"==typeof E?E(R,V,X):E}this.on("search",(E,R)=>{if(R.resultsCount)c.set({isVisible:!1});else{const V=this._config.infoView&&this._config.infoView.text;let X,et;R.totalItemsCount?V&&V.notFound?(X=V.notFound.primary,et=V.notFound.secondary):(X=a("No results found"),et=""):V&&V.noSearchableItems?(X=V.noSearchableItems.primary,et=V.noSearchableItems.secondary):(X=a("No searchable items"),et=""),c.set({primaryText:u(X,R),secondaryText:u(et,R),isVisible:!0})}})}}var jb=A(8157);ao()(jb.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Oc=class extends sE{constructor(v,a){super(v,a),this._config=a;const c=to("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const u=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[u.if("isVisible","ck-hidden",E=>!E),u.to("_position",E=>`ck-search__results_${E}`)],style:{width:u.to("_width",c)}}}),this.focusTracker.on("change:isFocused",(E,R,V)=>{this._updateResultsVisibility(),V?this.resultsView.element.scrollTop=0:a.resetOnBlur&&this.queryView.reset()}),this.on("search",()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()}),this.keystrokes.set("esc",(E,R)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,R())}),this.listenTo(Lo.document,"scroll",()=>{this._updateResultsViewWidthAndPosition()}),this.on("change:isEnabled",()=>{this._updateResultsVisibility()}),this.filteredView.on("execute",(E,{value:R})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=R,this.resultsView.isVisible=!1}),this.resultsView.on("change:isVisible",()=>{this._updateResultsViewWidthAndPosition()})}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new Qe(this.queryView.fieldView.element).width;const v=Oc._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:Oc.defaultResultsPositions});this.resultsView._position=v?v.name:"s"}_updateResultsVisibility(){this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&this.queryView.fieldView.element.value.length>=(void 0===this._config.queryMinChars?0:this._config.queryMinChars)}};let Nb=Oc;Nb.defaultResultsPositions=[v=>({top:v.bottom,left:v.left,name:"s"}),(v,a)=>({top:v.top-a.height,left:v.left,name:"n"})],Nb._getOptimalPosition=Tn;var j5=A(8960);ao()(j5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var o2=A(8010);ao()(o2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class dE extends Ro{constructor(a,c){super(a);const u=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),c&&this.children.addMany(c),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",u.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:u.if("isCollapsed","hidden"),"aria-labelledby":u.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const a=new br(this.locale),c=a.bindTemplate;return a.set({withText:!0,icon:Sd}),a.extendTemplate({attributes:{"aria-expanded":c.to("isOn",u=>String(u))}}),a.bind("label").to(this),a.bind("isOn").to(this,"isCollapsed",u=>!u),a.on("execute",()=>{this.isCollapsed=!this.isCollapsed}),a}}var B_=A(498);ao()(B_.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),to("px");var z_=A(9695);ao()(z_.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),to("px"),to("px");class N5 extends zy{constructor(a,c){super(a),this.view=c,this._toolbarConfig=Um(a.config.get("toolbar")),this._elementReplacer=new Nt,this.listenTo(a.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(a){const u=this.view,E=this.editor.editing.view,R=u.editable,V=E.document.getRoot();R.name=V.rootName,u.render();const X=R.element;this.setEditableElement(R.name,X),u.editable.bind("isFocused").to(this.focusTracker),E.attachDomRoot(X),a&&this._elementReplacer.replace(a,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const a=this.view,c=this.editor.editing.view;this._elementReplacer.restore(),c.detachDomRoot(a.editable.name),a.destroy()}_initToolbar(){const a=this.view;a.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),a.stickyPanel.limiterElement=a.element,a.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",({top:c})=>c||0),a.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(a.toolbar)}_initPlaceholder(){const a=this.editor,c=a.editing.view,u=c.document.getRoot(),E=a.sourceElement;let R;const V=a.config.get("placeholder");V&&(R="string"==typeof V?V:V[this.view.editable.name]),!R&&E&&"textarea"===E.tagName.toLowerCase()&&(R=E.getAttribute("placeholder")),R&&(u.placeholder=R),Li({view:c,element:u,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(a,c,u){const E=this.view.stickyPanel;if(E.isSticky){const R=new Qe(E.element).height;c.viewportOffset.top+=R}else{const R=()=>{this.editor.editing.view.scrollToTheSelection(u)};this.listenTo(E,"change:isSticky",R),setTimeout(()=>{this.stopListening(E,"change:isSticky",R)},20)}}}var f0=A(3143);ao()(f0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class $5 extends Pu{constructor(a,c,u={}){super(a),this.stickyPanel=new iE(a),this.toolbar=new Yg(a,{shouldGroupWhenFull:u.shouldToolbarGroupWhenFull}),this.editable=new tE(a,c)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class V5{constructor(a){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof a.crashNumberLimit?a.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof a.minimumNonErrorTimePeriod?a.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=c=>{const u="error"in c?c.error:c.reason;u instanceof Error&&this._handleError(u,c)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(a,c){this._listeners[a]||(this._listeners[a]=[]),this._listeners[a].push(c)}off(a,c){this._listeners[a]=this._listeners[a].filter(u=>u!==c)}_fire(a,...c){const u=this._listeners[a]||[];for(const E of u)E.apply(this,[null,...c])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(a,c){if(this._shouldReactToError(a)){this.crashes.push({message:a.message,stack:a.stack,filename:c instanceof ErrorEvent?c.filename:void 0,lineno:c instanceof ErrorEvent?c.lineno:void 0,colno:c instanceof ErrorEvent?c.colno:void 0,date:this._now()});const u=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:a,causesRestart:u}),u?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(a){return a.is&&a.is("CKEditorError")&&null!=a.context&&"ready"===this.state&&this._isErrorComingFromThisItem(a)}_shouldRestart(){return this.crashes.length<=this._crashNumberLimit||(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function G5(v,a=new Set){const c=[v],u=new Set;let E=0;for(;c.length>E;){const R=c[E++];if(!u.has(R)&&H_(R)&&!a.has(R))if(u.add(R),Symbol.iterator in R)try{for(const V of R)c.push(V)}catch{}else for(const V in R)"defaultValue"!==V&&c.push(R[V])}return u}function H_(v){const a=Object.prototype.toString.call(v),c=typeof v;return!("number"===c||"boolean"===c||"string"===c||"symbol"===c||"function"===c||"[object Date]"===a||"[object RegExp]"===a||"[object Module]"===a||null==v||v._watchdogExcluded||v instanceof EventTarget||v instanceof Event)}function mE(v,a,c=new Set){if(v===a&&"object"==typeof(u=v)&&null!==u)return!0;var u;const E=G5(v,c),R=G5(a,c);for(const V of E)if(R.has(V))return!0;return!1}var Lb=Object.defineProperty,Au=Object.defineProperties,B5=Object.getOwnPropertyDescriptors,Y_=Object.getOwnPropertySymbols,pE=Object.prototype.hasOwnProperty,qo=Object.prototype.propertyIsEnumerable,z5=(v,a,c)=>a in v?Lb(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,r4=(v,a)=>{for(var c in a||(a={}))pE.call(a,c)&&z5(v,c,a[c]);if(Y_)for(var c of Y_(a))qo.call(a,c)&&z5(v,c,a[c]);return v};class $b extends V5{constructor(a,c={}){super(c),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=a0(this._save.bind(this),"number"==typeof c.saveInterval?c.saveInterval:5e3),a&&(this._creator=(u,E)=>a.create(u,E)),this._destructor=u=>u.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(a){this._creator=a}setDestructor(a){this._destructor=a}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(a=>{console.error("An error happened during the editor destroying.",a)}).then(()=>{const a={},c=[],u=this._config.rootsAttributes||{},E={};for(const[et,bt]of Object.entries(this._data.roots))bt.isLoaded?(a[et]="",E[et]=u[et]||{}):c.push(et);const R=(V=r4({},this._config),Au(V,B5({extraPlugins:this._config.extraPlugins||[],lazyRoots:c,rootsAttributes:E,_watchdogInitialData:this._data})));var V;return delete R.initialData,R.extraPlugins.push(hE),this._initUsingData?this.create(a,R,R.context):ar(this._elementOrData)?this.create(this._elementOrData,R,R.context):this.create(this._editables,R,R.context)}).then(()=>{this._fire("restart")})}create(a=this._elementOrData,c=this._config,u){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=a,this._initUsingData="string"==typeof a||Object.keys(a).length>0&&"string"==typeof Object.values(a)[0],this._config=this._cloneEditorConfiguration(c)||{},this._config.context=u,this._creator(a,this._config))).then(E=>{this._editor=E,E.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=E.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})}destroy(){return Promise.resolve().then(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling(),this._throttledSave.cancel();const a=this._editor;return this._editor=null,a.model.document.off("change:data",this._throttledSave),this._destructor(a)})}_save(){const a=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=a}catch(c){console.error(c,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(a){this._excludedProps=a}_getData(){const a=this._editor,c=a.model.document.roots.filter(X=>X.isAttached()&&"$graveyard"!=X.rootName),{plugins:u}=a,E=u.has("CommentsRepository")&&u.get("CommentsRepository"),R=u.has("TrackChanges")&&u.get("TrackChanges"),V={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};c.forEach(X=>{V.roots[X.rootName]={content:JSON.stringify(Array.from(X.getChildren())),attributes:JSON.stringify(Array.from(X.getAttributes())),isLoaded:X._isLoaded}});for(const X of a.model.markers)X._affectsData&&(V.markers[X.name]={rangeJSON:X.getRange().toJSON(),usingOperation:X._managedUsingOperations,affectsData:X._affectsData});return E&&(V.commentThreads=JSON.stringify(E.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),R&&(V.suggestions=JSON.stringify(R.getSuggestions({toJSON:!0,skipNotAttached:!0}))),V}_getEditables(){const a={};for(const c of this.editor.model.document.getRootNames()){const u=this.editor.ui.getEditableElement(c);u&&(a[c]=u)}return a}_isErrorComingFromThisItem(a){return mE(this._editor,a.context,this._excludedProps)}_cloneEditorConfiguration(a){return Fo(a,(c,u)=>ar(c)||"context"===u?c:void 0)}}class hE{constructor(a){this.editor=a,this._data=a.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",a=>{a.stop(),this.editor.model.enqueueChange({isUndoable:!1},c=>{this._restoreCollaborationData(),this._restoreEditorData(c)}),this.editor.data.fire("ready")},{priority:999})}_createNode(a,c){if("name"in c){const u=a.createElement(c.name,c.attributes);if(c.children)for(const E of c.children)u._appendChild(this._createNode(a,E));return u}return a.createText(c.data,c.attributes)}_restoreEditorData(a){const c=this.editor;Object.entries(this._data.roots).forEach(([u,{content:E,attributes:R}])=>{const V=JSON.parse(E),X=JSON.parse(R),et=c.model.document.getRoot(u);for(const[bt,vt]of X)a.setAttribute(bt,vt,et);for(const bt of V){const vt=this._createNode(a,bt);a.insert(vt,et,"end")}}),Object.entries(this._data.markers).forEach(([u,E])=>{const{document:R}=c.model,V=E,{rangeJSON:{start:X,end:et}}=V,bt=((Ae,ze)=>{var mn={};for(var xn in Ae)pE.call(Ae,xn)&&ze.indexOf(xn)<0&&(mn[xn]=Ae[xn]);if(null!=Ae&&Y_)for(var xn of Y_(Ae))ze.indexOf(xn)<0&&qo.call(Ae,xn)&&(mn[xn]=Ae[xn]);return mn})(V,["rangeJSON"]),vt=R.getRoot(X.root),Pt=a.createPositionFromPath(vt,X.path,X.stickiness),Wt=a.createPositionFromPath(vt,et.path,et.stickiness),he=a.createRange(Pt,Wt);a.addMarker(u,r4({range:he},bt))})}_restoreCollaborationData(){const a=JSON.parse(this._data.commentThreads),c=JSON.parse(this._data.suggestions);a.forEach(u=>{const E=this.editor.config.get("collaboration.channelId"),R=this.editor.plugins.get("CommentsRepository");R.hasCommentThread(u.threadId)&&R.getCommentThread(u.threadId).remove(),R.addCommentThread(r4({channelId:E},u))}),c.forEach(u=>{const E=this.editor.plugins.get("TrackChangesEditing");E.hasSuggestion(u.id)?E.getSuggestion(u.id).attributes=u.attributes:E.addSuggestionData(u)})}}const kh=Symbol("MainQueueId");class Vb{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(a){this._onEmptyCallbacks.push(a)}enqueue(a,c){const u=a===kh;this._activeActions++,this._queues.get(a)||this._queues.set(a,Promise.resolve());const E=Promise.all(u?this._queues.values():[this._queues.get(kh),this._queues.get(a)]).then(c),R=E.catch(()=>{});return this._queues.set(a,R),E.finally(()=>{this._activeActions--,this._queues.get(a)===R&&0===this._activeActions&&this._onEmptyCallbacks.forEach(V=>V())})}}function Gb(v){return Array.isArray(v)?v:[v]}class a4 extends(pp(N1(qf))){constructor(a,c={}){if(!Ud(a)&&void 0!==c.initialData)throw new z("editor-create-initial-data",null);var R,V;super(c),void 0===this.config.get("initialData")&&this.config.set("initialData",Ud(R=a)?(V=R)instanceof HTMLTextAreaElement?V.value:V.innerHTML:R),Ud(a)&&(this.sourceElement=a),this.model.document.createRoot();const u=!this.config.get("toolbar.shouldNotGroupWhenFull"),E=new $5(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:u});this.ui=new N5(this,E),function(R){if(!Ci(R.updateSourceElement))throw new z("attachtoform-missing-elementapi-interface",R);const V=R.sourceElement;if((X=V)&&"textarea"===X.tagName.toLowerCase()&&V.form){let X;const et=V.form,bt=()=>R.updateSourceElement();Ci(et.submit)&&(X=et.submit,et.submit=()=>{bt(),X.apply(et)}),et.addEventListener("submit",bt),R.on("destroy",()=>{et.removeEventListener("submit",bt),X&&(et.submit=X)})}var X}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(a,c={}){return new Promise(u=>{const E=new this(a,c);u(E.initPlugins().then(()=>E.ui.init(Ud(a)?a:null)).then(()=>E.data.init(E.config.get("initialData"))).then(()=>E.fire("ready")).then(()=>E))})}}function Ud(v){return ar(v)}a4.Context=va,a4.EditorWatchdog=$b,a4.ContextWatchdog=class extends V5{constructor(v,a={}){super(a),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new Vb,this._watchdogConfig=a,this._creator=c=>v.create(c),this._destructor=c=>c.destroy(),this._actionQueues.onEmpty(()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))})}setCreator(v){this._creator=v}setDestructor(v){this._destructor=v}get context(){return this._context}create(v={}){return this._actionQueues.enqueue(kh,()=>(this._contextConfig=v,this._create()))}getItem(v){return this._getWatchdog(v)._item}getItemState(v){return this._getWatchdog(v).state}add(v){const a=Gb(v);return Promise.all(a.map(c=>this._actionQueues.enqueue(c.id,()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let u;if(this._watchdogs.has(c.id))throw new Error(`Item with the given id is already added: '${c.id}'.`);if("editor"===c.type)return u=new $b(null,this._watchdogConfig),u.setCreator(c.creator),u._setExcludedProperties(this._contextProps),c.destructor&&u.setDestructor(c.destructor),this._watchdogs.set(c.id,u),u.on("error",(E,{error:R,causesRestart:V})=>{this._fire("itemError",{itemId:c.id,error:R}),V&&this._actionQueues.enqueue(c.id,()=>new Promise(X=>{const et=()=>{u.off("restart",et),this._fire("itemRestart",{itemId:c.id}),X()};u.on("restart",et)}))}),u.create(c.sourceElementOrData,c.config,this._context);throw new Error(`Not supported item type: '${c.type}'.`)})))}remove(v){const a=Gb(v);return Promise.all(a.map(c=>this._actionQueues.enqueue(c,()=>{const u=this._getWatchdog(c);return this._watchdogs.delete(c),u.destroy()})))}destroy(){return this._actionQueues.enqueue(kh,()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_restart(){return this._actionQueues.enqueue(kh,()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch(v=>{console.error("An error happened during destroying the context or items.",v)}).then(()=>this._create()).then(()=>this._fire("restart"))))}_create(){return Promise.resolve().then(()=>(this._startErrorHandling(),this._creator(this._contextConfig))).then(v=>(this._context=v,this._contextProps=G5(this._context),Promise.all(Array.from(this._watchdogs.values()).map(a=>(a._setExcludedProperties(this._contextProps),a.create(void 0,void 0,this._context))))))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling();const v=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map(a=>a.destroy())).then(()=>this._destructor(v))})}_getWatchdog(v){const a=this._watchdogs.get(v);if(!a)throw new Error(`Item with the given id was not registered: ${v}.`);return a}_isErrorComingFromThisItem(v){for(const a of this._watchdogs.values())if(a._isErrorComingFromThisItem(v))return!1;return mE(this._context,v.context)}};class No extends rd{constructor(a){super(a),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const c=this.document;function u(E){return(R,V)=>{V.preventDefault();const X=V.dropRange?[V.dropRange]:null,et=new I(c,E);c.fire(et,{dataTransfer:V.dataTransfer,method:R.name,targetRanges:X,target:V.target,domEvent:V.domEvent}),et.stop.called&&V.stopPropagation()}}this.listenTo(c,"paste",u("clipboardInput"),{priority:"low"}),this.listenTo(c,"drop",u("clipboardInput"),{priority:"low"}),this.listenTo(c,"dragover",u("dragging"),{priority:"low"})}onDomEvent(a){const E={dataTransfer:new wf("clipboardData"in a?a.clipboardData:a.dataTransfer,{cacheFiles:"drop"==a.type||"paste"==a.type})};"drop"!=a.type&&"dragover"!=a.type||(E.dropRange=function(R,V){const X=V.target.ownerDocument,et=V.clientX,bt=V.clientY;let vt;return X.caretRangeFromPoint&&X.caretRangeFromPoint(et,bt)?vt=X.caretRangeFromPoint(et,bt):V.rangeParent&&(vt=X.createRange(),vt.setStart(V.rangeParent,V.rangeOffset),vt.collapse(!0)),vt?R.domConverter.domRangeToView(vt):null}(this.view,a)),this.fire(a.type,a,E)}}const wh=["figcaption","li"],U_=["ol","ul"];function J_(v){if(v.is("$text")||v.is("$textProxy"))return v.data;if(v.is("element","img")&&v.hasAttribute("alt"))return v.getAttribute("alt");if(v.is("element","br"))return"\n";let a="",c=null;for(const u of v.getChildren())a+=H5(u,c)+J_(u),c=u;return a}function H5(v,a){return a?v.is("element","li")&&!v.isEmpty&&v.getChild(0).is("containerElement")||U_.includes(v.name)&&U_.includes(a.name)?"\n\n":v.is("containerElement")||a.is("containerElement")?wh.includes(v.name)||wh.includes(a.name)?"\n":"\n\n":"":""}class ss extends j{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(No),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(a,c,u){const E=this.editor.model.getSelectedContent(c);this.fire("outputTransformation",{dataTransfer:a,content:E,method:u})}_setupPasteDrop(){const a=this.editor,c=a.model,u=a.editing.view,E=u.document;this.listenTo(E,"clipboardInput",(R,V)=>{"paste"!=V.method||a.model.canEditAt(a.model.document.selection)||R.stop()},{priority:"highest"}),this.listenTo(E,"clipboardInput",(R,V)=>{const X=V.dataTransfer;let et;if(V.content)et=V.content;else{let Pt="";X.getData("text/html")?Pt=X.getData("text/html").replace(/(\s+)<\/span>/g,(he,Ae)=>1==Ae.length?" ":Ae).replace(//g,""):X.getData("text/plain")&&(((bt=(bt=X.getData("text/plain")).replace(/&/g,"&").replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  ")).includes("

")||bt.includes("
"))&&(bt=`

${bt}

`),Pt=bt),et=this.editor.data.htmlProcessor.toView(Pt)}var bt;const vt=new I(this,"inputTransformation");this.fire(vt,{content:et,dataTransfer:X,targetRanges:V.targetRanges,method:V.method}),vt.stop.called&&R.stop(),u.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(R,V)=>{if(V.content.isEmpty)return;const X=this.editor.data.toModel(V.content,"$clipboardHolder");0!=X.childCount&&(R.stop(),c.change(()=>{this.fire("contentInsertion",{content:X,method:V.method,dataTransfer:V.dataTransfer,targetRanges:V.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(R,V)=>{V.resultRange=c.insertContent(V.content)},{priority:"low"})}_setupCopyCut(){const a=this.editor,c=a.model.document,u=a.editing.view.document,E=(R,V)=>{const X=V.dataTransfer;V.preventDefault(),this._fireOutputTransformationEvent(X,c.selection,R.name)};this.listenTo(u,"copy",E,{priority:"low"}),this.listenTo(u,"cut",(R,V)=>{a.model.canEditAt(a.model.document.selection)?E(R,V):V.preventDefault()},{priority:"low"}),this.listenTo(this,"outputTransformation",(R,V)=>{const X=a.data.toView(V.content);u.fire("clipboardOutput",{dataTransfer:V.dataTransfer,content:X,method:V.method})},{priority:"low"}),this.listenTo(u,"clipboardOutput",(R,V)=>{V.content.isEmpty||(V.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(V.content)),V.dataTransfer.setData("text/plain",J_(V.content))),"cut"==V.method&&a.model.deleteContent(c.selection)},{priority:"low"})}}class Bb{constructor(a,c=20){this._batch=null,this.model=a,this._size=0,this.limit=c,this._isLocked=!1,this._changeCallback=(u,E)=>{E.isLocal&&E.isUndoable&&E!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(a){this._size+=a,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(a=!1){this.isLocked&&!a||(this._batch=null,this._size=0)}}class Y5 extends ri{constructor(a,c){super(a),this._buffer=new Bb(a.model,c),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(a={}){const c=this.editor.model,u=c.document,E=a.text||"",R=E.length;let V=u.selection;if(a.selection?V=a.selection:a.range&&(V=c.createSelection(a.range)),!c.canEditAt(V))return;const X=a.resultRange;c.enqueueChange(this._buffer.batch,et=>{this._buffer.lock();const bt=Array.from(u.selection.getAttributes());c.deleteContent(V),E&&c.insertContent(et.createText(E,bt),V),X?et.setSelection(X):V.is("documentSelection")||et.setSelection(V),this._buffer.unlock(),this._buffer.input(R)})}}const r2=["insertText","insertReplacementText"];class vi extends ml{constructor(a){super(a),this.focusObserver=a.getObserver(k1),_.isAndroid&&r2.push("insertCompositionText");const c=a.document;c.on("beforeinput",(u,E)=>{if(!this.isEnabled)return;const{data:R,targetRanges:V,inputType:X,domEvent:et}=E;if(!r2.includes(X))return;this.focusObserver.flush();const bt=new I(c,"insertText");c.fire(bt,new Bp(a,et,{text:R,selection:a.createSelection(V)})),bt.stop.called&&u.stop()}),c.on("compositionend",(u,{data:E,domEvent:R})=>{this.isEnabled&&!_.isAndroid&&E&&c.fire("insertText",new Bp(a,R,{text:E,selection:c.selection}))},{priority:"lowest"})}observe(){}stopObserving(){}}class On extends j{static get pluginName(){return"Input"}init(){const a=this.editor,c=a.model,u=a.editing.view,E=c.document.selection;u.addObserver(vi);const R=new Y5(a,a.config.get("typing.undoStep")||20);a.commands.add("insertText",R),a.commands.add("input",R),this.listenTo(u.document,"insertText",(V,X)=>{u.document.isComposing||X.preventDefault();const{text:et,selection:bt,resultRange:vt}=X,Pt=Array.from(bt.getRanges()).map(Ae=>a.editing.mapper.toModelRange(Ae));let Wt=et;if(_.isAndroid){const Ae=Array.from(Pt[0].getItems()).reduce((ze,mn)=>ze+(mn.is("$textProxy")?mn.data:""),"");Ae&&(Ae.length<=Wt.length?Wt.startsWith(Ae)&&(Wt=Wt.substring(Ae.length),Pt[0].start=Pt[0].start.getShiftedBy(Ae.length)):Ae.startsWith(Wt)&&(Pt[0].start=Pt[0].start.getShiftedBy(Wt.length),Wt=""))}const he={text:Wt,selection:c.createSelection(Pt)};vt&&(he.resultRange=a.editing.mapper.toModelRange(vt)),a.execute("insertText",he),u.scrollToTheSelection()}),_.isAndroid?this.listenTo(u.document,"keydown",(V,X)=>{!E.isCollapsed&&229==X.keyCode&&u.document.isComposing&&pt(c,R)}):this.listenTo(u.document,"compositionstart",()=>{E.isCollapsed||pt(c,R)})}}function pt(v,a){if(!a.isEnabled)return;const c=a.buffer;c.lock(),v.enqueueChange(c.batch,()=>{v.deleteContent(v.document.selection)}),c.unlock()}class xh extends ri{constructor(a,c){super(a),this.direction=c,this._buffer=new Bb(a.model,a.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(a={}){const c=this.editor.model,u=c.document;c.enqueueChange(this._buffer.batch,E=>{this._buffer.lock();const R=E.createSelection(a.selection||u.selection);if(!c.canEditAt(R))return;const V=a.sequence||1,X=R.isCollapsed;if(R.isCollapsed&&c.modifySelection(R,{direction:this.direction,unit:a.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(V))return void this._replaceEntireContentWithParagraph(E);if(this._shouldReplaceFirstBlockWithParagraph(R,V))return void this.editor.execute("paragraph",{selection:R});if(R.isCollapsed)return;let et=0;R.getFirstRange().getMinimalFlatRanges().forEach(bt=>{et+=Jt(bt.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),c.deleteContent(R,{doNotResetEntireContent:X,direction:this.direction}),this._buffer.input(et),E.setSelection(R),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(a){if(a>1)return!1;const c=this.editor.model,u=c.document.selection,E=c.schema.getLimitElement(u);if(!u.isCollapsed||!u.containsEntireContent(E)||!c.schema.checkChild(E,"paragraph"))return!1;const R=E.getChild(0);return!R||!R.is("element","paragraph")}_replaceEntireContentWithParagraph(a){const c=this.editor.model,E=c.schema.getLimitElement(c.document.selection),R=a.createElement("paragraph");a.remove(a.createRangeIn(E)),a.insert(R,E),a.setSelection(R,0)}_shouldReplaceFirstBlockWithParagraph(a,c){const u=this.editor.model;if(c>1||"backward"!=this.direction||!a.isCollapsed)return!1;const E=a.getFirstPosition(),R=u.schema.getLimitElement(E),V=R.getChild(0);return E.parent==V&&!!a.containsEntireContent(V)&&!!u.schema.checkChild(R,"paragraph")&&"paragraph"!=V.name}}const Mh="selection",g0="backward",Th="forward",zb={deleteContent:{unit:Mh,direction:g0},deleteContentBackward:{unit:"codePoint",direction:g0},deleteWordBackward:{unit:"word",direction:g0},deleteHardLineBackward:{unit:Mh,direction:g0},deleteSoftLineBackward:{unit:Mh,direction:g0},deleteContentForward:{unit:"character",direction:Th},deleteWordForward:{unit:"word",direction:Th},deleteHardLineForward:{unit:Mh,direction:Th},deleteSoftLineForward:{unit:Mh,direction:Th}};class Fp extends ml{constructor(a){super(a);const c=a.document;let u=0;c.on("keydown",()=>{u++}),c.on("keyup",()=>{u=0}),c.on("beforeinput",(E,R)=>{if(!this.isEnabled)return;const{targetRanges:V,domEvent:X,inputType:et}=R,bt=zb[et];if(!bt)return;const vt={direction:bt.direction,unit:bt.unit,sequence:u};vt.unit==Mh&&(vt.selectionToRemove=a.createSelection(V[0])),"deleteContentBackward"===et&&(_.isAndroid&&(vt.sequence=1),function(Wt){if(1!=Wt.length||Wt[0].isCollapsed)return!1;const he=Wt[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let Ae=0;for(const{nextPosition:ze}of he){if(ze.parent.is("$text")){const mn=ze.parent.data,xn=ze.offset;if(Ze(mn,xn)||Kl(mn,xn)||Go(mn,xn))continue;Ae++}else Ae++;if(Ae>1)return!0}return!1}(V)&&(vt.unit=Mh,vt.selectionToRemove=a.createSelection(V)));const Pt=new Pa(c,"delete",V[0]);c.fire(Pt,new Bp(a,X,vt)),Pt.stop.called&&E.stop()}),_.isBlink&&function(E){const R=E.view,V=R.document;let X=null,et=!1;function bt(Pt){return Pt==er.backspace||Pt==er.delete}function vt(Pt){return Pt==er.backspace?g0:Th}V.on("keydown",(Pt,{keyCode:Wt})=>{X=Wt,et=!1}),V.on("keyup",(Pt,{keyCode:Wt,domEvent:he})=>{const Ae=V.selection,ze=E.isEnabled&&Wt==X&&bt(Wt)&&!Ae.isCollapsed&&!et;if(X=null,ze){const mn=Ae.getFirstRange(),xn=new Pa(V,"delete",mn),ti={unit:Mh,direction:vt(Wt),selectionToRemove:Ae};V.fire(xn,new Bp(R,he,ti))}}),V.on("beforeinput",(Pt,{inputType:Wt})=>{const he=zb[Wt];bt(X)&&he&&he.direction==vt(X)&&(et=!0)},{priority:"high"}),V.on("beforeinput",(Pt,{inputType:Wt,data:he})=>{X==er.delete&&"insertText"==Wt&&"\x7f"==he&&Pt.stop()},{priority:"high"})}(this)}observe(){}stopObserving(){}}class mu extends j{static get pluginName(){return"Delete"}init(){const a=this.editor,c=a.editing.view,u=c.document,E=a.model.document;c.addObserver(Fp),this._undoOnBackspace=!1;const R=new xh(a,"forward");a.commands.add("deleteForward",R),a.commands.add("forwardDelete",R),a.commands.add("delete",new xh(a,"backward")),this.listenTo(u,"delete",(V,X)=>{u.isComposing||X.preventDefault();const{direction:et,sequence:bt,selectionToRemove:vt,unit:Pt}=X,Wt="forward"===et?"deleteForward":"delete",he={sequence:bt};if("selection"==Pt){const Ae=Array.from(vt.getRanges()).map(ze=>a.editing.mapper.toModelRange(ze));he.selection=a.model.createSelection(Ae)}else he.unit=Pt;a.execute(Wt,he),c.scrollToTheSelection()},{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(u,"delete",(V,X)=>{this._undoOnBackspace&&"backward"==X.direction&&1==X.sequence&&"codePoint"==X.unit&&(this._undoOnBackspace=!1,a.execute("undo"),X.preventDefault(),V.stop())},{context:"$capture"}),this.listenTo(E,"change",()=>{this._undoOnBackspace=!1}))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class Uy extends j{static get requires(){return[On,mu]}static get pluginName(){return"Typing"}}function _0(v,a){let c=v.start;return{text:Array.from(v.getWalker({ignoreElementEnd:!1})).reduce((u,{item:E})=>E.is("$text")||E.is("$textProxy")?u+E.data:(c=a.createPositionAfter(E),""),""),range:a.createRange(c,v.end)}}class Hb extends(kt()){constructor(a,c){super(),this.model=a,this.testCallback=c,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(a.document.selection),this.stopListening(a.document))}),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const a=this.model.document;this.listenTo(a.selection,"change:range",(c,{directChange:u})=>{u&&(a.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))}),this.listenTo(a,"change:data",(c,u)=>{!u.isUndo&&u.isLocal&&this._evaluateTextBeforeSelection("data",{batch:u})})}_evaluateTextBeforeSelection(a,c={}){const u=this.model,E=u.document.selection,R=u.createRange(u.createPositionAt(E.focus.parent,0),E.focus),{text:V,range:X}=_0(R,u),et=this.testCallback(V);if(!et&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!et,et){const bt=Object.assign(c,{text:V,range:X});"object"==typeof et&&Object.assign(bt,et),this.fire(`matched:${a}`,bt)}}}class X_ extends j{constructor(a){super(a),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const a=this.editor,E=a.locale,R=a.model.document.selection;this.listenTo(a.editing.view.document,"arrowKey",(V,X)=>{if(!R.isCollapsed||X.shiftKey||X.altKey||X.ctrlKey)return;const et=X.keyCode==er.arrowright,bt=X.keyCode==er.arrowleft;if(!et&&!bt)return;const vt=E.contentLanguageDirection;let Pt=!1;Pt="ltr"===vt&&et||"rtl"===vt&&bt?this._handleForwardMovement(X):this._handleBackwardMovement(X),!0===Pt&&V.stop()},{context:"$text",priority:"highest"}),this.listenTo(R,"change:range",(V,X)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!X.directChange&&ju(R.getFirstPosition(),this.attributes)||this._restoreGravity())}),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(a){this.attributes.add(a)}_handleForwardMovement(a){const c=this.attributes,u=this.editor.model,E=u.document.selection,R=E.getFirstPosition();return!(this._isGravityOverridden||R.isAtStart&&vp(E,c)||!ju(R,c)||(s4(a),vp(E,c)&&ju(R,c,!0)?Ep(u,c):this._overrideGravity(),0))}_handleBackwardMovement(a){const c=this.attributes,u=this.editor.model,E=u.document.selection,R=E.getFirstPosition();return this._isGravityOverridden?(s4(a),this._restoreGravity(),ju(R,c,!0)?Ep(u,c):Ou(u,c,R),!0):R.isAtStart?!!vp(E,c)&&(s4(a),Ou(u,c,R),!0):!vp(E,c)&&ju(R,c,!0)?(s4(a),Ou(u,c,R),!0):!!U5(R,c)&&(R.isAtEnd&&!vp(E,c)&&ju(R,c)?(s4(a),Ou(u,c,R),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const a=this.editor,c=a.model,u=c.document.selection,E=a.editing.view.document;a.editing.view.addObserver(Cm);let R=!1;this.listenTo(E,"mousedown",()=>{R=!0}),this.listenTo(E,"selectionChange",()=>{const V=this.attributes;if(!R||(R=!1,!u.isCollapsed)||!vp(u,V))return;const X=u.getFirstPosition();ju(X,V)&&(X.isAtStart||ju(X,V,!0)?Ep(c,V):this._isGravityOverridden||this._overrideGravity())})}_enableInsertContentSelectionAttributesFixer(){const a=this.editor.model,c=a.document.selection,u=this.attributes;this.listenTo(a,"insertContent",()=>{const E=c.getFirstPosition();vp(c,u)&&ju(E,u)&&Ep(a,u)},{priority:"low"})}_handleDeleteContentAfterNode(){const a=this.editor,c=a.model,u=c.document.selection;let R=!1,V=!1;this.listenTo(a.editing.view.document,"delete",(X,et)=>{R="backward"===et.direction},{priority:"high"}),this.listenTo(c,"deleteContent",()=>{if(!R)return;const X=u.getFirstPosition();V=vp(u,this.attributes)&&!U5(X,this.attributes)},{priority:"high"}),this.listenTo(c,"deleteContent",()=>{R&&(R=!1,V||a.model.enqueueChange(()=>{const X=u.getFirstPosition();vp(u,this.attributes)&&ju(X,this.attributes)&&(X.isAtStart||ju(X,this.attributes,!0)?Ep(c,this.attributes):this._isGravityOverridden||this._overrideGravity())}))},{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(a=>a.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(a=>{a.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function vp(v,a){for(const c of a)if(v.hasAttribute(c))return!0;return!1}function Ou(v,a,c){const u=c.nodeBefore;v.change(E=>{if(u){const R=[],V=v.schema.isObject(u)&&v.schema.isInline(u);for(const[X,et]of u.getAttributes())!v.schema.checkAttribute("$text",X)||V&&!1===v.schema.getAttributeProperties(X).copyFromObject||R.push([X,et]);E.setSelectionAttribute(R)}else E.removeSelectionAttribute(a)})}function Ep(v,a){v.change(c=>{c.removeSelectionAttribute(a)})}function s4(v){v.preventDefault()}function U5(v,a){return ju(v.getShiftedBy(-1),a)}function ju(v,a,c=!1){const{nodeBefore:u,nodeAfter:E}=v;for(const R of a){const V=u?u.getAttribute(R):void 0,X=E?E.getAttribute(R):void 0;if((!c||void 0!==V&&void 0!==X)&&X!==V)return!0}return!1}const J5={copyright:{from:"(c)",to:"\xa9"},registeredTrademark:{from:"(r)",to:"\xae"},trademark:{from:"(tm)",to:"\u2122"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"\xbd",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"\u2153",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"\u2154",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"\xbc",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"\xbe",null]},lessThanOrEqual:{from:"<=",to:"\u2264"},greaterThanOrEqual:{from:">=",to:"\u2265"},notEqual:{from:"!=",to:"\u2260"},arrowLeft:{from:"<-",to:"\u2190"},arrowRight:{from:"->",to:"\u2192"},horizontalEllipsis:{from:"...",to:"\u2026"},enDash:{from:/(^| )(--)( )$/,to:[null,"\u2013",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"\u2014",null]},quotesPrimary:{from:b0('"'),to:[null,"\u201c",null,"\u201d"]},quotesSecondary:{from:b0("'"),to:[null,"\u2018",null,"\u2019"]},quotesPrimaryEnGb:{from:b0("'"),to:[null,"\u2018",null,"\u2019"]},quotesSecondaryEnGb:{from:b0('"'),to:[null,"\u201c",null,"\u201d"]},quotesPrimaryPl:{from:b0('"'),to:[null,"\u201e",null,"\u201d"]},quotesSecondaryPl:{from:b0("'"),to:[null,"\u201a",null,"\u2019"]}},Yb={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},X5=["symbols","mathematical","typography","quotes"];function fE(v){return"string"==typeof v?new RegExp(`(${h0(v)})$`):v}function gE(v){return"string"==typeof v?()=>[v]:v instanceof Array?()=>v:v}function q_(v){return(v.textNode?v.textNode:v.nodeAfter).getAttributes()}function b0(v){return new RegExp(`(^|\\s)(${v})([^${v}]*)(${v})$`)}function Mm(v,a,c,u){return u.createRange(wr(v,a,c,!0,u),wr(v,a,c,!1,u))}function wr(v,a,c,u,E){let R=v.textNode||(u?v.nodeBefore:v.nodeAfter),V=null;for(;R&&R.getAttribute(a)==c;)V=R,R=u?R.previousSibling:R.nextSibling;return V?E.createPositionAt(V,u?"before":"after"):v}function*Tm(v,a){for(const c of a)c&&v.getAttributeProperties(c[0]).copyOnEnter&&(yield c)}class Ub extends ri{execute(){this.editor.model.change(a=>{this.enterBlock(a),this.fire("afterExecute",{writer:a})})}enterBlock(a){const c=this.editor.model,u=c.document.selection,E=c.schema,R=u.isCollapsed,V=u.getFirstRange(),X=V.start.parent,et=V.end.parent;if(E.isLimit(X)||E.isLimit(et))return R||X!=et||c.deleteContent(u),!1;if(R){const bt=Tm(a.model.schema,u.getAttributes());return Jb(a,V.start),a.setSelectionAttribute(bt),!0}{const bt=!(V.start.isAtStart&&V.end.isAtEnd),vt=X==et;if(c.deleteContent(u,{leaveUnmerged:bt}),bt){if(vt)return Jb(a,u.focus),!0;a.setSelection(et,0)}}return!1}}function Jb(v,a){v.split(a),v.setSelection(a.parent.nextSibling,0)}const _E={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class Xb extends ml{constructor(a){super(a);const c=this.document;let u=!1;c.on("keydown",(E,R)=>{u=R.shiftKey}),c.on("beforeinput",(E,R)=>{if(!this.isEnabled)return;let V=R.inputType;_.isSafari&&u&&"insertParagraph"==V&&(V="insertLineBreak");const X=R.domEvent,et=_E[V];if(!et)return;const bt=new Pa(c,"enter",R.targetRanges[0]);c.fire(bt,new Bp(a,X,{isSoft:et.isSoft})),bt.stop.called&&E.stop()})}observe(){}stopObserving(){}}class a2 extends j{static get pluginName(){return"Enter"}init(){const a=this.editor,c=a.editing.view,u=c.document;c.addObserver(Xb),a.commands.add("enter",new Ub(a)),this.listenTo(u,"enter",(E,R)=>{u.isComposing||R.preventDefault(),R.isSoft||(a.execute("enter"),c.scrollToTheSelection())},{priority:"low"})}}class q5 extends ri{execute(){const a=this.editor.model,c=a.document;a.change(u=>{(function(E,R,V){const X=V.isCollapsed,et=V.getFirstRange(),vt=et.end.parent,Pt=et.start.parent==vt;if(X){const Wt=Tm(E.schema,V.getAttributes());qb(E,R,et.end),R.removeSelectionAttribute(V.getAttributeKeys()),R.setSelectionAttribute(Wt)}else{const Wt=!(et.start.isAtStart&&et.end.isAtEnd);E.deleteContent(V,{leaveUnmerged:Wt}),Pt?qb(E,R,V.focus):Wt&&R.setSelection(vt,0)}})(a,u,c.selection),this.fire("afterExecute",{writer:u})})}refresh(){const a=this.editor.model;this.isEnabled=function(u,E){if(E.rangeCount>1)return!1;const R=E.anchor;if(!R||!u.checkChild(R,"softBreak"))return!1;const V=E.getFirstRange(),X=V.start.parent,et=V.end.parent;return!((Wb(X,u)||Wb(et,u))&&X!==et)}(a.schema,a.document.selection)}}function qb(v,a,c){const u=a.createElement("softBreak");v.insertContent(u,c),a.setSelection(u,"after")}function Wb(v,a){return!v.is("rootElement")&&(a.isLimit(v)||Wb(v.parent,a))}class bE extends j{static get pluginName(){return"ShiftEnter"}init(){const a=this.editor,u=a.conversion,E=a.editing.view,R=E.document;a.model.schema.register("softBreak",{allowWhere:"$text",isInline:!0}),u.for("upcast").elementToElement({model:"softBreak",view:"br"}),u.for("downcast").elementToElement({model:"softBreak",view:(V,{writer:X})=>X.createEmptyElement("br")}),E.addObserver(Xb),a.commands.add("shiftEnter",new q5(a)),this.listenTo(R,"enter",(V,X)=>{R.isComposing||X.preventDefault(),X.isSoft&&(a.execute("shiftEnter"),E.scrollToTheSelection())},{priority:"low"})}}class FE extends(ft()){constructor(){super(...arguments),this._stack=[]}add(a,c){const u=this._stack,E=u[0];this._insertDescriptor(a);const R=u[0];E===R||F0(E,R)||this.fire("change:top",{oldDescriptor:E,newDescriptor:R,writer:c})}remove(a,c){const u=this._stack,E=u[0];this._removeDescriptor(a);const R=u[0];E===R||F0(E,R)||this.fire("change:top",{oldDescriptor:E,newDescriptor:R,writer:c})}_insertDescriptor(a){const c=this._stack,u=c.findIndex(R=>R.id===a.id);if(F0(a,c[u]))return;u>-1&&c.splice(u,1);let E=0;for(;c[E]&&Kb(c[E],a);)E++;c.splice(E,0,a)}_removeDescriptor(a){const c=this._stack,u=c.findIndex(E=>E.id===a);u>-1&&c.splice(u,1)}}function F0(v,a){return v&&a&&v.priority==a.priority&&c4(v.classes)==c4(a.classes)}function Kb(v,a){return v.priority>a.priority||!(v.priorityc4(a.classes)}function c4(v){return Array.isArray(v)?v.sort().join(","):v}const W_='',Qb="ck-widget",W5="ck-widget_selected";function Tl(v){return!!v.is("element")&&!!v.getCustomProperty("widget")}function l4(v,a,c={}){if(!v.is("containerElement"))throw new z("widget-to-widget-wrong-element-type",null,{element:v});return a.setAttribute("contenteditable","false",v),a.addClass(Qb,v),a.setCustomProperty("widget",!0,v),v.getFillerOffset=K5,a.setCustomProperty("widgetLabel",[],v),c.label&&(E=c.label,v.getCustomProperty("widgetLabel").push(E)),c.hasSelectionHandle&&function(u,E){const R=E.createUIElement("div",{class:"ck ck-widget__selection-handle"},function(V){const X=this.toDomElement(V),et=new di;return et.set("content",W_),et.render(),X.appendChild(et.element),X});E.insert(E.createPositionAt(u,0),R),E.addClass(["ck-widget_with-selection-handle"],u)}(v,a),K_(v,a),v;var E}function vE(v,a,c){if(a.classes&&c.addClass(ua(a.classes),v),a.attributes)for(const u in a.attributes)c.setAttribute(u,a.attributes[u],v)}function Zb(v,a,c){if(a.classes&&c.removeClass(ua(a.classes),v),a.attributes)for(const u in a.attributes)c.removeAttribute(u,v)}function K_(v,a,c=vE,u=Zb){const E=new FE;E.on("change:top",(R,V)=>{V.oldDescriptor&&u(v,V.oldDescriptor,V.writer),V.newDescriptor&&c(v,V.newDescriptor,V.writer)}),a.setCustomProperty("addHighlight",(R,V,X)=>E.add(V,X),v),a.setCustomProperty("removeHighlight",(R,V,X)=>E.remove(V,X),v)}function Q_(v,a,c={}){return a.addClass(["ck-editor__editable","ck-editor__nested-editable"],v),a.setAttribute("role","textbox",v),c.label&&a.setAttribute("aria-label",c.label,v),a.setAttribute("contenteditable",v.isReadOnly?"false":"true",v),v.on("change:isReadOnly",(u,E,R)=>{a.setAttribute("contenteditable",R?"false":"true",v)}),v.on("change:isFocused",(u,E,R)=>{R?a.addClass("ck-editor__nested-editable_focused",v):a.removeClass("ck-editor__nested-editable_focused",v)}),K_(v,a),v}function tF(v,a){const c=v.getSelectedElement();if(c){const u=Im(v);if(u)return a.createRange(a.createPositionAt(c,u))}return Fm(v,a)}function K5(){return null}const Dm="widget-type-around";function s2(v,a,c){return!!v&&Tl(v)&&!c.isInline(a)}function Im(v){return v.getAttribute(Dm)}var Q5=A(4921);ao()(Q5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const nF=["before","after"],Z_=(new DOMParser).parseFromString('',"image/svg+xml").firstChild,EE="ck-widget__type-around_disabled";class CE extends j{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[a2,mu]}init(){const a=this.editor,c=a.editing.view;this.on("change:isEnabled",(u,E,R)=>{c.change(V=>{for(const X of c.document.roots)R?V.removeClass(EE,X):V.addClass(EE,X)}),R||a.model.change(V=>{V.removeSelectionAttribute(Dm)})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(a,c){const u=this.editor,E=u.editing.view,R=u.model.schema.getAttributesWithProperty(a,"copyOnReplace",!0);u.execute("insertParagraph",{position:u.model.createPositionAt(a,c),attributes:R}),E.focus(),E.scrollToTheSelection()}_listenToIfEnabled(a,c,u,E){this.listenTo(a,c,(...R)=>{this.isEnabled&&u(...R)},E)}_insertParagraphAccordingToFakeCaretPosition(){const a=this.editor.model.document.selection,c=Im(a);if(!c)return!1;const u=a.getSelectedElement();return this._insertParagraph(u,c),!0}_enableTypeAroundUIInjection(){const a=this.editor,c=a.model.schema,u=a.locale.t,E={before:u("Insert paragraph before block"),after:u("Insert paragraph after block")};a.editing.downcastDispatcher.on("insert",(R,V,X)=>{const et=X.mapper.toViewElement(V.item);et&&s2(et,V.item,c)&&(function(bt,vt,Pt){const Wt=bt.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},function(he){const Ae=this.toDomElement(he);return function(ze,mn){for(const xn of nF){const ti=new vl({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${xn}`],title:mn[xn],"aria-hidden":"true"},children:[ze.ownerDocument.importNode(Z_,!0)]});ze.appendChild(ti.render())}}(Ae,vt),function(ze){const mn=new vl({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});ze.appendChild(mn.render())}(Ae),Ae});bt.insert(bt.createPositionAt(Pt,"end"),Wt)}(X.writer,E,et),et.getCustomProperty("widgetLabel").push(()=>this.isEnabled?u("Press Enter to type after or press Shift + Enter to type before the widget"):""))},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const a=this.editor,c=a.model,u=c.document.selection,E=c.schema;function V(X){return`ck-widget_type-around_show-fake-caret_${X}`}this._listenToIfEnabled(a.editing.view.document,"arrowKey",(X,et)=>{this._handleArrowKeyPress(X,et)},{context:[Tl,"$text"],priority:"high"}),this._listenToIfEnabled(u,"change:range",(X,et)=>{et.directChange&&a.model.change(bt=>{bt.removeSelectionAttribute(Dm)})}),this._listenToIfEnabled(c.document,"change:data",()=>{const X=u.getSelectedElement();X&&s2(a.editing.mapper.toViewElement(X),X,E)||a.model.change(et=>{et.removeSelectionAttribute(Dm)})}),this._listenToIfEnabled(a.editing.downcastDispatcher,"selection",(X,et,bt)=>{const vt=bt.writer;if(this._currentFakeCaretModelElement){const Ae=bt.mapper.toViewElement(this._currentFakeCaretModelElement);Ae&&(vt.removeClass(nF.map(V),Ae),this._currentFakeCaretModelElement=null)}const Pt=et.selection.getSelectedElement();if(!Pt)return;const Wt=bt.mapper.toViewElement(Pt);if(!s2(Wt,Pt,E))return;const he=Im(et.selection);he&&(vt.addClass(V(he),Wt),this._currentFakeCaretModelElement=Pt)}),this._listenToIfEnabled(a.ui.focusTracker,"change:isFocused",(X,et,bt)=>{bt||a.model.change(vt=>{vt.removeSelectionAttribute(Dm)})})}_handleArrowKeyPress(a,c){const u=this.editor,E=u.model,R=E.document.selection,V=E.schema,X=u.editing.view,et=function(Pt,Wt){const he=ba(Pt,Wt);return"down"===he||"right"===he}(c.keyCode,u.locale.contentLanguageDirection),bt=X.document.selection.getSelectedElement();let vt;s2(bt,u.editing.mapper.toModelElement(bt),V)?vt=this._handleArrowKeyPressOnSelectedWidget(et):R.isCollapsed?vt=this._handleArrowKeyPressWhenSelectionNextToAWidget(et):c.shiftKey||(vt=this._handleArrowKeyPressWhenNonCollapsedSelection(et)),vt&&(c.preventDefault(),a.stop())}_handleArrowKeyPressOnSelectedWidget(a){const c=this.editor.model,u=Im(c.document.selection);return c.change(E=>u?u!==(a?"after":"before")&&(E.removeSelectionAttribute(Dm),!0):(E.setSelectionAttribute(Dm,a?"after":"before"),!0))}_handleArrowKeyPressWhenSelectionNextToAWidget(a){const c=this.editor,u=c.model,E=u.schema,R=c.plugins.get("Widget"),V=R._getObjectElementNextToSelection(a);return!!s2(c.editing.mapper.toViewElement(V),V,E)&&(u.change(X=>{R._setSelectionOverElement(V),X.setSelectionAttribute(Dm,a?"before":"after")}),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(a){const c=this.editor,u=c.model,E=u.schema,R=c.editing.mapper,V=u.document.selection,X=a?V.getLastPosition().nodeBefore:V.getFirstPosition().nodeAfter;return!!s2(R.toViewElement(X),X,E)&&(u.change(et=>{et.setSelection(X,"on"),et.setSelectionAttribute(Dm,a?"after":"before")}),!0)}_enableInsertingParagraphsOnButtonClick(){const a=this.editor,c=a.editing.view;this._listenToIfEnabled(c.document,"mousedown",(u,E)=>{const R=E.domTarget.closest(".ck-widget__type-around__button");if(!R)return;const V=R.classList.contains("ck-widget__type-around__button_before")?"before":"after",X=function(bt,vt){const Pt=bt.closest(".ck-widget");return vt.mapDomToView(Pt)}(R,c.domConverter),et=a.editing.mapper.toModelElement(X);this._insertParagraph(et,V),E.preventDefault(),u.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const a=this.editor,c=a.model.document.selection;this._listenToIfEnabled(a.editing.view.document,"enter",(E,R)=>{if("atTarget"!=E.eventPhase)return;const V=c.getSelectedElement(),X=a.editing.mapper.toViewElement(V),et=a.model.schema;let bt;this._insertParagraphAccordingToFakeCaretPosition()?bt=!0:s2(X,V,et)&&(this._insertParagraph(V,R.isSoft?"before":"after"),bt=!0),bt&&(R.preventDefault(),E.stop())},{context:Tl})}_enableInsertingParagraphsOnTypingKeystroke(){const a=this.editor.editing.view.document;this._listenToIfEnabled(a,"insertText",(c,u)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(u.selection=a.selection)},{priority:"high"}),_.isAndroid?this._listenToIfEnabled(a,"keydown",(c,u)=>{229==u.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()}):this._listenToIfEnabled(a,"compositionstart",()=>{this._insertParagraphAccordingToFakeCaretPosition()},{priority:"high"})}_enableDeleteIntegration(){const a=this.editor,u=a.model,E=u.schema;this._listenToIfEnabled(a.editing.view.document,"delete",(R,V)=>{if("atTarget"!=R.eventPhase)return;const X=Im(u.document.selection);if(!X)return;const et=V.direction,bt=u.document.selection.getSelectedElement(),vt="forward"==et;if("before"===X===vt)a.execute("delete",{selection:u.createSelection(bt,"on")});else{const Pt=E.getNearestSelectionRange(u.createPositionAt(bt,X),et);if(Pt)if(Pt.isCollapsed){const Wt=u.createSelection(Pt.start);if(u.modifySelection(Wt,{direction:et}),Wt.focus.isEqual(Pt.start)){const he=function(Ae,ze){let mn=ze;for(const xn of ze.getAncestors({parentFirst:!0})){if(xn.childCount>1||Ae.isLimit(xn))break;mn=xn}return mn}(E,Pt.start.parent);u.deleteContent(u.createSelection(he,"on"),{doNotAutoparagraph:!0})}else u.change(he=>{he.setSelection(Pt),a.execute(vt?"deleteForward":"delete")})}else u.change(Wt=>{Wt.setSelection(Pt),a.execute(vt?"deleteForward":"delete")})}V.preventDefault(),R.stop()},{context:Tl})}_enableInsertContentIntegration(){const c=this.editor.model,u=c.document.selection;this._listenToIfEnabled(this.editor.model,"insertContent",(E,[R,V])=>{if(V&&!V.is("documentSelection"))return;const X=Im(u);return X?(E.stop(),c.change(et=>{const bt=u.getSelectedElement(),vt=c.createPositionAt(bt,X),Pt=et.createSelection(vt),Wt=c.insertContent(R,Pt);return et.setSelection(Pt),Wt})):void 0},{priority:"high"})}_enableInsertObjectIntegration(){const c=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"insertObject",(u,E)=>{const[,R,V={}]=E;if(R&&!R.is("documentSelection"))return;const X=Im(c);X&&(V.findOptimalPosition=X,E[3]=V)},{priority:"high"})}_enableDeleteContentIntegration(){const c=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"deleteContent",(u,[E])=>{E&&!E.is("documentSelection")||Im(c)&&u.stop()},{priority:"high"})}}function iF(v,a,c){const u=v.schema,E=v.createRangeIn(a.root),R="forward"==c?"elementStart":"elementEnd";for(const{previousPosition:V,item:X,type:et}of E.getWalker({startPosition:a,direction:c})){if(u.isLimit(X)&&!u.isInline(X))return V;if(et==R&&u.isBlock(X))return null}return null}function oF(v,a,c){const u="backward"==c?a.end:a.start;if(v.checkChild(u,"$text"))return u;for(const{nextPosition:E}of a.getWalker({direction:c}))if(v.checkChild(E,"$text"))return E;return null}var e3=A(3488);ao()(e3.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Dh extends j{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[CE,mu]}init(){const a=this.editor,c=a.editing.view,u=c.document;this.editor.editing.downcastDispatcher.on("selection",(E,R,V)=>{const X=V.writer,et=R.selection;if(et.isCollapsed)return;const bt=et.getSelectedElement();if(!bt)return;const vt=a.editing.mapper.toViewElement(bt);var Pt;Tl(vt)&&V.consumable.consume(et,"selection")&&X.setSelection(X.createRangeOn(vt),{fake:!0,label:(Pt=vt,Pt.getCustomProperty("widgetLabel").reduce((Wt,he)=>"function"==typeof he?Wt?Wt+". "+he():he():Wt?Wt+". "+he:he,""))})}),this.editor.editing.downcastDispatcher.on("selection",(E,R,V)=>{this._clearPreviouslySelectedWidgets(V.writer);const X=V.writer,et=X.document.selection;let bt=null;for(const vt of et.getRanges())for(const Pt of vt){const Wt=Pt.item;Tl(Wt)&&!tv(Wt,bt)&&(X.addClass(W5,Wt),this._previouslySelected.add(Wt),bt=Wt)}},{priority:"low"}),c.addObserver(Cm),this.listenTo(u,"mousedown",(...E)=>this._onMousedown(...E)),this.listenTo(u,"arrowKey",(...E)=>{this._handleSelectionChangeOnArrowKeyPress(...E)},{context:[Tl,"$text"]}),this.listenTo(u,"arrowKey",(...E)=>{this._preventDefaultOnArrowKeyPress(...E)},{context:"$root"}),this.listenTo(u,"arrowKey",function t3(v){const a=v.model;return(c,u)=>{const R=u.keyCode==er.arrowdown,V=u.shiftKey,X=a.document.selection;if(u.keyCode!=er.arrowup&&!R)return;const et=R;if(V&&!(vt=X).isCollapsed&&vt.isBackward==et)return;var vt;const bt=function(vt,Pt,Wt){const he=vt.model;if(Wt){const Ae=Pt.isCollapsed?Pt.focus:Pt.getLastPosition(),ze=iF(he,Ae,"forward");if(!ze)return null;const mn=he.createRange(Ae,ze),xn=oF(he.schema,mn,"backward");return xn?he.createRange(Ae,xn):null}{const Ae=Pt.isCollapsed?Pt.focus:Pt.getFirstPosition(),ze=iF(he,Ae,"backward");if(!ze)return null;const mn=he.createRange(ze,Ae),xn=oF(he.schema,mn,"forward");return xn?he.createRange(xn,Ae):null}}(v,X,et);if(bt){if(bt.isCollapsed&&(X.isCollapsed||V))return;(bt.isCollapsed||function(vt,Pt,Wt){const he=vt.model,Ae=vt.view.domConverter;if(Wt){const Si=he.createSelection(Pt.start);he.modifySelection(Si),Si.focus.isAtEnd||Pt.start.isEqual(Si.focus)||(Pt=he.createRange(Si.focus,Pt.end))}const ze=vt.mapper.toViewRange(Pt),mn=Ae.viewRangeToDom(ze),xn=Qe.getDomRangeRects(mn);let ti;for(const Si of xn)if(void 0!==ti){if(Math.round(Si.top)>=ti)return!1;ti=Math.max(ti,Math.round(Si.bottom))}else ti=Math.round(Si.bottom);return!0}(v,bt,et))&&(a.change(vt=>{const Pt=et?bt.end:bt.start;if(V){const Wt=a.createSelection(X.anchor);Wt.setFocus(Pt),vt.setSelection(Wt)}else vt.setSelection(Pt)}),c.stop(),u.preventDefault(),u.stopPropagation())}}}(this.editor.editing),{context:"$text"}),this.listenTo(u,"delete",(E,R)=>{this._handleDelete("forward"==R.direction)&&(R.preventDefault(),E.stop())},{context:"$root"})}_onMousedown(a,c){const u=this.editor,E=u.editing.view,R=E.document;let V=c.target;if(c.domEvent.detail>=3)return void(this._selectBlockContent(V)&&c.preventDefault());if(function(et){let bt=et;for(;bt;){if(bt.is("editableElement")&&!bt.is("rootElement"))return!0;if(Tl(bt))return!1;bt=bt.parent}return!1}(V)||!Tl(V)&&(V=V.findAncestor(Tl),!V))return;_.isAndroid&&c.preventDefault(),R.isFocused||E.focus();const X=u.editing.mapper.toModelElement(V);this._setSelectionOverElement(X)}_selectBlockContent(a){const c=this.editor,u=c.model,E=c.editing.mapper,R=u.schema,V=E.findMappedViewAncestor(this.editor.editing.view.createPositionAt(a,0)),X=function(et,bt){for(const vt of et.getAncestors({includeSelf:!0,parentFirst:!0})){if(bt.checkChild(vt,"$text"))return vt;if(bt.isLimit(vt)&&!bt.isObject(vt))break}return null}(E.toModelElement(V),u.schema);return!!X&&(u.change(et=>{const bt=R.isLimit(X)?null:function(Wt,he){const Ae=new Gd({startPosition:Wt});for(const{item:ze}of Ae){if(he.isLimit(ze)||!ze.is("element"))return null;if(he.checkChild(ze,"$text"))return ze}return null}(et.createPositionAfter(X),R),vt=et.createPositionAt(X,0),Pt=bt?et.createPositionAt(bt,0):et.createPositionAt(X,"end");et.setSelection(et.createRange(vt,Pt))}),!0)}_handleSelectionChangeOnArrowKeyPress(a,c){const u=c.keyCode,E=this.editor.model,R=E.schema,V=E.document.selection,X=V.getSelectedElement(),et=ba(u,this.editor.locale.contentLanguageDirection),bt="down"==et||"right"==et,vt="up"==et||"down"==et;if(X&&R.isObject(X)){const Wt=bt?V.getLastPosition():V.getFirstPosition(),he=R.getNearestSelectionRange(Wt,bt?"forward":"backward");return void(he&&(E.change(Ae=>{Ae.setSelection(he)}),c.preventDefault(),a.stop()))}if(!V.isCollapsed&&!c.shiftKey){const Wt=V.getFirstPosition(),he=V.getLastPosition(),Ae=Wt.nodeAfter,ze=he.nodeBefore;return void((Ae&&R.isObject(Ae)||ze&&R.isObject(ze))&&(E.change(mn=>{mn.setSelection(bt?he:Wt)}),c.preventDefault(),a.stop()))}if(!V.isCollapsed)return;const Pt=this._getObjectElementNextToSelection(bt);if(Pt&&R.isObject(Pt)){if(R.isInline(Pt)&&vt)return;this._setSelectionOverElement(Pt),c.preventDefault(),a.stop()}}_preventDefaultOnArrowKeyPress(a,c){const u=this.editor.model,E=u.schema,R=u.document.selection.getSelectedElement();R&&E.isObject(R)&&(c.preventDefault(),a.stop())}_handleDelete(a){const c=this.editor.model.document.selection;if(!this.editor.model.canEditAt(c)||!c.isCollapsed)return;const u=this._getObjectElementNextToSelection(a);return u?(this.editor.model.change(E=>{let R=c.anchor.parent;for(;R.isEmpty;){const V=R;R=V.parent,E.remove(V)}this._setSelectionOverElement(u)}),!0):void 0}_setSelectionOverElement(a){this.editor.model.change(c=>{c.setSelection(c.createRangeOn(a))})}_getObjectElementNextToSelection(a){const c=this.editor.model,u=c.schema,E=c.document.selection,R=c.createSelection(E);if(c.modifySelection(R,{direction:a?"forward":"backward"}),R.isEqual(E))return null;const V=a?R.focus.nodeBefore:R.focus.nodeAfter;return V&&u.isObject(V)?V:null}_clearPreviouslySelectedWidgets(a){for(const c of this._previouslySelected)a.removeClass(W5,c);this._previouslySelected.clear()}}function tv(v,a){return!!a&&Array.from(v.getAncestors()).includes(a)}class c2 extends j{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[wm]}static get pluginName(){return"WidgetToolbarRepository"}init(){const a=this.editor;if(a.plugins.has("BalloonToolbar")){const c=a.plugins.get("BalloonToolbar");this.listenTo(c,"show",u=>{(function(E){const R=E.getSelectedElement();return!(!R||!Tl(R))})(a.editing.view.document.selection)&&u.stop()},{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(a.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(a.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const a of this._toolbarDefinitions.values())a.view.destroy()}register(a,{ariaLabel:c,items:u,getRelatedElement:E,balloonClassName:R="ck-toolbar-container"}){if(!u.length)return void nt("widget-toolbar-no-items",{toolbarId:a});const V=this.editor,X=V.t,et=new Yg(V.locale);if(et.ariaLabel=c||X("Widget toolbar"),this._toolbarDefinitions.has(a))throw new z("widget-toolbar-duplicated",this,{toolbarId:a});const bt={view:et,getRelatedElement:E,balloonClassName:R,itemsConfig:u,initialized:!1};V.ui.addToolbar(et,{isContextual:!0,beforeFocus:()=>{const vt=E(V.editing.view.document.selection);vt&&this._showToolbar(bt,vt)},afterBlur:()=>{this._hideToolbar(bt)}}),this._toolbarDefinitions.set(a,bt)}_updateToolbarsVisibility(){let a=0,c=null,u=null;for(const E of this._toolbarDefinitions.values()){const R=E.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&R)if(this.editor.ui.focusTracker.isFocused){const V=R.getAncestors().length;V>a&&(a=V,c=R,u=E)}else this._isToolbarVisible(E)&&this._hideToolbar(E);else this._isToolbarInBalloon(E)&&this._hideToolbar(E)}u&&this._showToolbar(u,c)}_hideToolbar(a){this._balloon.remove(a.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(a,c){this._isToolbarVisible(a)?ev(this.editor,c):this._isToolbarInBalloon(a)||(a.initialized||(a.initialized=!0,a.view.fillFromConfig(a.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:a.view,position:yE(this.editor,c),balloonClassName:a.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const u of this._toolbarDefinitions.values())if(this._isToolbarVisible(u)){const E=u.getRelatedElement(this.editor.editing.view.document.selection);ev(this.editor,E)}}))}_isToolbarVisible(a){return this._balloon.visibleView===a.view}_isToolbarInBalloon(a){return this._balloon.hasView(a.view)}}function ev(v,a){const c=v.plugins.get("ContextualBalloon"),u=yE(v,a);c.updatePosition(u)}function yE(v,a){const u=ld.defaultPositions;return{target:v.editing.view.domConverter.mapViewToDom(a),positions:[u.northArrowSouth,u.northArrowSouthWest,u.northArrowSouthEast,u.southArrowNorth,u.southArrowNorthWest,u.southArrowNorthEast,u.viewportStickyNorth]}}kt(),kt();var kE=A(8506);ao()(kE.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const rF=to("px");class wE extends Ro{constructor(){super();const a=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",a.if("isVisible","ck-hidden",c=>!c)],style:{left:a.to("left",c=>rF(c)),top:a.to("top",c=>rF(c)),width:a.to("width",c=>rF(c))}}})}}class aF extends j{constructor(){super(...arguments),this.removeDropMarkerDelayed=Fu(()=>this.removeDropMarker(),40),this._updateDropMarkerThrottled=a0(a=>this._updateDropMarker(a),40),this._reconvertMarkerThrottled=a0(()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")},0),this._dropTargetLineView=new wE,this._domEmitter=new(Gr()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:a}of this._scrollables.values())a.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(a,c,u,E,R,V){this.removeDropMarkerDelayed.cancel();const X=xE(this.editor,a,c,u,E,R,V);if(X)return V&&V.containsRange(X)?this.removeDropMarker():void this._updateDropMarkerThrottled(X)}getFinalDropRange(a,c,u,E,R,V){const X=xE(this.editor,a,c,u,E,R,V);return this.removeDropMarker(),X}removeDropMarker(){const a=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,a.markers.has("drop-target")&&a.change(c=>{c.removeMarker("drop-target")})}_setupDropMarker(){const a=this.editor;a.ui.view.body.add(this._dropTargetLineView),a.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),a.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(c,{writer:u})=>{if(a.model.schema.checkChild(c.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(u);c.markerRange.isCollapsed?this._updateDropTargetLine(c.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(a){const c=this.editor,u=c.model.markers;c.model.change(E=>{u.has("drop-target")?u.get("drop-target").getRange().isEqual(a)||E.updateMarker("drop-target",{range:a}):E.addMarker("drop-target",{range:a,usingOperation:!1,affectsData:!1})})}_createDropTargetPosition(a){return a.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},function(c){const u=this.toDomElement(c);return u.append("\u2060",c.createElement("span"),"\u2060"),u})}_updateDropTargetLine(a){const c=this.editor.editing,u=a.start.nodeBefore,E=a.start.nodeAfter,R=a.start.parent,V=u?c.mapper.toViewElement(u):null,X=V?c.view.domConverter.mapViewToDom(V):null,et=E?c.mapper.toViewElement(E):null,bt=et?c.view.domConverter.mapViewToDom(et):null,vt=c.mapper.toViewElement(R),Pt=c.view.domConverter.mapViewToDom(vt),Wt=this._getScrollableRect(vt),{scrollX:he,scrollY:Ae}=Lo.window,ze=X?new Qe(X):null,mn=bt?new Qe(bt):null,xn=new Qe(Pt).excludeScrollbarsAndBorders(),ti=ze?ze.bottom:xn.top,Si=mn?mn.top:xn.bottom,mo=Lo.window.getComputedStyle(Pt),lr=ti<=Si?(ti+Si)/2:Si;if(Wt.topX.schema.checkChild(Pt,Wt))){if(X.schema.checkChild(Pt,"$text"))return X.createRange(Pt);if(vt)return d4(v,ME(v,vt.parent),u,E)}}}else if(X.schema.isInline(bt))return d4(v,bt,u,E);if(X.schema.isBlock(bt))return d4(v,bt,u,E);if(X.schema.checkChild(bt,"$block")){const vt=Array.from(bt.getChildren()).filter(he=>he.is("element")&&!Xy(v,he));let Pt=0,Wt=vt.length;if(0==Wt)return X.createRange(X.createPositionAt(bt,"end"));for(;Pta in v?qy(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class IE extends j{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new(Gr())}static get pluginName(){return"DragDropBlockToolbar"}init(){const a=this.editor;if(this.listenTo(a,"change:isReadOnly",(c,u,E)=>{E?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")}),_.isAndroid&&this.forceDisabled("noAndroidSupport"),a.plugins.has("BlockToolbar")){const c=a.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(c,"dragstart",(u,E)=>this._handleBlockDragStart(E)),this._domEmitter.listenTo(Lo.document,"dragover",(u,E)=>this._handleBlockDragging(E)),this._domEmitter.listenTo(Lo.document,"drop",(u,E)=>this._handleBlockDragging(E)),this._domEmitter.listenTo(Lo.document,"dragend",()=>this._handleBlockDragEnd(),{useCapture:!0}),this.isEnabled&&c.setAttribute("draggable","true"),this.on("change:isEnabled",(u,E,R)=>{c.setAttribute("draggable",R?"true":"false")})}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(a){if(!this.isEnabled)return;const c=this.editor.model,E=this.editor.editing.view,R=Array.from(c.document.selection.getSelectedBlocks()),V=c.createRange(c.createPositionBefore(R[0]),c.createPositionAfter(R[R.length-1]));c.change(X=>X.setSelection(V)),this._isBlockDragging=!0,E.focus(),E.getObserver(No).onDomEvent(a)}_handleBlockDragging(a){if(!this.isEnabled||!this._isBlockDragging)return;const c=a.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),u=a.clientY,E=document.elementFromPoint(c,u),R=this.editor.editing.view;var V;E&&E.closest(".ck-editor__editable")&&R.getObserver(No).onDomEvent((V=((et,bt)=>{for(var vt in bt||(bt={}))Qy.call(bt,vt)&&DE(et,vt,bt[vt]);if(TE)for(var vt of TE(bt))Zy.call(bt,vt)&&DE(et,vt,bt[vt]);return et})({},a),Wy(V,Ky({type:a.type,dataTransfer:a.dataTransfer,target:E,clientX:c,clientY:u,preventDefault:()=>a.preventDefault(),stopPropagation:()=>a.stopPropagation()}))))}_handleBlockDragEnd(){this._isBlockDragging=!1}}var nv=A(903);ao()(nv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class u4 extends j{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=Fu(()=>this._clearDraggableAttributes(),40),this._blockMode=!1,this._domEmitter=new(Gr())}static get pluginName(){return"DragDrop"}static get requires(){return[ss,Dh,aF,IE]}init(){const a=this.editor,c=a.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,c.addObserver(No),c.addObserver(Cm),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(a,"change:isReadOnly",(u,E,R)=>{R?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(u,E,R)=>{R||this._finalizeDragging(!1)}),_.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const a=this.editor,c=a.model,u=a.editing.view,E=u.document,R=a.plugins.get(aF);this.listenTo(E,"dragstart",(V,X)=>{if(X.target&&X.target.is("editableElement")||(this._prepareDraggedRange(X.target),!this._draggedRange))return void X.preventDefault();this._draggingUid=S(),X.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",X.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const et=c.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(X.dataTransfer,et,"dragstart");const{dataTransfer:bt,domTarget:vt,domEvent:Pt}=X,{clientX:Wt}=Pt;this._updatePreview({dataTransfer:bt,domTarget:vt,clientX:Wt}),X.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(E,"dragend",(V,X)=>{this._finalizeDragging(!X.dataTransfer.isCanceled&&"move"==X.dataTransfer.dropEffect)},{priority:"low"}),this._domEmitter.listenTo(Lo.document,"dragend",()=>{this._blockMode=!1},{useCapture:!0}),this.listenTo(E,"dragenter",()=>{this.isEnabled&&u.focus()}),this.listenTo(E,"dragleave",()=>{R.removeDropMarkerDelayed()}),this.listenTo(E,"dragging",(V,X)=>{if(!this.isEnabled)return void(X.dataTransfer.dropEffect="none");const{clientX:et,clientY:bt}=X.domEvent;R.updateDropMarker(X.target,X.targetRanges,et,bt,this._blockMode,this._draggedRange),this._draggedRange||(X.dataTransfer.dropEffect="copy"),_.isGecko||("copy"==X.dataTransfer.effectAllowed?X.dataTransfer.dropEffect="copy":["all","copyMove"].includes(X.dataTransfer.effectAllowed)&&(X.dataTransfer.dropEffect="move")),V.stop()},{priority:"low"})}_setupClipboardInputIntegration(){const a=this.editor,c=a.editing.view.document,u=a.plugins.get(aF);this.listenTo(c,"clipboardInput",(E,R)=>{if("drop"!=R.method)return;const{clientX:V,clientY:X}=R.domEvent,et=u.getFinalDropRange(R.target,R.targetRanges,V,X,this._blockMode,this._draggedRange);return et?(this._draggedRange&&this._draggingUid!=R.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==iv(R.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(et,!0)?(this._finalizeDragging(!1),void E.stop()):void(R.targetRanges=[a.editing.mapper.toViewRange(et)])):(this._finalizeDragging(!1),void E.stop())},{priority:"high"})}_setupContentInsertionIntegration(){const a=this.editor.plugins.get(ss);a.on("contentInsertion",(c,u)=>{if(!this.isEnabled||"drop"!==u.method)return;const E=u.targetRanges.map(R=>this.editor.editing.mapper.toModelRange(R));this.editor.model.change(R=>R.setSelection(E))},{priority:"high"}),a.on("contentInsertion",(c,u)=>{if(!this.isEnabled||"drop"!==u.method)return;const E="move"==iv(u.dataTransfer);this._finalizeDragging((!u.resultRange||!u.resultRange.isCollapsed)&&E)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const a=this.editor,c=a.editing.view,u=c.document;this.listenTo(u,"mousedown",(E,R)=>{if(_.isAndroid||!R)return;this._clearDraggableAttributesDelayed.cancel();let V=sF(R.target);if(_.isBlink&&!a.isReadOnly&&!V&&!u.selection.isCollapsed){const X=u.selection.getSelectedElement();X&&Tl(X)||(V=u.selection.editableElement)}V&&(c.change(X=>{X.setAttribute("draggable","true",V)}),this._draggableElement=a.editing.mapper.toModelElement(V))}),this.listenTo(u,"mouseup",()=>{_.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const a=this.editor.editing;a.view.change(c=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&c.removeAttribute("draggable",a.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_finalizeDragging(a){const c=this.editor,u=c.model;c.plugins.get(aF).removeDropMarker(),this._clearDraggableAttributes(),c.plugins.has("WidgetToolbarRepository")&&c.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(a&&this.isEnabled&&u.change(E=>{const R=u.createSelection(this._draggedRange);u.deleteContent(R,{doNotAutoparagraph:!0});const V=R.getFirstPosition().parent;V.isEmpty&&!u.schema.checkChild(V,"$text")&&u.schema.checkChild(V,"paragraph")&&E.insertElement("paragraph",V,0)}),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(a){const c=this.editor,u=c.model,E=u.document.selection,R=a?sF(a):null;if(R){const bt=c.editing.mapper.toModelElement(R);return this._draggedRange=Bd.fromRange(u.createRangeOn(bt)),this._blockMode=u.schema.isBlock(bt),void(c.plugins.has("WidgetToolbarRepository")&&c.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop"))}if(E.isCollapsed&&!E.getFirstPosition().parent.isEmpty)return;const V=Array.from(E.getSelectedBlocks()),X=E.getFirstRange();if(0==V.length)return void(this._draggedRange=Bd.fromRange(X));const et=i3(u,V);if(V.length>1)this._draggedRange=Bd.fromRange(et),this._blockMode=!0;else if(1==V.length){const bt=X.start.isTouching(et.start)&&X.end.isTouching(et.end);this._draggedRange=Bd.fromRange(bt?et:X),this._blockMode=bt}u.change(bt=>bt.setSelection(this._draggedRange.toRange()))}_updatePreview({dataTransfer:a,domTarget:c,clientX:u}){const E=this.editor.editing.view,V=E.domConverter.mapViewToDom(E.document.selection.editableElement),X=Lo.window.getComputedStyle(V);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=Jn(Lo.document,"div",{style:"position: fixed; left: -999999px;"}),Lo.document.body.appendChild(this._previewContainer));const et=new Qe(V);if(V.contains(c))return;const bt=parseFloat(X.paddingLeft),vt=Jn(Lo.document,"div");vt.className="ck ck-content",vt.style.width=X.width,vt.style.paddingLeft=`${et.left-u+bt}px`,_.isiOS&&(vt.style.backgroundColor="white"),vt.innerHTML=a.getData("text/html"),a.setDragImage(vt,0,0),this._previewContainer.appendChild(vt)}}function iv(v){return _.isGecko?v.dropEffect:["all","copyMove"].includes(v.effectAllowed)?"move":"copy"}function sF(v){if(v.is("editableElement"))return null;if(v.hasClass("ck-widget__selection-handle"))return v.findAncestor(Tl);if(Tl(v))return v;const a=v.findAncestor(c=>Tl(c)||c.is("editableElement"));return Tl(a)?a:null}function i3(v,a){const c=a[0],u=a[a.length-1],E=c.getCommonAncestor(u),R=v.createPositionBefore(c),V=v.createPositionAfter(u);if(E&&E.is("element")&&!v.schema.isLimit(E)){const X=v.createRangeOn(E),et=R.isTouching(X.start),bt=V.isTouching(X.end);if(et&&bt)return i3(v,[E])}return v.createRange(R,V)}class RE extends j{static get pluginName(){return"PastePlainText"}static get requires(){return[ss]}init(){const a=this.editor,c=a.model,u=a.editing.view,E=u.document,R=c.document.selection;let V=!1;u.addObserver(No),this.listenTo(E,"keydown",(X,et)=>{V=et.shiftKey}),a.plugins.get(ss).on("contentInsertion",(X,et)=>{(V||function(bt,vt){if(bt.childCount>1)return!1;const Pt=bt.getChild(0);return!vt.isObject(Pt)&&0==Array.from(Pt.getAttributeKeys()).length}(et.content,c.schema))&&c.change(bt=>{const vt=Array.from(R.getAttributes()).filter(([Wt])=>c.schema.getAttributeProperties(Wt).isFormatting);R.isCollapsed||c.deleteContent(R,{doNotAutoparagraph:!0}),vt.push(...R.getAttributes());const Pt=bt.createRangeIn(et.content);for(const Wt of Pt.getItems())Wt.is("$textProxy")&&bt.setAttributes(vt,Wt)})})}}class ov extends j{static get pluginName(){return"Clipboard"}static get requires(){return[ss,u4,RE]}}class SE extends ri{constructor(a){super(a),this.affectsData=!1}execute(){const a=this.editor.model,c=a.document.selection;let u=a.schema.getLimitElement(c);if(c.containsEntireContent(u)||!rv(a.schema,u))do{if(u=u.parent,!u)return}while(!rv(a.schema,u));a.change(E=>{E.setSelection(u,"in")})}}function rv(v,a){return v.isLimit(a)&&(v.checkChild(a,"$text")||v.checkChild(a,"paragraph"))}const PE=Bc("Ctrl+A");class m4 extends j{static get pluginName(){return"SelectAllEditing"}init(){const a=this.editor,c=a.editing.view.document;a.commands.add("selectAll",new SE(a)),this.listenTo(c,"keydown",(u,E)=>{Ba(E)===PE&&(a.execute("selectAll"),E.preventDefault())})}}class av extends j{static get pluginName(){return"SelectAllUI"}init(){const a=this.editor;a.ui.componentFactory.add("selectAll",c=>{const u=a.commands.get("selectAll"),E=new br(c);return E.set({label:(0,c.t)("Select all"),icon:'',keystroke:"Ctrl+A",tooltip:!0}),E.bind("isEnabled").to(u,"isEnabled"),this.listenTo(E,"execute",()=>{a.execute("selectAll"),a.editing.view.focus()}),E})}}class AE extends j{static get requires(){return[m4,av]}static get pluginName(){return"SelectAll"}}var cF=Object.defineProperty,OE=Object.getOwnPropertySymbols,lF=Object.prototype.hasOwnProperty,tk=Object.prototype.propertyIsEnumerable,dF=(v,a,c)=>a in v?cF(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class uF extends ri{constructor(a){super(a),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(a.data,"set",(c,u)=>{u[1]=((R,V)=>{for(var X in V||(V={}))lF.call(V,X)&&dF(R,X,V[X]);if(OE)for(var X of OE(V))tk.call(V,X)&&dF(R,X,V[X]);return R})({},u[1]);const E=u[1];E.batchType||(E.batchType={isUndoable:!1})},{priority:"high"}),this.listenTo(a.data,"set",(c,u)=>{u[1].batchType.isUndoable||this.clearStack()})}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(a){const c=this.editor.model.document.selection,u={ranges:c.hasOwnRange?Array.from(c.getRanges()):[],isBackward:c.isBackward};this._stack.push({batch:a,selection:u}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(a,c,u){const E=this.editor.model,R=E.document,V=[],X=a.map(bt=>bt.getTransformedByOperations(u)),et=X.flat();for(const bt of X){const vt=bt.filter(Pt=>Pt.root!=R.graveyard).filter(Pt=>!jE(Pt,et));vt.length&&(o3(vt),V.push(vt[0]))}V.length&&E.change(bt=>{bt.setSelection(V,{backward:c})})}_undo(a,c){const u=this.editor.model,E=u.document;this._createdBatches.add(c);const R=a.operations.slice().filter(V=>V.isDocumentOperation);R.reverse();for(const V of R){const et=Array.from(E.history.getOperations(V.baseVersion+1)),bt=zf([V.getReversed()],et,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let vt of bt){const Pt=vt.affectedSelectable;Pt&&!u.canEditAt(Pt)&&(vt=new Ho(vt.baseVersion)),c.addOperation(vt),u.applyOperation(vt),E.history.setOperationAsUndone(V,vt)}}}}function o3(v){v.sort((a,c)=>a.start.isBefore(c.start)?-1:1);for(let a=1;ac!==v&&c.containsRange(v,!0))}class NE extends uF{execute(a=null){const c=a?this._stack.findIndex(R=>R.batch==a):this._stack.length-1,u=this._stack.splice(c,1)[0],E=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(E,()=>{this._undo(u.batch,E);const R=this.editor.model.document.history.getOperations(u.batch.baseVersion);this._restoreSelection(u.selection.ranges,u.selection.isBackward,R)}),this.fire("revert",u.batch,E),this.refresh()}}class p4 extends uF{execute(){const a=this._stack.pop(),c=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(c,()=>{const E=this.editor.model.document.history.getOperations(a.batch.operations[a.batch.operations.length-1].baseVersion+1);this._restoreSelection(a.selection.ranges,a.selection.isBackward,E),this._undo(a.batch,c)}),this.refresh()}}class LE extends j{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const a=this.editor;this._undoCommand=new NE(a),this._redoCommand=new p4(a),a.commands.add("undo",this._undoCommand),a.commands.add("redo",this._redoCommand),this.listenTo(a.model,"applyOperation",(c,u)=>{const E=u[0];if(!E.isDocumentOperation)return;const R=E.batch,V=this._redoCommand.createdBatches.has(R),X=this._undoCommand.createdBatches.has(R);this._batchRegistry.has(R)||(this._batchRegistry.add(R),R.isUndoable&&(V?this._undoCommand.addBatch(R):X||(this._undoCommand.addBatch(R),this._redoCommand.clearStack())))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(c,u,E)=>{this._redoCommand.addBatch(E)}),a.keystrokes.set("CTRL+Z","undo"),a.keystrokes.set("CTRL+Y","redo"),a.keystrokes.set("CTRL+SHIFT+Z","redo")}}const sv='',cv='';class mr extends j{static get pluginName(){return"UndoUI"}init(){const a=this.editor,c=a.locale,u=a.t,E="ltr"==c.uiLanguageDirection?sv:cv,R="ltr"==c.uiLanguageDirection?cv:sv;this._addButton("undo",u("Undo"),"CTRL+Z",E),this._addButton("redo",u("Redo"),"CTRL+Y",R)}_addButton(a,c,u,E){const R=this.editor;R.ui.componentFactory.add(a,V=>{const X=R.commands.get(a),et=new br(V);return et.set({label:c,icon:E,keystroke:u,tooltip:!0}),et.bind("isEnabled").to(X,"isEnabled"),this.listenTo(et,"execute",()=>{R.execute(a),R.editing.view.focus()}),et})}}class ai extends j{static get requires(){return[LE,mr]}static get pluginName(){return"Undo"}}class $E extends(kt()){constructor(){super();const a=new window.FileReader;this._reader=a,this._data=void 0,this.set("loaded",0),a.onprogress=c=>{this.loaded=c.loaded}}get error(){return this._reader.error}get data(){return this._data}read(a){const c=this._reader;return this.total=a.size,new Promise((u,E)=>{c.onload=()=>{const R=c.result;this._data=R,u(R)},c.onerror=()=>{E("error")},c.onabort=()=>{E("aborted")},this._reader.readAsDataURL(a)})}abort(){this._reader.abort()}}class Nu extends j{constructor(){super(...arguments),this.loaders=new Fa,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[uu]}init(){this.loaders.on("change",()=>this._updatePendingAction()),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(a,c)=>c?a/c*100:0)}getLoader(a){return this._loadersMap.get(a)||null}createLoader(a){if(!this.createUploadAdapter)return nt("filerepository-no-upload-adapter"),null;const c=new mF(Promise.resolve(a),this.createUploadAdapter);return this.loaders.add(c),this._loadersMap.set(a,c),a instanceof Promise&&c.file.then(u=>{this._loadersMap.set(u,c)}).catch(()=>{}),c.on("change:uploaded",()=>{let u=0;for(const E of this.loaders)u+=E.uploaded;this.uploaded=u}),c.on("change:uploadTotal",()=>{let u=0;for(const E of this.loaders)E.uploadTotal&&(u+=E.uploadTotal);this.uploadTotal=u}),c}destroyLoader(a){const c=a instanceof mF?a:this.getLoader(a);c._destroy(),this.loaders.remove(c),this._loadersMap.forEach((u,E)=>{u===c&&this._loadersMap.delete(E)})}_updatePendingAction(){const a=this.editor.plugins.get(uu);if(this.loaders.length){if(!this._pendingAction){const c=this.editor.t,u=E=>`${c("Upload in progress")} ${parseInt(E)}%.`;this._pendingAction=a.add(u(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",u)}}else a.remove(this._pendingAction),this._pendingAction=null}}class mF extends(kt()){constructor(a,c){super(),this.id=S(),this._filePromiseWrapper=this._createFilePromiseWrapper(a),this._adapter=c(this),this._reader=new $E,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(u,E)=>E?u/E*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(a=>this._filePromiseWrapper?a:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new z("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(a=>this._reader.read(a)).then(a=>{if("reading"!==this.status)throw this.status;return this.status="idle",a}).catch(a=>{throw"aborted"===a?(this.status="aborted","aborted"):(this.status="error",this._reader.error?this._reader.error:a)})}upload(){if("idle"!=this.status)throw new z("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(a=>(this.uploadResponse=a,this.status="idle",a)).catch(a=>{throw"aborted"===this.status?"aborted":(this.status="error",a)})}abort(){const a=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==a?this._reader.abort():"uploading"==a&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(a){const c={};return c.promise=new Promise((u,E)=>{c.rejecter=E,c.isFulfilled=!1,a.then(R=>{c.isFulfilled=!0,u(R)}).catch(R=>{c.isFulfilled=!0,E(R)})}),c}}class lv extends br{constructor(a){super(a),this.buttonView=this,this._fileInputView=new dv(a),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",()=>{this._fileInputView.open()}),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}class dv extends Ro{constructor(a){super(a),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const c=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:c.to("acceptedType"),multiple:c.to("allowMultipleFiles")},on:{change:c.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}const uv="ckCsrfToken";class l2{constructor(a,c,u){this.loader=a,this.url=c,this.t=u}upload(){return this.loader.file.then(a=>new Promise((c,u)=>{this._initRequest(),this._initListeners(c,u,a),this._sendRequest(a)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const a=this.xhr=new XMLHttpRequest;a.open("POST",this.url,!0),a.responseType="json"}_initListeners(a,c,u){const E=this.xhr,R=this.loader,V=(0,this.t)("Cannot upload file:")+` ${u.name}.`;E.addEventListener("error",()=>c(V)),E.addEventListener("abort",()=>c()),E.addEventListener("load",()=>{const X=E.response;if(!X||!X.uploaded)return c(X&&X.error&&X.error.message?X.error.message:V);a({default:X.url})}),E.upload&&E.upload.addEventListener("progress",X=>{X.lengthComputable&&(R.uploadTotal=X.total,R.uploaded=X.loaded)})}_sendRequest(a){const c=new FormData;c.append("upload",a),c.append("ckCsrfToken",function mv(){let v=function(u){u=u.toLowerCase();const E=document.cookie.split(";");for(const R of E){const V=R.split("=");if(decodeURIComponent(V[0].trim().toLowerCase())===u)return decodeURIComponent(V[1])}return null}(uv);var c;return v&&40==v.length||(v=function(u){let E="";const R=new Uint8Array(40);window.crypto.getRandomValues(R);for(let V=0;V.5?X.toUpperCase():X}return E}(),c=v,document.cookie=encodeURIComponent(uv)+"="+encodeURIComponent(c)+";path=/"),v}()),this.xhr.send(c)}}function Cp(v,a,c,u){let E,R=null;"function"==typeof u?E=u:(R=v.commands.get(u),E=()=>{v.execute(u)}),v.model.document.on("change:data",(V,X)=>{if(R&&!R.isEnabled||!a.isEnabled)return;const et=kr(v.model.document.selection.getRanges());if(!et.isCollapsed||X.isUndo||!X.isLocal)return;const bt=Array.from(v.model.document.differ.getChanges()),vt=bt[0];if(1!=bt.length||"insert"!==vt.type||"$text"!=vt.name||1!=vt.length)return;const Pt=vt.position.parent;if(Pt.is("element","codeBlock")||Pt.is("element","listItem")&&"function"!=typeof u&&!["numberedList","bulletedList","todoList"].includes(u)||R&&!0===R.value)return;const Wt=Pt.getChild(0),he=v.model.createRangeOn(Wt);if(!he.containsRange(et)&&!et.end.isEqual(he.end))return;const Ae=c.exec(Wt.data.substr(0,et.end.offset));Ae&&v.model.enqueueChange(ze=>{const mn=ze.createPositionAt(Pt,0),xn=ze.createPositionAt(Pt,Ae[0].length),ti=new Bd(mn,xn);if(!1!==E({match:Ae})){ze.remove(ti);const Si=v.model.document.selection.getFirstRange(),mo=ze.createRangeIn(Pt);!Pt.isEmpty||mo.isEqual(Si)||mo.containsRange(Si,!0)||ze.remove(Pt)}ti.detach(),v.model.enqueueChange(()=>{v.plugins.get("Delete").requestUndoOnBackspace()})})})}function v0(v,a,c,u){let E,R;c instanceof RegExp?E=c:R=c,R=R||(V=>{let X;const et=[],bt=[];for(;null!==(X=E.exec(V))&&!(X&&X.length<4);){let{index:vt,1:Pt,2:Wt,3:he}=X;vt+=X[0].length-(Pt+Wt+he).length;const mn=[vt+Pt.length+Wt.length,vt+Pt.length+Wt.length+he.length];et.push([vt,vt+Pt.length]),et.push(mn),bt.push([vt+Pt.length,vt+Pt.length+Wt.length])}return{remove:et,format:bt}}),v.model.document.on("change:data",(V,X)=>{if(X.isUndo||!X.isLocal||!a.isEnabled)return;const et=v.model,bt=et.document.selection;if(!bt.isCollapsed)return;const vt=Array.from(et.document.differ.getChanges()),Pt=vt[0];if(1!=vt.length||"insert"!==Pt.type||"$text"!=Pt.name||1!=Pt.length)return;const Wt=bt.focus,he=Wt.parent,{text:Ae,range:ze}=function(Si,mo){let lr=Si.start;return{text:Array.from(Si.getItems()).reduce((Aa,yc)=>!yc.is("$text")&&!yc.is("$textProxy")||yc.getAttribute("code")?(lr=mo.createPositionAfter(yc),""):Aa+yc.data,""),range:mo.createRange(lr,Si.end)}}(et.createRange(et.createPositionAt(he,0),Wt),et),mn=R(Ae),xn=pv(ze.start,mn.format,et),ti=pv(ze.start,mn.remove,et);xn.length&&ti.length&&et.enqueueChange(Si=>{if(!1!==u(Si,xn)){for(const mo of ti.reverse())Si.remove(mo);et.enqueueChange(()=>{v.plugins.get("Delete").requestUndoOnBackspace()})}})})}function pv(v,a,c){return a.filter(u=>void 0!==u[0]&&void 0!==u[1]).map(u=>c.createRange(v.getShiftedBy(u[0]),v.getShiftedBy(u[1])))}function E0(v,a){return(c,u)=>{if(!v.commands.get(a).isEnabled)return!1;const E=v.model.schema.getValidRanges(u,a);for(const R of E)c.setAttribute(a,!0,R);c.removeSelectionAttribute(a)}}class r3 extends ri{constructor(a,c){super(a),this.attributeKey=c}refresh(){const a=this.editor.model,c=a.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=a.schema.checkAttributeInSelection(c.selection,this.attributeKey)}execute(a={}){const c=this.editor.model,u=c.document.selection,E=void 0===a.forceValue?!this.value:a.forceValue;c.change(R=>{if(u.isCollapsed)E?R.setSelectionAttribute(this.attributeKey,!0):R.removeSelectionAttribute(this.attributeKey);else{const V=c.schema.getValidRanges(u.getRanges(),this.attributeKey);for(const X of V)E?R.setAttribute(this.attributeKey,E,X):R.removeAttribute(this.attributeKey,X)}})}_getValueFromFirstAllowedNode(){const a=this.editor.model,c=a.schema,u=a.document.selection;if(u.isCollapsed)return u.hasAttribute(this.attributeKey);for(const E of u.getRanges())for(const R of E.getItems())if(c.checkAttribute(R,this.attributeKey))return R.hasAttribute(this.attributeKey);return!1}}const C0="bold";class hv extends j{static get pluginName(){return"BoldEditing"}init(){const a=this.editor;a.model.schema.extend("$text",{allowAttributes:C0}),a.model.schema.setAttributeProperties(C0,{isFormatting:!0,copyOnEnter:!0}),a.conversion.attributeToElement({model:C0,view:"strong",upcastAlso:["b",c=>{const u=c.getStyle("font-weight");return u&&("bold"==u||Number(u)>=600)?{name:!0,styles:["font-weight"]}:null}]}),a.commands.add(C0,new r3(a,C0)),a.keystrokes.set("CTRL+B",C0)}}const h4="bold";class VE extends j{static get pluginName(){return"BoldUI"}init(){const a=this.editor,c=a.t;a.ui.componentFactory.add(h4,u=>{const E=a.commands.get(h4),R=new br(u);return R.set({label:c("Bold"),icon:as.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),R.bind("isOn","isEnabled").to(E,"value","isEnabled"),this.listenTo(R,"execute",()=>{a.execute(h4),a.editing.view.focus()}),R})}}var f4=A(8603);ao()(f4.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const g4="italic";class BE extends j{static get pluginName(){return"ItalicEditing"}init(){const a=this.editor;a.model.schema.extend("$text",{allowAttributes:g4}),a.model.schema.setAttributeProperties(g4,{isFormatting:!0,copyOnEnter:!0}),a.conversion.attributeToElement({model:g4,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),a.commands.add(g4,new r3(a,g4)),a.keystrokes.set("CTRL+I",g4)}}const hF="italic";class y0 extends j{static get pluginName(){return"ItalicUI"}init(){const a=this.editor,c=a.t;a.ui.componentFactory.add(hF,u=>{const E=a.commands.get(hF),R=new br(u);return R.set({label:c("Italic"),icon:'',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),R.bind("isOn","isEnabled").to(E,"value","isEnabled"),this.listenTo(R,"execute",()=>{a.execute(hF),a.editing.view.focus()}),R})}}class zE extends ri{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(a={}){const c=this.editor.model,u=c.schema,R=Array.from(c.document.selection.getSelectedBlocks()),V=void 0===a.forceValue?!this.value:a.forceValue;c.change(X=>{if(V){const et=R.filter(bt=>V1(bt)||fF(u,bt));this._applyQuote(X,et)}else this._removeQuote(X,R.filter(V1))})}_getValue(){const a=kr(this.editor.model.document.selection.getSelectedBlocks());return!(!a||!V1(a))}_checkEnabled(){if(this.value)return!0;const c=this.editor.model.schema,u=kr(this.editor.model.document.selection.getSelectedBlocks());return!!u&&fF(c,u)}_removeQuote(a,c){fv(a,c).reverse().forEach(u=>{if(u.start.isAtStart&&u.end.isAtEnd)return void a.unwrap(u.start.parent);if(u.start.isAtStart){const R=a.createPositionBefore(u.start.parent);return void a.move(u,R)}u.end.isAtEnd||a.split(u.end);const E=a.createPositionAfter(u.end.parent);a.move(u,E)})}_applyQuote(a,c){const u=[];fv(a,c).reverse().forEach(E=>{let R=V1(E.start);R||(R=a.createElement("blockQuote"),a.wrap(E,R)),u.push(R)}),u.reverse().reduce((E,R)=>E.nextSibling==R?(a.merge(a.createPositionAfter(E)),E):R)}}function V1(v){return"blockQuote"==v.parent.name?v.parent:null}function fv(v,a){let c,u=0;const E=[];for(;u{const X=a.model.document.differ.getChanges();for(const et of X)if("insert"==et.type){const bt=et.position.nodeAfter;if(!bt)continue;if(bt.is("element","blockQuote")&&bt.isEmpty)return V.remove(bt),!0;if(bt.is("element","blockQuote")&&!c.checkChild(et.position,bt))return V.unwrap(bt),!0;if(bt.is("element")){const vt=V.createRangeIn(bt);for(const Pt of vt.getItems())if(Pt.is("element","blockQuote")&&!c.checkChild(V.createPositionBefore(Pt),Pt))return V.unwrap(Pt),!0}}else if("remove"==et.type){const bt=et.position.parent;if(bt.is("element","blockQuote")&&bt.isEmpty)return V.remove(bt),!0}return!1});const u=this.editor.editing.view.document,E=a.model.document.selection,R=a.commands.get("blockQuote");this.listenTo(u,"enter",(V,X)=>{!E.isCollapsed||!R.value||E.getLastPosition().parent.isEmpty&&(a.execute("blockQuote"),a.editing.view.scrollToTheSelection(),X.preventDefault(),V.stop())},{context:"blockquote"}),this.listenTo(u,"delete",(V,X)=>{if("backward"!=X.direction||!E.isCollapsed||!R.value)return;const et=E.getLastPosition().parent;et.isEmpty&&!et.previousSibling&&(a.execute("blockQuote"),a.editing.view.scrollToTheSelection(),X.preventDefault(),V.stop())},{context:"blockquote"})}}var gv=A(3062);ao()(gv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class _4 extends j{static get pluginName(){return"BlockQuoteUI"}init(){const a=this.editor,c=a.t;a.ui.componentFactory.add("blockQuote",u=>{const E=a.commands.get("blockQuote"),R=new br(u);return R.set({label:c("Block quote"),icon:as.quote,tooltip:!0,isToggleable:!0}),R.bind("isOn","isEnabled").to(E,"value","isEnabled"),this.listenTo(R,"execute",()=>{a.execute("blockQuote"),a.editing.view.focus()}),R})}}class qc extends j{static get pluginName(){return"CKBoxUI"}afterInit(){const a=this.editor,c=a.commands.get("ckbox");if(!c)return;const u=a.t;if(a.ui.componentFactory.add("ckbox",E=>{const R=new br(E);return R.set({label:u("Open file manager"),icon:'',tooltip:!0}),R.bind("isOn","isEnabled").to(c,"value","isEnabled"),R.on("execute",()=>{a.execute("ckbox")}),R}),a.plugins.has("ImageInsertUI")){const E=a.plugins.get("ImageInsertUI");E.registerIntegration({name:"assetManager",observable:c,buttonViewCreator:()=>{const R=this.editor.ui.componentFactory.create("ckbox");return R.icon=as.imageAssetManager,R.bind("label").to(E,"isImageSelected",V=>u(V?"Replace image with file manager":"Insert image with file manager")),R},formViewCreator:()=>{const R=this.editor.ui.componentFactory.create("ckbox");return R.icon=as.imageAssetManager,R.withText=!0,R.bind("label").to(E,"isImageSelected",V=>u(V?"Replace with file manager":"Insert with file manager")),R.on("execute",()=>{E.dropdownView.isOpen=!1}),R}})}}}var yp=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Rh=v=>{let a=0;for(let c=0;c{let a=v/255;return a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4)},Sh=v=>{let a=Math.max(0,Math.min(1,v));return a<=.0031308?Math.trunc(12.92*a*255+.5):Math.trunc(255*(1.055*Math.pow(a,.4166666666666667)-.055)+.5)},_F=(v,a)=>(v<0?-1:1)*Math.pow(Math.abs(v),a),d2=class extends Error{constructor(v){super(v),this.name="ValidationError",this.message=v}},_v=v=>{let a=v>>8&255,c=255&v;return[pu(v>>16),pu(a),pu(c)]},Bo=(v,a)=>{let c=Math.floor(v/361),u=Math.floor(v/19)%19,E=v%19;return[_F((c-9)/9,2)*a,_F((u-9)/9,2)*a,_F((E-9)/9,2)*a]},Wc=Object.defineProperty,FF=Object.getOwnPropertySymbols,YE=Object.prototype.hasOwnProperty,Kc=Object.prototype.propertyIsEnumerable,u2=(v,a,c)=>a in v?Wc(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;function m2(v){const a=[];let c=0;for(const E in v){const R=parseInt(E,10);isNaN(R)||(R>c&&(c=R),a.push(`${v[E]} ${E}w`))}const u=[{srcset:a.join(","),sizes:`(max-width: ${c}px) 100vw, ${c}px`,type:"image/webp"}];return{imageFallbackUrl:v.default,imageSources:u}}function Ah({url:v,method:a="GET",data:c,onUploadProgress:u,signal:E,authorization:R}){const V=new XMLHttpRequest;V.open(a,v.toString()),V.setRequestHeader("Authorization",R),V.setRequestHeader("CKBox-Version","CKEditor 5"),V.responseType="json";const X=()=>{V.abort()};return new Promise((et,bt)=>{E.throwIfAborted(),E.addEventListener("abort",X),V.addEventListener("loadstart",()=>{E.addEventListener("abort",X)}),V.addEventListener("loadend",()=>{E.removeEventListener("abort",X)}),V.addEventListener("error",()=>{bt()}),V.addEventListener("abort",()=>{bt()}),V.addEventListener("load",()=>{const vt=V.response;if(!vt||vt.statusCode>=400)return bt(vt&&vt.message);et(vt)}),u&&V.upload.addEventListener("progress",vt=>{u(vt)}),V.send(c)})}const a3={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};var Fv=Object.defineProperty,vF=Object.getOwnPropertySymbols,Oh=Object.prototype.hasOwnProperty,EF=Object.prototype.propertyIsEnumerable,CF=(v,a,c)=>a in v?Fv(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,b4=(v,a)=>{for(var c in a||(a={}))Oh.call(a,c)&&CF(v,c,a[c]);if(vF)for(var c of vF(a))EF.call(a,c)&&CF(v,c,a[c]);return v};class kp extends ri{constructor(a){super(a),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const a=this.editor.commands.get("insertImage"),c=this.editor.commands.get("link");return!(!a.isEnabled&&!c.isEnabled)}_prepareOptions(){const a=this.editor.config.get("ckbox");return{theme:a.theme,language:a.language,tokenUrl:a.tokenUrl,serviceOrigin:a.serviceOrigin,forceDemoLabel:a.forceDemoLabel,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:c=>this.fire("ckbox:choose",c)}}}_initListeners(){const a=this.editor,c=a.model,u=!a.config.get("ckbox.ignoreDataId");this.on("ckbox",()=>{this.refresh()},{priority:"low"}),this.on("ckbox:open",()=>{this.isEnabled&&!this.value&&(this._wrapper=Jn(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))}),this.on("ckbox:close",()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,a.editing.view.focus())}),this.on("ckbox:choose",(E,R)=>{if(!this.isEnabled)return;const V=a.commands.get("insertImage"),X=a.commands.get("link"),et=function({assets:vt,isImageAllowed:Pt,isLinkAllowed:Wt}){return vt.map(he=>function(Ae){const ze=Ae.data.metadata;return!!ze&&ze.width&&ze.height}(he)?{id:he.data.id,type:"image",attributes:vv(he)}:{id:he.data.id,type:"link",attributes:Lu(he)}).filter(he=>"image"===he.type?Pt:Wt)}({assets:R,isImageAllowed:V.isEnabled,isLinkAllowed:X.isEnabled}),bt=et.length;0!==bt&&(c.change(vt=>{for(const Pt of et)this._insertAsset(Pt,Pt===et[bt-1],vt,1===bt),u&&(setTimeout(()=>this._chosenAssets.delete(Pt),1e3),this._chosenAssets.add(Pt))}),a.editing.view.focus())}),this.listenTo(a,"destroy",()=>{this.fire("ckbox:close"),this._chosenAssets.clear()})}_insertAsset(a,c,u,E){const R=this.editor.model.document.selection;u.removeSelectionAttribute("linkHref"),"image"===a.type?this._insertImage(a):this._insertLink(a,u,E),c||u.setSelection(R.getLastPosition())}_insertImage(a){const c=this.editor,{imageFallbackUrl:u,imageSources:E,imageTextAlternative:R,imageWidth:V,imageHeight:X,imagePlaceholder:et}=a.attributes;c.execute("insertImage",{source:b4({src:u,sources:E,alt:R,width:V,height:X},et?{placeholder:et}:null)})}_insertLink(a,c,u){const E=this.editor,R=E.model,V=R.document.selection,{linkName:X,linkHref:et}=a.attributes;if(V.isCollapsed){const bt=qi(V.getAttributes()),vt=c.createText(X,bt);if(!u){const Wt=V.getLastPosition(),he=Wt.parent;"paragraph"===he.name&&he.isEmpty||E.execute("insertParagraph",{position:Wt});const Ae=R.insertContent(vt);return c.setSelection(Ae),void E.execute("link",et)}const Pt=R.insertContent(vt);c.setSelection(Pt)}E.execute("link",et)}}function vv(v){const{imageFallbackUrl:a,imageSources:c}=m2(v.data.imageUrls),{description:u,width:E,height:R,blurHash:V}=v.data.metadata,X=function(et){if(et)try{const bt="32px",vt=document.createElement("canvas");vt.setAttribute("width",bt),vt.setAttribute("height",bt);const Pt=vt.getContext("2d");if(!Pt)return;const Wt=Pt.createImageData(32,32),he=((v,a,c,u)=>{(v=>{if(!v||v.length<6)throw new d2("The blurhash string must be at least 6 characters");let a=Rh(v[0]),c=Math.floor(a/9)+1,u=a%9+1;if(v.length!==4+2*u*c)throw new d2(`blurhash length mismatch: length is ${v.length} but it should be ${4+2*u*c}`)})(v),u|=1;let E=Rh(v[0]),R=Math.floor(E/9)+1,V=E%9+1,X=(Rh(v[1])+1)/166,et=new Array(V*R);for(let Pt=0;Ptnew Promise((u,E)=>{var R=et=>{try{X(c.next(et))}catch(bt){E(bt)}},V=et=>{try{X(c.throw(et))}catch(bt){E(bt)}},X=et=>et.done?u(et.value):Promise.resolve(et.value).then(R,V);X((c=c.apply(v,a)).next())});class s3 extends j{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){return yF(this,null,function*(){const a=this.editor,c=!!a.config.get("ckbox"),u=!!window.CKBox;if(!c&&!u)return;a.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:a.locale.uiLanguage,theme:"lark",tokenUrl:a.config.get("cloudServices.tokenUrl")});const E=a.plugins.get("CloudServices"),R=a.config.get("cloudServices.tokenUrl"),V=a.config.get("ckbox.tokenUrl");if(!V)throw new z("ckbox-plugin-missing-token-url",this);this._token=V==R?E.token:yield E.registerTokenUrl(V)})}getToken(){return this._token}getWorkspaceId(){const a=(0,this.editor.t)("Cannot access default workspace."),c=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),u=function(E,R){const[,V]=E.value.split("."),X=JSON.parse(atob(V)),et=X.auth&&X.auth.ckbox&&X.auth.ckbox.workspaces||[X.aud];return R?"superadmin"==(X.auth&&X.auth.ckbox&&X.auth.ckbox.role)||et.includes(R)?R:null:et[0]}(this._token,c);if(null==u)throw it("ckbox-access-default-workspace-error"),a;return u}getCategoryIdForFile(a,c){return yF(this,null,function*(){const u=(0,this.editor.t)("Cannot determine a category for the uploaded file."),E=this.editor.config.get("ckbox.defaultUploadCategories"),R=this._getAvailableCategories(c),V="string"==typeof a?(X=yield function bv(v,a){return c=this,E=function*(){try{const R=yield fetch(v,((V,X)=>{for(var et in X||(X={}))YE.call(X,et)&&u2(V,et,X[et]);if(FF)for(var et of FF(X))Kc.call(X,et)&&u2(V,et,X[et]);return V})({method:"HEAD",cache:"force-cache"},a));return R.ok&&R.headers.get("content-type")||""}catch{return""}},new Promise((R,V)=>{var X=vt=>{try{bt(E.next(vt))}catch(Pt){V(Pt)}},et=vt=>{try{bt(E.throw(vt))}catch(Pt){V(Pt)}},bt=vt=>vt.done?R(vt.value):Promise.resolve(vt.value).then(X,et);bt((E=E.apply(c,null)).next())});var c,E}(a,c),a3[X]):function(vt){const Pt=vt.name,Wt=new RegExp("\\.(?[^.]+)$");return Pt.match(Wt).groups.ext.toLowerCase()}(a);var X;const et=yield R;if(!et)throw u;if(E){const vt=Object.keys(E).find(Pt=>E[Pt].find(Wt=>Wt.toLowerCase()==V));if(vt){const Pt=et.find(Wt=>Wt.id===vt||Wt.name===vt);if(!Pt)throw u;return Pt.id}}const bt=et.find(vt=>vt.extensions.find(Pt=>Pt.toLowerCase()==V));if(!bt)throw u;return bt.id})}_getAvailableCategories(a){return yF(this,null,function*(){const c=this.editor,u=this._token,{signal:E}=a,R=c.config.get("ckbox.serviceOrigin"),V=this.getWorkspaceId();try{const et=[];let bt,vt=0;do{const Pt=yield X(vt);et.push(...Pt.items),bt=Pt.totalCount-(vt+50),vt+=50}while(bt>0);return et}catch{return E.throwIfAborted(),void it("ckbox-fetch-category-http-error")}function X(et){const bt=new URL("categories",R);return bt.searchParams.set("limit","50"),bt.searchParams.set("offset",et.toString()),bt.searchParams.set("workspaceId",V),Ah({url:bt,signal:E,authorization:u.value})}})}}var F4=(v,a,c)=>new Promise((u,E)=>{var R=et=>{try{X(c.next(et))}catch(bt){E(bt)}},V=et=>{try{X(c.throw(et))}catch(bt){E(bt)}},X=et=>et.done?u(et.value):Promise.resolve(et.value).then(R,V);X((c=c.apply(v,a)).next())});class Cv extends j{static get requires(){return["ImageUploadEditing","ImageUploadProgress",Nu,JE]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return F4(this,null,function*(){const a=this.editor,c=!!a.config.get("ckbox"),u=!!window.CKBox;if(!c&&!u)return;const E=a.plugins.get(Nu),R=a.plugins.get(s3);E.createUploadAdapter=et=>new UE(et,a,R);const V=!a.config.get("ckbox.ignoreDataId"),X=a.plugins.get("ImageUploadEditing");V&&X.on("uploadComplete",(et,{imageElement:bt,data:vt})=>{a.model.change(Pt=>{Pt.setAttribute("ckboxImageId",vt.ckboxImageId,bt)})})})}}class UE{constructor(a,c,u){this.loader=a,this.token=u.getToken(),this.ckboxUtils=u,this.editor=c,this.controller=new AbortController,this.serviceOrigin=c.config.get("ckbox.serviceOrigin")}upload(){return F4(this,null,function*(){const a=this.ckboxUtils,c=this.editor.t,u=yield this.loader.file,E=yield a.getCategoryIdForFile(u,{signal:this.controller.signal}),R=new URL("assets",this.serviceOrigin),V=new FormData;return R.searchParams.set("workspaceId",a.getWorkspaceId()),V.append("categoryId",E),V.append("file",u),Ah({method:"POST",url:R,data:V,onUploadProgress:X=>{X.lengthComputable&&(this.loader.uploadTotal=X.total,this.loader.uploaded=X.loaded)},signal:this.controller.signal,authorization:this.token.value}).then(X=>F4(this,null,function*(){const et=m2(X.imageUrls);return{ckboxImageId:X.id,default:et.imageFallbackUrl,sources:et.imageSources}})).catch(()=>{const X=c("Cannot upload file:")+` ${u.name}.`;return Promise.reject(X)})})}abort(){this.controller.abort()}}class JE extends j{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",Cv,s3]}init(){const a=this.editor,c=!!a.config.get("ckbox"),u=!!window.CKBox;(c||u)&&(this._checkImagePlugins(),a.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()),u&&a.commands.add("ckbox",new kp(a)))}_checkImagePlugins(){const a=this.editor;a.plugins.has("ImageBlockEditing")||a.plugins.has("ImageInlineEditing")||it("ckbox-plugin-image-feature-missing",a)}_initSchema(){const a=this.editor.model.schema;a.extend("$text",{allowAttributes:"ckboxLinkId"}),a.isRegistered("imageBlock")&&a.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),a.isRegistered("imageInline")&&a.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),a.addAttributeCheck((c,u)=>{if(!c.last.getAttribute("linkHref")&&"ckboxLinkId"===u)return!1})}_initConversion(){const a=this.editor;a.conversion.for("downcast").add(u=>{u.on("attribute:ckboxLinkId:imageBlock",(E,R,V)=>{const{writer:X,mapper:et,consumable:bt}=V;if(!bt.consume(R.item,E.name))return;const vt=[...et.toViewElement(R.item).getChildren()].find(Pt=>"a"===Pt.name);vt&&(R.item.hasAttribute("ckboxLinkId")?X.setAttribute("data-ckbox-resource-id",R.item.getAttribute("ckboxLinkId"),vt):X.removeAttribute("data-ckbox-resource-id",vt))},{priority:"low"}),u.on("attribute:ckboxLinkId",(E,R,V)=>{const{writer:X,mapper:et,consumable:bt}=V;if(bt.consume(R.item,E.name)){if(R.attributeOldValue){const vt=v4(X,R.attributeOldValue);X.unwrap(et.toViewRange(R.range),vt)}if(R.attributeNewValue){const vt=v4(X,R.attributeNewValue);R.item.is("selection")?X.wrap(X.document.selection.getFirstRange(),vt):X.wrap(et.toViewRange(R.range),vt)}}},{priority:"low"})}),a.conversion.for("upcast").add(u=>{u.on("element:a",(E,R,V)=>{const{writer:X,consumable:et}=V;if(!R.viewItem.getAttribute("href")||!et.consume(R.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const bt=R.viewItem.getAttribute("data-ckbox-resource-id");if(bt)if(R.modelRange)for(let vt of R.modelRange.getItems())vt.is("$textProxy")&&(vt=vt.textNode),kF(vt)&&X.setAttribute("ckboxLinkId",bt,vt);else X.setAttribute("ckboxLinkId",bt,R.modelCursor.nodeBefore||R.modelCursor.parent)},{priority:"low"})}),a.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),a.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:u=>u.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const c=a.commands.get("replaceImageSource");c&&this.listenTo(c,"cleanupImage",(u,[E,R])=>{E.removeAttribute("ckboxImageId",R)})}_initFixers(){const a=this.editor,c=a.model,u=c.document.selection;c.document.registerPostFixer(function(E){return R=>{let V=!1;const X=E.model,et=E.commands.get("ckbox");if(!et)return V;for(const bt of X.document.differ.getChanges()){if("insert"!==bt.type&&"attribute"!==bt.type)continue;const vt="insert"===bt.type?new Ri(bt.position,bt.position.getShiftedBy(bt.length)):bt.range,Pt="attribute"===bt.type&&"linkHref"===bt.attributeKey&&null===bt.attributeNewValue;for(const Wt of vt.getItems()){if(Pt&&Wt.hasAttribute("ckboxLinkId")){R.removeAttribute("ckboxLinkId",Wt),V=!0;continue}const he=yv(Wt,et._chosenAssets);for(const Ae of he){const ze="image"===Ae.type?"ckboxImageId":"ckboxLinkId";Ae.id!==Wt.getAttribute(ze)&&(R.setAttribute(ze,Ae.id,Wt),V=!0)}}}return V}}(a)),c.document.registerPostFixer(function(E){return R=>!(E.hasAttribute("linkHref")||!E.hasAttribute("ckboxLinkId")||(R.removeSelectionAttribute("ckboxLinkId"),0))}(u))}}function yv(v,a){const c=v.is("element","imageInline")||v.is("element","imageBlock"),u=v.hasAttribute("linkHref");return[...a].filter(E=>"image"===E.type&&c?E.attributes.imageFallbackUrl===v.getAttribute("src"):"link"===E.type&&u?E.attributes.linkHref===v.getAttribute("linkHref"):void 0)}function v4(v,a){const c=v.createAttributeElement("a",{"data-ckbox-resource-id":a},{priority:5});return v.setCustomProperty("link",!0,c),c}function kF(v){return!!v.is("$text")||!(!v.is("element","imageInline")&&!v.is("element","imageBlock"))}var c3=A(443);ao()(c3.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class kv extends j{static get pluginName(){return"CKFinderUI"}init(){const a=this.editor,u=a.t;if(a.ui.componentFactory.add("ckfinder",E=>{const R=a.commands.get("ckfinder"),V=new br(E);return V.set({label:u("Insert image or file"),icon:'',tooltip:!0}),V.bind("isEnabled").to(R),V.on("execute",()=>{a.execute("ckfinder"),a.editing.view.focus()}),V}),a.plugins.has("ImageInsertUI")){const E=a.plugins.get("ImageInsertUI"),R=a.commands.get("ckfinder");E.registerIntegration({name:"assetManager",observable:R,buttonViewCreator:()=>{const V=this.editor.ui.componentFactory.create("ckfinder");return V.icon=as.imageAssetManager,V.bind("label").to(E,"isImageSelected",X=>u(X?"Replace image with file manager":"Insert image with file manager")),V},formViewCreator:()=>{const V=this.editor.ui.componentFactory.create("ckfinder");return V.icon=as.imageAssetManager,V.withText=!0,V.bind("label").to(E,"isImageSelected",X=>u(X?"Replace with file manager":"Insert with file manager")),V.on("execute",()=>{E.dropdownView.isOpen=!1}),V}})}}}class wF extends ri{constructor(a){super(a),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",()=>this.refresh(),{priority:"low"})}refresh(){const a=this.editor.commands.get("insertImage"),c=this.editor.commands.get("link");this.isEnabled=a.isEnabled||c.isEnabled}execute(){const a=this.editor,c=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=c&&"modal"!=c)throw new z("ckfinder-unknown-openermethod",a);const u=this.editor.config.get("ckfinder.options")||{};u.chooseFiles=!0;const E=u.onInit;u.language||(u.language=a.locale.uiLanguage),u.onInit=R=>{E&&E(R),R.on("files:choose",V=>{const X=V.data.files.toArray(),et=X.filter(Pt=>!Pt.isImage()),bt=X.filter(Pt=>Pt.isImage());for(const Pt of et)a.execute("link",Pt.getUrl());const vt=[];for(const Pt of bt){const Wt=Pt.getUrl();vt.push(Wt||R.request("file:getProxyUrl",{file:Pt}))}vt.length&&h2(a,vt)}),R.on("file:choose:resizedImage",V=>{const X=V.data.resizedUrl;if(X)h2(a,[X]);else{const et=a.plugins.get("Notification"),bt=a.locale.t;et.showWarning(bt("Could not obtain resized image URL."),{title:bt("Selecting resized image failed"),namespace:"ckfinder"})}})},window.CKFinder[c](u)}}function h2(v,a){if(v.commands.get("insertImage").isEnabled)v.execute("insertImage",{source:a});else{const c=v.plugins.get("Notification"),u=v.locale.t;c.showWarning(u("Could not insert image at the current position."),{title:u("Inserting image failed"),namespace:"ckfinder"})}}class xF extends j{static get pluginName(){return"CKFinderEditing"}static get requires(){return[yh,"LinkEditing"]}init(){const a=this.editor;if(!a.plugins.has("ImageBlockEditing")&&!a.plugins.has("ImageInlineEditing"))throw new z("ckfinder-missing-image-plugin",a);a.commands.add("ckfinder",new wF(a))}}class E4 extends j{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",Nu]}init(){const a=this.editor,c=a.plugins.get("CloudServices"),u=c.token,E=c.uploadUrl;if(!u)return;const R=a.plugins.get("CloudServicesCore");this._uploadGateway=R.createUploadGateway(u,E),a.plugins.get(Nu).createUploadAdapter=V=>new wv(this._uploadGateway,V)}}class wv{constructor(a,c){this.uploadGateway=a,this.loader=c}upload(){return this.loader.file.then(a=>(this.fileUploader=this.uploadGateway.upload(a),this.fileUploader.on("progress",(c,u)=>{this.loader.uploadTotal=u.total,this.loader.uploaded=u.uploaded}),this.fileUploader.send()))}abort(){this.fileUploader.abort()}}class xv extends ri{constructor(a){super(a),this._isEnabledBasedOnSelection=!1}refresh(){const a=this.editor.model,c=kr(a.document.selection.getSelectedBlocks());this.value=!!c&&c.is("element","paragraph"),this.isEnabled=!!c&&l3(c,a.schema)}execute(a={}){const c=this.editor.model,E=a.selection||c.document.selection;c.canEditAt(E)&&c.change(R=>{const V=E.getSelectedBlocks();for(const X of V)!X.is("element","paragraph")&&l3(X,c.schema)&&R.rename(X,"paragraph")})}}function l3(v,a){return a.checkChild(v.parent,"paragraph")&&!a.isObject(v)}class XE extends ri{constructor(a){super(a),this._isEnabledBasedOnSelection=!1}execute(a){const c=this.editor.model,u=a.attributes;let E=a.position;c.canEditAt(E)&&c.change(R=>{if(E=this._findPositionToInsertParagraph(E,R),!E)return;const V=R.createElement("paragraph");u&&c.schema.setAllowedAttributes(V,u,R),c.insertContent(V,E),R.setSelection(V,"in")})}_findPositionToInsertParagraph(a,c){const u=this.editor.model;if(u.schema.checkChild(a,"paragraph"))return a;const E=u.schema.findAllowedParent(a,"paragraph");if(!E)return null;const R=a.parent,V=u.schema.checkChild(R,"$text");return R.isEmpty||V&&a.isAtEnd?u.createPositionAfter(R):!R.isEmpty&&V&&a.isAtStart?u.createPositionBefore(R):c.split(a,E).position}}const MF=class extends j{static get pluginName(){return"Paragraph"}init(){const v=this.editor,a=v.model;v.commands.add("paragraph",new xv(v)),v.commands.add("insertParagraph",new XE(v)),a.schema.register("paragraph",{inheritAllFrom:"$block"}),v.conversion.elementToElement({model:"paragraph",view:"p"}),v.conversion.for("upcast").elementToElement({model:(c,{writer:u})=>MF.paragraphLikeElements.has(c.name)?c.isEmpty?null:u.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let wp=MF;wp.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class TF extends ri{constructor(a,c){super(a),this.modelElements=c}refresh(){const a=kr(this.editor.model.document.selection.getSelectedBlocks());this.value=!!a&&this.modelElements.includes(a.name)&&a.name,this.isEnabled=!!a&&this.modelElements.some(c=>Mv(a,c,this.editor.model.schema))}execute(a){const c=this.editor.model,u=c.document,E=a.value;c.change(R=>{const V=Array.from(u.selection.getSelectedBlocks()).filter(X=>Mv(X,E,c.schema));for(const X of V)X.is("element",E)||R.rename(X,E)})}}function Mv(v,a,c){return c.checkChild(v.parent,a)&&!c.isObject(v)}const Tv="paragraph";class qE extends j{static get pluginName(){return"HeadingEditing"}constructor(a){super(a),a.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[wp]}init(){const a=this.editor,c=a.config.get("heading.options"),u=[];for(const E of c)"paragraph"!==E.model&&(a.model.schema.register(E.model,{inheritAllFrom:"$block"}),a.conversion.elementToElement(E),u.push(E.model));this._addDefaultH1Conversion(a),a.commands.add("heading",new TF(a,u))}afterInit(){const a=this.editor,c=a.commands.get("enter"),u=a.config.get("heading.options");c&&this.listenTo(c,"afterExecute",(E,R)=>{const V=a.model.document.selection.getFirstPosition().parent;u.some(X=>V.is("element",X.model))&&!V.is("element",Tv)&&0===V.childCount&&R.writer.rename(V,Tv)})}_addDefaultH1Conversion(a){a.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:B.low+1})}}var C4=A(8733);ao()(C4.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class WE extends j{static get pluginName(){return"HeadingUI"}init(){const a=this.editor,c=a.t,u=function(V){const X=V.t,et={Paragraph:X("Paragraph"),"Heading 1":X("Heading 1"),"Heading 2":X("Heading 2"),"Heading 3":X("Heading 3"),"Heading 4":X("Heading 4"),"Heading 5":X("Heading 5"),"Heading 6":X("Heading 6")};return V.config.get("heading.options").map(bt=>{const vt=et[bt.title];return vt&&vt!=bt.title&&(bt.title=vt),bt})}(a),E=c("Choose heading"),R=c("Heading");a.ui.componentFactory.add("heading",V=>{const X={},et=new Fa,bt=a.commands.get("heading"),vt=a.commands.get("paragraph"),Pt=[bt];for(const he of u){const Ae={type:"button",model:new L_({label:he.title,class:he.class,role:"menuitemradio",withText:!0})};"paragraph"===he.model?(Ae.model.bind("isOn").to(vt,"value"),Ae.model.set("commandName","paragraph"),Pt.push(vt)):(Ae.model.bind("isOn").to(bt,"value",ze=>ze===he.model),Ae.model.set({commandName:"heading",commandValue:he.model})),et.add(Ae),X[he.model]=he.title}const Wt=Ru(V);return bh(Wt,et,{ariaLabel:R,role:"menu"}),Wt.buttonView.set({ariaLabel:R,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:R}),Wt.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),Wt.bind("isEnabled").toMany(Pt,"isEnabled",(...he)=>he.some(Ae=>Ae)),Wt.buttonView.bind("label").to(bt,"value",vt,"value",(he,Ae)=>{const ze=he||Ae&&"paragraph";return"boolean"==typeof ze?E:X[ze]?X[ze]:E}),this.listenTo(Wt,"execute",he=>{const{commandName:Ae,commandValue:ze}=he.source;a.execute(Ae,ze?{value:ze}:void 0),a.editing.view.focus()}),Wt})}}function Iv(v){return v.createContainerElement("figure",{class:"image"},[v.createEmptyElement("img"),v.createSlot("children")])}function Rv(v,a){const c=v.plugins.get("ImageUtils"),u=v.plugins.has("ImageInlineEditing")&&v.plugins.has("ImageBlockEditing");return R=>c.isInlineImageView(R)?u&&("block"==R.getStyle("display")||R.findAncestor(c.isBlockImageView)?"imageBlock":"imageInline")!==a?null:function E(R){const V={name:!0};return R.hasAttribute("src")&&(V.attributes=["src"]),V}(R):null}function y4(v,a){const c=kr(a.getSelectedBlocks());return!c||v.isObject(c)||c.isEmpty&&"listItem"!=c.name?"imageBlock":"imageInline"}function k0(v){return v&&v.endsWith("px")?parseInt(v):null}function Sv(v){const a=k0(v.getStyle("width")),c=k0(v.getStyle("height"));return!(!a||!c)}var KE=Object.defineProperty,k4=Object.getOwnPropertySymbols,QE=Object.prototype.hasOwnProperty,ZE=Object.prototype.propertyIsEnumerable,Pv=(v,a,c)=>a in v?KE(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,DF=(v,a)=>{for(var c in a||(a={}))QE.call(a,c)&&Pv(v,c,a[c]);if(k4)for(var c of k4(a))ZE.call(a,c)&&Pv(v,c,a[c]);return v};const Av=/^(image|image-inline)$/;class Jd extends j{constructor(){super(...arguments),this._domEmitter=new(Gr())}static get pluginName(){return"ImageUtils"}isImage(a){return this.isInlineImage(a)||this.isBlockImage(a)}isInlineImageView(a){return!!a&&a.is("element","img")}isBlockImageView(a){return!!a&&a.is("element","figure")&&a.hasClass("image")}insertImage(a={},c=null,u=null,E={}){const R=this.editor,V=R.model,X=V.document.selection,et=Ov(R,c||X,u);a=DF(DF({},Object.fromEntries(X.getAttributes())),a);for(const bt in a)V.schema.checkAttribute(et,bt)||delete a[bt];return V.change(bt=>{const{setImageSizes:vt=!0}=E,Pt=bt.createElement(et,a);return V.insertObject(Pt,c,null,{setSelection:"on",findOptimalPosition:c||"imageInline"==et?void 0:"auto"}),Pt.parent?(vt&&this.setImageNaturalSizeAttributes(Pt),Pt):null})}setImageNaturalSizeAttributes(a){const c=a.getAttribute("src");c&&(a.getAttribute("width")||a.getAttribute("height")||this.editor.model.change(u=>{const E=new Lo.window.Image;this._domEmitter.listenTo(E,"load",()=>{a.getAttribute("width")||a.getAttribute("height")||this.editor.model.enqueueChange(u.batch,R=>{R.setAttribute("width",E.naturalWidth,a),R.setAttribute("height",E.naturalHeight,a)}),this._domEmitter.stopListening(E,"load")}),E.src=c}))}getClosestSelectedImageWidget(a){const c=a.getFirstPosition();if(!c)return null;const u=a.getSelectedElement();if(u&&this.isImageWidget(u))return u;let E=c.parent;for(;E;){if(E.is("element")&&this.isImageWidget(E))return E;E=E.parent}return null}getClosestSelectedImageElement(a){const c=a.getSelectedElement();return this.isImage(c)?c:a.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(a){return a.findAncestor({classes:Av})}isImageAllowed(){const a=this.editor.model.document.selection;return function(c,u){if("imageBlock"==Ov(c,u,null)){const R=function(V,X){const bt=tF(V,X).start.parent;return bt.isEmpty&&!bt.is("element","$root")?bt.parent:bt}(u,c.model);if(c.model.schema.checkChild(R,"imageBlock"))return!0}else if(c.model.schema.checkChild(u.focus,"imageInline"))return!0;return!1}(this.editor,a)&&[...a.focus.getAncestors()].every(u=>!u.is("element","imageBlock"))}toImageWidget(a,c,u){return c.setCustomProperty("image",!0,a),l4(a,c,{label:()=>{const E=this.findViewImgElement(a).getAttribute("alt");return E?`${E} ${u}`:u}})}isImageWidget(a){return!!a.getCustomProperty("image")&&Tl(a)}isBlockImage(a){return!!a&&a.is("element","imageBlock")}isInlineImage(a){return!!a&&a.is("element","imageInline")}findViewImgElement(a){if(this.isInlineImageView(a))return a;const c=this.editor.editing.view;for(const{item:u}of c.createRangeIn(a))if(this.isInlineImageView(u))return u}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function Ov(v,a,c){const u=v.model.schema,E=v.config.get("image.insert.type");return v.plugins.has("ImageBlockEditing")?v.plugins.has("ImageInlineEditing")?c||("inline"===E?"imageInline":"auto"!==E?"imageBlock":a.is("selection")?y4(u,a):u.checkChild(a,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class tC extends ri{refresh(){const a=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!a,this.value=!(!this.isEnabled||!a.hasAttribute("alt"))&&a.getAttribute("alt")}execute(a){const c=this.editor,u=c.plugins.get("ImageUtils"),E=c.model,R=u.getClosestSelectedImageElement(E.document.selection);E.change(V=>{V.setAttribute("alt",a.newValue,R)})}}class eC extends j{static get requires(){return[Jd]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new tC(this.editor))}}var jv=A(1905);ao()(jv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var u3=A(6764);ao()(u3.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Nv extends Ro{constructor(a){super(a);const c=this.locale.t;this.focusTracker=new Ys,this.keystrokes=new Ja,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(c("Save"),as.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(c("Cancel"),as.cancel,"ck-button-cancel","cancel"),this._focusables=new _r,this._focusCycler=new sc({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),g({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(a=>{this._focusables.add(a),this.focusTracker.add(a.element)})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(a,c,u,E){const R=new br(this.locale);return R.set({label:a,icon:c,tooltip:!0}),R.extendTemplate({attributes:{class:u}}),E&&R.delegate("execute").to(this,E),R}_createLabeledInputView(){const a=this.locale.t,c=new ed(this.locale,Ml);return c.label=a("Text alternative"),c}}function IF(v){const a=v.editing.view,c=ld.defaultPositions,u=v.plugins.get("ImageUtils");return{target:a.domConverter.mapViewToDom(u.getClosestSelectedImageWidget(a.document.selection)),positions:[c.northArrowSouth,c.northArrowSouthWest,c.northArrowSouthEast,c.southArrowNorth,c.southArrowNorthWest,c.southArrowNorthEast,c.viewportStickyNorth]}}class jh extends j{static get requires(){return[wm]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const a=this.editor,c=a.t;a.ui.componentFactory.add("imageTextAlternative",u=>{const E=a.commands.get("imageTextAlternative"),R=new br(u);return R.set({label:c("Change image text alternative"),icon:as.textAlternative,tooltip:!0}),R.bind("isEnabled").to(E,"isEnabled"),R.bind("isOn").to(E,"value",V=>!!V),this.listenTo(R,"execute",()=>{this._showForm()}),R})}_createForm(){const a=this.editor,c=a.editing.view.document,u=a.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(C(Nv))(a.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{a.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(E,R)=>{this._hideForm(!0),R()}),this.listenTo(a.ui,"update",()=>{u.getClosestSelectedImageWidget(c.selection)?this._isVisible&&function(E){const R=E.plugins.get("ContextualBalloon");if(E.plugins.get("ImageUtils").getClosestSelectedImageWidget(E.editing.view.document.selection)){const V=IF(E);R.updatePosition(V)}}(a):this._hideForm(!0)}),t({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const a=this.editor,c=a.commands.get("imageTextAlternative"),u=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:IF(a)}),u.fieldView.value=u.fieldView.element.value=c.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(a=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),a&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class Lv extends j{static get requires(){return[eC,jh]}static get pluginName(){return"ImageTextAlternative"}}function RF(v,a){const c=(u,E,R)=>{if(!R.consumable.consume(E.item,u.name))return;const V=R.writer,X=R.mapper.toViewElement(E.item),et=v.findViewImgElement(X);null===E.attributeNewValue?(V.removeAttribute("srcset",et),V.removeAttribute("sizes",et)):E.attributeNewValue&&(V.setAttribute("srcset",E.attributeNewValue,et),V.setAttribute("sizes","100vw",et))};return u=>{u.on(`attribute:srcset:${a}`,c)}}function w4(v,a,c){const u=(E,R,V)=>{if(!V.consumable.consume(R.item,E.name))return;const X=V.writer,et=V.mapper.toViewElement(R.item),bt=v.findViewImgElement(et);X.setAttribute(R.attributeKey,R.attributeNewValue||"",bt)};return E=>{E.on(`attribute:${c}:${a}`,u)}}class SF extends ml{observe(a){this.listenTo(a,"load",(c,u)=>{const E=u.target;this.checkShouldIgnoreEventFromTarget(E)||"IMG"==E.tagName&&this._fireEvents(u)},{useCapture:!0})}stopObserving(a){this.stopListening(a)}_fireEvents(a){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",a))}}var PF=Object.defineProperty,AF=Object.getOwnPropertySymbols,f2=Object.prototype.hasOwnProperty,OF=Object.prototype.propertyIsEnumerable,Nh=(v,a,c)=>a in v?PF(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,w0=(v,a)=>{for(var c in a||(a={}))f2.call(a,c)&&Nh(v,c,a[c]);if(AF)for(var c of AF(a))OF.call(a,c)&&Nh(v,c,a[c]);return v};class x0 extends ri{constructor(a){super(a);const c=a.config.get("image.insert.type");a.plugins.has("ImageBlockEditing")||"block"===c&&nt("image-block-plugin-required"),a.plugins.has("ImageInlineEditing")||"inline"===c&&nt("image-inline-plugin-required")}refresh(){const a=this.editor.plugins.get("ImageUtils");this.isEnabled=a.isImageAllowed()}execute(a){const c=ua(a.source),u=this.editor.model.document.selection,E=this.editor.plugins.get("ImageUtils"),R=Object.fromEntries(u.getAttributes());c.forEach((V,X)=>{const et=u.getSelectedElement();if("string"==typeof V&&(V={src:V}),X&&et&&E.isImage(et)){const bt=this.editor.model.createPositionAfter(et);E.insertImage(w0(w0({},V),R),bt)}else E.insertImage(w0(w0({},V),R))})}}class jF extends ri{constructor(a){super(a),this.decorate("cleanupImage")}refresh(){const a=this.editor.plugins.get("ImageUtils"),c=this.editor.model.document.selection.getSelectedElement();this.isEnabled=a.isImage(c),this.value=this.isEnabled?c.getAttribute("src"):null}execute(a){const c=this.editor.model.document.selection.getSelectedElement(),u=this.editor.plugins.get("ImageUtils");this.editor.model.change(E=>{E.setAttribute("src",a.source,c),this.cleanupImage(E,c),u.setImageNaturalSizeAttributes(c)})}cleanupImage(a,c){a.removeAttribute("srcset",c),a.removeAttribute("sizes",c),a.removeAttribute("sources",c),a.removeAttribute("width",c),a.removeAttribute("height",c),a.removeAttribute("alt",c)}}class Lh extends j{static get requires(){return[Jd]}static get pluginName(){return"ImageEditing"}init(){const a=this.editor,c=a.conversion;a.editing.view.addObserver(SF),c.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const u=new x0(a),E=new jF(a);a.commands.add("insertImage",u),a.commands.add("replaceImageSource",E),a.commands.add("imageInsert",u)}}class $h extends j{static get requires(){return[Jd]}static get pluginName(){return"ImageSizeAttributes"}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(a){const c=this.editor,u=c.plugins.get("ImageUtils"),E="imageBlock"===a?"figure":"img";function R(V,X,et,bt){V.on(`attribute:${X}:${a}`,(vt,Pt,Wt)=>{if(!Wt.consumable.consume(Pt.item,vt.name))return;const he=Wt.writer,Ae=Wt.mapper.toViewElement(Pt.item),ze=u.findViewImgElement(Ae);if(null!==Pt.attributeNewValue?he.setAttribute(et,Pt.attributeNewValue,ze):he.removeAttribute(et,ze),Pt.item.hasAttribute("sources"))return;const mn=Pt.item.hasAttribute("resizedWidth");if("imageInline"===a&&!mn&&!bt)return;const xn=Pt.item.getAttribute("width"),ti=Pt.item.getAttribute("height");xn&&ti&&he.setStyle("aspect-ratio",`${xn}/${ti}`,ze)})}c.conversion.for("upcast").attributeToAttribute({view:{name:E,styles:{width:/.+/}},model:{key:"width",value:V=>Sv(V)?k0(V.getStyle("width")):null}}).attributeToAttribute({view:{name:E,key:"width"},model:"width"}).attributeToAttribute({view:{name:E,styles:{height:/.+/}},model:{key:"height",value:V=>Sv(V)?k0(V.getStyle("height")):null}}).attributeToAttribute({view:{name:E,key:"height"},model:"height"}),c.conversion.for("editingDowncast").add(V=>{R(V,"width","width",!0),R(V,"height","height",!0)}),c.conversion.for("dataDowncast").add(V=>{R(V,"width","width",!1),R(V,"height","height",!1)})}}class g2 extends ri{constructor(a,c){super(a),this._modelElementName=c}refresh(){const a=this.editor.plugins.get("ImageUtils"),c=a.getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled="imageBlock"===this._modelElementName?a.isInlineImage(c):a.isBlockImage(c)}execute(a={}){const u=this.editor.model,E=this.editor.plugins.get("ImageUtils"),R=E.getClosestSelectedImageElement(u.document.selection),V=Object.fromEntries(R.getAttributes());return V.src||V.uploadId?u.change(X=>{const{setImageSizes:et=!0}=a,bt=Array.from(u.markers).filter(Wt=>Wt.getRange().containsItem(R)),vt=E.insertImage(V,u.createSelection(R,"on"),this._modelElementName,{setImageSizes:et});if(!vt)return null;const Pt=X.createRangeOn(vt);for(const Wt of bt){const he=Wt.getRange(),Ae="$graveyard"!=he.root.rootName?he.getJoined(Pt,!0):Pt;X.updateMarker(Wt,{range:Ae})}return{oldElement:R,newElement:vt}}):null}}var Vh=A(2873);ao()(Vh.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class xp extends j{static get requires(){return[Jd]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const a=this.editor.model.schema;a.isRegistered("imageBlock")&&a.extend("imageBlock",{allowAttributes:["placeholder"]}),a.isRegistered("imageInline")&&a.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const a=this.editor,c=a.conversion,u=a.plugins.get("ImageUtils");c.for("editingDowncast").add(E=>{E.on("attribute:placeholder",(R,V,X)=>{if(!X.consumable.test(V.item,R.name)||!V.item.is("element","imageBlock")&&!V.item.is("element","imageInline"))return;X.consumable.consume(V.item,R.name);const et=X.writer,bt=X.mapper.toViewElement(V.item),vt=u.findViewImgElement(bt);V.attributeNewValue?(et.addClass("image_placeholder",vt),et.setStyle("background-image",`url(${V.attributeNewValue})`,vt),et.setCustomProperty("editingPipeline:doNotReuseOnce",!0,vt)):(et.removeClass("image_placeholder",vt),et.removeStyle("background-image",vt))})})}_setupLoadListener(){const a=this.editor,c=a.model,u=a.editing,E=u.view,R=a.plugins.get("ImageUtils");E.addObserver(SF),this.listenTo(E.document,"imageLoaded",(V,X)=>{const et=E.domConverter.mapDomToView(X.target);if(!et)return;const bt=R.getImageWidgetFromImageView(et);if(!bt)return;const vt=u.mapper.toModelElement(bt);vt&&vt.hasAttribute("placeholder")&&c.enqueueChange({isUndoable:!1},Pt=>{Pt.removeAttribute("placeholder",vt)})})}}class _2 extends j{static get requires(){return[Lh,$h,Jd,xp,ss]}static get pluginName(){return"ImageBlockEditing"}init(){const a=this.editor;a.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),a.plugins.has("ImageInlineEditing")&&(a.commands.add("imageTypeBlock",new g2(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const a=this.editor,c=a.t,u=a.conversion,E=a.plugins.get("ImageUtils");u.for("dataDowncast").elementToStructure({model:"imageBlock",view:(R,{writer:V})=>Iv(V)}),u.for("editingDowncast").elementToStructure({model:"imageBlock",view:(R,{writer:V})=>E.toImageWidget(Iv(V),V,c("image widget"))}),u.for("downcast").add(w4(E,"imageBlock","src")).add(w4(E,"imageBlock","alt")).add(RF(E,"imageBlock")),u.for("upcast").elementToElement({view:Rv(a,"imageBlock"),model:(R,{writer:V})=>V.createElement("imageBlock",R.hasAttribute("src")?{src:R.getAttribute("src")}:void 0)}).add(function(R){const V=(X,et,bt)=>{if(!bt.consumable.test(et.viewItem,{name:!0,classes:"image"}))return;const vt=R.findViewImgElement(et.viewItem);if(!vt||!bt.consumable.test(vt,{name:!0}))return;bt.consumable.consume(et.viewItem,{name:!0,classes:"image"});const Pt=kr(bt.convertItem(vt,et.modelCursor).modelRange.getItems());Pt?(bt.convertChildren(et.viewItem,Pt),bt.updateConversionResult(Pt,et)):bt.consumable.revert(et.viewItem,{name:!0,classes:"image"})};return X=>{X.on("element:figure",V)}}(E))}_setupClipboardIntegration(){const a=this.editor,c=a.model,u=a.editing.view,E=a.plugins.get("ImageUtils"),R=a.plugins.get("ClipboardPipeline");this.listenTo(R,"inputTransformation",(V,X)=>{const et=Array.from(X.content.getChildren());let bt;if(!et.every(E.isInlineImageView))return;bt=X.targetRanges?a.editing.mapper.toModelRange(X.targetRanges[0]):c.document.selection.getFirstRange();const vt=c.createSelection(bt);if("imageBlock"===y4(c.schema,vt)){const Pt=new Iu(u.document),Wt=et.map(he=>Pt.createElement("figure",{class:"image"},he));X.content=Pt.createDocumentFragment(Wt)}}),this.listenTo(R,"contentInsertion",(V,X)=>{"paste"===X.method&&c.change(et=>{const bt=et.createRangeIn(X.content);for(const vt of bt.getItems())vt.is("element","imageBlock")&&E.setImageNaturalSizeAttributes(vt)})})}}var Sm=A(3535);ao()(Sm.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class NF extends Ro{constructor(a,c=[]){super(a),this.focusTracker=new Ys,this.keystrokes=new Ja,this._focusables=new _r,this.children=this.createCollection(),this._focusCycler=new sc({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const u of c)this.children.add(u),this._focusables.add(u),u instanceof dE&&this._focusables.addMany(u.children);if(this._focusables.length>1)for(const u of this._focusables)$v(u)&&(u.focusCycler.on("forwardCycle",E=>{this._focusCycler.focusNext(),E.stop()}),u.focusCycler.on("backwardCycle",E=>{this._focusCycler.focusPrevious(),E.stop()}));this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),g({view:this});for(const c of this._focusables)this.focusTracker.add(c.element);this.keystrokes.listenTo(this.element);const a=c=>c.stopPropagation();this.keystrokes.set("arrowright",a),this.keystrokes.set("arrowleft",a),this.keystrokes.set("arrowup",a),this.keystrokes.set("arrowdown",a)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}function $v(v){return"focusCycler"in v}class m3 extends j{constructor(a){super(a),this._integrations=new Map,a.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get requires(){return[Jd]}init(){const a=this.editor,c=a.model.document.selection,u=a.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(a.model.document,"change",()=>{this.isImageSelected=u.isImage(c.getSelectedElement())});const E=R=>this._createToolbarComponent(R);a.ui.componentFactory.add("insertImage",E),a.ui.componentFactory.add("imageInsert",E)}registerIntegration({name:a,observable:c,buttonViewCreator:u,formViewCreator:E,requiresForm:R}){this._integrations.has(a)&&nt("image-insert-integration-exists",{name:a}),this._integrations.set(a,{observable:c,buttonViewCreator:u,formViewCreator:E,requiresForm:!!R})}_createToolbarComponent(a){const c=this.editor,u=a.t,E=this._prepareIntegrations();if(!E.length)return null;let R;const V=E[0];if(1==E.length){if(!V.requiresForm)return V.buttonViewCreator(!0);R=V.buttonViewCreator(!0)}else{const bt=V.buttonViewCreator(!1);R=new ym(a,bt),R.tooltip=!0,R.bind("label").to(this,"isImageSelected",vt=>u(vt?"Replace image":"Insert image"))}const X=this.dropdownView=Ru(a,R),et=E.map(({observable:bt})=>bt);return X.bind("isEnabled").toMany(et,"isEnabled",(...bt)=>bt.some(vt=>vt)),X.once("change:isOpen",()=>{const bt=E.map(({formViewCreator:Pt})=>Pt(1==E.length)),vt=new NF(c.locale,bt);X.panelView.children.add(vt)}),X}_prepareIntegrations(){const a=this.editor.config.get("image.insert.integrations"),c=[];if(!a.length)return nt("image-insert-integrations-not-specified"),c;for(const u of a)this._integrations.has(u)?c.push(this._integrations.get(u)):["upload","assetManager","url"].includes(u)||nt("image-insert-unknown-integration",{item:u});return c.length||nt("image-insert-integrations-not-registered"),c}}var LF=A(3508);ao()(LF.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class $F extends j{static get requires(){return[_2,Dh,Lv,m3]}static get pluginName(){return"ImageBlock"}}class VF extends j{static get requires(){return[Lh,$h,Jd,xp,ss]}static get pluginName(){return"ImageInlineEditing"}init(){const a=this.editor,c=a.model.schema;c.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),c.addChildCheck((u,E)=>{if(u.endsWith("caption")&&"imageInline"===E.name)return!1}),this._setupConversion(),a.plugins.has("ImageBlockEditing")&&(a.commands.add("imageTypeInline",new g2(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const a=this.editor,c=a.t,u=a.conversion,E=a.plugins.get("ImageUtils");u.for("dataDowncast").elementToElement({model:"imageInline",view:(R,{writer:V})=>V.createEmptyElement("img")}),u.for("editingDowncast").elementToStructure({model:"imageInline",view:(R,{writer:V})=>{return E.toImageWidget((X=V).createContainerElement("span",{class:"image-inline"},X.createEmptyElement("img")),V,c("image widget"));var X}}),u.for("downcast").add(w4(E,"imageInline","src")).add(w4(E,"imageInline","alt")).add(RF(E,"imageInline")),u.for("upcast").elementToElement({view:Rv(a,"imageInline"),model:(R,{writer:V})=>V.createElement("imageInline",R.hasAttribute("src")?{src:R.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const a=this.editor,c=a.model,u=a.editing.view,E=a.plugins.get("ImageUtils"),R=a.plugins.get("ClipboardPipeline");this.listenTo(R,"inputTransformation",(V,X)=>{const et=Array.from(X.content.getChildren());let bt;if(!et.every(E.isBlockImageView))return;bt=X.targetRanges?a.editing.mapper.toModelRange(X.targetRanges[0]):c.document.selection.getFirstRange();const vt=c.createSelection(bt);if("imageInline"===y4(c.schema,vt)){const Pt=new Iu(u.document),Wt=et.map(he=>1===he.childCount?(Array.from(he.getAttributes()).forEach(Ae=>Pt.setAttribute(...Ae,E.findViewImgElement(he))),he.getChild(0)):he);X.content=Pt.createDocumentFragment(Wt)}}),this.listenTo(R,"contentInsertion",(V,X)=>{"paste"===X.method&&c.change(et=>{const bt=et.createRangeIn(X.content);for(const vt of bt.getItems())vt.is("element","imageInline")&&E.setImageNaturalSizeAttributes(vt)})})}}class Gv extends j{static get requires(){return[VF,Dh,Lv,m3]}static get pluginName(){return"ImageInline"}}class GF extends j{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[Jd]}getCaptionFromImageModelElement(a){for(const c of a.getChildren())if(c&&c.is("element","caption"))return c;return null}getCaptionFromModelSelection(a){const c=this.editor.plugins.get("ImageUtils"),u=a.getFirstPosition().findAncestor("caption");return u&&c.isBlockImage(u.parent)?u:null}matchImageCaptionViewElement(a){const c=this.editor.plugins.get("ImageUtils");return"figcaption"==a.name&&c.isBlockImageView(a.parent)?{name:!0}:null}}class x4 extends ri{refresh(){const a=this.editor,c=a.plugins.get("ImageCaptionUtils"),u=a.plugins.get("ImageUtils");if(!a.plugins.has(_2))return this.isEnabled=!1,void(this.value=!1);const E=a.model.document.selection,R=E.getSelectedElement();if(!R){const V=c.getCaptionFromModelSelection(E);return this.isEnabled=!!V,void(this.value=!!V)}this.isEnabled=u.isImage(R),this.value=!!this.isEnabled&&!!c.getCaptionFromImageModelElement(R)}execute(a={}){const{focusCaptionOnShow:c}=a;this.editor.model.change(u=>{this.value?this._hideImageCaption(u):this._showImageCaption(u,c)})}_showImageCaption(a,c){const u=this.editor.model.document.selection,E=this.editor.plugins.get("ImageCaptionEditing"),R=this.editor.plugins.get("ImageUtils");let V=u.getSelectedElement();const X=E._getSavedCaption(V);R.isInlineImage(V)&&(this.editor.execute("imageTypeBlock"),V=u.getSelectedElement());const et=X||a.createElement("caption");a.append(et,V),c&&a.setSelection(et,"in")}_hideImageCaption(a){const c=this.editor,u=c.model.document.selection,E=c.plugins.get("ImageCaptionEditing"),R=c.plugins.get("ImageCaptionUtils");let V,X=u.getSelectedElement();X?V=R.getCaptionFromImageModelElement(X):(V=R.getCaptionFromModelSelection(u),X=V.parent),E._saveCaption(X,V),a.setSelection(X,"on"),a.remove(V)}}class Gh extends j{constructor(a){super(a),this._savedCaptionsMap=new WeakMap}static get requires(){return[Jd,GF]}static get pluginName(){return"ImageCaptionEditing"}init(){const a=this.editor,c=a.model.schema;c.isRegistered("caption")?c.extend("caption",{allowIn:"imageBlock"}):c.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),a.commands.add("toggleImageCaption",new x4(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const a=this.editor,c=a.editing.view,u=a.plugins.get("ImageUtils"),E=a.plugins.get("ImageCaptionUtils"),R=a.t;a.conversion.for("upcast").elementToElement({view:V=>E.matchImageCaptionViewElement(V),model:"caption"}),a.conversion.for("dataDowncast").elementToElement({model:"caption",view:(V,{writer:X})=>u.isBlockImage(V.parent)?X.createContainerElement("figcaption"):null}),a.conversion.for("editingDowncast").elementToElement({model:"caption",view:(V,{writer:X})=>{if(!u.isBlockImage(V.parent))return null;const et=X.createEditableElement("figcaption");X.setCustomProperty("imageCaption",!0,et),et.placeholder=R("Enter image caption"),Li({view:c,element:et,keepOnFocus:!0});const bt=V.parent.getAttribute("alt");return Q_(et,X,{label:bt?R("Caption for image: %0",[bt]):R("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const a=this.editor,c=a.plugins.get("ImageUtils"),u=a.plugins.get("ImageCaptionUtils"),E=a.commands.get("imageTypeInline"),R=a.commands.get("imageTypeBlock"),V=X=>{if(!X.return)return;const{oldElement:et,newElement:bt}=X.return;if(!et)return;if(c.isBlockImage(et)){const Pt=u.getCaptionFromImageModelElement(et);if(Pt)return void this._saveCaption(bt,Pt)}const vt=this._getSavedCaption(et);vt&&this._saveCaption(bt,vt)};E&&this.listenTo(E,"execute",V,{priority:"low"}),R&&this.listenTo(R,"execute",V,{priority:"low"})}_getSavedCaption(a){const c=this._savedCaptionsMap.get(a);return c?rs.fromJSON(c):null}_saveCaption(a,c){this._savedCaptionsMap.set(a,c.toJSON())}_registerCaptionReconversion(){const a=this.editor,c=a.model,u=a.plugins.get("ImageUtils"),E=a.plugins.get("ImageCaptionUtils");c.document.on("change:data",()=>{const R=c.document.differ.getChanges();for(const V of R){if("alt"!==V.attributeKey)continue;const X=V.range.start.nodeAfter;if(u.isBlockImage(X)){const et=E.getCaptionFromImageModelElement(X);if(!et)return;a.editing.reconvertItem(et)}}})}}class Bv extends j{static get requires(){return[GF]}static get pluginName(){return"ImageCaptionUI"}init(){const a=this.editor,c=a.editing.view,u=a.plugins.get("ImageCaptionUtils"),E=a.t;a.ui.componentFactory.add("toggleImageCaption",R=>{const V=a.commands.get("toggleImageCaption"),X=new br(R);return X.set({icon:as.caption,tooltip:!0,isToggleable:!0}),X.bind("isOn","isEnabled").to(V,"value","isEnabled"),X.bind("label").to(V,"value",et=>E(et?"Toggle caption off":"Toggle caption on")),this.listenTo(X,"execute",()=>{a.execute("toggleImageCaption",{focusCaptionOnShow:!0});const et=u.getCaptionFromModelSelection(a.model.document.selection);if(et){const bt=a.editing.mapper.toViewElement(et);c.scrollToTheSelection(),c.change(vt=>{vt.addClass("image__caption_highlighted",bt)})}a.editing.view.focus()}),X})}}var zv=A(2640);function Bh(v){const a=v.map(c=>c.replace("+","\\+"));return new RegExp(`^image\\/(${a.join("|")})$`)}function zF(v){return new Promise((a,c)=>{const u=v.getAttribute("src");fetch(u).then(E=>E.blob()).then(E=>{const R=Hv(E,u),V=R.replace("image/",""),X=new File([E],`image.${V}`,{type:R});a(X)}).catch(E=>{return E&&"TypeError"===E.name?(R=u,(V=R,new Promise((X,et)=>{const bt=Lo.document.createElement("img");bt.addEventListener("load",()=>{const vt=Lo.document.createElement("canvas");vt.width=bt.width,vt.height=bt.height,vt.getContext("2d").drawImage(bt,0,0),vt.toBlob(Pt=>Pt?X(Pt):et())}),bt.addEventListener("error",()=>et()),bt.src=V})).then(V=>{const X=Hv(V,R),et=X.replace("image/","");return new File([V],`image.${et}`,{type:X})})).then(a).catch(c):c(E);var R,V})})}function Hv(v,a){return v.type?v.type:a.match(/data:(image\/\w+);base64/)?a.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}ao()(zv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class HF extends j{static get pluginName(){return"ImageUploadUI"}init(){const a=this.editor,c=a.t,u=E=>{const R=new lv(E),V=a.commands.get("uploadImage"),X=a.config.get("image.upload.types"),et=Bh(X);return R.set({acceptedType:X.map(bt=>`image/${bt}`).join(","),allowMultipleFiles:!0,label:c("Upload image from computer"),icon:as.imageUpload,tooltip:!0}),R.bind("isEnabled").to(V),R.on("done",(bt,vt)=>{const Pt=Array.from(vt).filter(Wt=>et.test(Wt.type));Pt.length&&(a.execute("uploadImage",{file:Pt}),a.editing.view.focus())}),R};if(a.ui.componentFactory.add("uploadImage",u),a.ui.componentFactory.add("imageUpload",u),a.plugins.has("ImageInsertUI")){const E=a.plugins.get("ImageInsertUI"),R=a.commands.get("uploadImage");E.registerIntegration({name:"upload",observable:R,buttonViewCreator:()=>{const V=a.ui.componentFactory.create("uploadImage");return V.bind("label").to(E,"isImageSelected",X=>c(X?"Replace image from computer":"Upload image from computer")),V},formViewCreator:()=>{const V=a.ui.componentFactory.create("uploadImage");return V.withText=!0,V.bind("label").to(E,"isImageSelected",X=>c(X?"Replace from computer":"Upload from computer")),V.on("execute",()=>{E.dropdownView.isOpen=!1}),V}})}}}var iC=A(3689);ao()(iC.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Yv=A(4036);ao()(Yv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var YF=A(3773);ao()(YF.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Dl extends j{constructor(a){super(a),this.uploadStatusChange=(c,u,E)=>{const R=this.editor,V=u.item,X=V.getAttribute("uploadId");if(!E.consumable.consume(u.item,c.name))return;const et=R.plugins.get("ImageUtils"),bt=R.plugins.get(Nu),vt=X?u.attributeNewValue:null,Pt=this.placeholder,Wt=R.editing.mapper.toViewElement(V),he=E.writer;if("reading"==vt)return p3(Wt,he),void Jv(et,Pt,Wt,he);if("uploading"==vt){const Ae=bt.loaders.get(X);return p3(Wt,he),void(Ae?(Xv(Wt,he),function(ze,mn,xn,ti){const Si=function(mo){const lr=mo.createUIElement("div",{class:"ck-progress-bar"});return mo.setCustomProperty("progressBar",!0,lr),lr}(mn);mn.insert(mn.createPositionAt(ze,"end"),Si),xn.on("change:uploadedPercent",(mo,lr,Ia)=>{ti.change(Aa=>{Aa.setStyle("width",Ia+"%",Si)})})}(Wt,he,Ae,R.editing.view),function(ze,mn,xn,ti){if(ti.data){const Si=ze.findViewImgElement(mn);xn.setAttribute("src",ti.data,Si)}}(et,Wt,he,Ae)):Jv(et,Pt,Wt,he))}"complete"==vt&&bt.loaders.get(X)&&function(Ae,ze,mn){const xn=ze.createUIElement("div",{class:"ck-image-upload-complete-icon"});ze.insert(ze.createPositionAt(Ae,"end"),xn),setTimeout(()=>{mn.change(ti=>ti.remove(ti.createRangeOn(xn)))},3e3)}(Wt,he,R.editing.view),JF(Wt,he,"progressBar"),Xv(Wt,he),he.removeClass("ck-appear",Wt)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const a=this.editor;a.plugins.has("ImageBlockEditing")&&a.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),a.plugins.has("ImageInlineEditing")&&a.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function p3(v,a){v.hasClass("ck-appear")||a.addClass("ck-appear",v)}function Jv(v,a,c,u){c.hasClass("ck-image-upload-placeholder")||u.addClass("ck-image-upload-placeholder",c);const E=v.findViewImgElement(c);E.getAttribute("src")!==a&&u.setAttribute("src",a,E),UF(c,"placeholder")||u.insert(u.createPositionAfter(E),function(R){const V=R.createUIElement("div",{class:"ck-upload-placeholder-loader"});return R.setCustomProperty("placeholder",!0,V),V}(u))}function Xv(v,a){v.hasClass("ck-image-upload-placeholder")&&a.removeClass("ck-image-upload-placeholder",v),JF(v,a,"placeholder")}function UF(v,a){for(const c of v.getChildren())if(c.getCustomProperty(a))return c}function JF(v,a,c){const u=UF(v,c);u&&a.remove(a.createRangeOn(u))}var qv=Object.defineProperty,Wv=Object.defineProperties,D0=Object.getOwnPropertyDescriptors,Kv=Object.getOwnPropertySymbols,rC=Object.prototype.hasOwnProperty,XF=Object.prototype.propertyIsEnumerable,Qv=(v,a,c)=>a in v?qv(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c;class Zv extends ri{refresh(){const a=this.editor,c=a.plugins.get("ImageUtils"),u=a.model.document.selection.getSelectedElement();this.isEnabled=c.isImageAllowed()||c.isImage(u)}execute(a){const c=ua(a.file),u=this.editor.model.document.selection,E=this.editor.plugins.get("ImageUtils"),R=Object.fromEntries(u.getAttributes());c.forEach((V,X)=>{const et=u.getSelectedElement();if(X&&et&&E.isImage(et)){const bt=this.editor.model.createPositionAfter(et);this._uploadImage(V,R,bt)}else this._uploadImage(V,R)})}_uploadImage(a,c,u){const E=this.editor,R=E.plugins.get(Nu).createLoader(a),V=E.plugins.get("ImageUtils");var X;R&&V.insertImage((X=((bt,vt)=>{for(var Pt in vt||(vt={}))rC.call(vt,Pt)&&Qv(bt,Pt,vt[Pt]);if(Kv)for(var Pt of Kv(vt))XF.call(vt,Pt)&&Qv(bt,Pt,vt[Pt]);return bt})({},c),Wv(X,D0({uploadId:R.id}))),u)}}class nk extends j{constructor(a){super(a),a.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[Nu,yh,ss,Jd]}static get pluginName(){return"ImageUploadEditing"}init(){const a=this.editor,c=a.model.document,u=a.conversion,E=a.plugins.get(Nu),R=a.plugins.get("ImageUtils"),V=a.plugins.get("ClipboardPipeline"),X=Bh(a.config.get("image.upload.types")),et=new Zv(a);a.commands.add("uploadImage",et),a.commands.add("imageUpload",et),u.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(a.editing.view.document,"clipboardInput",(bt,vt)=>{if(Pt=vt.dataTransfer,Array.from(Pt.types).includes("text/html")&&""!==Pt.getData("text/html"))return;var Pt;const Wt=Array.from(vt.dataTransfer.files).filter(he=>!!he&&X.test(he.type));Wt.length&&(bt.stop(),a.model.change(he=>{vt.targetRanges&&he.setSelection(vt.targetRanges.map(Ae=>a.editing.mapper.toModelRange(Ae))),a.execute("uploadImage",{file:Wt})}))}),this.listenTo(V,"inputTransformation",(bt,vt)=>{const Pt=Array.from(a.editing.view.createRangeIn(vt.content)).map(he=>he.item).filter(he=>{return!(!R.isInlineImageView(ze=he)||!ze.getAttribute("src")||!ze.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!ze.getAttribute("src").match(/^blob:/g)||he.getAttribute("uploadProcessed"));var ze}).map(he=>({promise:zF(he),imageElement:he}));if(!Pt.length)return;const Wt=new Iu(a.editing.view.document);for(const he of Pt){Wt.setAttribute("uploadProcessed",!0,he.imageElement);const Ae=E.createLoader(he.promise);Ae&&(Wt.setAttribute("src","",he.imageElement),Wt.setAttribute("uploadId",Ae.id,he.imageElement))}}),a.editing.view.document.on("dragover",(bt,vt)=>{vt.preventDefault()}),c.on("change",()=>{const bt=c.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),vt=new Set;for(const Pt of bt)if("insert"==Pt.type&&"$text"!=Pt.name){const Wt=Pt.position.nodeAfter,he="$graveyard"==Pt.position.root.rootName;for(const Ae of h3(a,Wt)){const ze=Ae.getAttribute("uploadId");if(!ze)continue;const mn=E.loaders.get(ze);mn&&(he?vt.has(ze)||mn.abort():(vt.add(ze),this._uploadImageElements.set(ze,Ae),"idle"==mn.status&&this._readAndUpload(mn)))}}}),this.on("uploadComplete",(bt,{imageElement:vt,data:Pt})=>{const Wt=Pt.urls?Pt.urls:Pt;this.editor.model.change(he=>{he.setAttribute("src",Wt.default,vt),this._parseAndSetSrcsetAttributeOnImage(Wt,vt,he),R.setImageNaturalSizeAttributes(vt)})},{priority:"low"})}afterInit(){const a=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&a.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&a.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(a){const c=this.editor,u=c.model,E=c.locale.t,R=c.plugins.get(Nu),V=c.plugins.get(yh),X=c.plugins.get("ImageUtils"),et=this._uploadImageElements;return u.enqueueChange({isUndoable:!1},vt=>{vt.setAttribute("uploadStatus","reading",et.get(a.id))}),a.read().then(()=>{const vt=a.upload(),Pt=et.get(a.id);if(_.isSafari){const Wt=c.editing.mapper.toViewElement(Pt),he=X.findViewImgElement(Wt);c.editing.view.once("render",()=>{if(!he.parent)return;const Ae=c.editing.view.domConverter.mapViewToDom(he.parent);if(!Ae)return;const ze=Ae.style.display;Ae.style.display="none",Ae._ckHack=Ae.offsetHeight,Ae.style.display=ze})}return u.enqueueChange({isUndoable:!1},Wt=>{Wt.setAttribute("uploadStatus","uploading",Pt)}),vt}).then(vt=>{u.enqueueChange({isUndoable:!1},Pt=>{const Wt=et.get(a.id);Pt.setAttribute("uploadStatus","complete",Wt),this.fire("uploadComplete",{data:vt,imageElement:Wt})}),bt()}).catch(vt=>{if("error"!==a.status&&"aborted"!==a.status)throw vt;"error"==a.status&&vt&&V.showWarning(vt,{title:E("Upload failed"),namespace:"upload"}),u.enqueueChange({isUndoable:!1},Pt=>{Pt.remove(et.get(a.id))}),bt()});function bt(){u.enqueueChange({isUndoable:!1},vt=>{const Pt=et.get(a.id);vt.removeAttribute("uploadId",Pt),vt.removeAttribute("uploadStatus",Pt),et.delete(a.id)}),R.destroyLoader(a)}}_parseAndSetSrcsetAttributeOnImage(a,c,u){let E=0;const R=Object.keys(a).filter(V=>{const X=parseInt(V,10);if(!isNaN(X))return E=Math.max(E,X),!0}).map(V=>`${a[V]} ${V}w`).join(", ");if(""!=R){const V={srcset:R};c.hasAttribute("width")||c.hasAttribute("height")||(V.width=E),u.setAttributes(V,c)}}}function h3(v,a){const c=v.plugins.get("ImageUtils");return Array.from(v.model.createRangeOn(a)).filter(u=>c.isImage(u.item)).map(u=>u.item)}var f3=A(6270);ao()(f3.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class g3 extends ri{constructor(a,c){super(a),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(c.map(u=>{if(u.isDefault)for(const E of u.modelElements)this._defaultStyles[E]=u.name;return[u.name,u]}))}refresh(){const a=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!a,this.value=!!this.isEnabled&&(a.hasAttribute("imageStyle")?a.getAttribute("imageStyle"):this._defaultStyles[a.name])}execute(a={}){const c=this.editor,u=c.model,E=c.plugins.get("ImageUtils");u.change(R=>{const V=a.value,{setImageSizes:X=!0}=a;let et=E.getClosestSelectedImageElement(u.document.selection);V&&this.shouldConvertImageType(V,et)&&(this.editor.execute(E.isBlockImage(et)?"imageTypeInline":"imageTypeBlock",{setImageSizes:X}),et=E.getClosestSelectedImageElement(u.document.selection)),!V||this._styles.get(V).isDefault?R.removeAttribute("imageStyle",et):R.setAttribute("imageStyle",V,et),X&&E.setImageNaturalSizeAttributes(et)})}shouldConvertImageType(a,c){return!this._styles.get(a).modelElements.includes(c.name)}}var Pm=Object.defineProperty,t7=Object.getOwnPropertySymbols,e7=Object.prototype.hasOwnProperty,Am=Object.prototype.propertyIsEnumerable,s1=(v,a,c)=>a in v?Pm(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,$u=(v,a)=>{for(var c in a||(a={}))e7.call(a,c)&&s1(v,c,a[c]);if(t7)for(var c of t7(a))Am.call(a,c)&&s1(v,c,a[c]);return v};const{objectFullWidth:WF,objectInline:KF,objectLeft:QF,objectRight:ZF,objectCenter:M4,objectBlockLeft:n7,objectBlockRight:_3}=as,zh={get inline(){return{name:"inline",title:"In line",icon:KF,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:QF,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:n7,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:M4,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:ZF,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:_3,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:M4,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:ZF,modelElements:["imageBlock"],className:"image-style-side"}}},i7={full:WF,left:n7,right:_3,center:M4,inlineLeft:QF,inlineRight:ZF,inline:KF},T4=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function o7(v){nt("image-style-configuration-definition-invalid",v)}const t6={normalizeStyles:function(v){return(v.configuredStyles.options||[]).map(a=>{return"string"==typeof(c="string"==typeof(c=a)?zh[c]?$u({},zh[c]):{name:c}:function(u,E){const R=$u({},E);for(const V in u)Object.prototype.hasOwnProperty.call(E,V)||(R[V]=u[V]);return R}(zh[c.name],c)).icon&&(c.icon=i7[c.icon]||c.icon),c;var c}).filter(a=>function(c,{isBlockPluginLoaded:u,isInlinePluginLoaded:E}){const{modelElements:R,name:V}=c;if(!(R&&R.length&&V))return o7({style:c}),!1;{const X=[u?"imageBlock":null,E?"imageInline":null];if(!R.some(et=>X.includes(et)))return nt("image-style-missing-dependency",{style:c,missingPlugins:R.map(et=>"imageBlock"===et?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}(a,v))},getDefaultStylesConfiguration:function(v,a){return v&&a?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:v?{options:["block","side"]}:a?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(v){return v.has("ImageBlockEditing")&&v.has("ImageInlineEditing")?[...T4]:[]},warnInvalidStyle:o7,DEFAULT_OPTIONS:zh,DEFAULT_ICONS:i7,DEFAULT_DROPDOWN_DEFINITIONS:T4};function b3(v,a){for(const c of a)if(c.name===v)return c}class e6 extends j{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[Jd]}init(){const{normalizeStyles:a,getDefaultStylesConfiguration:c}=t6,u=this.editor,E=u.plugins.has("ImageBlockEditing"),R=u.plugins.has("ImageInlineEditing");u.config.define("image.styles",c(E,R)),this.normalizedStyles=a({configuredStyles:u.config.get("image.styles"),isBlockPluginLoaded:E,isInlinePluginLoaded:R}),this._setupConversion(E,R),this._setupPostFixer(),u.commands.add("imageStyle",new g3(u,this.normalizedStyles))}_setupConversion(a,c){const u=this.editor,E=u.model.schema,R=(V=this.normalizedStyles,(et,bt,vt)=>{if(!vt.consumable.consume(bt.item,et.name))return;const Pt=b3(bt.attributeNewValue,V),Wt=b3(bt.attributeOldValue,V),he=vt.mapper.toViewElement(bt.item),Ae=vt.writer;Wt&&Ae.removeClass(Wt.className,he),Pt&&Ae.addClass(Pt.className,he)});var V;const X=function(et){const bt={imageInline:et.filter(vt=>!vt.isDefault&&vt.modelElements.includes("imageInline")),imageBlock:et.filter(vt=>!vt.isDefault&&vt.modelElements.includes("imageBlock"))};return(vt,Pt,Wt)=>{if(!Pt.modelRange)return;const he=Pt.viewItem,Ae=kr(Pt.modelRange.getItems());if(Ae&&Wt.schema.checkAttribute(Ae,"imageStyle"))for(const ze of bt[Ae.name])Wt.consumable.consume(he,{classes:ze.className})&&Wt.writer.setAttribute("imageStyle",ze.name,Ae)}}(this.normalizedStyles);u.editing.downcastDispatcher.on("attribute:imageStyle",R),u.data.downcastDispatcher.on("attribute:imageStyle",R),a&&(E.extend("imageBlock",{allowAttributes:"imageStyle"}),u.data.upcastDispatcher.on("element:figure",X,{priority:"low"})),c&&(E.extend("imageInline",{allowAttributes:"imageStyle"}),u.data.upcastDispatcher.on("element:img",X,{priority:"low"}))}_setupPostFixer(){const a=this.editor,c=a.model.document,u=a.plugins.get(Jd),E=new Map(this.normalizedStyles.map(R=>[R.name,R]));c.registerPostFixer(R=>{let V=!1;for(const X of c.differ.getChanges())if("insert"==X.type||"attribute"==X.type&&"imageStyle"==X.attributeKey){let et="insert"==X.type?X.position.nodeAfter:X.range.start.nodeAfter;if(et&&et.is("element","paragraph")&&et.childCount>0&&(et=et.getChild(0)),!u.isImage(et))continue;const bt=et.getAttribute("imageStyle");if(!bt)continue;const vt=E.get(bt);vt&&vt.modelElements.includes(et.name)||(R.removeAttribute("imageStyle",et),V=!0)}return V})}}var D4=A(5083);ao()(D4.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class a7 extends j{static get requires(){return[e6]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const a=this.editor.t;return{"Wrap text":a("Wrap text"),"Break text":a("Break text"),"In line":a("In line"),"Full size image":a("Full size image"),"Side image":a("Side image"),"Left aligned image":a("Left aligned image"),"Centered image":a("Centered image"),"Right aligned image":a("Right aligned image")}}init(){const a=this.editor.plugins,c=this.editor.config.get("image.toolbar")||[],u=F3(a.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const R of u)this._createButton(R);const E=F3([...c.filter(_t),...t6.getDefaultDropdownDefinitions(a)],this.localizedDefaultStylesTitles);for(const R of E)this._createDropdown(R,u)}_createDropdown(a,c){const u=this.editor.ui.componentFactory;u.add(a.name,E=>{let R;const{defaultItem:V,items:X,title:et}=a,bt=X.filter(he=>c.find(({name:Ae})=>s7(Ae)===he)).map(he=>{const Ae=u.create(he);return he===V&&(R=Ae),Ae});X.length!==bt.length&&t6.warnInvalidStyle({dropdown:a});const vt=Ru(E,ym),Pt=vt.buttonView,Wt=Pt.arrowView;return Qf(vt,bt,{enableActiveItemFocusOnDropdownOpen:!0}),Pt.set({label:n6(et,R.label),class:null,tooltip:!0}),Wt.unbind("label"),Wt.set({label:et}),Pt.bind("icon").toMany(bt,"isOn",(...he)=>{const Ae=he.findIndex(q1);return Ae<0?R.icon:bt[Ae].icon}),Pt.bind("label").toMany(bt,"isOn",(...he)=>{const Ae=he.findIndex(q1);return n6(et,Ae<0?R.label:bt[Ae].label)}),Pt.bind("isOn").toMany(bt,"isOn",(...he)=>he.some(q1)),Pt.bind("class").toMany(bt,"isOn",(...he)=>he.some(q1)?"ck-splitbutton_flatten":void 0),Pt.on("execute",()=>{bt.some(({isOn:he})=>he)?vt.isOpen=!vt.isOpen:R.fire("execute")}),vt.bind("isEnabled").toMany(bt,"isEnabled",(...he)=>he.some(q1)),this.listenTo(vt,"execute",()=>{this.editor.editing.view.focus()}),vt})}_createButton(a){const c=a.name;this.editor.ui.componentFactory.add(s7(c),u=>{const E=this.editor.commands.get("imageStyle"),R=new br(u);return R.set({label:a.title,icon:a.icon,tooltip:!0,isToggleable:!0}),R.bind("isEnabled").to(E,"isEnabled"),R.bind("isOn").to(E,"value",V=>V===c),R.on("execute",this._executeCommand.bind(this,c)),R})}_executeCommand(a){this.editor.execute("imageStyle",{value:a}),this.editor.editing.view.focus()}}function F3(v,a){for(const c of v)a[c.title]&&(c.title=a[c.title]);return v}function s7(v){return`imageStyle:${v}`}function n6(v,a){return(v?v+": ":"")+a}class aC extends j{static get pluginName(){return"IndentEditing"}init(){const a=this.editor;a.commands.add("indent",new ir(a)),a.commands.add("outdent",new ir(a))}}const c7='',I4='';class l7 extends j{static get pluginName(){return"IndentUI"}init(){const a=this.editor,c=a.locale,u=a.t,E="ltr"==c.uiLanguageDirection?c7:I4,R="ltr"==c.uiLanguageDirection?I4:c7;this._defineButton("indent",u("Increase indent"),E),this._defineButton("outdent",u("Decrease indent"),R)}_defineButton(a,c,u){const E=this.editor;E.ui.componentFactory.add(a,R=>{const V=E.commands.get(a),X=new br(R);return X.set({label:c,icon:u,tooltip:!0}),X.bind("isEnabled").to(V,"isEnabled"),this.listenTo(X,"execute",()=>{E.execute(a),E.editing.view.focus()}),X})}}class sC{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(a){Array.isArray(a)?a.forEach(c=>this._definitions.add(c)):this._definitions.add(a)}getDispatcher(){return a=>{a.on("attribute:linkHref",(c,u,E)=>{if(!E.consumable.test(u.item,"attribute:linkHref")||!u.item.is("selection")&&!E.schema.isInline(u.item))return;const R=E.writer,V=R.document.selection;for(const X of this._definitions){const et=R.createAttributeElement("a",X.attributes,{priority:5});X.classes&&R.addClass(X.classes,et);for(const bt in X.styles)R.setStyle(bt,X.styles[bt],et);R.setCustomProperty("link",!0,et),X.callback(u.attributeNewValue)?u.item.is("selection")?R.wrap(V.getFirstRange(),et):R.wrap(E.mapper.toViewRange(u.range),et):R.unwrap(E.mapper.toViewRange(u.range),et)}},{priority:"high"})}}getDispatcherForLinkedImage(){return a=>{a.on("attribute:linkHref:imageBlock",(c,u,{writer:E,mapper:R})=>{const V=R.toViewElement(u.item),X=Array.from(V.getChildren()).find(et=>et.is("element","a"));for(const et of this._definitions){const bt=qi(et.attributes);if(et.callback(u.attributeNewValue)){for(const[vt,Pt]of bt)"class"===vt?E.addClass(Pt,X):E.setAttribute(vt,Pt,X);et.classes&&E.addClass(et.classes,X);for(const vt in et.styles)E.setStyle(vt,et.styles[vt],X)}else{for(const[vt,Pt]of bt)"class"===vt?E.removeClass(Pt,X):E.removeAttribute(vt,X);et.classes&&E.removeClass(et.classes,X);for(const vt in et.styles)E.removeStyle(vt,X)}}})}}}var lC=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const d7=function(v){return lC.test(v)};var u7="\\ud800-\\udfff",o6="["+u7+"]",v3="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R4="\\ud83c[\\udffb-\\udfff]",E3="[^"+u7+"]",S4="(?:\\ud83c[\\udde6-\\uddff]){2}",m7="[\\ud800-\\udbff][\\udc00-\\udfff]",p7="(?:"+v3+"|"+R4+")?",C3="[\\ufe0e\\ufe0f]?",dC=C3+p7+"(?:\\u200d(?:"+[E3,S4,m7].join("|")+")"+C3+p7+")*",r6="(?:"+[E3+v3+"?",v3,S4,m7,o6].join("|")+")",uC=RegExp(R4+"(?="+R4+")|"+r6+dC,"g");const mC=function(v){return function(a){a=Ap(a);var c=d7(a)?function(v){return d7(v)?function(v){return v.match(uC)||[]}(v):function(v){return v.split("")}(v)}(a):void 0,u=c?c[0]:a.charAt(0),E=c?function(v,a,c){var u=v.length;return Xm(v,1,c=void 0===c?u:c)}(c).join(""):a.slice(1);return u.toUpperCase()+E}}(),f7=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,s6=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,pC=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,P4=/^((\w+:(\/{2,})?)|(\W))/i,I0="Ctrl+K";function A4(v,{writer:a}){const c=a.createAttributeElement("a",{href:v},{priority:5});return a.setCustomProperty("link",!0,c),c}function c6(v){const a=String(v);return a.replace(f7,"").match(s6)?a:"#"}function y3(v,a){return!!v&&a.checkAttribute(v.name,"linkHref")}function l6(v,a){const c=pC.test(v)?"mailto:":a,E=!!c&&!g7(v);return v&&E?c+v:v}function g7(v){return P4.test(v)}function O4(v){window.open(v,"_blank","noopener")}class k3 extends ri{constructor(){super(...arguments),this.manualDecorators=new Fa,this.automaticDecorators=new sC}restoreManualDecoratorStates(){for(const a of this.manualDecorators)a.value=this._getDecoratorStateFromModel(a.id)}refresh(){const a=this.editor.model,c=a.document.selection,u=c.getSelectedElement()||kr(c.getSelectedBlocks());y3(u,a.schema)?(this.value=u.getAttribute("linkHref"),this.isEnabled=a.schema.checkAttribute(u,"linkHref")):(this.value=c.getAttribute("linkHref"),this.isEnabled=a.schema.checkAttributeInSelection(c,"linkHref"));for(const E of this.manualDecorators)E.value=this._getDecoratorStateFromModel(E.id)}execute(a,c={}){const u=this.editor.model,E=u.document.selection,R=[],V=[];for(const X in c)c[X]?R.push(X):V.push(X);u.change(X=>{if(E.isCollapsed){const et=E.getFirstPosition();if(E.hasAttribute("linkHref")){const bt=j4(E);let vt=Mm(et,"linkHref",E.getAttribute("linkHref"),u);E.getAttribute("linkHref")===bt&&(vt=this._updateLinkContent(u,X,vt,a)),X.setAttribute("linkHref",a,vt),R.forEach(Pt=>{X.setAttribute(Pt,!0,vt)}),V.forEach(Pt=>{X.removeAttribute(Pt,vt)}),X.setSelection(X.createPositionAfter(vt.end.nodeBefore))}else if(""!==a){const bt=qi(E.getAttributes());bt.set("linkHref",a),R.forEach(Pt=>{bt.set(Pt,!0)});const{end:vt}=u.insertContent(X.createText(a,bt),et);X.setSelection(vt)}["linkHref",...R,...V].forEach(bt=>{X.removeSelectionAttribute(bt)})}else{const et=u.schema.getValidRanges(E.getRanges(),"linkHref"),bt=[];for(const Pt of E.getSelectedBlocks())u.schema.checkAttribute(Pt,"linkHref")&&bt.push(X.createRangeOn(Pt));const vt=bt.slice();for(const Pt of et)this._isRangeToUpdate(Pt,bt)&&vt.push(Pt);for(const Pt of vt){let Wt=Pt;if(1===vt.length){const he=j4(E);E.getAttribute("linkHref")===he&&(Wt=this._updateLinkContent(u,X,Pt,a),X.setSelection(X.createSelection(Wt)))}X.setAttribute("linkHref",a,Wt),R.forEach(he=>{X.setAttribute(he,!0,Wt)}),V.forEach(he=>{X.removeAttribute(he,Wt)})}}})}_getDecoratorStateFromModel(a){const c=this.editor.model,u=c.document.selection,E=u.getSelectedElement();return y3(E,c.schema)?E.getAttribute(a):u.getAttribute(a)}_isRangeToUpdate(a,c){for(const u of c)if(u.containsRange(a))return!1;return!0}_updateLinkContent(a,c,u,E){const R=c.createText(E,{linkHref:E});return a.insertContent(R,u)}}function j4(v){if(v.isCollapsed){const a=v.getFirstPosition();return a.textNode&&a.textNode.data}{const a=Array.from(v.getFirstRange().getItems());if(a.length>1)return null;const c=a[0];return c.is("$text")||c.is("$textProxy")?c.data:null}}class _7 extends ri{refresh(){const a=this.editor.model,c=a.document.selection,u=c.getSelectedElement();this.isEnabled=y3(u,a.schema)?a.schema.checkAttribute(u,"linkHref"):a.schema.checkAttributeInSelection(c,"linkHref")}execute(){const c=this.editor.model,u=c.document.selection,E=this.editor.commands.get("link");c.change(R=>{const V=u.isCollapsed?[Mm(u.getFirstPosition(),"linkHref",u.getAttribute("linkHref"),c)]:c.schema.getValidRanges(u.getRanges(),"linkHref");for(const X of V)if(R.removeAttribute("linkHref",X),E)for(const et of E.manualDecorators)R.removeAttribute(et.id,X)})}}class hC extends(kt()){constructor({id:a,label:c,attributes:u,classes:E,styles:R,defaultValue:V}){super(),this.id=a,this.set("value",void 0),this.defaultValue=V,this.label=c,this.attributes=u,this.classes=E,this.styles=R}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var b7=A(9773);ao()(b7.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var d6=Object.defineProperty,x3=Object.getOwnPropertySymbols,b2=Object.prototype.hasOwnProperty,fC=Object.prototype.propertyIsEnumerable,F7=(v,a,c)=>a in v?d6(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,R0=(v,a)=>{for(var c in a||(a={}))b2.call(a,c)&&F7(v,c,a[c]);if(x3)for(var c of x3(a))fC.call(a,c)&&F7(v,c,a[c]);return v};const v7="automatic",F2=/^(https?:)?\/\//;class gC extends j{static get pluginName(){return"LinkEditing"}static get requires(){return[X_,On,ss]}constructor(a){super(a),a.config.define("link",{addTargetToExternalLinks:!1})}init(){const a=this.editor;a.model.schema.extend("$text",{allowAttributes:"linkHref"}),a.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:A4}),a.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(u,E)=>A4(c6(u),E)}),a.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:u=>u.getAttribute("href")}}),a.commands.add("link",new k3(a)),a.commands.add("unlink",new _7(a));const c=function(u,E){const R={"Open in a new tab":u("Open in a new tab"),Downloadable:u("Downloadable")};return E.forEach(V=>("label"in V&&R[V.label]&&(V.label=R[V.label]),V)),E}(a.t,function(u){const E=[];if(u)for(const[R,V]of Object.entries(u)){const X=Object.assign({},V,{id:`link${mC(R)}`});E.push(X)}return E}(a.config.get("link.decorators")));this._enableAutomaticDecorators(c.filter(u=>u.mode===v7)),this._enableManualDecorators(c.filter(u=>"manual"===u.mode)),a.plugins.get(X_).registerAttribute("linkHref"),function(u,E,R,V){const X=u.editing.view,et=new Set;X.document.registerPostFixer(bt=>{const vt=u.model.document.selection;let Pt=!1;if(vt.hasAttribute(E)){const Wt=Mm(vt.getFirstPosition(),E,vt.getAttribute(E),u.model),he=u.editing.mapper.toViewRange(Wt);for(const Ae of he.getItems())Ae.is("element","a")&&!Ae.hasClass(V)&&(bt.addClass(V,Ae),et.add(Ae),Pt=!0)}return Pt}),u.conversion.for("editingDowncast").add(bt=>{function vt(){X.change(Pt=>{for(const Wt of et.values())Pt.removeClass(V,Wt),et.delete(Wt)})}bt.on("insert",vt,{priority:"highest"}),bt.on("remove",vt,{priority:"highest"}),bt.on("attribute",vt,{priority:"highest"}),bt.on("selection",vt,{priority:"highest"})})}(a,"linkHref",0,"ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(a){const c=this.editor,u=c.commands.get("link").automaticDecorators;c.config.get("link.addTargetToExternalLinks")&&u.add({id:"linkIsExternal",mode:v7,callback:E=>!!E&&F2.test(E),attributes:{target:"_blank",rel:"noopener noreferrer"}}),u.add(a),u.length&&c.conversion.for("downcast").add(u.getDispatcher())}_enableManualDecorators(a){if(!a.length)return;const c=this.editor,u=c.commands.get("link").manualDecorators;a.forEach(E=>{c.model.schema.extend("$text",{allowAttributes:E.id});const R=new hC(E);u.add(R),c.conversion.for("downcast").attributeToElement({model:R.id,view:(V,{writer:X,schema:et},{item:bt})=>{if((bt.is("selection")||et.isInline(bt))&&V){const vt=X.createAttributeElement("a",R.attributes,{priority:5});R.classes&&X.addClass(R.classes,vt);for(const Pt in R.styles)X.setStyle(Pt,R.styles[Pt],vt);return X.setCustomProperty("link",!0,vt),vt}}}),c.conversion.for("upcast").elementToAttribute({view:R0({name:"a"},R._createPattern()),model:{key:R.id}})})}_enableLinkOpen(){const a=this.editor,c=a.editing.view.document;this.listenTo(c,"click",(u,E)=>{if(!(_.isMac?E.domEvent.metaKey:E.domEvent.ctrlKey))return;let R=E.domTarget;if("a"!=R.tagName.toLowerCase()&&(R=R.closest("a")),!R)return;const V=R.getAttribute("href");V&&(u.stop(),E.preventDefault(),O4(V))},{context:"$capture"}),this.listenTo(c,"keydown",(u,E)=>{const R=a.commands.get("link").value;R&&E.keyCode===er.enter&&E.altKey&&(u.stop(),O4(R))})}_enableSelectionAttributesFixer(){const a=this.editor.model,c=a.document.selection;this.listenTo(c,"change:attribute",(u,{attributeKeys:E})=>{E.includes("linkHref")&&!c.hasAttribute("linkHref")&&a.change(R=>{var V;!function(X,et){X.removeSelectionAttribute("linkHref");for(const bt of et)X.removeSelectionAttribute(bt)}(R,(V=a.schema,V.getDefinition("$text").allowAttributes.filter(X=>X.startsWith("link"))))})})}_enableClipboardIntegration(){const a=this.editor,c=a.model,u=this.editor.config.get("link.defaultProtocol");u&&this.listenTo(a.plugins.get("ClipboardPipeline"),"contentInsertion",(E,R)=>{c.change(V=>{const X=V.createRangeIn(R.content);for(const et of X.getItems())if(et.hasAttribute("linkHref")){const bt=l6(et.getAttribute("linkHref"),u);V.setAttribute("linkHref",bt,et)}})})}}var u6=A(7754);ao()(u6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ik extends Ro{constructor(a,c){super(a),this.focusTracker=new Ys,this.keystrokes=new Ja,this._focusables=new _r;const u=a.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(u("Save"),as.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(u("Cancel"),as.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(c),this.children=this._createFormChildren(c.manualDecorators),this._focusCycler=new sc({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const E=["ck","ck-link-form","ck-responsive-form"];c.manualDecorators.length&&E.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:E,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((a,c)=>(a[c.name]=c.isOn,a),{})}render(){super.render(),g({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(a=>{this._focusables.add(a),this.focusTracker.add(a.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const a=this.locale.t,c=new ed(this.locale,Ml);return c.label=a("Link URL"),c}_createButton(a,c,u,E){const R=new br(this.locale);return R.set({label:a,icon:c,tooltip:!0}),R.extendTemplate({attributes:{class:u}}),E&&R.delegate("execute").to(this,E),R}_createManualDecoratorSwitches(a){const c=this.createCollection();for(const u of a.manualDecorators){const E=new _d(this.locale);E.set({name:u.id,label:u.label,withText:!0}),E.bind("isOn").toMany([u,a],"value",(R,V)=>void 0===V&&void 0===R?!!u.defaultValue:!!R),E.on("execute",()=>{u.set("value",!E.isOn)}),c.add(E)}return c}_createFormChildren(a){const c=this.createCollection();if(c.add(this.urlInputView),a.length){const u=new Ro;u.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(E=>({tag:"li",children:[E],attributes:{class:["ck","ck-list__item"]}})),attributes:{class:["ck","ck-reset","ck-list"]}}),c.add(u)}return c.add(this.saveButtonView),c.add(this.cancelButtonView),c}}var Om=A(2347);ao()(Om.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class bC extends Ro{constructor(a){super(a),this.focusTracker=new Ys,this.keystrokes=new Ja,this._focusables=new _r;const c=a.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(c("Unlink"),'',"unlink"),this.editButtonView=this._createButton(c("Edit link"),as.pencil,"edit"),this.set("href",void 0),this._focusCycler=new sc({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(a=>{this._focusables.add(a),this.focusTracker.add(a.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(a,c,u){const E=new br(this.locale);return E.set({label:a,icon:c,tooltip:!0}),E.delegate("execute").to(this,u),E}_createPreviewButton(){const a=new br(this.locale),c=this.bindTemplate,u=this.t;return a.set({withText:!0,tooltip:u("Open link in new tab")}),a.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:c.to("href",E=>E&&c6(E)),target:"_blank",rel:"noopener noreferrer"}}),a.bind("label").to(this,"href",E=>E||u("This link has no URL")),a.bind("isEnabled").to(this,"href",E=>!!E),a.template.tag="a",a.template.eventListeners={},a}}const jm="link-ui";class S0 extends j{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[wm]}static get pluginName(){return"LinkUI"}init(){const a=this.editor;a.editing.view.addObserver(Em),this._balloon=a.plugins.get(wm),this._createToolbarLinkButton(),this._enableBalloonActivators(),a.conversion.for("editingDowncast").markerToHighlight({model:jm,view:{classes:["ck-fake-link-selection"]}}),a.conversion.for("editingDowncast").markerToElement({model:jm,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const a=this.editor,c=new bC(a.locale),u=a.commands.get("link"),E=a.commands.get("unlink");return c.bind("href").to(u,"value"),c.editButtonView.bind("isEnabled").to(u),c.unlinkButtonView.bind("isEnabled").to(E),this.listenTo(c,"edit",()=>{this._addFormView()}),this.listenTo(c,"unlink",()=>{a.execute("unlink"),this._hideUI()}),c.keystrokes.set("Esc",(R,V)=>{this._hideUI(),V()}),c.keystrokes.set(I0,(R,V)=>{this._addFormView(),V()}),c}_createFormView(){const a=this.editor,c=a.commands.get("link"),u=a.config.get("link.defaultProtocol"),E=new(C(ik))(a.locale,c);return E.urlInputView.fieldView.bind("value").to(c,"value"),E.urlInputView.bind("isEnabled").to(c,"isEnabled"),E.saveButtonView.bind("isEnabled").to(c),this.listenTo(E,"submit",()=>{const{value:R}=E.urlInputView.fieldView.element,V=l6(R,u);a.execute("link",V,E.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(E,"cancel",()=>{this._closeFormView()}),E.keystrokes.set("Esc",(R,V)=>{this._closeFormView(),V()}),E}_createToolbarLinkButton(){const a=this.editor,c=a.commands.get("link"),u=a.t;a.ui.componentFactory.add("link",E=>{const R=new br(E);return R.isEnabled=!0,R.label=u("Link"),R.icon='',R.keystroke=I0,R.tooltip=!0,R.isToggleable=!0,R.bind("isEnabled").to(c,"isEnabled"),R.bind("isOn").to(c,"value",V=>!!V),this.listenTo(R,"execute",()=>this._showUI(!0)),R})}_enableBalloonActivators(){const a=this.editor;this.listenTo(a.editing.view.document,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),a.keystrokes.set(I0,(u,E)=>{E(),a.commands.get("link").isEnabled&&this._showUI(!0)})}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",(a,c)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),c())},{priority:"high"}),this.editor.keystrokes.set("Esc",(a,c)=>{this._isUIVisible&&(this._hideUI(),c())}),t({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const a=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=a.value||""}_closeFormView(){const a=this.editor.commands.get("link");a.restoreManualDecoratorStates(),void 0!==a.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(a=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),a&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),a&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const a=this.editor;this.stopListening(a.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),a.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const a=this.editor,c=a.editing.view.document;let u=this._getSelectedLinkElement(),E=V();const R=()=>{const X=this._getSelectedLinkElement(),et=V();u&&!X||!u&&et!==E?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),u=X,E=et};function V(){return c.selection.focus.getAncestors().reverse().find(X=>X.is("element"))}this.listenTo(a.ui,"update",R),this.listenTo(this._balloon,"change:visibleView",R)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return!!this.formView&&this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const a=this.editor.editing.view,u=a.document;let E;if(this.editor.model.markers.has(jm)){const R=Array.from(this.editor.editing.mapper.markerNameToElements(jm)),V=a.createRange(a.createPositionBefore(R[0]),a.createPositionAfter(R[R.length-1]));E=a.domConverter.viewRangeToDom(V)}else E=()=>{const R=this._getSelectedLinkElement();return R?a.domConverter.mapViewToDom(R):a.domConverter.viewRangeToDom(u.selection.getFirstRange())};return{target:E}}_getSelectedLinkElement(){const a=this.editor.editing.view,c=a.document.selection,u=c.getSelectedElement();if(c.isCollapsed||u&&Tl(u))return m6(c.getFirstPosition());{const E=c.getFirstRange().getTrimmed(),R=m6(E.start),V=m6(E.end);return R&&R==V&&a.createRangeIn(R).getTrimmed().isEqual(E)?R:null}}_showFakeVisualSelection(){const a=this.editor.model;a.change(c=>{const u=a.document.selection.getFirstRange();if(a.markers.has(jm))c.updateMarker(jm,{range:u});else if(u.start.isAtEnd){const E=u.start.getLastMatchingPosition(({item:R})=>!a.schema.isContent(R),{boundaries:u});c.addMarker(jm,{usingOperation:!1,affectsData:!1,range:c.createRange(E,u.end)})}else c.addMarker(jm,{usingOperation:!1,affectsData:!1,range:u})})}_hideFakeVisualSelection(){const a=this.editor.model;a.markers.has(jm)&&a.change(c=>{c.removeMarker(jm)})}}function m6(v){return v.getAncestors().find(a=>{return(c=a).is("attributeElement")&&!!c.getCustomProperty("link");var c})||null}const P0=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class M3 extends j{static get requires(){return[mu,gC]}static get pluginName(){return"AutoLink"}init(){const a=this.editor.model.document.selection;a.on("change:range",()=>{this.isEnabled=!a.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(a,c){return c.textNode&&c.textNode.hasAttribute("linkHref")?Mm(c,"linkHref",c.textNode.getAttribute("linkHref"),a):null}_selectEntireLinks(a,c){const u=this.editor.model,E=u.document.selection,R=E.getFirstPosition(),V=E.getLastPosition();let X=c.getJoined(this._expandLinkRange(u,R)||c);X&&(X=X.getJoined(this._expandLinkRange(u,V)||c)),X&&(X.start.isBefore(R)||X.end.isAfter(V))&&a.setSelection(X)}_enablePasteLinking(){const a=this.editor,c=a.model,u=c.document.selection,E=a.plugins.get("ClipboardPipeline"),R=a.commands.get("link");E.on("inputTransformation",(V,X)=>{if(!this.isEnabled||!R.isEnabled||u.isCollapsed||u.rangeCount>1)return;const et=u.getFirstRange(),bt=X.dataTransfer.getData("text/plain");if(!bt)return;const vt=bt.match(P0);vt&&vt[2]===bt&&(c.change(Pt=>{this._selectEntireLinks(Pt,et),R.execute(bt)}),V.stop())},{priority:"high"})}_enableTypingHandling(){const a=this.editor,c=new Hb(a.model,u=>{if(!((R=u).length>4&&" "===R[R.length-1]&&" "!==R[R.length-2]))return;var R;const E=Xd(u.substr(0,u.length-1));return E?{url:E}:void 0});c.on("matched:data",(u,E)=>{const{batch:R,range:V,url:X}=E;if(!R.isTyping)return;const et=V.end.getShiftedBy(-1),bt=et.getShiftedBy(-X.length),vt=a.model.createRange(bt,et);this._applyAutoLink(X,vt)}),c.bind("isEnabled").to(this)}_enableEnterHandling(){const a=this.editor,c=a.model,u=a.commands.get("enter");u&&u.on("execute",()=>{const E=c.document.selection.getFirstPosition();if(!E.parent.previousSibling)return;const R=c.createRangeIn(E.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(R)})}_enableShiftEnterHandling(){const a=this.editor,c=a.model,u=a.commands.get("shiftEnter");u&&u.on("execute",()=>{const E=c.document.selection.getFirstPosition(),R=c.createRange(c.createPositionAt(E.parent,0),E.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(R)})}_checkAndApplyAutoLinkOnRange(a){const c=this.editor.model,{text:u,range:E}=_0(a,c),R=Xd(u);if(R){const V=c.createRange(E.end.getShiftedBy(-R.length),E.end);this._applyAutoLink(R,V)}}_applyAutoLink(a,c){const u=this.editor.model,E=l6(a,this.editor.config.get("link.defaultProtocol"));var V;this.isEnabled&&(V=u).schema.checkAttributeInSelection(V.createSelection(c),"linkHref")&&g7(E)&&!function(R){const V=R.start.nodeAfter;return!!V&&V.hasAttribute("linkHref")}(c)&&this._persistAutoLink(E,c)}_persistAutoLink(a,c){const u=this.editor.model,E=this.editor.plugins.get("Delete");u.enqueueChange(R=>{R.setAttribute("linkHref",a,c),u.enqueueChange(()=>{E.requestUndoOnBackspace()})})}}function Xd(v){const a=P0.exec(v);return a?a[2]:null}var p6=A(111);ao()(p6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var h6=A(5730);ao()(h6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var f6=A(4564);function w7(v,a,c,u){const E=a.parent,R=c.mapper,V=c.writer;let X=R.toViewPosition(u.createPositionBefore(v));const et=A0(v.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:v.getAttribute("listIndent")}),bt=v.previousSibling;if(et&&et.getAttribute("listIndent")==v.getAttribute("listIndent")){const vt=R.toViewElement(et);X=V.breakContainer(V.createPositionAfter(vt))}else if(bt&&"listItem"==bt.name){X=R.toViewPosition(u.createPositionAt(bt,"end"));const vt=R.findMappedViewAncestor(X),Pt=function(Wt){for(const he of Wt.getChildren())if("ul"==he.name||"ol"==he.name)return he;return null}(vt);X=Pt?V.createPositionBefore(Pt):V.createPositionAt(vt,"end")}else X=R.toViewPosition(u.createPositionBefore(v));if(X=x7(X),V.insert(X,E),bt&&"listItem"==bt.name){const vt=R.toViewElement(bt),Pt=V.createRange(V.createPositionAt(vt,0),X).getWalker({ignoreElementEnd:!0});for(const Wt of Pt)if(Wt.item.is("element","li")){const he=V.breakContainer(V.createPositionBefore(Wt.item)),Ae=Wt.item.parent,ze=V.createPositionAt(a,"end");c1(V,ze.nodeBefore,ze.nodeAfter),V.move(V.createRangeOn(Ae),ze),Pt._position=he}}else{const vt=E.nextSibling;if(vt&&(vt.is("element","ul")||vt.is("element","ol"))){let Pt=null;for(const Wt of vt.getChildren()){const he=R.toModelElement(Wt);if(!(he&&he.getAttribute("listIndent")>v.getAttribute("listIndent")))break;Pt=Wt}Pt&&(V.breakContainer(V.createPositionAfter(Pt)),V.move(V.createRangeOn(Pt.parent),V.createPositionAt(a,"end")))}}c1(V,E,E.nextSibling),c1(V,E.previousSibling,E)}function c1(v,a,c){return!a||!c||"ul"!=a.name&&"ol"!=a.name||a.name!=c.name||a.getAttribute("class")!==c.getAttribute("class")?null:v.mergeContainers(v.createPositionAfter(a))}function x7(v){return v.getLastMatchingPosition(a=>a.item.is("uiElement"))}function A0(v,a){const c=!!a.sameIndent,u=!!a.smallerIndent,E=a.listIndent;let R=v;for(;R&&"listItem"==R.name;){const V=R.getAttribute("listIndent");if(c&&E==V||u&&E>V)return R;R="forward"===a.direction?R.nextSibling:R.previousSibling}return null}function M7(v,a,c,u){v.ui.componentFactory.add(a,E=>{const R=v.commands.get(a),V=new br(E);return V.set({label:c,icon:u,tooltip:!0,isToggleable:!0}),V.bind("isOn","isEnabled").to(R,"value","isEnabled"),V.on("execute",()=>{v.execute(a),v.editing.view.focus()}),V})}function g6(v,a){const c=[],u=v.parent,E={ignoreElementEnd:!1,startPosition:v,shallow:!0,direction:a},R=u.getAttribute("listIndent"),V=[...new Gd(E)].filter(X=>X.item.is("element")).map(X=>X.item);for(const X of V){if(!X.is("element","listItem")||X.getAttribute("listIndent")R)){if(X.getAttribute("listType")!==u.getAttribute("listType")||X.getAttribute("listStyle")!==u.getAttribute("listStyle")||X.getAttribute("listReversed")!==u.getAttribute("listReversed")||X.getAttribute("listStart")!==u.getAttribute("listStart"))break;"backward"===a?c.unshift(X):c.push(X)}}return c}ao()(f6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const FC=["disc","circle","square"],D3=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function T7(){const v=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||v?0:uf.call(this)}class _6 extends j{static get pluginName(){return"ListUI"}init(){const a=this.editor.t;M7(this.editor,"numberedList",a("Numbered List"),''),M7(this.editor,"bulletedList",a("Bulleted List"),'')}}const D7={},vC={},O0={},N4=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:v,typeAttribute:a,listType:c}of N4)D7[v]=c,vC[v]=a,a&&(O0[a]=v);var I7=A(6082);ao()(I7.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var b6=A(2417);ao()(b6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class S7 extends ri{constructor(a,c){super(a),this._indentBy="forward"==c?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const a=this.editor.model;let u=Array.from(a.document.selection.getSelectedBlocks());a.change(E=>{const R=u[u.length-1];let V=R.nextSibling;for(;V&&"listItem"==V.name&&V.getAttribute("listIndent")>R.getAttribute("listIndent");)u.push(V),V=V.nextSibling;this._indentBy<0&&(u=u.reverse());for(const X of u){const et=X.getAttribute("listIndent")+this._indentBy;et<0?E.rename(X,"paragraph"):E.setAttribute("listIndent",et,X)}this.fire("_executeCleanup",u)})}_checkEnabled(){const a=kr(this.editor.model.document.selection.getSelectedBlocks());if(!a||!a.is("element","listItem"))return!1;if(this._indentBy>0){const c=a.getAttribute("listIndent"),u=a.getAttribute("listType");let E=a.previousSibling;for(;E&&E.is("element","listItem")&&E.getAttribute("listIndent")>=c;){if(E.getAttribute("listIndent")==c)return E.getAttribute("listType")==u;E=E.previousSibling}return!1}return!0}}class P7 extends ri{constructor(a,c){super(a),this.type=c}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(a={}){const c=this.editor.model,E=Array.from(c.document.selection.getSelectedBlocks()).filter(V=>I3(V,c.schema)),R=void 0!==a.forceValue?!a.forceValue:this.value;c.change(V=>{if(R){let X=E[E.length-1].nextSibling,et=Number.POSITIVE_INFINITY,bt=[];for(;X&&"listItem"==X.name&&0!==X.getAttribute("listIndent");){const vt=X.getAttribute("listIndent");vt=c;)R>E.getAttribute("listIndent")&&(R=E.getAttribute("listIndent")),E.getAttribute("listIndent")==R&&v[a?"unshift":"push"](E),E=E[a?"previousSibling":"nextSibling"]}}function I3(v,a){return a.checkChild(v.parent,"listItem")&&!a.isObject(v)}class O7 extends j{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(a){return FC.includes(c=a)?"bulleted":D3.includes(c)?"numbered":null;var c}getSelectedListItems(a){return function(c){let u=[...c.document.selection.getSelectedBlocks()].filter(E=>E.is("element","listItem")).map(E=>{const R=c.change(V=>V.createPositionAt(E,0));return[...g6(R,"backward"),...g6(R,"forward")]}).flat();return u=[...new Set(u)],u}(a)}getSiblingNodes(a,c){return g6(a,c)}}function R3(v){return(a,c,u)=>{const E=u.consumable;if(!E.test(c.item,"insert")||!E.test(c.item,"attribute:listType")||!E.test(c.item,"attribute:listIndent"))return;E.consume(c.item,"insert"),E.consume(c.item,"attribute:listType"),E.consume(c.item,"attribute:listIndent");const R=c.item;w7(R,function T3(v,a){const c=a.mapper,u=a.writer,E="numbered"==v.getAttribute("listType")?"ol":"ul",R=function(X){const et=X.createContainerElement("li");return et.getFillerOffset=T7,et}(u),V=u.createContainerElement(E,null);return u.insert(u.createPositionAt(V,0),R),c.bindElements(v,R),R}(R,u),u,v)}}const EC=(v,a,c)=>{if(!c.consumable.test(a.item,v.name))return;const u=c.mapper.toViewElement(a.item),E=c.writer;E.breakContainer(E.createPositionBefore(u)),E.breakContainer(E.createPositionAfter(u)),E.rename("numbered"==a.attributeNewValue?"ol":"ul",u.parent)},j7=(v,a,c)=>{c.consumable.consume(a.item,v.name);const u=c.mapper.toViewElement(a.item).parent,E=c.writer;c1(E,u,u.nextSibling),c1(E,u.previousSibling,u)},F6=(v,a,c)=>{if(c.consumable.test(a.item,v.name)&&"listItem"!=a.item.name){let u=c.mapper.toViewPosition(a.range.start);const E=c.writer,R=[];for(;("ul"==u.parent.name||"ol"==u.parent.name)&&(u=E.breakContainer(u),"li"==u.parent.name);){const V=u,X=E.createPositionAt(u.parent,"end");if(!V.isEqual(X)){const et=E.remove(E.createRange(V,X));R.push(et)}u=E.createPositionAfter(u.parent)}if(R.length>0){for(let V=0;V0){const et=c1(E,X,X.nextSibling);et&&et.parent==X&&u.offset--}}c1(E,u.nodeBefore,u.nodeAfter)}}},CC=(v,a,c)=>{const u=c.mapper.toViewPosition(a.position);c1(c.writer,u.nodeBefore,u.nodeAfter)},ok=(v,a,c)=>{if(c.consumable.consume(a.viewItem,{name:!0})){const u=c.writer,E=u.createElement("listItem"),R=function(et){let bt=0,vt=et.parent;for(;vt;){if(vt.is("element","li"))bt++;else{const Pt=vt.previousSibling;Pt&&Pt.is("element","li")&&bt++}vt=vt.parent}return bt}(a.viewItem);if(u.setAttribute("listIndent",R,E),u.setAttribute("listType",a.viewItem.parent&&"ol"==a.viewItem.parent.name?"numbered":"bulleted",E),!c.safeInsert(E,a.modelCursor))return;const X=function(et,bt,vt){const{writer:Pt,schema:Wt}=vt;let he=Pt.createPositionAfter(et);for(const Ae of bt)if("ul"==Ae.name||"ol"==Ae.name)he=vt.convertItem(Ae,he).modelCursor;else{const ze=vt.convertItem(Ae,Pt.createPositionAt(et,"end")),mn=ze.modelRange.start.nodeAfter;mn&&mn.is("element")&&!Wt.checkChild(et,mn.name)&&(et=ze.modelCursor.parent.is("element","listItem")?ze.modelCursor.parent:$4(ze.modelCursor),he=Pt.createPositionAfter(et))}return he}(E,a.viewItem.getChildren(),c);a.modelRange=u.createRange(a.modelCursor,X),c.updateConversionResult(E,a)}},yC=(v,a,c)=>{if(c.consumable.test(a.viewItem,{name:!0})){const u=Array.from(a.viewItem.getChildren());for(const E of u)!E.is("element","li")&&!j0(E)&&E._remove()}},rk=(v,a,c)=>{if(c.consumable.test(a.viewItem,{name:!0})){if(0===a.viewItem.childCount)return;const u=[...a.viewItem.getChildren()];let E=!1;for(const R of u)E&&!j0(R)&&R._remove(),j0(R)&&(E=!0)}};function kC(v){return(a,c)=>{if(c.isPhantom)return;const u=c.modelPosition.nodeBefore;if(u&&u.is("element","listItem")){const E=c.mapper.toViewElement(u),R=E.getAncestors().find(j0),V=v.createPositionAt(E,0).getWalker();for(const X of V){if("elementStart"==X.type&&X.item.is("element","li")){c.viewPosition=X.previousPosition;break}if("elementEnd"==X.type&&X.item==R){c.viewPosition=X.nextPosition;break}}}}}const N7=function(v,[a,c]){let E,R=a.is("documentFragment")?a.getChild(0):a;if(E=c?this.createSelection(c):this.document.selection,R&&R.is("element","listItem")){const V=E.getFirstPosition();let X=null;if(V.parent.is("element","listItem")?X=V.parent:V.nodeBefore&&V.nodeBefore.is("element","listItem")&&(X=V.nodeBefore),X){const et=X.getAttribute("listIndent");if(et>0)for(;R&&R.is("element","listItem");)R._setAttribute("listIndent",R.getAttribute("listIndent")+et),R=R.nextSibling}}};function $4(v){const a=new Gd({startPosition:v});let c;do{c=a.next()}while(!c.value.item.is("element","listItem"));return c.value.item}function L7(v,a,c,u,E,R){const V=A0(a.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:v}),X=E.mapper,et=E.writer,bt=V?V.getAttribute("listIndent"):null;let vt;if(V)if(bt==v){const Pt=X.toViewElement(V).parent;vt=et.createPositionAfter(Pt)}else{const Pt=R.createPositionAt(V,"end");vt=X.toViewPosition(Pt)}else vt=c;vt=x7(vt);for(const Pt of[...u.getChildren()])j0(Pt)&&(vt=et.move(et.createRangeOn(Pt),vt).end,c1(et,Pt,Pt.nextSibling),c1(et,Pt.previousSibling,Pt))}function j0(v){return v.is("element","ol")||v.is("element","ul")}class $7 extends j{static get pluginName(){return"ListEditing"}static get requires(){return[a2,mu,O7]}init(){const a=this.editor;a.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const c=a.data,u=a.editing;var E;a.model.document.registerPostFixer(V=>function(X,et){const bt=X.document.differ.getChanges(),vt=new Map;let Pt=!1;for(const ze of bt)if("insert"==ze.type&&"listItem"==ze.name)Wt(ze.position);else if("insert"==ze.type&&"listItem"!=ze.name){if("$text"!=ze.name){const mn=ze.position.nodeAfter;mn.hasAttribute("listIndent")&&(et.removeAttribute("listIndent",mn),Pt=!0),mn.hasAttribute("listType")&&(et.removeAttribute("listType",mn),Pt=!0),mn.hasAttribute("listStyle")&&(et.removeAttribute("listStyle",mn),Pt=!0),mn.hasAttribute("listReversed")&&(et.removeAttribute("listReversed",mn),Pt=!0),mn.hasAttribute("listStart")&&(et.removeAttribute("listStart",mn),Pt=!0);for(const xn of Array.from(X.createRangeIn(mn)).filter(ti=>ti.item.is("element","listItem")))Wt(xn.previousPosition)}Wt(ze.position.getShiftedBy(ze.length))}else"remove"==ze.type&&"listItem"==ze.name?Wt(ze.position):("attribute"==ze.type&&"listIndent"==ze.attributeKey||"attribute"==ze.type&&"listType"==ze.attributeKey)&&Wt(ze.range.start);for(const ze of vt.values())he(ze),Ae(ze);return Pt;function Wt(ze){const mn=ze.nodeBefore;if(mn&&mn.is("element","listItem")){let xn=mn;if(vt.has(xn))return;for(let ti=xn.previousSibling;ti&&ti.is("element","listItem");ti=xn.previousSibling)if(xn=ti,vt.has(xn))return;vt.set(mn,xn)}else{const xn=ze.nodeAfter;xn&&xn.is("element","listItem")&&vt.set(xn,xn)}}function he(ze){let mn=0,xn=null;for(;ze&&ze.is("element","listItem");){const ti=ze.getAttribute("listIndent");if(ti>mn){let Si;null===xn?(xn=ti-mn,Si=mn):(xn>ti&&(xn=ti),Si=ti-xn),et.setAttribute("listIndent",Si,ze),Pt=!0}else xn=null,mn=ze.getAttribute("listIndent")+1;ze=ze.nextSibling}}function Ae(ze){let mn=[],xn=null;for(;ze&&ze.is("element","listItem");){const ti=ze.getAttribute("listIndent");if(xn&&xn.getAttribute("listIndent")>ti&&(mn=mn.slice(0,ti+1)),0!=ti)if(mn[ti]){const Si=mn[ti];ze.getAttribute("listType")!=Si&&(et.setAttribute("listType",Si,ze),Pt=!0)}else mn[ti]=ze.getAttribute("listType");xn=ze,ze=ze.nextSibling}}}(a.model,V)),u.mapper.registerViewToModelLength("li",Hh),c.mapper.registerViewToModelLength("li",Hh),u.mapper.on("modelToViewPosition",kC(u.view)),u.mapper.on("viewToModelPosition",(E=a.model,(V,X)=>{const et=X.viewPosition,bt=et.parent,vt=X.mapper;if("ul"==bt.name||"ol"==bt.name){if(et.isAtEnd){const Pt=vt.toModelElement(et.nodeBefore),Wt=vt.getModelLength(et.nodeBefore);X.modelPosition=E.createPositionBefore(Pt).getShiftedBy(Wt)}else{const Pt=vt.toModelElement(et.nodeAfter);X.modelPosition=E.createPositionBefore(Pt)}V.stop()}else if("li"==bt.name&&et.nodeBefore&&("ul"==et.nodeBefore.name||"ol"==et.nodeBefore.name)){const Pt=vt.toModelElement(bt);let Wt=1,he=et.nodeBefore;for(;he&&j0(he);)Wt+=vt.getModelLength(he),he=he.previousSibling;X.modelPosition=E.createPositionBefore(Pt).getShiftedBy(Wt),V.stop()}})),c.mapper.on("modelToViewPosition",kC(u.view)),a.conversion.for("editingDowncast").add(V=>{V.on("insert",F6,{priority:"high"}),V.on("insert:listItem",R3(a.model)),V.on("attribute:listType:listItem",EC,{priority:"high"}),V.on("attribute:listType:listItem",j7,{priority:"low"}),V.on("attribute:listIndent:listItem",function(X){return(et,bt,vt)=>{if(!vt.consumable.consume(bt.item,"attribute:listIndent"))return;const Pt=vt.mapper.toViewElement(bt.item),Wt=vt.writer;Wt.breakContainer(Wt.createPositionBefore(Pt)),Wt.breakContainer(Wt.createPositionAfter(Pt));const he=Pt.parent,Ae=he.previousSibling,ze=Wt.createRangeOn(he);Wt.remove(ze),Ae&&Ae.nextSibling&&c1(Wt,Ae,Ae.nextSibling),L7(bt.attributeOldValue+1,bt.range.start,ze.start,Pt,vt,X),w7(bt.item,Pt,vt,X);for(const mn of bt.item.getChildren())vt.consumable.consume(mn,"insert")}}(a.model)),V.on("remove:listItem",function(X){return(et,bt,vt)=>{const Pt=vt.mapper.toViewPosition(bt.position).getLastMatchingPosition(xn=>!xn.item.is("element","li")).nodeAfter,Wt=vt.writer;Wt.breakContainer(Wt.createPositionBefore(Pt)),Wt.breakContainer(Wt.createPositionAfter(Pt));const he=Pt.parent,Ae=he.previousSibling,ze=Wt.createRangeOn(he),mn=Wt.remove(ze);Ae&&Ae.nextSibling&&c1(Wt,Ae,Ae.nextSibling),L7(vt.mapper.toModelElement(Pt).getAttribute("listIndent")+1,bt.position,ze.start,Pt,vt,X);for(const xn of Wt.createRangeIn(mn).getItems())vt.mapper.unbindViewElement(xn);et.stop()}}(a.model)),V.on("remove",CC,{priority:"low"})}),a.conversion.for("dataDowncast").add(V=>{V.on("insert",F6,{priority:"high"}),V.on("insert:listItem",R3(a.model))}),a.conversion.for("upcast").add(V=>{V.on("element:ul",yC,{priority:"high"}),V.on("element:ol",yC,{priority:"high"}),V.on("element:li",rk,{priority:"high"}),V.on("element:li",ok)}),a.model.on("insertContent",N7,{priority:"high"}),a.commands.add("numberedList",new P7(a,"numbered")),a.commands.add("bulletedList",new P7(a,"bulleted")),a.commands.add("indentList",new S7(a,"forward")),a.commands.add("outdentList",new S7(a,"backward"));const R=u.view.document;this.listenTo(R,"enter",(V,X)=>{const et=this.editor.model.document,bt=et.selection.getLastPosition().parent;et.selection.isCollapsed&&"listItem"==bt.name&&bt.isEmpty&&(this.editor.execute("outdentList"),X.preventDefault(),V.stop())},{context:"li"}),this.listenTo(R,"delete",(V,X)=>{if("backward"!==X.direction)return;const et=this.editor.model.document.selection;if(!et.isCollapsed)return;const bt=et.getFirstPosition();if(!bt.isAtStart)return;const vt=bt.parent;"listItem"===vt.name&&(vt.previousSibling&&"listItem"===vt.previousSibling.name||(this.editor.execute("outdentList"),X.preventDefault(),V.stop()))},{context:"li"}),this.listenTo(a.editing.view.document,"tab",(V,X)=>{const et=X.shiftKey?"outdentList":"indentList";this.editor.commands.get(et).isEnabled&&(a.execute(et),X.stopPropagation(),X.preventDefault(),V.stop())},{context:"li"})}afterInit(){const a=this.editor.commands,c=a.get("indent"),u=a.get("outdent");c&&c.registerChildCommand(a.get("indentList")),u&&u.registerChildCommand(a.get("outdentList"))}}function Hh(v){let a=1;for(const c of v.getChildren())if("ul"==c.name||"ol"==c.name)for(const u of c.getChildren())a+=Hh(u);return a}Bc("Ctrl+Enter");var V7=A(1199);function V4(v,a){const c=(u,E,R)=>{if(!R.consumable.consume(E.item,u.name))return;const V=E.attributeNewValue,X=R.writer,et=R.mapper.toViewElement(E.item),bt=[...et.getChildren()].find(Pt=>Pt.getCustomProperty("media-content"));X.remove(bt);const vt=v.getMediaViewElement(X,V,a);X.insert(X.createPositionAt(et,0),vt)};return u=>{u.on("attribute:url:media",c)}}function G7(v,a,c,u){return v.createContainerElement("figure",{class:"media"},[a.getMediaViewElement(v,c,u),v.createSlot()])}function xC(v){const a=v.getSelectedElement();return a&&a.is("element","media")?a:null}function B7(v,a,c,u){v.change(E=>{const R=E.createElement("media",{url:a});v.insertObject(R,c,null,{setSelection:"on",findOptimalPosition:u?"auto":void 0})})}ao()(V7.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Bc("Ctrl+Enter");class v6 extends ri{refresh(){const a=this.editor.model,c=a.document.selection,u=xC(c);this.value=u?u.getAttribute("url"):void 0,this.isEnabled=function(E){const R=E.getSelectedElement();return!!R&&"media"===R.name}(c)||function(E,R){let X=tF(E,R).start.parent;return X.isEmpty&&!R.schema.isLimit(X)&&(X=X.parent),R.schema.checkChild(X,"media")}(c,a)}execute(a){const c=this.editor.model,u=c.document.selection,E=xC(u);E?c.change(R=>{R.setAttribute("url",a,E)}):B7(c,a,u,!0)}}class MC{constructor(a,c){const u=c.providers,E=c.extraProviders||[],R=new Set(c.removeProviders),V=u.concat(E).filter(X=>{const et=X.name;return et?!R.has(et):(nt("media-embed-no-provider-name",{provider:X}),!1)});this.locale=a,this.providerDefinitions=V}hasMedia(a){return!!this._getMedia(a)}getMediaViewElement(a,c,u){return this._getMedia(c).getViewElement(a,u)}_getMedia(a){if(!a)return new z7(this.locale);a=a.trim();for(const c of this.providerDefinitions){const u=c.html,E=ua(c.url);for(const R of E){const V=this._getUrlMatches(a,R);if(V)return new z7(this.locale,a,V,u)}}return null}_getUrlMatches(a,c){let u=a.match(c);if(u)return u;let E=a.replace(/^https?:\/\//,"");return u=E.match(c),u||(E=E.replace(/^www\./,""),u=E.match(c),u||null)}}class z7{constructor(a,c,u,E){this.url=this._getValidUrl(c),this._locale=a,this._match=u,this._previewRenderer=E}getViewElement(a,c){const u={};let E;if(c.renderForEditingView||c.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(u["data-oembed-url"]=this.url),c.renderForEditingView&&(u.class="ck-media__wrapper");const R=this._getPreviewHtml(c);E=a.createRawElement("div",u,(V,X)=>{X.setContentOf(V,R)})}else this.url&&(u.url=this.url),E=a.createEmptyElement(c.elementName,u);return a.setCustomProperty("media-content",!0,E),E}_getPreviewHtml(a){return this._previewRenderer?this._previewRenderer(this._match):this.url&&a.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const a=new di,c=this._locale.t;return a.content='',a.viewBox="0 0 64 42",new vl({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[a]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":c("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(a){return a?a.match(/^https?/)?a:"https://"+a:null}}var N0=A(7442);ao()(N0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class G4 extends j{constructor(a){super(a),a.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:c=>`
`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:c=>`
`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:c=>{const E=c[2];return`
`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:c=>`
`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new MC(a.locale,a.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const a=this.editor,c=a.model.schema,u=a.t,E=a.conversion,R=a.config.get("mediaEmbed.previewsInData"),V=a.config.get("mediaEmbed.elementName"),X=this.registry;a.commands.add("mediaEmbed",new v6(a)),c.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),E.for("dataDowncast").elementToStructure({model:"media",view:(et,{writer:bt})=>{const vt=et.getAttribute("url");return G7(bt,X,vt,{elementName:V,renderMediaPreview:!!vt&&R})}}),E.for("dataDowncast").add(V4(X,{elementName:V,renderMediaPreview:R})),E.for("editingDowncast").elementToStructure({model:"media",view:(et,{writer:bt})=>{const vt=et.getAttribute("url");return Pt=G7(bt,X,vt,{elementName:V,renderForEditingView:!0}),Wt=bt,he=u("media widget"),Wt.setCustomProperty("media",!0,Pt),l4(Pt,Wt,{label:he});var Pt,Wt,he}}),E.for("editingDowncast").add(V4(X,{elementName:V,renderForEditingView:!0})),E.for("upcast").elementToElement({view:et=>["oembed",V].includes(et.name)&&et.getAttribute("url")?{name:!0}:null,model:(et,{writer:bt})=>{const vt=et.getAttribute("url");return X.hasMedia(vt)?bt.createElement("media",{url:vt}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(et,{writer:bt})=>{const vt=et.getAttribute("data-oembed-url");return X.hasMedia(vt)?bt.createElement("media",{url:vt}):null}}).add(et=>{et.on("element:figure",(bt,vt,Pt)=>{if(!Pt.consumable.consume(vt.viewItem,{name:!0,classes:"media"}))return;const{modelRange:Wt,modelCursor:he}=Pt.convertChildren(vt.viewItem,vt.modelCursor);vt.modelRange=Wt,vt.modelCursor=he,kr(Wt.getItems())||Pt.consumable.revert(vt.viewItem,{name:!0,classes:"media"})})})}}const H7=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class Y7 extends j{constructor(a){super(a),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[ov,mu,ai]}static get pluginName(){return"AutoMediaEmbed"}init(){const a=this.editor,c=a.model.document,u=a.plugins.get("ClipboardPipeline");this.listenTo(u,"inputTransformation",()=>{const E=c.selection.getFirstRange(),R=xl.fromPosition(E.start);R.stickiness="toPrevious";const V=xl.fromPosition(E.end);V.stickiness="toNext",c.once("change:data",()=>{this._embedMediaBetweenPositions(R,V),R.detach(),V.detach()},{priority:"high"})}),a.commands.get("undo").on("execute",()=>{this._timeoutId&&(Lo.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedMediaBetweenPositions(a,c){const u=this.editor,E=u.plugins.get(G4).registry,R=new Bd(a,c),V=R.getWalker({ignoreElementEnd:!0});let X="";for(const et of V)et.item.is("$textProxy")&&(X+=et.item.data);X=X.trim(),X.match(H7)&&E.hasMedia(X)&&u.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=xl.fromPosition(a),this._timeoutId=Lo.window.setTimeout(()=>{u.model.change(et=>{this._timeoutId=null,et.remove(R),R.detach();let bt=null;"$graveyard"!==this._positionToInsert.root.rootName&&(bt=this._positionToInsert),B7(u.model,X,bt,!1),this._positionToInsert.detach(),this._positionToInsert=null}),u.plugins.get(mu).requestUndoOnBackspace()},100)):R.detach()}}var E6=A(9292);ao()(E6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class J7 extends Ro{constructor(a,c){super(c);const u=c.t;this.focusTracker=new Ys,this.keystrokes=new Ja,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(u("Save"),as.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",E=>!!E),this.cancelButtonView=this._createButton(u("Cancel"),as.cancel,"ck-button-cancel","cancel"),this._focusables=new _r,this._focusCycler=new sc({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=a,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),g({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)}),this.keystrokes.listenTo(this.element);const a=c=>c.stopPropagation();this.keystrokes.set("arrowright",a),this.keystrokes.set("arrowleft",a),this.keystrokes.set("arrowup",a),this.keystrokes.set("arrowdown",a)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(a){this.urlInputView.fieldView.element.value=a.trim()}isValid(){this.resetFormStatus();for(const a of this._validators){const c=a(this);if(c)return this.urlInputView.errorText=c,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const a=this.locale.t,c=new ed(this.locale,Ml),u=c.fieldView;return this._urlInputViewInfoDefault=a("Paste the media URL in the input."),this._urlInputViewInfoTip=a("Tip: Paste the URL into the content to embed faster."),c.label=a("Media URL"),c.infoText=this._urlInputViewInfoDefault,u.on("input",()=>{c.infoText=u.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=u.element.value.trim()}),c}_createButton(a,c,u,E){const R=new br(this.locale);return R.set({label:a,icon:c,tooltip:!0}),R.extendTemplate({attributes:{class:u}}),E&&R.delegate("execute").to(this,E),R}}class C6 extends j{static get requires(){return[G4]}static get pluginName(){return"MediaEmbedUI"}init(){const a=this.editor,c=a.commands.get("mediaEmbed");a.ui.componentFactory.add("mediaEmbed",u=>{const E=Ru(u);return this._setUpDropdown(E,c),E})}_setUpDropdown(a,c){const u=this.editor,E=u.t,R=a.buttonView,V=u.plugins.get(G4).registry;a.once("change:isOpen",()=>{const X=new(C(J7))(function(et,bt){return[vt=>{if(!vt.url.length)return et("The URL must not be empty.")},vt=>{if(!bt.hasMedia(vt.url))return et("This media URL is not supported.")}]}(u.t,V),u.locale);a.panelView.children.add(X),R.on("open",()=>{X.disableCssTransitions(),X.url=c.value||"",X.urlInputView.fieldView.select(),X.enableCssTransitions()},{priority:"low"}),a.on("submit",()=>{X.isValid()&&(u.execute("mediaEmbed",X.url),u.editing.view.focus())}),a.on("change:isOpen",()=>X.resetFormStatus()),a.on("cancel",()=>{u.editing.view.focus()}),X.delegate("submit","cancel").to(a),X.urlInputView.fieldView.bind("value").to(c,"value"),X.urlInputView.bind("isEnabled").to(c,"isEnabled")}),a.bind("isEnabled").to(c),R.set({label:E("Insert media"),icon:'',tooltip:!0})}}var y6=A(4652);function q7(v){if(v.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(v){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return v;default:return null}}function Yn(v,a,c){const u=a.parent,E=c.createElement(v.type),R=u.getChildIndex(a)+1;return c.insertChild(R,E,u),v.style&&c.setStyle("list-style-type",v.style,E),v.startIndex&&v.startIndex>1&&c.setAttribute("start",v.startIndex,E),E}function Cr(v){const a={},c=v.getStyle("mso-list");if(c){const u=c.match(/(^|\s{1,100})l(\d+)/i),E=c.match(/\s{0,100}lfo(\d+)/i),R=c.match(/\s{0,100}level(\d+)/i);u&&E&&R&&(a.id=u[2],a.order=E[1],a.indent=parseInt(R[1]))}return a}function DC(v){return btoa(v.match(/\w{2}/g).map(a=>String.fromCharCode(parseInt(a,16))).join(""))}ao()(y6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const W7=//i,IC=/xmlns:o="urn:schemas-microsoft-com/i;class RC{constructor(a){this.document=a}isActive(a){return W7.test(a)||IC.test(a)}execute(a){const{body:c,stylesString:u}=a._parsedData;(function k6(v,a){if(!v.childCount)return;const c=new Iu(v.document),u=function(V,X){const et=X.createRangeIn(V),bt=new nd({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),vt=[];for(const Pt of et)if("elementStart"===Pt.type&&bt.match(Pt.item)){const Wt=Cr(Pt.item);vt.push({element:Pt.item,id:Wt.id,order:Wt.order,indent:Wt.indent})}return vt}(v,c);if(!u.length)return;let E=null,R=1;u.forEach((V,X)=>{const et=function(Ae,ze){if(!Ae)return!0;if(Ae.id!==ze.id)return ze.indent-Ae.indent!=1;const mn=ze.element.previousSibling;return!mn||!((xn=mn).is("element","ol")||xn.is("element","ul"));var xn}(u[X-1],V),vt=(Wt=V,(Pt=et?null:u[X-1])?Wt.indent-Pt.indent:Wt.indent-1);var Pt,Wt;if(et&&(E=null,R=1),!E||0!==vt){const Ae=function(ze,mn){const ti=/mso-level-number-format:([^;]{0,100});/gi,Si=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,mo=new RegExp(`@list l${ze.id}:level${ze.indent}\\s*({[^}]*)`,"gi").exec(mn);let lr="decimal",Ia="ol",Aa=null;if(mo&&mo[1]){const yc=ti.exec(mo[1]);if(yc&&yc[1]&&(lr=yc[1].trim(),Ia="bullet"!==lr&&"image"!==lr?"ol":"ul"),"bullet"===lr){const Vs=function(J0){const G1=function(po){if(po.getChild(0).is("$text"))return null;for(const Mp of po.getChildren()){if(!Mp.is("element","span"))continue;const y2=Mp.getChild(0);if(y2)return y2.is("$text")?y2:y2.getChild(0)}return null}(J0);if(!G1)return null;const hu=G1._data;return"o"===hu?"circle":"\xb7"===hu?"disc":"\xa7"===hu?"square":null}(ze.element);Vs&&(lr=Vs)}else{const Vs=Si.exec(mo[1]);Vs&&Vs[1]&&(Aa=parseInt(Vs[1]))}}return{type:Ia,startIndex:Aa,style:q7(lr)}}(V,a);if(E)if(V.indent>R){const ze=E.getChild(E.childCount-1),mn=ze.getChild(ze.childCount-1);E=Yn(Ae,mn,c),R+=1}else V.indentR.indexOf(Ae)>-1)?vt.push(Wt):Wt.getAttribute("src")||vt.push(Wt)}for(const Pt of vt)X.remove(Pt)})(u,v,c),function(R,V,X){const et=X.createRangeIn(V),bt=[];for(const Wt of et)if("elementStart"==Wt.type&&Wt.item.is("element","v:shape")){const he=Wt.item.getAttribute("id");if(R.includes(he))continue;vt(Wt.item.parent.getChildren(),he)||bt.push(Wt.item)}for(const Wt of bt){const he={src:Pt(Wt)};Wt.hasAttribute("alt")&&(he.alt=Wt.getAttribute("alt"));const Ae=X.createElement("img",he);X.insertChild(Wt.index+1,Ae,Wt.parent)}function vt(Wt,he){for(const Ae of Wt)if(Ae.is("element")&&("img"==Ae.name&&Ae.getAttribute("v:shapes")==he||vt(Ae.getChildren(),he)))return!0;return!1}function Pt(Wt){for(const he of Wt.getChildren())if(he.is("element")&&he.getAttribute("src"))return he.getAttribute("src")}}(u,v,c),function(R,V){const X=V.createRangeIn(R),et=new nd({name:/v:(.+)/}),bt=[];for(const vt of X)"elementStart"==vt.type&&et.match(vt.item)&&bt.push(vt.item);for(const vt of bt)V.remove(vt)}(v,c);const E=function(R,V){const X=V.createRangeIn(R),et=new nd({name:"img"}),bt=[];for(const vt of X)vt.item.is("element")&&et.match(vt.item)&&vt.item.getAttribute("src").startsWith("file://")&&bt.push(vt.item);return bt}(v,c);E.length&&function(R,V,X){if(R.length===V.length)for(let et=0;etV.is("element")&&!u.includes(V.name)&&!E.includes(V.name),{direction:a}),"forward"==a?R.nodeAfter:R.nodeBefore}function w6(v,a){return!!v&&v.is("element")&&a.includes(v.name)}const SC=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class PC{constructor(a){this.document=a}isActive(a){return SC.test(a)}execute(a){const c=new Iu(this.document),{body:u}=a._parsedData;(function(E,R){for(const V of E.getChildren())if(V.is("element","b")&&"normal"===V.getStyle("font-weight")){const X=E.getChildIndex(V);R.remove(V),R.insertChild(X,V.getChildren(),E)}})(u,c),function(E,R){for(const V of R.createRangeIn(E)){const X=V.item;if(X.is("element","li")){const et=X.getChild(0);et&&et.is("element","p")&&R.unwrapElement(et)}}}(u,c),function(E,R){const V=new mf(R.document.stylesProcessor),X=new Gp(V,{renderingMode:"data"}),et=X.blockElements,bt=X.inlineObjectElements,vt=[];for(const Pt of R.createRangeIn(E)){const Wt=Pt.item;if(Wt.is("element","br")){const he=K7(Wt,"forward",R,{blockElements:et,inlineObjectElements:bt}),Ae=K7(Wt,"backward",R,{blockElements:et,inlineObjectElements:bt}),ze=w6(he,et);(w6(Ae,et)||ze)&&vt.push(Wt)}}for(const Pt of vt)Pt.hasClass("Apple-interchange-newline")?R.remove(Pt):R.replace(Pt,R.createElement("p"))}(u,c),a.content=u}}const AC=/(\s+)<\/span>/g,(a,c)=>1===c.length?" ":Array(c.length+1).join("\xa0 ").substr(0,c.length))}function jc(v,a,c,u,E=1){null!=a&&null!=E&&a>E?u.setAttribute(v,a,c):u.removeAttribute(v,c)}function v2(v,a,c={}){const u=v.createElement("tableCell",c);return v.insertElement("paragraph",u),v.insert(u,a),u}function $0(v,a){const u=parseInt(a.parent.parent.getAttribute("headingColumns")||"0"),{column:E}=v.getCellLocation(a);return!!u&&E{a.on(`element:${v}`,(c,u,{writer:E})=>{if(!u.modelRange)return;const R=u.modelRange.start.nodeAfter,V=E.createPositionAt(R,0);if(u.viewItem.isEmpty)return void E.insertElement("paragraph",V);const X=Array.from(R.getChildren());if(X.every(et=>et.is("element","$marker"))){const et=E.createElement("paragraph");E.insert(et,E.createPositionAt(R,0));for(const bt of X)E.move(E.createRangeOn(bt),E.createPositionAt(et,"end"))}},{priority:"low"})}}function M6(v){let a=0,c=0;const u=Array.from(v.getChildren()).filter(E=>"th"===E.name||"td"===E.name);for(;c1||V>1)&&this._recordSpans(E,V,R),this._shouldSkipSlot()||(c=this._formatOutValue(E)),this._nextCellAtColumn=this._column+R}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,c||this.next()}skipRow(a){this._skipRows.add(a)}_advanceToNextRow(){return this._row++,this._rowIndex++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(a,c=this._row,u=this._column){return{done:!1,value:new T6(this,a,c,u)}}_shouldSkipSlot(){return this._skipRows.has(this._row)||this._rowthis._endColumn}_getSpanned(){const a=this._spannedCells.get(this._row);return a&&a.get(this._column)||null}_recordSpans(a,c,u){const E={cell:a,row:this._row,column:this._column};for(let R=this._row;R0&&!this._jumpedToStartRow}_jumpToNonSpannedRowClosestToStartRow(){const a=this._getRowLength(0);for(let c=this._startRow;!this._jumpedToStartRow;c--)a===this._getRowLength(c)&&(this._row=c,this._rowIndex=c,this._jumpedToStartRow=!0)}_getRowLength(a){return[...this._table.getChild(a).getChildren()].reduce((c,u)=>c+parseInt(u.getAttribute("colspan")||"1"),0)}}class T6{constructor(a,c,u,E){this.cell=c,this.row=a._row,this.column=a._column,this.cellAnchorRow=u,this.cellAnchorColumn=E,this._cellIndex=a._cellIndex,this._rowIndex=a._rowIndex,this._table=a._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||"1")}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||"1")}get rowIndex(){return this._rowIndex}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function S3(v,a){return(c,{writer:u})=>{const E=c.getAttribute("headingRows")||0,R=u.createContainerElement("table",null,[]),V=u.createContainerElement("figure",{class:"table"},R);E>0&&u.insert(u.createPositionAt(R,"end"),u.createContainerElement("thead",null,u.createSlot(X=>X.is("element","tableRow")&&X.indexX.is("element","tableRow")&&X.index>=E)));for(const{positionOffset:X,filter:et}of a.additionalSlots)u.insert(u.createPositionAt(R,X),u.createSlot(et));return u.insert(u.createPositionAt(R,"after"),u.createSlot(X=>!X.is("element","tableRow")&&!a.additionalSlots.some(({filter:et})=>et(X)))),a.asWidget?((et=u).setCustomProperty("table",!0,X=V),l4(X,et,{hasSelectionHandle:!0})):V;var X,et}}function D6(v={}){return(a,{writer:c})=>{const u=a.parent,E=u.parent,R=E.getChildIndex(u),V=new ps(E,{row:R}),X=E.getAttribute("headingRows")||0,et=E.getAttribute("headingColumns")||0;let bt=null;for(const vt of V)if(vt.cell==a){const Pt=vt.row{if(!a.parent.is("element","tableCell")||!Tr(a))return null;if(v.asWidget)return c.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const u=c.createContainerElement("p");return c.setCustomProperty("dataPipeline:transparentRendering",!0,u),u}}}function Tr(v){return 1==v.parent.childCount&&!!v.getAttributeKeys().next().done}class rr extends ri{refresh(){const a=this.editor.model;this.isEnabled=function(E,R){const V=E.getFirstPosition().parent;return R.checkChild(V===V.root?V:V.parent,"table")}(a.document.selection,a.schema)}execute(a={}){const c=this.editor,u=c.model,E=c.plugins.get("TableUtils"),R=c.config.get("table.defaultHeadings.rows"),V=c.config.get("table.defaultHeadings.columns");void 0===a.headingRows&&R&&(a.headingRows=R),void 0===a.headingColumns&&V&&(a.headingColumns=V),u.change(X=>{const et=E.createTable(X,a);u.insertObject(et,null,null,{findOptimalPosition:"auto"}),X.setSelection(X.createPositionAt(et.getNodeByPath([0,0,0]),0))})}}class Hr extends ri{constructor(a,c={}){super(a),this.order=c.order||"below"}refresh(){const a=this.editor.model.document.selection,c=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(a).length;this.isEnabled=c}execute(){const a=this.editor,c=a.model.document.selection,u=a.plugins.get("TableUtils"),E="above"===this.order,R=u.getSelectionAffectedTableCells(c),V=u.getRowIndexes(R),X=E?V.first:V.last,et=R[0].findAncestor("table");u.insertRows(et,{at:E?X:X+1,copyStructureFromAbove:!E})}}class R6 extends ri{constructor(a,c={}){super(a),this.order=c.order||"right"}refresh(){const a=this.editor.model.document.selection,c=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(a).length;this.isEnabled=c}execute(){const a=this.editor,c=a.model.document.selection,u=a.plugins.get("TableUtils"),E="left"===this.order,R=u.getSelectionAffectedTableCells(c),V=u.getColumnIndexes(R),X=E?V.first:V.last,et=R[0].findAncestor("table");u.insertColumns(et,{columns:1,at:E?X:X+1})}}class S6 extends ri{constructor(a,c={}){super(a),this.direction=c.direction||"horizontally"}refresh(){const a=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=1===a.length}execute(){const a=this.editor.plugins.get("TableUtils"),c=a.getSelectionAffectedTableCells(this.editor.model.document.selection)[0];"horizontally"===this.direction?a.splitCellHorizontally(c,2):a.splitCellVertically(c,2)}}function P3(v,a,c){const{startRow:u,startColumn:E,endRow:R,endColumn:V}=a,X=c.createElement("table"),et=R-u+1;for(let vt=0;vt0&&jc("headingRows",ze-Wt,vt,Ae,0);const mn=parseInt(Pt.getAttribute("headingColumns")||"0");mn>0&&jc("headingColumns",mn-he,vt,Ae,0)}(X,v,u,E,c),X}function z4(v,a,c=0){const u=[],E=new ps(v,{startRow:c,endRow:a-1});for(const R of E){const{row:V,cellHeight:X}=R;V1&&(X.rowspan=et);const bt=parseInt(v.getAttribute("colspan")||"1");bt>1&&(X.colspan=bt);const vt=R+V,Pt=[...new ps(E,{startRow:R,endRow:vt,includeAllSlots:!0})];let Wt,he=null;for(const Ae of Pt){const{row:ze,column:mn,cell:xn}=Ae;xn===v&&void 0===Wt&&(Wt=mn),void 0!==Wt&&Wt===mn&&ze===vt&&(he=v2(c,Ae.getPositionBefore(),X))}return jc("rowspan",V,v,c),he}function O3(v,a){const c=[],u=new ps(v);for(const E of u){const{column:R,cellWidth:V}=E;R1&&(R.colspan=V);const X=parseInt(v.getAttribute("rowspan")||"1");X>1&&(R.rowspan=X);const et=v2(u,u.createPositionAfter(v),R);return jc("colspan",E,v,u),et}function A6(v,a,c,u,E,R){const V=parseInt(v.getAttribute("colspan")||"1"),X=parseInt(v.getAttribute("rowspan")||"1");c+V-1>E&&jc("colspan",E-c+1,v,R,1),a+X-1>u&&jc("rowspan",u-a+1,v,R,1)}function V0(v,a){const c=a.getColumns(v),u=new Array(c).fill(0);for(const{column:R}of new ps(v))u[R]++;const E=u.reduce((R,V,X)=>V?R:[...R,X],[]);return E.length>0&&(a.removeColumns(v,{at:E[E.length-1]}),!0)}function j3(v,a){const c=[],u=a.getRows(v);for(let E=0;E0&&(a.removeRows(v,{at:c[c.length-1]}),!0)}function N3(v,a){V0(v,a)||j3(v,a)}function H4(v,a){const c=Array.from(new ps(v,{startColumn:a.firstColumn,endColumn:a.lastColumn,row:a.lastRow}));return c.every(({cellHeight:E})=>1===E)?a.lastRow:a.lastRow+(c[0].cellHeight-1)}function O6(v,a){const c=Array.from(new ps(v,{startRow:a.firstRow,endRow:a.lastRow,column:a.lastColumn}));return c.every(({cellWidth:E})=>1===E)?a.lastColumn:a.lastColumn+(c[0].cellWidth-1)}class G0 extends ri{constructor(a,c){super(a),this.direction=c.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const a=this._getMergeableCell();this.value=a,this.isEnabled=!!a}execute(){const a=this.editor.model,c=a.document,u=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(c.selection)[0],E=this.value,R=this.direction;a.change(V=>{const X="right"==R||"down"==R,et=X?u:E,bt=X?E:u,vt=bt.parent;var ze,mn,xn;mn=et,xn=V,j6(ze=bt)||(j6(mn)&&xn.remove(xn.createRangeIn(mn)),xn.move(xn.createRangeIn(ze),xn.createPositionAt(mn,"end"))),xn.remove(ze);const Pt=this.isHorizontal?"colspan":"rowspan",Wt=parseInt(u.getAttribute(Pt)||"1"),he=parseInt(E.getAttribute(Pt)||"1");V.setAttribute(Pt,Wt+he,et),V.setSelection(V.createRangeIn(et));const Ae=this.editor.plugins.get("TableUtils");N3(vt.findAncestor("table"),Ae)})}_getMergeableCell(){const a=this.editor.model.document,c=this.editor.plugins.get("TableUtils"),u=c.getTableCellsContainingSelection(a.selection)[0];if(!u)return;const E=this.isHorizontal?function(X,et,bt){const Wt="right"==et?X.nextSibling:X.previousSibling,he=(X.parent.parent.getAttribute("headingColumns")||0)>0;if(!Wt)return;const Ae="right"==et?X:Wt,ze="right"==et?Wt:X,{column:mn}=bt.getCellLocation(Ae),{column:xn}=bt.getCellLocation(ze),ti=parseInt(Ae.getAttribute("colspan")||"1"),Si=$0(bt,Ae),mo=$0(bt,ze);return he&&Si!=mo?void 0:mn+ti===xn?Wt:void 0}(u,this.direction,c):function(X,et,bt){const vt=X.parent,Pt=vt.parent,Wt=Pt.getChildIndex(vt);if("down"==et&&Wt===bt.getRows(Pt)-1||"up"==et&&0===Wt)return null;const he=parseInt(X.getAttribute("rowspan")||"1"),Ae=Pt.getAttribute("headingRows")||0;if(Ae&&("down"==et&&Wt+he===Ae||"up"==et&&Wt===Ae))return null;const xn=parseInt(X.getAttribute("rowspan")||"1"),ti="down"==et?Wt+xn:Wt,Si=[...new ps(Pt,{endRow:ti})],lr=Si.find(Aa=>Aa.cell===X).column,Ia=Si.find(({row:Aa,cellHeight:yc,column:Vs})=>Vs===lr&&("down"==et?Aa===ti:ti===Aa+yc));return Ia&&Ia.cell?Ia.cell:null}(u,this.direction,c);if(!E)return;const R=this.isHorizontal?"rowspan":"colspan",V=parseInt(u.getAttribute(R)||"1");return parseInt(E.getAttribute(R)||"1")===V?E:void 0}}function j6(v){const a=v.getChild(0);return 1==v.childCount&&a.is("element","paragraph")&&a.isEmpty}class Z7 extends ri{refresh(){const a=this.editor.plugins.get("TableUtils"),c=a.getSelectionAffectedTableCells(this.editor.model.document.selection),u=c[0];if(u){const E=u.findAncestor("table"),R=a.getRows(E)-1,V=a.getRowIndexes(c);this.isEnabled=!(0===V.first&&V.last===R)}else this.isEnabled=!1}execute(){const a=this.editor.model,c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(a.document.selection),E=c.getRowIndexes(u),R=u[0],V=R.findAncestor("table"),X=c.getCellLocation(R).column;a.change(et=>{c.removeRows(V,{at:E.first,rows:E.last-E.first+1});const vt=function(Pt,Wt,he,Ae){const ze=Pt.getChild(Math.min(Wt,Ae-1));let mn=ze.getChild(0),xn=0;for(const ti of ze.getChildren()){if(xn>he)return mn;mn=ti,xn+=parseInt(ti.getAttribute("colspan")||"1")}return mn}(V,E.first,X,c.getRows(V));et.setSelection(et.createPositionAt(vt,0))})}}class t8 extends ri{refresh(){const a=this.editor.plugins.get("TableUtils"),c=a.getSelectionAffectedTableCells(this.editor.model.document.selection),u=c[0];if(u){const E=u.findAncestor("table"),R=a.getColumns(E),{first:V,last:X}=a.getColumnIndexes(c);this.isEnabled=X-Vet.cell===c).column,last:R.find(et=>et.cell===u).column},X=(et=R,bt=c,vt=u,Pt=V,parseInt(vt.getAttribute("colspan")||"1")>1?vt:bt.previousSibling||vt.nextSibling?vt.nextSibling||bt.previousSibling:Pt.first?et.reverse().find(({column:he})=>hehe>Pt.last).cell);var et,bt,vt,Pt;this.editor.model.change(et=>{a.removeColumns(E,{at:V.first,columns:V.last-V.first+1}),et.setSelection(et.createPositionAt(X,0))})}}class NC extends ri{refresh(){const u=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection),E=u.length>0;this.isEnabled=E,this.value=E&&u.every(R=>this._isInHeading(R,R.parent.parent))}execute(a={}){if(a.forceValue===this.value)return;const c=this.editor.plugins.get("TableUtils"),u=this.editor.model,E=c.getSelectionAffectedTableCells(u.document.selection),R=E[0].findAncestor("table"),{first:V,last:X}=c.getRowIndexes(E),et=this.value?V:X+1,bt=R.getAttribute("headingRows")||0;u.change(vt=>{if(et){const Pt=z4(R,et,et>bt?bt:0);for(const{cell:Wt}of Pt)A3(Wt,et,vt)}jc("headingRows",et,R,vt,0)})}_isInHeading(a,c){const u=parseInt(c.getAttribute("headingRows")||"0");return!!u&&a.parent.index0;this.isEnabled=E,this.value=E&&u.every(R=>$0(c,R))}execute(a={}){if(a.forceValue===this.value)return;const c=this.editor.plugins.get("TableUtils"),u=this.editor.model,E=c.getSelectionAffectedTableCells(u.document.selection),R=E[0].findAncestor("table"),{first:V,last:X}=c.getColumnIndexes(E),et=this.value?V:X+1;u.change(bt=>{if(et){const vt=O3(R,et);for(const{cell:Pt,column:Wt}of vt)P6(Pt,Wt,et,bt)}jc("headingColumns",et,R,bt,0)})}}class Jl extends j{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(a){const c=a.parent,u=c.parent,E=u.getChildIndex(c),R=new ps(u,{row:E});for(const{cell:V,row:X,column:et}of R)if(V===a)return{row:X,column:et}}createTable(a,c){const u=a.createElement("table"),E=c.rows||2,R=c.columns||2;return L6(a,u,0,E,R),c.headingRows&&jc("headingRows",Math.min(c.headingRows,E),u,a,0),c.headingColumns&&jc("headingColumns",Math.min(c.headingColumns,R),u,a,0),u}insertRows(a,c={}){const u=this.editor.model,E=c.at||0,R=c.rows||1,V=void 0!==c.copyStructureFromAbove,X=c.copyStructureFromAbove?E-1:E,et=this.getRows(a),bt=this.getColumns(a);if(E>et)throw new z("tableutils-insertrows-insert-out-of-range",this,{options:c});u.change(vt=>{const Pt=a.getAttribute("headingRows")||0;if(Pt>E&&jc("headingRows",Pt+R,a,vt,0),!V&&(0===E||E===et))return void L6(vt,a,E,R,bt);const Wt=V?Math.max(E,X):E,he=new ps(a,{endRow:Wt}),Ae=new Array(bt).fill(1);for(const{row:ze,column:mn,cellHeight:xn,cellWidth:ti,cell:Si}of he){const mo=ze+xn-1,lr=ze<=X&&X<=mo;ze0&&v2(vt,Si,ti>1?{colspan:ti}:void 0),xn+=Math.abs(ti)-1}}})}insertColumns(a,c={}){const E=c.at||0,R=c.columns||1;this.editor.model.change(V=>{const X=a.getAttribute("headingColumns");ER-1)throw new z("tableutils-removerows-row-index-out-of-range",this,{table:a,options:c});u.change(et=>{const bt={first:V,last:X},{cellsToMove:vt,cellsToTrim:Pt}=function(Wt,{first:he,last:Ae}){const ze=new Map,mn=[];for(const{row:xn,column:ti,cellHeight:Si,cell:mo}of new ps(Wt,{endRow:Ae})){const lr=xn+Si-1;if(xn>=he&&xn<=Ae&&lr>Ae&&ze.set(ti,{cell:mo,rowspan:Si-(Ae-xn+1)}),xn=he){let Ia;Ia=lr>=Ae?Ae-he+1:lr-he+1,mn.push({cell:mo,rowspan:Si-Ia})}}return{cellsToMove:ze,cellsToTrim:mn}}(a,bt);vt.size&&function(Wt,he,Ae,ze){const xn=[...new ps(Wt,{includeAllSlots:!0,row:he})],ti=Wt.getChild(he);let Si;for(const{column:mo,cell:lr,isAnchor:Ia}of xn)if(Ae.has(mo)){const{cell:Aa,rowspan:yc}=Ae.get(mo),Vs=Si?ze.createPositionAfter(Si):ze.createPositionAt(ti,0);ze.move(ze.createRangeOn(Aa),Vs),jc("rowspan",yc,Aa,ze),Si=Aa}else Ia&&(Si=lr)}(a,X+1,vt,et);for(let Wt=X;Wt>=V;Wt--)et.remove(a.getChild(Wt));for(const{rowspan:Wt,cell:he}of Pt)jc("rowspan",Wt,he,et);(function(Wt,{first:he,last:Ae},ze){const mn=Wt.getAttribute("headingRows")||0;he{!function(bt,vt,Pt){const Wt=bt.getAttribute("headingColumns")||0;if(Wt&&vt.firstc.is("element","tableColumnGroup"))}(v);return a?Array.from(a.getChildren()):[]}(a);for(let bt=V;bt>=E;bt--){for(const{cell:vt,column:Pt,cellWidth:Wt}of[...new ps(a)])Pt<=bt&&Wt>1&&Pt+Wt>bt?jc("colspan",Wt-1,vt,X):Pt===bt&&X.remove(vt);if(et[bt]){const vt=0===bt?et[1]:et[bt-1],Pt=parseFloat(et[bt].getAttribute("columnWidth")),Wt=parseFloat(vt.getAttribute("columnWidth"));X.remove(et[bt]),X.setAttribute("columnWidth",Pt+Wt+"%",vt)}}j3(a,this)||V0(a,this)})}splitCellVertically(a,c=2){const u=this.editor.model,E=a.parent.parent,R=parseInt(a.getAttribute("rowspan")||"1"),V=parseInt(a.getAttribute("colspan")||"1");u.change(X=>{if(V>1){const{newCellsSpan:et,updatedSpan:bt}=$6(V,c);jc("colspan",bt,a,X);const vt={};et>1&&(vt.colspan=et),R>1&&(vt.rowspan=R),B0(V>c?c-1:V-1,X,X.createPositionAfter(a),vt)}if(VAe===a),Pt=bt.filter(({cell:Ae,cellWidth:ze,column:mn})=>Ae!==a&&mn===vt||mnvt);for(const{cell:Ae,cellWidth:ze}of Pt)X.setAttribute("colspan",ze+et,Ae);const Wt={};R>1&&(Wt.rowspan=R),B0(et,X,X.createPositionAfter(a),Wt);const he=E.getAttribute("headingColumns")||0;he>vt&&jc("headingColumns",he+et,E,X)}})}splitCellHorizontally(a,c=2){const u=this.editor.model,E=a.parent,R=E.parent,V=R.getChildIndex(E),X=parseInt(a.getAttribute("rowspan")||"1"),et=parseInt(a.getAttribute("colspan")||"1");u.change(bt=>{if(X>1){const vt=[...new ps(R,{startRow:V,endRow:V+X-1,includeAllSlots:!0})],{newCellsSpan:Pt,updatedSpan:Wt}=$6(X,c);jc("rowspan",Wt,a,bt);const{column:he}=vt.find(({cell:ze})=>ze===a),Ae={};Pt>1&&(Ae.rowspan=Pt),et>1&&(Ae.colspan=et);for(const ze of vt){const{column:mn,row:xn}=ze;xn>=V+Wt&&mn===he&&(xn+V+Wt)%Pt==0&&B0(1,bt,ze.getPositionBefore(),Ae)}}if(XV&&bt.setAttribute("rowspan",ze+vt,Ae);const Wt={};et>1&&(Wt.colspan=et),L6(bt,R,V+1,vt,1,Wt);const he=R.getAttribute("headingRows")||0;he>V&&jc("headingRows",he+vt,R,bt)}})}getColumns(a){return[...a.getChild(0).getChildren()].reduce((c,u)=>c+parseInt(u.getAttribute("colspan")||"1"),0)}getRows(a){return Array.from(a.getChildren()).reduce((c,u)=>u.is("element","tableRow")?c+1:c,0)}createTableWalker(a,c={}){return new ps(a,c)}getSelectedTableCells(a){const c=[];for(const u of this.sortRanges(a.getRanges())){const E=u.getContainedElement();E&&E.is("element","tableCell")&&c.push(E)}return c}getTableCellsContainingSelection(a){const c=[];for(const u of a.getRanges()){const E=u.start.findAncestor("tableCell");E&&c.push(E)}return c}getSelectionAffectedTableCells(a){const c=this.getSelectedTableCells(a);return c.length?c:this.getTableCellsContainingSelection(a)}getRowIndexes(a){const c=a.map(u=>u.parent.index);return this._getFirstLastIndexesObject(c)}getColumnIndexes(a){const c=a[0].findAncestor("table"),u=[...new ps(c)].filter(E=>a.includes(E.cell)).map(E=>E.column);return this._getFirstLastIndexesObject(u)}isSelectionRectangular(a){if(a.length<2||!this._areCellInTheSameTableSection(a))return!1;const c=new Set,u=new Set;let E=0;for(const V of a){const{row:X,column:et}=this.getCellLocation(V),bt=parseInt(V.getAttribute("rowspan"))||1,vt=parseInt(V.getAttribute("colspan"))||1;c.add(X),u.add(et),bt>1&&c.add(X+bt-1),vt>1&&u.add(et+vt-1),E+=bt*vt}return function(V,X){const et=Array.from(V.values()),bt=Array.from(X.values());return(Math.max(...et)-Math.min(...et)+1)*(Math.max(...bt)-Math.min(...bt)+1)}(c,u)==E}sortRanges(a){return Array.from(a).sort(n8)}_getFirstLastIndexesObject(a){const c=a.sort((u,E)=>u-E);return{first:c[0],last:c[c.length-1]}}_areCellInTheSameTableSection(a){const c=a[0].findAncestor("table"),u=this.getRowIndexes(a),E=parseInt(c.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(u,E))return!1;const R=this.getColumnIndexes(a),V=parseInt(c.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(R,V)}_areIndexesInSameSection({first:a,last:c},u){return a{const E=c.getSelectedTableCells(a.document.selection),R=E.shift(),{mergeWidth:V,mergeHeight:X}=function(et,bt,vt){let Pt=0,Wt=0;for(const xn of bt){const{row:ti,column:Si}=vt.getCellLocation(xn);Pt=Nm(xn,Si,Pt,"colspan"),Wt=Nm(xn,ti,Wt,"rowspan")}const{row:he,column:Ae}=vt.getCellLocation(et);return{mergeWidth:Pt-Ae,mergeHeight:Wt-he}}(R,E,c);jc("colspan",V,R,u),jc("rowspan",X,R,u);for(const et of E)$C(et,R,u);N3(R.findAncestor("table"),c),u.setSelection(R,"in")})}}function $C(v,a,c){o8(v)||(o8(a)&&c.remove(c.createRangeIn(a)),c.move(c.createRangeIn(v),c.createPositionAt(a,"end"))),c.remove(v)}function o8(v){const a=v.getChild(0);return 1==v.childCount&&a.is("element","paragraph")&&a.isEmpty}function Nm(v,a,c,u){const E=parseInt(v.getAttribute(u)||"1");return Math.max(c,a+E)}class r8 extends ri{constructor(a){super(a),this.affectsData=!1}refresh(){const a=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=a.length>0}execute(){const a=this.editor.model,c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(a.document.selection),E=c.getRowIndexes(u),R=u[0].findAncestor("table"),V=[];for(let X=E.first;X<=E.last;X++)for(const et of R.getChild(X).getChildren())V.push(a.createRangeOn(et));a.change(X=>{X.setSelection(V)})}}class z0 extends ri{constructor(a){super(a),this.affectsData=!1}refresh(){const a=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=a.length>0}execute(){const a=this.editor.plugins.get("TableUtils"),c=this.editor.model,u=a.getSelectionAffectedTableCells(c.document.selection),E=u[0],R=u.pop(),V=E.findAncestor("table"),X=a.getCellLocation(E),et=a.getCellLocation(R),bt=Math.min(X.column,et.column),vt=Math.max(X.column,et.column),Pt=[];for(const Wt of new ps(V,{startColumn:bt,endColumn:vt}))Pt.push(c.createRangeOn(Wt.cell));c.change(Wt=>{Wt.setSelection(Pt)})}}function V6(v,a){let c=!1;const u=function(E){const R=parseInt(E.getAttribute("headingRows")||"0"),V=Array.from(E.getChildren()).reduce((et,bt)=>bt.is("element","tableRow")?et+1:et,0),X=[];for(const{row:et,cell:bt,cellHeight:vt}of new ps(E)){if(vt<2)continue;const Pt=etPt&&X.push({cell:bt,rowspan:Pt-et})}return X}(v);if(u.length){c=!0;for(const E of u)jc("rowspan",E.rowspan,E.cell,a,1)}return c}function L3(v,a){let c=!1;const u=function(X){const et=new Array(X.childCount).fill(0);for(const{rowIndex:bt}of new ps(X,{includeAllSlots:!0}))et[bt]++;return et}(v),E=[];for(const[X,et]of u.entries())!et&&v.getChild(X).is("element","tableRow")&&E.push(X);if(E.length){c=!0;for(const X of E.reverse())a.remove(v.getChild(X)),u.splice(X,1)}const R=u.filter((X,et)=>v.getChild(et).is("element","tableRow")),V=R[0];if(!R.every(X=>X===V)){const X=R.reduce((et,bt)=>bt>et?bt:et,0);for(const[et,bt]of R.entries()){const vt=X-bt;if(vt){for(let Pt=0;Ptu.is("$text"));for(const u of c)a.wrap(a.createRangeOn(u),"paragraph");return!!c.length}function $3(v){return!!v.position.parent.is("element","tableCell")&&("insert"==v.type&&"$text"==v.name||"remove"==v.type)}function VC(v,a){if(!v.is("element","paragraph"))return!1;const c=a.toViewElement(v);return!!c&&Tr(v)!==c.is("element","span")}var d8=A(3881);ao()(d8.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class V3 extends j{constructor(a){super(a),this._additionalSlots=[]}static get pluginName(){return"TableEditing"}static get requires(){return[Jl]}init(){const a=this.editor,c=a.model,u=c.schema,E=a.conversion,R=a.plugins.get(Jl);u.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),u.register("tableRow",{allowIn:"table",isLimit:!0}),u.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),E.for("upcast").add(V=>{V.on("element:figure",(X,et,bt)=>{if(!bt.consumable.test(et.viewItem,{name:!0,classes:"table"}))return;const vt=function(Wt){for(const he of Wt.getChildren())if(he.is("element","table"))return he}(et.viewItem);if(!vt||!bt.consumable.test(vt,{name:!0}))return;bt.consumable.consume(et.viewItem,{name:!0,classes:"table"});const Pt=kr(bt.convertItem(vt,et.modelCursor).modelRange.getItems());Pt?(bt.convertChildren(et.viewItem,bt.writer.createPositionAt(Pt,"end")),bt.updateConversionResult(Pt,et)):bt.consumable.revert(et.viewItem,{name:!0,classes:"table"})})}),E.for("upcast").add(function jC(){return v=>{v.on("element:table",(a,c,u)=>{const E=c.viewItem;if(!u.consumable.test(E,{name:!0}))return;const{rows:R,headingRows:V,headingColumns:X}=function(vt){let Pt,Wt=0;const he=[],Ae=[];let ze;for(const mn of Array.from(vt.getChildren())){if("tbody"!==mn.name&&"thead"!==mn.name&&"tfoot"!==mn.name)continue;"thead"!==mn.name||ze||(ze=mn);const xn=Array.from(mn.getChildren()).filter(ti=>ti.is("element","tr"));for(const ti of xn)if(ze&&mn===ze||"tbody"===mn.name&&Array.from(ti.getChildren()).length&&Array.from(ti.getChildren()).every(Si=>Si.is("element","th")))Wt++,he.push(ti);else{Ae.push(ti);const Si=M6(ti);(!Pt||Siu.convertItem(vt,u.writer.createPositionAt(bt,"end"))),u.convertChildren(E,u.writer.createPositionAt(bt,"end")),bt.isEmpty){const vt=u.writer.createElement("tableRow");u.writer.insert(vt,u.writer.createPositionAt(bt,"end")),v2(u.writer,u.writer.createPositionAt(vt,"end"))}u.updateConversionResult(bt,c)}})}}()),E.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:S3(R,{asWidget:!0,additionalSlots:this._additionalSlots})}),E.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:S3(R,{additionalSlots:this._additionalSlots})}),E.for("upcast").elementToElement({model:"tableRow",view:"tr"}),E.for("upcast").add(V=>{V.on("element:tr",(X,et)=>{et.viewItem.isEmpty&&0==et.modelCursor.index&&X.stop()},{priority:"high"})}),E.for("downcast").elementToElement({model:"tableRow",view:(V,{writer:X})=>V.isEmpty?X.createEmptyElement("tr"):X.createContainerElement("tr")}),E.for("upcast").elementToElement({model:"tableCell",view:"td"}),E.for("upcast").elementToElement({model:"tableCell",view:"th"}),E.for("upcast").add(Q7("td")),E.for("upcast").add(Q7("th")),E.for("editingDowncast").elementToElement({model:"tableCell",view:D6({asWidget:!0})}),E.for("dataDowncast").elementToElement({model:"tableCell",view:D6()}),E.for("editingDowncast").elementToElement({model:"paragraph",view:I6({asWidget:!0}),converterPriority:"high"}),E.for("dataDowncast").elementToElement({model:"paragraph",view:I6(),converterPriority:"high"}),E.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),E.for("upcast").attributeToAttribute({model:{key:"colspan",value:H0("colspan")},view:"colspan"}),E.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),E.for("upcast").attributeToAttribute({model:{key:"rowspan",value:H0("rowspan")},view:"rowspan"}),a.config.define("table.defaultHeadings.rows",0),a.config.define("table.defaultHeadings.columns",0),a.commands.add("insertTable",new rr(a)),a.commands.add("insertTableRowAbove",new Hr(a,{order:"above"})),a.commands.add("insertTableRowBelow",new Hr(a,{order:"below"})),a.commands.add("insertTableColumnLeft",new R6(a,{order:"left"})),a.commands.add("insertTableColumnRight",new R6(a,{order:"right"})),a.commands.add("removeTableRow",new Z7(a)),a.commands.add("removeTableColumn",new t8(a)),a.commands.add("splitTableCellVertically",new S6(a,{direction:"vertically"})),a.commands.add("splitTableCellHorizontally",new S6(a,{direction:"horizontally"})),a.commands.add("mergeTableCells",new i8(a)),a.commands.add("mergeTableCellRight",new G0(a,{direction:"right"})),a.commands.add("mergeTableCellLeft",new G0(a,{direction:"left"})),a.commands.add("mergeTableCellDown",new G0(a,{direction:"down"})),a.commands.add("mergeTableCellUp",new G0(a,{direction:"up"})),a.commands.add("setTableColumnHeader",new LC(a)),a.commands.add("setTableRowHeader",new NC(a)),a.commands.add("selectTableRow",new r8(a)),a.commands.add("selectTableColumn",new z0(a)),function a8(v){v.document.registerPostFixer(a=>function(c,u){const E=u.document.differ.getChanges();let R=!1;const V=new Set;for(const X of E){let et=null;"insert"==X.type&&"table"==X.name&&(et=X.position.nodeAfter),"insert"!=X.type&&"remove"!=X.type||"tableRow"!=X.name&&"tableCell"!=X.name||(et=X.position.findAncestor("table")),s8(X)&&(et=X.range.start.findAncestor("table")),et&&!V.has(et)&&(R=V6(et,c)||R,R=L3(et,c)||R,V.add(et))}return R}(a,v))}(c),function c8(v){v.document.registerPostFixer(a=>function(c,u){const E=u.document.differ.getChanges();let R=!1;for(const V of E)"insert"==V.type&&"table"==V.name&&(R=l8(V.position.nodeAfter,c)||R),"insert"==V.type&&"tableRow"==V.name&&(R=G6(V.position.nodeAfter,c)||R),"insert"==V.type&&"tableCell"==V.name&&(R=Y4(V.position.nodeAfter,c)||R),"remove"!=V.type&&"insert"!=V.type||!$3(V)||(R=Y4(V.position.parent,c)||R);return R}(a,v))}(c),this.listenTo(c.document,"change:data",()=>{(function(V,X){const et=V.document.differ;for(const bt of et.getChanges()){let vt,Pt=!1;if("attribute"==bt.type){const ze=bt.range.start.nodeAfter;if(!ze||!ze.is("element","table")||"headingRows"!=bt.attributeKey&&"headingColumns"!=bt.attributeKey)continue;vt=ze,Pt="headingRows"==bt.attributeKey}else"tableRow"!=bt.name&&"tableCell"!=bt.name||(vt=bt.position.findAncestor("table"),Pt="tableRow"==bt.name);if(!vt)continue;const Wt=vt.getAttribute("headingRows")||0,he=vt.getAttribute("headingColumns")||0,Ae=new ps(vt);for(const ze of Ae){const mn=ze.rowVC(Wt,X.mapper));for(const Wt of Pt)X.reconvertItem(Wt)}}(c,a.editing)})}registerAdditionalSlot(a){this._additionalSlots.push(a)}}function H0(v){return a=>{const c=parseInt(a.getAttribute(v));return Number.isNaN(c)||c<=0?null:c}}var G3=A(1613);ao()(G3.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class u8 extends Ro{constructor(a){super(a);const c=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new Ja,this.focusTracker=new Ys,this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",(u,E)=>`${E} \xd7 ${u}`),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"mouseover@.ck-insert-table-dropdown-grid-box":c.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck","ck-insert-table-dropdown__label"],"aria-hidden":!0},children:[{text:c.to("label")}]}],on:{mousedown:c.to(u=>{u.preventDefault()}),click:c.to(()=>{this.fire("execute")})}}),this.on("boxover",(u,E)=>{const{row:R,column:V}=E.target.dataset;this.items.get(10*(parseInt(R,10)-1)+(parseInt(V,10)-1)).focus()}),this.focusTracker.on("change:focusedElement",(u,E,R)=>{if(!R)return;const{row:V,column:X}=R.dataset;this.set({rows:parseInt(V),columns:parseInt(X)})}),this.on("change:columns",()=>this._highlightGridBoxes()),this.on("change:rows",()=>this._highlightGridBoxes())}render(){super.render(),function({keystrokeHandler:a,focusTracker:c,gridItems:u,numberOfColumns:E,uiLanguageDirection:R}){const V="number"==typeof E?()=>E:E;function X(vt){return Pt=>{const Wt=u.find(ze=>ze.element===c.focusedElement),he=u.getIndex(Wt),Ae=vt(he,u);u.get(Ae).focus(),Pt.stopPropagation(),Pt.preventDefault()}}function et(vt,Pt){return vt===Pt-1?0:vt+1}function bt(vt,Pt){return 0===vt?Pt-1:vt-1}a.set("arrowright",X((vt,Pt)=>"rtl"===R?bt(vt,Pt.length):et(vt,Pt.length))),a.set("arrowleft",X((vt,Pt)=>"rtl"===R?et(vt,Pt.length):bt(vt,Pt.length))),a.set("arrowup",X((vt,Pt)=>{let Wt=vt-V();return Wt<0&&(Wt=vt+V()*Math.floor(Pt.length/V()),Wt>Pt.length-1&&(Wt-=V())),Wt})),a.set("arrowdown",X((vt,Pt)=>{let Wt=vt+V();return Wt>Pt.length-1&&(Wt=vt%V()),Wt}))}({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:10,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection});for(const a of this.items)this.focusTracker.add(a.element);this.keystrokes.listenTo(this.element)}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const a=this.rows,c=this.columns;this.items.map((u,E)=>{const R=Math.floor(E/10){const R=a.commands.get("insertTable"),V=Ru(E);let X;return V.bind("isEnabled").to(R),V.buttonView.set({icon:'',label:c("Insert table"),tooltip:!0}),V.on("change:isOpen",()=>{X||(X=new u8(E),V.panelView.children.add(X),X.delegate("execute").to(V),V.on("execute",()=>{a.execute("insertTable",{rows:X.rows,columns:X.columns}),a.editing.view.focus()}))}),V}),a.ui.componentFactory.add("tableColumn",E=>{const R=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:c("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:u?"insertTableColumnLeft":"insertTableColumnRight",label:c("Insert column left")}},{type:"button",model:{commandName:u?"insertTableColumnRight":"insertTableColumnLeft",label:c("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:c("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:c("Select column")}}];return this._prepareDropdown(c("Column"),'',R,E)}),a.ui.componentFactory.add("tableRow",E=>{const R=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:c("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:c("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:c("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:c("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:c("Select row")}}];return this._prepareDropdown(c("Row"),'',R,E)}),a.ui.componentFactory.add("mergeTableCells",E=>{const R=[{type:"button",model:{commandName:"mergeTableCellUp",label:c("Merge cell up")}},{type:"button",model:{commandName:u?"mergeTableCellRight":"mergeTableCellLeft",label:c("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:c("Merge cell down")}},{type:"button",model:{commandName:u?"mergeTableCellLeft":"mergeTableCellRight",label:c("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:c("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:c("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(c("Merge cells"),'',R,E)})}_prepareDropdown(a,c,u,E){const R=this.editor,V=Ru(E),X=this._fillDropdownWithListOptions(V,u);return V.buttonView.set({label:a,icon:c,tooltip:!0}),V.bind("isEnabled").toMany(X,"isEnabled",(...et)=>et.some(bt=>bt)),this.listenTo(V,"execute",et=>{R.execute(et.source.commandName),et.source instanceof _d||R.editing.view.focus()}),V}_prepareMergeSplitButtonDropdown(a,c,u,E){const R=this.editor,V=Ru(E,ym),X="mergeTableCells",et=R.commands.get(X),bt=this._fillDropdownWithListOptions(V,u);return V.buttonView.set({label:a,icon:c,tooltip:!0,isEnabled:!0}),V.bind("isEnabled").toMany([et,...bt],"isEnabled",(...vt)=>vt.some(Pt=>Pt)),this.listenTo(V.buttonView,"execute",()=>{R.execute(X),R.editing.view.focus()}),this.listenTo(V,"execute",vt=>{R.execute(vt.source.commandName),R.editing.view.focus()}),V}_fillDropdownWithListOptions(a,c){const u=this.editor,E=[],R=new Fa;for(const V of c)m8(V,u,E,R);return bh(a,R),E}}function m8(v,a,c,u){if("button"===v.type||"switchbutton"===v.type){const E=v.model=new L_(v.model),{commandName:R,bindIsOn:V}=v.model,X=a.commands.get(R);c.push(X),E.set({commandName:R}),E.bind("isEnabled").to(X),V&&E.bind("isOn").to(X,"value"),E.set({withText:!0})}u.add(v)}var Y6=A(6945);ao()(Y6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Md extends j{static get pluginName(){return"TableSelection"}static get requires(){return[Jl,Jl]}init(){const a=this.editor,u=a.editing.view;this.listenTo(a.model,"deleteContent",(E,R)=>this._handleDeleteContent(E,R),{priority:"high"}),this.listenTo(u.document,"insertText",(E,R)=>this._handleInsertTextEvent(E,R),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const u=this.editor.plugins.get(Jl).getSelectedTableCells(this.editor.model.document.selection);return 0==u.length?null:u}getSelectionAsFragment(){const a=this.editor.plugins.get(Jl),c=this.getSelectedTableCells();return c?this.editor.model.change(u=>{const E=u.createDocumentFragment(),{first:R,last:V}=a.getColumnIndexes(c),{first:X,last:et}=a.getRowIndexes(c),bt=c[0].findAncestor("table");let vt=et,Pt=V;if(a.isSelectionRectangular(c)){const he={firstColumn:R,lastColumn:V,firstRow:X,lastRow:et};vt=H4(bt,he),Pt=O6(bt,he)}const Wt=P3(bt,{startRow:X,startColumn:R,endRow:vt,endColumn:Pt},u);return u.insert(Wt,E,0),E}):null}setCellSelection(a,c){const u=this._getCellsToSelect(a,c);this.editor.model.change(E=>{E.setSelection(u.cells.map(R=>E.createRangeOn(R)),{backward:u.backward})})}getFocusCell(){const a=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return a&&a.is("element","tableCell")?a:null}getAnchorCell(){const a=kr(this.editor.model.document.selection.getRanges()).getContainedElement();return a&&a.is("element","tableCell")?a:null}_defineSelectionConverter(){const a=this.editor,c=new Set;a.conversion.for("editingDowncast").add(u=>u.on("selection",(E,R,V)=>{const X=V.writer;!function(vt){for(const Pt of c)vt.removeClass("ck-editor__editable_selected",Pt);c.clear()}(X);const et=this.getSelectedTableCells();if(!et)return;for(const vt of et){const Pt=V.mapper.toViewElement(vt);X.addClass("ck-editor__editable_selected",Pt),c.add(Pt)}const bt=V.mapper.toViewElement(et[et.length-1]);X.setSelection(bt,0)},{priority:"lowest"}))}_enablePluginDisabling(){const a=this.editor;this.on("change:isEnabled",()=>{if(!this.isEnabled){const c=this.getSelectedTableCells();if(!c)return;a.model.change(u=>{const E=u.createPositionAt(c[0],0),R=a.model.schema.getNearestSelectionRange(E);u.setSelection(R)})}})}_handleDeleteContent(a,c){const u=this.editor.plugins.get(Jl),E=c[0],R=c[1],V=this.editor.model,X=!R||"backward"==R.direction,et=u.getSelectedTableCells(E);et.length&&(a.stop(),V.change(bt=>{const vt=et[X?et.length-1:0];V.change(Wt=>{for(const he of et)V.deleteContent(Wt.createSelection(he,"in"))});const Pt=V.schema.getNearestSelectionRange(bt.createPositionAt(vt,0));E.is("documentSelection")?bt.setSelection(Pt):E.setTo(Pt)}))}_handleInsertTextEvent(a,c){const u=this.editor,E=this.getSelectedTableCells();if(!E)return;const R=u.editing.view,V=u.editing.mapper,X=E.map(et=>R.createRangeOn(V.toViewElement(et)));c.selection=R.createSelection(X)}_getCellsToSelect(a,c){const u=this.editor.plugins.get("TableUtils"),E=u.getCellLocation(a),R=u.getCellLocation(c),V=Math.min(E.row,R.row),X=Math.max(E.row,R.row),et=Math.min(E.column,R.column),bt=Math.max(E.column,R.column),vt=new Array(X-V+1).fill(null).map(()=>[]),Pt={startRow:V,endRow:X,startColumn:et,endColumn:bt};for(const{row:Ae,cell:ze}of new ps(a.findAncestor("table"),Pt))vt[Ae-V].push(ze);const Wt=R.rowAe.reverse()),{cells:vt.flat(),backward:Wt||he}}}class h8 extends j{static get pluginName(){return"TableClipboard"}static get requires(){return[Md,Jl]}init(){const a=this.editor,c=a.editing.view.document;this.listenTo(c,"copy",(u,E)=>this._onCopyCut(u,E)),this.listenTo(c,"cut",(u,E)=>this._onCopyCut(u,E)),this.listenTo(a.model,"insertContent",(u,[E,R])=>this._onInsertContent(u,E,R),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(a,c){const u=this.editor.plugins.get(Md);if(!u.getSelectedTableCells()||"cut"==a.name&&!this.editor.model.canEditAt(this.editor.model.document.selection))return;c.preventDefault(),a.stop();const R=this.editor.editing.view.document,V=this.editor.data.toView(u.getSelectionAsFragment());R.fire("clipboardOutput",{dataTransfer:c.dataTransfer,content:V,method:a.name})}_onInsertContent(a,c,u){if(u&&!u.is("documentSelection"))return;const E=this.editor.model,R=this.editor.plugins.get(Jl);let V=this.getTableIfOnlyTableInContent(c,E);if(!V)return;const X=R.getSelectionAffectedTableCells(E.document.selection);X.length?(a.stop(),E.change(et=>{const bt={width:R.getColumns(V),height:R.getRows(V)},vt=function(mn,xn,ti,Si){const mo=mn[0].findAncestor("table"),lr=Si.getColumnIndexes(mn),Ia=Si.getRowIndexes(mn),Aa={firstColumn:lr.first,lastColumn:lr.last,firstRow:Ia.first,lastRow:Ia.last},yc=1===mn.length;return yc&&(Aa.lastRow+=xn.height-1,Aa.lastColumn+=xn.width-1,function(Vs,J0,G1,hu){const po=hu.getColumns(Vs),Mp=hu.getRows(Vs);G1>po&&hu.insertColumns(Vs,{at:po,columns:G1-po}),J0>Mp&&hu.insertRows(Vs,{at:Mp,rows:J0-Mp})}(mo,Aa.lastRow+1,Aa.lastColumn+1,Si)),yc||!Si.isSelectionRectangular(mn)?function(Vs,J0,G1){const{firstRow:hu,lastRow:po,firstColumn:Mp,lastColumn:y2}=J0,X0={first:hu,last:po},s5={first:Mp,last:y2};U6(Vs,Mp,X0,G1),U6(Vs,y2+1,X0,G1),Y0(Vs,hu,s5,G1),Y0(Vs,po+1,s5,G1,hu)}(mo,Aa,ti):(Aa.lastRow=H4(mo,Aa),Aa.lastColumn=O6(mo,Aa)),Aa}(X,bt,et,R),Wt=vt.lastColumn-vt.firstColumn+1,he={startRow:0,startColumn:0,endRow:Math.min(vt.lastRow-vt.firstRow+1,bt.height)-1,endColumn:Math.min(Wt,bt.width)-1};V=P3(V,he,et);const Ae=X[0].findAncestor("table"),ze=this._replaceSelectedCellsWithPasted(V,bt,Ae,vt,et);if(this.editor.plugins.get("TableSelection").isEnabled){const mn=R.sortRanges(ze.map(xn=>et.createRangeOn(xn)));et.setSelection(mn)}else et.setSelection(ze[0],0)})):N3(V,R)}_replaceSelectedCellsWithPasted(a,c,u,E,R){const{width:V,height:X}=c,et=function(mn,xn,ti){const Si=new Array(ti).fill(null).map(()=>new Array(xn).fill(null));for(const{column:mo,row:lr,cell:Ia}of new ps(mn))Si[lr][mo]=Ia;return Si}(a,V,X),bt=[...new ps(u,{startRow:E.firstRow,endRow:E.lastRow,startColumn:E.firstColumn,endColumn:E.lastColumn,includeAllSlots:!0})],vt=[];let Pt;for(const mn of bt){const{row:xn,column:ti}=mn;ti===E.firstColumn&&(Pt=mn.getPositionBefore());const lr=et[(xn-E.firstRow)%X][(ti-E.firstColumn)%V],Ia=lr?R.cloneElement(lr):null,Aa=this._replaceTableSlotCell(mn,Ia,Pt,R);Aa&&(A6(Aa,xn,ti,E.lastRow,E.lastColumn,R),vt.push(Aa),Pt=R.createPositionAfter(Aa))}const Wt=parseInt(u.getAttribute("headingRows")||"0"),he=parseInt(u.getAttribute("headingColumns")||"0"),ze=E.firstColumnU4(R,V,c)).map(({cell:R})=>A3(R,a,u))}function U6(v,a,c,u){if(!(a<1))return O3(v,a).filter(({row:E,cellHeight:R})=>U4(E,R,c)).map(({cell:E,column:R})=>P6(E,R,a,u))}function U4(v,a,c){const u=v+a-1,{first:E,last:R}=c;return v>=E&&v<=R||v=E}class J4 extends j{static get pluginName(){return"TableKeyboard"}static get requires(){return[Md,Jl]}init(){const a=this.editor.editing.view.document;this.listenTo(a,"arrowKey",(...c)=>this._onArrowKey(...c),{context:"table"}),this.listenTo(a,"tab",(...c)=>this._handleTabOnSelectedTable(...c),{context:"figure"}),this.listenTo(a,"tab",(...c)=>this._handleTab(...c),{context:["th","td"]})}_handleTabOnSelectedTable(a,c){const u=this.editor,E=u.model.document.selection.getSelectedElement();E&&E.is("element","table")&&(c.preventDefault(),c.stopPropagation(),a.stop(),u.model.change(R=>{R.setSelection(R.createRangeIn(E.getChild(0).getChild(0)))}))}_handleTab(a,c){const u=this.editor,E=this.editor.plugins.get(Jl),R=this.editor.plugins.get("TableSelection"),X=!c.shiftKey;let et=E.getTableCellsContainingSelection(u.model.document.selection)[0];if(et||(et=R.getFocusCell()),!et)return;c.preventDefault(),c.stopPropagation(),a.stop();const bt=et.parent,vt=bt.parent,Pt=vt.getChildIndex(bt),Wt=bt.getChildIndex(et),he=0===Wt;if(!X&&he&&0===Pt)return void u.model.change(xn=>{xn.setSelection(xn.createRangeOn(vt))});const Ae=Wt===bt.childCount-1,ze=Pt===E.getRows(vt)-1;if(X&&ze&&Ae&&(u.execute("insertTableRowBelow"),Pt===E.getRows(vt)-1))return void u.model.change(xn=>{xn.setSelection(xn.createRangeOn(vt))});let mn;if(X&&Ae)mn=vt.getChild(Pt+1).getChild(0);else if(!X&&he){const xn=vt.getChild(Pt-1);mn=xn.getChild(xn.childCount-1)}else mn=bt.getChild(Wt+(X?1:-1));u.model.change(xn=>{xn.setSelection(xn.createRangeIn(mn))})}_onArrowKey(a,c){const E=ba(c.keyCode,this.editor.locale.contentLanguageDirection);this._handleArrowKeys(E,c.shiftKey)&&(c.preventDefault(),c.stopPropagation(),a.stop())}_handleArrowKeys(a,c){const u=this.editor.plugins.get(Jl),E=this.editor.plugins.get("TableSelection"),R=this.editor.model,V=R.document.selection,X=["right","down"].includes(a),et=u.getSelectedTableCells(V);if(et.length){let vt;return vt=c?E.getFocusCell():X?et[et.length-1]:et[0],this._navigateFromCellInDirection(vt,a,c),!0}const bt=V.focus.findAncestor("tableCell");if(!bt)return!1;if(!V.isCollapsed)if(c){if(V.isBackward==X&&!V.containsEntireContent(bt))return!1}else{const vt=V.getSelectedElement();if(!vt||!R.schema.isObject(vt))return!1}return!!this._isSelectionAtCellEdge(V,bt,X)&&(this._navigateFromCellInDirection(bt,a,c),!0)}_isSelectionAtCellEdge(a,c,u){const E=this.editor.model,R=this.editor.model.schema,V=u?a.getLastPosition():a.getFirstPosition();if(!R.getLimitElement(V).is("element","tableCell"))return E.createPositionAt(c,u?"end":0).isTouching(V);const X=E.createSelection(V);return E.modifySelection(X,{direction:u?"forward":"backward"}),V.isEqual(X.focus)}_navigateFromCellInDirection(a,c,u=!1){const E=this.editor.model,R=a.findAncestor("table"),V=[...new ps(R,{includeAllSlots:!0})],{row:X,column:et}=V[V.length-1],bt=V.find(({cell:ze})=>ze==a);let{row:vt,column:Pt}=bt;switch(c){case"left":Pt--;break;case"up":vt--;break;case"right":Pt+=bt.cellWidth;break;case"down":vt+=bt.cellHeight}if(vt<0||vt>X||Pt<0&&vt<=0||Pt>et&&vt>=X)return void E.change(ze=>{ze.setSelection(ze.createRangeOn(R))});Pt<0?(Pt=u?0:et,vt--):Pt>et&&(Pt=u?et:0,vt++);const Wt=V.find(ze=>ze.row==vt&&ze.column==Pt).cell,he=["right","down"].includes(c),Ae=this.editor.plugins.get("TableSelection");if(u&&Ae.isEnabled){const ze=Ae.getAnchorCell()||a;Ae.setCellSelection(ze,Wt)}else{const ze=E.createPositionAt(Wt,he?0:"end");E.change(mn=>{mn.setSelection(ze)})}}}class f8 extends rd{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(a){this.fire(a.type,a)}}class J6 extends j{static get pluginName(){return"TableMouse"}static get requires(){return[Md,Jl]}init(){this.editor.editing.view.addObserver(f8),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const a=this.editor,c=a.plugins.get(Jl);let u=!1;const E=a.plugins.get(Md);this.listenTo(a.editing.view.document,"mousedown",(R,V)=>{const X=a.model.document.selection;if(!this.isEnabled||!E.isEnabled||!V.domEvent.shiftKey)return;const et=E.getAnchorCell()||c.getTableCellsContainingSelection(X)[0];if(!et)return;const bt=this._getModelTableCellFromDomEvent(V);bt&&g8(et,bt)&&(u=!0,E.setCellSelection(et,bt),V.preventDefault())}),this.listenTo(a.editing.view.document,"mouseup",()=>{u=!1}),this.listenTo(a.editing.view.document,"selectionChange",R=>{u&&R.stop()},{priority:"highest"})}_enableMouseDragSelection(){const a=this.editor;let c,u,E=!1,R=!1;const V=a.plugins.get(Md);this.listenTo(a.editing.view.document,"mousedown",(X,et)=>{this.isEnabled&&V.isEnabled&&(et.domEvent.shiftKey||et.domEvent.ctrlKey||et.domEvent.altKey||(c=this._getModelTableCellFromDomEvent(et)))}),this.listenTo(a.editing.view.document,"mousemove",(X,et)=>{if(!et.domEvent.buttons||!c)return;const bt=this._getModelTableCellFromDomEvent(et);bt&&g8(c,bt)&&(u=bt,E||u==c||(E=!0)),E&&(R=!0,V.setCellSelection(c,u),et.preventDefault())}),this.listenTo(a.editing.view.document,"mouseup",()=>{E=!1,R=!1,c=null,u=null}),this.listenTo(a.editing.view.document,"selectionChange",X=>{R&&X.stop()},{priority:"highest"})}_getModelTableCellFromDomEvent(a){const u=this.editor.editing.view.createPositionAt(a.target,0);return this.editor.editing.mapper.toModelPosition(u).parent.findAncestor("tableCell",{includeSelf:!0})}}function g8(v,a){return v.parent.parent==a.parent.parent}var X6=A(6306);function GC(v){const a=v.getSelectedElement();return a&&W6(a)?a:null}function q6(v){const a=v.getFirstPosition();if(!a)return null;let c=a.parent;for(;c;){if(c.is("element")&&W6(c))return c;c=c.parent}return null}function W6(v){return!!v.getCustomProperty("table")&&Tl(v)}ao()(X6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var z3=A(7368);ao()(z3.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var K6=A(9247);ao()(K6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Q6=A(4070);ao()(Q6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var t5=A(6237);ao()(t5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var b8=A(5087);ao()(b8.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var n5=A(7341);ao()(n5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var F8=A(2128);ao()(F8.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var U0=A(4101);ao()(U0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var E8=Object.defineProperty,o5=Object.getOwnPropertySymbols,r5=Object.prototype.hasOwnProperty,C8=Object.prototype.propertyIsEnumerable,Y3=(v,a,c)=>a in v?E8(v,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):v[a]=c,U3=(v,a)=>{for(var c in a||(a={}))r5.call(a,c)&&Y3(v,c,a[c]);if(o5)for(var c of o5(a))C8.call(a,c)&&Y3(v,c,a[c]);return v};const ak={autoRefresh:!0};class Ds extends(kt()){constructor(a,c={}){if(super(),!a)throw new z("token-missing-token-url",this);c.initValue&&this._validateTokenValue(c.initValue),this.set("value",c.initValue),this._refresh="function"==typeof a?a:()=>{return u=a,new Promise((E,R)=>{const V=new XMLHttpRequest;V.open("GET",u),V.addEventListener("load",()=>{const X=V.status,et=V.response;return X<200||X>299?R(new z("token-cannot-download-new-token",null)):E(et)}),V.addEventListener("error",()=>R(new Error("Network Error"))),V.addEventListener("abort",()=>R(new Error("Abort"))),V.send()});var u},this._options=U3(U3({},ak),c)}init(){return new Promise((a,c)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),a(this)):this.refreshToken().then(a).catch(c)})}refreshToken(){return this._refresh().then(a=>(this._validateTokenValue(a),this.set("value",a),this._options.autoRefresh&&this._registerRefreshTokenTimeout(),this))}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(a){const c="string"==typeof a,u=!/^".*"$/.test(a),E=c&&3===a.split(".").length;if(!u||!E)throw new z("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(){const a=this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout(()=>{this.refreshToken()},a)}_getTokenRefreshTimeoutTime(){try{const[,a]=this.value.split("."),{exp:c}=JSON.parse(atob(a));return c?Math.floor((1e3*c-Date.now())/2):36e5}catch{return 36e5}}static create(a,c={}){return new Ds(a,c).init()}}const X4=/^data:(\S*?);base64,/;class y8 extends(ft()){constructor(a,c,u){if(super(),!a)throw new z("fileuploader-missing-file",null);if(!c)throw new z("fileuploader-missing-token",null);if(!u)throw new z("fileuploader-missing-api-address",null);this.file=function(E){if("string"!=typeof E)return!1;const R=E.match(X4);return!(!R||!R.length)}(a)?function(E,R=512){try{const V=E.match(X4)[1],X=atob(E.replace(X4,"")),et=[];for(let bt=0;bta(u)),this}onError(a){return this.once("error",(c,u)=>a(u)),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const a=new XMLHttpRequest;a.open("POST",this._apiAddress),a.setRequestHeader("Authorization",this._token.value),a.responseType="json",this.xhr=a}_attachXHRListeners(){const a=this.xhr,c=u=>()=>this.fire("error",u);a.addEventListener("error",c("Network Error")),a.addEventListener("abort",c("Abort")),a.upload&&a.upload.addEventListener("progress",u=>{u.lengthComputable&&this.fire("progress",{total:u.total,uploaded:u.loaded})}),a.addEventListener("load",()=>{const u=a.status,E=a.response;if(u<200||u>299)return this.fire("error",E.message||E.error)})}_sendRequest(){const a=new FormData,c=this.xhr;return a.append("file",this.file),new Promise((u,E)=>{c.addEventListener("load",()=>{const R=c.status,V=c.response;return R<200||R>299?E(V.message?new z("fileuploader-uploading-data-failed",this,{message:V.message}):V.error):u(V)}),c.addEventListener("error",()=>E(new Error("Network Error"))),c.addEventListener("abort",()=>E(new Error("Abort"))),c.send(a)})}}class a5{constructor(a,c){if(!a)throw new z("uploadgateway-missing-token",null);if(!c)throw new z("uploadgateway-missing-api-address",null);this._token=a,this._apiAddress=c}upload(a){return new y8(a,this._token,this._apiAddress)}}class YC extends Ft{static get pluginName(){return"CloudServicesCore"}createToken(a,c){return new Ds(a,c)}createUploadGateway(a,c){return new a5(a,c)}}var C2=(v,a,c)=>new Promise((u,E)=>{var R=et=>{try{X(c.next(et))}catch(bt){E(bt)}},V=et=>{try{X(c.throw(et))}catch(bt){E(bt)}},X=et=>et.done?u(et.value):Promise.resolve(et.value).then(R,V);X((c=c.apply(v,a)).next())});class J3 extends a4{}J3.builtinPlugins=[class extends j{static get requires(){return[ov,a2,AE,bE,Uy,ai]}static get pluginName(){return"Essentials"}},class extends j{static get requires(){return[Nu]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const v=this.editor.config.get("ckfinder.uploadUrl");v&&(this.editor.plugins.get(Nu).createUploadAdapter=a=>new l2(a,v,this.editor.t))}},class extends j{static get requires(){return[mu]}static get pluginName(){return"Autoformat"}afterInit(){this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats()}_addListAutoformats(){const v=this.editor.commands;v.get("bulletedList")&&Cp(this.editor,this,/^[*-]\s$/,"bulletedList"),v.get("numberedList")&&Cp(this.editor,this,/^1[.|)]\s$/,"numberedList"),v.get("todoList")&&Cp(this.editor,this,/^\[\s?\]\s$/,"todoList"),v.get("checkTodoList")&&Cp(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const v=this.editor.commands;if(v.get("bold")){const a=E0(this.editor,"bold");v0(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,a),v0(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,a)}if(v.get("italic")){const a=E0(this.editor,"italic");v0(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,a),v0(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,a)}if(v.get("code")){const a=E0(this.editor,"code");v0(this.editor,this,/(`)([^`]+)(`)$/g,a)}if(v.get("strikethrough")){const a=E0(this.editor,"strikethrough");v0(this.editor,this,/(~~)([^~]+)(~~)$/g,a)}}_addHeadingAutoformats(){const v=this.editor.commands.get("heading");v&&v.modelElements.filter(a=>a.match(/^heading[1-6]$/)).forEach(a=>{const u=new RegExp(`^(#{${a[7]}})\\s$`);Cp(this.editor,this,u,()=>{if(!v.isEnabled||v.value===a)return!1;this.editor.execute("heading",{value:a})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&Cp(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const v=this.editor,a=v.model.document.selection;v.commands.get("codeBlock")&&Cp(v,this,/^```$/,()=>{if(a.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})})}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&Cp(this.editor,this,/^---$/,"horizontalLine")}},class extends j{static get requires(){return[hv,VE]}static get pluginName(){return"Bold"}},class extends j{static get requires(){return[BE,y0]}static get pluginName(){return"Italic"}},class extends j{static get requires(){return[gF,_4]}static get pluginName(){return"BlockQuote"}},class extends j{static get pluginName(){return"CKBox"}static get requires(){return[JE,qc]}},class extends j{static get pluginName(){return"CKFinder"}static get requires(){return["Link","CKFinderUploadAdapter",xF,kv]}},class extends Ft{constructor(){super(...arguments),this.token=null,this._tokens=new Map}static get pluginName(){return"CloudServices"}static get requires(){return[YC]}init(){return C2(this,null,function*(){const v=this.context.config.get("cloudServices")||{};for(const[c,u]of Object.entries(v))this[c]=u;if(!this.tokenUrl)return void(this.token=null);const a=this.context.plugins.get("CloudServicesCore");this.token=yield a.createToken(this.tokenUrl).init(),this._tokens.set(this.tokenUrl,this.token)})}registerTokenUrl(v){return C2(this,null,function*(){if(this._tokens.has(v))return this.getTokenFor(v);const a=this.context.plugins.get("CloudServicesCore"),c=yield a.createToken(v).init();return this._tokens.set(v,c),c})}getTokenFor(v){const a=this._tokens.get(v);if(!a)throw new z("cloudservices-token-not-registered",this);return a}destroy(){super.destroy();for(const v of this._tokens.values())v.destroy()}},class extends j{static get pluginName(){return"EasyImage"}static get requires(){return[E4,"ImageUpload"]}init(){const v=this.editor;v.plugins.has("ImageBlockEditing")||v.plugins.has("ImageInlineEditing")||nt("easy-image-image-feature-missing",v)}},class extends j{static get requires(){return[qE,WE]}static get pluginName(){return"Heading"}},class extends j{static get requires(){return[$F,Gv]}static get pluginName(){return"Image"}},class extends j{static get requires(){return[Gh,Bv]}static get pluginName(){return"ImageCaption"}},class extends j{static get requires(){return[e6,a7]}static get pluginName(){return"ImageStyle"}},class extends j{static get requires(){return[c2,Jd]}static get pluginName(){return"ImageToolbar"}afterInit(){const v=this.editor,a=v.t,c=v.plugins.get(c2),u=v.plugins.get("ImageUtils");var E;c.register("image",{ariaLabel:a("Image toolbar"),items:(E=v.config.get("image.toolbar")||[],E.map(R=>_t(R)?R.name:R)),getRelatedElement:R=>u.getClosestSelectedImageWidget(R)})}},class extends j{static get pluginName(){return"ImageUpload"}static get requires(){return[nk,HF,Dl]}},class extends j{static get pluginName(){return"Indent"}static get requires(){return[aC,l7]}},class extends j{static get requires(){return[gC,S0,M3]}static get pluginName(){return"Link"}},class extends j{static get requires(){return[$7,_6]}static get pluginName(){return"List"}},class extends j{static get requires(){return[G4,C6,Y7,Dh]}static get pluginName(){return"MediaEmbed"}},wp,class extends j{static get pluginName(){return"PasteFromOffice"}static get requires(){return[ss]}init(){const v=this.editor,a=v.plugins.get("ClipboardPipeline"),c=v.editing.view.document,u=[];u.push(new RC(c)),u.push(new PC(c)),u.push(new OC(c)),a.on("inputTransformation",(E,R)=>{if(R._isTransformedWithPasteFromOffice||v.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const V=R.dataTransfer.getData("text/html"),X=u.find(et=>et.isActive(V));X&&(R._parsedData||(R._parsedData=function x6(v,a){const c=new DOMParser,u=B4(B4(function(et){const Pt=et.indexOf("");if(Pt<0)return et;const Wt=et.indexOf("",Pt+7);return et.substring(0,Pt+7)+(Wt>=0?et.substring(Wt):"")}(v=(v=v.replace(//)>-1||t[_].search(/\]>/)>-1||t[_].search(/!DOCTYPE/)>-1)&&(g=!1)):t[_].search(/-->/)>-1||t[_].search(/\]>/)>-1?(h+=t[_],g=!1):/^<\w/.exec(t[_-1])&&/^<\/\w/.exec(t[_])&&/^<[\w:\-\.\,]+/.exec(t[_-1])==/^<\/[\w:\-\.\,]+/.exec(t[_])[0].replace("/","")?(h+=t[_],g||f--):t[_].search(/<\w/)>-1&&-1==t[_].search(/<\//)&&-1==t[_].search(/\/>/)?h=h+=g?t[_]:p[f++]+t[_]:t[_].search(/<\w/)>-1&&t[_].search(/<\//)>-1?h=h+=g?t[_]:p[f]+t[_]:t[_].search(/<\//)>-1?h=h+=g?t[_]:p[--f]+t[_]:t[_].search(/\/>/)>-1?h=h+=g?t[_]:p[f]+t[_]:t[_].search(/<\?/)>-1||t[_].search(/xmlns\:/)>-1||t[_].search(/xmlns\=/)>-1?h+=p[f]+t[_]:h+=t[_];return"\n"==h[0]?h.slice(1):h},D.prototype.json=function(A,t){return t=t||this.step,typeof JSON>"u"?A:"string"==typeof A?JSON.stringify(JSON.parse(A),null,t):"object"==typeof A?JSON.stringify(A,null,t):A},D.prototype.css=function(A,G){var t=A.replace(/\s{1,}/g," ").replace(/\{/g,"{~::~").replace(/\}/g,"~::~}~::~").replace(/\;/g,";~::~").replace(/\/\*/g,"~::~/*").replace(/\*\//g,"*/~::~").replace(/~::~\s{0,}~::~/g,"~::~").split("~::~"),C=t.length,g=0,f="",h=0,_=G?Tt(G):this.shift;for(h=0;h/g,"").replace(/[ \r\n\t]{1,}xmlns/g," xmlns")).replace(/>\s{0,}<")},D.prototype.jsonmin=function(A){return typeof JSON>"u"?A:JSON.stringify(JSON.parse(A),null,0)},D.prototype.cssmin=function(A,G){return(G?A:A.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g,"")).replace(/\s{1,}/g," ").replace(/\{\s{1,}/g,"{").replace(/\}\s{1,}/g,"}").replace(/\;\s{1,}/g,";").replace(/\/\*\s{1,}/g,"/*").replace(/\*\/\s{1,}/g,"*/")},D.prototype.sqlmin=function(A){return A.replace(/\s{1,}/g," ").replace(/\s{1,}\(/,"(").replace(/\s{1,}\)/,")")},Rt.exports=new D},86728:(Rt,Tt,D)=>{"use strict";function l(k){for(var A in k)Tt.hasOwnProperty(A)||(Tt[A]=k[A])}Object.defineProperty(Tt,"__esModule",{value:!0}),l(D(67200)),l(D(43519)),l(D(65823)),l(D(21133)),l(D(44976)),l(D(6167)),l(D(99251)),l(D(8792)),l(D(49524)),l(D(74106)),l(D(71066)),l(D(83733)),l(D(77840)),l(D(78551)),l(D(45213)),l(D(20713))},67200:function(Rt,Tt,D){"use strict";var l=this&&this.__extends||function(){var t=function(C,g){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,h){f.__proto__=h}||function(f,h){for(var _ in h)h.hasOwnProperty(_)&&(f[_]=h[_])})(C,g)};return function(C,g){function f(){this.constructor=C}t(C,g),C.prototype=null===g?Object.create(g):(f.prototype=g.prototype,new f)}}();Object.defineProperty(Tt,"__esModule",{value:!0});var k=D(99251),A=function(t){function C(g){var f=t.call(this)||this,_=g;return _.trigger&&(f.trigger=_.trigger),_.kick&&(f.kick=_.kick),_.drag&&(f.drag=_.drag),_.on&&(f.on=_.on),f.dragstart=f.dragStart=k.Layout.dragStart,f.dragend=f.dragEnd=k.Layout.dragEnd,f}return l(C,t),C.prototype.trigger=function(g){},C.prototype.kick=function(){},C.prototype.drag=function(){},C.prototype.on=function(g,f){return this},C}(k.Layout);Tt.LayoutAdaptor=A,Tt.adaptor=function G(t){return new A(t)}},20713:(Rt,Tt,D)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var l=D(99251),k=D(44976);Tt.gridify=function A(C,g,f,h){return C.cola.start(0,0,0,10,!1),function G(C,g,f,h){C.forEach(function(p){p.routerNode={name:p.name,bounds:p.bounds.inflate(-f)}}),g.forEach(function(p){p.routerNode={bounds:p.bounds.inflate(-h),children:(typeof p.groups<"u"?p.groups.map(function(m){return C.length+m.id}):[]).concat(typeof p.leaves<"u"?p.leaves.map(function(m){return m.index}):[])}});var _=C.concat(g).map(function(p,m){return p.routerNode.id=m,p.routerNode});return new k.GridRouter(_,{getChildren:function(p){return p.children},getBounds:function(p){return p.bounds}},f-h)}(C.cola.nodes(),C.cola.groups(),f,h).routeEdges(C.powerGraph.powerEdges,g,function(p){return p.source.routerNode.id},function(p){return p.target.routerNode.id})},Tt.powerGraphGridLayout=function t(C,g,f){var h;C.nodes.forEach(function(F,M){return F.index=M}),(new l.Layout).avoidOverlaps(!1).nodes(C.nodes).links(C.links).powerGraphGroups(function(F){(h=F).groups.forEach(function(M){return M.padding=f})});var _=C.nodes.length,p=[],m=C.nodes.slice(0);return m.forEach(function(F,M){return F.index=M}),h.groups.forEach(function(F){var M=F.index=F.id+_;m.push(F),typeof F.leaves<"u"&&F.leaves.forEach(function(y){return p.push({source:M,target:y.index})}),typeof F.groups<"u"&&F.groups.forEach(function(y){return p.push({source:M,target:y.id+_})})}),h.powerEdges.forEach(function(F){p.push({source:F.source.index,target:F.target.index})}),(new l.Layout).size(g).nodes(m).links(p).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new l.Layout).convergenceThreshold(.001).size(g).avoidOverlaps(!0).nodes(C.nodes).links(C.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(F){(h=F).groups.forEach(function(M){M.padding=f})}).start(50,0,100,0,!1),powerGraph:h}}},43519:(Rt,Tt,D)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var l=D(83002),k=D(25085);Tt.d3adaptor=function A(t){return!t||function G(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new l.D3StyleLayoutAdaptor:new k.D3StyleLayoutAdaptor(t)}},83002:function(Rt,Tt,D){"use strict";var l=this&&this.__extends||function(){var t=function(C,g){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,h){f.__proto__=h}||function(f,h){for(var _ in h)h.hasOwnProperty(_)&&(f[_]=h[_])})(C,g)};return function(C,g){function f(){this.constructor=C}t(C,g),C.prototype=null===g?Object.create(g):(f.prototype=g.prototype,new f)}}();Object.defineProperty(Tt,"__esModule",{value:!0});var k=D(99251),A=function(t){function C(){var g=t.call(this)||this;g.event=d3.dispatch(k.EventType[k.EventType.start],k.EventType[k.EventType.tick],k.EventType[k.EventType.end]);var f=g;return g.drag=function(){if(!_)var _=d3.behavior.drag().origin(k.Layout.dragOrigin).on("dragstart.d3adaptor",k.Layout.dragStart).on("drag.d3adaptor",function(p){k.Layout.drag(p,d3.event),f.resume()}).on("dragend.d3adaptor",k.Layout.dragEnd);if(!arguments.length)return _;this.call(_)},g}return l(C,t),C.prototype.trigger=function(g){var f={type:k.EventType[g.type],alpha:g.alpha,stress:g.stress};this.event[f.type](f)},C.prototype.kick=function(){var g=this;d3.timer(function(){return t.prototype.tick.call(g)})},C.prototype.on=function(g,f){return this.event.on("string"==typeof g?g:k.EventType[g],f),this},C}(k.Layout);Tt.D3StyleLayoutAdaptor=A,Tt.d3adaptor=function G(){return new A}},25085:function(Rt,Tt,D){"use strict";var l=this&&this.__extends||function(){var G=function(t,C){return(G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,f){g.__proto__=f}||function(g,f){for(var h in f)f.hasOwnProperty(h)&&(g[h]=f[h])})(t,C)};return function(t,C){function g(){this.constructor=t}G(t,C),t.prototype=null===C?Object.create(C):(g.prototype=C.prototype,new g)}}();Object.defineProperty(Tt,"__esModule",{value:!0});var k=D(99251),A=function(G){function t(C){var g=G.call(this)||this;g.d3Context=C,g.event=C.dispatch(k.EventType[k.EventType.start],k.EventType[k.EventType.tick],k.EventType[k.EventType.end]);var f=g;return g.drag=function(){if(!_)var _=C.drag().subject(k.Layout.dragOrigin).on("start.d3adaptor",k.Layout.dragStart).on("drag.d3adaptor",function(p){k.Layout.drag(p,C.event),f.resume()}).on("end.d3adaptor",k.Layout.dragEnd);if(!arguments.length)return _;arguments[0].call(_)},g}return l(t,G),t.prototype.trigger=function(C){var g={type:k.EventType[C.type],alpha:C.alpha,stress:C.stress};this.event.call(g.type,g)},t.prototype.kick=function(){var C=this,g=this.d3Context.timer(function(){return G.prototype.tick.call(C)&&g.stop()})},t.prototype.on=function(C,g){return this.event.on("string"==typeof C?C:k.EventType[C],g),this},t}(k.Layout);Tt.D3StyleLayoutAdaptor=A},65823:(Rt,Tt)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var D=function(){function A(){this.locks={}}return A.prototype.add=function(G,t){this.locks[G]=t},A.prototype.clear=function(){this.locks={}},A.prototype.isEmpty=function(){for(var G in this.locks)return!1;return!0},A.prototype.apply=function(G){for(var t in this.locks)G(Number(t),this.locks[t])},A}();Tt.Locks=D;var l=function(){function A(G,t,C){void 0===C&&(C=null),this.D=t,this.G=C,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new k,this.project=null,this.x=G,this.k=G.length;var g=this.n=G[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new D,this.minD=Number.MAX_VALUE;for(var h,f=g;f--;)for(h=g;--h>f;){var _=t[f][h];_>0&&_1e-9)break;var I=this.offsetDir();for(g=0;g1&&O>S||!isFinite(S)){for(g=0;g1&&(B=1);var P=S*S,U=2*B*(O-S)/(P*O),z=O*O*O,nt=2*-B/(P*z);for(isFinite(U)||console.log(U),g=0;g0?yt-(dt+1)*rt:yt-(dt-1)*rt)&&T<=it&&(this.scaleSnapByMaxH?(this.g[g][m]+=p*lt*T,this.H[g][m][m]+=p*lt):(this.g[g][m]+=lt*T,this.H[g][m][m]+=lt))}this.locks.isEmpty()||this.locks.apply(function(L,Y){for(g=0;g0;)for(var f=t;f-- >0;)C(g,f)},A.prototype.matrixApply=function(G){A.mApply(this.k,this.n,G)},A.prototype.computeNextPosition=function(G,t){var C=this;this.computeDerivatives(G);var g=this.computeStepSize(this.g);if(this.stepAndProject(G,t,this.g,g),this.project){this.matrixApply(function(h,_){return C.e[h][_]=G[h][_]-t[h][_]});var f=this.computeStepSize(this.e);f=Math.max(.2,Math.min(f,1)),this.stepAndProject(G,t,this.e,f)}},A.prototype.run=function(G){for(var t=Number.MAX_VALUE,C=!1;!C&&G-- >0;){var g=this.rungeKutta();C=Math.abs(t/g-1)>16)/this.range},A.prototype.getNextBetween=function(G,t){return G+this.getNext()*(t-G)},A}();Tt.PseudoRandom=k},21133:function(Rt,Tt,D){"use strict";var l=this&&this.__extends||function(){var Z=function(dt,ft){return(Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,Y){L.__proto__=Y}||function(L,Y){for(var J in Y)Y.hasOwnProperty(J)&&(L[J]=Y[J])})(dt,ft)};return function(dt,ft){function L(){this.constructor=dt}Z(dt,ft),dt.prototype=null===ft?Object.create(ft):(L.prototype=ft.prototype,new L)}}();Object.defineProperty(Tt,"__esModule",{value:!0});var k=D(77840),A=function(){return function Z(){}}();Tt.Point=A;var G=function(){return function Z(dt,ft,L,Y){this.x1=dt,this.y1=ft,this.x2=L,this.y2=Y}}();Tt.LineSegment=G;var t=function(Z){function dt(){return null!==Z&&Z.apply(this,arguments)||this}return l(dt,Z),dt}(A);function C(Z,dt,ft){return(dt.x-Z.x)*(ft.y-Z.y)-(ft.x-Z.x)*(dt.y-Z.y)}function g(Z,dt,ft){return C(Z,dt,ft)>0}function f(Z,dt,ft){return C(Z,dt,ft)<0}function F(Z,dt){var ft=dt.slice(0);return ft.push(dt[0]),{rtan:M(Z,ft),ltan:y(Z,ft)}}function M(Z,dt){var L,Y,J,K,ft=dt.length-1;if(f(Z,dt[1],dt[0])&&!g(Z,dt[ft-1],dt[0]))return 0;for(L=0,Y=ft;;){if(Y-L==1)return g(Z,dt[L],dt[Y])?L:Y;if((K=f(Z,dt[(J=Math.floor((L+Y)/2))+1],dt[J]))&&!g(Z,dt[J-1],dt[J]))return J;g(Z,dt[L+1],dt[L])?K||g(Z,dt[L],dt[J])?Y=J:L=J:K&&f(Z,dt[L],dt[J])?Y=J:L=J}}function y(Z,dt){var L,Y,J,K,ft=dt.length-1;if(g(Z,dt[ft-1],dt[0])&&!f(Z,dt[1],dt[0]))return 0;for(L=0,Y=ft;;){if(Y-L==1)return f(Z,dt[L],dt[Y])?L:Y;if(K=f(Z,dt[(J=Math.floor((L+Y)/2))+1],dt[J]),g(Z,dt[J-1],dt[J])&&!K)return J;f(Z,dt[L+1],dt[L])?K?f(Z,dt[L],dt[J])?Y=J:L=J:Y=J:K?L=J:g(Z,dt[L],dt[J])?Y=J:L=J}}function T(Z,dt,ft,L,Y,J){var H,K;K=L(Z[H=ft(dt[0],Z)],dt);for(var tt=!1;!tt;){for(tt=!0;H===Z.length-1&&(H=0),!Y(dt[K],Z[H],Z[H+1]);)++H;for(;0===K&&(K=dt.length-1),!J(Z[H],dt[K],dt[K-1]);)--K,tt=!1}return{t1:H,t2:K}}function O(Z,dt){return T(Z,dt,M,y,g,f)}Tt.PolyPoint=t,Tt.isLeft=C,Tt.ConvexHull=function h(Z){var L,dt=Z.slice(0).sort(function(Dt,gt){return Dt.x!==gt.x?gt.x-Dt.x:gt.y-Dt.y}),ft=Z.length,J=dt[0].x;for(L=1;L=0&&dt[L].x===_t;L--);for(tt=L+1,L=H;++L<=tt;)if(!(C(dt[0],dt[tt],dt[L])>=0&&L1&&!(C(K[K.length-2],K[K.length-1],dt[L])>0);)K.length-=1;0!=L&&K.push(dt[L])}ut!=tt&&K.push(dt[ut]);var xt=K.length;for(L=tt;--L>=H;)if(!(C(dt[ut],dt[H],dt[L])>=0&&L>H)){for(;K.length>xt&&!(C(K[K.length-2],K[K.length-1],dt[L])>0);)K.length-=1;0!=L&&K.push(dt[L])}}return K},Tt.clockwiseRadialSweep=function _(Z,dt,ft){dt.slice(0).sort(function(L,Y){return Math.atan2(L.y-Z.y,L.x-Z.x)-Math.atan2(Y.y-Z.y,Y.x-Z.x)}).forEach(ft)},Tt.tangent_PolyPolyC=T,Tt.LRtangent_PolyPolyC=function I(Z,dt){var ft=O(dt,Z);return{t1:ft.t2,t2:ft.t1}},Tt.RLtangent_PolyPolyC=O,Tt.LLtangent_PolyPolyC=function S(Z,dt){return T(Z,dt,y,y,f,f)},Tt.RRtangent_PolyPolyC=function B(Z,dt){return T(Z,dt,M,M,g,g)};var P=function(){return function Z(dt,ft){this.t1=dt,this.t2=ft}}();Tt.BiTangent=P;var U=function(){return function Z(){}}();Tt.BiTangents=U;var z=function(Z){function dt(){return null!==Z&&Z.apply(this,arguments)||this}return l(dt,Z),dt}(A);Tt.TVGPoint=z;var nt=function(){return function Z(dt,ft,L,Y){this.id=dt,this.polyid=ft,this.polyvertid=L,this.p=Y,Y.vv=this}}();Tt.VisibilityVertex=nt;var it=function(){function Z(dt,ft){this.source=dt,this.target=ft}return Z.prototype.length=function(){var dt=this.source.p.x-this.target.p.x,ft=this.source.p.y-this.target.p.y;return Math.sqrt(dt*dt+ft*ft)},Z}();Tt.VisibilityEdge=it;var rt=function(){function Z(dt,ft){if(this.P=dt,this.V=[],this.E=[],ft)this.V=ft.V.slice(0),this.E=ft.E.slice(0);else{for(var L=dt.length,Y=0;Y0&&this.E.push(new it(J[H-1].vv,tt))}J.length>1&&this.E.push(new it(J[0].vv,J[J.length-1].vv))}for(Y=0;Y0)return!0;return!1},Z}();function mt(Z,dt){for(var ft=[],L=1,Y=dt.length;L=0&&Mt>=0&&ot<0&&Q>=0&&kt>=0&&Xt<0?Y.ll=new P(J,H):gt<=0&&Mt<=0&&ot>0&&Q<=0&&kt<=0&&Xt>0?Y.rr=new P(J,H):gt<=0&&Mt>0&&ot<=0&&Q>=0&&kt<0&&Xt>=0?Y.rl=new P(J,H):gt>=0&&Mt<0&&ot>=0&&Q<=0&&kt>0&&Xt<=0&&(Y.lr=new P(J,H))}return Y}function yt(Z,dt){return!Z.every(function(ft){return!function ht(Z,dt){for(var ft=1,L=dt.length;ft0)return!0}return!1}},44976:(Rt,Tt,D)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var l=D(77840),k=D(45213),A=D(78551),G=function(){return function f(h,_,p){this.id=h,this.rect=_,this.children=p,this.leaf=typeof p>"u"||0===p.length}}();Tt.NodeWrapper=G;var t=function(){return function f(h,_,p,m,F){void 0===m&&(m=null),void 0===F&&(F=null),this.id=h,this.x=_,this.y=p,this.node=m,this.line=F}}();Tt.Vert=t;var C=function(){function f(h,_){this.s=h,this.t=_;var p=f.findMatch(h,_),m=_.slice(0).reverse(),F=f.findMatch(h,m);p.length>=F.length?(this.length=p.length,this.si=p.si,this.ti=p.ti,this.reversed=!1):(this.length=F.length,this.si=F.si,this.ti=_.length-F.ti-F.length,this.reversed=!0)}return f.findMatch=function(h,_){for(var p=h.length,m=_.length,F={length:0,si:-1,ti:-1},M=new Array(p),y=0;yF.length&&(F.length=I,F.si=y-I+1,F.ti=T-I+1)}else M[y][T]=0}return F},f.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},f}();Tt.LongestCommonSubsequence=C;var g=function(){function f(h,_,p){var m=this;void 0===p&&(p=12),this.originalnodes=h,this.groupPadding=p,this.leaves=null,this.nodes=h.map(function(z,nt){return new G(nt,_.getBounds(z),_.getChildren(z))}),this.leaves=this.nodes.filter(function(z){return z.leaf}),this.groups=this.nodes.filter(function(z){return!z.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(z){return z.children.forEach(function(nt){return m.nodes[nt].parent=z})}),this.root={children:[]},this.nodes.forEach(function(z){typeof z.parent>"u"&&(z.parent=m.root,m.root.children.push(z.id)),z.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(z,nt){return m.getDepth(z)-m.getDepth(nt)}),this.backToFront.slice(0).reverse().filter(function(z){return!z.leaf}).forEach(function(z){var nt=l.Rectangle.empty();z.children.forEach(function(it){return nt=nt.union(m.nodes[it].rect)}),z.rect=nt.inflate(m.groupPadding)});var M=this.midPoints(this.cols.map(function(z){return z.pos})),y=this.midPoints(this.rows.map(function(z){return z.pos})),T=M[0],I=M[M.length-1],O=y[0],S=y[y.length-1],B=this.rows.map(function(z){return{x1:T,x2:I,y1:z.pos,y2:z.pos}}).concat(y.map(function(z){return{x1:T,x2:I,y1:z,y2:z}})),P=this.cols.map(function(z){return{x1:z.pos,x2:z.pos,y1:O,y2:S}}).concat(M.map(function(z){return{x1:z,x2:z,y1:O,y2:S}})),U=B.concat(P);U.forEach(function(z){return z.verts=[]}),this.verts=[],this.edges=[],B.forEach(function(z){return P.forEach(function(nt){var it=new t(m.verts.length,nt.x1,z.y1);z.verts.push(it),nt.verts.push(it),m.verts.push(it);for(var rt=m.backToFront.length;rt-- >0;){var mt=m.backToFront[rt],lt=mt.rect,ht=Math.abs(it.x-lt.cx()),yt=Math.abs(it.y-lt.cy());if(ht0;){var m=p.filter(function(M){return M.rect["overlap"+h.toUpperCase()](p[0].rect)}),F={nodes:m,pos:this.avg(m.map(function(M){return M.rect["c"+h]()}))};_.push(F),F.nodes.forEach(function(M){return p.splice(p.indexOf(M),1)})}return _.sort(function(M,y){return M.pos-y.pos}),_},f.prototype.getDepth=function(h){for(var _=0;h.parent!==this.root;)_++,h=h.parent;return _},f.prototype.midPoints=function(h){for(var _=h[1]-h[0],p=[h[0]-_/2],m=1;m.1)&&O.push(S={pos:T[0][_],segments:[]}),S.segments.push(T)}return O},f.nudgeSegs=function(h,_,p,m,F,M){var y=m.length;if(!(y<=1)){for(var T=m.map(function(mt){return new k.Variable(mt[0][h])}),I=[],O=0;O=0&&I.push(new k.Constraint(T[nt],T[it],M))}new k.Solver(T,I).solve(),T.forEach(function(mt,lt){var ht=m[lt],yt=mt.position();ht[0][h]=ht[1][h]=yt;var wt=p[ht.edgeid];ht.i>0&&(wt[ht.i-1][1][h]=yt),ht.iMath.PI||F<-Math.PI)&&(F=m-p),F},f.isLeft=function(h,_,p){return(_.x-h.x)*(p.y-h.y)-(_.y-h.y)*(p.x-h.x)<=0},f.getOrder=function(h){for(var _={},p=0;p"u"&&(_[m.l]={}),_[m.l][m.r]=!0}return function(F,M){return typeof _[F]<"u"&&_[F][M]}},f.orderEdges=function(h){for(var _=[],p=0;p=F.length||y.ti+y.length>=M.length)){_.push({l:p,r:m});continue}y.si+y.length>=F.length||y.ti+y.length>=M.length?(T=F[y.si+1],O=F[y.si-1],I=M[y.ti-1]):(T=F[y.si+y.length-2],I=F[y.si+y.length],O=M[y.ti+y.length]),f.isLeft(T,I,O)?_.push({l:m,r:p}):_.push({l:p,r:m})}}return f.getOrder(_)},f.makeSegments=function(h){function _(I){return{x:I.x,y:I.y}}for(var m=[],F=_(h[0]),M=1;M1&&Z>1?1e3:0}).reverse().map(function(it){return p.verts[it]});return nt.push(this.nodes[F.id].ports[0]),nt.filter(function(it,rt){return!(rt0&&it.node===F&&nt[rt-1].node===F)})},f.getRoutePath=function(h,_,p,m){var y,T,I,wt,Z,F={routepath:"M "+h[0][0].x+" "+h[0][0].y+" ",arrowpath:""};if(h.length>1)for(var M=0;M0?T-=O/Math.abs(O)*_:I-=S/Math.abs(S)*_,F.routepath+="L "+T+" "+I+" ";var B=h[M+1],P=B[0].x,U=B[0].y;O=B[1].x-P,S=B[1].y-U;var rt,mt,it=f.angleBetween2Lines(y,B)<0?1:0;Math.abs(O)>0?(rt=P+O/Math.abs(O)*_,mt=U):(rt=P,mt=U+S/Math.abs(S)*_);var lt=Math.abs(rt-T),ht=Math.abs(mt-I);F.routepath+="A "+lt+" "+ht+" 0 0 "+it+" "+rt+" "+mt+" "}else{var yt=[T,I];Math.abs(O)>0?(wt=[T-=O/Math.abs(O)*m,I+p],Z=[T,I-p]):(wt=[T+p,I-=S/Math.abs(S)*m],Z=[T-p,I]),F.routepath+="L "+T+" "+I+" ",m>0&&(F.arrowpath="M "+yt[0]+" "+yt[1]+" L "+wt[0]+" "+wt[1]+" L "+Z[0]+" "+Z[1])}}else O=(T=(y=h[0])[1].x)-y[0].x,S=(I=y[1].y)-y[0].y,yt=[T,I],Math.abs(O)>0?(wt=[T-=O/Math.abs(O)*m,I+p],Z=[T,I-p]):(wt=[T+p,I-=S/Math.abs(S)*m],Z=[T-p,I]),F.routepath+="L "+T+" "+I+" ",m>0&&(F.arrowpath="M "+yt[0]+" "+yt[1]+" L "+wt[0]+" "+wt[1]+" L "+Z[0]+" "+Z[1]);return F},f}();Tt.GridRouter=g},6167:(Rt,Tt)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var D_GOLDEN_SECTION=(1+Math.sqrt(5))/2;Tt.applyPacking=function l(A,G,t,M,F,f){void 0===F&&(F=1),void 0===f&&(f=!0);var h=0,_=0,p=G,m=t,y=(F=typeof F<"u"?F:1,M=typeof M<"u"?M:0,0),T=0,I=0,O=0,S=[];function z(mt,lt){S=[],y=0,T=0,O=_;for(var ht=0;ht=mt.height&&S[yt].x+S[yt].width+mt.width+10-lt<=1e-4){ht=S[yt];break}S.push(mt),void 0!==ht?(mt.x=ht.x+ht.width+10,mt.y=ht.bottom,mt.space_left=mt.height,mt.bottom=mt.y,ht.space_left-=mt.height+10,ht.bottom+=mt.height+10):(mt.y=O,O+=mt.height+10,mt.x=h,mt.bottom=mt.y,mt.space_left=mt.height),mt.y+mt.height-T>-1e-4&&(T=mt.y+mt.height-_),mt.x+mt.width-y>-1e-4&&(y=mt.x+mt.width-h)}0!=A.length&&(function B(mt){mt.forEach(function(ht){!function lt(ht){var yt=Number.MAX_VALUE,wt=Number.MAX_VALUE,Z=0,dt=0;ht.array.forEach(function(ft){var L=typeof ft.width<"u"?ft.width:M,Y=typeof ft.height<"u"?ft.height:M;L/=2,Y/=2,Z=Math.max(ft.x+L,Z),yt=Math.min(ft.x-L,yt),dt=Math.max(ft.y+Y,dt),wt=Math.min(ft.y-Y,wt)}),ht.width=Z-yt,ht.height=dt-wt}(ht)})}(A),function U(mt,lt){var ht=Number.POSITIVE_INFINITY,yt=0;mt.sort(function(ut,_t){return _t.height-ut.height});for(var wt=K=I=mt.reduce(function(ut,_t){return ut.width<_t.width?ut.width:_t.width}),Z=tt=function it(mt){var lt=0;return mt.forEach(function(ht){return lt+=ht.width+10}),lt}(mt),dt=0,ft=Number.MAX_VALUE,L=Number.MAX_VALUE,Y=-1,J=Number.MAX_VALUE,H=Number.MAX_VALUE;J>I||H>1e-4;){if(1!=Y){var K=Z-(Z-wt)/D_GOLDEN_SECTION;ft=z(mt,K)}if(0!=Y){var tt=wt+(Z-wt)/D_GOLDEN_SECTION;L=z(mt,tt)}if(J=Math.abs(K-tt),H=Math.abs(ft-L),ftL?(wt=K,K=tt,ft=L,Y=1):(Z=tt,tt=K,L=ft,Y=0),dt++>100)break}z(mt,yt)}(A),f&&function P(mt){mt.forEach(function(lt){var ht={x:0,y:0};lt.array.forEach(function(Z){ht.x+=Z.x,ht.y+=Z.y}),ht.x/=lt.array.length,ht.y/=lt.array.length;var wt_x=lt.x-(ht.x-lt.width/2)+p/2-y/2,wt_y=lt.y-(ht.y-lt.height/2)+m/2-T/2;lt.array.forEach(function(Z){Z.x+=wt_x,Z.y+=wt_y})})}(A))},Tt.separateGraphs=function k(A,G){for(var t={},C={},g=[],f=0,h=0;h{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var f,p,l=D(74106),k=D(49524),A=D(65823),G=D(77840),t=D(78551),C=D(21133),g=D(6167);function h(p){return typeof p.leaves<"u"||typeof p.groups<"u"}(p=f=Tt.EventType||(Tt.EventType={}))[p.start=0]="start",p[p.tick=1]="tick",p[p.end=2]="end";var _=function(){function p(){var m=this;this._canvasSize=[1,1],this._linkDistance=20,this._defaultNodeSize=10,this._linkLengthCalculator=null,this._linkType=null,this._avoidOverlaps=!1,this._handleDisconnected=!0,this._running=!1,this._nodes=[],this._groups=[],this._rootGroup=null,this._links=[],this._constraints=[],this._distanceMatrix=null,this._descent=null,this._directedLinkConstraints=null,this._threshold=.01,this._visibilityGraph=null,this._groupCompactness=1e-6,this.event=null,this.linkAccessor={getSourceIndex:p.getSourceIndex,getTargetIndex:p.getTargetIndex,setLength:p.setLinkLength,getType:function(F){return"function"==typeof m._linkType?m._linkType(F):0}}}return p.prototype.on=function(m,F){return this.event||(this.event={}),"string"==typeof m?this.event[f[m]]=F:this.event[m]=F,this},p.prototype.trigger=function(m){this.event&&typeof this.event[m.type]<"u"&&this.event[m.type](m)},p.prototype.kick=function(){for(;!this.tick(););},p.prototype.tick=function(){if(this._alpha"u"||typeof M.py>"u")&&(M.px=M.x,M.py=M.y),this._descent.locks.add(y,[M.px,M.py]));var I=this._descent.rungeKutta();return 0===I?this._alpha=0:typeof this._lastStress<"u"&&(this._alpha=I),this._lastStress=I,this.updateNodePositions(),this.trigger({type:f.tick,alpha:this._alpha,stress:this._lastStress}),!1},p.prototype.updateNodePositions=function(){for(var M,m=this._descent.x[0],F=this._descent.x[1],y=this._nodes.length;y--;)(M=this._nodes[y]).x=m[y],M.y=F[y]},p.prototype.nodes=function(m){if(!m){if(0===this._nodes.length&&this._links.length>0){var F=0;this._links.forEach(function(y){F=Math.max(F,y.source,y.target)}),this._nodes=new Array(++F);for(var M=0;M"u"&&(M.padding=1),typeof M.leaves<"u"&&M.leaves.forEach(function(y,T){"number"==typeof y&&((M.leaves[T]=F._nodes[y]).parent=M)}),typeof M.groups<"u"&&M.groups.forEach(function(y,T){"number"==typeof y&&((M.groups[T]=F._groups[y]).parent=M)})}),this._rootGroup.leaves=this._nodes.filter(function(M){return typeof M.parent>"u"}),this._rootGroup.groups=this._groups.filter(function(M){return typeof M.parent>"u"}),this):this._groups},p.prototype.powerGraphGroups=function(m){var F=l.getGroups(this._nodes,this._links,this.linkAccessor,this._rootGroup);return this.groups(F.groups),m(F),this},p.prototype.avoidOverlaps=function(m){return arguments.length?(this._avoidOverlaps=m,this):this._avoidOverlaps},p.prototype.handleDisconnected=function(m){return arguments.length?(this._handleDisconnected=m,this):this._handleDisconnected},p.prototype.flowLayout=function(m,F){return arguments.length||(m="y"),this._directedLinkConstraints={axis:m,getMinSeparation:"number"==typeof F?function(){return F}:F},this},p.prototype.links=function(m){return arguments.length?(this._links=m,this):this._links},p.prototype.constraints=function(m){return arguments.length?(this._constraints=m,this):this._constraints},p.prototype.distanceMatrix=function(m){return arguments.length?(this._distanceMatrix=m,this):this._distanceMatrix},p.prototype.size=function(m){return m?(this._canvasSize=m,this):this._canvasSize},p.prototype.defaultNodeSize=function(m){return m?(this._defaultNodeSize=m,this):this._defaultNodeSize},p.prototype.groupCompactness=function(m){return m?(this._groupCompactness=m,this):this._groupCompactness},p.prototype.linkDistance=function(m){return m?(this._linkDistance="function"==typeof m?m:+m,this._linkLengthCalculator=null,this):this._linkDistance},p.prototype.linkType=function(m){return this._linkType=m,this},p.prototype.convergenceThreshold=function(m){return m?(this._threshold="function"==typeof m?m:+m,this):this._threshold},p.prototype.alpha=function(m){return arguments.length?(m=+m,this._alpha?this._alpha=m>0?m:0:m>0&&(this._running||(this._running=!0,this.trigger({type:f.start,alpha:this._alpha=m}),this.kick())),this):this._alpha},p.prototype.getLinkLength=function(m){return"function"==typeof this._linkDistance?+this._linkDistance(m):this._linkDistance},p.setLinkLength=function(m,F){m.length=F},p.prototype.getLinkType=function(m){return"function"==typeof this._linkType?this._linkType(m):0},p.prototype.symmetricDiffLinkLengths=function(m,F){var M=this;return void 0===F&&(F=1),this.linkDistance(function(y){return m*y.length}),this._linkLengthCalculator=function(){return k.symmetricDiffLinkLengths(M._links,M.linkAccessor,F)},this},p.prototype.jaccardLinkLengths=function(m,F){var M=this;return void 0===F&&(F=1),this.linkDistance(function(y){return m*y.length}),this._linkLengthCalculator=function(){return k.jaccardLinkLengths(M._links,M.linkAccessor,F)},this},p.prototype.start=function(m,F,M,y,T,I){var O=this;void 0===m&&(m=0),void 0===F&&(F=0),void 0===M&&(M=0),void 0===y&&(y=0),void 0===T&&(T=!0),void 0===I&&(I=!0);var yt,P=this.nodes().length,U=P+2*this._groups.length,nt=this._canvasSize[0],it=this._canvasSize[1],rt=new Array(U),mt=new Array(U),lt=null,ht=this._avoidOverlaps;this._nodes.forEach(function(J,H){J.index=H,typeof J.x>"u"&&(J.x=nt/2,J.y=it/2),rt[H]=J.x,mt[H]=J.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?yt=this._distanceMatrix:(yt=new t.Calculator(U,this._links,p.getSourceIndex,p.getTargetIndex,function(J){return O.getLinkLength(J)}).DistanceMatrix(),lt=A.Descent.createSquareMatrix(U,function(){return 2}),this._links.forEach(function(J){"number"==typeof J.source&&(J.source=O._nodes[J.source]),"number"==typeof J.target&&(J.target=O._nodes[J.target])}),this._links.forEach(function(J){var H=p.getSourceIndex(J),K=p.getTargetIndex(J);lt[H][K]=lt[K][H]=J.weight||1}));var wt=A.Descent.createSquareMatrix(U,function(J,H){return yt[J][H]});if(this._rootGroup&&typeof this._rootGroup.groups<"u"){var S=P;this._groups.forEach(function(H){(function(H,K,tt,ut){lt[H][K]=lt[K][H]=tt,wt[H][K]=wt[K][H]=.1})(S,S+1,O._groupCompactness),rt[S]=0,mt[S++]=0,rt[S]=0,mt[S++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var dt=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,dt=dt.concat(k.generateDirectedEdgeConstraints(P,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new A.Descent([rt,mt],wt),this._descent.locks.clear(),S=0;S0&&(this._descent.project=new G.Projection(this._nodes,this._groups,this._rootGroup,dt).projectFunctions()),this._descent.run(F),this.separateOverlappingComponents(nt,it,I),this.avoidOverlaps(ht),ht&&(this._nodes.forEach(function(J,H){J.x=rt[H],J.y=mt[H]}),this._descent.project=new G.Projection(this._nodes,this._groups,this._rootGroup,dt,!0).projectFunctions(),this._nodes.forEach(function(J,H){rt[H]=J.x,mt[H]=J.y})),this._descent.G=lt,this._descent.run(M),y){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=P,this._descent.scaleSnapByMaxH=P!=U;var Y=A.Descent.createSquareMatrix(U,function(J,H){return J>=P||H>=P?lt[J][H]:0});this._descent.G=Y,this._descent.run(y)}return this.updateNodePositions(),this.separateOverlappingComponents(nt,it,I),T?this.resume():this},p.prototype.initialLayout=function(m,F,M){if(this._groups.length>0&&m>0){var y=this._nodes.length,T=this._links.map(function(O){return{source:O.source.index,target:O.target.index}}),I=this._nodes.map(function(O){return{index:O.index}});this._groups.forEach(function(O,S){I.push({index:O.index=y+S})}),this._groups.forEach(function(O,S){typeof O.leaves<"u"&&O.leaves.forEach(function(B){return T.push({source:O.index,target:B.index})}),typeof O.groups<"u"&&O.groups.forEach(function(B){return T.push({source:O.index,target:B.index})})}),(new p).size(this.size()).nodes(I).links(T).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(m,0,0,0,!1),this._nodes.forEach(function(O){F[O.index]=I[O.index].x,M[O.index]=I[O.index].y})}else this._descent.run(m)},p.prototype.separateOverlappingComponents=function(m,F,M){var y=this;if(void 0===M&&(M=!0),!this._distanceMatrix&&this._handleDisconnected){var T=this._descent.x[0],I=this._descent.x[1];this._nodes.forEach(function(S,B){S.x=T[B],S.y=I[B]});var O=g.separateGraphs(this._nodes,this._links);g.applyPacking(O,m,F,this._defaultNodeSize,1,M),this._nodes.forEach(function(S,B){y._descent.x[0][B]=S.x,y._descent.x[1][B]=S.y,S.bounds&&(S.bounds.setXCentre(S.x),S.bounds.setYCentre(S.y))})}},p.prototype.resume=function(){return this.alpha(.1)},p.prototype.stop=function(){return this.alpha(0)},p.prototype.prepareEdgeRouting=function(m){void 0===m&&(m=0),this._visibilityGraph=new C.TangentVisibilityGraph(this._nodes.map(function(F){return F.bounds.inflate(-m).vertices()}))},p.prototype.routeEdge=function(m,F,M){void 0===F&&(F=5);var y=[],T=new C.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),I={x:m.source.x,y:m.source.y},O={x:m.target.x,y:m.target.y},S=T.addPoint(I,m.source.index),B=T.addPoint(O,m.target.index);T.addEdgeIfVisible(I,O,m.source.index,m.target.index),typeof M<"u"&&M(T);var it=new t.Calculator(T.V.length,T.E,function(wt){return wt.source.id},function(wt){return wt.target.id},function(wt){return wt.length()}).PathFromNodeToNode(S.id,B.id);if(1===it.length||it.length===T.V.length){var rt=G.makeEdgeBetween(m.source.innerBounds,m.target.innerBounds,F);y=[rt.sourceIntersection,rt.arrowStart]}else{for(var mt=it.length-2,lt=T.V[it[mt]].p,ht=T.V[it[0]].p,yt=(y=[m.source.innerBounds.rayIntersection(lt.x,lt.y)],mt);yt>=0;--yt)y.push(T.V[it[yt]].p);y.push(G.makeEdgeTo(ht,m.target.innerBounds,F))}return y},p.getSourceIndex=function(m){return"number"==typeof m.source?m.source:m.source.index},p.getTargetIndex=function(m){return"number"==typeof m.target?m.target:m.target.index},p.linkId=function(m){return p.getSourceIndex(m)+"-"+p.getTargetIndex(m)},p.dragStart=function(m){h(m)?p.storeOffset(m,p.dragOrigin(m)):(p.stopNode(m),m.fixed|=2)},p.stopNode=function(m){m.px=m.x,m.py=m.y},p.storeOffset=function(m,F){typeof m.leaves<"u"&&m.leaves.forEach(function(M){M.fixed|=2,p.stopNode(M),M._dragGroupOffsetX=M.x-F.x,M._dragGroupOffsetY=M.y-F.y}),typeof m.groups<"u"&&m.groups.forEach(function(M){return p.storeOffset(M,F)})},p.dragOrigin=function(m){return h(m)?{x:m.bounds.cx(),y:m.bounds.cy()}:m},p.drag=function(m,F){h(m)?(typeof m.leaves<"u"&&m.leaves.forEach(function(M){m.bounds.setXCentre(F.x),m.bounds.setYCentre(F.y),M.px=M._dragGroupOffsetX+F.x,M.py=M._dragGroupOffsetY+F.y}),typeof m.groups<"u"&&m.groups.forEach(function(M){return p.drag(M,F)})):(m.px=F.x,m.py=F.y)},p.dragEnd=function(m){h(m)?(typeof m.leaves<"u"&&m.leaves.forEach(function(F){p.dragEnd(F),delete F._dragGroupOffsetX,delete F._dragGroupOffsetY}),typeof m.groups<"u"&&m.groups.forEach(p.dragEnd)):m.fixed&=-7},p.mouseOver=function(m){m.fixed|=4,m.px=m.x,m.py=m.y},p.mouseOut=function(m){m.fixed&=-5},p}();Tt.Layout=_},8792:(Rt,Tt,D)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var l=D(78551),k=D(65823),A=D(77840),G=D(49524),t=function(){function h(_,p){this.source=_,this.target=p}return h.prototype.actualLength=function(_){var p=this;return Math.sqrt(_.reduce(function(m,F){var M=F[p.target]-F[p.source];return m+M*M},0))},h}();Tt.Link3D=t,Tt.Node3D=function(){return function h(_,p,m){void 0===_&&(_=0),void 0===p&&(p=0),void 0===m&&(m=0),this.x=_,this.y=p,this.z=m}}();var g=function(){function h(_,p,m){var F=this;void 0===m&&(m=1),this.nodes=_,this.links=p,this.idealLinkLength=m,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(h.k);for(var M=0;M"u"&&(y[S]=Math.random())}F.result[0][T]=y.x,F.result[1][T]=y.y,F.result[2][T]=y.z})}return h.prototype.linkLength=function(_){return _.actualLength(this.result)},h.prototype.start=function(_){var p=this;void 0===_&&(_=100);var m=this.nodes.length,F=new f;this.useJaccardLinkLengths&&G.jaccardLinkLengths(this.links,F,1.5),this.links.forEach(function(S){return S.length*=p.idealLinkLength});var M=new l.Calculator(m,this.links,function(S){return S.source},function(S){return S.target},function(S){return S.length}).DistanceMatrix(),y=k.Descent.createSquareMatrix(m,function(S,B){return M[S][B]}),T=k.Descent.createSquareMatrix(m,function(){return 2});this.links.forEach(function(S){var B=S.source,P=S.target;return T[B][P]=T[P][B]=1}),this.descent=new k.Descent(this.result,y),this.descent.threshold=.001,this.descent.G=T,this.constraints&&(this.descent.project=new A.Projection(this.nodes,null,null,this.constraints).projectFunctions());for(var I=0;I{"use strict";function D(f,h){var _={};for(var p in f)_[p]={};for(var p in h)_[p]={};return Object.keys(_).length}function l(f,h){var _=0;for(var p in f)typeof h[p]<"u"&&++_;return _}function A(f,h,_,p){var m=function k(f,h){var _={},p=function(m,F){typeof _[m]>"u"&&(_[m]={}),_[m][F]={}};return f.forEach(function(m){var F=h.getSourceIndex(m),M=h.getTargetIndex(m);p(F,M),p(M,F)}),_}(f,p);f.forEach(function(F){var M=m[p.getSourceIndex(F)],y=m[p.getTargetIndex(F)];p.setLength(F,1+h*_(M,y))})}function g(f,h,_){var p=[],m=0,F=[],M=[];function y(it){it.index=it.lowlink=m++,F.push(it),it.onStack=!0;for(var rt=0,mt=it.out;rt"u"?(y(lt),it.lowlink=Math.min(it.lowlink,lt.lowlink)):lt.onStack&&(it.lowlink=Math.min(it.lowlink,lt.index))}if(it.lowlink===it.index){for(var ht=[];F.length&&((lt=F.pop()).onStack=!1,ht.push(lt),lt!==it););M.push(ht.map(function(yt){return yt.id}))}}for(var T=0;T"u"&&y(nt)}return M}Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.symmetricDiffLinkLengths=function G(f,h,_){void 0===_&&(_=1),A(f,_,function(p,m){return Math.sqrt(D(p,m)-l(p,m))},h)},Tt.jaccardLinkLengths=function t(f,h,_){void 0===_&&(_=1),A(f,_,function(p,m){return Math.min(Object.keys(p).length,Object.keys(m).length)<1.1?0:l(p,m)/D(p,m)},h)},Tt.generateDirectedEdgeConstraints=function C(f,h,_,p){var m=g(f,h,p),F={};m.forEach(function(y,T){return y.forEach(function(I){return F[I]=T})});var M=[];return h.forEach(function(y){var T=p.getSourceIndex(y),I=p.getTargetIndex(y);F[T]!==F[I]&&M.push({axis:_,left:T,right:I,gap:p.getMinSeparation(y)})}),M},Tt.stronglyConnectedComponents=g},74106:(Rt,Tt)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var D=function(){return function h(_,p,m){this.source=_,this.target=p,this.type=m}}();Tt.PowerEdge=D;var l=function(){function h(_,p,m,F){var M=this;if(this.linkAccessor=m,this.modules=new Array(_),this.roots=[],F)this.initModulesFromGroup(F);else{this.roots.push(new t);for(var y=0;y<_;++y)this.roots[0].add(this.modules[y]=new A(y))}this.R=p.length,p.forEach(function(T){var I=M.modules[m.getSourceIndex(T)],O=M.modules[m.getTargetIndex(T)],S=m.getType(T);I.outgoing.add(S,O),O.incoming.add(S,I)})}return h.prototype.initModulesFromGroup=function(_){var p=new t;this.roots.push(p);for(var m=0;m<_.leaves.length;++m){var F=_.leaves[m],M=new A(F.id);this.modules[F.id]=M,p.add(M)}if(_.groups)for(var y=0;y<_.groups.length;++y){var T=_.groups[y],I={};for(var O in T)"leaves"!==O&&"groups"!==O&&T.hasOwnProperty(O)&&(I[O]=T[O]);p.add(new A(-1-y,new C,new C,this.initModulesFromGroup(T),I))}return p},h.prototype.merge=function(_,p,m){void 0===m&&(m=0);var F=_.incoming.intersection(p.incoming),M=_.outgoing.intersection(p.outgoing),y=new t;y.add(_),y.add(p);var T=new A(this.modules.length,M,F,y);this.modules.push(T);var I=function(O,S,B){O.forAll(function(P,U){P.forAll(function(z){var nt=z[S];nt.add(U,T),nt.remove(U,_),nt.remove(U,p),_[B].remove(U,z),p[B].remove(U,z)})})};return I(M,"incoming","outgoing"),I(F,"outgoing","incoming"),this.R-=F.count()+M.count(),this.roots[m].remove(_),this.roots[m].remove(p),this.roots[m].add(T),T},h.prototype.rootMerges=function(_){void 0===_&&(_=0);for(var p=this.roots[_].modules(),m=p.length,F=new Array(m*(m-1)),M=0,y=0,T=m-1;y=this.R))return this.merge(m.a,m.b,_),!0}},h.prototype.nEdges=function(_,p){var m=_.incoming.intersection(p.incoming),F=_.outgoing.intersection(p.outgoing);return this.R-m.count()-F.count()},h.prototype.getGroupHierarchy=function(_){var p=this,m=[];return k(this.roots[0],{},m),this.allEdges().forEach(function(y){var T=p.modules[y.source],I=p.modules[y.target];_.push(new D(typeof T.gid>"u"?y.source:m[T.gid],typeof I.gid>"u"?y.target:m[I.gid],y.type))}),m},h.prototype.allEdges=function(){var _=[];return h.getEdges(this.roots[0],_),_},h.getEdges=function(_,p){_.forAll(function(m){m.getEdges(p),h.getEdges(m.children,p)})},h}();function k(h,_,p){h.forAll(function(m){if(m.isLeaf())_.leaves||(_.leaves=[]),_.leaves.push(m.id);else{var F=_;if(m.gid=p.length,!m.isIsland()||m.isPredefined()){if(F={id:m.gid},m.isPredefined())for(var M in m.definition)F[M]=m.definition[M];_.groups||(_.groups=[]),_.groups.push(m.gid),p.push(F)}k(m.children,F,p)}})}Tt.Configuration=l;var A=function(){function h(_,p,m,F,M){void 0===p&&(p=new C),void 0===m&&(m=new C),void 0===F&&(F=new t),this.id=_,this.outgoing=p,this.incoming=m,this.children=F,this.definition=M}return h.prototype.getEdges=function(_){var p=this;this.outgoing.forAll(function(m,F){m.forAll(function(M){_.push(new D(p.id,M.id,F))})})},h.prototype.isLeaf=function(){return 0===this.children.count()},h.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},h.prototype.isPredefined=function(){return typeof this.definition<"u"},h}();Tt.Module=A;var t=function(){function h(){this.table={}}return h.prototype.count=function(){return Object.keys(this.table).length},h.prototype.intersection=function(_){var p=new h;return p.table=function G(h,_){var p={};for(var m in h)m in _&&(p[m]=h[m]);return p}(this.table,_.table),p},h.prototype.intersectionCount=function(_){return this.intersection(_).count()},h.prototype.contains=function(_){return _ in this.table},h.prototype.add=function(_){this.table[_.id]=_},h.prototype.remove=function(_){delete this.table[_.id]},h.prototype.forAll=function(_){for(var p in this.table)_(this.table[p])},h.prototype.modules=function(){var _=[];return this.forAll(function(p){p.isPredefined()||_.push(p)}),_},h}();Tt.ModuleSet=t;var C=function(){function h(){this.sets={},this.n=0}return h.prototype.count=function(){return this.n},h.prototype.contains=function(_){var p=!1;return this.forAllModules(function(m){!p&&m.id==_&&(p=!0)}),p},h.prototype.add=function(_,p){(_ in this.sets?this.sets[_]:this.sets[_]=new t).add(p),++this.n},h.prototype.remove=function(_,p){var m=this.sets[_];m.remove(p),0===m.count()&&delete this.sets[_],--this.n},h.prototype.forAll=function(_){for(var p in this.sets)_(this.sets[p],Number(p))},h.prototype.forAllModules=function(_){this.forAll(function(p,m){return p.forAll(_)})},h.prototype.intersection=function(_){var p=new h;return this.forAll(function(m,F){if(F in _.sets){var M=m.intersection(_.sets[F]),y=M.count();y>0&&(p.sets[F]=M,p.n+=y)}}),p},h}();Tt.LinkSets=C,Tt.getGroups=function f(h,_,p,m){for(var M=new l(h.length,_,p,m);M.greedyMerge(););var y=[],T=M.getGroupHierarchy(y);return y.forEach(function(I){var O=function(S){var B=I[S];"number"==typeof B&&(I[S]=h[B])};O("source"),O("target")}),{groups:T,powerEdges:y}}},71066:(Rt,Tt)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var D=function(){function k(A){this.elem=A,this.subheaps=[]}return k.prototype.toString=function(A){for(var G="",t=!1,C=0;C0)}return null}}return t.prototype.clear=function(){this._root=null,this.size=0},t.prototype.find=function(C){for(var g=this._root;null!==g;){var f=this._comparator(C,g.data);if(0===f)return g.data;g=g.get_child(f>0)}return null},t.prototype.lowerBound=function(C){return this._bound(C,this._comparator)},t.prototype.upperBound=function(C){var g=this._comparator;return this._bound(C,function f(h,_){return g(_,h)})},t.prototype.min=function(){var C=this._root;if(null===C)return null;for(;null!==C.left;)C=C.left;return C.data},t.prototype.max=function(){var C=this._root;if(null===C)return null;for(;null!==C.right;)C=C.right;return C.data},t.prototype.iterator=function(){return new k(this)},t.prototype.each=function(C){for(var f,g=this.iterator();null!==(f=g.next());)C(f)},t.prototype.reach=function(C){for(var f,g=this.iterator();null!==(f=g.prev());)C(f)},t.prototype._bound=function(C,g){for(var f=this._root,h=this.iterator();null!==f;){var _=this._comparator(C,f.data);if(0===_)return h._cursor=f,h;h._ancestors.push(f),f=f.get_child(_>0)}for(var p=h._ancestors.length-1;p>=0;--p)if(g(C,(f=h._ancestors[p]).data)>0)return h._cursor=f,h._ancestors.length=p,h;return h._ancestors.length=0,h},t}();Tt.TreeBase=l;var k=function(){function t(C){this._tree=C,this._ancestors=[],this._cursor=null}return t.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},t.prototype.next=function(){if(null===this._cursor){var C=this._tree._root;null!==C&&this._minNode(C)}else if(null===this._cursor.right){var g;do{if(g=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===g)}else this._ancestors.push(this._cursor),this._minNode(this._cursor.right);return null!==this._cursor?this._cursor.data:null},t.prototype.prev=function(){if(null===this._cursor){var C=this._tree._root;null!==C&&this._maxNode(C)}else if(null===this._cursor.left){var g;do{if(g=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===g)}else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left);return null!==this._cursor?this._cursor.data:null},t.prototype._minNode=function(C){for(;null!==C.left;)this._ancestors.push(C),C=C.left;this._cursor=C},t.prototype._maxNode=function(C){for(;null!==C.right;)this._ancestors.push(C),C=C.right;this._cursor=C},t}();Tt.Iterator=k;var A=function(){function t(C){this.data=C,this.left=null,this.right=null,this.red=!0}return t.prototype.get_child=function(C){return C?this.right:this.left},t.prototype.set_child=function(C,g){C?this.right=g:this.left=g},t}(),G=function(t){function C(g){var f=t.call(this)||this;return f._root=null,f._comparator=g,f.size=0,f}return D(C,t),C.prototype.insert=function(g){var f=!1;if(null===this._root)this._root=new A(g),f=!0,this.size++;else{var h=new A(void 0),_=!1,p=!1,m=null,F=h,M=null,y=this._root;for(F.right=this._root;;){if(null===y?(y=new A(g),M.set_child(_,y),f=!0,this.size++):C.is_red(y.left)&&C.is_red(y.right)&&(y.red=!0,y.left.red=!1,y.right.red=!1),C.is_red(y)&&C.is_red(M)){var T=F.right===m;y===M.get_child(p)?F.set_child(T,C.single_rotate(m,!p)):F.set_child(T,C.double_rotate(m,!p))}var I=this._comparator(y.data,g);if(0===I)break;p=_,null!==m&&(F=m),m=M,M=y,y=y.get_child(_=I<0)}this._root=h.right}return this._root.red=!1,f},C.prototype.remove=function(g){if(null===this._root)return!1;var f=new A(void 0),h=f;h.right=this._root;for(var _=null,p=null,m=null,F=!0;null!==h.get_child(F);){var M=F;p=_,_=h,h=h.get_child(F);var y=this._comparator(g,h.data);if(F=y>0,0===y&&(m=h),!C.is_red(h)&&!C.is_red(h.get_child(F)))if(C.is_red(h.get_child(!F))){var T=C.single_rotate(h,F);_.set_child(M,T),_=T}else if(!C.is_red(h.get_child(!F))){var I=_.get_child(!M);if(null!==I)if(C.is_red(I.get_child(!M))||C.is_red(I.get_child(M))){var O=p.right===_;C.is_red(I.get_child(M))?p.set_child(O,C.double_rotate(_,M)):C.is_red(I.get_child(!M))&&p.set_child(O,C.single_rotate(_,M));var S=p.get_child(O);S.red=!0,h.red=!0,S.left.red=!1,S.right.red=!1}else _.red=!1,I.red=!0,h.red=!0}}return null!==m&&(m.data=h.data,_.set_child(_.right===h,h.get_child(null===h.left)),this.size--),this._root=f.right,null!==this._root&&(this._root.red=!1),null!==m},C.is_red=function(g){return null!==g&&g.red},C.single_rotate=function(g,f){var h=g.get_child(!f);return g.set_child(!f,h.get_child(f)),h.set_child(f,g),g.red=!0,h.red=!1,h},C.double_rotate=function(g,f){return g.set_child(!f,C.single_rotate(g.get_child(!f),!f)),C.single_rotate(g,f)},C}(l);Tt.RBTree=G},77840:function(Rt,Tt,D){"use strict";var l=this&&this.__extends||function(){var it=function(rt,mt){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(lt,ht){lt.__proto__=ht}||function(lt,ht){for(var yt in ht)ht.hasOwnProperty(yt)&&(lt[yt]=ht[yt])})(rt,mt)};return function(rt,mt){function lt(){this.constructor=rt}it(rt,mt),rt.prototype=null===mt?Object.create(mt):(lt.prototype=mt.prototype,new lt)}}();Object.defineProperty(Tt,"__esModule",{value:!0});var k=D(45213),A=D(83733);function G(it){return it.bounds=typeof it.leaves<"u"?it.leaves.reduce(function(rt,mt){return mt.bounds.union(rt)},t.empty()):t.empty(),typeof it.groups<"u"&&(it.bounds=it.groups.reduce(function(rt,mt){return G(mt).union(rt)},it.bounds)),it.bounds=it.bounds.inflate(it.padding),it.bounds}Tt.computeGroupBounds=G;var t=function(){function it(rt,mt,lt,ht){this.x=rt,this.X=mt,this.y=lt,this.Y=ht}return it.empty=function(){return new it(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},it.prototype.cx=function(){return(this.x+this.X)/2},it.prototype.cy=function(){return(this.y+this.Y)/2},it.prototype.overlapX=function(rt){var mt=this.cx(),lt=rt.cx();return mt<=lt&&rt.x0?lt[0]:null},it.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},it.lineIntersection=function(rt,mt,lt,ht,yt,wt,Z,dt){var ft=lt-rt,L=Z-yt,Y=ht-mt,J=dt-wt,H=J*ft-L*Y;if(0==H)return null;var K=rt-yt,tt=mt-wt,_t=(L*tt-J*K)/H,Dt=(ft*tt-Y*K)/H;return _t>=0&&_t<=1&&Dt>=0&&Dt<=1?{x:rt+_t*ft,y:mt+_t*Y}:null},it.prototype.inflate=function(rt){return new it(this.x-rt,this.X+rt,this.y-rt,this.Y+rt)},it}();Tt.Rectangle=t,Tt.makeEdgeBetween=function C(it,rt,mt){var lt=it.rayIntersection(rt.cx(),rt.cy())||{x:it.cx(),y:it.cy()},ht=rt.rayIntersection(it.cx(),it.cy())||{x:rt.cx(),y:rt.cy()},yt=ht.x-lt.x,wt=ht.y-lt.y,Z=Math.sqrt(yt*yt+wt*wt),dt=Z-mt;return{sourceIntersection:lt,targetIntersection:ht,arrowStart:{x:lt.x+dt*yt/Z,y:lt.y+dt*wt/Z}}},Tt.makeEdgeTo=function g(it,rt,mt){var lt=rt.rayIntersection(it.x,it.y);lt||(lt={x:rt.cx(),y:rt.cy()});var ht=lt.x-it.x,yt=lt.y-it.y,wt=Math.sqrt(ht*ht+yt*yt);return{x:lt.x-mt*ht/wt,y:lt.y-mt*yt/wt}};var f=function(){return function it(rt,mt,lt){this.v=rt,this.r=mt,this.pos=lt,this.prev=p(),this.next=p()}}(),h=function(){return function it(rt,mt,lt){this.isOpen=rt,this.v=mt,this.pos=lt}}();function _(it,rt){return it.pos>rt.pos?1:it.pos0&&(it[lt].insert(yt),yt[ht].insert(it))};mt("next","prev"),mt("prev","next")}};function M(it,rt,mt,lt){void 0===lt&&(lt=!1);var ht=it.padding,yt=typeof it.groups<"u"?it.groups.length:0,wt=typeof it.leaves<"u"?it.leaves.length:0,Z=yt?it.groups.reduce(function(Mt,ot){return Mt.concat(M(ot,rt,mt,!0))},[]):[],dt=(lt?2:0)+wt+yt,ft=new Array(dt),L=new Array(dt),Y=0,J=function(Mt,ot){L[Y]=Mt,ft[Y++]=ot};if(lt){var H=it.bounds,K=rt.getCentre(H),tt=rt.getSize(H)/2,ut=rt.getOpen(H),_t=rt.getClose(H),xt=K-tt+ht/2,Dt=K+tt-ht/2;it.minVar.desiredPosition=xt,J(rt.makeRect(ut,_t,xt,ht),it.minVar),it.maxVar.desiredPosition=Dt,J(rt.makeRect(ut,_t,Dt,ht),it.maxVar)}wt&&it.leaves.forEach(function(Mt){return J(Mt.bounds,Mt.variable)}),yt&&it.groups.forEach(function(Mt){var ot=Mt.bounds;J(rt.makeRect(rt.getOpen(ot),rt.getClose(ot),rt.getCentre(ot),rt.getSize(ot)),Mt.minVar)});var gt=y(L,ft,rt,mt);return yt&&(ft.forEach(function(Mt){Mt.cOut=[],Mt.cIn=[]}),gt.forEach(function(Mt){Mt.left.cOut.push(Mt),Mt.right.cIn.push(Mt)}),it.groups.forEach(function(Mt){var ot=(Mt.padding-rt.getSize(Mt.bounds))/2;Mt.minVar.cIn.forEach(function(Q){return Q.gap+=ot}),Mt.minVar.cOut.forEach(function(Q){Q.left=Mt.maxVar,Q.gap+=ot})})),Z.concat(gt)}function y(it,rt,mt,lt){var ht,yt=it.length,wt=2*yt;console.assert(rt.length>=yt);var Z=new Array(wt);for(ht=0;htZ[lt]&&(Z[lt]=dt)}wt=Z})}},it.prototype.createAlignment=function(rt){var mt=this,lt=this.nodes[rt.offsets[0].node].variable;this.makeFeasible(rt);var ht="x"===rt.axis?this.xConstraints:this.yConstraints;rt.offsets.slice(1).forEach(function(yt){ht.push(new k.Constraint(lt,mt.nodes[yt.node].variable,yt.offset,!0))})},it.prototype.createConstraints=function(rt){var mt=this,lt=function(ht){return typeof ht.type>"u"||"separation"===ht.type};this.xConstraints=rt.filter(function(ht){return"x"===ht.axis&<(ht)}).map(function(ht){return mt.createSeparation(ht)}),this.yConstraints=rt.filter(function(ht){return"y"===ht.axis&<(ht)}).map(function(ht){return mt.createSeparation(ht)}),rt.filter(function(ht){return"alignment"===ht.type}).forEach(function(ht){return mt.createAlignment(ht)})},it.prototype.setupVariablesAndBounds=function(rt,mt,lt,ht){this.nodes.forEach(function(yt,wt){yt.fixed?(yt.variable.weight=yt.fixedWeight?yt.fixedWeight:1e3,lt[wt]=ht(yt)):yt.variable.weight=1;var Z=(yt.width||0)/2,dt=(yt.height||0)/2,ft=rt[wt],L=mt[wt];yt.bounds=new t(ft-Z,ft+Z,L-dt,L+dt)})},it.prototype.xProject=function(rt,mt,lt){!this.rootGroup&&!this.avoidOverlaps&&!this.xConstraints||this.project(rt,mt,rt,lt,function(ht){return ht.px},this.xConstraints,B,function(ht){return ht.bounds.setXCentre(lt[ht.variable.index]=ht.variable.position())},function(ht){var yt=lt[ht.minVar.index]=ht.minVar.position(),wt=lt[ht.maxVar.index]=ht.maxVar.position(),Z=ht.padding/2;ht.bounds.x=yt-Z,ht.bounds.X=wt+Z})},it.prototype.yProject=function(rt,mt,lt){!this.rootGroup&&!this.yConstraints||this.project(rt,mt,mt,lt,function(ht){return ht.py},this.yConstraints,P,function(ht){return ht.bounds.setYCentre(lt[ht.variable.index]=ht.variable.position())},function(ht){var yt=lt[ht.minVar.index]=ht.minVar.position(),wt=lt[ht.maxVar.index]=ht.maxVar.position(),Z=ht.padding/2;ht.bounds.y=yt-Z,ht.bounds.Y=wt+Z})},it.prototype.projectFunctions=function(){var rt=this;return[function(mt,lt,ht){return rt.xProject(mt,lt,ht)},function(mt,lt,ht){return rt.yProject(mt,lt,ht)}]},it.prototype.project=function(rt,mt,lt,ht,yt,wt,Z,dt,ft){this.setupVariablesAndBounds(rt,mt,ht,yt),this.rootGroup&&this.avoidOverlaps&&(G(this.rootGroup),wt=wt.concat(Z(this.rootGroup))),this.solve(this.variables,wt,lt,ht),this.nodes.forEach(dt),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(ft),G(this.rootGroup))},it.prototype.solve=function(rt,mt,lt,ht){var yt=new k.Solver(rt,mt);yt.setStartingPositions(lt),yt.setDesiredPositions(ht),yt.solve()},it}();Tt.Projection=nt},78551:(Rt,Tt,D)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var l=D(71066),k=function(){return function C(g,f){this.id=g,this.distance=f}}(),A=function(){return function C(g){this.id=g,this.neighbours=[]}}(),G=function(){return function C(g,f,h){this.node=g,this.prev=f,this.d=h}}(),t=function(){function C(g,f,h,_,p){this.n=g,this.es=f,this.neighbours=new Array(this.n);for(var m=this.n;m--;)this.neighbours[m]=new A(m);for(m=this.es.length;m--;){var F=this.es[m],M=h(F),y=_(F),T=p(F);this.neighbours[M].neighbours.push(new k(y,T)),this.neighbours[y].neighbours.push(new k(M,T))}}return C.prototype.DistanceMatrix=function(){for(var g=new Array(this.n),f=0;fI&&(y.d=I,y.prev=F,h.reduceKey(y.q,y,function(S,B){return S.q=B}))}}return p},C}();Tt.Calculator=t},45213:(Rt,Tt)=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var D=function(){function g(f){this.scale=f,this.AB=0,this.AD=0,this.A2=0}return g.prototype.addVariable=function(f){var h=this.scale/f.scale,p=f.weight;this.AB+=p*h*(f.offset/f.scale),this.AD+=p*h*f.desiredPosition,this.A2+=p*h*h},g.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},g}();Tt.PositionStats=D;var l=function(){function g(f,h,_,p){void 0===p&&(p=!1),this.left=f,this.right=h,this.gap=_,this.equality=p,this.active=!1,this.unsatisfiable=!1,this.left=f,this.right=h,this.gap=_,this.equality=p}return g.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},g}();Tt.Constraint=l;var k=function(){function g(f,h,_){void 0===h&&(h=1),void 0===_&&(_=1),this.desiredPosition=f,this.weight=h,this.scale=_,this.offset=0}return g.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},g.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},g.prototype.visitNeighbours=function(f,h){var _=function(p,m){return p.active&&f!==m&&h(p,m)};this.cOut.forEach(function(p){return _(p,p.right)}),this.cIn.forEach(function(p){return _(p,p.left)})},g}();Tt.Variable=k;var A=function(){function g(f){this.vars=[],f.offset=0,this.ps=new D(f.scale),this.addVariable(f)}return g.prototype.addVariable=function(f){f.block=this,this.vars.push(f),this.ps.addVariable(f),this.posn=this.ps.getPosn()},g.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var f=0,h=this.vars.length;f=0?this.inactive.push(f):this.bs.merge(f)}}},g.prototype.solve=function(){this.satisfy();for(var f=Number.MAX_VALUE,h=this.bs.cost();Math.abs(f-h)>1e-4;)this.satisfy(),f=h,h=this.bs.cost();return h},g.LAGRANGIAN_TOLERANCE=-1e-4,g.ZERO_UPPERBOUND=-1e-10,g}();Tt.Solver=t,Tt.removeOverlapInOneDimension=function C(g,f,h){for(var _=g.map(function(z){return new k(z.desiredCenter)}),p=[],m=g.length,F=0;F{var l={"./af":11544,"./af.js":11544,"./ar":33108,"./ar-dz":52155,"./ar-dz.js":52155,"./ar-kw":53583,"./ar-kw.js":53583,"./ar-ly":41638,"./ar-ly.js":41638,"./ar-ma":87823,"./ar-ma.js":87823,"./ar-ps":7712,"./ar-ps.js":7712,"./ar-sa":78261,"./ar-sa.js":78261,"./ar-tn":56703,"./ar-tn.js":56703,"./ar.js":33108,"./az":46508,"./az.js":46508,"./be":16766,"./be.js":16766,"./bg":28564,"./bg.js":28564,"./bm":97462,"./bm.js":97462,"./bn":17107,"./bn-bd":43438,"./bn-bd.js":43438,"./bn.js":17107,"./bo":9004,"./bo.js":9004,"./br":50927,"./br.js":50927,"./bs":87768,"./bs.js":87768,"./ca":56291,"./ca.js":56291,"./cs":85301,"./cs.js":85301,"./cv":66666,"./cv.js":66666,"./cy":55163,"./cy.js":55163,"./da":87360,"./da.js":87360,"./de":45932,"./de-at":43248,"./de-at.js":43248,"./de-ch":83222,"./de-ch.js":83222,"./de.js":45932,"./dv":6405,"./dv.js":6405,"./el":60718,"./el.js":60718,"./en-au":36319,"./en-au.js":36319,"./en-ca":80597,"./en-ca.js":80597,"./en-gb":51800,"./en-gb.js":51800,"./en-ie":807,"./en-ie.js":807,"./en-il":95960,"./en-il.js":95960,"./en-in":84418,"./en-in.js":84418,"./en-nz":46865,"./en-nz.js":46865,"./en-sg":32647,"./en-sg.js":32647,"./eo":61931,"./eo.js":61931,"./es":46679,"./es-do":41805,"./es-do.js":41805,"./es-mx":83445,"./es-mx.js":83445,"./es-us":81516,"./es-us.js":81516,"./es.js":46679,"./et":88150,"./et.js":88150,"./eu":80757,"./eu.js":80757,"./fa":65742,"./fa.js":65742,"./fi":33958,"./fi.js":33958,"./fil":46720,"./fil.js":46720,"./fo":98352,"./fo.js":98352,"./fr":4059,"./fr-ca":42096,"./fr-ca.js":42096,"./fr-ch":95759,"./fr-ch.js":95759,"./fr.js":4059,"./fy":15958,"./fy.js":15958,"./ga":94143,"./ga.js":94143,"./gd":67028,"./gd.js":67028,"./gl":80428,"./gl.js":80428,"./gom-deva":76861,"./gom-deva.js":76861,"./gom-latn":57718,"./gom-latn.js":57718,"./gu":26827,"./gu.js":26827,"./he":21936,"./he.js":21936,"./hi":31332,"./hi.js":31332,"./hr":91957,"./hr.js":91957,"./hu":48928,"./hu.js":48928,"./hy-am":56215,"./hy-am.js":56215,"./id":586,"./id.js":586,"./is":90211,"./is.js":90211,"./it":70170,"./it-ch":22340,"./it-ch.js":22340,"./it.js":70170,"./ja":39770,"./ja.js":39770,"./jv":73875,"./jv.js":73875,"./ka":79499,"./ka.js":79499,"./kk":93573,"./kk.js":93573,"./km":68807,"./km.js":68807,"./kn":65082,"./kn.js":65082,"./ko":20137,"./ko.js":20137,"./ku":70111,"./ku-kmr":63744,"./ku-kmr.js":63744,"./ku.js":70111,"./ky":99187,"./ky.js":99187,"./lb":35969,"./lb.js":35969,"./lo":33526,"./lo.js":33526,"./lt":90411,"./lt.js":90411,"./lv":32621,"./lv.js":32621,"./me":85869,"./me.js":85869,"./mi":35881,"./mi.js":35881,"./mk":92391,"./mk.js":92391,"./ml":21126,"./ml.js":21126,"./mn":44892,"./mn.js":44892,"./mr":59080,"./mr.js":59080,"./ms":70399,"./ms-my":25950,"./ms-my.js":25950,"./ms.js":70399,"./mt":79902,"./mt.js":79902,"./my":72985,"./my.js":72985,"./nb":67859,"./nb.js":67859,"./ne":13642,"./ne.js":13642,"./nl":65441,"./nl-be":99875,"./nl-be.js":99875,"./nl.js":65441,"./nn":81311,"./nn.js":81311,"./oc-lnc":72567,"./oc-lnc.js":72567,"./pa-in":56962,"./pa-in.js":56962,"./pl":61063,"./pl.js":61063,"./pt":78719,"./pt-br":97476,"./pt-br.js":97476,"./pt.js":78719,"./ro":51004,"./ro.js":51004,"./ru":51326,"./ru.js":51326,"./sd":72608,"./sd.js":72608,"./se":13911,"./se.js":13911,"./si":25147,"./si.js":25147,"./sk":23741,"./sk.js":23741,"./sl":93e3,"./sl.js":93e3,"./sq":60451,"./sq.js":60451,"./sr":55046,"./sr-cyrl":40905,"./sr-cyrl.js":40905,"./sr.js":55046,"./ss":85765,"./ss.js":85765,"./sv":99290,"./sv.js":99290,"./sw":53449,"./sw.js":53449,"./ta":72688,"./ta.js":72688,"./te":32060,"./te.js":32060,"./tet":93290,"./tet.js":93290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":49040,"./tl-ph.js":49040,"./tlh":17187,"./tlh.js":17187,"./tr":60153,"./tr.js":60153,"./tzl":88521,"./tzl.js":88521,"./tzm":18010,"./tzm-latn":22234,"./tzm-latn.js":22234,"./tzm.js":18010,"./ug-cn":63349,"./ug-cn.js":63349,"./uk":68479,"./uk.js":68479,"./ur":43024,"./ur.js":43024,"./uz":19800,"./uz-latn":72376,"./uz-latn.js":72376,"./uz.js":19800,"./vi":89366,"./vi.js":89366,"./x-pseudo":69702,"./x-pseudo.js":69702,"./yo":72655,"./yo.js":72655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":18351,"./zh-hk.js":18351,"./zh-mo":51626,"./zh-mo.js":51626,"./zh-tw":8887,"./zh-tw.js":8887};function k(G){var t=A(G);return D(t)}function A(G){if(!D.o(l,G)){var t=new Error("Cannot find module '"+G+"'");throw t.code="MODULE_NOT_FOUND",t}return l[G]}k.keys=function(){return Object.keys(l)},k.resolve=A,Rt.exports=k,k.id=35358},25172:Rt=>{Rt.exports=function Tt(D,l){this.v=D,this.k=l},Rt.exports.__esModule=!0,Rt.exports.default=Rt.exports},82881:Rt=>{function D(l){function k(A){if(Object(A)!==A)return Promise.reject(new TypeError(A+" is not an object."));var G=A.done;return Promise.resolve(A.value).then(function(t){return{value:t,done:G}})}return(D=function(G){this.s=G,this.n=G.next}).prototype={s:null,n:null,next:function(){return k(this.n.apply(this.s,arguments))},return:function(G){var t=this.s.return;return void 0===t?Promise.resolve({value:G,done:!0}):k(t.apply(this.s,arguments))},throw:function(G){var t=this.s.return;return void 0===t?Promise.reject(G):k(t.apply(this.s,arguments))}},new D(l)}Rt.exports=function Tt(l){var k,A,G,t=2;for(typeof Symbol<"u"&&(A=Symbol.asyncIterator,G=Symbol.iterator);t--;){if(A&&null!=(k=l[A]))return k.call(l);if(G&&null!=(k=l[G]))return new D(k.call(l));A="@@asyncIterator",G="@@iterator"}throw new TypeError("Object is not async iterable")},Rt.exports.__esModule=!0,Rt.exports.default=Rt.exports},29293:Rt=>{function Tt(l,k,A,G,t,C,g){try{var f=l[C](g),h=f.value}catch(_){return void A(_)}f.done?k(h):Promise.resolve(h).then(G,t)}Rt.exports=function D(l){return function(){var k=this,A=arguments;return new Promise(function(G,t){var C=l.apply(k,A);function g(h){Tt(C,G,t,g,f,"next",h)}function f(h){Tt(C,G,t,g,f,"throw",h)}g(void 0)})}},Rt.exports.__esModule=!0,Rt.exports.default=Rt.exports},53344:(Rt,Tt,D)=>{var l=D(25172);Rt.exports=function k(A){return new l(A,0)},Rt.exports.__esModule=!0,Rt.exports.default=Rt.exports},42958:(Rt,Tt,D)=>{var l=D(25172);function A(G){var t,C;function g(h,_){try{var p=G[h](_),m=p.value,F=m instanceof l;Promise.resolve(F?m.v:m).then(function(M){if(F){var y="return"===h?"return":"next";if(!m.k||M.done)return g(y,M);M=G[y](M).value}f(p.done?"return":"normal",M)},function(M){g("throw",M)})}catch(M){f("throw",M)}}function f(h,_){switch(h){case"return":t.resolve({value:_,done:!0});break;case"throw":t.reject(_);break;default:t.resolve({value:_,done:!1})}(t=t.next)?g(t.key,t.arg):C=null}this._invoke=function(h,_){return new Promise(function(p,m){var F={key:h,arg:_,resolve:p,reject:m,next:null};C?C=C.next=F:(t=C=F,g(h,_))})},"function"!=typeof G.return&&(this.return=void 0)}A.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},A.prototype.next=function(G){return this._invoke("next",G)},A.prototype.throw=function(G){return this._invoke("throw",G)},A.prototype.return=function(G){return this._invoke("return",G)},Rt.exports=function k(G){return function(){return new A(G.apply(this,arguments))}},Rt.exports.__esModule=!0,Rt.exports.default=Rt.exports},49969:(Rt,Tt,D)=>{"use strict";D.d(Tt,{FX:()=>rt,If:()=>l,K2:()=>C,MA:()=>m,Os:()=>t,P:()=>M,hZ:()=>A,i0:()=>G,i7:()=>h,iF:()=>g,kY:()=>_,kp:()=>k,sf:()=>nt,ui:()=>it,wk:()=>f});var l=function(mt){return mt[mt.State=0]="State",mt[mt.Transition=1]="Transition",mt[mt.Sequence=2]="Sequence",mt[mt.Group=3]="Group",mt[mt.Animate=4]="Animate",mt[mt.Keyframes=5]="Keyframes",mt[mt.Style=6]="Style",mt[mt.Trigger=7]="Trigger",mt[mt.Reference=8]="Reference",mt[mt.AnimateChild=9]="AnimateChild",mt[mt.AnimateRef=10]="AnimateRef",mt[mt.Query=11]="Query",mt[mt.Stagger=12]="Stagger",mt}(l||{});const k="*";function A(mt,lt){return{type:l.Trigger,name:mt,definitions:lt,options:{}}}function G(mt,lt=null){return{type:l.Animate,styles:lt,timings:mt}}function t(mt,lt=null){return{type:l.Group,steps:mt,options:lt}}function C(mt,lt=null){return{type:l.Sequence,steps:mt,options:lt}}function g(mt){return{type:l.Style,styles:mt,offset:null}}function f(mt,lt,ht){return{type:l.State,name:mt,styles:lt,options:ht}}function h(mt){return{type:l.Keyframes,steps:mt}}function _(mt,lt,ht=null){return{type:l.Transition,expr:mt,animation:lt,options:ht}}function m(mt=null){return{type:l.AnimateChild,options:mt}}function M(mt,lt,ht=null){return{type:l.Query,selector:mt,animation:lt,options:ht}}class nt{constructor(lt=0,ht=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=lt+ht}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(lt=>lt()),this._onDoneFns=[])}onStart(lt){this._originalOnStartFns.push(lt),this._onStartFns.push(lt)}onDone(lt){this._originalOnDoneFns.push(lt),this._onDoneFns.push(lt)}onDestroy(lt){this._onDestroyFns.push(lt)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(lt=>lt()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(lt=>lt()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(lt){this._position=this.totalTime?lt*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(lt){const ht="start"==lt?this._onStartFns:this._onDoneFns;ht.forEach(yt=>yt()),ht.length=0}}class it{constructor(lt){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=lt;let ht=0,yt=0,wt=0;const Z=this.players.length;0==Z?queueMicrotask(()=>this._onFinish()):this.players.forEach(dt=>{dt.onDone(()=>{++ht==Z&&this._onFinish()}),dt.onDestroy(()=>{++yt==Z&&this._onDestroy()}),dt.onStart(()=>{++wt==Z&&this._onStart()})}),this.totalTime=this.players.reduce((dt,ft)=>Math.max(dt,ft.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(lt=>lt()),this._onDoneFns=[])}init(){this.players.forEach(lt=>lt.init())}onStart(lt){this._onStartFns.push(lt)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(lt=>lt()),this._onStartFns=[])}onDone(lt){this._onDoneFns.push(lt)}onDestroy(lt){this._onDestroyFns.push(lt)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(lt=>lt.play())}pause(){this.players.forEach(lt=>lt.pause())}restart(){this.players.forEach(lt=>lt.restart())}finish(){this._onFinish(),this.players.forEach(lt=>lt.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(lt=>lt.destroy()),this._onDestroyFns.forEach(lt=>lt()),this._onDestroyFns=[])}reset(){this.players.forEach(lt=>lt.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(lt){const ht=lt*this.totalTime;this.players.forEach(yt=>{const wt=yt.totalTime?Math.min(1,ht/yt.totalTime):1;yt.setPosition(wt)})}getPosition(){const lt=this.players.reduce((ht,yt)=>null===ht||yt.totalTime>ht.totalTime?yt:ht,null);return null!=lt?lt.getPosition():0}beforeDestroy(){this.players.forEach(lt=>{lt.beforeDestroy&<.beforeDestroy()})}triggerCallback(lt){const ht="start"==lt?this._onStartFns:this._onDoneFns;ht.forEach(yt=>yt()),ht.length=0}}const rt="!"},18617:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Ae:()=>U,Ai:()=>Le,Au:()=>Z,Bu:()=>dt,FN:()=>mi,GX:()=>kt,Pd:()=>We,Q_:()=>Ii,Z7:()=>L,_G:()=>Jt,kB:()=>Xt,px:()=>P,vR:()=>ui,vr:()=>lt,w6:()=>se});var l=D(60177),k=D(54438),A=D(36860),G=D(21413),t=D(18359),C=D(84412),g=D(7673),f=D(67336),h=D(88141),_=D(70152),p=D(5964),m=D(96354),F=D(96697),M=D(65245),y=D(23294),T=D(56977),I=D(72318),O=D(14085),S=D(99327);const B=" ";function P(pe,Te,Ht){const te=z(pe,Te);Ht=Ht.trim(),!te.some(Oe=>Oe.trim()===Ht)&&(te.push(Ht),pe.setAttribute(Te,te.join(B)))}function U(pe,Te,Ht){const te=z(pe,Te);Ht=Ht.trim();const Oe=te.filter(nn=>nn!==Ht);Oe.length?pe.setAttribute(Te,Oe.join(B)):pe.removeAttribute(Te)}function z(pe,Te){return pe.getAttribute(Te)?.match(/\S+/g)??[]}const it="cdk-describedby-message",rt="cdk-describedby-host";let mt=0,lt=(()=>{class pe{constructor(Ht,te){this._platform=te,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+mt++,this._document=Ht,this._id=(0,k.WQX)(k.sZ2)+"-"+mt++}describe(Ht,te,Oe){if(!this._canBeDescribed(Ht,te))return;const nn=ht(te,Oe);"string"!=typeof te?(yt(te,this._id),this._messageRegistry.set(nn,{messageElement:te,referenceCount:0})):this._messageRegistry.has(nn)||this._createMessageElement(te,Oe),this._isElementDescribedByMessage(Ht,nn)||this._addMessageReference(Ht,nn)}removeDescription(Ht,te,Oe){if(!te||!this._isElementNode(Ht))return;const nn=ht(te,Oe);if(this._isElementDescribedByMessage(Ht,nn)&&this._removeMessageReference(Ht,nn),"string"==typeof te){const qn=this._messageRegistry.get(nn);qn&&0===qn.referenceCount&&this._deleteMessageElement(nn)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ht=this._document.querySelectorAll(`[${rt}="${this._id}"]`);for(let te=0;te0!=Oe.indexOf(it));Ht.setAttribute("aria-describedby",te.join(" "))}_addMessageReference(Ht,te){const Oe=this._messageRegistry.get(te);P(Ht,"aria-describedby",Oe.messageElement.id),Ht.setAttribute(rt,this._id),Oe.referenceCount++}_removeMessageReference(Ht,te){const Oe=this._messageRegistry.get(te);Oe.referenceCount--,U(Ht,"aria-describedby",Oe.messageElement.id),Ht.removeAttribute(rt)}_isElementDescribedByMessage(Ht,te){const Oe=z(Ht,"aria-describedby"),nn=this._messageRegistry.get(te),qn=nn&&nn.messageElement.id;return!!qn&&-1!=Oe.indexOf(qn)}_canBeDescribed(Ht,te){if(!this._isElementNode(Ht))return!1;if(te&&"object"==typeof te)return!0;const Oe=null==te?"":`${te}`.trim(),nn=Ht.getAttribute("aria-label");return!(!Oe||nn&&nn.trim()===Oe)}_isElementNode(Ht){return Ht.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(te){return new(te||pe)(k.KVO(l.qQ),k.KVO(A.OD))}}static{this.\u0275prov=k.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})();function ht(pe,Te){return"string"==typeof pe?`${Te||""}/${pe}`:pe}function yt(pe,Te){pe.id||(pe.id=`${it}-${Te}-${mt++}`)}class wt{constructor(Te,Ht){this._items=Te,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new G.B,this._typeaheadSubscription=t.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=te=>te.disabled,this._pressedLetters=[],this.tabOut=new G.B,this.change=new G.B,Te instanceof k.rOR?this._itemChangesSubscription=Te.changes.subscribe(te=>this._itemsChanged(te.toArray())):(0,k.Hps)(Te)&&(this._effectRef=(0,k.QZP)(()=>this._itemsChanged(Te()),{injector:Ht}))}skipPredicate(Te){return this._skipPredicateFn=Te,this}withWrap(Te=!0){return this._wrap=Te,this}withVerticalOrientation(Te=!0){return this._vertical=Te,this}withHorizontalOrientation(Te){return this._horizontal=Te,this}withAllowedModifierKeys(Te){return this._allowedModifierKeys=Te,this}withTypeAhead(Te=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,h.M)(Ht=>this._pressedLetters.push(Ht)),(0,_.B)(Te),(0,p.p)(()=>this._pressedLetters.length>0),(0,m.T)(()=>this._pressedLetters.join(""))).subscribe(Ht=>{const te=this._getItemsArray();for(let Oe=1;Oe!Te[nn]||this._allowedModifierKeys.indexOf(nn)>-1);switch(Ht){case f.wn:return void this.tabOut.next();case f.n6:if(this._vertical&&Oe){this.setNextItemActive();break}return;case f.i7:if(this._vertical&&Oe){this.setPreviousItemActive();break}return;case f.LE:if(this._horizontal&&Oe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.UQ:if(this._horizontal&&Oe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.yZ:if(this._homeAndEnd&&Oe){this.setFirstItemActive();break}return;case f.Kp:if(this._homeAndEnd&&Oe){this.setLastItemActive();break}return;case f.w_:if(this._pageUpAndDown.enabled&&Oe){const nn=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(nn>0?nn:0,1);break}return;case f.dB:if(this._pageUpAndDown.enabled&&Oe){const nn=this._activeItemIndex+this._pageUpAndDown.delta,qn=this._getItemsArray().length;this._setActiveItemByIndex(nn=f.A&&Ht<=f.Z||Ht>=f.f2&&Ht<=f.bn)&&this._letterKeyStream.next(String.fromCharCode(Ht))))}this._pressedLetters=[],Te.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._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Te){const Ht=this._getItemsArray(),te="number"==typeof Te?Te:Ht.indexOf(Te);this._activeItem=Ht[te]??null,this._activeItemIndex=te}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Te){this._wrap?this._setActiveInWrapMode(Te):this._setActiveInDefaultMode(Te)}_setActiveInWrapMode(Te){const Ht=this._getItemsArray();for(let te=1;te<=Ht.length;te++){const Oe=(this._activeItemIndex+Te*te+Ht.length)%Ht.length;if(!this._skipPredicateFn(Ht[Oe]))return void this.setActiveItem(Oe)}}_setActiveInDefaultMode(Te){this._setActiveItemByIndex(this._activeItemIndex+Te,Te)}_setActiveItemByIndex(Te,Ht){const te=this._getItemsArray();if(te[Te]){for(;this._skipPredicateFn(te[Te]);)if(!te[Te+=Ht])return;this.setActiveItem(Te)}}_getItemsArray(){return(0,k.Hps)(this._items)?this._items():this._items instanceof k.rOR?this._items.toArray():this._items}_itemsChanged(Te){if(this._activeItem){const Ht=Te.indexOf(this._activeItem);Ht>-1&&Ht!==this._activeItemIndex&&(this._activeItemIndex=Ht)}}}class Z extends wt{setActiveItem(Te){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Te),this.activeItem&&this.activeItem.setActiveStyles()}}class dt extends wt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Te){return this._origin=Te,this}setActiveItem(Te){super.setActiveItem(Te),this.activeItem&&this.activeItem.focus(this._origin)}}let L=(()=>{class pe{constructor(Ht){this._platform=Ht}isDisabled(Ht){return Ht.hasAttribute("disabled")}isVisible(Ht){return function J(pe){return!!(pe.offsetWidth||pe.offsetHeight||"function"==typeof pe.getClientRects&&pe.getClientRects().length)}(Ht)&&"visible"===getComputedStyle(Ht).visibility}isTabbable(Ht){if(!this._platform.isBrowser)return!1;const te=function Y(pe){try{return pe.frameElement}catch{return null}}(function ot(pe){return pe.ownerDocument&&pe.ownerDocument.defaultView||window}(Ht));if(te&&(-1===Dt(te)||!this.isVisible(te)))return!1;let Oe=Ht.nodeName.toLowerCase(),nn=Dt(Ht);return Ht.hasAttribute("contenteditable")?-1!==nn:!("iframe"===Oe||"object"===Oe||this._platform.WEBKIT&&this._platform.IOS&&!function gt(pe){let Te=pe.nodeName.toLowerCase(),Ht="input"===Te&&pe.type;return"text"===Ht||"password"===Ht||"select"===Te||"textarea"===Te}(Ht))&&("audio"===Oe?!!Ht.hasAttribute("controls")&&-1!==nn:"video"===Oe?-1!==nn&&(null!==nn||this._platform.FIREFOX||Ht.hasAttribute("controls")):Ht.tabIndex>=0)}isFocusable(Ht,te){return function Mt(pe){return!function K(pe){return function ut(pe){return"input"==pe.nodeName.toLowerCase()}(pe)&&"hidden"==pe.type}(pe)&&(function H(pe){let Te=pe.nodeName.toLowerCase();return"input"===Te||"select"===Te||"button"===Te||"textarea"===Te}(pe)||function tt(pe){return function _t(pe){return"a"==pe.nodeName.toLowerCase()}(pe)&&pe.hasAttribute("href")}(pe)||pe.hasAttribute("contenteditable")||xt(pe))}(Ht)&&!this.isDisabled(Ht)&&(te?.ignoreVisibility||this.isVisible(Ht))}static{this.\u0275fac=function(te){return new(te||pe)(k.KVO(A.OD))}}static{this.\u0275prov=k.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})();function xt(pe){if(!pe.hasAttribute("tabindex")||void 0===pe.tabIndex)return!1;let Te=pe.getAttribute("tabindex");return!(!Te||isNaN(parseInt(Te,10)))}function Dt(pe){if(!xt(pe))return null;const Te=parseInt(pe.getAttribute("tabindex")||"",10);return isNaN(Te)?-1:Te}class Q{get enabled(){return this._enabled}set enabled(Te){this._enabled=Te,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Te,this._startAnchor),this._toggleAnchorTabIndex(Te,this._endAnchor))}constructor(Te,Ht,te,Oe,nn=!1){this._element=Te,this._checker=Ht,this._ngZone=te,this._document=Oe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,nn||this.attachAnchors()}destroy(){const Te=this._startAnchor,Ht=this._endAnchor;Te&&(Te.removeEventListener("focus",this.startAnchorListener),Te.remove()),Ht&&(Ht.removeEventListener("focus",this.endAnchorListener),Ht.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(Te){return new Promise(Ht=>{this._executeOnStable(()=>Ht(this.focusInitialElement(Te)))})}focusFirstTabbableElementWhenReady(Te){return new Promise(Ht=>{this._executeOnStable(()=>Ht(this.focusFirstTabbableElement(Te)))})}focusLastTabbableElementWhenReady(Te){return new Promise(Ht=>{this._executeOnStable(()=>Ht(this.focusLastTabbableElement(Te)))})}_getRegionBoundary(Te){const Ht=this._element.querySelectorAll(`[cdk-focus-region-${Te}], [cdkFocusRegion${Te}], [cdk-focus-${Te}]`);return"start"==Te?Ht.length?Ht[0]:this._getFirstTabbableElement(this._element):Ht.length?Ht[Ht.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Te){const Ht=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ht){if(!this._checker.isFocusable(Ht)){const te=this._getFirstTabbableElement(Ht);return te?.focus(Te),!!te}return Ht.focus(Te),!0}return this.focusFirstTabbableElement(Te)}focusFirstTabbableElement(Te){const Ht=this._getRegionBoundary("start");return Ht&&Ht.focus(Te),!!Ht}focusLastTabbableElement(Te){const Ht=this._getRegionBoundary("end");return Ht&&Ht.focus(Te),!!Ht}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Te){if(this._checker.isFocusable(Te)&&this._checker.isTabbable(Te))return Te;const Ht=Te.children;for(let te=0;te=0;te--){const Oe=Ht[te].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ht[te]):null;if(Oe)return Oe}return null}_createAnchor(){const Te=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Te),Te.classList.add("cdk-visually-hidden"),Te.classList.add("cdk-focus-trap-anchor"),Te.setAttribute("aria-hidden","true"),Te}_toggleAnchorTabIndex(Te,Ht){Te?Ht.setAttribute("tabindex","0"):Ht.removeAttribute("tabindex")}toggleAnchors(Te){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Te,this._startAnchor),this._toggleAnchorTabIndex(Te,this._endAnchor))}_executeOnStable(Te){this._ngZone.isStable?Te():this._ngZone.onStable.pipe((0,F.s)(1)).subscribe(Te)}}let kt=(()=>{class pe{constructor(Ht,te,Oe){this._checker=Ht,this._ngZone=te,this._document=Oe}create(Ht,te=!1){return new Q(Ht,this._checker,this._ngZone,this._document,te)}static{this.\u0275fac=function(te){return new(te||pe)(k.KVO(L),k.KVO(k.SKi),k.KVO(l.qQ))}}static{this.\u0275prov=k.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})(),Xt=(()=>{class pe{get enabled(){return this.focusTrap?.enabled||!1}set enabled(Ht){this.focusTrap&&(this.focusTrap.enabled=Ht)}constructor(Ht,te,Oe){this._elementRef=Ht,this._focusTrapFactory=te,this._previouslyFocusedElement=null,(0,k.WQX)(A.OD).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Ht){const te=Ht.autoCapture;te&&!te.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,A.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(te){return new(te||pe)(k.rXU(k.aKT),k.rXU(kt),k.rXU(l.qQ))}}static{this.\u0275dir=k.FsC({type:pe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[k.Mj6.HasDecoratorInputTransform,"cdkTrapFocus","enabled",k.L39],autoCapture:[k.Mj6.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",k.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[k.GFd,k.OA$]})}}return pe})();function Jt(pe){return 0===pe.buttons||0===pe.detail}function se(pe){const Te=pe.touches&&pe.touches[0]||pe.changedTouches&&pe.changedTouches[0];return!(!Te||-1!==Te.identifier||null!=Te.radiusX&&1!==Te.radiusX||null!=Te.radiusY&&1!==Te.radiusY)}const be=new k.nKC("cdk-input-modality-detector-options"),Me={ignoreKeys:[f.A$,f.W3,f.eg,f.Ge,f.FX]},Yt=(0,A.BQ)({passive:!0,capture:!0});let oe=(()=>{class pe{get mostRecentModality(){return this._modality.value}constructor(Ht,te,Oe,nn){this._platform=Ht,this._mostRecentTarget=null,this._modality=new C.t(null),this._lastTouchMs=0,this._onKeydown=qn=>{this._options?.ignoreKeys?.some(wn=>wn===qn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,A.Fb)(qn))},this._onMousedown=qn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Jt(qn)?"keyboard":"mouse"),this._mostRecentTarget=(0,A.Fb)(qn))},this._onTouchstart=qn=>{se(qn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,A.Fb)(qn))},this._options={...Me,...nn},this.modalityDetected=this._modality.pipe((0,M.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,y.F)()),Ht.isBrowser&&te.runOutsideAngular(()=>{Oe.addEventListener("keydown",this._onKeydown,Yt),Oe.addEventListener("mousedown",this._onMousedown,Yt),Oe.addEventListener("touchstart",this._onTouchstart,Yt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Yt),document.removeEventListener("mousedown",this._onMousedown,Yt),document.removeEventListener("touchstart",this._onTouchstart,Yt))}static{this.\u0275fac=function(te){return new(te||pe)(k.KVO(A.OD),k.KVO(k.SKi),k.KVO(l.qQ),k.KVO(be,8))}}static{this.\u0275prov=k.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})();const _e=new k.nKC("liveAnnouncerElement",{providedIn:"root",factory:function je(){return null}}),ve=new k.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let De=0,Le=(()=>{class pe{constructor(Ht,te,Oe,nn){this._ngZone=te,this._defaultOptions=nn,this._document=Oe,this._liveElement=Ht||this._createLiveElement()}announce(Ht,...te){const Oe=this._defaultOptions;let nn,qn;return 1===te.length&&"number"==typeof te[0]?qn=te[0]:[nn,qn]=te,this.clear(),clearTimeout(this._previousTimeout),nn||(nn=Oe&&Oe.politeness?Oe.politeness:"polite"),null==qn&&Oe&&(qn=Oe.duration),this._liveElement.setAttribute("aria-live",nn),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(wn=>this._currentResolve=wn)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ht,"number"==typeof qn&&(this._previousTimeout=setTimeout(()=>this.clear(),qn)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Ht="cdk-live-announcer-element",te=this._document.getElementsByClassName(Ht),Oe=this._document.createElement("div");for(let nn=0;nn .cdk-overlay-container [aria-modal="true"]');for(let Oe=0;Oe{class pe{constructor(Ht,te,Oe,nn,qn){this._ngZone=Ht,this._platform=te,this._inputModalityDetector=Oe,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 G.B,this._rootNodeFocusAndBlurListener=wn=>{for(let fe=(0,A.Fb)(wn);fe;fe=fe.parentElement)"focus"===wn.type?this._onFocus(wn,fe):this._onBlur(wn,fe)},this._document=nn,this._detectionMode=qn?.detectionMode||Ln.IMMEDIATE}monitor(Ht,te=!1){const Oe=(0,O.i8)(Ht);if(!this._platform.isBrowser||1!==Oe.nodeType)return(0,g.of)();const nn=(0,A.KT)(Oe)||this._getDocument(),qn=this._elementInfo.get(Oe);if(qn)return te&&(qn.checkChildren=!0),qn.subject;const wn={checkChildren:te,subject:new G.B,rootNode:nn};return this._elementInfo.set(Oe,wn),this._registerGlobalListeners(wn),wn.subject}stopMonitoring(Ht){const te=(0,O.i8)(Ht),Oe=this._elementInfo.get(te);Oe&&(Oe.subject.complete(),this._setClasses(te),this._elementInfo.delete(te),this._removeGlobalListeners(Oe))}focusVia(Ht,te,Oe){const nn=(0,O.i8)(Ht);nn===this._getDocument().activeElement?this._getClosestElementsInfo(nn).forEach(([wn,Rn])=>this._originChanged(wn,te,Rn)):(this._setOrigin(te),"function"==typeof nn.focus&&nn.focus(Oe))}ngOnDestroy(){this._elementInfo.forEach((Ht,te)=>this.stopMonitoring(te))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ht){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ht)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ht&&this._isLastInteractionFromInputLabel(Ht)?"mouse":"program"}_shouldBeAttributedToTouch(Ht){return this._detectionMode===Ln.EVENTUAL||!!Ht?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ht,te){Ht.classList.toggle("cdk-focused",!!te),Ht.classList.toggle("cdk-touch-focused","touch"===te),Ht.classList.toggle("cdk-keyboard-focused","keyboard"===te),Ht.classList.toggle("cdk-mouse-focused","mouse"===te),Ht.classList.toggle("cdk-program-focused","program"===te)}_setOrigin(Ht,te=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ht,this._originFromTouchInteraction="touch"===Ht&&te,this._detectionMode===Ln.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ht,te){const Oe=this._elementInfo.get(te),nn=(0,A.Fb)(Ht);!Oe||!Oe.checkChildren&&te!==nn||this._originChanged(te,this._getFocusOrigin(nn),Oe)}_onBlur(Ht,te){const Oe=this._elementInfo.get(te);!Oe||Oe.checkChildren&&Ht.relatedTarget instanceof Node&&te.contains(Ht.relatedTarget)||(this._setClasses(te),this._emitOrigin(Oe,null))}_emitOrigin(Ht,te){Ht.subject.observers.length&&this._ngZone.run(()=>Ht.subject.next(te))}_registerGlobalListeners(Ht){if(!this._platform.isBrowser)return;const te=Ht.rootNode,Oe=this._rootNodeFocusListenerCount.get(te)||0;Oe||this._ngZone.runOutsideAngular(()=>{te.addEventListener("focus",this._rootNodeFocusAndBlurListener,jn),te.addEventListener("blur",this._rootNodeFocusAndBlurListener,jn)}),this._rootNodeFocusListenerCount.set(te,Oe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,T.Q)(this._stopInputModalityDetector)).subscribe(nn=>{this._setOrigin(nn,!0)}))}_removeGlobalListeners(Ht){const te=Ht.rootNode;if(this._rootNodeFocusListenerCount.has(te)){const Oe=this._rootNodeFocusListenerCount.get(te);Oe>1?this._rootNodeFocusListenerCount.set(te,Oe-1):(te.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jn),te.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jn),this._rootNodeFocusListenerCount.delete(te))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ht,te,Oe){this._setClasses(Ht,te),this._emitOrigin(Oe,te),this._lastFocusOrigin=te}_getClosestElementsInfo(Ht){const te=[];return this._elementInfo.forEach((Oe,nn)=>{(nn===Ht||Oe.checkChildren&&nn.contains(Ht))&&te.push([nn,Oe])}),te}_isLastInteractionFromInputLabel(Ht){const{_mostRecentTarget:te,mostRecentModality:Oe}=this._inputModalityDetector;if("mouse"!==Oe||!te||te===Ht||"INPUT"!==Ht.nodeName&&"TEXTAREA"!==Ht.nodeName||Ht.disabled)return!1;const nn=Ht.labels;if(nn)for(let qn=0;qn{class pe{constructor(Ht,te){this._elementRef=Ht,this._focusMonitor=te,this._focusOrigin=null,this.cdkFocusChange=new k.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ht=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ht,1===Ht.nodeType&&Ht.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(te=>{this._focusOrigin=te,this.cdkFocusChange.emit(te)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(te){return new(te||pe)(k.rXU(k.aKT),k.rXU(mi))}}static{this.\u0275dir=k.FsC({type:pe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return pe})();var li=function(pe){return pe[pe.NONE=0]="NONE",pe[pe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",pe[pe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",pe}(li||{});const Jn="cdk-high-contrast-black-on-white",Di="cdk-high-contrast-white-on-black",$n="cdk-high-contrast-active";let Ii=(()=>{class pe{constructor(Ht,te){this._platform=Ht,this._document=te,this._breakpointSubscription=(0,k.WQX)(S.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return li.NONE;const Ht=this._document.createElement("div");Ht.style.backgroundColor="rgb(1,2,3)",Ht.style.position="absolute",this._document.body.appendChild(Ht);const te=this._document.defaultView||window,Oe=te&&te.getComputedStyle?te.getComputedStyle(Ht):null,nn=(Oe&&Oe.backgroundColor||"").replace(/ /g,"");switch(Ht.remove(),nn){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return li.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return li.BLACK_ON_WHITE}return li.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ht=this._document.body.classList;Ht.remove($n,Jn,Di),this._hasCheckedHighContrastMode=!0;const te=this.getHighContrastMode();te===li.BLACK_ON_WHITE?Ht.add($n,Jn):te===li.WHITE_ON_BLACK&&Ht.add($n,Di)}}static{this.\u0275fac=function(te){return new(te||pe)(k.KVO(A.OD),k.KVO(l.qQ))}}static{this.\u0275prov=k.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})(),We=(()=>{class pe{constructor(Ht){Ht._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(te){return new(te||pe)(k.KVO(Ii))}}static{this.\u0275mod=k.$C({type:pe})}static{this.\u0275inj=k.G2t({imports:[I.w5]})}}return pe})()},28203:(Rt,Tt,D)=>{"use strict";D.d(Tt,{dS:()=>g,jI:()=>h});var l=D(54438),k=D(60177);const A=new l.nKC("cdk-dir-doc",{providedIn:"root",factory:function G(){return(0,l.WQX)(k.qQ)}}),t=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let g=(()=>{class _{constructor(m){this.value="ltr",this.change=new l.bkB,m&&(this.value=function C(_){const p=_?.toLowerCase()||"";return"auto"===p&&typeof navigator<"u"&&navigator?.language?t.test(navigator.language)?"rtl":"ltr":"rtl"===p?"rtl":"ltr"}((m.body?m.body.dir:null)||(m.documentElement?m.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(F){return new(F||_)(l.KVO(A,8))}}static{this.\u0275prov=l.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})(),h=(()=>{class _{static{this.\u0275fac=function(F){return new(F||_)}}static{this.\u0275mod=l.$C({type:_})}static{this.\u0275inj=l.G2t({})}}return _})()},83801:(Rt,Tt,D)=>{"use strict";D.d(Tt,{B0:()=>G});var l=D(60177),k=D(54438);class A{constructor(h,_){this._document=_;const p=this._textarea=this._document.createElement("textarea"),m=p.style;m.position="fixed",m.top=m.opacity="0",m.left="-999em",p.setAttribute("aria-hidden","true"),p.value=h,p.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(p)}copy(){const h=this._textarea;let _=!1;try{if(h){const p=this._document.activeElement;h.select(),h.setSelectionRange(0,h.value.length),_=this._document.execCommand("copy"),p&&p.focus()}}catch{}return _}destroy(){const h=this._textarea;h&&(h.remove(),this._textarea=void 0)}}let G=(()=>{class f{constructor(_){this._document=_}copy(_){const p=this.beginCopy(_),m=p.copy();return p.destroy(),m}beginCopy(_){return new A(_,this._document)}static{this.\u0275fac=function(p){return new(p||f)(k.KVO(l.qQ))}}static{this.\u0275prov=k.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},14085:(Rt,Tt,D)=>{"use strict";D.d(Tt,{FG:()=>t,OE:()=>A,a1:()=>C,cc:()=>f,he:()=>k,i8:()=>g,o1:()=>G});var l=D(54438);function k(h){return null!=h&&"false"!=`${h}`}function A(h,_=0){return G(h)?Number(h):_}function G(h){return!isNaN(parseFloat(h))&&!isNaN(Number(h))}function t(h){return Array.isArray(h)?h:[h]}function C(h){return null==h?"":"string"==typeof h?h:`${h}px`}function g(h){return h instanceof l.aKT?h.nativeElement:h}function f(h,_=/\s+/){const p=[];if(null!=h){const m=Array.isArray(h)?h:`${h}`.split(_);for(const F of m){const M=`${F}`.trim();M&&p.push(M)}}return p}},45024:(Rt,Tt,D)=>{"use strict";D.d(Tt,{CB:()=>F,DQ:()=>m,Q3:()=>h,qS:()=>C,sL:()=>_,xn:()=>p,y4:()=>g,zP:()=>y});var l=D(30017),G=(D(74402),D(7673),D(21413)),t=D(54438);class C{}function g(T){return T&&"function"==typeof T.connect&&!(T instanceof l.G)}var h=function(T){return T[T.REPLACED=0]="REPLACED",T[T.INSERTED=1]="INSERTED",T[T.MOVED=2]="MOVED",T[T.REMOVED=3]="REMOVED",T}(h||{});const _=new t.nKC("_ViewRepeater");class p{applyChanges(I,O,S,B,P){I.forEachOperation((U,z,nt)=>{let it,rt;if(null==U.previousIndex){const mt=S(U,z,nt);it=O.createEmbeddedView(mt.templateRef,mt.context,mt.index),rt=h.INSERTED}else null==nt?(O.remove(z),rt=h.REMOVED):(it=O.get(z),O.move(it,nt),rt=h.MOVED);P&&P({context:it?.context,operation:rt,record:U})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(I,O,S,B,P){I.forEachOperation((U,z,nt)=>{let it,rt;null==U.previousIndex?(it=this._insertView(()=>S(U,z,nt),nt,O,B(U)),rt=it?h.INSERTED:h.REPLACED):null==nt?(this._detachAndCacheView(z,O),rt=h.REMOVED):(it=this._moveView(z,nt,O,B(U)),rt=h.MOVED),P&&P({context:it?.context,operation:rt,record:U})})}detach(){for(const I of this._viewCache)I.destroy();this._viewCache=[]}_insertView(I,O,S,B){const P=this._insertViewFromCache(O,S);if(P)return void(P.context.$implicit=B);const U=I();return S.createEmbeddedView(U.templateRef,U.context,U.index)}_detachAndCacheView(I,O){const S=O.detach(I);this._maybeCacheView(S,O)}_moveView(I,O,S,B){const P=S.get(I);return S.move(P,O),P.context.$implicit=B,P}_maybeCacheView(I,O){if(this._viewCache.lengththis._markSelected(P)):this._markSelected(O[0]),this._selectedToEmit.length=0)}select(...I){this._verifyValueAssignment(I),I.forEach(S=>this._markSelected(S));const O=this._hasQueuedChanges();return this._emitChangeEvent(),O}deselect(...I){this._verifyValueAssignment(I),I.forEach(S=>this._unmarkSelected(S));const O=this._hasQueuedChanges();return this._emitChangeEvent(),O}setSelection(...I){this._verifyValueAssignment(I);const O=this.selected,S=new Set(I);I.forEach(P=>this._markSelected(P)),O.filter(P=>!S.has(this._getConcreteValue(P,S))).forEach(P=>this._unmarkSelected(P));const B=this._hasQueuedChanges();return this._emitChangeEvent(),B}toggle(I){return this.isSelected(I)?this.deselect(I):this.select(I)}clear(I=!0){this._unmarkAll();const O=this._hasQueuedChanges();return I&&this._emitChangeEvent(),O}isSelected(I){return this._selection.has(this._getConcreteValue(I))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(I){this._multiple&&this.selected&&this._selected.sort(I)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(I){I=this._getConcreteValue(I),this.isSelected(I)||(this._multiple||this._unmarkAll(),this.isSelected(I)||this._selection.add(I),this._emitChanges&&this._selectedToEmit.push(I))}_unmarkSelected(I){I=this._getConcreteValue(I),this.isSelected(I)&&(this._selection.delete(I),this._emitChanges&&this._deselectedToEmit.push(I))}_unmarkAll(){this.isEmpty()||this._selection.forEach(I=>this._unmarkSelected(I))}_verifyValueAssignment(I){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(I,O){if(this.compareWith){O=O??this._selection;for(let S of O)if(this.compareWith(I,S))return S;return I}return I}}let y=(()=>{class T{constructor(){this._listeners=[]}notify(O,S){for(let B of this._listeners)B(O,S)}listen(O){return this._listeners.push(O),()=>{this._listeners=this._listeners.filter(S=>O!==S)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(S){return new(S||T)}}static{this.\u0275prov=t.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},81391:(Rt,Tt,D)=>{"use strict";D.d(Tt,{HD:()=>Qt,O7:()=>Ht,T1:()=>Ii,ad:()=>Rn});var l=D(54438),k=D(60177),A=D(65478),G=D(36860),t=D(14085),C=D(18617),g=D(21413),f=D(18359),h=D(40605),_=D(30536),p=D(71985),m=D(57786),F=D(84412),M=D(56977),y=D(96354),T=D(96697),I=D(88141),O=D(25558),S=D(99172),B=D(28203);function P(fe,le,ce){for(let ie in le)if(le.hasOwnProperty(ie)){const Ye=le[ie];Ye?fe.setProperty(ie,Ye,ce?.has(ie)?"important":""):fe.removeProperty(ie)}return fe}function U(fe,le){const ce=le?"":"none";P(fe.style,{"touch-action":le?"":"none","-webkit-user-drag":le?"":"none","-webkit-tap-highlight-color":le?"":"transparent","user-select":ce,"-ms-user-select":ce,"-webkit-user-select":ce,"-moz-user-select":ce})}function z(fe,le,ce){P(fe.style,{position:le?"":"fixed",top:le?"":"0",opacity:le?"":"0",left:le?"":"-999em"},ce)}function nt(fe,le){return le&&"none"!=le?fe+" "+le:fe}function it(fe,le){fe.style.width=`${le.width}px`,fe.style.height=`${le.height}px`,fe.style.transform=rt(le.left,le.top)}function rt(fe,le){return`translate3d(${Math.round(fe)}px, ${Math.round(le)}px, 0)`}function mt(fe){const le=fe.getBoundingClientRect();return{top:le.top,right:le.right,bottom:le.bottom,left:le.left,width:le.width,height:le.height,x:le.x,y:le.y}}function lt(fe,le,ce){const{top:ie,bottom:Ye,left:ln,right:bn}=fe;return ce>=ie&&ce<=Ye&&le>=ln&&le<=bn}function ht(fe,le,ce){fe.top+=le,fe.bottom=fe.top+fe.height,fe.left+=ce,fe.right=fe.left+fe.width}function yt(fe,le,ce,ie){const{top:Ye,right:ln,bottom:bn,left:si,width:ei,height:Ci}=fe,so=ei*le,Hi=Ci*le;return ie>Ye-Hi&&iesi-so&&ce{this.positions.set(ce,{scrollPosition:{top:ce.scrollTop,left:ce.scrollLeft},clientRect:mt(ce)})})}handleScroll(le){const ce=(0,G.Fb)(le),ie=this.positions.get(ce);if(!ie)return null;const Ye=ie.scrollPosition;let ln,bn;if(ce===this._document){const Ci=this.getViewportScrollPosition();ln=Ci.top,bn=Ci.left}else ln=ce.scrollTop,bn=ce.scrollLeft;const si=Ye.top-ln,ei=Ye.left-bn;return this.positions.forEach((Ci,so)=>{Ci.clientRect&&ce!==so&&ce.contains(so)&&ht(Ci.clientRect,si,ei)}),Ye.top=ln,Ye.left=bn,{top:si,left:ei}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Z(fe){const le=fe.cloneNode(!0),ce=le.querySelectorAll("[id]"),ie=fe.nodeName.toLowerCase();le.removeAttribute("id");for(let Ye=0;Yeie.appendChild(Ye)),ie}function H(fe){const le=fe.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(fe)*le}function tt(fe,le){return fe.getPropertyValue(le).split(",").map(ie=>ie.trim())}const ut=new Set(["position"]);class _t{constructor(le,ce,ie,Ye,ln,bn,si,ei,Ci){this._document=le,this._rootElement=ce,this._direction=ie,this._initialDomRect=Ye,this._previewTemplate=ln,this._previewClass=bn,this._pickupPositionOnPage=si,this._initialTransform=ei,this._zIndex=Ci}attach(le){this._preview=this._createPreview(),le.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(le){this._preview.style.transform=le}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(le){this._preview.classList.add(le)}getTransitionDuration(){return function K(fe){const le=getComputedStyle(fe),ce=tt(le,"transition-property"),ie=ce.find(si=>"transform"===si||"all"===si);if(!ie)return 0;const Ye=ce.indexOf(ie),ln=tt(le,"transition-duration"),bn=tt(le,"transition-delay");return H(ln[Ye])+H(bn[Ye])}(this._preview)}addEventListener(le,ce){this._preview.addEventListener(le,ce)}removeEventListener(le,ce){this._preview.removeEventListener(le,ce)}_createPreview(){const le=this._previewTemplate,ce=this._previewClass,ie=le?le.template:null;let Ye;if(ie&&le){const ln=le.matchSize?this._initialDomRect:null,bn=le.viewContainer.createEmbeddedView(ie,le.context);bn.detectChanges(),Ye=J(bn,this._document),this._previewEmbeddedView=bn,le.matchSize?it(Ye,ln):Ye.style.transform=rt(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else Ye=Z(this._rootElement),it(Ye,this._initialDomRect),this._initialTransform&&(Ye.style.transform=this._initialTransform);return P(Ye.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},ut),U(Ye,!1),Ye.classList.add("cdk-drag-preview"),Ye.setAttribute("popover","manual"),Ye.setAttribute("dir",this._direction),ce&&(Array.isArray(ce)?ce.forEach(ln=>Ye.classList.add(ln)):Ye.classList.add(ce)),Ye}}const xt=(0,G.BQ)({passive:!0}),Dt=(0,G.BQ)({passive:!1}),gt=(0,G.BQ)({passive:!1,capture:!0}),ot=new Set(["position"]);class Q{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(le){le!==this._disabled&&(this._disabled=le,this._toggleNativeDragInteractions(),this._handles.forEach(ce=>U(ce,le)))}constructor(le,ce,ie,Ye,ln,bn){this._config=ce,this._document=ie,this._ngZone=Ye,this._viewportRuler=ln,this._dragDropRegistry=bn,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new g.B,this._pointerMoveSubscription=f.yU.EMPTY,this._pointerUpSubscription=f.yU.EMPTY,this._scrollSubscription=f.yU.EMPTY,this._resizeSubscription=f.yU.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new g.B,this.started=new g.B,this.released=new g.B,this.ended=new g.B,this.entered=new g.B,this.exited=new g.B,this.dropped=new g.B,this.moved=this._moveEvents,this._pointerDown=si=>{if(this.beforeStarted.next(),this._handles.length){const ei=this._getTargetHandle(si);ei&&!this._disabledHandles.has(ei)&&!this.disabled&&this._initializeDragSequence(ei,si)}else this.disabled||this._initializeDragSequence(this._rootElement,si)},this._pointerMove=si=>{const ei=this._getPointerPositionOnPage(si);if(!this._hasStartedDragging){if(Math.abs(ei.x-this._pickupPositionOnPage.x)+Math.abs(ei.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Ao=Date.now()>=this._dragStartTime+this._getDragStartDelay(si),rn=this._dropContainer;if(!Ao)return void this._endDragSequence(si);(!rn||!rn.isDragging()&&!rn.isReceiving())&&(si.cancelable&&si.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(si)))}return}si.cancelable&&si.preventDefault();const Ci=this._getConstrainedPointerPosition(ei);if(this._hasMoved=!0,this._lastKnownPointerPosition=ei,this._updatePointerDirectionDelta(Ci),this._dropContainer)this._updateActiveDropContainer(Ci,ei);else{const so=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,Hi=this._activeTransform;Hi.x=Ci.x-so.x+this._passiveTransform.x,Hi.y=Ci.y-so.y+this._passiveTransform.y,this._applyRootElementTransform(Hi.x,Hi.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Ci,event:si,distance:this._getDragDistance(Ci),delta:this._pointerDirectionDelta})})},this._pointerUp=si=>{this._endDragSequence(si)},this._nativeDragStart=si=>{if(this._handles.length){const ei=this._getTargetHandle(si);ei&&!this._disabledHandles.has(ei)&&!this.disabled&&si.preventDefault()}else this.disabled||si.preventDefault()},this.withRootElement(le).withParent(ce.parentDragRef||null),this._parentPositions=new wt(ie),bn.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(le){this._handles=le.map(ie=>(0,t.i8)(ie)),this._handles.forEach(ie=>U(ie,this.disabled)),this._toggleNativeDragInteractions();const ce=new Set;return this._disabledHandles.forEach(ie=>{this._handles.indexOf(ie)>-1&&ce.add(ie)}),this._disabledHandles=ce,this}withPreviewTemplate(le){return this._previewTemplate=le,this}withPlaceholderTemplate(le){return this._placeholderTemplate=le,this}withRootElement(le){const ce=(0,t.i8)(le);return ce!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{ce.addEventListener("mousedown",this._pointerDown,Dt),ce.addEventListener("touchstart",this._pointerDown,xt),ce.addEventListener("dragstart",this._nativeDragStart,Dt)}),this._initialTransform=void 0,this._rootElement=ce),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(le){return this._boundaryElement=le?(0,t.i8)(le):null,this._resizeSubscription.unsubscribe(),le&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(le){return this._parentDragRef=le,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(le){!this._disabledHandles.has(le)&&this._handles.indexOf(le)>-1&&(this._disabledHandles.add(le),U(le,!0))}enableHandle(le){this._disabledHandles.has(le)&&(this._disabledHandles.delete(le),U(le,this.disabled))}withDirection(le){return this._direction=le,this}_withDropContainer(le){this._dropContainer=le}getFreeDragPosition(){const le=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:le.x,y:le.y}}setFreeDragPosition(le){return this._activeTransform={x:0,y:0},this._passiveTransform.x=le.x,this._passiveTransform.y=le.y,this._dropContainer||this._applyRootElementTransform(le.x,le.y),this}withPreviewContainer(le){return this._previewContainer=le,this}_sortFromLastPointerPosition(){const le=this._lastKnownPointerPosition;le&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(le),le)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Ie,gt)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(le){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:le}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(le),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const ce=this._getPointerPositionOnPage(le);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(ce),dropPoint:ce,event:le})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(le){Xt(le)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const ce=this._getShadowRoot(),ie=this._dropContainer;if(ce&&this._ngZone.runOutsideAngular(()=>{ce.addEventListener("selectstart",Ie,gt)}),ie){const Ye=this._rootElement,ln=Ye.parentNode,bn=this._placeholder=this._createPlaceholderElement(),si=this._anchor=this._anchor||this._document.createComment("");ln.insertBefore(si,Ye),this._initialTransform=Ye.style.transform||"",this._preview=new _t(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(ln,ce)),z(Ye,!1,ot),this._document.body.appendChild(ln.replaceChild(bn,Ye)),this.started.next({source:this,event:le}),ie.start(),this._initialContainer=ie,this._initialIndex=ie.getItemIndex(this)}else this.started.next({source:this,event:le}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(ie?ie.getScrollableParents():[])}_initializeDragSequence(le,ce){this._parentDragRef&&ce.stopPropagation();const ie=this.isDragging(),Ye=Xt(ce),ln=!Ye&&0!==ce.button,bn=this._rootElement,si=(0,G.Fb)(ce),ei=!Ye&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Ci=Ye?(0,C.w6)(ce):(0,C._G)(ce);if(si&&si.draggable&&"mousedown"===ce.type&&ce.preventDefault(),ie||ln||ei||Ci)return;if(this._handles.length){const Ti=bn.style;this._rootElementTapHighlight=Ti.webkitTapHighlightColor||"",Ti.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ti=>this._updateOnScroll(Ti)),this._boundaryElement&&(this._boundaryRect=mt(this._boundaryElement));const so=this._previewTemplate;this._pickupPositionInElement=so&&so.template&&!so.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,le,ce);const Hi=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(ce);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Hi.x,y:Hi.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,ce)}_cleanupDragArtifacts(le){z(this._rootElement,!0,ot),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const ce=this._dropContainer,ie=ce.getItemIndex(this),Ye=this._getPointerPositionOnPage(le),ln=this._getDragDistance(Ye),bn=ce._isOverContainer(Ye.x,Ye.y);this.ended.next({source:this,distance:ln,dropPoint:Ye,event:le}),this.dropped.next({item:this,currentIndex:ie,previousIndex:this._initialIndex,container:ce,previousContainer:this._initialContainer,isPointerOverContainer:bn,distance:ln,dropPoint:Ye,event:le}),ce.drop(this,ie,this._initialIndex,this._initialContainer,bn,ln,Ye,le),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:le,y:ce},{x:ie,y:Ye}){let ln=this._initialContainer._getSiblingContainerFromPosition(this,le,ce);!ln&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(le,ce)&&(ln=this._initialContainer),ln&&ln!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=ln,this._dropContainer.enter(this,le,ce,ln===this._initialContainer&&ln.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:ln,currentIndex:ln.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(ie,Ye),this._dropContainer._sortItem(this,le,ce,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(le,ce):this._applyPreviewTransform(le-this._pickupPositionInElement.x,ce-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const le=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(le.left,le.top);const ce=this._preview.getTransitionDuration();return 0===ce?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(ie=>{const Ye=bn=>{(!bn||(0,G.Fb)(bn)===this._preview&&"transform"===bn.propertyName)&&(this._preview?.removeEventListener("transitionend",Ye),ie(),clearTimeout(ln))},ln=setTimeout(Ye,1.5*ce);this._preview.addEventListener("transitionend",Ye)}))}_createPlaceholderElement(){const le=this._placeholderTemplate,ce=le?le.template:null;let ie;return ce?(this._placeholderRef=le.viewContainer.createEmbeddedView(ce,le.context),this._placeholderRef.detectChanges(),ie=J(this._placeholderRef,this._document)):ie=Z(this._rootElement),ie.style.pointerEvents="none",ie.classList.add("cdk-drag-placeholder"),ie}_getPointerPositionInElement(le,ce,ie){const Ye=ce===this._rootElement?null:ce,ln=Ye?Ye.getBoundingClientRect():le,bn=Xt(ie)?ie.targetTouches[0]:ie,si=this._getViewportScrollPosition();return{x:ln.left-le.left+(bn.pageX-ln.left-si.left),y:ln.top-le.top+(bn.pageY-ln.top-si.top)}}_getPointerPositionOnPage(le){const ce=this._getViewportScrollPosition(),ie=Xt(le)?le.touches[0]||le.changedTouches[0]||{pageX:0,pageY:0}:le,Ye=ie.pageX-ce.left,ln=ie.pageY-ce.top;if(this._ownerSVGElement){const bn=this._ownerSVGElement.getScreenCTM();if(bn){const si=this._ownerSVGElement.createSVGPoint();return si.x=Ye,si.y=ln,si.matrixTransform(bn.inverse())}}return{x:Ye,y:ln}}_getConstrainedPointerPosition(le){const ce=this._dropContainer?this._dropContainer.lockAxis:null;let{x:ie,y:Ye}=this.constrainPosition?this.constrainPosition(le,this,this._initialDomRect,this._pickupPositionInElement):le;if("x"===this.lockAxis||"x"===ce?Ye=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===ce)&&(ie=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:ln,y:bn}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,si=this._boundaryRect,{width:ei,height:Ci}=this._getPreviewRect(),so=si.top+bn,Hi=si.bottom-(Ci-bn);ie=kt(ie,si.left+ln,si.right-(ei-ln)),Ye=kt(Ye,so,Hi)}return{x:ie,y:Ye}}_updatePointerDirectionDelta(le){const{x:ce,y:ie}=le,Ye=this._pointerDirectionDelta,ln=this._pointerPositionAtLastDirectionChange,bn=Math.abs(ce-ln.x),si=Math.abs(ie-ln.y);return bn>this._config.pointerDirectionChangeThreshold&&(Ye.x=ce>ln.x?1:-1,ln.x=ce),si>this._config.pointerDirectionChangeThreshold&&(Ye.y=ie>ln.y?1:-1,ln.y=ie),Ye}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const le=this._handles.length>0||!this.isDragging();le!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=le,U(this._rootElement,le))}_removeRootElementListeners(le){le.removeEventListener("mousedown",this._pointerDown,Dt),le.removeEventListener("touchstart",this._pointerDown,xt),le.removeEventListener("dragstart",this._nativeDragStart,Dt)}_applyRootElementTransform(le,ce){const ie=rt(le,ce),Ye=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=Ye.transform&&"none"!=Ye.transform?Ye.transform:""),Ye.transform=nt(ie,this._initialTransform)}_applyPreviewTransform(le,ce){const ie=this._previewTemplate?.template?void 0:this._initialTransform,Ye=rt(le,ce);this._preview.setTransform(nt(Ye,ie))}_getDragDistance(le){const ce=this._pickupPositionOnPage;return ce?{x:le.x-ce.x,y:le.y-ce.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:le,y:ce}=this._passiveTransform;if(0===le&&0===ce||this.isDragging()||!this._boundaryElement)return;const ie=this._rootElement.getBoundingClientRect(),Ye=this._boundaryElement.getBoundingClientRect();if(0===Ye.width&&0===Ye.height||0===ie.width&&0===ie.height)return;const ln=Ye.left-ie.left,bn=ie.right-Ye.right,si=Ye.top-ie.top,ei=ie.bottom-Ye.bottom;Ye.width>ie.width?(ln>0&&(le+=ln),bn>0&&(le-=bn)):le=0,Ye.height>ie.height?(si>0&&(ce+=si),ei>0&&(ce-=ei)):ce=0,(le!==this._passiveTransform.x||ce!==this._passiveTransform.y)&&this.setFreeDragPosition({y:ce,x:le})}_getDragStartDelay(le){const ce=this.dragStartDelay;return"number"==typeof ce?ce:Xt(le)?ce.touch:ce?ce.mouse:0}_updateOnScroll(le){const ce=this._parentPositions.handleScroll(le);if(ce){const ie=(0,G.Fb)(le);this._boundaryRect&&ie!==this._boundaryElement&&ie.contains(this._boundaryElement)&&ht(this._boundaryRect,ce.top,ce.left),this._pickupPositionOnPage.x+=ce.left,this._pickupPositionOnPage.y+=ce.top,this._dropContainer||(this._activeTransform.x-=ce.left,this._activeTransform.y-=ce.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,G.KT)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(le,ce){const ie=this._previewContainer||"global";if("parent"===ie)return le;if("global"===ie){const Ye=this._document;return ce||Ye.fullscreenElement||Ye.webkitFullscreenElement||Ye.mozFullScreenElement||Ye.msFullscreenElement||Ye.body}return(0,t.i8)(ie)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(le){return this._handles.find(ce=>le.target&&(le.target===ce||ce.contains(le.target)))}}function kt(fe,le,ce){return Math.max(le,Math.min(ce,fe))}function Xt(fe){return"t"===fe.type[0]}function Ie(fe){fe.preventDefault()}function Qt(fe,le,ce){const ie=Nt(le,fe.length-1),Ye=Nt(ce,fe.length-1);if(ie===Ye)return;const ln=fe[ie],bn=Ye0)return null;const si="horizontal"===this.orientation,ei=ln.findIndex(Ue=>Ue.drag===le),Ci=ln[bn],Hi=Ci.clientRect,Ti=ei>bn?1:-1,Ao=this._getItemOffsetPx(ln[ei].clientRect,Hi,Ti),rn=this._getSiblingOffsetPx(ei,ln,Ti),hi=ln.slice();return Qt(ln,ei,bn),ln.forEach((Ue,pn)=>{if(hi[pn]===Ue)return;const Sn=Ue.drag===le,Ai=Sn?Ao:rn,He=Sn?le.getPlaceholderElement():Ue.drag.getRootElement();Ue.offset+=Ai,si?(He.style.transform=nt(`translate3d(${Math.round(Ue.offset)}px, 0, 0)`,Ue.initialTransform),ht(Ue.clientRect,0,Ai)):(He.style.transform=nt(`translate3d(0, ${Math.round(Ue.offset)}px, 0)`,Ue.initialTransform),ht(Ue.clientRect,Ai,0))}),this._previousSwap.overlaps=lt(Hi,ce,ie),this._previousSwap.drag=Ci.drag,this._previousSwap.delta=si?Ye.x:Ye.y,{previousIndex:ei,currentIndex:bn}}enter(le,ce,ie,Ye){const ln=null==Ye||Ye<0?this._getItemIndexFromPointerPosition(le,ce,ie):Ye,bn=this._activeDraggables,si=bn.indexOf(le),ei=le.getPlaceholderElement();let Ci=bn[ln];if(Ci===le&&(Ci=bn[ln+1]),!Ci&&(null==ln||-1===ln||ln-1&&bn.splice(si,1),Ci&&!this._dragDropRegistry.isDragging(Ci)){const so=Ci.getRootElement();so.parentElement.insertBefore(ei,so),bn.splice(ln,0,le)}else(0,t.i8)(this._element).appendChild(ei),bn.push(le);ei.style.transform="",this._cacheItemPositions()}withItems(le){this._activeDraggables=le.slice(),this._cacheItemPositions()}withSortPredicate(le){this._sortPredicate=le}reset(){this._activeDraggables.forEach(le=>{const ce=le.getRootElement();if(ce){const ie=this._itemPositions.find(Ye=>Ye.drag===le)?.initialTransform;ce.style.transform=ie||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(le){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(ie=>ie.drag===le)}updateOnScroll(le,ce){this._itemPositions.forEach(({clientRect:ie})=>{ht(ie,le,ce)}),this._itemPositions.forEach(({drag:ie})=>{this._dragDropRegistry.isDragging(ie)&&ie._sortFromLastPointerPosition()})}_cacheItemPositions(){const le="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(ce=>{const ie=ce.getVisibleElement();return{drag:ce,offset:0,initialTransform:ie.style.transform||"",clientRect:mt(ie)}}).sort((ce,ie)=>le?ce.clientRect.left-ie.clientRect.left:ce.clientRect.top-ie.clientRect.top)}_getItemOffsetPx(le,ce,ie){const Ye="horizontal"===this.orientation;let ln=Ye?ce.left-le.left:ce.top-le.top;return-1===ie&&(ln+=Ye?ce.width-le.width:ce.height-le.height),ln}_getSiblingOffsetPx(le,ce,ie){const Ye="horizontal"===this.orientation,ln=ce[le].clientRect,bn=ce[le+-1*ie];let si=ln[Ye?"width":"height"]*ie;if(bn){const ei=Ye?"left":"top",Ci=Ye?"right":"bottom";-1===ie?si-=bn.clientRect[ei]-ln[Ci]:si+=ln[ei]-bn.clientRect[Ci]}return si}_shouldEnterAsFirstChild(le,ce){if(!this._activeDraggables.length)return!1;const ie=this._itemPositions,Ye="horizontal"===this.orientation;if(ie[0].drag!==this._activeDraggables[0]){const bn=ie[ie.length-1].clientRect;return Ye?le>=bn.right:ce>=bn.bottom}{const bn=ie[0].clientRect;return Ye?le<=bn.left:ce<=bn.top}}_getItemIndexFromPointerPosition(le,ce,ie,Ye){const ln="horizontal"===this.orientation,bn=this._itemPositions.findIndex(({drag:si,clientRect:ei})=>si!==le&&((!Ye||si!==this._previousSwap.drag||!this._previousSwap.overlaps||(ln?Ye.x:Ye.y)!==this._previousSwap.delta)&&(ln?ce>=Math.floor(ei.left)&&ce=Math.floor(ei.top)&&ie!0,this.sortPredicate=()=>!0,this.beforeStarted=new g.B,this.entered=new g.B,this.exited=new g.B,this.dropped=new g.B,this.sorted=new g.B,this.receivingStarted=new g.B,this.receivingStopped=new g.B,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=f.yU.EMPTY,this._verticalScrollDirection=Me.NONE,this._horizontalScrollDirection=ae.NONE,this._stopScrollTimers=new g.B,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,h.Y)(0,_.X).pipe((0,M.Q)(this._stopScrollTimers)).subscribe(()=>{const bn=this._scrollNode,si=this.autoScrollStep;this._verticalScrollDirection===Me.UP?bn.scrollBy(0,-si):this._verticalScrollDirection===Me.DOWN&&bn.scrollBy(0,si),this._horizontalScrollDirection===ae.LEFT?bn.scrollBy(-si,0):this._horizontalScrollDirection===ae.RIGHT&&bn.scrollBy(si,0)})},this.element=(0,t.i8)(le),this._document=ie,this.withScrollableParents([this.element]),ce.registerDropContainer(this),this._parentPositions=new wt(ie),this._sortStrategy=new Jt(this.element,ce),this._sortStrategy.withSortPredicate((bn,si)=>this.sortPredicate(bn,si,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(le,ce,ie,Ye){this._draggingStarted(),null==Ye&&this.sortingDisabled&&(Ye=this._draggables.indexOf(le)),this._sortStrategy.enter(le,ce,ie,Ye),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:le,container:this,currentIndex:this.getItemIndex(le)})}exit(le){this._reset(),this.exited.next({item:le,container:this})}drop(le,ce,ie,Ye,ln,bn,si,ei={}){this._reset(),this.dropped.next({item:le,currentIndex:ce,previousIndex:ie,container:this,previousContainer:Ye,isPointerOverContainer:ln,distance:bn,dropPoint:si,event:ei})}withItems(le){const ce=this._draggables;return this._draggables=le,le.forEach(ie=>ie._withDropContainer(this)),this.isDragging()&&(ce.filter(Ye=>Ye.isDragging()).every(Ye=>-1===le.indexOf(Ye))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(le){return this._sortStrategy.direction=le,this}connectedTo(le){return this._siblings=le.slice(),this}withOrientation(le){return this._sortStrategy.orientation=le,this}withScrollableParents(le){const ce=(0,t.i8)(this.element);return this._scrollableElements=-1===le.indexOf(ce)?[ce,...le]:le.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(le){return this._isDragging?this._sortStrategy.getItemIndex(le):this._draggables.indexOf(le)}isReceiving(){return this._activeSiblings.size>0}_sortItem(le,ce,ie,Ye){if(this.sortingDisabled||!this._domRect||!yt(this._domRect,.05,ce,ie))return;const ln=this._sortStrategy.sort(le,ce,ie,Ye);ln&&this.sorted.next({previousIndex:ln.previousIndex,currentIndex:ln.currentIndex,container:this,item:le})}_startScrollingIfNecessary(le,ce){if(this.autoScrollDisabled)return;let ie,Ye=Me.NONE,ln=ae.NONE;if(this._parentPositions.positions.forEach((bn,si)=>{si===this._document||!bn.clientRect||ie||yt(bn.clientRect,.05,le,ce)&&([Ye,ln]=function je(fe,le,ce,ie,Ye){const ln=oe(le,Ye),bn=_e(le,ie);let si=Me.NONE,ei=ae.NONE;if(ln){const Ci=fe.scrollTop;ln===Me.UP?Ci>0&&(si=Me.UP):fe.scrollHeight-Ci>fe.clientHeight&&(si=Me.DOWN)}if(bn){const Ci=fe.scrollLeft;"rtl"===ce?bn===ae.RIGHT?Ci<0&&(ei=ae.RIGHT):fe.scrollWidth+Ci>fe.clientWidth&&(ei=ae.LEFT):bn===ae.LEFT?Ci>0&&(ei=ae.LEFT):fe.scrollWidth-Ci>fe.clientWidth&&(ei=ae.RIGHT)}return[si,ei]}(si,bn.clientRect,this._sortStrategy.direction,le,ce),(Ye||ln)&&(ie=si))}),!Ye&&!ln){const{width:bn,height:si}=this._viewportRuler.getViewportSize(),ei={width:bn,height:si,top:0,right:bn,bottom:si,left:0};Ye=oe(ei,ce),ln=_e(ei,le),ie=window}ie&&(Ye!==this._verticalScrollDirection||ln!==this._horizontalScrollDirection||ie!==this._scrollNode)&&(this._verticalScrollDirection=Ye,this._horizontalScrollDirection=ln,this._scrollNode=ie,(Ye||ln)&&ie?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const le=(0,t.i8)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=le.msScrollSnapType||le.scrollSnapType||"",le.scrollSnapType=le.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const le=(0,t.i8)(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(le).clientRect}_reset(){this._isDragging=!1;const le=(0,t.i8)(this.element).style;le.scrollSnapType=le.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(ce=>ce._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(le,ce){return null!=this._domRect&<(this._domRect,le,ce)}_getSiblingContainerFromPosition(le,ce,ie){return this._siblings.find(Ye=>Ye._canReceive(le,ce,ie))}_canReceive(le,ce,ie){if(!this._domRect||!lt(this._domRect,ce,ie)||!this.enterPredicate(le,this))return!1;const Ye=this._getShadowRoot().elementFromPoint(ce,ie);if(!Ye)return!1;const ln=(0,t.i8)(this.element);return Ye===ln||ln.contains(Ye)}_startReceiving(le,ce){const ie=this._activeSiblings;!ie.has(le)&&ce.every(Ye=>this.enterPredicate(Ye,this)||this._draggables.indexOf(Ye)>-1)&&(ie.add(le),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:le,receiver:this,items:ce}))}_stopReceiving(le){this._activeSiblings.delete(le),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:le,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(le=>{if(this.isDragging()){const ce=this._parentPositions.handleScroll(le);ce&&this._sortStrategy.updateOnScroll(ce.top,ce.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const le=(0,G.KT)((0,t.i8)(this.element));this._cachedShadowRoot=le||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const le=this._sortStrategy.getActiveItemsSnapshot().filter(ce=>ce.isDragging());this._siblings.forEach(ce=>ce._startReceiving(this,le))}}function oe(fe,le){const{top:ce,bottom:ie,height:Ye}=fe,ln=.05*Ye;return le>=ce-ln&&le<=ce+ln?Me.UP:le>=ie-ln&&le<=ie+ln?Me.DOWN:Me.NONE}function _e(fe,le){const{left:ce,right:ie,width:Ye}=fe,ln=.05*Ye;return le>=ce-ln&&le<=ce+ln?ae.LEFT:le>=ie-ln&&le<=ie+ln?ae.RIGHT:ae.NONE}const ve=(0,G.BQ)({passive:!1,capture:!0}),De=new Set;let Le=(()=>{class fe{static{this.\u0275fac=function(ie){return new(ie||fe)}}static{this.\u0275cmp=l.VBU({type:fe,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[l.aNF],decls:0,vars:0,template:function(ie,Ye){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}}return fe})(),Fn=(()=>{class fe{constructor(ce,ie){this._ngZone=ce,this._appRef=(0,l.WQX)(l.o8S),this._environmentInjector=(0,l.WQX)(l.uvJ),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=Ye=>Ye.isDragging(),this.pointerMove=new g.B,this.pointerUp=new g.B,this.scroll=new g.B,this._preventDefaultWhileDragging=Ye=>{this._activeDragInstances.length>0&&Ye.preventDefault()},this._persistentTouchmoveListener=Ye=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&Ye.preventDefault(),this.pointerMove.next(Ye))},this._document=ie}registerDropContainer(ce){this._dropInstances.has(ce)||this._dropInstances.add(ce)}registerDragItem(ce){this._dragInstances.add(ce),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,ve)})}removeDropContainer(ce){this._dropInstances.delete(ce)}removeDragItem(ce){this._dragInstances.delete(ce),this.stopDragging(ce),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,ve)}startDragging(ce,ie){if(!(this._activeDragInstances.indexOf(ce)>-1)&&(this._loadResets(),this._activeDragInstances.push(ce),1===this._activeDragInstances.length)){const Ye=ie.type.startsWith("touch");this._globalListeners.set(Ye?"touchend":"mouseup",{handler:ln=>this.pointerUp.next(ln),options:!0}).set("scroll",{handler:ln=>this.scroll.next(ln),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ve}),Ye||this._globalListeners.set("mousemove",{handler:ln=>this.pointerMove.next(ln),options:ve}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((ln,bn)=>{this._document.addEventListener(bn,ln.handler,ln.options)})})}}stopDragging(ce){const ie=this._activeDragInstances.indexOf(ce);ie>-1&&(this._activeDragInstances.splice(ie,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(ce){return this._activeDragInstances.indexOf(ce)>-1}scrolled(ce){const ie=[this.scroll];return ce&&ce!==this._document&&ie.push(new p.c(Ye=>this._ngZone.runOutsideAngular(()=>{const bn=si=>{this._activeDragInstances.length&&Ye.next(si)};return ce.addEventListener("scroll",bn,!0),()=>{ce.removeEventListener("scroll",bn,!0)}}))),(0,m.h)(...ie)}ngOnDestroy(){this._dragInstances.forEach(ce=>this.removeDragItem(ce)),this._dropInstances.forEach(ce=>this.removeDropContainer(ce)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((ce,ie)=>{this._document.removeEventListener(ie,ce.handler,ce.options)}),this._globalListeners.clear()}_loadResets(){if(!De.has(this._appRef)){De.add(this._appRef);const ce=(0,l.a0P)(Le,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{De.delete(this._appRef),0===De.size&&ce.destroy()})}}static{this.\u0275fac=function(ie){return new(ie||fe)(l.KVO(l.SKi),l.KVO(k.qQ))}}static{this.\u0275prov=l.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})();const Ln={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Qn=(()=>{class fe{constructor(ce,ie,Ye,ln){this._document=ce,this._ngZone=ie,this._viewportRuler=Ye,this._dragDropRegistry=ln}createDrag(ce,ie=Ln){return new Q(ce,ie,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(ce){return new Yt(ce,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static{this.\u0275fac=function(ie){return new(ie||fe)(l.KVO(k.qQ),l.KVO(l.SKi),l.KVO(A.Xj),l.KVO(Fn))}}static{this.\u0275prov=l.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})();const jn=new l.nKC("CDK_DRAG_PARENT"),ui=new l.nKC("CdkDragHandle"),Jn=new l.nKC("CDK_DRAG_CONFIG"),$n=new l.nKC("CdkDropList");let Ii=(()=>{class fe{static{this._dragInstances=[]}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(ce){this._disabled=ce,this._dragRef.disabled=this._disabled}constructor(ce,ie,Ye,ln,bn,si,ei,Ci,so,Hi,Ti){this.element=ce,this.dropContainer=ie,this._ngZone=ln,this._viewContainerRef=bn,this._dir=ei,this._changeDetectorRef=so,this._selfHandle=Hi,this._parentDrag=Ti,this._destroyed=new g.B,this._handles=new F.t([]),this.started=new l.bkB,this.released=new l.bkB,this.ended=new l.bkB,this.entered=new l.bkB,this.exited=new l.bkB,this.dropped=new l.bkB,this.moved=new p.c(Ao=>{const rn=this._dragRef.moved.pipe((0,y.T)(hi=>({source:this,pointerPosition:hi.pointerPosition,event:hi.event,delta:hi.delta,distance:hi.distance}))).subscribe(Ao);return()=>{rn.unsubscribe()}}),this._dragRef=Ci.createDrag(ce,{dragStartThreshold:si&&null!=si.dragStartThreshold?si.dragStartThreshold:5,pointerDirectionChangeThreshold:si&&null!=si.pointerDirectionChangeThreshold?si.pointerDirectionChangeThreshold:5,zIndex:si?.zIndex}),this._dragRef.data=this,fe._dragInstances.push(this),si&&this._assignDefaults(si),ie&&(this._dragRef._withDropContainer(ie._dropListRef),ie.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(ce){this._dragRef.setFreeDragPosition(ce)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,T.s)(1),(0,M.Q)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(ce){const ie=ce.rootElementSelector,Ye=ce.freeDragPosition;ie&&!ie.firstChange&&this._updateRootElement(),Ye&&!Ye.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const ce=fe._dragInstances.indexOf(this);ce>-1&&fe._dragInstances.splice(ce,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(ce){const ie=this._handles.getValue();ie.push(ce),this._handles.next(ie)}_removeHandle(ce){const ie=this._handles.getValue(),Ye=ie.indexOf(ce);Ye>-1&&(ie.splice(Ye,1),this._handles.next(ie))}_setPreviewTemplate(ce){this._previewTemplate=ce}_resetPreviewTemplate(ce){ce===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(ce){this._placeholderTemplate=ce}_resetPlaceholderTemplate(ce){ce===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const ce=this.element.nativeElement;let ie=ce;this.rootElementSelector&&(ie=void 0!==ce.closest?ce.closest(this.rootElementSelector):ce.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(ie||ce)}_getBoundaryElement(){const ce=this.boundaryElement;return ce?"string"==typeof ce?this.element.nativeElement.closest(ce):(0,t.i8)(ce):null}_syncInputs(ce){ce.beforeStarted.subscribe(()=>{if(!ce.isDragging()){const ie=this._dir,Ye=this.dragStartDelay,ln=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,bn=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;ce.disabled=this.disabled,ce.lockAxis=this.lockAxis,ce.dragStartDelay="object"==typeof Ye&&Ye?Ye:(0,t.OE)(Ye),ce.constrainPosition=this.constrainPosition,ce.previewClass=this.previewClass,ce.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(ln).withPreviewTemplate(bn).withPreviewContainer(this.previewContainer||"global"),ie&&ce.withDirection(ie.value)}}),ce.beforeStarted.pipe((0,T.s)(1)).subscribe(()=>{if(this._parentDrag)return void ce.withParent(this._parentDrag._dragRef);let ie=this.element.nativeElement.parentElement;for(;ie;){if(ie.classList.contains("cdk-drag")){ce.withParent(fe._dragInstances.find(Ye=>Ye.element.nativeElement===ie)?._dragRef||null);break}ie=ie.parentElement}})}_handleEvents(ce){ce.started.subscribe(ie=>{this.started.emit({source:this,event:ie.event}),this._changeDetectorRef.markForCheck()}),ce.released.subscribe(ie=>{this.released.emit({source:this,event:ie.event})}),ce.ended.subscribe(ie=>{this.ended.emit({source:this,distance:ie.distance,dropPoint:ie.dropPoint,event:ie.event}),this._changeDetectorRef.markForCheck()}),ce.entered.subscribe(ie=>{this.entered.emit({container:ie.container.data,item:this,currentIndex:ie.currentIndex})}),ce.exited.subscribe(ie=>{this.exited.emit({container:ie.container.data,item:this})}),ce.dropped.subscribe(ie=>{this.dropped.emit({previousIndex:ie.previousIndex,currentIndex:ie.currentIndex,previousContainer:ie.previousContainer.data,container:ie.container.data,isPointerOverContainer:ie.isPointerOverContainer,item:this,distance:ie.distance,dropPoint:ie.dropPoint,event:ie.event})})}_assignDefaults(ce){const{lockAxis:ie,dragStartDelay:Ye,constrainPosition:ln,previewClass:bn,boundaryElement:si,draggingDisabled:ei,rootElementSelector:Ci,previewContainer:so}=ce;this.disabled=ei??!1,this.dragStartDelay=Ye||0,ie&&(this.lockAxis=ie),ln&&(this.constrainPosition=ln),bn&&(this.previewClass=bn),si&&(this.boundaryElement=si),Ci&&(this.rootElementSelector=Ci),so&&(this.previewContainer=so)}_setupHandlesListener(){this._handles.pipe((0,I.M)(ce=>{const ie=ce.map(Ye=>Ye.element);this._selfHandle&&this.rootElementSelector&&ie.push(this.element),this._dragRef.withHandles(ie)}),(0,O.n)(ce=>(0,m.h)(...ce.map(ie=>ie._stateChanges.pipe((0,S.Z)(ie))))),(0,M.Q)(this._destroyed)).subscribe(ce=>{const ie=this._dragRef,Ye=ce.element.nativeElement;ce.disabled?ie.disableHandle(Ye):ie.enableHandle(Ye)})}static{this.\u0275fac=function(ie){return new(ie||fe)(l.rXU(l.aKT),l.rXU($n,12),l.rXU(k.qQ),l.rXU(l.SKi),l.rXU(l.c1b),l.rXU(Jn,8),l.rXU(B.dS,8),l.rXU(Qn),l.rXU(l.gRc),l.rXU(ui,10),l.rXU(jn,12))}}static{this.\u0275dir=l.FsC({type:fe,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(ie,Ye){2&ie&&l.AVh("cdk-drag-disabled",Ye.disabled)("cdk-drag-dragging",Ye._dragRef.isDragging())},inputs:{data:[l.Mj6.None,"cdkDragData","data"],lockAxis:[l.Mj6.None,"cdkDragLockAxis","lockAxis"],rootElementSelector:[l.Mj6.None,"cdkDragRootElement","rootElementSelector"],boundaryElement:[l.Mj6.None,"cdkDragBoundary","boundaryElement"],dragStartDelay:[l.Mj6.None,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[l.Mj6.None,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[l.Mj6.HasDecoratorInputTransform,"cdkDragDisabled","disabled",l.L39],constrainPosition:[l.Mj6.None,"cdkDragConstrainPosition","constrainPosition"],previewClass:[l.Mj6.None,"cdkDragPreviewClass","previewClass"],previewContainer:[l.Mj6.None,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[l.Jv_([{provide:jn,useExisting:fe}]),l.GFd,l.OA$]})}}return fe})();const We=new l.nKC("CdkDropListGroup");let Te=0,Ht=(()=>{class fe{static{this._dropLists=[]}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(ce){this._dropListRef.disabled=this._disabled=ce}constructor(ce,ie,Ye,ln,bn,si,ei){this.element=ce,this._changeDetectorRef=Ye,this._scrollDispatcher=ln,this._dir=bn,this._group=si,this._destroyed=new g.B,this.connectedTo=[],this.id="cdk-drop-list-"+Te++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new l.bkB,this.entered=new l.bkB,this.exited=new l.bkB,this.sorted=new l.bkB,this._unsortedItems=new Set,this._dropListRef=ie.createDropList(ce),this._dropListRef.data=this,ei&&this._assignDefaults(ei),this._dropListRef.enterPredicate=(Ci,so)=>this.enterPredicate(Ci.data,so.data),this._dropListRef.sortPredicate=(Ci,so,Hi)=>this.sortPredicate(Ci,so.data,Hi.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),fe._dropLists.push(this),si&&si._items.add(this)}addItem(ce){this._unsortedItems.add(ce),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(ce){this._unsortedItems.delete(ce),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((ce,ie)=>ce._dragRef.getVisibleElement().compareDocumentPosition(ie._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const ce=fe._dropLists.indexOf(this);ce>-1&&fe._dropLists.splice(ce,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(ce){this._dir&&this._dir.change.pipe((0,S.Z)(this._dir.value),(0,M.Q)(this._destroyed)).subscribe(ie=>ce.withDirection(ie)),ce.beforeStarted.subscribe(()=>{const ie=(0,t.FG)(this.connectedTo).map(Ye=>"string"==typeof Ye?fe._dropLists.find(bn=>bn.id===Ye):Ye);if(this._group&&this._group._items.forEach(Ye=>{-1===ie.indexOf(Ye)&&ie.push(Ye)}),!this._scrollableParentsResolved){const Ye=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(ln=>ln.getElementRef().nativeElement);this._dropListRef.withScrollableParents(Ye),this._scrollableParentsResolved=!0}ce.disabled=this.disabled,ce.lockAxis=this.lockAxis,ce.sortingDisabled=this.sortingDisabled,ce.autoScrollDisabled=this.autoScrollDisabled,ce.autoScrollStep=(0,t.OE)(this.autoScrollStep,2),ce.connectedTo(ie.filter(Ye=>Ye&&Ye!==this).map(Ye=>Ye._dropListRef)).withOrientation(this.orientation)})}_handleEvents(ce){ce.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),ce.entered.subscribe(ie=>{this.entered.emit({container:this,item:ie.item.data,currentIndex:ie.currentIndex})}),ce.exited.subscribe(ie=>{this.exited.emit({container:this,item:ie.item.data}),this._changeDetectorRef.markForCheck()}),ce.sorted.subscribe(ie=>{this.sorted.emit({previousIndex:ie.previousIndex,currentIndex:ie.currentIndex,container:this,item:ie.item.data})}),ce.dropped.subscribe(ie=>{this.dropped.emit({previousIndex:ie.previousIndex,currentIndex:ie.currentIndex,previousContainer:ie.previousContainer.data,container:ie.container.data,item:ie.item.data,isPointerOverContainer:ie.isPointerOverContainer,distance:ie.distance,dropPoint:ie.dropPoint,event:ie.event}),this._changeDetectorRef.markForCheck()}),(0,m.h)(ce.receivingStarted,ce.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(ce){const{lockAxis:ie,draggingDisabled:Ye,sortingDisabled:ln,listAutoScrollDisabled:bn,listOrientation:si}=ce;this.disabled=Ye??!1,this.sortingDisabled=ln??!1,this.autoScrollDisabled=bn??!1,this.orientation=si||"vertical",ie&&(this.lockAxis=ie)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(ce=>ce._dragRef))}static{this.\u0275fac=function(ie){return new(ie||fe)(l.rXU(l.aKT),l.rXU(Qn),l.rXU(l.gRc),l.rXU(A.R),l.rXU(B.dS,8),l.rXU(We,12),l.rXU(Jn,8))}}static{this.\u0275dir=l.FsC({type:fe,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(ie,Ye){2&ie&&(l.BMQ("id",Ye.id),l.AVh("cdk-drop-list-disabled",Ye.disabled)("cdk-drop-list-dragging",Ye._dropListRef.isDragging())("cdk-drop-list-receiving",Ye._dropListRef.isReceiving()))},inputs:{connectedTo:[l.Mj6.None,"cdkDropListConnectedTo","connectedTo"],data:[l.Mj6.None,"cdkDropListData","data"],orientation:[l.Mj6.None,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[l.Mj6.None,"cdkDropListLockAxis","lockAxis"],disabled:[l.Mj6.HasDecoratorInputTransform,"cdkDropListDisabled","disabled",l.L39],sortingDisabled:[l.Mj6.HasDecoratorInputTransform,"cdkDropListSortingDisabled","sortingDisabled",l.L39],enterPredicate:[l.Mj6.None,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[l.Mj6.None,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[l.Mj6.HasDecoratorInputTransform,"cdkDropListAutoScrollDisabled","autoScrollDisabled",l.L39],autoScrollStep:[l.Mj6.None,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[l.Jv_([{provide:We,useValue:void 0},{provide:$n,useExisting:fe}]),l.GFd]})}}return fe})(),Rn=(()=>{class fe{static{this.\u0275fac=function(ie){return new(ie||fe)}}static{this.\u0275mod=l.$C({type:fe})}static{this.\u0275inj=l.G2t({providers:[Qn],imports:[A.Gj]})}}return fe})()},67336:(Rt,Tt,D)=>{"use strict";D.d(Tt,{A:()=>K,A$:()=>f,FX:()=>C,Fm:()=>t,G_:()=>k,Ge:()=>ve,Kp:()=>y,LE:()=>S,SJ:()=>nt,UQ:()=>I,W3:()=>g,Z:()=>je,_f:()=>p,bn:()=>ft,dB:()=>M,eg:()=>tn,f2:()=>it,i7:()=>O,n6:()=>B,rp:()=>In,t6:()=>m,w_:()=>F,wn:()=>A,yZ:()=>T});const k=8,A=9,t=13,C=16,g=17,f=18,p=27,m=32,F=33,M=34,y=35,T=36,I=37,O=38,S=39,B=40,nt=46,it=48,ft=57,K=65,je=90,ve=91,tn=224;function In(yi,...Mo){return Mo.length?Mo.some(Io=>yi[Io]):yi.altKey||yi.shiftKey||yi.ctrlKey||yi.metaKey}},99327:(Rt,Tt,D)=>{"use strict";D.d(Tt,{QP:()=>B,RH:()=>M,Rp:()=>U});var l=D(54438),k=D(14085),A=D(21413),G=D(84572),t=D(28793),C=D(71985),g=D(96697),f=D(65245),h=D(70152),_=D(96354),p=D(99172),m=D(56977),F=D(36860);let M=(()=>{class z{static{this.\u0275fac=function(rt){return new(rt||z)}}static{this.\u0275mod=l.$C({type:z})}static{this.\u0275inj=l.G2t({})}}return z})();const y=new Set;let T,I=(()=>{class z{constructor(it,rt){this._platform=it,this._nonce=rt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):S}matchMedia(it){return(this._platform.WEBKIT||this._platform.BLINK)&&function O(z,nt){if(!y.has(z))try{T||(T=document.createElement("style"),nt&&T.setAttribute("nonce",nt),T.setAttribute("type","text/css"),document.head.appendChild(T)),T.sheet&&(T.sheet.insertRule(`@media ${z} {body{ }}`,0),y.add(z))}catch(it){console.error(it)}}(it,this._nonce),this._matchMedia(it)}static{this.\u0275fac=function(rt){return new(rt||z)(l.KVO(F.OD),l.KVO(l.BIS,8))}}static{this.\u0275prov=l.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})();function S(z){return{matches:"all"===z||""===z,media:z,addListener:()=>{},removeListener:()=>{}}}let B=(()=>{class z{constructor(it,rt){this._mediaMatcher=it,this._zone=rt,this._queries=new Map,this._destroySubject=new A.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(it){return P((0,k.FG)(it)).some(mt=>this._registerQuery(mt).mql.matches)}observe(it){const mt=P((0,k.FG)(it)).map(ht=>this._registerQuery(ht).observable);let lt=(0,G.z)(mt);return lt=(0,t.x)(lt.pipe((0,g.s)(1)),lt.pipe((0,f.i)(1),(0,h.B)(0))),lt.pipe((0,_.T)(ht=>{const yt={matches:!1,breakpoints:{}};return ht.forEach(({matches:wt,query:Z})=>{yt.matches=yt.matches||wt,yt.breakpoints[Z]=wt}),yt}))}_registerQuery(it){if(this._queries.has(it))return this._queries.get(it);const rt=this._mediaMatcher.matchMedia(it),lt={observable:new C.c(ht=>{const yt=wt=>this._zone.run(()=>ht.next(wt));return rt.addListener(yt),()=>{rt.removeListener(yt)}}).pipe((0,p.Z)(rt),(0,_.T)(({matches:ht})=>({query:it,matches:ht})),(0,m.Q)(this._destroySubject)),mql:rt};return this._queries.set(it,lt),lt}static{this.\u0275fac=function(rt){return new(rt||z)(l.KVO(I),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})();function P(z){return z.map(nt=>nt.split(",")).reduce((nt,it)=>nt.concat(it)).map(nt=>nt.trim())}const U={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},72318:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Wv:()=>p,w5:()=>m});var l=D(14085),k=D(54438),A=D(71985),G=D(21413),t=D(96354),C=D(5964),g=D(70152);let h=(()=>{class F{create(y){return typeof MutationObserver>"u"?null:new MutationObserver(y)}static{this.\u0275fac=function(T){return new(T||F)}}static{this.\u0275prov=k.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})(),_=(()=>{class F{constructor(y){this._mutationObserverFactory=y,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((y,T)=>this._cleanupObserver(T))}observe(y){const T=(0,l.i8)(y);return new A.c(I=>{const S=this._observeElement(T).pipe((0,t.T)(B=>B.filter(P=>!function f(F){if("characterData"===F.type&&F.target instanceof Comment)return!0;if("childList"===F.type){for(let M=0;M!!B.length)).subscribe(I);return()=>{S.unsubscribe(),this._unobserveElement(T)}})}_observeElement(y){if(this._observedElements.has(y))this._observedElements.get(y).count++;else{const T=new G.B,I=this._mutationObserverFactory.create(O=>T.next(O));I&&I.observe(y,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(y,{observer:I,stream:T,count:1})}return this._observedElements.get(y).stream}_unobserveElement(y){this._observedElements.has(y)&&(this._observedElements.get(y).count--,this._observedElements.get(y).count||this._cleanupObserver(y))}_cleanupObserver(y){if(this._observedElements.has(y)){const{observer:T,stream:I}=this._observedElements.get(y);T&&T.disconnect(),I.complete(),this._observedElements.delete(y)}}static{this.\u0275fac=function(T){return new(T||F)(k.KVO(h))}}static{this.\u0275prov=k.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})(),p=(()=>{class F{get disabled(){return this._disabled}set disabled(y){this._disabled=y,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(y){this._debounce=(0,l.OE)(y),this._subscribe()}constructor(y,T,I){this._contentObserver=y,this._elementRef=T,this._ngZone=I,this.event=new k.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const y=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?y.pipe((0,g.B)(this.debounce)):y).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(T){return new(T||F)(k.rXU(_),k.rXU(k.aKT),k.rXU(k.SKi))}}static{this.\u0275dir=k.FsC({type:F,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[k.Mj6.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",k.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[k.GFd]})}}return F})(),m=(()=>{class F{static{this.\u0275fac=function(T){return new(T||F)}}static{this.\u0275mod=k.$C({type:F})}static{this.\u0275inj=k.G2t({providers:[h]})}}return F})()},66969:(Rt,Tt,D)=>{"use strict";D.d(Tt,{WB:()=>Nt,$Q:()=>St,rW:()=>tt,hJ:()=>Ie,rR:()=>mt,Sf:()=>Y,z_:()=>be,yY:()=>J});var l=D(65478),k=D(60177),A=D(54438),G=D(14085),t=D(36860),C=D(5964),g=D(96697),f=D(56977),h=D(39974),_=D(54360),m=D(28203),F=D(76939),M=D(21413),y=D(18359),T=D(57786),I=D(67336);const O=(0,t.CZ)();class S{constructor(Yt,oe){this._viewportRuler=Yt,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=oe}attach(){}enable(){if(this._canBeEnabled()){const Yt=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Yt.style.left||"",this._previousHTMLStyles.top=Yt.style.top||"",Yt.style.left=(0,G.a1)(-this._previousScrollPosition.left),Yt.style.top=(0,G.a1)(-this._previousScrollPosition.top),Yt.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Yt=this._document.documentElement,_e=Yt.style,je=this._document.body.style,ve=_e.scrollBehavior||"",De=je.scrollBehavior||"";this._isEnabled=!1,_e.left=this._previousHTMLStyles.left,_e.top=this._previousHTMLStyles.top,Yt.classList.remove("cdk-global-scrollblock"),O&&(_e.scrollBehavior=je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),O&&(_e.scrollBehavior=ve,je.scrollBehavior=De)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const oe=this._document.body,_e=this._viewportRuler.getViewportSize();return oe.scrollHeight>_e.height||oe.scrollWidth>_e.width}}class P{constructor(Yt,oe,_e,je){this._scrollDispatcher=Yt,this._ngZone=oe,this._viewportRuler=_e,this._config=je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Yt){this._overlayRef=Yt}enable(){if(this._scrollSubscription)return;const Yt=this._scrollDispatcher.scrolled(0).pipe((0,C.p)(oe=>!oe||!this._overlayRef.overlayElement.contains(oe.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Yt.subscribe(()=>{const oe=this._viewportRuler.getViewportScrollPosition().top;Math.abs(oe-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Yt.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class U{enable(){}disable(){}attach(){}}function z(ae,Yt){return Yt.some(oe=>ae.bottomoe.bottom||ae.rightoe.right)}function nt(ae,Yt){return Yt.some(oe=>ae.topoe.bottom||ae.leftoe.right)}class it{constructor(Yt,oe,_e,je){this._scrollDispatcher=Yt,this._viewportRuler=oe,this._ngZone=_e,this._config=je,this._scrollSubscription=null}attach(Yt){this._overlayRef=Yt}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 oe=this._overlayRef.overlayElement.getBoundingClientRect(),{width:_e,height:je}=this._viewportRuler.getViewportSize();z(oe,[{width:_e,height:je,bottom:je,right:_e,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 rt=(()=>{class ae{constructor(oe,_e,je,ve){this._scrollDispatcher=oe,this._viewportRuler=_e,this._ngZone=je,this.noop=()=>new U,this.close=De=>new P(this._scrollDispatcher,this._ngZone,this._viewportRuler,De),this.block=()=>new S(this._viewportRuler,this._document),this.reposition=De=>new it(this._scrollDispatcher,this._viewportRuler,this._ngZone,De),this._document=ve}static{this.\u0275fac=function(_e){return new(_e||ae)(A.KVO(l.R),A.KVO(l.Xj),A.KVO(A.SKi),A.KVO(k.qQ))}}static{this.\u0275prov=A.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();class mt{constructor(Yt){if(this.scrollStrategy=new U,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Yt){const oe=Object.keys(Yt);for(const _e of oe)void 0!==Yt[_e]&&(this[_e]=Yt[_e])}}}class yt{constructor(Yt,oe){this.connectionPair=Yt,this.scrollableViewProperties=oe}}let dt=(()=>{class ae{constructor(oe){this._attachedOverlays=[],this._document=oe}ngOnDestroy(){this.detach()}add(oe){this.remove(oe),this._attachedOverlays.push(oe)}remove(oe){const _e=this._attachedOverlays.indexOf(oe);_e>-1&&this._attachedOverlays.splice(_e,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(_e){return new(_e||ae)(A.KVO(k.qQ))}}static{this.\u0275prov=A.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})(),ft=(()=>{class ae extends dt{constructor(oe,_e){super(oe),this._ngZone=_e,this._keydownListener=je=>{const ve=this._attachedOverlays;for(let De=ve.length-1;De>-1;De--)if(ve[De]._keydownEvents.observers.length>0){const Le=ve[De]._keydownEvents;this._ngZone?this._ngZone.run(()=>Le.next(je)):Le.next(je);break}}}add(oe){super.add(oe),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)}static{this.\u0275fac=function(_e){return new(_e||ae)(A.KVO(k.qQ),A.KVO(A.SKi,8))}}static{this.\u0275prov=A.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})(),L=(()=>{class ae extends dt{constructor(oe,_e,je){super(oe),this._platform=_e,this._ngZone=je,this._cursorStyleIsSet=!1,this._pointerDownListener=ve=>{this._pointerDownEventTarget=(0,t.Fb)(ve)},this._clickListener=ve=>{const De=(0,t.Fb)(ve),Le="click"===ve.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:De;this._pointerDownEventTarget=null;const Fn=this._attachedOverlays.slice();for(let Ln=Fn.length-1;Ln>-1;Ln--){const Qn=Fn[Ln];if(Qn._outsidePointerEvents.observers.length<1||!Qn.hasAttached())continue;if(Qn.overlayElement.contains(De)||Qn.overlayElement.contains(Le))break;const jn=Qn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>jn.next(ve)):jn.next(ve)}}}add(oe){if(super.add(oe),!this._isAttached){const _e=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(_e)):this._addEventListeners(_e),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=_e.style.cursor,_e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const oe=this._document.body;oe.removeEventListener("pointerdown",this._pointerDownListener,!0),oe.removeEventListener("click",this._clickListener,!0),oe.removeEventListener("auxclick",this._clickListener,!0),oe.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(oe.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(oe){oe.addEventListener("pointerdown",this._pointerDownListener,!0),oe.addEventListener("click",this._clickListener,!0),oe.addEventListener("auxclick",this._clickListener,!0),oe.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(_e){return new(_e||ae)(A.KVO(k.qQ),A.KVO(t.OD),A.KVO(A.SKi,8))}}static{this.\u0275prov=A.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})(),Y=(()=>{class ae{constructor(oe,_e){this._platform=_e,this._document=oe}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const oe="cdk-overlay-container";if(this._platform.isBrowser||(0,t.v8)()){const je=this._document.querySelectorAll(`.${oe}[platform="server"], .${oe}[platform="test"]`);for(let ve=0;vethis._backdropClick.next(jn),this._backdropTransitionendHandler=jn=>{this._disposeBackdrop(jn.target)},this._keydownEvents=new M.B,this._outsidePointerEvents=new M.B,je.scrollStrategy&&(this._scrollStrategy=je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Yt){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const oe=this._portalOutlet.attach(Yt);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.s)(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),"function"==typeof oe?.onDestroy&&oe.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),oe}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Yt=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Yt}dispose(){const Yt=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Yt&&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(Yt){Yt!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Yt,this.hasAttached()&&(Yt.attach(this),this.updatePosition()))}updateSize(Yt){this._config={...this._config,...Yt},this._updateElementSize()}setDirection(Yt){this._config={...this._config,direction:Yt},this._updateElementDirection()}addPanelClass(Yt){this._pane&&this._toggleClasses(this._pane,Yt,!0)}removePanelClass(Yt){this._pane&&this._toggleClasses(this._pane,Yt,!1)}getDirection(){const Yt=this._config.direction;return Yt?"string"==typeof Yt?Yt:Yt.value:"ltr"}updateScrollStrategy(Yt){Yt!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Yt,this.hasAttached()&&(Yt.attach(this),Yt.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Yt=this._pane.style;Yt.width=(0,G.a1)(this._config.width),Yt.height=(0,G.a1)(this._config.height),Yt.minWidth=(0,G.a1)(this._config.minWidth),Yt.minHeight=(0,G.a1)(this._config.minHeight),Yt.maxWidth=(0,G.a1)(this._config.maxWidth),Yt.maxHeight=(0,G.a1)(this._config.maxHeight)}_togglePointerEvents(Yt){this._pane.style.pointerEvents=Yt?"":"none"}_attachBackdrop(){const Yt="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Yt)})}):this._backdropElement.classList.add(Yt)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Yt=this._backdropElement;if(Yt){if(this._animationsDisabled)return void this._disposeBackdrop(Yt);Yt.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Yt.addEventListener("transitionend",this._backdropTransitionendHandler)}),Yt.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Yt)},500))}}_toggleClasses(Yt,oe,_e){const je=(0,G.FG)(oe||[]).filter(ve=>!!ve);je.length&&(_e?Yt.classList.add(...je):Yt.classList.remove(...je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Yt=this._ngZone.onStable.pipe((0,f.Q)((0,T.h)(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()),Yt.unsubscribe())})})}_disposeScrollStrategy(){const Yt=this._scrollStrategy;Yt&&(Yt.disable(),Yt.detach&&Yt.detach())}_disposeBackdrop(Yt){Yt&&(Yt.removeEventListener("click",this._backdropClickHandler),Yt.removeEventListener("transitionend",this._backdropTransitionendHandler),Yt.remove(),this._backdropElement===Yt&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const H="cdk-overlay-connected-position-bounding-box",K=/([A-Za-z%]+)$/;class tt{get positions(){return this._preferredPositions}constructor(Yt,oe,_e,je,ve){this._viewportRuler=oe,this._document=_e,this._platform=je,this._overlayContainer=ve,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new M.B,this._resizeSubscription=y.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Yt)}attach(Yt){this._validatePositions(),Yt.hostElement.classList.add(H),this._overlayRef=Yt,this._boundingBox=Yt.hostElement,this._pane=Yt.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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 Yt=this._originRect,oe=this._overlayRect,_e=this._viewportRect,je=this._containerRect,ve=[];let De;for(let Le of this._preferredPositions){let Fn=this._getOriginPoint(Yt,je,Le),Ln=this._getOverlayPoint(Fn,oe,Le),Qn=this._getOverlayFit(Ln,oe,_e,Le);if(Qn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Le,Fn);this._canFitWithFlexibleDimensions(Qn,Ln,_e)?ve.push({position:Le,origin:Fn,overlayRect:oe,boundingBoxRect:this._calculateBoundingBoxRect(Fn,Le)}):(!De||De.overlayFit.visibleAreaFn&&(Fn=Qn,Le=Ln)}return this._isPushed=!1,void this._applyPosition(Le.position,Le.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(De.position,De.originPoint);this._applyPosition(De.position,De.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ut(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Yt=this._lastPosition;if(Yt){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const oe=this._getOriginPoint(this._originRect,this._containerRect,Yt);this._applyPosition(Yt,oe)}else this.apply()}withScrollableContainers(Yt){return this._scrollables=Yt,this}withPositions(Yt){return this._preferredPositions=Yt,-1===Yt.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Yt){return this._viewportMargin=Yt,this}withFlexibleDimensions(Yt=!0){return this._hasFlexibleDimensions=Yt,this}withGrowAfterOpen(Yt=!0){return this._growAfterOpen=Yt,this}withPush(Yt=!0){return this._canPush=Yt,this}withLockedPosition(Yt=!0){return this._positionLocked=Yt,this}setOrigin(Yt){return this._origin=Yt,this}withDefaultOffsetX(Yt){return this._offsetX=Yt,this}withDefaultOffsetY(Yt){return this._offsetY=Yt,this}withTransformOriginOn(Yt){return this._transformOriginSelector=Yt,this}_getOriginPoint(Yt,oe,_e){let je,ve;if("center"==_e.originX)je=Yt.left+Yt.width/2;else{const De=this._isRtl()?Yt.right:Yt.left,Le=this._isRtl()?Yt.left:Yt.right;je="start"==_e.originX?De:Le}return oe.left<0&&(je-=oe.left),ve="center"==_e.originY?Yt.top+Yt.height/2:"top"==_e.originY?Yt.top:Yt.bottom,oe.top<0&&(ve-=oe.top),{x:je,y:ve}}_getOverlayPoint(Yt,oe,_e){let je,ve;return je="center"==_e.overlayX?-oe.width/2:"start"===_e.overlayX?this._isRtl()?-oe.width:0:this._isRtl()?0:-oe.width,ve="center"==_e.overlayY?-oe.height/2:"top"==_e.overlayY?0:-oe.height,{x:Yt.x+je,y:Yt.y+ve}}_getOverlayFit(Yt,oe,_e,je){const ve=xt(oe);let{x:De,y:Le}=Yt,Fn=this._getOffset(je,"x"),Ln=this._getOffset(je,"y");Fn&&(De+=Fn),Ln&&(Le+=Ln);let mi=0-Le,ui=Le+ve.height-_e.height,li=this._subtractOverflows(ve.width,0-De,De+ve.width-_e.width),Jn=this._subtractOverflows(ve.height,mi,ui),Di=li*Jn;return{visibleArea:Di,isCompletelyWithinViewport:ve.width*ve.height===Di,fitsInViewportVertically:Jn===ve.height,fitsInViewportHorizontally:li==ve.width}}_canFitWithFlexibleDimensions(Yt,oe,_e){if(this._hasFlexibleDimensions){const je=_e.bottom-oe.y,ve=_e.right-oe.x,De=_t(this._overlayRef.getConfig().minHeight),Le=_t(this._overlayRef.getConfig().minWidth);return(Yt.fitsInViewportVertically||null!=De&&De<=je)&&(Yt.fitsInViewportHorizontally||null!=Le&&Le<=ve)}return!1}_pushOverlayOnScreen(Yt,oe,_e){if(this._previousPushAmount&&this._positionLocked)return{x:Yt.x+this._previousPushAmount.x,y:Yt.y+this._previousPushAmount.y};const je=xt(oe),ve=this._viewportRect,De=Math.max(Yt.x+je.width-ve.width,0),Le=Math.max(Yt.y+je.height-ve.height,0),Fn=Math.max(ve.top-_e.top-Yt.y,0),Ln=Math.max(ve.left-_e.left-Yt.x,0);let Qn=0,jn=0;return Qn=je.width<=ve.width?Ln||-De:Yt.xli&&!this._isInitialRender&&!this._growAfterOpen&&(De=Yt.y-li/2)}if("end"===oe.overlayX&&!je||"start"===oe.overlayX&&je)mi=_e.width-Yt.x+2*this._viewportMargin,Qn=Yt.x-this._viewportMargin;else if("start"===oe.overlayX&&!je||"end"===oe.overlayX&&je)jn=Yt.x,Qn=_e.right-Yt.x;else{const ui=Math.min(_e.right-Yt.x+_e.left,Yt.x),li=this._lastBoundingBoxSize.width;Qn=2*ui,jn=Yt.x-ui,Qn>li&&!this._isInitialRender&&!this._growAfterOpen&&(jn=Yt.x-li/2)}return{top:De,left:jn,bottom:Le,right:mi,width:Qn,height:ve}}_setBoundingBoxStyles(Yt,oe){const _e=this._calculateBoundingBoxRect(Yt,oe);!this._isInitialRender&&!this._growAfterOpen&&(_e.height=Math.min(_e.height,this._lastBoundingBoxSize.height),_e.width=Math.min(_e.width,this._lastBoundingBoxSize.width));const je={};if(this._hasExactPosition())je.top=je.left="0",je.bottom=je.right=je.maxHeight=je.maxWidth="",je.width=je.height="100%";else{const ve=this._overlayRef.getConfig().maxHeight,De=this._overlayRef.getConfig().maxWidth;je.height=(0,G.a1)(_e.height),je.top=(0,G.a1)(_e.top),je.bottom=(0,G.a1)(_e.bottom),je.width=(0,G.a1)(_e.width),je.left=(0,G.a1)(_e.left),je.right=(0,G.a1)(_e.right),je.alignItems="center"===oe.overlayX?"center":"end"===oe.overlayX?"flex-end":"flex-start",je.justifyContent="center"===oe.overlayY?"center":"bottom"===oe.overlayY?"flex-end":"flex-start",ve&&(je.maxHeight=(0,G.a1)(ve)),De&&(je.maxWidth=(0,G.a1)(De))}this._lastBoundingBoxSize=_e,ut(this._boundingBox.style,je)}_resetBoundingBoxStyles(){ut(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ut(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Yt,oe){const _e={},je=this._hasExactPosition(),ve=this._hasFlexibleDimensions,De=this._overlayRef.getConfig();if(je){const Qn=this._viewportRuler.getViewportScrollPosition();ut(_e,this._getExactOverlayY(oe,Yt,Qn)),ut(_e,this._getExactOverlayX(oe,Yt,Qn))}else _e.position="static";let Le="",Fn=this._getOffset(oe,"x"),Ln=this._getOffset(oe,"y");Fn&&(Le+=`translateX(${Fn}px) `),Ln&&(Le+=`translateY(${Ln}px)`),_e.transform=Le.trim(),De.maxHeight&&(je?_e.maxHeight=(0,G.a1)(De.maxHeight):ve&&(_e.maxHeight="")),De.maxWidth&&(je?_e.maxWidth=(0,G.a1)(De.maxWidth):ve&&(_e.maxWidth="")),ut(this._pane.style,_e)}_getExactOverlayY(Yt,oe,_e){let je={top:"",bottom:""},ve=this._getOverlayPoint(oe,this._overlayRect,Yt);return this._isPushed&&(ve=this._pushOverlayOnScreen(ve,this._overlayRect,_e)),"bottom"===Yt.overlayY?je.bottom=this._document.documentElement.clientHeight-(ve.y+this._overlayRect.height)+"px":je.top=(0,G.a1)(ve.y),je}_getExactOverlayX(Yt,oe,_e){let De,je={left:"",right:""},ve=this._getOverlayPoint(oe,this._overlayRect,Yt);return this._isPushed&&(ve=this._pushOverlayOnScreen(ve,this._overlayRect,_e)),De=this._isRtl()?"end"===Yt.overlayX?"left":"right":"end"===Yt.overlayX?"right":"left","right"===De?je.right=this._document.documentElement.clientWidth-(ve.x+this._overlayRect.width)+"px":je.left=(0,G.a1)(ve.x),je}_getScrollVisibility(){const Yt=this._getOriginRect(),oe=this._pane.getBoundingClientRect(),_e=this._scrollables.map(je=>je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:nt(Yt,_e),isOriginOutsideView:z(Yt,_e),isOverlayClipped:nt(oe,_e),isOverlayOutsideView:z(oe,_e)}}_subtractOverflows(Yt,...oe){return oe.reduce((_e,je)=>_e-Math.max(je,0),Yt)}_getNarrowedViewportRect(){const Yt=this._document.documentElement.clientWidth,oe=this._document.documentElement.clientHeight,_e=this._viewportRuler.getViewportScrollPosition();return{top:_e.top+this._viewportMargin,left:_e.left+this._viewportMargin,right:_e.left+Yt-this._viewportMargin,bottom:_e.top+oe-this._viewportMargin,width:Yt-2*this._viewportMargin,height:oe-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Yt,oe){return"x"===oe?null==Yt.offsetX?this._offsetX:Yt.offsetX:null==Yt.offsetY?this._offsetY:Yt.offsetY}_validatePositions(){}_addPanelClasses(Yt){this._pane&&(0,G.FG)(Yt).forEach(oe=>{""!==oe&&-1===this._appliedPanelClasses.indexOf(oe)&&(this._appliedPanelClasses.push(oe),this._pane.classList.add(oe))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Yt=>{this._pane.classList.remove(Yt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Yt=this._origin;if(Yt instanceof A.aKT)return Yt.nativeElement.getBoundingClientRect();if(Yt instanceof Element)return Yt.getBoundingClientRect();const oe=Yt.width||0,_e=Yt.height||0;return{top:Yt.y,bottom:Yt.y+_e,left:Yt.x,right:Yt.x+oe,height:_e,width:oe}}}function ut(ae,Yt){for(let oe in Yt)Yt.hasOwnProperty(oe)&&(ae[oe]=Yt[oe]);return ae}function _t(ae){if("number"!=typeof ae&&null!=ae){const[Yt,oe]=ae.split(K);return oe&&"px"!==oe?null:parseFloat(Yt)}return ae||null}function xt(ae){return{top:Math.floor(ae.top),right:Math.floor(ae.right),bottom:Math.floor(ae.bottom),left:Math.floor(ae.left),width:Math.floor(ae.width),height:Math.floor(ae.height)}}const ot="cdk-global-overlay-wrapper";class Q{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Yt){const oe=Yt.getConfig();this._overlayRef=Yt,this._width&&!oe.width&&Yt.updateSize({width:this._width}),this._height&&!oe.height&&Yt.updateSize({height:this._height}),Yt.hostElement.classList.add(ot),this._isDisposed=!1}top(Yt=""){return this._bottomOffset="",this._topOffset=Yt,this._alignItems="flex-start",this}left(Yt=""){return this._xOffset=Yt,this._xPosition="left",this}bottom(Yt=""){return this._topOffset="",this._bottomOffset=Yt,this._alignItems="flex-end",this}right(Yt=""){return this._xOffset=Yt,this._xPosition="right",this}start(Yt=""){return this._xOffset=Yt,this._xPosition="start",this}end(Yt=""){return this._xOffset=Yt,this._xPosition="end",this}width(Yt=""){return this._overlayRef?this._overlayRef.updateSize({width:Yt}):this._width=Yt,this}height(Yt=""){return this._overlayRef?this._overlayRef.updateSize({height:Yt}):this._height=Yt,this}centerHorizontally(Yt=""){return this.left(Yt),this._xPosition="center",this}centerVertically(Yt=""){return this.top(Yt),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Yt=this._overlayRef.overlayElement.style,oe=this._overlayRef.hostElement.style,_e=this._overlayRef.getConfig(),{width:je,height:ve,maxWidth:De,maxHeight:Le}=_e,Fn=!("100%"!==je&&"100vw"!==je||De&&"100%"!==De&&"100vw"!==De),Ln=!("100%"!==ve&&"100vh"!==ve||Le&&"100%"!==Le&&"100vh"!==Le),Qn=this._xPosition,jn=this._xOffset,mi="rtl"===this._overlayRef.getConfig().direction;let ui="",li="",Jn="";Fn?Jn="flex-start":"center"===Qn?(Jn="center",mi?li=jn:ui=jn):mi?"left"===Qn||"end"===Qn?(Jn="flex-end",ui=jn):("right"===Qn||"start"===Qn)&&(Jn="flex-start",li=jn):"left"===Qn||"start"===Qn?(Jn="flex-start",ui=jn):("right"===Qn||"end"===Qn)&&(Jn="flex-end",li=jn),Yt.position=this._cssPosition,Yt.marginLeft=Fn?"0":ui,Yt.marginTop=Ln?"0":this._topOffset,Yt.marginBottom=this._bottomOffset,Yt.marginRight=Fn?"0":li,oe.justifyContent=Jn,oe.alignItems=Ln?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Yt=this._overlayRef.overlayElement.style,oe=this._overlayRef.hostElement,_e=oe.style;oe.classList.remove(ot),_e.justifyContent=_e.alignItems=Yt.marginTop=Yt.marginBottom=Yt.marginLeft=Yt.marginRight=Yt.position="",this._overlayRef=null,this._isDisposed=!0}}let kt=(()=>{class ae{constructor(oe,_e,je,ve){this._viewportRuler=oe,this._document=_e,this._platform=je,this._overlayContainer=ve}global(){return new Q}flexibleConnectedTo(oe){return new tt(oe,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(_e){return new(_e||ae)(A.KVO(l.Xj),A.KVO(k.qQ),A.KVO(t.OD),A.KVO(Y))}}static{this.\u0275prov=A.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})(),Xt=0,Ie=(()=>{class ae{constructor(oe,_e,je,ve,De,Le,Fn,Ln,Qn,jn,mi,ui){this.scrollStrategies=oe,this._overlayContainer=_e,this._componentFactoryResolver=je,this._positionBuilder=ve,this._keyboardDispatcher=De,this._injector=Le,this._ngZone=Fn,this._document=Ln,this._directionality=Qn,this._location=jn,this._outsideClickDispatcher=mi,this._animationsModuleType=ui}create(oe){const _e=this._createHostElement(),je=this._createPaneElement(_e),ve=this._createPortalOutlet(je),De=new mt(oe);return De.direction=De.direction||this._directionality.value,new J(ve,_e,je,De,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(oe){const _e=this._document.createElement("div");return _e.id="cdk-overlay-"+Xt++,_e.classList.add("cdk-overlay-pane"),oe.appendChild(_e),_e}_createHostElement(){const oe=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(oe),oe}_createPortalOutlet(oe){return this._appRef||(this._appRef=this._injector.get(A.o8S)),new F.aI(oe,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(_e){return new(_e||ae)(A.KVO(rt),A.KVO(Y),A.KVO(A.OM3),A.KVO(kt),A.KVO(ft),A.KVO(A.zZn),A.KVO(A.SKi),A.KVO(k.qQ),A.KVO(m.dS),A.KVO(k.aZ),A.KVO(L),A.KVO(A.bc$,8))}}static{this.\u0275prov=A.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();const Qt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Bt=new A.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ae=(0,A.WQX)(Ie);return()=>ae.scrollStrategies.reposition()}});let St=(()=>{class ae{constructor(oe){this.elementRef=oe}static{this.\u0275fac=function(_e){return new(_e||ae)(A.rXU(A.aKT))}}static{this.\u0275dir=A.FsC({type:ae,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return ae})(),Nt=(()=>{class ae{get offsetX(){return this._offsetX}set offsetX(oe){this._offsetX=oe,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(oe){this._offsetY=oe,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(oe){this._disposeOnNavigation=oe}constructor(oe,_e,je,ve,De){this._overlay=oe,this._dir=De,this._backdropSubscription=y.yU.EMPTY,this._attachSubscription=y.yU.EMPTY,this._detachSubscription=y.yU.EMPTY,this._positionSubscription=y.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,A.WQX)(A.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new A.bkB,this.positionChange=new A.bkB,this.attach=new A.bkB,this.detach=new A.bkB,this.overlayKeydown=new A.bkB,this.overlayOutsideClick=new A.bkB,this._templatePortal=new F.VA(_e,je),this._scrollStrategyFactory=ve,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(oe){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),oe.origin&&this.open&&this._position.apply()),oe.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Qt);const oe=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=oe.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=oe.detachments().subscribe(()=>this.detach.emit()),oe.keydownEvents().subscribe(_e=>{this.overlayKeydown.next(_e),_e.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(_e)&&(_e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(_e=>{const je=this._getOriginElement(),ve=(0,t.Fb)(_e);(!je||je!==ve&&!je.contains(ve))&&this.overlayOutsideClick.next(_e)})}_buildConfig(){const oe=this._position=this.positionStrategy||this._createPositionStrategy(),_e=new mt({direction:this._dir,positionStrategy:oe,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(_e.width=this.width),(this.height||0===this.height)&&(_e.height=this.height),(this.minWidth||0===this.minWidth)&&(_e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(_e.minHeight=this.minHeight),this.backdropClass&&(_e.backdropClass=this.backdropClass),this.panelClass&&(_e.panelClass=this.panelClass),_e}_updatePositionStrategy(oe){const _e=this.positions.map(je=>({originX:je.originX,originY:je.originY,overlayX:je.overlayX,overlayY:je.overlayY,offsetX:je.offsetX||this.offsetX,offsetY:je.offsetY||this.offsetY,panelClass:je.panelClass||void 0}));return oe.setOrigin(this._getOrigin()).withPositions(_e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const oe=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(oe),oe}_getOrigin(){return this.origin instanceof St?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof St?this.origin.elementRef.nativeElement:this.origin instanceof A.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(oe=>{this.backdropClick.emit(oe)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function p(ae,Yt=!1){return(0,h.N)((oe,_e)=>{let je=0;oe.subscribe((0,_._)(_e,ve=>{const De=ae(ve,je++);(De||Yt)&&_e.next(ve),!De&&_e.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(oe=>{this._ngZone.run(()=>this.positionChange.emit(oe)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(_e){return new(_e||ae)(A.rXU(Ie),A.rXU(A.C4Q),A.rXU(A.c1b),A.rXU(Bt),A.rXU(m.dS,8))}}static{this.\u0275dir=A.FsC({type:ae,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[A.Mj6.None,"cdkConnectedOverlayOrigin","origin"],positions:[A.Mj6.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[A.Mj6.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[A.Mj6.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[A.Mj6.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[A.Mj6.None,"cdkConnectedOverlayWidth","width"],height:[A.Mj6.None,"cdkConnectedOverlayHeight","height"],minWidth:[A.Mj6.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[A.Mj6.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[A.Mj6.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[A.Mj6.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[A.Mj6.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[A.Mj6.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[A.Mj6.None,"cdkConnectedOverlayOpen","open"],disableClose:[A.Mj6.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[A.Mj6.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[A.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",A.L39],lockPosition:[A.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",A.L39],flexibleDimensions:[A.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",A.L39],growAfterOpen:[A.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",A.L39],push:[A.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",A.L39],disposeOnNavigation:[A.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",A.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[A.GFd,A.OA$]})}}return ae})();const se={provide:Bt,deps:[Ie],useFactory:function Jt(ae){return()=>ae.scrollStrategies.reposition()}};let be=(()=>{class ae{static{this.\u0275fac=function(_e){return new(_e||ae)}}static{this.\u0275mod=A.$C({type:ae})}static{this.\u0275inj=A.G2t({providers:[Ie,se],imports:[m.jI,F.jc,l.E9,l.E9]})}}return ae})()},36860:(Rt,Tt,D)=>{"use strict";D.d(Tt,{BD:()=>T,BQ:()=>p,CZ:()=>y,Fb:()=>P,KT:()=>S,MU:()=>f,OD:()=>G,r5:()=>m,v8:()=>U,vc:()=>B});var l=D(54438),k=D(60177);let A;try{A=typeof Intl<"u"&&Intl.v8BreakIterator}catch{A=!1}let C,G=(()=>{class z{constructor(it){this._platformId=it,this.isBrowser=this._platformId?(0,k.UE)(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&&!A)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(rt){return new(rt||z)(l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})();const g=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(g),C;let z=document.createElement("input");return C=new Set(g.filter(nt=>(z.setAttribute("type",nt),z.type===nt))),C}let h;function p(z){return function _(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?z:!!z.capture}var m=function(z){return z[z.NORMAL=0]="NORMAL",z[z.NEGATED=1]="NEGATED",z[z.INVERTED=2]="INVERTED",z}(m||{});let F,M,I;function y(){if(null==M){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return M=!1,M;if("scrollBehavior"in document.documentElement.style)M=!0;else{const z=Element.prototype.scrollTo;M=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return M}function T(){if("object"!=typeof document||!document)return m.NORMAL;if(null==F){const z=document.createElement("div"),nt=z.style;z.dir="rtl",nt.width="1px",nt.overflow="auto",nt.visibility="hidden",nt.pointerEvents="none",nt.position="absolute";const it=document.createElement("div"),rt=it.style;rt.width="2px",rt.height="1px",z.appendChild(it),document.body.appendChild(z),F=m.NORMAL,0===z.scrollLeft&&(z.scrollLeft=1,F=0===z.scrollLeft?m.NEGATED:m.INVERTED),z.remove()}return F}function S(z){if(function O(){if(null==I){const z=typeof document<"u"?document.head:null;I=!(!z||!z.createShadowRoot&&!z.attachShadow)}return I}()){const nt=z.getRootNode?z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&nt instanceof ShadowRoot)return nt}return null}function B(){let z=typeof document<"u"&&document?document.activeElement:null;for(;z&&z.shadowRoot;){const nt=z.shadowRoot.activeElement;if(nt===z)break;z=nt}return z}function P(z){return z.composedPath?z.composedPath()[0]:z.target}function U(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},76939:(Rt,Tt,D)=>{"use strict";D.d(Tt,{A8:()=>_,I3:()=>S,VA:()=>p,aI:()=>y,bV:()=>I,jc:()=>P,lb:()=>F});var l=D(54438),k=D(60177);class h{attach(nt){return this._attachedHost=nt,nt.attach(this)}detach(){let nt=this._attachedHost;null!=nt&&(this._attachedHost=null,nt.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(nt){this._attachedHost=nt}}class _ extends h{constructor(nt,it,rt,mt,lt){super(),this.component=nt,this.viewContainerRef=it,this.injector=rt,this.componentFactoryResolver=mt,this.projectableNodes=lt}}class p extends h{constructor(nt,it,rt,mt){super(),this.templateRef=nt,this.viewContainerRef=it,this.context=rt,this.injector=mt}get origin(){return this.templateRef.elementRef}attach(nt,it=this.context){return this.context=it,super.attach(nt)}detach(){return this.context=void 0,super.detach()}}class m extends h{constructor(nt){super(),this.element=nt instanceof l.aKT?nt.nativeElement:nt}}class F{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(nt){return nt instanceof _?(this._attachedPortal=nt,this.attachComponentPortal(nt)):nt instanceof p?(this._attachedPortal=nt,this.attachTemplatePortal(nt)):this.attachDomPortal&&nt instanceof m?(this._attachedPortal=nt,this.attachDomPortal(nt)):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(nt){this._disposeFn=nt}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class y extends F{constructor(nt,it,rt,mt,lt){super(),this.outletElement=nt,this._componentFactoryResolver=it,this._appRef=rt,this._defaultInjector=mt,this.attachDomPortal=ht=>{const yt=ht.element,wt=this._document.createComment("dom-portal");yt.parentNode.insertBefore(wt,yt),this.outletElement.appendChild(yt),this._attachedPortal=ht,super.setDisposeFn(()=>{wt.parentNode&&wt.parentNode.replaceChild(yt,wt)})},this._document=lt}attachComponentPortal(nt){const rt=(nt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(nt.component);let mt;return nt.viewContainerRef?(mt=nt.viewContainerRef.createComponent(rt,nt.viewContainerRef.length,nt.injector||nt.viewContainerRef.injector,nt.projectableNodes||void 0),this.setDisposeFn(()=>mt.destroy())):(mt=rt.create(nt.injector||this._defaultInjector||l.zZn.NULL),this._appRef.attachView(mt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(mt.hostView),mt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(mt)),this._attachedPortal=nt,mt}attachTemplatePortal(nt){let it=nt.viewContainerRef,rt=it.createEmbeddedView(nt.templateRef,nt.context,{injector:nt.injector});return rt.rootNodes.forEach(mt=>this.outletElement.appendChild(mt)),rt.detectChanges(),this.setDisposeFn(()=>{let mt=it.indexOf(rt);-1!==mt&&it.remove(mt)}),this._attachedPortal=nt,rt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(nt){return nt.hostView.rootNodes[0]}}let I=(()=>{class z extends p{constructor(it,rt){super(it,rt)}static{this.\u0275fac=function(rt){return new(rt||z)(l.rXU(l.C4Q),l.rXU(l.c1b))}}static{this.\u0275dir=l.FsC({type:z,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[l.Vt3]})}}return z})(),S=(()=>{class z extends F{constructor(it,rt,mt){super(),this._componentFactoryResolver=it,this._viewContainerRef=rt,this._isInitialized=!1,this.attached=new l.bkB,this.attachDomPortal=lt=>{const ht=lt.element,yt=this._document.createComment("dom-portal");lt.setAttachedHost(this),ht.parentNode.insertBefore(yt,ht),this._getRootNode().appendChild(ht),this._attachedPortal=lt,super.setDisposeFn(()=>{yt.parentNode&&yt.parentNode.replaceChild(ht,yt)})},this._document=mt}get portal(){return this._attachedPortal}set portal(it){this.hasAttached()&&!it&&!this._isInitialized||(this.hasAttached()&&super.detach(),it&&super.attach(it),this._attachedPortal=it||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(it){it.setAttachedHost(this);const rt=null!=it.viewContainerRef?it.viewContainerRef:this._viewContainerRef,lt=(it.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(it.component),ht=rt.createComponent(lt,rt.length,it.injector||rt.injector,it.projectableNodes||void 0);return rt!==this._viewContainerRef&&this._getRootNode().appendChild(ht.hostView.rootNodes[0]),super.setDisposeFn(()=>ht.destroy()),this._attachedPortal=it,this._attachedRef=ht,this.attached.emit(ht),ht}attachTemplatePortal(it){it.setAttachedHost(this);const rt=this._viewContainerRef.createEmbeddedView(it.templateRef,it.context,{injector:it.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=it,this._attachedRef=rt,this.attached.emit(rt),rt}_getRootNode(){const it=this._viewContainerRef.element.nativeElement;return it.nodeType===it.ELEMENT_NODE?it:it.parentNode}static{this.\u0275fac=function(rt){return new(rt||z)(l.rXU(l.OM3),l.rXU(l.c1b),l.rXU(k.qQ))}}static{this.\u0275dir=l.FsC({type:z,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[l.Mj6.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[l.Vt3]})}}return z})(),P=(()=>{class z{static{this.\u0275fac=function(rt){return new(rt||z)}}static{this.\u0275mod=l.$C({type:z})}static{this.\u0275inj=l.G2t({})}}return z})()},65478:(Rt,Tt,D)=>{"use strict";D.d(Tt,{E9:()=>Y,Gj:()=>L,R:()=>U,Xj:()=>it,uv:()=>z});var l=D(14085),k=D(54438),A=D(21413),G=D(7673),t=D(71985),C=D(33726),h=(D(30536),D(25007),D(13798)),_=D(5964),p=D(56977),m=D(36860),F=D(60177),M=D(28203);let U=(()=>{class J{constructor(K,tt,ut){this._ngZone=K,this._platform=tt,this._scrolled=new A.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ut}register(K){this.scrollContainers.has(K)||this.scrollContainers.set(K,K.elementScrolled().subscribe(()=>this._scrolled.next(K)))}deregister(K){const tt=this.scrollContainers.get(K);tt&&(tt.unsubscribe(),this.scrollContainers.delete(K))}scrolled(K=20){return this._platform.isBrowser?new t.c(tt=>{this._globalSubscription||this._addGlobalListener();const ut=K>0?this._scrolled.pipe((0,h.Z)(K)).subscribe(tt):this._scrolled.subscribe(tt);return this._scrolledCount++,()=>{ut.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,G.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((K,tt)=>this.deregister(tt)),this._scrolled.complete()}ancestorScrolled(K,tt){const ut=this.getAncestorScrollContainers(K);return this.scrolled(tt).pipe((0,_.p)(_t=>!_t||ut.indexOf(_t)>-1))}getAncestorScrollContainers(K){const tt=[];return this.scrollContainers.forEach((ut,_t)=>{this._scrollableContainsElement(_t,K)&&tt.push(_t)}),tt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(K,tt){let ut=(0,l.i8)(tt),_t=K.getElementRef().nativeElement;do{if(ut==_t)return!0}while(ut=ut.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const K=this._getWindow();return(0,C.R)(K.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(tt){return new(tt||J)(k.KVO(k.SKi),k.KVO(m.OD),k.KVO(F.qQ,8))}}static{this.\u0275prov=k.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})(),z=(()=>{class J{constructor(K,tt,ut,_t){this.elementRef=K,this.scrollDispatcher=tt,this.ngZone=ut,this.dir=_t,this._destroyed=new A.B,this._elementScrolled=new t.c(xt=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,p.Q)(this._destroyed)).subscribe(xt)))}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(K){const tt=this.elementRef.nativeElement,ut=this.dir&&"rtl"==this.dir.value;null==K.left&&(K.left=ut?K.end:K.start),null==K.right&&(K.right=ut?K.start:K.end),null!=K.bottom&&(K.top=tt.scrollHeight-tt.clientHeight-K.bottom),ut&&(0,m.BD)()!=m.r5.NORMAL?(null!=K.left&&(K.right=tt.scrollWidth-tt.clientWidth-K.left),(0,m.BD)()==m.r5.INVERTED?K.left=K.right:(0,m.BD)()==m.r5.NEGATED&&(K.left=K.right?-K.right:K.right)):null!=K.right&&(K.left=tt.scrollWidth-tt.clientWidth-K.right),this._applyScrollToOptions(K)}_applyScrollToOptions(K){const tt=this.elementRef.nativeElement;(0,m.CZ)()?tt.scrollTo(K):(null!=K.top&&(tt.scrollTop=K.top),null!=K.left&&(tt.scrollLeft=K.left))}measureScrollOffset(K){const tt="left",_t=this.elementRef.nativeElement;if("top"==K)return _t.scrollTop;if("bottom"==K)return _t.scrollHeight-_t.clientHeight-_t.scrollTop;const xt=this.dir&&"rtl"==this.dir.value;return"start"==K?K=xt?"right":tt:"end"==K&&(K=xt?tt:"right"),xt&&(0,m.BD)()==m.r5.INVERTED?K==tt?_t.scrollWidth-_t.clientWidth-_t.scrollLeft:_t.scrollLeft:xt&&(0,m.BD)()==m.r5.NEGATED?K==tt?_t.scrollLeft+_t.scrollWidth-_t.clientWidth:-_t.scrollLeft:K==tt?_t.scrollLeft:_t.scrollWidth-_t.clientWidth-_t.scrollLeft}static{this.\u0275fac=function(tt){return new(tt||J)(k.rXU(k.aKT),k.rXU(U),k.rXU(k.SKi),k.rXU(M.dS,8))}}static{this.\u0275dir=k.FsC({type:J,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return J})(),it=(()=>{class J{constructor(K,tt,ut){this._platform=K,this._change=new A.B,this._changeListener=_t=>{this._change.next(_t)},this._document=ut,tt.runOutsideAngular(()=>{if(K.isBrowser){const _t=this._getWindow();_t.addEventListener("resize",this._changeListener),_t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const K=this._getWindow();K.removeEventListener("resize",this._changeListener),K.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const K={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),K}getViewportRect(){const K=this.getViewportScrollPosition(),{width:tt,height:ut}=this.getViewportSize();return{top:K.top,left:K.left,bottom:K.top+ut,right:K.left+tt,height:ut,width:tt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const K=this._document,tt=this._getWindow(),ut=K.documentElement,_t=ut.getBoundingClientRect();return{top:-_t.top||K.body.scrollTop||tt.scrollY||ut.scrollTop||0,left:-_t.left||K.body.scrollLeft||tt.scrollX||ut.scrollLeft||0}}change(K=20){return K>0?this._change.pipe((0,h.Z)(K)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const K=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:K.innerWidth,height:K.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(tt){return new(tt||J)(k.KVO(m.OD),k.KVO(k.SKi),k.KVO(F.qQ,8))}}static{this.\u0275prov=k.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})(),L=(()=>{class J{static{this.\u0275fac=function(tt){return new(tt||J)}}static{this.\u0275mod=k.$C({type:J})}static{this.\u0275inj=k.G2t({})}}return J})(),Y=(()=>{class J{static{this.\u0275fac=function(tt){return new(tt||J)}}static{this.\u0275mod=k.$C({type:J})}static{this.\u0275inj=k.G2t({imports:[M.jI,L,M.jI,L]})}}return J})()},97768:(Rt,Tt,D)=>{"use strict";D.d(Tt,{FK:()=>P,Up:()=>S,VI:()=>O,nb:()=>F,oX:()=>m,uY:()=>U,v5:()=>B,x8:()=>I});var l=D(18617),k=D(28203),A=D(67336),G=D(54438),t=D(36860),C=D(21413),g=D(7673),f=D(99172),h=D(56977);const _=["*"];function p(z,nt){1&z&&G.SdG(0)}let m=(()=>{class z{constructor(it){this._elementRef=it}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(rt){return new(rt||z)(G.rXU(G.aKT))}}static{this.\u0275dir=G.FsC({type:z,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return z})(),F=(()=>{class z{constructor(it){this.template=it}static{this.\u0275fac=function(rt){return new(rt||z)(G.rXU(G.C4Q))}}static{this.\u0275dir=G.FsC({type:z,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return z})(),M=0;const I=new G.nKC("STEPPER_GLOBAL_OPTIONS");let O=(()=>{class z{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(it){this._completedOverride=it}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(it){this._customError=it}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(it,rt){this._stepper=it,this.interacted=!1,this.interactedStream=new G.bkB,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=rt||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static{this.\u0275fac=function(rt){return new(rt||z)(G.rXU((0,G.Rfq)(()=>S)),G.rXU(I,8))}}static{this.\u0275cmp=G.VBU({type:z,selectors:[["cdk-step"]],contentQueries:function(rt,mt,lt){if(1&rt&&G.wni(lt,F,5),2&rt){let ht;G.mGM(ht=G.lsd())&&(mt.stepLabel=ht.first)}},viewQuery:function(rt,mt){if(1&rt&&G.GBs(G.C4Q,7),2&rt){let lt;G.mGM(lt=G.lsd())&&(mt.content=lt.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[G.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[G.Mj6.None,"aria-labelledby","ariaLabelledby"],state:"state",editable:[G.Mj6.HasDecoratorInputTransform,"editable","editable",G.L39],optional:[G.Mj6.HasDecoratorInputTransform,"optional","optional",G.L39],completed:[G.Mj6.HasDecoratorInputTransform,"completed","completed",G.L39],hasError:[G.Mj6.HasDecoratorInputTransform,"hasError","hasError",G.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[G.GFd,G.OA$,G.aNF],ngContentSelectors:_,decls:1,vars:0,template:function(rt,mt){1&rt&&(G.NAR(),G.DNE(0,p,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return z})(),S=(()=>{class z{get selectedIndex(){return this._selectedIndex}set selectedIndex(it){this.steps&&this._steps?(this._isValidIndex(it),this.selected?._markAsInteracted(),this._selectedIndex!==it&&!this._anyControlsInvalidOrPending(it)&&(it>=this._selectedIndex||this.steps.toArray()[it].editable)&&this._updateSelectedItemIndex(it)):this._selectedIndex=it}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(it){this.selectedIndex=it&&this.steps?this.steps.toArray().indexOf(it):-1}get orientation(){return this._orientation}set orientation(it){this._orientation=it,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===it)}constructor(it,rt,mt){this._dir=it,this._changeDetectorRef=rt,this._elementRef=mt,this._destroyed=new C.B,this.steps=new G.rOR,this._sortedHeaders=new G.rOR,this.linear=!1,this._selectedIndex=0,this.selectionChange=new G.bkB,this.selectedIndexChange=new G.bkB,this._orientation="horizontal",this._groupId=M++}ngAfterContentInit(){this._steps.changes.pipe((0,f.Z)(this._steps),(0,h.Q)(this._destroyed)).subscribe(it=>{this.steps.reset(it.filter(rt=>rt._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,f.Z)(this._stepHeader),(0,h.Q)(this._destroyed)).subscribe(it=>{this._sortedHeaders.reset(it.toArray().sort((rt,mt)=>rt._elementRef.nativeElement.compareDocumentPosition(mt._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new l.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,g.of)()).pipe((0,f.Z)(this._layoutDirection()),(0,h.Q)(this._destroyed)).subscribe(it=>this._keyManager.withHorizontalOrientation(it)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(it=>it.reset()),this._stateChanged()}_getStepLabelId(it){return`cdk-step-label-${this._groupId}-${it}`}_getStepContentId(it){return`cdk-step-content-${this._groupId}-${it}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(it){const rt=it-this._selectedIndex;return rt<0?"rtl"===this._layoutDirection()?"next":"previous":rt>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(it,rt="number"){const mt=this.steps.toArray()[it],lt=this._isCurrentStep(it);return mt._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(mt,lt):this._getGuidelineLogic(mt,lt,rt)}_getDefaultIndicatorLogic(it,rt){return it._showError()&&it.hasError&&!rt?"error":!it.completed||rt?"number":it.editable?"edit":"done"}_getGuidelineLogic(it,rt,mt="number"){return it._showError()&&it.hasError&&!rt?"error":it.completed&&!rt?"done":it.completed&&rt?mt:it.editable&&rt?"edit":mt}_isCurrentStep(it){return this._selectedIndex===it}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(it){const rt=this.steps.toArray();this.selectionChange.emit({selectedIndex:it,previouslySelectedIndex:this._selectedIndex,selectedStep:rt[it],previouslySelectedStep:rt[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(it):this._keyManager.updateActiveItem(it),this._selectedIndex=it,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(it){const rt=(0,A.rp)(it),mt=it.keyCode,lt=this._keyManager;null==lt.activeItemIndex||rt||mt!==A.t6&&mt!==A.Fm?lt.setFocusOrigin("keyboard").onKeydown(it):(this.selectedIndex=lt.activeItemIndex,it.preventDefault())}_anyControlsInvalidOrPending(it){return!!(this.linear&&it>=0)&&this.steps.toArray().slice(0,it).some(rt=>{const mt=rt.stepControl;return(mt?mt.invalid||mt.pending||!rt.interacted:!rt.completed)&&!rt.optional&&!rt._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const it=this._elementRef.nativeElement,rt=(0,t.vc)();return it===rt||it.contains(rt)}_isValidIndex(it){return it>-1&&(!this.steps||it{class z{constructor(it){this._stepper=it,this.type="submit"}static{this.\u0275fac=function(rt){return new(rt||z)(G.rXU(S))}}static{this.\u0275dir=G.FsC({type:z,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(rt,mt){1&rt&&G.bIt("click",function(){return mt._stepper.next()}),2&rt&&G.Mr5("type",mt.type)},inputs:{type:"type"},standalone:!0})}}return z})(),P=(()=>{class z{constructor(it){this._stepper=it,this.type="button"}static{this.\u0275fac=function(rt){return new(rt||z)(G.rXU(S))}}static{this.\u0275dir=G.FsC({type:z,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(rt,mt){1&rt&&G.bIt("click",function(){return mt._stepper.previous()}),2&rt&&G.Mr5("type",mt.type)},inputs:{type:"type"},standalone:!0})}}return z})(),U=(()=>{class z{static{this.\u0275fac=function(rt){return new(rt||z)}}static{this.\u0275mod=G.$C({type:z})}static{this.\u0275inj=G.G2t({imports:[k.jI]})}}return z})()},37403:(Rt,Tt,D)=>{"use strict";D.d(Tt,{EE:()=>M,P8:()=>p,xb:()=>F});var l=D(36860),k=D(54438),A=D(14085),G=D(983),t=D(21413),C=D(33726),g=D(13798),f=D(56977),h=D(60177);const _=(0,l.BQ)({passive:!0});let p=(()=>{class y{constructor(I,O){this._platform=I,this._ngZone=O,this._monitoredElements=new Map}monitor(I){if(!this._platform.isBrowser)return G.w;const O=(0,A.i8)(I),S=this._monitoredElements.get(O);if(S)return S.subject;const B=new t.B,P="cdk-text-field-autofilled",U=z=>{"cdk-text-field-autofill-start"!==z.animationName||O.classList.contains(P)?"cdk-text-field-autofill-end"===z.animationName&&O.classList.contains(P)&&(O.classList.remove(P),this._ngZone.run(()=>B.next({target:z.target,isAutofilled:!1}))):(O.classList.add(P),this._ngZone.run(()=>B.next({target:z.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{O.addEventListener("animationstart",U,_),O.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(O,{subject:B,unlisten:()=>{O.removeEventListener("animationstart",U,_)}}),B}stopMonitoring(I){const O=(0,A.i8)(I),S=this._monitoredElements.get(O);S&&(S.unlisten(),S.subject.complete(),O.classList.remove("cdk-text-field-autofill-monitored"),O.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(O))}ngOnDestroy(){this._monitoredElements.forEach((I,O)=>this.stopMonitoring(O))}static{this.\u0275fac=function(O){return new(O||y)(k.KVO(l.OD),k.KVO(k.SKi))}}static{this.\u0275prov=k.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})(),F=(()=>{class y{get minRows(){return this._minRows}set minRows(I){this._minRows=(0,A.OE)(I),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(I){this._maxRows=(0,A.OE)(I),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(I){this._enabled!==I&&((this._enabled=I)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(I){this._cachedPlaceholderHeight=void 0,I?this._textareaElement.setAttribute("placeholder",I):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(I,O,S,B){this._elementRef=I,this._platform=O,this._ngZone=S,this._destroyed=new t.B,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=P=>{this._hasFocus="focus"===P.type},this._document=B,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const I=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;I&&(this._textareaElement.style.minHeight=I)}_setMaxHeight(){const I=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;I&&(this._textareaElement.style.maxHeight=I)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const I=this._getWindow();(0,C.R)(I,"resize").pipe((0,g.Z)(16),(0,f.Q)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let I=this._textareaElement.cloneNode(!1);I.rows=1,I.style.position="absolute",I.style.visibility="hidden",I.style.border="none",I.style.padding="0",I.style.height="",I.style.minHeight="",I.style.maxHeight="",I.style.overflow="hidden",this._textareaElement.parentNode.appendChild(I),this._cachedLineHeight=I.clientHeight,I.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const I=this._textareaElement,O=I.style.marginBottom||"",S=this._platform.FIREFOX,B=S&&this._hasFocus,P=S?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";B&&(I.style.marginBottom=`${I.clientHeight}px`),I.classList.add(P);const U=I.scrollHeight-4;return I.classList.remove(P),B&&(I.style.marginBottom=O),U}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const I=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=I}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(I=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const O=this._elementRef.nativeElement,S=O.value;if(!I&&this._minRows===this._previousMinRows&&S===this._previousValue)return;const B=this._measureScrollHeight(),P=Math.max(B,this._cachedPlaceholderHeight||0);O.style.height=`${P}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(O)):setTimeout(()=>this._scrollToCaretPosition(O))}),this._previousValue=S,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(I){const{selectionStart:O,selectionEnd:S}=I;!this._destroyed.isStopped&&this._hasFocus&&I.setSelectionRange(O,S)}static{this.\u0275fac=function(O){return new(O||y)(k.rXU(k.aKT),k.rXU(l.OD),k.rXU(k.SKi),k.rXU(h.qQ,8))}}static{this.\u0275dir=k.FsC({type:y,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(O,S){1&O&&k.bIt("input",function(){return S._noopInputHandler()})},inputs:{minRows:[k.Mj6.None,"cdkAutosizeMinRows","minRows"],maxRows:[k.Mj6.None,"cdkAutosizeMaxRows","maxRows"],enabled:[k.Mj6.HasDecoratorInputTransform,"cdkTextareaAutosize","enabled",k.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[k.GFd]})}}return y})(),M=(()=>{class y{static{this.\u0275fac=function(O){return new(O||y)}}static{this.\u0275mod=k.$C({type:y})}static{this.\u0275inj=k.G2t({})}}return y})()},64109:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Dc:()=>Z,Hy:()=>yt,NL:()=>z,Sz:()=>I,XO:()=>F,XW:()=>m,a$:()=>y,aI:()=>ht,kZ:()=>M,s3:()=>mt,xn:()=>nt});var l=D(45024),k=D(74402),A=D(21413),G=D(84412),t=D(7673),C=D(96697),g=D(5964),f=D(56977),h=D(54438),_=D(28203);class p{constructor(){this.expansionModel=new l.CB(!0)}toggle(ft){this.expansionModel.toggle(this._trackByValue(ft))}expand(ft){this.expansionModel.select(this._trackByValue(ft))}collapse(ft){this.expansionModel.deselect(this._trackByValue(ft))}isExpanded(ft){return this.expansionModel.isSelected(this._trackByValue(ft))}toggleDescendants(ft){this.expansionModel.isSelected(this._trackByValue(ft))?this.collapseDescendants(ft):this.expandDescendants(ft)}collapseAll(){this.expansionModel.clear()}expandDescendants(ft){let L=[ft];L.push(...this.getDescendants(ft)),this.expansionModel.select(...L.map(Y=>this._trackByValue(Y)))}collapseDescendants(ft){let L=[ft];L.push(...this.getDescendants(ft)),this.expansionModel.deselect(...L.map(Y=>this._trackByValue(Y)))}_trackByValue(ft){return this.trackBy?this.trackBy(ft):ft}}class m extends p{constructor(ft,L,Y){super(),this.getLevel=ft,this.isExpandable=L,this.options=Y,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(ft){const Y=[];for(let J=this.dataNodes.indexOf(ft)+1;Jthis._trackByValue(ft)))}}class F extends p{constructor(ft,L){super(),this.getChildren=ft,this.options=L,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const ft=this.dataNodes.reduce((L,Y)=>[...L,...this.getDescendants(Y),Y],[]);this.expansionModel.select(...ft.map(L=>this._trackByValue(L)))}getDescendants(ft){const L=[];return this._getDescendants(L,ft),L.splice(1)}_getDescendants(ft,L){ft.push(L);const Y=this.getChildren(L);Array.isArray(Y)?Y.forEach(J=>this._getDescendants(ft,J)):(0,k.A)(Y)&&Y.pipe((0,C.s)(1),(0,g.p)(Boolean)).subscribe(J=>{for(const H of J)this._getDescendants(ft,H)})}}const M=new h.nKC("CDK_TREE_NODE_OUTLET_NODE");let y=(()=>{class dt{constructor(L,Y){this.viewContainer=L,this._node=Y}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(h.c1b),h.rXU(M,8))}}static{this.\u0275dir=h.FsC({type:dt,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return dt})();class T{constructor(ft){this.$implicit=ft}}let I=(()=>{class dt{constructor(L){this.template=L}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(h.C4Q))}}static{this.\u0275dir=h.FsC({type:dt,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[h.Mj6.None,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return dt})(),z=(()=>{class dt{get dataSource(){return this._dataSource}set dataSource(L){this._dataSource!==L&&this._switchDataSource(L)}constructor(L,Y){this._differs=L,this._changeDetectorRef=Y,this._onDestroy=new A.B,this._levels=new Map,this.viewChange=new G.t({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const L=this._nodeDefs.filter(Y=>!Y.when);this._defaultNodeDef=L[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(L){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),L||this._nodeOutlet.viewContainer.clear(),this._dataSource=L,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let L;(0,l.y4)(this._dataSource)?L=this._dataSource.connect(this):(0,k.A)(this._dataSource)?L=this._dataSource:Array.isArray(this._dataSource)&&(L=(0,t.of)(this._dataSource)),L&&(this._dataSubscription=L.pipe((0,f.Q)(this._onDestroy)).subscribe(Y=>this.renderNodeChanges(Y)))}renderNodeChanges(L,Y=this._dataDiffer,J=this._nodeOutlet.viewContainer,H){const K=Y.diff(L);K&&(K.forEachOperation((tt,ut,_t)=>{if(null==tt.previousIndex)this.insertNode(L[_t],_t,J,H);else if(null==_t)J.remove(ut),this._levels.delete(tt.item);else{const xt=J.get(ut);J.move(xt,_t)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(L,Y){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(H=>H.when&&H.when(Y,L))||this._defaultNodeDef}insertNode(L,Y,J,H){const K=this._getNodeDef(L,Y),tt=new T(L);tt.level=this.treeControl.getLevel?this.treeControl.getLevel(L):typeof H<"u"&&this._levels.has(H)?this._levels.get(H)+1:0,this._levels.set(L,tt.level),(J||this._nodeOutlet.viewContainer).createEmbeddedView(K.template,tt,Y),nt.mostRecentTreeNode&&(nt.mostRecentTreeNode.data=L)}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(h._q3),h.rXU(h.gRc))}}static{this.\u0275cmp=h.VBU({type:dt,selectors:[["cdk-tree"]],contentQueries:function(Y,J,H){if(1&Y&&h.wni(H,I,5),2&Y){let K;h.mGM(K=h.lsd())&&(J._nodeDefs=K)}},viewQuery:function(Y,J){if(1&Y&&h.GBs(y,7),2&Y){let H;h.mGM(H=h.lsd())&&(J._nodeOutlet=H.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[h.aNF],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(Y,J){1&Y&&h.eu8(0,0)},dependencies:[y],encapsulation:2})}}return dt})(),nt=(()=>{class dt{get role(){return"treeitem"}set role(L){this._elementRef.nativeElement.setAttribute("role",L)}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(L){L!==this._data&&(this._data=L,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(L,Y){this._elementRef=L,this._tree=Y,this._destroyed=new A.B,this._dataChanges=new A.B,dt.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function it(dt){let ft=dt.parentElement;for(;ft&&!rt(ft);)ft=ft.parentElement;return ft?ft.classList.contains("cdk-nested-tree-node")?(0,h.Udg)(ft.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){dt.mostRecentTreeNode===this&&(dt.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(h.aKT),h.rXU(z))}}static{this.\u0275dir=h.FsC({type:dt,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(Y,J){2&Y&&h.BMQ("aria-expanded",J.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0})}}return dt})();function rt(dt){const ft=dt.classList;return!(!ft?.contains("cdk-nested-tree-node")&&!ft?.contains("cdk-tree"))}let mt=(()=>{class dt extends nt{constructor(L,Y,J){super(L,Y),this._differs=J}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const L=this._tree.treeControl.getChildren(this.data);Array.isArray(L)?this.updateChildrenNodes(L):(0,k.A)(L)&&L.pipe((0,f.Q)(this._destroyed)).subscribe(Y=>this.updateChildrenNodes(Y)),this.nodeOutlet.changes.pipe((0,f.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(L){const Y=this._getNodeOutlet();L&&(this._children=L),Y&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Y.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const L=this._getNodeOutlet();L&&(L.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const L=this.nodeOutlet;return L&&L.find(Y=>!Y._node||Y._node===this)}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(h.aKT),h.rXU(z),h.rXU(h._q3))}}static{this.\u0275dir=h.FsC({type:dt,selectors:[["cdk-nested-tree-node"]],contentQueries:function(Y,J,H){if(1&Y&&h.wni(H,y,5),2&Y){let K;h.mGM(K=h.lsd())&&(J.nodeOutlet=K)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[h.Jv_([{provide:nt,useExisting:dt},{provide:M,useExisting:dt}]),h.Vt3]})}}return dt})();const lt=/([A-Za-z%]+)$/;let ht=(()=>{class dt{get level(){return this._level}set level(L){this._setLevelInput(L)}get indent(){return this._indent}set indent(L){this._setIndentInput(L)}constructor(L,Y,J,H){this._treeNode=L,this._tree=Y,this._element=J,this._dir=H,this._destroyed=new A.B,this.indentUnits="px",this._indent=40,this._setPadding(),H&&H.change.pipe((0,f.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),L._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const L=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Y=null==this._level?L:this._level;return"number"==typeof Y?`${Y*this._indent}${this.indentUnits}`:null}_setPadding(L=!1){const Y=this._paddingIndent();if(Y!==this._currentPadding||L){const J=this._element.nativeElement,H=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",K="paddingLeft"===H?"paddingRight":"paddingLeft";J.style[H]=Y||"",J.style[K]="",this._currentPadding=Y}}_setLevelInput(L){this._level=isNaN(L)?null:L,this._setPadding()}_setIndentInput(L){let Y=L,J="px";if("string"==typeof L){const H=L.split(lt);Y=H[0],J=H[1]||J}this.indentUnits=J,this._indent=(0,h.Udg)(Y),this._setPadding()}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(nt),h.rXU(z),h.rXU(h.aKT),h.rXU(_.dS,8))}}static{this.\u0275dir=h.FsC({type:dt,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[h.Mj6.HasDecoratorInputTransform,"cdkTreeNodePadding","level",h.Udg],indent:[h.Mj6.None,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[h.GFd]})}}return dt})(),yt=(()=>{class dt{constructor(L,Y){this._tree=L,this._treeNode=Y,this.recursive=!1}_toggle(L){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),L.stopPropagation()}static{this.\u0275fac=function(Y){return new(Y||dt)(h.rXU(z),h.rXU(nt))}}static{this.\u0275dir=h.FsC({type:dt,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(Y,J){1&Y&&h.bIt("click",function(K){return J._toggle(K)})},inputs:{recursive:[h.Mj6.HasDecoratorInputTransform,"cdkTreeNodeToggleRecursive","recursive",h.L39]},standalone:!0,features:[h.GFd]})}}return dt})(),Z=(()=>{class dt{static{this.\u0275fac=function(Y){return new(Y||dt)}}static{this.\u0275mod=h.$C({type:dt})}static{this.\u0275inj=h.G2t({})}}return dt})()},60177:(Rt,Tt,D)=>{"use strict";D.d(Tt,{AJ:()=>Vc,B3:()=>bo,EO:()=>He,GH:()=>hs,Jj:()=>zo,MD:()=>il,N0:()=>Pl,PV:()=>sa,QT:()=>A,QX:()=>go,Sm:()=>T,Sq:()=>Fe,T3:()=>uo,UE:()=>dr,VF:()=>t,Vy:()=>fc,Xr:()=>ol,YU:()=>vn,ZD:()=>G,_b:()=>En,aZ:()=>O,bT:()=>In,e1:()=>hr,fG:()=>ea,fw:()=>I,hb:()=>M,hj:()=>h,lG:()=>Ws,oe:()=>ia,qQ:()=>g,ux:()=>lo,vh:()=>qs,vv:()=>Ci});var l=D(54438);let k=null;function A(){return k}function G(Lt){k??=Lt}class t{}const g=new l.nKC("");let f=(()=>{class Lt{historyGo(ne){throw new Error("")}static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275prov=l.jDH({token:Lt,factory:()=>(0,l.WQX)(_),providedIn:"platform"})}}return Lt})();const h=new l.nKC("");let _=(()=>{class Lt extends f{constructor(){super(),this._doc=(0,l.WQX)(g),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(ne){const Se=A().getGlobalEventTarget(this._doc,"window");return Se.addEventListener("popstate",ne,!1),()=>Se.removeEventListener("popstate",ne)}onHashChange(ne){const Se=A().getGlobalEventTarget(this._doc,"window");return Se.addEventListener("hashchange",ne,!1),()=>Se.removeEventListener("hashchange",ne)}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(ne){this._location.pathname=ne}pushState(ne,Se,Tn){this._history.pushState(ne,Se,Tn)}replaceState(ne,Se,Tn){this._history.replaceState(ne,Se,Tn)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ne=0){this._history.go(ne)}getState(){return this._history.state}static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275prov=l.jDH({token:Lt,factory:()=>new Lt,providedIn:"platform"})}}return Lt})();function p(Lt,$e){if(0==Lt.length)return $e;if(0==$e.length)return Lt;let ne=0;return Lt.endsWith("/")&&ne++,$e.startsWith("/")&&ne++,2==ne?Lt+$e.substring(1):1==ne?Lt+$e:Lt+"/"+$e}function m(Lt){const $e=Lt.match(/#|\?|$/),ne=$e&&$e.index||Lt.length;return Lt.slice(0,ne-("/"===Lt[ne-1]?1:0))+Lt.slice(ne)}function F(Lt){return Lt&&"?"!==Lt[0]?"?"+Lt:Lt}let M=(()=>{class Lt{historyGo(ne){throw new Error("")}static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275prov=l.jDH({token:Lt,factory:()=>(0,l.WQX)(T),providedIn:"root"})}}return Lt})();const y=new l.nKC("");let T=(()=>{class Lt extends M{constructor(ne,Se){super(),this._platformLocation=ne,this._removeListenerFns=[],this._baseHref=Se??this._platformLocation.getBaseHrefFromDOM()??(0,l.WQX)(g).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ne){this._removeListenerFns.push(this._platformLocation.onPopState(ne),this._platformLocation.onHashChange(ne))}getBaseHref(){return this._baseHref}prepareExternalUrl(ne){return p(this._baseHref,ne)}path(ne=!1){const Se=this._platformLocation.pathname+F(this._platformLocation.search),Tn=this._platformLocation.hash;return Tn&&ne?`${Se}${Tn}`:Se}pushState(ne,Se,Tn,pi){const Ni=this.prepareExternalUrl(Tn+F(pi));this._platformLocation.pushState(ne,Se,Ni)}replaceState(ne,Se,Tn,pi){const Ni=this.prepareExternalUrl(Tn+F(pi));this._platformLocation.replaceState(ne,Se,Ni)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ne=0){this._platformLocation.historyGo?.(ne)}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.KVO(f),l.KVO(y,8))}}static{this.\u0275prov=l.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"})}}return Lt})(),I=(()=>{class Lt extends M{constructor(ne,Se){super(),this._platformLocation=ne,this._baseHref="",this._removeListenerFns=[],null!=Se&&(this._baseHref=Se)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ne){this._removeListenerFns.push(this._platformLocation.onPopState(ne),this._platformLocation.onHashChange(ne))}getBaseHref(){return this._baseHref}path(ne=!1){const Se=this._platformLocation.hash??"#";return Se.length>0?Se.substring(1):Se}prepareExternalUrl(ne){const Se=p(this._baseHref,ne);return Se.length>0?"#"+Se:Se}pushState(ne,Se,Tn,pi){let Ni=this.prepareExternalUrl(Tn+F(pi));0==Ni.length&&(Ni=this._platformLocation.pathname),this._platformLocation.pushState(ne,Se,Ni)}replaceState(ne,Se,Tn,pi){let Ni=this.prepareExternalUrl(Tn+F(pi));0==Ni.length&&(Ni=this._platformLocation.pathname),this._platformLocation.replaceState(ne,Se,Ni)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ne=0){this._platformLocation.historyGo?.(ne)}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.KVO(f),l.KVO(y,8))}}static{this.\u0275prov=l.jDH({token:Lt,factory:Lt.\u0275fac})}}return Lt})(),O=(()=>{class Lt{constructor(ne){this._subject=new l.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ne;const Se=this._locationStrategy.getBaseHref();this._basePath=function U(Lt){if(new RegExp("^(https?:)?//").test(Lt)){const[,ne]=Lt.split(/\/\/[^\/]+/);return ne}return Lt}(m(P(Se))),this._locationStrategy.onPopState(Tn=>{this._subject.emit({url:this.path(!0),pop:!0,state:Tn.state,type:Tn.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ne=!1){return this.normalize(this._locationStrategy.path(ne))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ne,Se=""){return this.path()==this.normalize(ne+F(Se))}normalize(ne){return Lt.stripTrailingSlash(function B(Lt,$e){if(!Lt||!$e.startsWith(Lt))return $e;const ne=$e.substring(Lt.length);return""===ne||["/",";","?","#"].includes(ne[0])?ne:$e}(this._basePath,P(ne)))}prepareExternalUrl(ne){return ne&&"/"!==ne[0]&&(ne="/"+ne),this._locationStrategy.prepareExternalUrl(ne)}go(ne,Se="",Tn=null){this._locationStrategy.pushState(Tn,"",ne,Se),this._notifyUrlChangeListeners(this.prepareExternalUrl(ne+F(Se)),Tn)}replaceState(ne,Se="",Tn=null){this._locationStrategy.replaceState(Tn,"",ne,Se),this._notifyUrlChangeListeners(this.prepareExternalUrl(ne+F(Se)),Tn)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ne=0){this._locationStrategy.historyGo?.(ne)}onUrlChange(ne){return this._urlChangeListeners.push(ne),this._urlChangeSubscription??=this.subscribe(Se=>{this._notifyUrlChangeListeners(Se.url,Se.state)}),()=>{const Se=this._urlChangeListeners.indexOf(ne);this._urlChangeListeners.splice(Se,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ne="",Se){this._urlChangeListeners.forEach(Tn=>Tn(ne,Se))}subscribe(ne,Se,Tn){return this._subject.subscribe({next:ne,error:Se,complete:Tn})}static{this.normalizeQueryParams=F}static{this.joinWithSlash=p}static{this.stripTrailingSlash=m}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.KVO(M))}}static{this.\u0275prov=l.jDH({token:Lt,factory:()=>function S(){return new O((0,l.KVO)(M))}(),providedIn:"root"})}}return Lt})();function P(Lt){return Lt.replace(/\/index.html$/,"")}const z={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var nt=function(Lt){return Lt[Lt.Decimal=0]="Decimal",Lt[Lt.Percent=1]="Percent",Lt[Lt.Currency=2]="Currency",Lt[Lt.Scientific=3]="Scientific",Lt}(nt||{}),rt=function(Lt){return Lt[Lt.Format=0]="Format",Lt[Lt.Standalone=1]="Standalone",Lt}(rt||{}),mt=function(Lt){return Lt[Lt.Narrow=0]="Narrow",Lt[Lt.Abbreviated=1]="Abbreviated",Lt[Lt.Wide=2]="Wide",Lt[Lt.Short=3]="Short",Lt}(mt||{}),lt=function(Lt){return Lt[Lt.Short=0]="Short",Lt[Lt.Medium=1]="Medium",Lt[Lt.Long=2]="Long",Lt[Lt.Full=3]="Full",Lt}(lt||{});const ht={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function H(Lt,$e){return Qt((0,l.H5H)(Lt)[l.KH2.DateFormat],$e)}function K(Lt,$e){return Qt((0,l.H5H)(Lt)[l.KH2.TimeFormat],$e)}function tt(Lt,$e){return Qt((0,l.H5H)(Lt)[l.KH2.DateTimeFormat],$e)}function ut(Lt,$e){const ne=(0,l.H5H)(Lt),Se=ne[l.KH2.NumberSymbols][$e];if(typeof Se>"u"){if($e===ht.CurrencyDecimal)return ne[l.KH2.NumberSymbols][ht.Decimal];if($e===ht.CurrencyGroup)return ne[l.KH2.NumberSymbols][ht.Group]}return Se}function _t(Lt,$e){return(0,l.H5H)(Lt)[l.KH2.NumberFormats][$e]}function Q(Lt){if(!Lt[l.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${Lt[l.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qt(Lt,$e){for(let ne=$e;ne>-1;ne--)if(typeof Lt[ne]<"u")return Lt[ne];throw new Error("Locale data API: locale data undefined")}function Bt(Lt){const[$e,ne]=Lt.split(":");return{hours:+$e,minutes:+ne}}const Nt=2,se=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,be={},Me=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ae=function(Lt){return Lt[Lt.Short=0]="Short",Lt[Lt.ShortGMT=1]="ShortGMT",Lt[Lt.Long=2]="Long",Lt[Lt.Extended=3]="Extended",Lt}(ae||{}),Yt=function(Lt){return Lt[Lt.FullYear=0]="FullYear",Lt[Lt.Month=1]="Month",Lt[Lt.Date=2]="Date",Lt[Lt.Hours=3]="Hours",Lt[Lt.Minutes=4]="Minutes",Lt[Lt.Seconds=5]="Seconds",Lt[Lt.FractionalSeconds=6]="FractionalSeconds",Lt[Lt.Day=7]="Day",Lt}(Yt||{}),oe=function(Lt){return Lt[Lt.DayPeriods=0]="DayPeriods",Lt[Lt.Days=1]="Days",Lt[Lt.Months=2]="Months",Lt[Lt.Eras=3]="Eras",Lt}(oe||{});function _e(Lt,$e,ne,Se){let Tn=function nn(Lt){if(wn(Lt))return Lt;if("number"==typeof Lt&&!isNaN(Lt))return new Date(Lt);if("string"==typeof Lt){if(Lt=Lt.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Lt)){const[Tn,pi=1,Ni=1]=Lt.split("-").map(Qi=>+Qi);return je(Tn,pi-1,Ni)}const ne=parseFloat(Lt);if(!isNaN(Lt-ne))return new Date(ne);let Se;if(Se=Lt.match(se))return function qn(Lt){const $e=new Date(0);let ne=0,Se=0;const Tn=Lt[8]?$e.setUTCFullYear:$e.setFullYear,pi=Lt[8]?$e.setUTCHours:$e.setHours;Lt[9]&&(ne=Number(Lt[9]+Lt[10]),Se=Number(Lt[9]+Lt[11])),Tn.call($e,Number(Lt[1]),Number(Lt[2])-1,Number(Lt[3]));const Ni=Number(Lt[4]||0)-ne,Qi=Number(Lt[5]||0)-Se,Vo=Number(Lt[6]||0),fr=Math.floor(1e3*parseFloat("0."+(Lt[7]||0)));return pi.call($e,Ni,Qi,Vo,fr),$e}(Se)}const $e=new Date(Lt);if(!wn($e))throw new Error(`Unable to convert "${Lt}" into a date`);return $e}(Lt);$e=ve(ne,$e)||$e;let Qi,Ni=[];for(;$e;){if(Qi=Me.exec($e),!Qi){Ni.push($e);break}{Ni=Ni.concat(Qi.slice(1));const gr=Ni.pop();if(!gr)break;$e=gr}}let Vo=Tn.getTimezoneOffset();Se&&(Vo=Ht(Se,Vo),Tn=function Oe(Lt,$e,ne){const Se=ne?-1:1,Tn=Lt.getTimezoneOffset();return function te(Lt,$e){return(Lt=new Date(Lt.getTime())).setMinutes(Lt.getMinutes()+$e),Lt}(Lt,Se*(Ht($e,Tn)-Tn))}(Tn,Se,!0));let fr="";return Ni.forEach(gr=>{const Ko=function Te(Lt){if(pe[Lt])return pe[Lt];let $e;switch(Lt){case"G":case"GG":case"GGG":$e=jn(oe.Eras,mt.Abbreviated);break;case"GGGG":$e=jn(oe.Eras,mt.Wide);break;case"GGGGG":$e=jn(oe.Eras,mt.Narrow);break;case"y":$e=Ln(Yt.FullYear,1,0,!1,!0);break;case"yy":$e=Ln(Yt.FullYear,2,0,!0,!0);break;case"yyy":$e=Ln(Yt.FullYear,3,0,!1,!0);break;case"yyyy":$e=Ln(Yt.FullYear,4,0,!1,!0);break;case"Y":$e=We(1);break;case"YY":$e=We(2,!0);break;case"YYY":$e=We(3);break;case"YYYY":$e=We(4);break;case"M":case"L":$e=Ln(Yt.Month,1,1);break;case"MM":case"LL":$e=Ln(Yt.Month,2,1);break;case"MMM":$e=jn(oe.Months,mt.Abbreviated);break;case"MMMM":$e=jn(oe.Months,mt.Wide);break;case"MMMMM":$e=jn(oe.Months,mt.Narrow);break;case"LLL":$e=jn(oe.Months,mt.Abbreviated,rt.Standalone);break;case"LLLL":$e=jn(oe.Months,mt.Wide,rt.Standalone);break;case"LLLLL":$e=jn(oe.Months,mt.Narrow,rt.Standalone);break;case"w":$e=Ii(1);break;case"ww":$e=Ii(2);break;case"W":$e=Ii(1,!0);break;case"d":$e=Ln(Yt.Date,1);break;case"dd":$e=Ln(Yt.Date,2);break;case"c":case"cc":$e=Ln(Yt.Day,1);break;case"ccc":$e=jn(oe.Days,mt.Abbreviated,rt.Standalone);break;case"cccc":$e=jn(oe.Days,mt.Wide,rt.Standalone);break;case"ccccc":$e=jn(oe.Days,mt.Narrow,rt.Standalone);break;case"cccccc":$e=jn(oe.Days,mt.Short,rt.Standalone);break;case"E":case"EE":case"EEE":$e=jn(oe.Days,mt.Abbreviated);break;case"EEEE":$e=jn(oe.Days,mt.Wide);break;case"EEEEE":$e=jn(oe.Days,mt.Narrow);break;case"EEEEEE":$e=jn(oe.Days,mt.Short);break;case"a":case"aa":case"aaa":$e=jn(oe.DayPeriods,mt.Abbreviated);break;case"aaaa":$e=jn(oe.DayPeriods,mt.Wide);break;case"aaaaa":$e=jn(oe.DayPeriods,mt.Narrow);break;case"b":case"bb":case"bbb":$e=jn(oe.DayPeriods,mt.Abbreviated,rt.Standalone,!0);break;case"bbbb":$e=jn(oe.DayPeriods,mt.Wide,rt.Standalone,!0);break;case"bbbbb":$e=jn(oe.DayPeriods,mt.Narrow,rt.Standalone,!0);break;case"B":case"BB":case"BBB":$e=jn(oe.DayPeriods,mt.Abbreviated,rt.Format,!0);break;case"BBBB":$e=jn(oe.DayPeriods,mt.Wide,rt.Format,!0);break;case"BBBBB":$e=jn(oe.DayPeriods,mt.Narrow,rt.Format,!0);break;case"h":$e=Ln(Yt.Hours,1,-12);break;case"hh":$e=Ln(Yt.Hours,2,-12);break;case"H":$e=Ln(Yt.Hours,1);break;case"HH":$e=Ln(Yt.Hours,2);break;case"m":$e=Ln(Yt.Minutes,1);break;case"mm":$e=Ln(Yt.Minutes,2);break;case"s":$e=Ln(Yt.Seconds,1);break;case"ss":$e=Ln(Yt.Seconds,2);break;case"S":$e=Ln(Yt.FractionalSeconds,1);break;case"SS":$e=Ln(Yt.FractionalSeconds,2);break;case"SSS":$e=Ln(Yt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":$e=ui(ae.Short);break;case"ZZZZZ":$e=ui(ae.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":$e=ui(ae.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":$e=ui(ae.Long);break;default:return null}return pe[Lt]=$e,$e}(gr);fr+=Ko?Ko(Tn,ne,Vo):"''"===gr?"'":gr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),fr}function je(Lt,$e,ne){const Se=new Date(0);return Se.setFullYear(Lt,$e,ne),Se.setHours(0,0,0),Se}function ve(Lt,$e){const ne=function wt(Lt){return(0,l.H5H)(Lt)[l.KH2.LocaleId]}(Lt);if(be[ne]??={},be[ne][$e])return be[ne][$e];let Se="";switch($e){case"shortDate":Se=H(Lt,lt.Short);break;case"mediumDate":Se=H(Lt,lt.Medium);break;case"longDate":Se=H(Lt,lt.Long);break;case"fullDate":Se=H(Lt,lt.Full);break;case"shortTime":Se=K(Lt,lt.Short);break;case"mediumTime":Se=K(Lt,lt.Medium);break;case"longTime":Se=K(Lt,lt.Long);break;case"fullTime":Se=K(Lt,lt.Full);break;case"short":const Tn=ve(Lt,"shortTime"),pi=ve(Lt,"shortDate");Se=De(tt(Lt,lt.Short),[Tn,pi]);break;case"medium":const Ni=ve(Lt,"mediumTime"),Qi=ve(Lt,"mediumDate");Se=De(tt(Lt,lt.Medium),[Ni,Qi]);break;case"long":const Vo=ve(Lt,"longTime"),fr=ve(Lt,"longDate");Se=De(tt(Lt,lt.Long),[Vo,fr]);break;case"full":const gr=ve(Lt,"fullTime"),Ko=ve(Lt,"fullDate");Se=De(tt(Lt,lt.Full),[gr,Ko])}return Se&&(be[ne][$e]=Se),Se}function De(Lt,$e){return $e&&(Lt=Lt.replace(/\{([^}]+)}/g,function(ne,Se){return null!=$e&&Se in $e?$e[Se]:ne})),Lt}function Le(Lt,$e,ne="-",Se,Tn){let pi="";(Lt<0||Tn&&Lt<=0)&&(Tn?Lt=1-Lt:(Lt=-Lt,pi=ne));let Ni=String(Lt);for(;Ni.length<$e;)Ni="0"+Ni;return Se&&(Ni=Ni.slice(Ni.length-$e)),pi+Ni}function Ln(Lt,$e,ne=0,Se=!1,Tn=!1){return function(pi,Ni){let Qi=function Qn(Lt,$e){switch(Lt){case Yt.FullYear:return $e.getFullYear();case Yt.Month:return $e.getMonth();case Yt.Date:return $e.getDate();case Yt.Hours:return $e.getHours();case Yt.Minutes:return $e.getMinutes();case Yt.Seconds:return $e.getSeconds();case Yt.FractionalSeconds:return $e.getMilliseconds();case Yt.Day:return $e.getDay();default:throw new Error(`Unknown DateType value "${Lt}".`)}}(Lt,pi);if((ne>0||Qi>-ne)&&(Qi+=ne),Lt===Yt.Hours)0===Qi&&-12===ne&&(Qi=12);else if(Lt===Yt.FractionalSeconds)return function Fn(Lt,$e){return Le(Lt,3).substring(0,$e)}(Qi,$e);const Vo=ut(Ni,ht.MinusSign);return Le(Qi,$e,Vo,Se,Tn)}}function jn(Lt,$e,ne=rt.Format,Se=!1){return function(Tn,pi){return function mi(Lt,$e,ne,Se,Tn,pi){switch(ne){case oe.Months:return function ft(Lt,$e,ne){const Se=(0,l.H5H)(Lt),pi=Qt([Se[l.KH2.MonthsFormat],Se[l.KH2.MonthsStandalone]],$e);return Qt(pi,ne)}($e,Tn,Se)[Lt.getMonth()];case oe.Days:return function dt(Lt,$e,ne){const Se=(0,l.H5H)(Lt),pi=Qt([Se[l.KH2.DaysFormat],Se[l.KH2.DaysStandalone]],$e);return Qt(pi,ne)}($e,Tn,Se)[Lt.getDay()];case oe.DayPeriods:const Ni=Lt.getHours(),Qi=Lt.getMinutes();if(pi){const fr=function kt(Lt){const $e=(0,l.H5H)(Lt);return Q($e),($e[l.KH2.ExtraData][2]||[]).map(Se=>"string"==typeof Se?Bt(Se):[Bt(Se[0]),Bt(Se[1])])}($e),gr=function Xt(Lt,$e,ne){const Se=(0,l.H5H)(Lt);Q(Se);const pi=Qt([Se[l.KH2.ExtraData][0],Se[l.KH2.ExtraData][1]],$e)||[];return Qt(pi,ne)||[]}($e,Tn,Se),Ko=fr.findIndex(Wr=>{if(Array.isArray(Wr)){const[Jr,ko]=Wr,tr=Ni>=Jr.hours&&Qi>=Jr.minutes,Ui=Ni0?Math.floor(Tn/60):Math.ceil(Tn/60);switch(Lt){case ae.Short:return(Tn>=0?"+":"")+Le(Ni,2,pi)+Le(Math.abs(Tn%60),2,pi);case ae.ShortGMT:return"GMT"+(Tn>=0?"+":"")+Le(Ni,1,pi);case ae.Long:return"GMT"+(Tn>=0?"+":"")+Le(Ni,2,pi)+":"+Le(Math.abs(Tn%60),2,pi);case ae.Extended:return 0===Se?"Z":(Tn>=0?"+":"")+Le(Ni,2,pi)+":"+Le(Math.abs(Tn%60),2,pi);default:throw new Error(`Unknown zone width "${Lt}"`)}}}const li=0,Jn=4;function $n(Lt){const $e=Lt.getDay(),ne=0===$e?-3:Jn-$e;return je(Lt.getFullYear(),Lt.getMonth(),Lt.getDate()+ne)}function Ii(Lt,$e=!1){return function(ne,Se){let Tn;if($e){const pi=new Date(ne.getFullYear(),ne.getMonth(),1).getDay()-1,Ni=ne.getDate();Tn=1+Math.floor((Ni+pi)/7)}else{const pi=$n(ne),Ni=function Di(Lt){const $e=je(Lt,li,1).getDay();return je(Lt,0,1+($e<=Jn?Jn:Jn+7)-$e)}(pi.getFullYear()),Qi=pi.getTime()-Ni.getTime();Tn=1+Math.round(Qi/6048e5)}return Le(Tn,Lt,ut(Se,ht.MinusSign))}}function We(Lt,$e=!1){return function(ne,Se){return Le($n(ne).getFullYear(),Lt,ut(Se,ht.MinusSign),$e)}}const pe={};function Ht(Lt,$e){Lt=Lt.replace(/:/g,"");const ne=Date.parse("Jan 01, 1970 00:00:00 "+Lt)/6e4;return isNaN(ne)?$e:ne}function wn(Lt){return Lt instanceof Date&&!isNaN(Lt.valueOf())}const Rn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,fe=22,le=".",ce="0",ie=";",Ye=",",ln="#",bn="\xa4";function ei(Lt,$e,ne,Se,Tn,pi,Ni=!1){let Qi="",Vo=!1;if(isFinite(Lt)){let fr=function rn(Lt){let Se,Tn,pi,Ni,Qi,$e=Math.abs(Lt)+"",ne=0;for((Tn=$e.indexOf(le))>-1&&($e=$e.replace(le,"")),(pi=$e.search(/e/i))>0?(Tn<0&&(Tn=pi),Tn+=+$e.slice(pi+1),$e=$e.substring(0,pi)):Tn<0&&(Tn=$e.length),pi=0;$e.charAt(pi)===ce;pi++);if(pi===(Qi=$e.length))Se=[0],Tn=1;else{for(Qi--;$e.charAt(Qi)===ce;)Qi--;for(Tn-=pi,Se=[],Ni=0;pi<=Qi;pi++,Ni++)Se[Ni]=Number($e.charAt(pi))}return Tn>fe&&(Se=Se.splice(0,fe-1),ne=Tn-1,Tn=1),{digits:Se,exponent:ne,integerLen:Tn}}(Lt);Ni&&(fr=function Ao(Lt){if(0===Lt.digits[0])return Lt;const $e=Lt.digits.length-Lt.integerLen;return Lt.exponent?Lt.exponent+=2:(0===$e?Lt.digits.push(0,0):1===$e&&Lt.digits.push(0),Lt.integerLen+=2),Lt}(fr));let gr=$e.minInt,Ko=$e.minFrac,Wr=$e.maxFrac;if(pi){const _a=pi.match(Rn);if(null===_a)throw new Error(`${pi} is not a valid digit info`);const er=_a[1],Da=_a[3],Ba=_a[5];null!=er&&(gr=Ue(er)),null!=Da&&(Ko=Ue(Da)),null!=Ba?Wr=Ue(Ba):null!=Da&&Ko>Wr&&(Wr=Ko)}!function hi(Lt,$e,ne){if($e>ne)throw new Error(`The minimum number of digits after fraction (${$e}) is higher than the maximum (${ne}).`);let Se=Lt.digits,Tn=Se.length-Lt.integerLen;const pi=Math.min(Math.max($e,Tn),ne);let Ni=pi+Lt.integerLen,Qi=Se[Ni];if(Ni>0){Se.splice(Math.max(Lt.integerLen,Ni));for(let Ko=Ni;Ko=5)if(Ni-1<0){for(let Ko=0;Ko>Ni;Ko--)Se.unshift(0),Lt.integerLen++;Se.unshift(1),Lt.integerLen++}else Se[Ni-1]++;for(;Tn=fr?ko.pop():Vo=!1),Wr>=10?1:0},0);gr&&(Se.unshift(gr),Lt.integerLen++)}(fr,Ko,Wr);let Jr=fr.digits,ko=fr.integerLen;const tr=fr.exponent;let Ui=[];for(Vo=Jr.every(_a=>!_a);ko0?Ui=Jr.splice(ko,Jr.length):(Ui=Jr,Jr=[0]);const xo=[];for(Jr.length>=$e.lgSize&&xo.unshift(Jr.splice(-$e.lgSize,Jr.length).join(""));Jr.length>$e.gSize;)xo.unshift(Jr.splice(-$e.gSize,Jr.length).join(""));Jr.length&&xo.unshift(Jr.join("")),Qi=xo.join(ut(ne,Se)),Ui.length&&(Qi+=ut(ne,Tn)+Ui.join("")),tr&&(Qi+=ut(ne,ht.Exponential)+"+"+tr)}else Qi=ut(ne,ht.Infinity);return Qi=Lt<0&&!Vo?$e.negPre+Qi+$e.negSuf:$e.posPre+Qi+$e.posSuf,Qi}function Ci(Lt,$e,ne,Se,Tn){const Ni=Ti(_t($e,nt.Currency),ut($e,ht.MinusSign));return Ni.minFrac=function Jt(Lt){let $e;const ne=z[Lt];return ne&&($e=ne[2]),"number"==typeof $e?$e:Nt}(Se),Ni.maxFrac=Ni.minFrac,ei(Lt,Ni,$e,ht.CurrencyGroup,ht.CurrencyDecimal,Tn).replace(bn,ne).replace(bn,"").trim()}function Ti(Lt,$e="-"){const ne={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Se=Lt.split(ie),Tn=Se[0],pi=Se[1],Ni=-1!==Tn.indexOf(le)?Tn.split(le):[Tn.substring(0,Tn.lastIndexOf(ce)+1),Tn.substring(Tn.lastIndexOf(ce)+1)],Qi=Ni[0],Vo=Ni[1]||"";ne.posPre=Qi.substring(0,Qi.indexOf(ln));for(let gr=0;gr{class Lt{constructor(ne,Se){this._ngEl=ne,this._renderer=Se,this.initialClasses=hn,this.stateMap=new Map}set klass(ne){this.initialClasses=null!=ne?ne.trim().split(we):hn}set ngClass(ne){this.rawClass="string"==typeof ne?ne.trim().split(we):ne}ngDoCheck(){for(const Se of this.initialClasses)this._updateState(Se,!0);const ne=this.rawClass;if(Array.isArray(ne)||ne instanceof Set)for(const Se of ne)this._updateState(Se,!0);else if(null!=ne)for(const Se of Object.keys(ne))this._updateState(Se,!!ne[Se]);this._applyStateDiff()}_updateState(ne,Se){const Tn=this.stateMap.get(ne);void 0!==Tn?(Tn.enabled!==Se&&(Tn.changed=!0,Tn.enabled=Se),Tn.touched=!0):this.stateMap.set(ne,{enabled:Se,changed:!0,touched:!0})}_applyStateDiff(){for(const ne of this.stateMap){const Se=ne[0],Tn=ne[1];Tn.changed?(this._toggleClass(Se,Tn.enabled),Tn.changed=!1):Tn.touched||(Tn.enabled&&this._toggleClass(Se,!1),this.stateMap.delete(Se)),Tn.touched=!1}}_toggleClass(ne,Se){(ne=ne.trim()).length>0&&ne.split(we).forEach(Tn=>{Se?this._renderer.addClass(this._ngEl.nativeElement,Tn):this._renderer.removeClass(this._ngEl.nativeElement,Tn)})}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.aKT),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngClass",""]],inputs:{klass:[l.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return Lt})();class Vt{constructor($e,ne,Se,Tn){this.$implicit=$e,this.ngForOf=ne,this.index=Se,this.count=Tn}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 Fe=(()=>{class Lt{set ngForOf(ne){this._ngForOf=ne,this._ngForOfDirty=!0}set ngForTrackBy(ne){this._trackByFn=ne}get ngForTrackBy(){return this._trackByFn}constructor(ne,Se,Tn){this._viewContainer=ne,this._template=Se,this._differs=Tn,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(ne){ne&&(this._template=ne)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ne=this._ngForOf;!this._differ&&ne&&(this._differ=this._differs.find(ne).create(this.ngForTrackBy))}if(this._differ){const ne=this._differ.diff(this._ngForOf);ne&&this._applyChanges(ne)}}_applyChanges(ne){const Se=this._viewContainer;ne.forEachOperation((Tn,pi,Ni)=>{if(null==Tn.previousIndex)Se.createEmbeddedView(this._template,new Vt(Tn.item,this._ngForOf,-1,-1),null===Ni?void 0:Ni);else if(null==Ni)Se.remove(null===pi?void 0:pi);else if(null!==pi){const Qi=Se.get(pi);Se.move(Qi,Ni),Ce(Qi,Tn)}});for(let Tn=0,pi=Se.length;Tn{Ce(Se.get(Tn.currentIndex),Tn)})}static ngTemplateContextGuard(ne,Se){return!0}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(l._q3))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return Lt})();function Ce(Lt,$e){Lt.context.$implicit=$e.item}let In=(()=>{class Lt{constructor(ne,Se){this._viewContainer=ne,this._context=new yi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Se}set ngIf(ne){this._context.$implicit=this._context.ngIf=ne,this._updateView()}set ngIfThen(ne){Mo("ngIfThen",ne),this._thenTemplateRef=ne,this._thenViewRef=null,this._updateView()}set ngIfElse(ne){Mo("ngIfElse",ne),this._elseTemplateRef=ne,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(ne,Se){return!0}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.c1b),l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return Lt})();class yi{constructor(){this.$implicit=null,this.ngIf=null}}function Mo(Lt,$e){if($e&&!$e.createEmbeddedView)throw new Error(`${Lt} must be a TemplateRef, but received '${(0,l.Tbb)($e)}'.`)}class eo{constructor($e,ne){this._viewContainerRef=$e,this._templateRef=ne,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState($e){$e&&!this._created?this.create():!$e&&this._created&&this.destroy()}}let lo=(()=>{class Lt{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ne){this._ngSwitch=ne,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ne){this._defaultViews.push(ne)}_matchCase(ne){const Se=ne===this._ngSwitch;return this._lastCasesMatched||=Se,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Se}_updateDefaultCases(ne){if(this._defaultViews.length>0&&ne!==this._defaultUsed){this._defaultUsed=ne;for(const Se of this._defaultViews)Se.enforceState(ne)}}static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return Lt})(),hr=(()=>{class Lt{constructor(ne,Se,Tn){this.ngSwitch=Tn,Tn._addCase(),this._view=new eo(ne,Se)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(lo,9))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return Lt})(),ea=(()=>{class Lt{constructor(ne,Se,Tn){Tn._addDefault(new eo(ne,Se))}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(lo,9))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return Lt})(),bo=(()=>{class Lt{constructor(ne,Se,Tn){this._ngEl=ne,this._differs=Se,this._renderer=Tn,this._ngStyle=null,this._differ=null}set ngStyle(ne){this._ngStyle=ne,!this._differ&&ne&&(this._differ=this._differs.find(ne).create())}ngDoCheck(){if(this._differ){const ne=this._differ.diff(this._ngStyle);ne&&this._applyChanges(ne)}}_setStyle(ne,Se){const[Tn,pi]=ne.split("."),Ni=-1===Tn.indexOf("-")?void 0:l.czy.DashCase;null!=Se?this._renderer.setStyle(this._ngEl.nativeElement,Tn,pi?`${Se}${pi}`:Se,Ni):this._renderer.removeStyle(this._ngEl.nativeElement,Tn,Ni)}_applyChanges(ne){ne.forEachRemovedItem(Se=>this._setStyle(Se.key,null)),ne.forEachAddedItem(Se=>this._setStyle(Se.key,Se.currentValue)),ne.forEachChangedItem(Se=>this._setStyle(Se.key,Se.currentValue))}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.aKT),l.rXU(l.MKu),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return Lt})(),uo=(()=>{class Lt{constructor(ne){this._viewContainerRef=ne,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ne){if(this._shouldRecreateView(ne)){const Se=this._viewContainerRef;if(this._viewRef&&Se.remove(Se.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Tn=this._createContextForwardProxy();this._viewRef=Se.createEmbeddedView(this.ngTemplateOutlet,Tn,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(ne){return!!ne.ngTemplateOutlet||!!ne.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(ne,Se,Tn)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Se,Tn),get:(ne,Se,Tn)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Se,Tn)}})}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.c1b))}}static{this.\u0275dir=l.FsC({type:Lt,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.OA$]})}}return Lt})();function za(Lt,$e){return new l.wOt(2100,!1)}class Gs{createSubscription($e,ne){return(0,l.O8t)(()=>$e.subscribe({next:ne,error:Se=>{throw Se}}))}dispose($e){(0,l.O8t)(()=>$e.unsubscribe())}}class bs{createSubscription($e,ne){return $e.then(ne,Se=>{throw Se})}dispose($e){}}const La=new bs,Oa=new Gs;let zo=(()=>{class Lt{constructor(ne){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ne}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ne){if(!this._obj){if(ne)try{this.markForCheckOnValueUpdate=!1,this._subscribe(ne)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return ne!==this._obj?(this._dispose(),this.transform(ne)):this._latestValue}_subscribe(ne){this._obj=ne,this._strategy=this._selectStrategy(ne),this._subscription=this._strategy.createSubscription(ne,Se=>this._updateLatestValue(ne,Se))}_selectStrategy(ne){if((0,l.jNT)(ne))return La;if((0,l.zjR)(ne))return Oa;throw za()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ne,Se){ne===this._obj&&(this._latestValue=Se,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.gRc,16))}}static{this.\u0275pipe=l.EJ8({name:"async",type:Lt,pure:!1,standalone:!0})}}return Lt})(),hs=(()=>{class Lt{transform(ne){if(null==ne)return null;if("string"!=typeof ne)throw za();return ne.toLowerCase()}static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275pipe=l.EJ8({name:"lowercase",type:Lt,pure:!0,standalone:!0})}}return Lt})();const Bs=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let sa=(()=>{class Lt{transform(ne){if(null==ne)return null;if("string"!=typeof ne)throw za();return ne.replace(Bs,Se=>Se[0].toUpperCase()+Se.slice(1).toLowerCase())}static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275pipe=l.EJ8({name:"titlecase",type:Lt,pure:!0,standalone:!0})}}return Lt})();const Is=new l.nKC(""),Qa=new l.nKC("");let qs=(()=>{class Lt{constructor(ne,Se,Tn){this.locale=ne,this.defaultTimezone=Se,this.defaultOptions=Tn}transform(ne,Se,Tn,pi){if(null==ne||""===ne||ne!=ne)return null;try{return _e(ne,Se??this.defaultOptions?.dateFormat??"mediumDate",pi||this.locale,Tn??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ni){throw za()}}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.xe9,16),l.rXU(Is,24),l.rXU(Qa,24))}}static{this.\u0275pipe=l.EJ8({name:"date",type:Lt,pure:!0,standalone:!0})}}return Lt})(),Ws=(()=>{class Lt{constructor(ne){this.differs=ne,this.keyValues=[],this.compareFn=Xl}transform(ne,Se=Xl){if(!ne||!(ne instanceof Map)&&"object"!=typeof ne)return null;this.differ??=this.differs.find(ne).create();const Tn=this.differ.diff(ne),pi=Se!==this.compareFn;return Tn&&(this.keyValues=[],Tn.forEachItem(Ni=>{this.keyValues.push(function Sl(Lt,$e){return{key:Lt,value:$e}}(Ni.key,Ni.currentValue))})),(Tn||pi)&&(this.keyValues.sort(Se),this.compareFn=Se),this.keyValues}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.MKu,16))}}static{this.\u0275pipe=l.EJ8({name:"keyvalue",type:Lt,pure:!1,standalone:!0})}}return Lt})();function Xl(Lt,$e){const ne=Lt.key,Se=$e.key;if(ne===Se)return 0;if(void 0===ne)return 1;if(void 0===Se)return-1;if(null===ne)return 1;if(null===Se)return-1;if("string"==typeof ne&&"string"==typeof Se)return ne{class Lt{constructor(ne){this._locale=ne}transform(ne,Se,Tn){if(!nl(ne))return null;Tn||=this._locale;try{return function Hi(Lt,$e,ne){return ei(Lt,Ti(_t($e,nt.Decimal),ut($e,ht.MinusSign)),$e,ht.Group,ht.Decimal,ne)}(wo(ne),Tn,Se)}catch(pi){throw za()}}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.xe9,16))}}static{this.\u0275pipe=l.EJ8({name:"number",type:Lt,pure:!0,standalone:!0})}}return Lt})(),ia=(()=>{class Lt{constructor(ne,Se="USD"){this._locale=ne,this._defaultCurrencyCode=Se}transform(ne,Se=this._defaultCurrencyCode,Tn="symbol",pi,Ni){if(!nl(ne))return null;Ni||=this._locale,"boolean"==typeof Tn&&(Tn=Tn?"symbol":"code");let Qi=Se||this._defaultCurrencyCode;"code"!==Tn&&(Qi="symbol"===Tn||"symbol-narrow"===Tn?function St(Lt,$e,ne="en"){const Se=function Mt(Lt){return(0,l.H5H)(Lt)[l.KH2.Currencies]}(ne)[Lt]||z[Lt]||[],Tn=Se[1];return"narrow"===$e&&"string"==typeof Tn?Tn:Se[0]||Lt}(Qi,"symbol"===Tn?"wide":"narrow",Ni):Tn);try{return Ci(wo(ne),Ni,Qi,Se,pi)}catch(Vo){throw za()}}static{this.\u0275fac=function(Se){return new(Se||Lt)(l.rXU(l.xe9,16),l.rXU(l.Ocv,16))}}static{this.\u0275pipe=l.EJ8({name:"currency",type:Lt,pure:!0,standalone:!0})}}return Lt})();function nl(Lt){return!(null==Lt||""===Lt||Lt!=Lt)}function wo(Lt){if("string"==typeof Lt&&!isNaN(Number(Lt)-parseFloat(Lt)))return Number(Lt);if("number"!=typeof Lt)throw new Error(`${Lt} is not a number`);return Lt}let il=(()=>{class Lt{static{this.\u0275fac=function(Se){return new(Se||Lt)}}static{this.\u0275mod=l.$C({type:Lt})}static{this.\u0275inj=l.G2t({})}}return Lt})();const Vc="browser",_l="server";function dr(Lt){return Lt===Vc}function fc(Lt){return Lt===_l}let ol=(()=>{class Lt{static{this.\u0275prov=(0,l.jDH)({token:Lt,providedIn:"root",factory:()=>dr((0,l.WQX)(l.Agw))?new la((0,l.WQX)(g),window):new ac})}}return Lt})();class la{constructor($e,ne){this.document=$e,this.window=ne,this.offset=()=>[0,0]}setOffset($e){this.offset=Array.isArray($e)?()=>$e:$e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition($e){this.window.scrollTo($e[0],$e[1])}scrollToAnchor($e){const ne=function Ha(Lt,$e){const ne=Lt.getElementById($e)||Lt.getElementsByName($e)[0];if(ne)return ne;if("function"==typeof Lt.createTreeWalker&&Lt.body&&"function"==typeof Lt.body.attachShadow){const Se=Lt.createTreeWalker(Lt.body,NodeFilter.SHOW_ELEMENT);let Tn=Se.currentNode;for(;Tn;){const pi=Tn.shadowRoot;if(pi){const Ni=pi.getElementById($e)||pi.querySelector(`[name="${$e}"]`);if(Ni)return Ni}Tn=Se.nextNode()}}return null}(this.document,$e);ne&&(this.scrollToElement(ne),ne.focus())}setHistoryScrollRestoration($e){this.window.history.scrollRestoration=$e}scrollToElement($e){const ne=$e.getBoundingClientRect(),Se=ne.left+this.window.pageXOffset,Tn=ne.top+this.window.pageYOffset,pi=this.offset();this.window.scrollTo(Se-pi[0],Tn-pi[1])}}class ac{setOffset($e){}getScrollPosition(){return[0,0]}scrollToPosition($e){}scrollToAnchor($e){}setHistoryScrollRestoration($e){}}class Pl{}},21626:(Rt,Tt,D)=>{"use strict";D.d(Tt,{JV:()=>F,Lr:()=>M,Nl:()=>U,Qq:()=>H,a7:()=>kt,cS:()=>ft,hR:()=>m,q1:()=>ie}),D(10467);var k=D(54438),A=D(7673),G=D(71985),t=D(86648),C=D(70274),g=D(5964),f=D(96354),h=D(70980),_=D(25558),p=D(60177);class m{}class F{}class M{constructor(En){this.normalizedNames=new Map,this.lazyUpdate=null,En?"string"==typeof En?this.lazyInit=()=>{this.headers=new Map,En.split("\n").forEach(we=>{const hn=we.indexOf(":");if(hn>0){const vn=we.slice(0,hn),Be=vn.toLowerCase(),Dn=we.slice(hn+1).trim();this.maybeSetNormalizedName(vn,Be),this.headers.has(Be)?this.headers.get(Be).push(Dn):this.headers.set(Be,[Dn])}})}:typeof Headers<"u"&&En instanceof Headers?(this.headers=new Map,En.forEach((we,hn)=>{this.setHeaderEntries(hn,we)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(En).forEach(([we,hn])=>{this.setHeaderEntries(we,hn)})}:this.headers=new Map}has(En){return this.init(),this.headers.has(En.toLowerCase())}get(En){this.init();const we=this.headers.get(En.toLowerCase());return we&&we.length>0?we[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(En){return this.init(),this.headers.get(En.toLowerCase())||null}append(En,we){return this.clone({name:En,value:we,op:"a"})}set(En,we){return this.clone({name:En,value:we,op:"s"})}delete(En,we){return this.clone({name:En,value:we,op:"d"})}maybeSetNormalizedName(En,we){this.normalizedNames.has(we)||this.normalizedNames.set(we,En)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(En=>this.applyUpdate(En)),this.lazyUpdate=null))}copyFrom(En){En.init(),Array.from(En.headers.keys()).forEach(we=>{this.headers.set(we,En.headers.get(we)),this.normalizedNames.set(we,En.normalizedNames.get(we))})}clone(En){const we=new M;return we.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,we.lazyUpdate=(this.lazyUpdate||[]).concat([En]),we}applyUpdate(En){const we=En.name.toLowerCase();switch(En.op){case"a":case"s":let hn=En.value;if("string"==typeof hn&&(hn=[hn]),0===hn.length)return;this.maybeSetNormalizedName(En.name,we);const vn=("a"===En.op?this.headers.get(we):void 0)||[];vn.push(...hn),this.headers.set(we,vn);break;case"d":const Be=En.value;if(Be){let Dn=this.headers.get(we);if(!Dn)return;Dn=Dn.filter(Vt=>-1===Be.indexOf(Vt)),0===Dn.length?(this.headers.delete(we),this.normalizedNames.delete(we)):this.headers.set(we,Dn)}else this.headers.delete(we),this.normalizedNames.delete(we)}}setHeaderEntries(En,we){const hn=(Array.isArray(we)?we:[we]).map(Be=>Be.toString()),vn=En.toLowerCase();this.headers.set(vn,hn),this.maybeSetNormalizedName(En,vn)}forEach(En){this.init(),Array.from(this.normalizedNames.keys()).forEach(we=>En(this.normalizedNames.get(we),this.headers.get(we)))}}class T{encodeKey(En){return B(En)}encodeValue(En){return B(En)}decodeKey(En){return decodeURIComponent(En)}decodeValue(En){return decodeURIComponent(En)}}const O=/%(\d[a-f0-9])/gi,S={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function B(He){return encodeURIComponent(He).replace(O,(En,we)=>S[we]??En)}function P(He){return`${He}`}class U{constructor(En={}){if(this.updates=null,this.cloneFrom=null,this.encoder=En.encoder||new T,En.fromString){if(En.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(He,En){const we=new Map;return He.length>0&&He.replace(/^\?/,"").split("&").forEach(vn=>{const Be=vn.indexOf("="),[Dn,Vt]=-1==Be?[En.decodeKey(vn),""]:[En.decodeKey(vn.slice(0,Be)),En.decodeValue(vn.slice(Be+1))],Fe=we.get(Dn)||[];Fe.push(Vt),we.set(Dn,Fe)}),we}(En.fromString,this.encoder)}else En.fromObject?(this.map=new Map,Object.keys(En.fromObject).forEach(we=>{const hn=En.fromObject[we],vn=Array.isArray(hn)?hn.map(P):[P(hn)];this.map.set(we,vn)})):this.map=null}has(En){return this.init(),this.map.has(En)}get(En){this.init();const we=this.map.get(En);return we?we[0]:null}getAll(En){return this.init(),this.map.get(En)||null}keys(){return this.init(),Array.from(this.map.keys())}append(En,we){return this.clone({param:En,value:we,op:"a"})}appendAll(En){const we=[];return Object.keys(En).forEach(hn=>{const vn=En[hn];Array.isArray(vn)?vn.forEach(Be=>{we.push({param:hn,value:Be,op:"a"})}):we.push({param:hn,value:vn,op:"a"})}),this.clone(we)}set(En,we){return this.clone({param:En,value:we,op:"s"})}delete(En,we){return this.clone({param:En,value:we,op:"d"})}toString(){return this.init(),this.keys().map(En=>{const we=this.encoder.encodeKey(En);return this.map.get(En).map(hn=>we+"="+this.encoder.encodeValue(hn)).join("&")}).filter(En=>""!==En).join("&")}clone(En){const we=new U({encoder:this.encoder});return we.cloneFrom=this.cloneFrom||this,we.updates=(this.updates||[]).concat(En),we}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(En=>this.map.set(En,this.cloneFrom.map.get(En))),this.updates.forEach(En=>{switch(En.op){case"a":case"s":const we=("a"===En.op?this.map.get(En.param):void 0)||[];we.push(P(En.value)),this.map.set(En.param,we);break;case"d":if(void 0===En.value){this.map.delete(En.param);break}{let hn=this.map.get(En.param)||[];const vn=hn.indexOf(P(En.value));-1!==vn&&hn.splice(vn,1),hn.length>0?this.map.set(En.param,hn):this.map.delete(En.param)}}}),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(En,we){return this.map.set(En,we),this}get(En){return this.map.has(En)||this.map.set(En,En.defaultValue()),this.map.get(En)}delete(En){return this.map.delete(En),this}has(En){return this.map.has(En)}keys(){return this.map.keys()}}function rt(He){return typeof ArrayBuffer<"u"&&He instanceof ArrayBuffer}function mt(He){return typeof Blob<"u"&&He instanceof Blob}function lt(He){return typeof FormData<"u"&&He instanceof FormData}class yt{constructor(En,we,hn,vn){let Be;if(this.url=we,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=En.toUpperCase(),function it(He){switch(He){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||vn?(this.body=void 0!==hn?hn:null,Be=vn):Be=hn,Be&&(this.reportProgress=!!Be.reportProgress,this.withCredentials=!!Be.withCredentials,Be.responseType&&(this.responseType=Be.responseType),Be.headers&&(this.headers=Be.headers),Be.context&&(this.context=Be.context),Be.params&&(this.params=Be.params),this.transferCache=Be.transferCache),this.headers??=new M,this.context??=new nt,this.params){const Dn=this.params.toString();if(0===Dn.length)this.urlWithParams=we;else{const Vt=we.indexOf("?");this.urlWithParams=we+(-1===Vt?"?":Vtyi.set(Mo,En.setHeaders[Mo]),Ce)),En.setParams&&(tn=Object.keys(En.setParams).reduce((yi,Mo)=>yi.set(Mo,En.setParams[Mo]),tn)),new yt(we,hn,Dn,{params:tn,headers:Ce,context:In,reportProgress:Fe,responseType:vn,withCredentials:Vt,transferCache:Be})}}var wt=function(He){return He[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He}(wt||{});class Z{constructor(En,we=Y.Ok,hn="OK"){this.headers=En.headers||new M,this.status=void 0!==En.status?En.status:we,this.statusText=En.statusText||hn,this.url=En.url||null,this.ok=this.status>=200&&this.status<300}}class dt extends Z{constructor(En={}){super(En),this.type=wt.ResponseHeader}clone(En={}){return new dt({headers:En.headers||this.headers,status:void 0!==En.status?En.status:this.status,statusText:En.statusText||this.statusText,url:En.url||this.url||void 0})}}class ft extends Z{constructor(En={}){super(En),this.type=wt.Response,this.body=void 0!==En.body?En.body:null}clone(En={}){return new ft({body:void 0!==En.body?En.body:this.body,headers:En.headers||this.headers,status:void 0!==En.status?En.status:this.status,statusText:En.statusText||this.statusText,url:En.url||this.url||void 0})}}class L extends Z{constructor(En){super(En,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${En.url||"(unknown url)"}`:`Http failure response for ${En.url||"(unknown url)"}: ${En.status} ${En.statusText}`,this.error=En.error||null}}var Y=function(He){return He[He.Continue=100]="Continue",He[He.SwitchingProtocols=101]="SwitchingProtocols",He[He.Processing=102]="Processing",He[He.EarlyHints=103]="EarlyHints",He[He.Ok=200]="Ok",He[He.Created=201]="Created",He[He.Accepted=202]="Accepted",He[He.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",He[He.NoContent=204]="NoContent",He[He.ResetContent=205]="ResetContent",He[He.PartialContent=206]="PartialContent",He[He.MultiStatus=207]="MultiStatus",He[He.AlreadyReported=208]="AlreadyReported",He[He.ImUsed=226]="ImUsed",He[He.MultipleChoices=300]="MultipleChoices",He[He.MovedPermanently=301]="MovedPermanently",He[He.Found=302]="Found",He[He.SeeOther=303]="SeeOther",He[He.NotModified=304]="NotModified",He[He.UseProxy=305]="UseProxy",He[He.Unused=306]="Unused",He[He.TemporaryRedirect=307]="TemporaryRedirect",He[He.PermanentRedirect=308]="PermanentRedirect",He[He.BadRequest=400]="BadRequest",He[He.Unauthorized=401]="Unauthorized",He[He.PaymentRequired=402]="PaymentRequired",He[He.Forbidden=403]="Forbidden",He[He.NotFound=404]="NotFound",He[He.MethodNotAllowed=405]="MethodNotAllowed",He[He.NotAcceptable=406]="NotAcceptable",He[He.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",He[He.RequestTimeout=408]="RequestTimeout",He[He.Conflict=409]="Conflict",He[He.Gone=410]="Gone",He[He.LengthRequired=411]="LengthRequired",He[He.PreconditionFailed=412]="PreconditionFailed",He[He.PayloadTooLarge=413]="PayloadTooLarge",He[He.UriTooLong=414]="UriTooLong",He[He.UnsupportedMediaType=415]="UnsupportedMediaType",He[He.RangeNotSatisfiable=416]="RangeNotSatisfiable",He[He.ExpectationFailed=417]="ExpectationFailed",He[He.ImATeapot=418]="ImATeapot",He[He.MisdirectedRequest=421]="MisdirectedRequest",He[He.UnprocessableEntity=422]="UnprocessableEntity",He[He.Locked=423]="Locked",He[He.FailedDependency=424]="FailedDependency",He[He.TooEarly=425]="TooEarly",He[He.UpgradeRequired=426]="UpgradeRequired",He[He.PreconditionRequired=428]="PreconditionRequired",He[He.TooManyRequests=429]="TooManyRequests",He[He.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",He[He.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",He[He.InternalServerError=500]="InternalServerError",He[He.NotImplemented=501]="NotImplemented",He[He.BadGateway=502]="BadGateway",He[He.ServiceUnavailable=503]="ServiceUnavailable",He[He.GatewayTimeout=504]="GatewayTimeout",He[He.HttpVersionNotSupported=505]="HttpVersionNotSupported",He[He.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",He[He.InsufficientStorage=507]="InsufficientStorage",He[He.LoopDetected=508]="LoopDetected",He[He.NotExtended=510]="NotExtended",He[He.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",He}(Y||{});function J(He,En){return{body:En,headers:He.headers,context:He.context,observe:He.observe,params:He.params,reportProgress:He.reportProgress,responseType:He.responseType,withCredentials:He.withCredentials,transferCache:He.transferCache}}let H=(()=>{class He{constructor(we){this.handler=we}request(we,hn,vn={}){let Be;if(we instanceof yt)Be=we;else{let Fe,Ce;Fe=vn.headers instanceof M?vn.headers:new M(vn.headers),vn.params&&(Ce=vn.params instanceof U?vn.params:new U({fromObject:vn.params})),Be=new yt(we,hn,void 0!==vn.body?vn.body:null,{headers:Fe,context:vn.context,params:Ce,reportProgress:vn.reportProgress,responseType:vn.responseType||"json",withCredentials:vn.withCredentials,transferCache:vn.transferCache})}const Dn=(0,A.of)(Be).pipe((0,C.H)(Fe=>this.handler.handle(Fe)));if(we instanceof yt||"events"===vn.observe)return Dn;const Vt=Dn.pipe((0,g.p)(Fe=>Fe instanceof ft));switch(vn.observe||"body"){case"body":switch(Be.responseType){case"arraybuffer":return Vt.pipe((0,f.T)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Fe.body}));case"blob":return Vt.pipe((0,f.T)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof Blob))throw new Error("Response is not a Blob.");return Fe.body}));case"text":return Vt.pipe((0,f.T)(Fe=>{if(null!==Fe.body&&"string"!=typeof Fe.body)throw new Error("Response is not a string.");return Fe.body}));default:return Vt.pipe((0,f.T)(Fe=>Fe.body))}case"response":return Vt;default:throw new Error(`Unreachable: unhandled observe type ${vn.observe}}`)}}delete(we,hn={}){return this.request("DELETE",we,hn)}get(we,hn={}){return this.request("GET",we,hn)}head(we,hn={}){return this.request("HEAD",we,hn)}jsonp(we,hn){return this.request("JSONP",we,{params:(new U).append(hn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(we,hn={}){return this.request("OPTIONS",we,hn)}patch(we,hn,vn={}){return this.request("PATCH",we,J(vn,hn))}post(we,hn,vn={}){return this.request("POST",we,J(vn,hn))}put(we,hn,vn={}){return this.request("PUT",we,J(vn,hn))}static{this.\u0275fac=function(hn){return new(hn||He)(k.KVO(m))}}static{this.\u0275prov=k.jDH({token:He,factory:He.\u0275fac})}}return He})();function Mt(He,En){return En(He)}function ot(He,En){return(we,hn)=>En.intercept(we,{handle:vn=>He(vn,hn)})}const kt=new k.nKC(""),Xt=new k.nKC(""),Ie=new k.nKC(""),Qt=new k.nKC("");function Bt(){let He=null;return(En,we)=>{null===He&&(He=((0,k.WQX)(kt,{optional:!0})??[]).reduceRight(ot,Mt));const hn=(0,k.WQX)(k.TgB),vn=hn.add();return He(En,we).pipe((0,h.j)(()=>hn.remove(vn)))}}let Jt=(()=>{class He extends m{constructor(we,hn){super(),this.backend=we,this.injector=hn,this.chain=null,this.pendingTasks=(0,k.WQX)(k.TgB);const vn=(0,k.WQX)(Qt,{optional:!0});this.backend=vn??we}handle(we){if(null===this.chain){const vn=Array.from(new Set([...this.injector.get(Xt),...this.injector.get(Ie,[])]));this.chain=vn.reduceRight((Be,Dn)=>function Q(He,En,we){return(hn,vn)=>(0,k.N4e)(we,()=>En(hn,Be=>He(Be,vn)))}(Be,Dn,this.injector),Mt)}const hn=this.pendingTasks.add();return this.chain(we,vn=>this.backend.handle(vn)).pipe((0,h.j)(()=>this.pendingTasks.remove(hn)))}static{this.\u0275fac=function(hn){return new(hn||He)(k.KVO(F),k.KVO(k.uvJ))}}static{this.\u0275prov=k.jDH({token:He,factory:He.\u0275fac})}}return He})();const Fn=/^\)\]\}',?\n/;let Qn=(()=>{class He{constructor(we){this.xhrFactory=we}handle(we){if("JSONP"===we.method)throw new k.wOt(-2800,!1);const hn=this.xhrFactory;return(hn.\u0275loadImpl?(0,t.H)(hn.\u0275loadImpl()):(0,A.of)(null)).pipe((0,_.n)(()=>new G.c(Be=>{const Dn=hn.build();if(Dn.open(we.method,we.urlWithParams),we.withCredentials&&(Dn.withCredentials=!0),we.headers.forEach((eo,lo)=>Dn.setRequestHeader(eo,lo.join(","))),we.headers.has("Accept")||Dn.setRequestHeader("Accept","application/json, text/plain, */*"),!we.headers.has("Content-Type")){const eo=we.detectContentTypeHeader();null!==eo&&Dn.setRequestHeader("Content-Type",eo)}if(we.responseType){const eo=we.responseType.toLowerCase();Dn.responseType="json"!==eo?eo:"text"}const Vt=we.serializeBody();let Fe=null;const Ce=()=>{if(null!==Fe)return Fe;const eo=Dn.statusText||"OK",lo=new M(Dn.getAllResponseHeaders()),hr=function Ln(He){return"responseURL"in He&&He.responseURL?He.responseURL:/^X-Request-URL:/m.test(He.getAllResponseHeaders())?He.getResponseHeader("X-Request-URL"):null}(Dn)||we.url;return Fe=new dt({headers:lo,status:Dn.status,statusText:eo,url:hr}),Fe},tn=()=>{let{headers:eo,status:lo,statusText:hr,url:ea}=Ce(),Pr=null;lo!==Y.NoContent&&(Pr=typeof Dn.response>"u"?Dn.responseText:Dn.response),0===lo&&(lo=Pr?Y.Ok:0);let na=lo>=200&&lo<300;if("json"===we.responseType&&"string"==typeof Pr){const ka=Pr;Pr=Pr.replace(Fn,"");try{Pr=""!==Pr?JSON.parse(Pr):null}catch(qr){Pr=ka,na&&(na=!1,Pr={error:qr,text:Pr})}}na?(Be.next(new ft({body:Pr,headers:eo,status:lo,statusText:hr,url:ea||void 0})),Be.complete()):Be.error(new L({error:Pr,headers:eo,status:lo,statusText:hr,url:ea||void 0}))},In=eo=>{const{url:lo}=Ce(),hr=new L({error:eo,status:Dn.status||0,statusText:Dn.statusText||"Unknown Error",url:lo||void 0});Be.error(hr)};let yi=!1;const Mo=eo=>{yi||(Be.next(Ce()),yi=!0);let lo={type:wt.DownloadProgress,loaded:eo.loaded};eo.lengthComputable&&(lo.total=eo.total),"text"===we.responseType&&Dn.responseText&&(lo.partialText=Dn.responseText),Be.next(lo)},Io=eo=>{let lo={type:wt.UploadProgress,loaded:eo.loaded};eo.lengthComputable&&(lo.total=eo.total),Be.next(lo)};return Dn.addEventListener("load",tn),Dn.addEventListener("error",In),Dn.addEventListener("timeout",In),Dn.addEventListener("abort",In),we.reportProgress&&(Dn.addEventListener("progress",Mo),null!==Vt&&Dn.upload&&Dn.upload.addEventListener("progress",Io)),Dn.send(Vt),Be.next({type:wt.Sent}),()=>{Dn.removeEventListener("error",In),Dn.removeEventListener("abort",In),Dn.removeEventListener("load",tn),Dn.removeEventListener("timeout",In),we.reportProgress&&(Dn.removeEventListener("progress",Mo),null!==Vt&&Dn.upload&&Dn.upload.removeEventListener("progress",Io)),Dn.readyState!==Dn.DONE&&Dn.abort()}})))}static{this.\u0275fac=function(hn){return new(hn||He)(k.KVO(p.N0))}}static{this.\u0275prov=k.jDH({token:He,factory:He.\u0275fac})}}return He})();const jn=new k.nKC(""),ui=new k.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Jn=new k.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Di{}let $n=(()=>{class He{constructor(we,hn,vn){this.doc=we,this.platform=hn,this.cookieName=vn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const we=this.doc.cookie||"";return we!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p._b)(we,this.cookieName),this.lastCookieString=we),this.lastToken}static{this.\u0275fac=function(hn){return new(hn||He)(k.KVO(p.qQ),k.KVO(k.Agw),k.KVO(ui))}}static{this.\u0275prov=k.jDH({token:He,factory:He.\u0275fac})}}return He})();function Ii(He,En){const we=He.url.toLowerCase();if(!(0,k.WQX)(jn)||"GET"===He.method||"HEAD"===He.method||we.startsWith("http://")||we.startsWith("https://"))return En(He);const hn=(0,k.WQX)(Di).getToken(),vn=(0,k.WQX)(Jn);return null!=hn&&!He.headers.has(vn)&&(He=He.clone({headers:He.headers.set(vn,hn)})),En(He)}var pe=function(He){return He[He.Interceptors=0]="Interceptors",He[He.LegacyInterceptors=1]="LegacyInterceptors",He[He.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",He[He.NoXsrfProtection=3]="NoXsrfProtection",He[He.JsonpSupport=4]="JsonpSupport",He[He.RequestsMadeViaParent=5]="RequestsMadeViaParent",He[He.Fetch=6]="Fetch",He}(pe||{});function Te(He,En){return{\u0275kind:He,\u0275providers:En}}function Ht(...He){const En=[H,Qn,Jt,{provide:m,useExisting:Jt},{provide:F,useExisting:Qn},{provide:Xt,useValue:Ii,multi:!0},{provide:jn,useValue:!0},{provide:Di,useClass:$n}];for(const we of He)En.push(...we.\u0275providers);return(0,k.EmA)(En)}const Oe=new k.nKC("");let ie=(()=>{class He{static{this.\u0275fac=function(hn){return new(hn||He)}}static{this.\u0275mod=k.$C({type:He})}static{this.\u0275inj=k.G2t({providers:[Ht(Te(pe.LegacyInterceptors,[{provide:Oe,useFactory:Bt},{provide:Xt,useExisting:Oe,multi:!0}]))]})}}return He})()},54438:(Rt,Tt,D)=>{"use strict";D.d(Tt,{bc$:()=>Tf,iLQ:()=>Oi,sZ2:()=>op,hnV:()=>ZC,Hbi:()=>Xw,o8S:()=>q0,BIS:()=>g_,gRc:()=>Bk,Ql9:()=>Sk,OM3:()=>f0,Ocv:()=>Dw,Z63:()=>fs,aKT:()=>$d,uvJ:()=>Ra,zcH:()=>Qu,bkB:()=>Zu,$GK:()=>zo,nKC:()=>vn,zZn:()=>Yc,_q3:()=>q3,MKu:()=>fy,xe9:()=>u5,Co$:()=>Cp,Vns:()=>l2,SKi:()=>qo,Xx1:()=>dr,Agw:()=>Mf,PLl:()=>L2,rOR:()=>ep,sFG:()=>$5,_9s:()=>L5,czy:()=>Q2,WPN:()=>Ec,kdw:()=>Ss,C4Q:()=>i4,NYb:()=>_w,giA:()=>WC,RxE:()=>fk,c1b:()=>q_,gXe:()=>As,mal:()=>ss,L39:()=>g9,a0P:()=>F9,Ol2:()=>h4,w6W:()=>v0,oH4:()=>$k,QZP:()=>G8,SmG:()=>Vk,Rfq:()=>Ii,WQX:()=>wo,Hps:()=>Z_,QuC:()=>Cn,EmA:()=>Ua,Udg:()=>bx,fpN:()=>Wk,HJs:()=>xx,N4e:()=>Bi,vPA:()=>t3,O8t:()=>Cx,An2:()=>o4,H3F:()=>gk,H8p:()=>_u,KH2:()=>Om,TgB:()=>y0,wOt:()=>St,WHO:()=>xk,e01:()=>Mk,lNU:()=>Bt,h9k:()=>Pc,$MX:()=>eh,ZF7:()=>lu,Kcf:()=>I1,e5t:()=>vc,UyX:()=>gb,cWb:()=>Nr,osQ:()=>ad,H5H:()=>F2,Zy3:()=>Nt,mq5:()=>u6,JZv:()=>Ln,LfX:()=>Ue,plB:()=>On,jNT:()=>QC,zjR:()=>Dk,XSP:()=>v7,TL$:()=>_g,Tbb:()=>li,rcV:()=>nc,Vt3:()=>o3,Mj6:()=>Hs,GFd:()=>mv,OA$:()=>Rd,Jv_:()=>q6,aNF:()=>z3,R7$:()=>fp,BMQ:()=>jF,HbH:()=>e7,ZvI:()=>F3,AVh:()=>g3,vxM:()=>S4,wni:()=>O6,VBU:()=>Wd,FsC:()=>fd,jDH:()=>Ti,G2t:()=>rn,$C:()=>gc,EJ8:()=>Kd,rXU:()=>L1,nrm:()=>A4,eu8:()=>j4,bVm:()=>k3,qex:()=>O4,k0s:()=>I0,j41:()=>P4,RV6:()=>w3,xGo:()=>K1,Mr5:()=>d6,KVO:()=>ia,kS0:()=>Q1,QTQ:()=>fh,bIt:()=>M6,lsd:()=>Z7,joV:()=>D2,qSk:()=>jp,XpG:()=>rr,nI1:()=>Y3,bMT:()=>Ds,i5U:()=>X4,brH:()=>y8,ii3:()=>a5,SdG:()=>S6,NAR:()=>R6,Y8G:()=>h3,FS9:()=>P3,Mz_:()=>z4,FCK:()=>A3,lJ4:()=>Z6,eq3:()=>t5,l_i:()=>e5,mGM:()=>j6,sdS:()=>N6,Dyx:()=>h7,Z7z:()=>r6,fX1:()=>C3,Njj:()=>p1,EBC:()=>Ng,tSv:()=>jg,eBV:()=>Od,npT:()=>J2,f$h:()=>wl,B4B:()=>Ho,n$t:()=>oh,wjB:()=>_8,xc7:()=>qF,Kam:()=>ps,zvX:()=>x3,DNE:()=>d2,C5r:()=>J3,EFF:()=>Y4,JRh:()=>B6,SpI:()=>V3,Lme:()=>H0,E5c:()=>G3,LHq:()=>z6,DH7:()=>h8,mxI:()=>Y0,R50:()=>Md,GBs:()=>G0}),D(10467);let A=null,G=!1,t=1;const C=Symbol("SIGNAL");function g(d){const b=A;return A=d,b}const p={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function m(d){if(G)throw new Error("");if(null===A)return;A.consumerOnSignalRead(d);const b=A.nextProducerIndex++;it(A),bd.nextProducerIndex;)d.producerNode.pop(),d.producerLastReadVersion.pop(),d.producerIndexOfThis.pop()}}function B(d){it(d);for(let b=0;b0}function it(d){d.producerNode??=[],d.producerIndexOfThis??=[],d.producerLastReadVersion??=[]}function rt(d){d.liveConsumerNode??=[],d.liveConsumerIndexOfThis??=[]}let dt=function Z(){throw new Error};function ft(){dt()}let Y=null;function tt(d,b){T()||ft(),d.equal(d.value,b)||(d.value=b,function xt(d){d.version++,function F(){t++}(),y(d),Y?.()}(d))}const _t={...p,equal:function k(d,b){return Object.is(d,b)},value:void 0};const gt=()=>{},Mt={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:d=>{null!==d.schedule&&d.schedule(d.ref)},hasRun:!1,cleanupFn:gt};var Q=D(21413),kt=D(18359),Xt=D(84412),Ie=D(96354);const Bt="https://g.co/ng/security#xss";class St extends Error{constructor(b,x){super(Nt(b,x)),this.code=b}}function Nt(d,b){return`NG0${Math.abs(d)}${b?": "+b:""}`}function Yt(d){return{toString:d}.toString()}const _e="__parameters__";function Le(d,b,x){return Yt(()=>{const N=function De(d){return function(...x){if(d){const N=d(...x);for(const q in N)this[q]=N[q]}}}(b);function q(...at){if(this instanceof q)return N.apply(this,at),this;const Ct=new q(...at);return At.annotation=Ct,At;function At(Ut,ye,Je){const fn=Ut.hasOwnProperty(_e)?Ut[_e]:Object.defineProperty(Ut,_e,{value:[]})[_e];for(;fn.length<=Je;)fn.push(null);return(fn[Je]=fn[Je]||[]).push(Ct),Ut}}return x&&(q.prototype=Object.create(x.prototype)),q.prototype.ngMetadataName=d,q.annotationCls=q,q})}const Ln=globalThis;function mi(d){for(let b in d)if(d[b]===mi)return b;throw Error("Could not find renamed property on target object.")}function ui(d,b){for(const x in b)b.hasOwnProperty(x)&&!d.hasOwnProperty(x)&&(d[x]=b[x])}function li(d){if("string"==typeof d)return d;if(Array.isArray(d))return"["+d.map(li).join(", ")+"]";if(null==d)return""+d;if(d.overriddenName)return`${d.overriddenName}`;if(d.name)return`${d.name}`;const b=d.toString();if(null==b)return""+b;const x=b.indexOf("\n");return-1===x?b:b.substring(0,x)}function Jn(d,b){return null==d||""===d?null===b?"":b:null==b||""===b?d:d+" "+b}const $n=mi({__forward_ref__:mi});function Ii(d){return d.__forward_ref__=Ii,d.toString=function(){return li(this())},d}function We(d){return pe(d)?d():d}function pe(d){return"function"==typeof d&&d.hasOwnProperty($n)&&d.__forward_ref__===Ii}function Ti(d){return{token:d.token,providedIn:d.providedIn||null,factory:d.factory,value:void 0}}function rn(d){return{providers:d.providers||[],imports:d.imports||[]}}function hi(d){return pn(d,He)||pn(d,we)}function Ue(d){return null!==hi(d)}function pn(d,b){return d.hasOwnProperty(b)?d[b]:null}function Ai(d){return d&&(d.hasOwnProperty(En)||d.hasOwnProperty(hn))?d[En]:null}const He=mi({\u0275prov:mi}),En=mi({\u0275inj:mi}),we=mi({ngInjectableDef:mi}),hn=mi({ngInjectorDef:mi});class vn{constructor(b,x){this._desc=b,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof x?this.__NG_ELEMENT_ID__=x:void 0!==x&&(this.\u0275prov=Ti({token:this,providedIn:x.providedIn||"root",factory:x.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function eo(d){return d&&!!d.\u0275providers}const lo=mi({\u0275cmp:mi}),hr=mi({\u0275dir:mi}),ea=mi({\u0275pipe:mi}),Pr=mi({\u0275mod:mi}),na=mi({\u0275fac:mi}),ka=mi({__NG_ELEMENT_ID__:mi}),qr=mi({__NG_ENV_ID__:mi});function bo(d){return"string"==typeof d?d:null==d?"":String(d)}function Oa(d,b){throw new St(-201,!1)}var zo=function(d){return d[d.Default=0]="Default",d[d.Host=1]="Host",d[d.Self=2]="Self",d[d.SkipSelf=4]="SkipSelf",d[d.Optional=8]="Optional",d}(zo||{});let hs;function Bs(){return hs}function sa(d){const b=hs;return hs=d,b}function ls(d,b,x){const N=hi(d);return N&&"root"==N.providedIn?void 0===N.value?N.value=N.factory():N.value:x&zo.Optional?null:void 0!==b?b:void Oa()}const Qa={},qs="__NG_DI_FLAG__",Za="ngTempTokenPath",ts=/\n/gm,Sl="__source";let Ws;function go(d){const b=Ws;return Ws=d,b}function ca(d,b=zo.Default){if(void 0===Ws)throw new St(-203,!1);return null===Ws?ls(d,void 0,b):Ws.get(d,b&zo.Optional?null:void 0,b)}function ia(d,b=zo.Default){return(Bs()||ca)(We(d),b)}function wo(d,b=zo.Default){return ia(d,Ks(b))}function Ks(d){return typeof d>"u"||"number"==typeof d?d:(d.optional&&8)|(d.host&&1)|(d.self&&2)|(d.skipSelf&&4)}function ks(d){const b=[];for(let x=0;xArray.isArray(x)?Ha(x,b):b(x))}function ac(d,b,x){b>=d.length?d.push(x):d.splice(b,0,x)}function Pl(d,b){return b>=d.length-1?d.pop():d.splice(b,1)[0]}function ha(d,b,x){let N=xs(d,b);return N>=0?d[1|N]=x:(N=~N,function rl(d,b,x,N){let q=d.length;if(q==b)d.push(x,N);else if(1===q)d.push(N,d[0]),d[0]=x;else{for(q--,d.push(d[q-1],d[q]);q>b;)d[q]=d[q-2],q--;d[b]=x,d[b+1]=N}}(d,N,b,x)),N}function Va(d,b){const x=xs(d,b);if(x>=0)return d[1|x]}function xs(d,b){return function xc(d,b,x){let N=0,q=d.length>>x;for(;q!==N;){const at=N+(q-N>>1),Ct=d[at<b?q=at:N=at+1}return~(q<b){Ct=at-1;break}}}for(;at-1){let at;for(;++qat?"":q[Je+1].toLowerCase(),2&N&&ye!==fn){if(Pi(N))return!1;Ct=!0}}}}else{if(!Ct&&!Pi(N)&&!Pi(Ut))return!1;if(Ct&&Pi(Ut))continue;Ct=!1,N=Ut|1&N}}return Pi(N)||Ct}function Pi(d){return!(1&d)}function Gt(d,b,x,N){if(null===b)return-1;let q=0;if(N||!x){let at=!1;for(;q-1)for(x++;x0?'="'+At+'"':"")+"]"}else 8&N?q+="."+Ct:4&N&&(q+=" "+Ct);else""!==q&&!Pi(Ct)&&(b+=jl(at,q),q=""),N=Ct,at=at||!Pi(N);x++}return""!==q&&(b+=jl(at,q)),b}function Wd(d){return Yt(()=>{const b=Ne(d),x={...b,decls:d.decls,vars:d.vars,template:d.template,consts:d.consts||null,ngContentSelectors:d.ngContentSelectors,onPush:d.changeDetection===Mc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:b.standalone&&d.dependencies||null,getStandaloneInjector:null,signals:d.signals??!1,data:d.data||{},encapsulation:d.encapsulation||As.Emulated,styles:d.styles||Ar,_:null,schemas:d.schemas||null,tView:null,id:""};fu(x);const N=d.dependencies;return x.directiveDefs=gd(N,!1),x.pipeDefs=gd(N,!0),x.id=function m1(d){let b=0;const x=[d.selectors,d.ngContentSelectors,d.hostVars,d.hostAttrs,d.consts,d.vars,d.decls,d.encapsulation,d.standalone,d.signals,d.exportAs,JSON.stringify(d.inputs),JSON.stringify(d.outputs),Object.getOwnPropertyNames(d.type.prototype),!!d.contentQueries,!!d.viewQuery].join("|");for(const q of x)b=Math.imul(31,b)+q.charCodeAt(0)|0;return b+=2147483648,"c"+b}(x),x})}function zu(d){return yr(d)||Ya(d)}function Ms(d){return null!==d}function gc(d){return Yt(()=>({type:d.type,bootstrap:d.bootstrap||Ar,declarations:d.declarations||Ar,imports:d.imports||Ar,exports:d.exports||Ar,transitiveCompileScopes:null,schemas:d.schemas||null,id:d.id||null}))}function al(d,b){if(null==d)return Qs;const x={};for(const N in d)if(d.hasOwnProperty(N)){const q=d[N];let at,Ct,At=Hs.None;Array.isArray(q)?(At=q[0],at=q[1],Ct=q[2]??at):(at=q,Ct=q),b?(x[at]=At!==Hs.None?[N,At]:N,b[at]=Ct):x[at]=N}return x}function fd(d){return Yt(()=>{const b=Ne(d);return fu(b),b})}function Kd(d){return{type:d.type,name:d.name,factory:null,pure:!1!==d.pure,standalone:!0===d.standalone,onDestroy:d.type.prototype.ngOnDestroy||null}}function yr(d){return d[lo]||null}function Ya(d){return d[hr]||null}function Ta(d){return d[ea]||null}function Cn(d){const b=yr(d)||Ya(d)||Ta(d);return null!==b&&b.standalone}function Xe(d,b){const x=d[Pr]||null;if(!x&&!0===b)throw new Error(`Type ${li(d)} does not have '\u0275mod' property.`);return x}function Ne(d){const b={};return{type:d.type,providersResolver:null,factory:null,hostBindings:d.hostBindings||null,hostVars:d.hostVars||0,hostAttrs:d.hostAttrs||null,contentQueries:d.contentQueries||null,declaredInputs:b,inputTransforms:null,inputConfig:d.inputs||Qs,exportAs:d.exportAs||null,standalone:!0===d.standalone,signals:!0===d.signals,selectors:d.selectors||Ar,viewQuery:d.viewQuery||null,features:d.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:al(d.inputs,b),outputs:al(d.outputs),debugInfo:null}}function fu(d){d.features?.forEach(b=>b(d))}function gd(d,b){if(!d)return null;const x=b?Ta:zu;return()=>("function"==typeof d?d():d).map(N=>x(N)).filter(Ms)}function Ua(d){return{\u0275providers:d}}function ni(...d){return{\u0275providers:Fi(0,d),\u0275fromNgModule:!0}}function Fi(d,...b){const x=[],N=new Set;let q;const at=Ct=>{x.push(Ct)};return Ha(b,Ct=>{const At=Ct;Fo(At,at,[],N)&&(q||=[],q.push(At))}),void 0!==q&&Ei(q,at),x}function Ei(d,b){for(let x=0;x{b(at,N)})}}function Fo(d,b,x,N){if(!(d=We(d)))return!1;let q=null,at=Ai(d);const Ct=!at&&yr(d);if(at||Ct){if(Ct&&!Ct.standalone)return!1;q=d}else{const Ut=d.ngModule;if(at=Ai(Ut),!at)return!1;q=Ut}const At=N.has(q);if(Ct){if(At)return!1;if(N.add(q),Ct.dependencies){const Ut="function"==typeof Ct.dependencies?Ct.dependencies():Ct.dependencies;for(const ye of Ut)Fo(ye,b,x,N)}}else{if(!at)return!1;{if(null!=at.imports&&!At){let ye;N.add(q);try{Ha(at.imports,Je=>{Fo(Je,b,x,N)&&(ye||=[],ye.push(Je))})}finally{}void 0!==ye&&Ei(ye,b)}if(!At){const ye=Ps(q)||(()=>new q);b({provide:q,useFactory:ye,deps:Ar},q),b({provide:Al,useValue:q,multi:!0},q),b({provide:fs,useValue:()=>ia(q),multi:!0},q)}const Ut=at.providers;if(null!=Ut&&!At){const ye=d;jo(Ut,Je=>{b(Je,ye)})}}}return q!==d&&void 0!==d.providers}function jo(d,b){for(let x of d)eo(x)&&(x=x.\u0275providers),Array.isArray(x)?jo(x,b):b(x)}const fa=mi({provide:String,useValue:mi});function Ur(d){return null!==d&&"object"==typeof d&&fa in d}function ns(d){return"function"==typeof d}const _u=new vn(""),sl={},Ga={};let Lo;function Uo(){return void 0===Lo&&(Lo=new Ol),Lo}class Ra{}class Fl extends Ra{get destroyed(){return this._destroyed}constructor(b,x,N,q){super(),this.parent=x,this.source=N,this.scopes=q,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Mi(b,Ct=>this.processProvider(Ct)),this.records.set(ql,dn(void 0,this)),q.has("environment")&&this.records.set(Ra,dn(void 0,this));const at=this.records.get(_u);null!=at&&"string"==typeof at.value&&this.scopes.add(at.value),this.injectorDefTypes=new Set(this.get(Al,Ar,zo.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const b=g(null);try{for(const N of this._ngOnDestroyHooks)N.ngOnDestroy();const x=this._onDestroyHooks;this._onDestroyHooks=[];for(const N of x)N()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),g(b)}}onDestroy(b){return this.assertNotDestroyed(),this._onDestroyHooks.push(b),()=>this.removeOnDestroy(b)}runInContext(b){this.assertNotDestroyed();const x=go(this),N=sa(void 0);try{return b()}finally{go(x),sa(N)}}get(b,x=Qa,N=zo.Default){if(this.assertNotDestroyed(),b.hasOwnProperty(qr))return b[qr](this);N=Ks(N);const at=go(this),Ct=sa(void 0);try{if(!(N&zo.SkipSelf)){let Ut=this.records.get(b);if(void 0===Ut){const ye=function Kn(d){return"function"==typeof d||"object"==typeof d&&d instanceof vn}(b)&&hi(b);Ut=ye&&this.injectableDefInScope(ye)?dn(Wl(b),sl):null,this.records.set(b,Ut)}if(null!=Ut)return this.hydrate(b,Ut)}return(N&zo.Self?Uo():this.parent).get(b,x=N&zo.Optional&&x===Qa?null:x)}catch(At){if("NullInjectorError"===At.name){if((At[Za]=At[Za]||[]).unshift(li(b)),at)throw At;return function _l(d,b,x,N){const q=d[Za];throw b[Sl]&&q.unshift(b[Sl]),d.message=function $a(d,b,x,N=null){d=d&&"\n"===d.charAt(0)&&"\u0275"==d.charAt(1)?d.slice(2):d;let q=li(b);if(Array.isArray(b))q=b.map(li).join(" -> ");else if("object"==typeof b){let at=[];for(let Ct in b)if(b.hasOwnProperty(Ct)){let At=b[Ct];at.push(Ct+":"+("string"==typeof At?JSON.stringify(At):li(At)))}q=`{${at.join(", ")}}`}return`${x}${N?"("+N+")":""}[${q}]: ${d.replace(ts,"\n ")}`}("\n"+d.message,q,x,N),d.ngTokenPath=q,d[Za]=null,d}(At,b,"R3InjectorError",this.source)}throw At}finally{sa(Ct),go(at)}}resolveInjectorInitializers(){const b=g(null),x=go(this),N=sa(void 0);try{const at=this.get(fs,Ar,zo.Self);for(const Ct of at)Ct()}finally{go(x),sa(N),g(b)}}toString(){const b=[],x=this.records;for(const N of x.keys())b.push(li(N));return`R3Injector[${b.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new St(205,!1)}processProvider(b){let x=ns(b=We(b))?b:We(b&&b.provide);const N=function Qe(d){return Ur(d)?dn(void 0,d.useValue):dn(en(d),sl)}(b);if(!ns(b)&&!0===b.multi){let q=this.records.get(x);q||(q=dn(void 0,sl,!0),q.factory=()=>ks(q.multi),this.records.set(x,q)),x=b,q.multi.push(b)}this.records.set(x,N)}hydrate(b,x){const N=g(null);try{return x.value===sl&&(x.value=Ga,x.value=x.factory()),"object"==typeof x.value&&x.value&&function oi(d){return null!==d&&"object"==typeof d&&"function"==typeof d.ngOnDestroy}(x.value)&&this._ngOnDestroyHooks.add(x.value),x.value}finally{g(N)}}injectableDefInScope(b){if(!b.providedIn)return!1;const x=We(b.providedIn);return"string"==typeof x?"any"===x||this.scopes.has(x):this.injectorDefTypes.has(x)}removeOnDestroy(b){const x=this._onDestroyHooks.indexOf(b);-1!==x&&this._onDestroyHooks.splice(x,1)}}function Wl(d){const b=hi(d),x=null!==b?b.factory:Ps(d);if(null!==x)return x;if(d instanceof vn)throw new St(204,!1);if(d instanceof Function)return function ke(d){if(d.length>0)throw new St(204,!1);const x=function Sn(d){return d&&(d[He]||d[we])||null}(d);return null!==x?()=>x.factory(d):()=>new d}(d);throw new St(204,!1)}function en(d,b,x){let N;if(ns(d)){const q=We(d);return Ps(q)||Wl(q)}if(Ur(d))N=()=>We(d.useValue);else if(function gu(d){return!(!d||!d.useFactory)}(d))N=()=>d.useFactory(...ks(d.deps||[]));else if(function ga(d){return!(!d||!d.useExisting)}(d))N=()=>ia(We(d.useExisting));else{const q=We(d&&(d.useClass||d.provide));if(!function Mn(d){return!!d.deps}(d))return Ps(q)||Wl(q);N=()=>new q(...ks(d.deps))}return N}function dn(d,b,x=!1){return{factory:d,value:b,multi:x?[]:void 0}}function Mi(d,b){for(const x of d)Array.isArray(x)?Mi(x,b):x&&eo(x)?Mi(x.\u0275providers,b):b(x)}function Bi(d,b){d instanceof Fl&&d.assertNotDestroyed();const N=go(d),q=sa(void 0);try{return b()}finally{go(N),sa(q)}}function to(){return void 0!==Bs()||null!=function Xl(){return Ws}()}function ro(d){if(!to())throw new St(-203,!1)}const tr=0,Ui=1,xo=2,_a=3,er=4,Da=5,Ba=6,Bc=7,wa=8,ba=9,ua=10,nr=11,Ic=12,Nl=13,bu=14,Fa=15,kr=16,Ys=17,Ja=18,qi=19,Fu=20,Ze=21,Kl=22,Id=23,Go=25,_r=1,ao=7,zc=9,Ro=10;var vl=function(d){return d[d.None=0]="None",d[d.HasTransplantedViews=2]="HasTransplantedViews",d}(vl||{});function js(d){return Array.isArray(d)&&"object"==typeof d[_r]}function vs(d){return Array.isArray(d)&&!0===d[_r]}function Ql(d){return!!(4&d.flags)}function Ns(d){return d.componentOffset>-1}function Zl(d){return!(1&~d.flags)}function td(d){return!!d.template}function Gm(d){return!!(512&d[xo])}class _d{constructor(b,x,N){this.previousValue=b,this.currentValue=x,this.firstChange=N}isFirstChange(){return this.firstChange}}function Yu(d,b,x,N){null!==b?b.applyValueToInputSignal(b,N):d[x]=N}function Rd(){return bd}function bd(d){return d.type.prototype.ngOnChanges&&(d.setInput=Zd),Zh}function Zh(){const d=w2(this),b=d?.current;if(b){const x=d.previous;if(x===Qs)d.previous=b;else for(let N in b)x[N]=b[N];d.current=null,this.ngOnChanges(b)}}function Zd(d,b,x,N,q){const at=this.declaredInputs[N],Ct=w2(d)||function ed(d,b){return d[cl]=b}(d,{previous:Qs,current:null}),At=Ct.current||(Ct.current={}),Ut=Ct.previous,ye=Ut[at];At[at]=new _d(ye&&ye.currentValue,x,Ut===Qs),Yu(d,b,q,x)}Rd.ngInherit=!0;const cl="__ngSimpleChanges__";function w2(d){return d[cl]||null}const Hc=function(d,b,x){},tf="svg";let $l=!1;function Ir(d){for(;Array.isArray(d);)d=d[tr];return d}function Uu(d,b){return Ir(b[d])}function ds(d,b){return Ir(b[d.index])}function Cu(d,b){return d.data[b]}function sc(d,b){return d[b]}function cc(d,b){const x=b[d];return js(x)?x:x[tr]}function U1(d){return!(128&~d[xo])}function Pd(d,b){return null==b?null:d[b]}function ef(d){d[Ys]=0}function Ad(d){1024&d[xo]||(d[xo]|=1024,U1(d)&&j(d))}function Xu(d){return!!(9216&d[xo]||d[Id]?.dirty)}function Um(d){d[ua].changeDetectionScheduler?.notify(1),Xu(d)?j(d):64&d[xo]&&(function Y1(){return $l}()?(d[xo]|=1024,j(d)):d[ua].changeDetectionScheduler?.notify())}function j(d){d[ua].changeDetectionScheduler?.notify();let b=tu(d);for(;null!==b&&!(8192&b[xo])&&(b[xo]|=8192,U1(b));)b=tu(b)}function qt(d,b){if(!(256&~d[xo]))throw new St(911,!1);null===d[Ze]&&(d[Ze]=[]),d[Ze].push(b)}function tu(d){const b=d[_a];return vs(b)?b[_a]:b}const ir={lFrame:tg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Re(){return ir.bindingsEnabled}function cn(){return null!==ir.skipHydrationRootTNode}function wi(){return ir.lFrame.lView}function ur(){return ir.lFrame.tView}function Od(d){return ir.lFrame.contextLView=d,d[wa]}function p1(d){return ir.lFrame.contextLView=null,d}function or(){let d=eu();for(;null!==d&&64===d.type;)d=d.parent;return d}function eu(){return ir.lFrame.currentTNode}function Fd(d,b){const x=ir.lFrame;x.currentTNode=d,x.isParent=b}function Sp(){return ir.lFrame.isParent}function J1(){ir.lFrame.isParent=!1}function El(){const d=ir.lFrame;let b=d.bindingRootIndex;return-1===b&&(b=d.bindingRootIndex=d.tView.bindingStartIndex),b}function h1(){return ir.lFrame.bindingIndex}function jd(){return ir.lFrame.bindingIndex++}function f1(d){const b=ir.lFrame,x=b.bindingIndex;return b.bindingIndex=b.bindingIndex+d,x}function cb(d,b){const x=ir.lFrame;x.bindingIndex=x.bindingRootIndex=d,Jm(b)}function Jm(d){ir.lFrame.currentDirectiveIndex=d}function M2(d){const b=ir.lFrame.currentDirectiveIndex;return-1===b?null:d[b]}function Ap(){return ir.lFrame.currentQueryIndex}function ll(d){ir.lFrame.currentQueryIndex=d}function yu(d){const b=d[Ui];return 2===b.type?b.declTNode:1===b.type?d[Da]:null}function Op(d,b,x){if(x&zo.SkipSelf){let q=b,at=d;for(;!(q=q.parent,null!==q||x&zo.Host||(q=yu(at),null===q||(at=at[bu],10&q.type))););if(null===q)return!1;b=q,d=at}const N=ir.lFrame=Xm();return N.currentTNode=b,N.lView=d,!0}function rf(d){const b=Xm(),x=d[Ui];ir.lFrame=b,b.currentTNode=x.firstChild,b.lView=d,b.tView=x,b.contextLView=d,b.bindingIndex=x.bindingStartIndex,b.inI18n=!1}function Xm(){const d=ir.lFrame,b=null===d?null:d.child;return null===b?tg(d):b}function tg(d){const b={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:d,child:null,inI18n:!1};return null!==d&&(d.child=b),b}function T2(){const d=ir.lFrame;return ir.lFrame=d.parent,d.currentTNode=null,d.lView=null,d}const eg=T2;function X1(){const d=T2();d.isParent=!0,d.tView=null,d.selectedIndex=-1,d.contextLView=null,d.elementDepthCount=0,d.currentDirectiveIndex=-1,d.currentNamespace=null,d.bindingRootIndex=-1,d.bindingIndex=-1,d.currentQueryIndex=0}function ec(){return ir.lFrame.selectedIndex}function g1(d){ir.lFrame.selectedIndex=d}function Ea(){const d=ir.lFrame;return Cu(d.tView,d.selectedIndex)}function jp(){ir.lFrame.currentNamespace=tf}function D2(){!function q1(){ir.lFrame.currentNamespace=null}()}let I2=!0;function qm(){return I2}function us(d){I2=d}function sf(d,b){for(let x=b.directiveStart,N=b.directiveEnd;x=N)break}else b[Ut]<0&&(d[Ys]+=65536),(At>14>16&&(3&d[xo])===b&&(d[xo]+=16384,Ee(At,at)):Ee(At,at)}const ku=-1;class Np{constructor(b,x,N){this.factory=b,this.resolving=!1,this.canSeeViewProviders=x,this.injectImpl=N}}function uf(d){return d!==ku}function wu(d){return 32767&d}function Ca(d,b){let x=function lc(d){return d>>16}(d),N=b;for(;x>0;)N=N[bu],x--;return N}let nu=!0;function oo(d){const b=nu;return nu=d,b}const Wm=255,Sa=5;let dc=0;const Pa={};function ma(d,b){const x=Us(d,b);if(-1!==x)return x;const N=b[Ui];N.firstCreatePass&&(d.injectorIndex=b.length,Gl(N.data,d),Gl(b,null),Gl(N.blueprint,null));const q=_1(d,b),at=d.injectorIndex;if(uf(q)){const Ct=wu(q),At=Ca(q,b),Ut=At[Ui].data;for(let ye=0;ye<8;ye++)b[at+ye]=At[Ct+ye]|Ut[Ct+ye]}return b[at+8]=q,at}function Gl(d,b){d.push(0,0,0,0,0,0,0,0,b)}function Us(d,b){return-1===d.injectorIndex||d.parent&&d.parent.injectorIndex===d.injectorIndex||null===b[d.injectorIndex+8]?-1:d.injectorIndex}function _1(d,b){if(d.parent&&-1!==d.parent.injectorIndex)return d.parent.injectorIndex;let x=0,N=null,q=b;for(;null!==q;){if(N=s_(q),null===N)return ku;if(x++,q=q[bu],-1!==N.injectorIndex)return N.injectorIndex|x<<16}return ku}function Lp(d,b,x){!function Rc(d,b,x){let N;"string"==typeof x?N=x.charCodeAt(0)||0:x.hasOwnProperty(ka)&&(N=x[ka]),null==N&&(N=x[ka]=dc++);const q=N&Wm;b.data[d+(q>>Sa)]|=1<=0?b&Wm:hf:b}(x);if("function"==typeof at){if(!Op(b,d,N))return N&zo.Host?id(q,0,N):rg(b,x,N,q);try{let Ct;if(Ct=at(N),null!=Ct||N&zo.Optional)return Ct;Oa()}finally{eg()}}else if("number"==typeof at){let Ct=null,At=Us(d,b),Ut=ku,ye=N&zo.Host?b[Fa][Da]:null;for((-1===At||N&zo.SkipSelf)&&(Ut=-1===At?_1(d,b):b[At+8],Ut!==ku&&pf(N,!1)?(Ct=b[Ui],At=wu(Ut),b=Ca(Ut,b)):At=-1);-1!==At;){const Je=b[Ui];if(Jo(at,At,Je.data)){const fn=S2(At,b,x,Ct,N,ye);if(fn!==Pa)return fn}Ut=b[At+8],Ut!==ku&&pf(N,b[Ui].data[At+8]===ye)&&Jo(at,At,b)?(Ct=Je,At=wu(Ut),b=Ca(Ut,b)):At=-1}}return q}function S2(d,b,x,N,q,at){const Ct=b[Ui],At=Ct.data[d+8],Je=iu(At,Ct,x,null==N?Ns(At)&&nu:N!=Ct&&!!(3&At.type),q&zo.Host&&at===At);return null!==Je?Wu(b,Ct,Je,At):Pa}function iu(d,b,x,N,q){const at=d.providerIndexes,Ct=b.data,At=1048575&at,Ut=d.directiveStart,Je=at>>20,Un=q?At+Je:d.directiveEnd;for(let Zn=N?At:At+Je;Zn=Ut&&fi.type===x)return Zn}if(q){const Zn=Ct[Ut];if(Zn&&td(Zn)&&Zn.type===x)return Ut}return null}function Wu(d,b,x,N){let q=d[x];const at=b.data;if(function ig(d){return d instanceof Np}(q)){const Ct=q;Ct.resolving&&function Gs(d,b){throw b&&b.join(" > "),new St(-200,d)}(function uo(d){return"function"==typeof d?d.name||d.toString():"object"==typeof d&&null!=d&&"function"==typeof d.type?d.type.name||d.type.toString():bo(d)}(at[x]));const At=oo(Ct.canSeeViewProviders);Ct.resolving=!0;const ye=Ct.injectImpl?sa(Ct.injectImpl):null;Op(d,N,zo.Default);try{q=d[x]=Ct.factory(void 0,at,d,N),b.firstCreatePass&&x>=N.directiveStart&&function a_(d,b,x){const{ngOnChanges:N,ngOnInit:q,ngDoCheck:at}=b.type.prototype;if(N){const Ct=bd(b);(x.preOrderHooks??=[]).push(d,Ct),(x.preOrderCheckHooks??=[]).push(d,Ct)}q&&(x.preOrderHooks??=[]).push(0-d,q),at&&((x.preOrderHooks??=[]).push(d,at),(x.preOrderCheckHooks??=[]).push(d,at))}(x,at[x],b)}finally{null!==ye&&sa(ye),oo(At),Ct.resolving=!1,eg()}}return q}function Jo(d,b,x){return!!(x[b+(d>>Sa)]&1<{const b=d.prototype.constructor,x=b[na]||Fc(b),N=Object.prototype;let q=Object.getPrototypeOf(d.prototype).constructor;for(;q&&q!==N;){const at=q[na]||Fc(q);if(at&&at!==x)return at;q=Object.getPrototypeOf(q)}return at=>new at})}function Fc(d){return pe(d)?()=>{const b=Fc(We(d));return b&&b()}:Ps(d)}function s_(d){const b=d[Ui],x=b.type;return 2===x?b.declTNode:1===x?d[Da]:null}function Q1(d){return function mf(d,b){if("class"===b)return d.classes;if("style"===b)return d.styles;const x=d.attrs;if(x){const N=x.length;let q=0;for(;q{class d{static{this.THROW_IF_NOT_FOUND=Qa}static{this.NULL=new Ol}static create(x,N){if(Array.isArray(x))return ff({name:""},N,x,"");{const q=x.name??"";return ff({name:q},x.parent,x.providers,q)}}static{this.\u0275prov=Ti({token:d,providedIn:"any",factory:()=>ia(ql)})}static{this.__NG_ELEMENT_ID__=-1}}return d})();function gf(d){return d.ngOriginalError}class Qu{constructor(){this._console=console}handleError(b){const x=this._findOriginalError(b);this._console.error("ERROR",b),x&&this._console.error("ORIGINAL ERROR",x)}_findOriginalError(b){let x=b&&gf(b);for(;x&&gf(x);)x=gf(x);return x||null}}const Hl=new vn("",{providedIn:"root",factory:()=>wo(Qu).handleError.bind(void 0)});let ou=(()=>{class d{static{this.__NG_ELEMENT_ID__=Gp}static{this.__NG_ENV_ID__=x=>x}}return d})();class Zm extends ou{constructor(b){super(),this._lView=b}onDestroy(b){return qt(this._lView,b),()=>function ri(d,b){if(null===d[Ze])return;const x=d[Ze].indexOf(b);-1!==x&&d[Ze].splice(x,1)}(this._lView,b)}}function Gp(){return new Zm(wi())}function Bp(){return rd(or(),wi())}function rd(d,b){return new $d(ds(d,b))}let $d=(()=>{class d{constructor(x){this.nativeElement=x}static{this.__NG_ELEMENT_ID__=Bp}}return d})();function bf(d){return d instanceof $d?d.nativeElement:d}function em(d){return b=>{setTimeout(d,void 0,b)}}const Zu=class l_ extends Q.B{constructor(b=!1){super(),this.destroyRef=void 0,this.__isAsync=b,to()&&(this.destroyRef=wo(ou,{optional:!0})??void 0)}emit(b){const x=g(null);try{super.next(b)}finally{g(x)}}subscribe(b,x,N){let q=b,at=x||(()=>null),Ct=N;if(b&&"object"==typeof b){const Ut=b;q=Ut.next?.bind(Ut),at=Ut.error?.bind(Ut),Ct=Ut.complete?.bind(Ut)}this.__isAsync&&(at=em(at),q&&(q=em(q)),Ct&&(Ct=em(Ct)));const At=super.subscribe({next:q,error:at,complete:Ct});return b instanceof kt.yU&&b.add(At),At}};function db(){return this._results[Symbol.iterator]()}class ep{get changes(){return this._changes??=new Zu}constructor(b=!1){this._emitDistinctChangesOnly=b,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const x=ep.prototype;x[Symbol.iterator]||(x[Symbol.iterator]=db)}get(b){return this._results[b]}map(b){return this._results.map(b)}filter(b){return this._results.filter(b)}find(b){return this._results.find(b)}reduce(b,x){return this._results.reduce(b,x)}forEach(b){this._results.forEach(b)}some(b){return this._results.some(b)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(b,x){this.dirty=!1;const N=function la(d){return d.flat(Number.POSITIVE_INFINITY)}(b);(this._changesDetected=!function ol(d,b,x){if(d.length!==b.length)return!1;for(let N=0;NRi}),Ri="ng",L2=new vn(""),Mf=new vn("",{providedIn:"platform",factory:()=>"unknown"}),Tf=new vn(""),g_=new vn("",{providedIn:"root",factory:()=>su().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let kl=()=>null;function qp(d,b,x=!1){return kl(d,b,x)}const B2=new vn("",{providedIn:"root",factory:()=>!1});let lm,$f;function cp(d){return function Lf(){if(void 0===lm&&(lm=null,Ln.trustedTypes))try{lm=Ln.trustedTypes.createPolicy("angular",{createHTML:d=>d,createScript:d=>d,createScriptURL:d=>d})}catch{}return lm}()?.createHTML(d)||d}function Y2(){if(void 0===$f&&($f=null,Ln.trustedTypes))try{$f=Ln.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:d=>d,createScript:d=>d,createScriptURL:d=>d})}catch{}return $f}function Vf(d){return Y2()?.createHTML(d)||d}function T1(d){return Y2()?.createScriptURL(d)||d}class D1{constructor(b){this.changingThisBreaksApplicationSecurity=b}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bt})`}}class Qp extends D1{getTypeName(){return"HTML"}}class kg extends D1{getTypeName(){return"Style"}}class Zp extends D1{getTypeName(){return"Script"}}class th extends D1{getTypeName(){return"URL"}}class hb extends D1{getTypeName(){return"ResourceURL"}}function nc(d){return d instanceof D1?d.changingThisBreaksApplicationSecurity:d}function lu(d,b){const x=function fb(d){return d instanceof D1&&d.getTypeName()||null}(d);if(null!=x&&x!==b){if("ResourceURL"===x&&"URL"===b)return!0;throw new Error(`Required a safe ${b}, got a ${x} (see ${Bt})`)}return x===b}function I1(d){return new Qp(d)}function Nr(d){return new kg(d)}function gb(d){return new Zp(d)}function ad(d){return new th(d)}function vc(d){return new hb(d)}class R1{constructor(b){this.inertDocumentHelper=b}getInertBodyElement(b){b=""+b;try{const x=(new window.DOMParser).parseFromString(cp(b),"text/html").body;return null===x?this.inertDocumentHelper.getInertBodyElement(b):(x.removeChild(x.firstChild),x)}catch{return null}}}class C_{constructor(b){this.defaultDoc=b,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(b){const x=this.inertDocument.createElement("template");return x.innerHTML=cp(b),x}}const U2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function eh(d){return(d=String(d)).match(U2)?d:"unsafe:"+d}function Uc(d){const b={};for(const x of d.split(","))b[x]=!0;return b}function sd(...d){const b={};for(const x of d)for(const N in x)x.hasOwnProperty(N)&&(b[N]=!0);return b}const um=Uc("area,br,col,hr,img,wbr"),Du=Uc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lp=Uc("rp,rt"),nh=sd(um,sd(Du,Uc("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sd(lp,Uc("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sd(lp,Du)),mm=Uc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xg=sd(mm,Uc("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Uc("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Mg=Uc("script,style,template");class dp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(b){let x=b.firstChild,N=!0,q=[];for(;x;)if(x.nodeType===Node.ELEMENT_NODE?N=this.startElement(x):x.nodeType===Node.TEXT_NODE?this.chars(x.nodeValue):this.sanitizedSomething=!0,N&&x.firstChild)q.push(x),x=Bf(x);else for(;x;){x.nodeType===Node.ELEMENT_NODE&&this.endElement(x);let at=S1(x);if(at){x=at;break}x=q.pop()}return this.buf.join("")}startElement(b){const x=ih(b).toLowerCase();if(!nh.hasOwnProperty(x))return this.sanitizedSomething=!0,!Mg.hasOwnProperty(x);this.buf.push("<"),this.buf.push(x);const N=b.attributes;for(let q=0;q"),!0}endElement(b){const x=ih(b).toLowerCase();nh.hasOwnProperty(x)&&!um.hasOwnProperty(x)&&(this.buf.push(""))}chars(b){this.buf.push(hm(b))}}function S1(d){const b=d.nextSibling;if(b&&d!==b.previousSibling)throw pm(b);return b}function Bf(d){const b=d.firstChild;if(b&&function cd(d,b){return(d.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(d,b))throw pm(b);return b}function ih(d){const b=d.nodeName;return"string"==typeof b?b:"FORM"}function pm(d){return new Error(`Failed to sanitize html because the element is clobbered: ${d.outerHTML}`)}const o1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ic=/([^\#-~ |!])/g;function hm(d){return d.replace(/&/g,"&").replace(o1,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(ic,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(//g,">")}let ra;function Pc(d,b){let x=null;try{ra=ra||function Gf(d){const b=new C_(d);return function dm(){try{return!!(new window.DOMParser).parseFromString(cp(""),"text/html")}catch{return!1}}()?new R1(b):b}(d);let N=b?String(b):"";x=ra.getInertBodyElement(N);let q=5,at=N;do{if(0===q)throw new Error("Failed to sanitize html because the input is unstable");q--,N=at,at=x.innerHTML,x=ra.getInertBodyElement(N)}while(N!==at);return cp((new dp).sanitizeChildren(ja(x)||x))}finally{if(x){const N=ja(x)||x;for(;N.firstChild;)N.removeChild(N.firstChild)}}}function ja(d){return"content"in d&&function mc(d){return d.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===d.nodeName}(d)?d.content:null}var Ec=function(d){return d[d.NONE=0]="NONE",d[d.HTML=1]="HTML",d[d.STYLE=2]="STYLE",d[d.SCRIPT=3]="SCRIPT",d[d.URL=4]="URL",d[d.RESOURCE_URL=5]="RESOURCE_URL",d}(Ec||{});function J2(d){const b=fm();return b?Vf(b.sanitize(Ec.HTML,d)||""):lu(d,"HTML")?Vf(nc(d)):Pc(su(),bo(d))}function Ho(d){const b=fm();return b?b.sanitize(Ec.URL,d)||"":lu(d,"URL")?nc(d):eh(bo(d))}function wl(d){const b=fm();if(b)return T1(b.sanitize(Ec.RESOURCE_URL,d)||"");if(lu(d,"ResourceURL"))return T1(nc(d));throw new St(904,!1)}function oh(d,b,x){return function Xr(d,b){return"src"===b&&("embed"===d||"frame"===d||"iframe"===d||"media"===d||"script"===d)||"href"===b&&("base"===d||"link"===d)?wl:Ho}(b,x)(d)}function fm(){const d=wi();return d&&d[ua].sanitizer}const zf=/^>|^->||--!>|)/g,Tg="\u200b$1\u200b";function jg(d){return d.ownerDocument.defaultView}function Ng(d){return d.ownerDocument}function kd(d){return d instanceof Function?d():d}var Q2=function(d){return d[d.Important=1]="Important",d[d.DashCase=2]="DashCase",d}(Q2||{});let sh;function ch(d,b){return sh(d,b)}function O1(d,b,x,N,q){if(null!=N){let at,Ct=!1;vs(N)?at=N:js(N)&&(Ct=!0,N=N[tr]);const At=Ir(N);0===d&&null!==x?null==q?Cs(b,x,At):Fm(b,x,At,q||null,!0):1===d&&null!==x?Fm(b,x,At,q||null,!0):2===d?function uu(d,b,x){const N=j1(d,b);N&&function yb(d,b,x,N){d.removeChild(b,x,N)}(d,N,b,x)}(b,At,Ct):3===d&&b.destroyNode(At),null!=at&&function Yg(d,b,x,N,q){const at=x[ao];at!==Ir(x)&&O1(b,d,N,at,q);for(let At=Ro;Atb.replace(Fb,Tg))}(b))}function aa(d,b,x){return d.createElement(b,x)}function Gg(d,b){b[ua].changeDetectionScheduler?.notify(1),hp(d,b,b[nr],2,null,null)}function Bg(d,b){const x=d[zc],N=x.indexOf(b);x.splice(N,1)}function dh(d,b){if(d.length<=Ro)return;const x=Ro+b,N=d[x];if(N){const q=N[kr];null!==q&&q!==d&&Bg(q,N),b>0&&(d[x-1][er]=N[er]);const at=Pl(d,Ro+b);!function Z2(d,b){Gg(d,b),b[tr]=null,b[Da]=null}(N[Ui],N);const Ct=at[Ja];null!==Ct&&Ct.detachView(at[Ui]),N[_a]=null,N[er]=null,N[xo]&=-129}return N}function Jf(d,b){if(!(256&b[xo])){const x=b[nr];x.destroyNode&&hp(d,b,x,3,null,null),function lh(d){let b=d[Ic];if(!b)return uh(d[Ui],d);for(;b;){let x=null;if(js(b))x=b[Ic];else{const N=b[Ro];N&&(x=N)}if(!x){for(;b&&!b[er]&&b!==d;)js(b)&&uh(b[Ui],b),b=b[_a];null===b&&(b=d),js(b)&&uh(b[Ui],b),x=b&&b[er]}b=x}}(b)}}function uh(d,b){if(256&b[xo])return;const x=g(null);try{b[xo]&=-129,b[xo]|=256,b[Id]&&P(b[Id]),function D_(d,b){let x;if(null!=d&&null!=(x=d.destroyHooks))for(let N=0;N=0?N[Ct]():N[-Ct].unsubscribe(),at+=2}else x[at].call(N[x[at+1]]);null!==N&&(b[Bc]=null);const q=b[Ze];if(null!==q){b[Ze]=null;for(let at=0;at-1){const{encapsulation:at}=d.data[N.directiveStart+q];if(at===As.None||at===As.Emulated)return null}return ds(N,x)}}(d,b.parent,x)}function Fm(d,b,x,N,q){d.insertBefore(b,x,N,q)}function Cs(d,b,x){d.appendChild(b,x)}function vm(d,b,x,N,q){null!==N?Fm(d,b,x,N,q):Cs(d,b,x)}function j1(d,b){return d.parentNode(b)}function R_(d,b,x){return Em(d,b,x)}let Cm,Em=function mh(d,b,x){return 40&d.type?ds(d,x):null};function e0(d,b,x,N){const q=Xf(d,N,b),at=b[nr],At=R_(N.parent||b[Da],N,b);if(null!=q)if(Array.isArray(x))for(let Ut=0;UtGo&&hh(d,b,Go,!1),Hc(Ct?2:0,q),x(N,q)}finally{g1(at),Hc(Ct?3:1,q)}}function Ru(d,b,x){if(Ql(b)){const N=g(null);try{const at=b.directiveEnd;for(let Ct=b.directiveStart;Ctnull;function Kg(d,b,x,N,q){for(let at in b){if(!b.hasOwnProperty(at))continue;const Ct=b[at];if(void 0===Ct)continue;N??={};let At,Ut=Hs.None;Array.isArray(Ct)?(At=Ct[0],Ut=Ct[1]):At=Ct;let ye=at;if(null!==q){if(!q.hasOwnProperty(at))continue;ye=q[at]}0===d?n2(N,x,ye,At,Ut):n2(N,x,ye,At)}return N}function n2(d,b,x,N,q){let at;d.hasOwnProperty(x)?(at=d[x]).push(b,N):at=d[x]=[b,N],void 0!==q&&at.push(q)}function Ul(d,b,x,N,q,at,Ct,At){const Ut=ds(b,x);let Je,ye=b.inputs;!At&&null!=ye&&(Je=ye[N])?(wb(d,x,Je,N,q),Ns(b)&&function A_(d,b){const x=cc(b,d);16&x[xo]||(x[xo]|=64)}(x,b.index)):3&b.type&&(N=function P_(d){return"class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d}(N),q=null!=Ct?Ct(q,b.value||"",N):q,at.setProperty(Ut,N,q))}function Ot(d,b,x,N){if(Re()){const q=null===N?null:{"":-1},at=function Yi(d,b){const x=d.directiveRegistry;let N=null,q=null;if(x)for(let at=0;at0;){const x=d[--b];if("number"==typeof x&&x<0)return x}return 0})(Ct)!=At&&Ct.push(At),Ct.push(x,N,at)}}(d,b,N,gh(d,x,q.hostVars,Lr),q)}function Xo(d,b,x,N,q,at){const Ct=ds(d,b);!function ta(d,b,x,N,q,at,Ct){if(null==at)d.removeAttribute(b,q,x);else{const At=null==Ct?bo(at):Ct(at,N||"",q);d.setAttribute(b,q,At,x)}}(b[nr],Ct,at,d.value,x,N,q)}function xa(d,b,x,N,q,at){const Ct=at[b];if(null!==Ct)for(let At=0;At0&&(x[q-1][er]=b),N{j(d.lView)},consumerOnSignalRead(){this.lView[Id]=this}},Tb=100;function e4(d,b=!0,x=0){const N=d[ua],q=N.rendererFactory;q.begin?.();try{!function y5(d,b){c0(d,b);let x=0;for(;Xu(d);){if(x===Tb)throw new St(103,!1);x++,c0(d,1)}}(d,x)}catch(Ct){throw b&&Zg(d,Ct),Ct}finally{q.end?.(),N.inlineEffectRunner?.flush()}}function k5(d,b,x,N){const q=b[xo];if(!(256&~q))return;b[ua].inlineEffectRunner?.flush(),rf(b);let Ct=null,At=null;(function n4(d){return 2!==d.type})(d)&&(At=function j_(d){return d[Id]??function Mb(d){const b=pc.pop()??Object.create(C5);return b.lView=d,b}(d)}(b),Ct=O(At));try{ef(b),function Pp(d){return ir.lFrame.bindingIndex=d}(d.bindingStartIndex),null!==x&&qg(d,b,x,2,N);const Ut=!(3&~q);if(Ut){const fn=d.preOrderCheckHooks;null!==fn&&R2(b,fn,null)}else{const fn=d.preOrderHooks;null!==fn&&Cl(b,fn,0,null),Vl(b,0)}if(function Db(d){for(let b=k1(d);null!==b;b=kf(b)){if(!(b[xo]&vl.HasTransplantedViews))continue;const x=b[zc];for(let N=0;N-1&&(dh(b,N),Pl(x,N))}this._attachedToViewContainer=!1}Jf(this._lView[Ui],this._lView)}onDestroy(b){qt(this._lView,b)}markForCheck(){l0(this._cdRefInjectingView||this._lView)}detach(){this._lView[xo]&=-129}reattach(){Um(this._lView),this._lView[xo]|=128}detectChanges(){this._lView[xo]|=1024,e4(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new St(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Gg(this._lView[Ui],this._lView)}attachToAppRef(b){if(this._attachedToViewContainer)throw new St(902,!1);this._appRef=b,Um(this._lView)}}let i4=(()=>{class d{static{this.__NG_ELEMENT_ID__=Q8}}return d})();const W8=i4,K8=class extends W8{constructor(b,x,N){super(),this._declarationLView=b,this._declarationTContainer=x,this.elementRef=N}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(b,x){return this.createEmbeddedViewImpl(b,x)}createEmbeddedViewImpl(b,x,N){const q=Eh(this._declarationLView,this._declarationTContainer,b,{embeddedViewInjector:x,dehydratedView:N});return new d0(q)}};function Q8(){return u0(or(),wi())}function u0(d,b){return 4&d.type?new K8(b,d,rd(d,b)):null}let Nb=()=>null;function o2(d,b){return Nb(d,b)}class o4{}class dE{}class B_{}class N5{resolveComponentFactory(b){throw function uE(d){const b=Error(`No component factory found for ${li(d)}.`);return b.ngComponent=d,b}(b)}}let f0=(()=>{class d{static{this.NULL=new N5}}return d})();class L5{}let $5=(()=>{class d{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function V5(){const d=wi(),x=cc(or().index,d);return(js(x)?x:d)[nr]}()}}return d})(),G5=(()=>{class d{static{this.\u0275prov=Ti({token:d,providedIn:"root",factory:()=>null})}}return d})();const H_={},Lb=new Set;function Au(d){Lb.has(d)||(Lb.add(d),performance?.mark?.("mark_feature_usage",{detail:{feature:d}}))}function B5(...d){}class qo{constructor({enableLongStackTrace:b=!1,shouldCoalesceEventChangeDetection:x=!1,shouldCoalesceRunChangeDetection:N=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Zu(!1),this.onMicrotaskEmpty=new Zu(!1),this.onStable=new Zu(!1),this.onError=new Zu(!1),typeof Zone>"u")throw new St(908,!1);Zone.assertZonePatched();const q=this;q._nesting=0,q._outer=q._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(q._inner=q._inner.fork(new Zone.TaskTrackingZoneSpec)),b&&Zone.longStackTraceZoneSpec&&(q._inner=q._inner.fork(Zone.longStackTraceZoneSpec)),q.shouldCoalesceEventChangeDetection=!N&&x,q.shouldCoalesceRunChangeDetection=N,q.lastRequestAnimationFrameId=-1,q.nativeRequestAnimationFrame=function Y_(){const d="function"==typeof Ln.requestAnimationFrame;let b=Ln[d?"requestAnimationFrame":"setTimeout"],x=Ln[d?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&b&&x){const N=b[Zone.__symbol__("OriginalDelegate")];N&&(b=N);const q=x[Zone.__symbol__("OriginalDelegate")];q&&(x=q)}return{nativeRequestAnimationFrame:b,nativeCancelAnimationFrame:x}}().nativeRequestAnimationFrame,function hE(d){const b=()=>{!function $b(d){d.isCheckStableRunning||-1!==d.lastRequestAnimationFrameId||(d.lastRequestAnimationFrameId=d.nativeRequestAnimationFrame.call(Ln,()=>{d.fakeTopEventTask||(d.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{d.lastRequestAnimationFrameId=-1,kh(d),d.isCheckStableRunning=!0,r4(d),d.isCheckStableRunning=!1},void 0,()=>{},()=>{})),d.fakeTopEventTask.invoke()}),kh(d))}(d)};d._inner=d._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(x,N,q,at,Ct,At)=>{if(function Ud(d){return!(!Array.isArray(d)||1!==d.length)&&!0===d[0].data?.__ignore_ng_zone__}(At))return x.invokeTask(q,at,Ct,At);try{return Vb(d),x.invokeTask(q,at,Ct,At)}finally{(d.shouldCoalesceEventChangeDetection&&"eventTask"===at.type||d.shouldCoalesceRunChangeDetection)&&b(),Gb(d)}},onInvoke:(x,N,q,at,Ct,At,Ut)=>{try{return Vb(d),x.invoke(q,at,Ct,At,Ut)}finally{d.shouldCoalesceRunChangeDetection&&b(),Gb(d)}},onHasTask:(x,N,q,at)=>{x.hasTask(q,at),N===q&&("microTask"==at.change?(d._hasPendingMicrotasks=at.microTask,kh(d),r4(d)):"macroTask"==at.change&&(d.hasPendingMacrotasks=at.macroTask))},onHandleError:(x,N,q,at)=>(x.handleError(q,at),d.runOutsideAngular(()=>d.onError.emit(at)),!1)})}(q)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!qo.isInAngularZone())throw new St(909,!1)}static assertNotInAngularZone(){if(qo.isInAngularZone())throw new St(909,!1)}run(b,x,N){return this._inner.run(b,x,N)}runTask(b,x,N,q){const at=this._inner,Ct=at.scheduleEventTask("NgZoneEvent: "+q,b,z5,B5,B5);try{return at.runTask(Ct,x,N)}finally{at.cancelTask(Ct)}}runGuarded(b,x,N){return this._inner.runGuarded(b,x,N)}runOutsideAngular(b){return this._outer.run(b)}}const z5={};function r4(d){if(0==d._nesting&&!d.hasPendingMicrotasks&&!d.isStable)try{d._nesting++,d.onMicrotaskEmpty.emit(null)}finally{if(d._nesting--,!d.hasPendingMicrotasks)try{d.runOutsideAngular(()=>d.onStable.emit(null))}finally{d.isStable=!0}}}function kh(d){d.hasPendingMicrotasks=!!(d._hasPendingMicrotasks||(d.shouldCoalesceEventChangeDetection||d.shouldCoalesceRunChangeDetection)&&-1!==d.lastRequestAnimationFrameId)}function Vb(d){d._nesting++,d.isStable&&(d.isStable=!1,d.onUnstable.emit(null))}function Gb(d){d._nesting--,r4(d)}class a4{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zu,this.onMicrotaskEmpty=new Zu,this.onStable=new Zu,this.onError=new Zu}run(b,x,N){return b.apply(x,N)}runGuarded(b,x,N){return b.apply(x,N)}runOutsideAngular(b){return b()}runTask(b,x,N,q){return b.apply(x,N)}}var wh=function(d){return d[d.EarlyRead=0]="EarlyRead",d[d.Write=1]="Write",d[d.MixedReadWrite=2]="MixedReadWrite",d[d.Read=3]="Read",d}(wh||{});const U_={destroy(){}};function ss(d,b){!b&&ro();const x=b?.injector??wo(Yc);if(!function du(d){return"browser"===(d??wo(Yc)).get(Mf)}(x))return U_;Au("NgAfterNextRender");const N=x.get(r2),q=N.handler??=new Y5,at=b?.phase??wh.MixedReadWrite,Ct=()=>{q.unregister(Ut),At()},At=x.get(ou).onDestroy(Ct),Ut=Bi(x,()=>new Bb(at,()=>{Ct(),d()}));return q.register(Ut),{destroy:Ct}}class Bb{constructor(b,x){this.phase=b,this.callbackFn=x,this.zone=wo(qo),this.errorHandler=wo(Qu,{optional:!0}),wo(o4,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(b){this.errorHandler?.handleError(b)}}}class Y5{constructor(){this.executingCallbacks=!1,this.buckets={[wh.EarlyRead]:new Set,[wh.Write]:new Set,[wh.MixedReadWrite]:new Set,[wh.Read]:new Set},this.deferredCallbacks=new Set}register(b){(this.executingCallbacks?this.deferredCallbacks:this.buckets[b.phase]).add(b)}unregister(b){this.buckets[b.phase].delete(b),this.deferredCallbacks.delete(b)}execute(){this.executingCallbacks=!0;for(const b of Object.values(this.buckets))for(const x of b)x.invoke();this.executingCallbacks=!1;for(const b of this.deferredCallbacks)this.buckets[b.phase].add(b);this.deferredCallbacks.clear()}destroy(){for(const b of Object.values(this.buckets))b.clear();this.deferredCallbacks.clear()}}let r2=(()=>{class d{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const x=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const N of x)N()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=Ti({token:d,providedIn:"root",factory:()=>new d})}}return d})();function On(d){return!!Xe(d)}function _0(d,b,x){let N=x?d.styles:null,q=x?d.classes:null,at=0;if(null!==b)for(let Ct=0;Ct0&&o0(d,x,at.join(" "))}}(Zn,ud,Gi,N),void 0!==x&&function fE(d,b,x){const N=d.projection=[];for(let q=0;q{class d{static{this.__NG_ELEMENT_ID__=b0}}return d})();function b0(){return Jb(or(),wi())}const Mm=q_,wr=class extends Mm{constructor(b,x,N){super(),this._lContainer=b,this._hostTNode=x,this._hostLView=N}get element(){return rd(this._hostTNode,this._hostLView)}get injector(){return new Ls(this._hostTNode,this._hostLView)}get parentInjector(){const b=_1(this._hostTNode,this._hostLView);if(uf(b)){const x=Ca(b,this._hostLView),N=wu(b);return new Ls(x[Ui].data[N+8],x)}return new Ls(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(b){const x=Tm(this._lContainer);return null!==x&&x[b]||null}get length(){return this._lContainer.length-Ro}createEmbeddedView(b,x,N){let q,at;"number"==typeof N?q=N:null!=N&&(q=N.index,at=N.injector);const Ct=o2(this._lContainer,b.ssrId),At=b.createEmbeddedViewImpl(x||{},at,Ct);return this.insertImpl(At,q,Ch(this._hostTNode,Ct)),At}createComponent(b,x,N,q,at){const Ct=b&&!function Ni(d){return"function"==typeof d}(b);let At;if(Ct)At=x;else{const fi=x||{};At=fi.index,N=fi.injector,q=fi.projectableNodes,at=fi.environmentInjector||fi.ngModuleRef}const Ut=Ct?b:new Ep(yr(b)),ye=N||this.parentInjector;if(!at&&null==Ut.ngModule){const Gi=(Ct?ye:this.parentInjector).get(Ra,null);Gi&&(at=Gi)}const Je=yr(Ut.componentType??{}),fn=o2(this._lContainer,Je?.id??null),Zn=Ut.create(ye,q,fn?.firstChild??null,at);return this.insertImpl(Zn.hostView,At,Ch(this._hostTNode,fn)),Zn}insert(b,x){return this.insertImpl(b,x,!0)}insertImpl(b,x,N){const q=b._lView;if(function tc(d){return vs(d[_a])}(q)){const At=this.indexOf(b);if(-1!==At)this.detach(At);else{const Ut=q[_a],ye=new wr(Ut,Ut[Da],Ut[_a]);ye.detach(ye.indexOf(b))}}const at=this._adjustIndex(x),Ct=this._lContainer;return xd(Ct,q,at,N),b.attachToViewContainerRef(),ac(Ub(Ct),at,b),b}move(b,x){return this.insert(b,x)}indexOf(b){const x=Tm(this._lContainer);return null!==x?x.indexOf(b):-1}remove(b){const x=this._adjustIndex(b,-1),N=dh(this._lContainer,x);N&&(Pl(Ub(this._lContainer),x),Jf(N[Ui],N))}detach(b){const x=this._adjustIndex(b,-1),N=dh(this._lContainer,x);return N&&null!=Pl(Ub(this._lContainer),x)?new d0(N):null}_adjustIndex(b,x=0){return b??this.length+x}};function Tm(d){return d[8]}function Ub(d){return d[8]||(d[8]=[])}function Jb(d,b){let x;const N=b[d.index];return vs(N)?x=N:(x=Xc(N,b,null,d),b[d.index]=x,$s(b,x)),Xb(x,b,d,N),new wr(x,d,b)}let Xb=function qb(d,b,x,N){if(d[ao])return;let q;q=8&x.type?Ir(N):function _E(d,b){const x=d[nr],N=x.createComment(""),q=ds(b,d);return Fm(x,j1(x,q),N,function I_(d,b){return d.nextSibling(b)}(x,q),!1),N}(b,x),d[ao]=q},a2=()=>!1;class F0{constructor(b){this.queryList=b,this.matches=null}clone(){return new F0(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kb{constructor(b=[]){this.queries=b}createEmbeddedView(b){const x=b.queries;if(null!==x){const N=null!==b.contentQueries?b.contentQueries[0]:x.length,q=[];for(let at=0;atb.trim())}(b):b}}class W_{constructor(b=[]){this.queries=b}elementStart(b,x){for(let N=0;N0)N.push(Ct[At/2]);else{const ye=at[At+1],Je=b[-Ut];for(let fn=Ro;fn(m(b),b.value);return x[C]=b,x}(d),N=x[C];return b?.equal&&(N.equal=b.equal),x.set=q=>tt(N,q),x.update=q=>function ut(d,b){T()||ft(),tt(d,b(d.value))}(N,q),x.asReadonly=iF.bind(x),x}function iF(){const d=this[C];if(void 0===d.readonlyFn){const b=()=>this();b[C]=d,d.readonlyFn=b}return d.readonlyFn}function oF(d){return Z_(d)&&"function"==typeof d.set}function o3(d){let b=function uF(d){return Object.getPrototypeOf(d.prototype).constructor}(d.type),x=!0;const N=[d];for(;b;){let q;if(td(d))q=b.\u0275cmp||b.\u0275dir;else{if(b.\u0275cmp)throw new St(903,!1);q=b.\u0275dir}if(q){if(x){N.push(q);const Ct=d;Ct.inputs=p4(d.inputs),Ct.inputTransforms=p4(d.inputTransforms),Ct.declaredInputs=p4(d.declaredInputs),Ct.outputs=p4(d.outputs);const At=q.hostBindings;At&&cv(d,At);const Ut=q.viewQuery,ye=q.contentQueries;if(Ut&&LE(d,Ut),ye&&sv(d,ye),jE(d,q),ui(d.outputs,q.outputs),td(q)&&q.data.animation){const Je=d.data;Je.animation=(Je.animation||[]).concat(q.data.animation)}}const at=q.features;if(at)for(let Ct=0;Ct=0;N--){const q=d[N];q.hostVars=b+=q.hostVars,q.hostAttrs=re(q.hostAttrs,x=re(x,q.hostAttrs))}}(N)}function jE(d,b){for(const x in b.inputs){if(!b.inputs.hasOwnProperty(x)||d.inputs.hasOwnProperty(x))continue;const N=b.inputs[x];if(void 0!==N&&(d.inputs[x]=N,d.declaredInputs[x]=b.declaredInputs[x],null!==b.inputTransforms)){const q=Array.isArray(N)?N[0]:N;if(!b.inputTransforms.hasOwnProperty(q))continue;d.inputTransforms??={},d.inputTransforms[q]=b.inputTransforms[q]}}}function p4(d){return d===Qs?{}:d===Ar?[]:d}function LE(d,b){const x=d.viewQuery;d.viewQuery=x?(N,q)=>{b(N,q),x(N,q)}:b}function sv(d,b){const x=d.contentQueries;d.contentQueries=x?(N,q,at)=>{b(N,q,at),x(N,q,at)}:b}function cv(d,b){const x=d.hostBindings;d.hostBindings=x?(N,q)=>{b(N,q),x(N,q)}:b}function mv(d){const b=d.inputConfig,x={};for(const N in b)if(b.hasOwnProperty(N)){const q=b[N];Array.isArray(q)&&q[3]&&(x[N]=q[3])}d.inputTransforms=x}class l2{}class Cp{}function v0(d,b){return new E0(d,b??null,[])}class E0 extends l2{constructor(b,x,N){super(),this._parent=x,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hb(this);const q=Xe(b);this._bootstrapComponents=kd(q.bootstrap),this._r3Injector=v1(b,x,[{provide:l2,useValue:this},{provide:f0,useValue:this.componentFactoryResolver},...N],li(b),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(b)}get injector(){return this._r3Injector}destroy(){const b=this._r3Injector;!b.destroyed&&b.destroy(),this.destroyCbs.forEach(x=>x()),this.destroyCbs=null}onDestroy(b){this.destroyCbs.push(b)}}class r3 extends Cp{constructor(b){super(),this.moduleType=b}create(b){return new E0(this.moduleType,b,[])}}class hv extends l2{constructor(b){super(),this.componentFactoryResolver=new Hb(this),this.instance=null;const x=new Fl([...b.providers,{provide:l2,useValue:this},{provide:f0,useValue:this.componentFactoryResolver}],b.parent||Uo(),b.debugName,new Set(["environment"]));this.injector=x,b.runEnvironmentInitializers&&x.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(b){this.injector.onDestroy(b)}}function h4(d,b,x=null){return new hv({providers:d,parent:b,debugName:x,runEnvironmentInitializers:!0}).injector}let y0=(()=>{class d{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Xt.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const x=this.taskId++;return this.pendingTasks.add(x),x}remove(x){this.pendingTasks.delete(x),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();function V1(d){return!!gF(d)&&(Array.isArray(d)||!(d instanceof Map)&&Symbol.iterator in d)}function gF(d){return null!==d&&("function"==typeof d||"object"==typeof d)}function Rm(d,b,x){return d[b]=x}function qc(d,b,x){return!Object.is(d[b],x)&&(d[b]=x,!0)}function yp(d,b,x,N){const q=qc(d,b,x);return qc(d,b+1,N)||q}function Rh(d,b,x,N,q){const at=yp(d,b,x,N);return qc(d,b+2,q)||at}function pu(d,b,x,N,q,at){const Ct=yp(d,b,x,N);return yp(d,b+2,q,at)||Ct}function d2(d,b,x,N,q,at,Ct,At){const Ut=wi(),ye=ur(),Je=d+Go,fn=ye.firstCreatePass?function _F(d,b,x,N,q,at,Ct,At,Ut){const ye=b.consts,Je=r1(b,d,4,Ct||null,Pd(ye,At));Ot(b,x,Je,Pd(ye,Ut)),sf(b,Je);const fn=Je.tView=Fh(2,Je,N,q,at,b.directiveRegistry,b.pipeRegistry,null,b.schemas,ye,null);return null!==b.queries&&(b.queries.template(b,Je),fn.queries=b.queries.embeddedTView(Je)),Je}(Je,ye,Ut,b,x,N,q,at,Ct):ye.data[Je];Fd(fn,!1);const Un=bF(ye,Ut,fn,d);qm()&&e0(ye,Ut,Un,fn),ms(Un,Ut);const Zn=Xc(Un,Ut,Un,fn);return Ut[Je]=Zn,$s(Ut,Zn),function q5(d,b,x){return a2(d,b,x)}(Zn,fn,Ut),Zl(fn)&&Qf(ye,Ut,fn),null!=Ct&&_h(Ut,fn,At),d2}let bF=function _v(d,b,x,N){return us(!0),b[nr].createComment("")};function jF(d,b,x,N){const q=wi();return qc(q,jd(),b)&&(ur(),Xo(Ea(),q,d,b,x,N)),jF}function $h(d,b,x,N){return qc(d,jd(),x)?b+bo(x)+N:Lr}function g2(d,b,x,N,q,at){const At=yp(d,h1(),x,q);return f1(2),At?b+bo(x)+N+bo(q)+at:Lr}function x4(d,b){return d<<17|b<<2}function Gh(d){return d>>17&32767}function BF(d){return 2|d}function Bh(d){return(131068&d)>>2}function zF(d,b){return-131069&d|b<<2}function HF(d){return 1|d}function YF(d,b,x,N){const q=d[x+1],at=null===b;let Ct=N?Gh(q):Bh(q),At=!1;for(;0!==Ct&&(!1===At||at);){const ye=d[Ct+1];oC(d[Ct],b)&&(At=!0,d[Ct+1]=N?HF(ye):BF(ye)),Ct=N?Gh(ye):Bh(ye)}At&&(d[x+1]=N?BF(q):HF(q))}function oC(d,b){return null===d||null==b||(Array.isArray(d)?d[1]:d)===b||!(!Array.isArray(d)||"string"!=typeof b)&&xs(d,b)>=0}const Dl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p3(d){return d.substring(Dl.key,Dl.keyEnd)}function UF(d,b){const x=Dl.textEnd;return x===b?-1:(b=Dl.keyEnd=function Kv(d,b,x){for(;b32;)b++;return b}(d,Dl.key=b,x),D0(d,b,x))}function D0(d,b,x){for(;b=0;x=UF(b,x))ha(d,p3(b),!0)}function s1(d,b,x,N){const q=wi(),at=ur(),Ct=f1(2);at.firstUpdatePass&&KF(at,d,Ct,N),b!==Lr&&qc(q,Ct,b)&&b3(at,at.data[ec()],q,q[nr],d,q[Ct+1]=function r7(d,b){return null==d||""===d||("string"==typeof b?d+=b:"object"==typeof d&&(d=li(nc(d)))),d}(b,x),N,Ct)}function $u(d,b,x,N){const q=ur(),at=f1(2);q.firstUpdatePass&&KF(q,null,at,N);const Ct=wi();if(x!==Lr&&qc(Ct,at,x)){const At=q.data[ec()];if(a7(At,N)&&!WF(q,at)){let Ut=N?At.classesWithoutHost:At.stylesWithoutHost;null!==Ut&&(x=Jn(Ut,x||"")),f3(q,At,Ct,x,N)}else!function t6(d,b,x,N,q,at,Ct,At){q===Lr&&(q=Ar);let Ut=0,ye=0,Je=0=d.expandoStartIndex}function KF(d,b,x,N){const q=d.data;if(null===q[x+1]){const at=q[ec()],Ct=WF(d,x);a7(at,N)&&null===b&&!Ct&&(b=!1),b=function QF(d,b,x,N){const q=M2(d);let at=N?b.residualClasses:b.residualStyles;if(null===q)0===(N?b.classBindings:b.styleBindings)&&(x=zh(x=_3(null,d,b,x,N),b.attrs,N),at=null);else{const Ct=b.directiveStylingLast;if(-1===Ct||d[Ct]!==q)if(x=_3(q,d,b,x,N),null===at){let Ut=function ZF(d,b,x){const N=x?b.classBindings:b.styleBindings;if(0!==Bh(N))return d[Gh(N)]}(d,b,N);void 0!==Ut&&Array.isArray(Ut)&&(Ut=_3(null,d,b,Ut[1],N),Ut=zh(Ut,b.attrs,N),function M4(d,b,x,N){d[Gh(x?b.classBindings:b.styleBindings)]=N}(d,b,N,Ut))}else at=function n7(d,b,x){let N;const q=b.directiveEnd;for(let at=1+b.directiveStylingLast;at0)&&(ye=!0)):Je=x,q)if(0!==Ut){const Un=Gh(d[At+1]);d[N+1]=x4(Un,At),0!==Un&&(d[Un+1]=zF(d[Un+1],N)),d[At+1]=function zv(d,b){return 131071&d|b<<17}(d[At+1],N)}else d[N+1]=x4(At,0),0!==At&&(d[At+1]=zF(d[At+1],N)),At=N;else d[N+1]=x4(Ut,0),0===At?At=N:d[Ut+1]=zF(d[Ut+1],N),Ut=N;ye&&(d[N+1]=BF(d[N+1])),YF(d,Je,N,!0),YF(d,Je,N,!1),function Uv(d,b,x,N,q){const at=q?d.residualClasses:d.residualStyles;null!=at&&"string"==typeof b&&xs(at,b)>=0&&(x[N+1]=HF(x[N+1]))}(b,Je,d,N,at),Ct=x4(At,Ut),at?b.classBindings=Ct:b.styleBindings=Ct}(q,at,b,x,Ct,N)}}function _3(d,b,x,N,q){let at=null;const Ct=x.directiveEnd;let At=x.directiveStylingLast;for(-1===At?At=x.directiveStart:At++;At0;){const Ut=d[q],ye=Array.isArray(Ut),Je=ye?Ut[1]:Ut,fn=null===Je;let Un=x[q+1];Un===Lr&&(Un=fn?Ar:void 0);let Zn=fn?Va(Un,N):Je===N?Un:void 0;if(ye&&!D4(Zn)&&(Zn=Va(Ut,N)),D4(Zn)&&(At=Zn,Ct))return At;const fi=d[q+1];q=Ct?Gh(fi):Bh(fi)}if(null!==b){let Ut=at?b.residualClasses:b.residualStyles;null!=Ut&&(At=Va(Ut,N))}return At}function D4(d){return void 0!==d}function a7(d,b){return!!(d.flags&(b?8:16))}function F3(d,b,x){$u(ha,Am,$h(wi(),d,b,x),!0)}class d7{destroy(b){}updateValue(b,x){}swap(b,x){const N=Math.min(b,x),q=Math.max(b,x),at=this.detach(q);if(q-N>1){const Ct=this.detach(N);this.attach(N,at),this.attach(q,Ct)}else this.attach(N,at)}move(b,x){this.attach(x,this.detach(b))}}function i6(d,b,x,N,q){return d===x&&Object.is(b,N)?1:Object.is(q(d,b),q(x,N))?-1:0}function o6(d,b,x,N){return!(void 0===b||!b.has(N)||(d.attach(x,b.get(N)),b.delete(N),0))}function v3(d,b,x,N,q){if(o6(d,b,N,x(N,q)))d.updateValue(N,q);else{const at=d.create(N,q);d.attach(N,at)}}function R4(d,b,x,N){const q=new Set;for(let at=b;at<=x;at++)q.add(N(at,d.at(at)));return q}class E3{constructor(){this.kvMap=new Map,this._vMap=void 0}has(b){return this.kvMap.has(b)}delete(b){if(!this.has(b))return!1;const x=this.kvMap.get(b);return void 0!==this._vMap&&this._vMap.has(x)?(this.kvMap.set(b,this._vMap.get(x)),this._vMap.delete(x)):this.kvMap.delete(b),!0}get(b){return this.kvMap.get(b)}set(b,x){if(this.kvMap.has(b)){let N=this.kvMap.get(b);void 0===this._vMap&&(this._vMap=new Map);const q=this._vMap;for(;q.has(N);)N=q.get(N);q.set(N,x)}else this.kvMap.set(b,x)}forEach(b){for(let[x,N]of this.kvMap)if(b(N,x),void 0!==this._vMap){const q=this._vMap;for(;q.has(N);)N=q.get(N),b(N,x)}}}function S4(d,b,x){Au("NgControlFlow");const N=wi(),q=jd(),at=a6(N,Go+d);if(qc(N,q,b)){const At=g(null);try{if(r0(at,0),-1!==b){const Ut=s6(N[Ui],Go+b),ye=o2(at,Ut.tView.ssrId);xd(at,Eh(N,Ut,x,{dehydratedView:ye}),0,Ch(Ut,ye))}}finally{g(At)}}else{const At=ld(at,0);void 0!==At&&(At[wa]=x)}}class m7{constructor(b,x,N){this.lContainer=b,this.$implicit=x,this.$index=N}get $count(){return this.lContainer.length-Ro}}function C3(d,b){return b}class dC{constructor(b,x,N){this.hasEmptyBlock=b,this.trackByFn=x,this.liveCollection=N}}function r6(d,b,x,N,q,at,Ct,At,Ut,ye,Je,fn,Un){Au("NgControlFlow");const Zn=void 0!==Ut,fi=wi(),Gi=At?Ct.bind(fi[Fa][wa]):Ct,io=new dC(Zn,Gi);fi[Go+d]=io,d2(d+1,b,x,N,q,at),Zn&&d2(d+2,Ut,ye,Je,fn,Un)}class uC extends d7{constructor(b,x,N){super(),this.lContainer=b,this.hostLView=x,this.templateTNode=N,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ro}at(b){return this.getLView(b)[wa].$implicit}attach(b,x){const N=x[Ba];this.needsIndexUpdate||=b!==this.length,xd(this.lContainer,x,b,Ch(this.templateTNode,N))}detach(b){return this.needsIndexUpdate||=b!==this.length-1,function mC(d,b){return dh(d,b)}(this.lContainer,b)}create(b,x){const N=o2(this.lContainer,this.templateTNode.tView.ssrId);return Eh(this.hostLView,this.templateTNode,new m7(this.lContainer,x,b),{dehydratedView:N})}destroy(b){Jf(b[Ui],b)}updateValue(b,x){this.getLView(b)[wa].$implicit=x}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let b=0;b{d.destroy(At)})}(Ct,d,at.trackByFn),Ct.updateIndexes(),at.hasEmptyBlock){const At=jd(),Ut=0===Ct.length;if(qc(N,At,Ut)){const ye=x+2,Je=a6(N,ye);if(Ut){const fn=s6(q,ye),Un=o2(Je,fn.tView.ssrId);xd(Je,Eh(N,fn,void 0,{dehydratedView:Un}),0,Ch(fn,Un))}else r0(Je,0)}}}finally{g(b)}}function a6(d,b){return d[b]}function s6(d,b){return Cu(d,b)}function P4(d,b,x,N){const q=wi(),at=ur(),Ct=Go+d,At=q[nr],Ut=at.firstCreatePass?function pC(d,b,x,N,q,at){const Ct=b.consts,Ut=r1(b,d,2,N,Pd(Ct,q));return Ot(b,x,Ut,Pd(Ct,at)),null!==Ut.attrs&&_0(Ut,Ut.attrs,!1),null!==Ut.mergedAttrs&&_0(Ut,Ut.mergedAttrs,!0),null!==b.queries&&b.queries.elementStart(b,Ut),Ut}(Ct,at,q,b,x,N):at.data[Ct],ye=c6(at,q,Ut,At,b,d);q[Ct]=ye;const Je=Zl(Ut);return Fd(Ut,!0),ph(At,ye,Ut),!function Sh(d){return!(32&~d.flags)}(Ut)&&qm()&&e0(at,q,ye,Ut),0===function Ft(){return ir.lFrame.elementDepthCount}()&&ms(ye,q),function $t(){ir.lFrame.elementDepthCount++}(),Je&&(Qf(at,q,Ut),Ru(at,Ut,q)),null!==N&&_h(q,Ut),P4}function I0(){let d=or();Sp()?J1():(d=d.parent,Fd(d,!1));const b=d;(function Xn(d){return ir.skipHydrationRootTNode===d})(b)&&function Kr(){ir.skipHydrationRootTNode=null}(),function me(){ir.lFrame.elementDepthCount--}();const x=ur();return x.firstCreatePass&&(sf(x,d),Ql(d)&&x.queries.elementEnd(d)),null!=b.classesWithoutHost&&function W1(d){return!!(8&d.flags)}(b)&&f3(x,b,wi(),b.classesWithoutHost,!0),null!=b.stylesWithoutHost&&function dl(d){return!!(16&d.flags)}(b)&&f3(x,b,wi(),b.stylesWithoutHost,!1),I0}function A4(d,b,x,N){return P4(d,b,x,N),I0(),A4}let c6=(d,b,x,N,q,at)=>(us(!0),aa(N,q,function r_(){return ir.lFrame.currentNamespace}()));function O4(d,b,x){const N=wi(),q=ur(),at=d+Go,Ct=q.firstCreatePass?function g7(d,b,x,N,q){const at=b.consts,Ct=Pd(at,N),At=r1(b,d,8,"ng-container",Ct);return null!==Ct&&_0(At,Ct,!0),Ot(b,x,At,Pd(at,q)),null!==b.queries&&b.queries.elementStart(b,At),At}(at,q,N,b,x):q.data[at];Fd(Ct,!0);const At=_7(q,N,Ct,d);return N[at]=At,qm()&&e0(q,N,At,Ct),ms(At,N),Zl(Ct)&&(Qf(q,N,Ct),Ru(q,Ct,N)),null!=x&&_h(N,Ct),O4}function k3(){let d=or();const b=ur();return Sp()?J1():(d=d.parent,Fd(d,!1)),b.firstCreatePass&&(sf(b,d),Ql(d)&&b.queries.elementEnd(d)),k3}function j4(d,b,x){return O4(d,b,x),k3(),j4}let _7=(d,b,x,N)=>(us(!0),Vg(b[nr],""));function w3(){return wi()}function d6(d,b,x){const N=wi();return qc(N,jd(),b)&&Ul(ur(),Ea(),N,d,b,N[nr],x,!0),d6}function x3(d,b,x){const N=wi();if(qc(N,jd(),b)){const at=ur(),Ct=Ea();Ul(at,Ct,N,d,b,O_(M2(at.data),Ct,N),x,!0)}return x3}const b2=void 0;var F7=["en",[["a","p"],["AM","PM"],b2],[["AM","PM"],b2,b2],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],b2,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],b2,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",b2,"{1} 'at' {0}",b2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function fC(d){const x=Math.floor(Math.abs(d)),N=d.toString().replace(/^[^.]*\.?/,"").length;return 1===x&&0===N?1:5}];let R0={};function v7(d,b,x){"string"!=typeof b&&(x=b,b=d[Om.LocaleId]),b=b.toLowerCase().replace(/_/g,"-"),R0[b]=d,x&&(R0[b][Om.ExtraData]=x)}function F2(d){const b=function _C(d){return d.toLowerCase().replace(/_/g,"-")}(d);let x=E7(b);if(x)return x;const N=b.split("-")[0];if(x=E7(N),x)return x;if("en"===N)return F7;throw new St(701,!1)}function u6(d){return F2(d)[Om.PluralCase]}function E7(d){return d in R0||(R0[d]=Ln.ng&&Ln.ng.common&&Ln.ng.common.locales&&Ln.ng.common.locales[d]),R0[d]}var Om=function(d){return d[d.LocaleId=0]="LocaleId",d[d.DayPeriodsFormat=1]="DayPeriodsFormat",d[d.DayPeriodsStandalone=2]="DayPeriodsStandalone",d[d.DaysFormat=3]="DaysFormat",d[d.DaysStandalone=4]="DaysStandalone",d[d.MonthsFormat=5]="MonthsFormat",d[d.MonthsStandalone=6]="MonthsStandalone",d[d.Eras=7]="Eras",d[d.FirstDayOfWeek=8]="FirstDayOfWeek",d[d.WeekendRange=9]="WeekendRange",d[d.DateFormat=10]="DateFormat",d[d.TimeFormat=11]="TimeFormat",d[d.DateTimeFormat=12]="DateTimeFormat",d[d.NumberSymbols=13]="NumberSymbols",d[d.NumberFormats=14]="NumberFormats",d[d.CurrencyCode=15]="CurrencyCode",d[d.CurrencySymbol=16]="CurrencySymbol",d[d.CurrencyName=17]="CurrencyName",d[d.Currencies=18]="Currencies",d[d.Directionality=19]="Directionality",d[d.PluralCase=20]="PluralCase",d[d.ExtraData=21]="ExtraData",d}(Om||{});const S0="en-US";let p6=S0;function M6(d,b,x,N){const q=wi(),at=ur(),Ct=or();return S3(at,q,q[nr],Ct,d,b,N),M6}function ps(d,b){const x=or(),N=wi(),q=ur();return S3(q,N,O_(M2(q.data),x,N),x,d,b),ps}function S3(d,b,x,N,q,at,Ct){const At=Zl(N),ye=d.firstCreatePass&&E5(d),Je=b[wa],fn=Qg(b);let Un=!0;if(3&N.type||Ct){const Gi=ds(N,b),io=Ct?Ct(Gi):Gi,ho=fn.length,Ji=Ct?qa=>Ct(Ir(qa[N.index])):N.index;let Rr=null;if(!Ct&&At&&(Rr=function T6(d,b,x,N){const q=d.cleanup;if(null!=q)for(let at=0;atUt?At[Ut]:null}"string"==typeof Ct&&(at+=2)}return null}(d,b,q,N.index)),null!==Rr)(Rr.__ngLastListenerFn__||Rr).__ngNextListenerFn__=at,Rr.__ngLastListenerFn__=at,Un=!1;else{at=I6(N,b,Je,at,!1);const qa=x.listen(io,q,at);fn.push(at,qa),ye&&ye.push(q,Ji,ho,ho+1)}}else at=I6(N,b,Je,at,!1);const Zn=N.outputs;let fi;if(Un&&null!==Zn&&(fi=Zn[q])){const Gi=fi.length;if(Gi)for(let io=0;io-1?cc(d.index,b):b);let Ut=D6(b,x,N,Ct),ye=at.__ngNextListenerFn__;for(;ye;)Ut=D6(b,x,ye,Ct)&&Ut,ye=ye.__ngNextListenerFn__;return q&&!1===Ut&&Ct.preventDefault(),Ut}}function rr(d=1){return function af(d){return(ir.lFrame.contextLView=function Ju(d,b){for(;d>0;)b=b[bu],d--;return b}(d,ir.lFrame.contextLView))[wa]}(d)}function Hr(d,b){let x=null;const N=function hd(d){const b=d.attrs;if(null!=b){const x=b.indexOf(5);if(!(1&x))return b[x+1]}return null}(d);for(let q=0;q(us(!0),function Uf(d,b){return d.createText(b)}(b[nr],N));function B6(d){return V3("",d,""),B6}function V3(d,b,x){const N=wi(),q=$h(N,d,b,x);return q!==Lr&&$1(N,ec(),q),V3}function H0(d,b,x,N,q){const at=wi(),Ct=g2(at,d,b,x,N,q);return Ct!==Lr&&$1(at,ec(),Ct),H0}function G3(d,b,x,N,q,at,Ct){const At=wi(),Ut=function Vh(d,b,x,N,q,at,Ct,At){const ye=Rh(d,h1(),x,q,Ct);return f1(3),ye?b+bo(x)+N+bo(q)+at+bo(Ct)+At:Lr}(At,d,b,x,N,q,at,Ct);return Ut!==Lr&&$1(At,ec(),Ut),G3}function z6(d,b,x,N,q,at,Ct,At,Ut){const ye=wi(),Je=function M0(d,b,x,N,q,at,Ct,At,Ut,ye){const fn=pu(d,h1(),x,q,Ct,Ut);return f1(4),fn?b+bo(x)+N+bo(q)+at+bo(Ct)+At+bo(Ut)+ye:Lr}(ye,d,b,x,N,q,at,Ct,At,Ut);return Je!==Lr&&$1(ye,ec(),Je),z6}function Md(d,b,x){oF(b)&&(b=b());const N=wi();return qc(N,jd(),b)&&Ul(ur(),Ea(),N,d,b,N[nr],x,!1),Md}function h8(d,b){const x=oF(d);return x&&d.set(b),x}function Y0(d,b){const x=wi(),N=ur(),q=or();return S3(N,x,x[nr],q,d,b),Y0}function U4(d,b,x,N,q){if(d=We(d),Array.isArray(d))for(let at=0;at>20;if(ns(d)||!d.multi){const Zn=new Np(ye,q,L1),fi=J6(Ut,b,q?Je:Je+Un,fn);-1===fi?(Lp(ma(At,Ct),at,Ut),J4(at,d,b.length),b.push(Ut),At.directiveStart++,At.directiveEnd++,q&&(At.providerIndexes+=1048576),x.push(Zn),Ct.push(Zn)):(x[fi]=Zn,Ct[fi]=Zn)}else{const Zn=J6(Ut,b,Je+Un,fn),fi=J6(Ut,b,Je,Je+Un),io=fi>=0&&x[fi];if(q&&!io||!q&&!(Zn>=0&&x[Zn])){Lp(ma(At,Ct),at,Ut);const ho=function GC(d,b,x,N,q){const at=new Np(d,x,L1);return at.multi=[],at.index=b,at.componentProviders=0,f8(at,q,N&&!x),at}(q?X6:g8,x.length,q,N,ye);!q&&io&&(x[fi].providerFactory=ho),J4(at,d,b.length,0),b.push(Ut),At.directiveStart++,At.directiveEnd++,q&&(At.providerIndexes+=1048576),x.push(ho),Ct.push(ho)}else J4(at,d,Zn>-1?Zn:fi,f8(x[q?fi:Zn],ye,!q&&N));!q&&N&&io&&x[fi].componentProviders++}}}function J4(d,b,x,N){const q=ns(b),at=function Gr(d){return!!d.useClass}(b);if(q||at){const Ut=(at?We(b.useClass):b).prototype.ngOnDestroy;if(Ut){const ye=d.destroyHooks||(d.destroyHooks=[]);if(!q&&b.multi){const Je=ye.indexOf(x);-1===Je?ye.push(x,[N,Ut]):ye[Je+1].push(N,Ut)}else ye.push(x,Ut)}}}function f8(d,b,x){return x&&d.componentProviders++,d.multi.push(b)-1}function J6(d,b,x,N){for(let q=x;q{x.providersResolver=(N,q)=>function U6(d,b,x){const N=ur();if(N.firstCreatePass){const q=td(d);U4(x,N.data,N.blueprint,q,!0),U4(b,N.data,N.blueprint,q,!1)}}(N,q?q(d):d,b)}}let W6=(()=>{class d{constructor(x){this._injector=x,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(x){if(!x.standalone)return null;if(!this.cachedInjectors.has(x)){const N=Fi(0,x.type),q=N.length>0?h4([N],this._injector,`Standalone[${x.type.name}]`):null;this.cachedInjectors.set(x,q)}return this.cachedInjectors.get(x)}ngOnDestroy(){try{for(const x of this.cachedInjectors.values())null!==x&&x.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Ti({token:d,providedIn:"environment",factory:()=>new d(ia(Ra))})}}return d})();function z3(d){Au("NgStandalone"),d.getStandaloneInjector=b=>b.get(W6).getOrCreateStandaloneInjector(d)}function _8(d,b,x){const N=d.\u0275cmp;N.directiveDefs=gd(b,!1),N.pipeDefs=gd(x,!0)}function Z6(d,b,x){const N=El()+d,q=wi();return q[N]===Lr?Rm(q,N,x?b.call(x):b()):function _4(d,b){return d[b]}(q,N)}function t5(d,b,x,N){return i5(wi(),El(),d,b,x,N)}function e5(d,b,x,N,q){return E8(wi(),El(),d,b,x,N,q)}function U0(d,b){const x=d[b];return x===Lr?void 0:x}function i5(d,b,x,N,q,at){const Ct=b+x;return qc(d,Ct,q)?Rm(d,Ct+1,at?N.call(at,q):N(q)):U0(d,Ct+1)}function E8(d,b,x,N,q,at,Ct){const At=b+x;return yp(d,At,q,at)?Rm(d,At+2,Ct?N.call(Ct,q,at):N(q,at)):U0(d,At+2)}function Y3(d,b){const x=ur();let N;const q=d+Go;x.firstCreatePass?(N=function U3(d,b){if(b)for(let x=b.length-1;x>=0;x--){const N=b[x];if(d===N.name)return N}}(b,x.pipeRegistry),x.data[q]=N,N.onDestroy&&(x.destroyHooks??=[]).push(q,N.onDestroy)):N=x.data[q];const at=N.factory||(N.factory=Ps(N.type)),At=sa(L1);try{const Ut=oo(!1),ye=at();return oo(Ut),function e8(d,b,x,N){x>=d.data.length&&(d.data[x]=null,d.blueprint[x]=null),b[x]=N}(x,wi(),q,ye),ye}finally{sa(At)}}function Ds(d,b,x){const N=d+Go,q=wi(),at=sc(q,N);return C2(q,N)?i5(q,El(),b,at.transform,x,at):at.transform(x)}function X4(d,b,x,N){const q=d+Go,at=wi(),Ct=sc(at,q);return C2(at,q)?E8(at,El(),b,Ct.transform,x,N,Ct):Ct.transform(x,N)}function y8(d,b,x,N,q){const at=d+Go,Ct=wi(),At=sc(Ct,at);return C2(Ct,at)?function o5(d,b,x,N,q,at,Ct,At){const Ut=b+x;return Rh(d,Ut,q,at,Ct)?Rm(d,Ut+3,At?N.call(At,q,at,Ct):N(q,at,Ct)):U0(d,Ut+3)}(Ct,El(),b,At.transform,x,N,q,At):At.transform(x,N,q)}function a5(d,b,x,N,q,at){const Ct=d+Go,At=wi(),Ut=sc(At,Ct);return C2(At,Ct)?function r5(d,b,x,N,q,at,Ct,At,Ut){const ye=b+x;return pu(d,ye,q,at,Ct,At)?Rm(d,ye+4,Ut?N.call(Ut,q,at,Ct,At):N(q,at,Ct,At)):U0(d,ye+4)}(At,El(),b,Ut.transform,x,N,q,at,Ut):Ut.transform(x,N,q,at)}function C2(d,b){return d[Ui].data[b].pure}function J3(d,b){return u0(d,b)}class fk{constructor(b){this.full=b;const x=b.split(".");this.major=x[0],this.minor=x[1],this.patch=x.slice(2).join(".")}}let gk=(()=>{class d{log(x){console.log(x)}warn(x){console.warn(x)}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"platform"})}}return d})();const xk=new vn(""),Mk=new vn("");let KC,_w=(()=>{class d{constructor(x,N,q){this._ngZone=x,this.registry=N,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,KC||(function Tk(d){KC=d}(q),q.addToWindow(N)),this._watchAngularEvents(),x.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{qo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let x=this._callbacks.pop();clearTimeout(x.timeoutId),x.doneCb()}});else{let x=this.getPendingTasks();this._callbacks=this._callbacks.filter(N=>!N.updateCb||!N.updateCb(x)||(clearTimeout(N.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(x=>({source:x.source,creationLocation:x.creationLocation,data:x.data})):[]}addCallback(x,N,q){let at=-1;N&&N>0&&(at=setTimeout(()=>{this._callbacks=this._callbacks.filter(Ct=>Ct.timeoutId!==at),x()},N)),this._callbacks.push({doneCb:x,timeoutId:at,updateCb:q})}whenStable(x,N,q){if(q&&!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(x,N,q),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(x){this.registry.registerApplication(x,this)}unregisterApplication(x){this.registry.unregisterApplication(x)}findProviders(x,N,q){return[]}static{this.\u0275fac=function(N){return new(N||d)(ia(qo),ia(WC),ia(Mk))}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac})}}return d})(),WC=(()=>{class d{constructor(){this._applications=new Map}registerApplication(x,N){this._applications.set(x,N)}unregisterApplication(x){this._applications.delete(x)}unregisterAllApplications(){this._applications.clear()}getTestability(x){return this._applications.get(x)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(x,N=!0){return KC?.findTestabilityInTree(this,x,N)??null}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"platform"})}}return d})();function QC(d){return!!d&&"function"==typeof d.then}function Dk(d){return!!d&&"function"==typeof d.subscribe}const ZC=new vn("");let ty=(()=>{class d{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((x,N)=>{this.resolve=x,this.reject=N}),this.appInits=wo(ZC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const x=[];for(const q of this.appInits){const at=q();if(QC(at))x.push(at);else if(Dk(at)){const Ct=new Promise((At,Ut)=>{at.subscribe({complete:At,error:Ut})});x.push(Ct)}}const N=()=>{this.done=!0,this.resolve()};Promise.all(x).then(()=>{N()}).catch(q=>{this.reject(q)}),0===x.length&&N(),this.initialized=!0}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();const Oi=new vn("");function Ik(d,b){return Array.isArray(b)?b.reduce(Ik,d):{...d,...b}}let q0=(()=>{class d{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=wo(Hl),this.afterRenderEffectManager=wo(r2),this.externalTestViews=new Set,this.beforeRender=new Q.B,this.afterTick=new Q.B,this.componentTypes=[],this.components=[],this.isStable=wo(y0).hasPendingTasks.pipe((0,Ie.T)(x=>!x)),this._injector=wo(Ra)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(x,N){const q=x instanceof B_;if(!this._injector.get(ty).done)throw!q&&Cn(x),new St(405,!1);let Ct;Ct=q?x:this._injector.get(f0).resolveComponentFactory(x),this.componentTypes.push(Ct.componentType);const At=function bw(d){return d.isBoundToModule}(Ct)?void 0:this._injector.get(l2),ye=Ct.create(Yc.NULL,[],N||Ct.selector,At),Je=ye.location.nativeElement,fn=ye.injector.get(xk,null);return fn?.registerApplication(Je),ye.onDestroy(()=>{this.detachView(ye.hostView),k8(this.components,ye),fn?.unregisterApplication(Je)}),this._loadComponent(ye),ye}tick(){this._tick(!0)}_tick(x){if(this._runningTick)throw new St(101,!1);const N=g(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(x)}catch(q){this.internalErrorHandler(q)}finally{this.afterTick.next(),this._runningTick=!1,g(N)}}detectChangesInAttachedViews(x){let N=0;const q=this.afterRenderEffectManager;for(;;){if(N===Tb)throw new St(103,!1);if(x){const at=0===N;this.beforeRender.next(at);for(let{_lView:Ct,notifyErrorHandler:At}of this._views)Rk(Ct,at,At)}if(N++,q.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:at})=>w8(at))&&(q.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:at})=>w8(at))))break}}attachView(x){const N=x;this._views.push(N),N.attachToAppRef(this)}detachView(x){const N=x;k8(this._views,N),N.detachFromAppRef()}_loadComponent(x){this.attachView(x.hostView),this.tick(),this.components.push(x);const N=this._injector.get(Oi,[]);[...this._bootstrapListeners,...N].forEach(q=>q(x))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(x=>x()),this._views.slice().forEach(x=>x.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(x){return this._destroyListeners.push(x),()=>k8(this._destroyListeners,x)}destroy(){if(this._destroyed)throw new St(406,!1);const x=this._injector;x.destroy&&!x.destroyed&&x.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();function k8(d,b){const x=d.indexOf(b);x>-1&&d.splice(x,1)}function Rk(d,b,x){!b&&!w8(d)||function vw(d,b,x){let N;x?(N=0,d[xo]|=1024):N=64&d[xo]?0:1,e4(d,b,N)}(d,x,b)}function w8(d){return Xu(d)}class Ew{constructor(b,x){this.ngModuleFactory=b,this.componentFactories=x}}let Sk=(()=>{class d{compileModuleSync(x){return new r3(x)}compileModuleAsync(x){return Promise.resolve(this.compileModuleSync(x))}compileModuleAndAllComponentsSync(x){const N=this.compileModuleSync(x),at=kd(Xe(x).declarations).reduce((Ct,At)=>{const Ut=yr(At);return Ut&&Ct.push(new Ep(Ut)),Ct},[]);return new Ew(N,at)}compileModuleAndAllComponentsAsync(x){return Promise.resolve(this.compileModuleAndAllComponentsSync(x))}clearCache(){}clearCacheFor(x){}getModuleId(x){}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})(),ww=(()=>{class d{constructor(){this.zone=wo(qo),this.applicationRef=wo(q0)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();function Ak(){const d=wo(qo),b=wo(Qu);return x=>d.runOutsideAngular(()=>b.handleError(x))}let jk=(()=>{class d{constructor(){this.subscription=new kt.yU,this.initialized=!1,this.zone=wo(qo),this.pendingTasks=wo(y0)}initialize(){if(this.initialized)return;this.initialized=!0;let x=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(x=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{qo.assertNotInAngularZone(),queueMicrotask(()=>{null!==x&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(x),x=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{qo.assertInAngularZone(),x??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(N){return new(N||d)}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();const u5=new vn("",{providedIn:"root",factory:()=>wo(u5,zo.Optional|zo.SkipSelf)||function Tw(){return typeof $localize<"u"&&$localize.locale||S0}()}),Dw=new vn("",{providedIn:"root",factory:()=>"USD"}),iy=new vn("");let oy=(()=>{class d{constructor(x){this._injector=x,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(x,N){const q=function No(d="zone.js",b){return"noop"===d?new a4:"zone.js"===d?new qo(b):d}(N?.ngZone,function Ok(d){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:d?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:d?.runCoalescing??!1}}({eventCoalescing:N?.ngZoneEventCoalescing,runCoalescing:N?.ngZoneRunCoalescing}));return q.run(()=>{const at=function C0(d,b,x){return new E0(d,b,x)}(x.moduleType,this.injector,function Pk(d){return[{provide:qo,useFactory:d},{provide:fs,multi:!0,useFactory:()=>{const b=wo(ww,{optional:!0});return()=>b.initialize()}},{provide:fs,multi:!0,useFactory:()=>{const b=wo(jk);return()=>{b.initialize()}}},{provide:Hl,useFactory:Ak}]}(()=>q)),Ct=at.injector.get(Qu,null);return q.runOutsideAngular(()=>{const At=q.onError.subscribe({next:Ut=>{Ct.handleError(Ut)}});at.onDestroy(()=>{k8(this._modules,at),At.unsubscribe()})}),function ny(d,b,x){try{const N=x();return QC(N)?N.catch(q=>{throw b.runOutsideAngular(()=>d.handleError(q)),q}):N}catch(N){throw b.runOutsideAngular(()=>d.handleError(N)),N}}(Ct,q,()=>{const At=at.injector.get(ty);return At.runInitializers(),At.donePromise.then(()=>(function C7(d){"string"==typeof d&&(p6=d.toLowerCase().replace(/_/g,"-"))}(at.injector.get(u5,S0)||S0),this._moduleDoBootstrap(at),at))})})}bootstrapModule(x,N=[]){const q=Ik({},N);return function kw(d,b,x){const N=new r3(x);return Promise.resolve(N)}(0,0,x).then(at=>this.bootstrapModuleFactory(at,q))}_moduleDoBootstrap(x){const N=x.injector.get(q0);if(x._bootstrapComponents.length>0)x._bootstrapComponents.forEach(q=>N.bootstrap(q));else{if(!x.instance.ngDoBootstrap)throw new St(-403,!1);x.instance.ngDoBootstrap(N)}this._modules.push(x)}onDestroy(x){this._destroyListeners.push(x)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new St(404,!1);this._modules.slice().forEach(N=>N.destroy()),this._destroyListeners.forEach(N=>N());const x=this._injector.get(iy,null);x&&(x.forEach(N=>N()),x.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(N){return new(N||d)(ia(Yc))}}static{this.\u0275prov=Ti({token:d,factory:d.\u0275fac,providedIn:"platform"})}}return d})(),W0=null;const Lk=new vn("");function $k(d,b,x=[]){const N=`Platform: ${b}`,q=new vn(N);return(at=[])=>{let Ct=ay();if(!Ct||Ct.injector.get(Lk,!1)){const At=[...x,...at,{provide:q,useValue:!0}];d?d(At):function Iw(d){if(W0&&!W0.get(Lk,!1))throw new St(400,!1);(function ey(){!function L(d){dt=d}(()=>{throw new St(600,!1)})})(),W0=d;const b=d.get(oy);(function sy(d){d.get(L2,null)?.forEach(x=>x())})(d)}(function ry(d=[],b){return Yc.create({name:b,providers:[{provide:_u,useValue:"platform"},{provide:iy,useValue:new Set([()=>W0=null])},...d]})}(At,N))}return function Rw(d){const b=ay();if(!b)throw new St(401,!1);return b}()}}function ay(){return W0?.get(oy)??null}function Vk(){}let Bk=(()=>{class d{static{this.__NG_ELEMENT_ID__=zk}}return d})();function zk(d){return function Pw(d,b,x){if(Ns(d)&&!x){const N=cc(d.index,b);return new d0(N,N)}return 47&d.type?new d0(b[Fa],b):null}(or(),wi(),!(16&~d))}class uy{constructor(){}supports(b){return V1(b)}create(b){return new Vw(b)}}const $w=(d,b)=>b;class Vw{constructor(b){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=b||$w}forEachItem(b){let x;for(x=this._itHead;null!==x;x=x._next)b(x)}forEachOperation(b){let x=this._itHead,N=this._removalsHead,q=0,at=null;for(;x||N;){const Ct=!N||x&&x.currentIndex{Ct=this._trackByFn(q,At),null!==x&&Object.is(x.trackById,Ct)?(N&&(x=this._verifyReinsertion(x,At,Ct,q)),Object.is(x.item,At)||this._addIdentityChange(x,At)):(x=this._mismatch(x,At,Ct,q),N=!0),x=x._next,q++}),this.length=q;return this._truncate(x),this.collection=b,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let b;for(b=this._previousItHead=this._itHead;null!==b;b=b._next)b._nextPrevious=b._next;for(b=this._additionsHead;null!==b;b=b._nextAdded)b.previousIndex=b.currentIndex;for(this._additionsHead=this._additionsTail=null,b=this._movesHead;null!==b;b=b._nextMoved)b.previousIndex=b.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(b,x,N,q){let at;return null===b?at=this._itTail:(at=b._prev,this._remove(b)),null!==(b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(N,null))?(Object.is(b.item,x)||this._addIdentityChange(b,x),this._reinsertAfter(b,at,q)):null!==(b=null===this._linkedRecords?null:this._linkedRecords.get(N,q))?(Object.is(b.item,x)||this._addIdentityChange(b,x),this._moveAfter(b,at,q)):b=this._addAfter(new Gw(x,N),at,q),b}_verifyReinsertion(b,x,N,q){let at=null===this._unlinkedRecords?null:this._unlinkedRecords.get(N,null);return null!==at?b=this._reinsertAfter(at,b._prev,q):b.currentIndex!=q&&(b.currentIndex=q,this._addToMoves(b,q)),b}_truncate(b){for(;null!==b;){const x=b._next;this._addToRemovals(this._unlink(b)),b=x}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(b,x,N){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(b);const q=b._prevRemoved,at=b._nextRemoved;return null===q?this._removalsHead=at:q._nextRemoved=at,null===at?this._removalsTail=q:at._prevRemoved=q,this._insertAfter(b,x,N),this._addToMoves(b,N),b}_moveAfter(b,x,N){return this._unlink(b),this._insertAfter(b,x,N),this._addToMoves(b,N),b}_addAfter(b,x,N){return this._insertAfter(b,x,N),this._additionsTail=null===this._additionsTail?this._additionsHead=b:this._additionsTail._nextAdded=b,b}_insertAfter(b,x,N){const q=null===x?this._itHead:x._next;return b._next=q,b._prev=x,null===q?this._itTail=b:q._prev=b,null===x?this._itHead=b:x._next=b,null===this._linkedRecords&&(this._linkedRecords=new my),this._linkedRecords.put(b),b.currentIndex=N,b}_remove(b){return this._addToRemovals(this._unlink(b))}_unlink(b){null!==this._linkedRecords&&this._linkedRecords.remove(b);const x=b._prev,N=b._next;return null===x?this._itHead=N:x._next=N,null===N?this._itTail=x:N._prev=x,b}_addToMoves(b,x){return b.previousIndex===x||(this._movesTail=null===this._movesTail?this._movesHead=b:this._movesTail._nextMoved=b),b}_addToRemovals(b){return null===this._unlinkedRecords&&(this._unlinkedRecords=new my),this._unlinkedRecords.put(b),b.currentIndex=null,b._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=b,b._prevRemoved=null):(b._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=b),b}_addIdentityChange(b,x){return b.item=x,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=b:this._identityChangesTail._nextIdentityChange=b,b}}class Gw{constructor(b,x){this.item=b,this.trackById=x,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 Bw{constructor(){this._head=null,this._tail=null}add(b){null===this._head?(this._head=this._tail=b,b._nextDup=null,b._prevDup=null):(this._tail._nextDup=b,b._prevDup=this._tail,b._nextDup=null,this._tail=b)}get(b,x){let N;for(N=this._head;null!==N;N=N._nextDup)if((null===x||x<=N.currentIndex)&&Object.is(N.trackById,b))return N;return null}remove(b){const x=b._prevDup,N=b._nextDup;return null===x?this._head=N:x._nextDup=N,null===N?this._tail=x:N._prevDup=x,null===this._head}}class my{constructor(){this.map=new Map}put(b){const x=b.trackById;let N=this.map.get(x);N||(N=new Bw,this.map.set(x,N)),N.add(b)}get(b,x){const q=this.map.get(b);return q?q.get(b,x):null}remove(b){const x=b.trackById;return this.map.get(x).remove(b)&&this.map.delete(x),b}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function py(d,b,x){const N=d.previousIndex;if(null===N)return N;let q=0;return x&&N{if(x&&x.key===q)this._maybeAddToChanges(x,N),this._appendAfter=x,x=x._next;else{const at=this._getOrCreateRecordForKey(q,N);x=this._insertBeforeOrAppend(x,at)}}),x){x._prev&&(x._prev._next=null),this._removalsHead=x;for(let N=x;null!==N;N=N._nextRemoved)N===this._mapHead&&(this._mapHead=null),this._records.delete(N.key),N._nextRemoved=N._next,N.previousValue=N.currentValue,N.currentValue=null,N._prev=null,N._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(b,x){if(b){const N=b._prev;return x._next=b,x._prev=N,b._prev=x,N&&(N._next=x),b===this._mapHead&&(this._mapHead=x),this._appendAfter=b,b}return this._appendAfter?(this._appendAfter._next=x,x._prev=this._appendAfter):this._mapHead=x,this._appendAfter=x,null}_getOrCreateRecordForKey(b,x){if(this._records.has(b)){const q=this._records.get(b);this._maybeAddToChanges(q,x);const at=q._prev,Ct=q._next;return at&&(at._next=Ct),Ct&&(Ct._prev=at),q._next=null,q._prev=null,q}const N=new Hw(b);return this._records.set(b,N),N.currentValue=x,this._addToAdditions(N),N}_reset(){if(this.isDirty){let b;for(this._previousMapHead=this._mapHead,b=this._previousMapHead;null!==b;b=b._next)b._nextPrevious=b._next;for(b=this._changesHead;null!==b;b=b._nextChanged)b.previousValue=b.currentValue;for(b=this._additionsHead;null!=b;b=b._nextAdded)b.previousValue=b.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(b,x){Object.is(x,b.currentValue)||(b.previousValue=b.currentValue,b.currentValue=x,this._addToChanges(b))}_addToAdditions(b){null===this._additionsHead?this._additionsHead=this._additionsTail=b:(this._additionsTail._nextAdded=b,this._additionsTail=b)}_addToChanges(b){null===this._changesHead?this._changesHead=this._changesTail=b:(this._changesTail._nextChanged=b,this._changesTail=b)}_forEach(b,x){b instanceof Map?b.forEach(x):Object.keys(b).forEach(N=>x(b[N],N))}}class Hw{constructor(b){this.key=b,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 Xk(){return new q3([new uy])}let q3=(()=>{class d{static{this.\u0275prov=Ti({token:d,providedIn:"root",factory:Xk})}constructor(x){this.factories=x}static create(x,N){if(null!=N){const q=N.factories.slice();x=x.concat(q)}return new d(x)}static extend(x){return{provide:d,useFactory:N=>d.create(x,N||Xk()),deps:[[d,new Ss,new dr]]}}find(x){const N=this.factories.find(q=>q.supports(x));if(null!=N)return N;throw new St(901,!1)}}return d})();function qk(){return new fy([new hy])}let fy=(()=>{class d{static{this.\u0275prov=Ti({token:d,providedIn:"root",factory:qk})}constructor(x){this.factories=x}static create(x,N){if(N){const q=N.factories.slice();x=x.concat(q)}return new d(x)}static extend(x){return{provide:d,useFactory:N=>d.create(x,N||qk()),deps:[[d,new Ss,new dr]]}}find(x){const N=this.factories.find(q=>q.supports(x));if(N)return N;throw new St(901,!1)}}return d})();const Wk=$k(null,"core",[]);let Xw=(()=>{class d{constructor(x){}static{this.\u0275fac=function(N){return new(N||d)(ia(q0))}}static{this.\u0275mod=gc({type:d})}static{this.\u0275inj=rn({})}}return d})();function g9(d){return"boolean"==typeof d?d:null!=d&&"false"!==d}function bx(d,b=NaN){return isNaN(parseFloat(d))||isNaN(Number(d))?b:Number(d)}function Cx(d){const b=g(null);try{return d()}finally{g(b)}}const yx=new vn("",{providedIn:"root",factory:()=>wo(b9)});let b9=(()=>{class d{static{this.\u0275prov=Ti({token:d,providedIn:"root",factory:()=>new kx})}}return d})();class kx{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=wo(y0),this.taskId=null}scheduleEffect(b){if(this.enqueue(b),null===this.taskId){const x=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(x),this.taskId=null})}}enqueue(b){const x=b.creationZone;this.queues.has(x)||this.queues.set(x,new Set);const N=this.queues.get(x);N.has(b)||(this.queuedEffectCount++,N.add(b))}flush(){for(;this.queuedEffectCount>0;)for(const[b,x]of this.queues)null===b?this.flushQueue(x):b.run(()=>this.flushQueue(x))}flushQueue(b){for(const x of b)b.delete(x),this.queuedEffectCount--,x.run()}}class wx{constructor(b,x,N,q,at,Ct){this.scheduler=b,this.effectFn=x,this.creationZone=N,this.injector=at,this.watcher=function Dt(d,b,x){const N=Object.create(Mt);x&&(N.consumerAllowSignalWrites=!0),N.fn=d,N.schedule=b;const q=Ut=>{N.cleanupFn=Ut};return N.ref={notify:()=>I(N),run:()=>{if(null===N.fn)return;if(function h(){return G}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(N.dirty=!1,N.hasRun&&!B(N))return;N.hasRun=!0;const Ut=O(N);try{N.cleanupFn(),N.cleanupFn=gt,N.fn(q)}finally{S(N,Ut)}},cleanup:()=>N.cleanupFn(),destroy:()=>function Ct(Ut){(function at(Ut){return null===Ut.fn&&null===Ut.schedule})(Ut)||(P(Ut),Ut.cleanupFn(),Ut.fn=null,Ut.schedule=null,Ut.cleanupFn=gt)}(N),[C]:N},N.ref}(At=>this.runEffect(At),()=>this.schedule(),Ct),this.unregisterOnDestroy=q?.onDestroy(()=>this.destroy())}runEffect(b){try{this.effectFn(b)}catch(x){this.injector.get(Qu,null,{optional:!0})?.handleError(x)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function G8(d,b){Au("NgSignals"),!b?.injector&&ro();const x=b?.injector??wo(Yc),N=!0!==b?.manualCleanup?x.get(ou):null,q=new wx(x.get(yx),d,typeof Zone>"u"?null:Zone.current,N,x,b?.allowSignalWrites??!1),at=x.get(Bk,null,{optional:!0});return at&&8&at._lView[xo]?(at._lView[Kl]??=[]).push(q.watcher.notify):q.watcher.notify(),q}function F9(d,b){const x=yr(d),N=b.elementInjector||Uo();return new Ep(x).create(N,b.projectableNodes,b.hostElement,b.environmentInjector)}function xx(d){const b=yr(d);if(!b)return null;const x=new Ep(b);return{get selector(){return x.selector},get type(){return x.componentType},get inputs(){return x.inputs},get outputs(){return x.outputs},get ngContentSelectors(){return x.ngContentSelectors},get isStandalone(){return b.standalone},get isSignal(){return b.signals}}}},89417:(Rt,Tt,D)=>{"use strict";D.d(Tt,{$R:()=>Za,BC:()=>Bt,J3:()=>qn,JD:()=>Ws,MJ:()=>yi,Q0:()=>Gs,VZ:()=>Ps,X1:()=>Os,YN:()=>de,YS:()=>Ha,cV:()=>Ce,cb:()=>St,cz:()=>I,hs:()=>Mo,j4:()=>Qa,k0:()=>B,kq:()=>f,l_:()=>Xs,me:()=>M,ok:()=>Ol,qT:()=>Wo,tU:()=>bl,v8:()=>ts,vO:()=>kt,vS:()=>uo,xq:()=>ac,zX:()=>Ss,ze:()=>As});var l=D(54438),k=D(60177),A=D(86648),G=D(27468),t=D(96354);let C=(()=>{class Pe{constructor(re,an){this._renderer=re,this._elementRef=an,this.onChange=Gn=>{},this.onTouched=()=>{}}setProperty(re,an){this._renderer.setProperty(this._elementRef.nativeElement,re,an)}registerOnTouched(re){this.onTouched=re}registerOnChange(re){this.onChange=re}setDisabledState(re){this.setProperty("disabled",re)}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(l.sFG),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:Pe})}}return Pe})(),g=(()=>{class Pe extends C{static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,features:[l.Vt3]})}}return Pe})();const f=new l.nKC(""),p={provide:f,useExisting:(0,l.Rfq)(()=>M),multi:!0},F=new l.nKC("");let M=(()=>{class Pe extends C{constructor(re,an,Gn){super(re,an),this._compositionMode=Gn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function m(){const Pe=(0,k.QT)()?(0,k.QT)().getUserAgent():"";return/android (\d+)/.test(Pe.toLowerCase())}())}writeValue(re){this.setProperty("value",re??"")}_handleInput(re){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(re)}_compositionStart(){this._composing=!0}_compositionEnd(re){this._composing=!1,this._compositionMode&&this.onChange(re)}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(F,8))}}static{this.\u0275dir=l.FsC({type:Pe,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(an,Gn){1&an&&l.bIt("input",function(pr){return Gn._handleInput(pr.target.value)})("blur",function(){return Gn.onTouched()})("compositionstart",function(){return Gn._compositionStart()})("compositionend",function(pr){return Gn._compositionEnd(pr.target.value)})},features:[l.Jv_([p]),l.Vt3]})}}return Pe})();function y(Pe){return null==Pe||("string"==typeof Pe||Array.isArray(Pe))&&0===Pe.length}function T(Pe){return null!=Pe&&"number"==typeof Pe.length}const I=new l.nKC(""),O=new l.nKC(""),S=/^(?=.{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 B{static min(Ge){return P(Ge)}static max(Ge){return U(Ge)}static required(Ge){return z(Ge)}static requiredTrue(Ge){return nt(Ge)}static email(Ge){return function it(Pe){return y(Pe.value)||S.test(Pe.value)?null:{email:!0}}(Ge)}static minLength(Ge){return function rt(Pe){return Ge=>y(Ge.value)||!T(Ge.value)?null:Ge.value.length{if(y(an.value))return null;const Gn=an.value;return Ge.test(Gn)?null:{pattern:{requiredPattern:re,actualValue:Gn}}}}(Ge)}static nullValidator(Ge){return null}static compose(Ge){return Y(Ge)}static composeAsync(Ge){return H(Ge)}}function P(Pe){return Ge=>{if(y(Ge.value)||y(Pe))return null;const re=parseFloat(Ge.value);return!isNaN(re)&&re{if(y(Ge.value)||y(Pe))return null;const re=parseFloat(Ge.value);return!isNaN(re)&&re>Pe?{max:{max:Pe,actual:Ge.value}}:null}}function z(Pe){return y(Pe.value)?{required:!0}:null}function nt(Pe){return!0===Pe.value?null:{required:!0}}function mt(Pe){return Ge=>T(Ge.value)&&Ge.value.length>Pe?{maxlength:{requiredLength:Pe,actualLength:Ge.value.length}}:null}function ht(Pe){return null}function yt(Pe){return null!=Pe}function wt(Pe){return(0,l.jNT)(Pe)?(0,A.H)(Pe):Pe}function Z(Pe){let Ge={};return Pe.forEach(re=>{Ge=null!=re?{...Ge,...re}:Ge}),0===Object.keys(Ge).length?null:Ge}function dt(Pe,Ge){return Ge.map(re=>re(Pe))}function L(Pe){return Pe.map(Ge=>function ft(Pe){return!Pe.validate}(Ge)?Ge:re=>Ge.validate(re))}function Y(Pe){if(!Pe)return null;const Ge=Pe.filter(yt);return 0==Ge.length?null:function(re){return Z(dt(re,Ge))}}function J(Pe){return null!=Pe?Y(L(Pe)):null}function H(Pe){if(!Pe)return null;const Ge=Pe.filter(yt);return 0==Ge.length?null:function(re){const an=dt(re,Ge).map(wt);return(0,G.p)(an).pipe((0,t.T)(Z))}}function K(Pe){return null!=Pe?H(L(Pe)):null}function tt(Pe,Ge){return null===Pe?[Ge]:Array.isArray(Pe)?[...Pe,Ge]:[Pe,Ge]}function ut(Pe){return Pe._rawValidators}function _t(Pe){return Pe._rawAsyncValidators}function xt(Pe){return Pe?Array.isArray(Pe)?Pe:[Pe]:[]}function Dt(Pe,Ge){return Array.isArray(Pe)?Pe.includes(Ge):Pe===Ge}function gt(Pe,Ge){const re=xt(Ge);return xt(Pe).forEach(Gn=>{Dt(re,Gn)||re.push(Gn)}),re}function Mt(Pe,Ge){return xt(Ge).filter(re=>!Dt(Pe,re))}class ot{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(Ge){this._rawValidators=Ge||[],this._composedValidatorFn=J(this._rawValidators)}_setAsyncValidators(Ge){this._rawAsyncValidators=Ge||[],this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ge){this._onDestroyCallbacks.push(Ge)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ge=>Ge()),this._onDestroyCallbacks=[]}reset(Ge=void 0){this.control&&this.control.reset(Ge)}hasError(Ge,re){return!!this.control&&this.control.hasError(Ge,re)}getError(Ge,re){return this.control?this.control.getError(Ge,re):null}}class Q extends ot{get formDirective(){return null}get path(){return null}}class kt extends ot{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Xt{constructor(Ge){this._cd=Ge}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Bt=(()=>{class Pe extends Xt{constructor(re){super(re)}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(kt,2))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(an,Gn){2&an&&l.AVh("ng-untouched",Gn.isUntouched)("ng-touched",Gn.isTouched)("ng-pristine",Gn.isPristine)("ng-dirty",Gn.isDirty)("ng-valid",Gn.isValid)("ng-invalid",Gn.isInvalid)("ng-pending",Gn.isPending)},features:[l.Vt3]})}}return Pe})(),St=(()=>{class Pe extends Xt{constructor(re){super(re)}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(Q,10))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(an,Gn){2&an&&l.AVh("ng-untouched",Gn.isUntouched)("ng-touched",Gn.isTouched)("ng-pristine",Gn.isPristine)("ng-dirty",Gn.isDirty)("ng-valid",Gn.isValid)("ng-invalid",Gn.isInvalid)("ng-pending",Gn.isPending)("ng-submitted",Gn.isSubmitted)},features:[l.Vt3]})}}return Pe})();const mi="VALID",ui="INVALID",li="PENDING",Jn="DISABLED";function Di(Pe){return(pe(Pe)?Pe.validators:Pe)||null}function Ii(Pe,Ge){return(pe(Ge)?Ge.asyncValidators:Pe)||null}function pe(Pe){return null!=Pe&&!Array.isArray(Pe)&&"object"==typeof Pe}function Te(Pe,Ge,re){const an=Pe.controls;if(!(Ge?Object.keys(an):an).length)throw new l.wOt(1e3,"");if(!an[re])throw new l.wOt(1001,"")}function Ht(Pe,Ge,re){Pe._forEachChild((an,Gn)=>{if(void 0===re[Gn])throw new l.wOt(1002,"")})}class te{constructor(Ge,re){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ge),this._assignAsyncValidators(re)}get validator(){return this._composedValidatorFn}set validator(Ge){this._rawValidators=this._composedValidatorFn=Ge}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ge){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ge}get parent(){return this._parent}get valid(){return this.status===mi}get invalid(){return this.status===ui}get pending(){return this.status==li}get disabled(){return this.status===Jn}get enabled(){return this.status!==Jn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ge){this._assignValidators(Ge)}setAsyncValidators(Ge){this._assignAsyncValidators(Ge)}addValidators(Ge){this.setValidators(gt(Ge,this._rawValidators))}addAsyncValidators(Ge){this.setAsyncValidators(gt(Ge,this._rawAsyncValidators))}removeValidators(Ge){this.setValidators(Mt(Ge,this._rawValidators))}removeAsyncValidators(Ge){this.setAsyncValidators(Mt(Ge,this._rawAsyncValidators))}hasValidator(Ge){return Dt(this._rawValidators,Ge)}hasAsyncValidator(Ge){return Dt(this._rawAsyncValidators,Ge)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ge={}){this.touched=!0,this._parent&&!Ge.onlySelf&&this._parent.markAsTouched(Ge)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ge=>Ge.markAllAsTouched())}markAsUntouched(Ge={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(re=>{re.markAsUntouched({onlySelf:!0})}),this._parent&&!Ge.onlySelf&&this._parent._updateTouched(Ge)}markAsDirty(Ge={}){this.pristine=!1,this._parent&&!Ge.onlySelf&&this._parent.markAsDirty(Ge)}markAsPristine(Ge={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(re=>{re.markAsPristine({onlySelf:!0})}),this._parent&&!Ge.onlySelf&&this._parent._updatePristine(Ge)}markAsPending(Ge={}){this.status=li,!1!==Ge.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ge.onlySelf&&this._parent.markAsPending(Ge)}disable(Ge={}){const re=this._parentMarkedDirty(Ge.onlySelf);this.status=Jn,this.errors=null,this._forEachChild(an=>{an.disable({...Ge,onlySelf:!0})}),this._updateValue(),!1!==Ge.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ge,skipPristineCheck:re}),this._onDisabledChange.forEach(an=>an(!0))}enable(Ge={}){const re=this._parentMarkedDirty(Ge.onlySelf);this.status=mi,this._forEachChild(an=>{an.enable({...Ge,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ge.emitEvent}),this._updateAncestors({...Ge,skipPristineCheck:re}),this._onDisabledChange.forEach(an=>an(!1))}_updateAncestors(Ge){this._parent&&!Ge.onlySelf&&(this._parent.updateValueAndValidity(Ge),Ge.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ge){this._parent=Ge}getRawValue(){return this.value}updateValueAndValidity(Ge={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mi||this.status===li)&&this._runAsyncValidator(Ge.emitEvent)),!1!==Ge.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ge.onlySelf&&this._parent.updateValueAndValidity(Ge)}_updateTreeValidity(Ge={emitEvent:!0}){this._forEachChild(re=>re._updateTreeValidity(Ge)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ge.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jn:mi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ge){if(this.asyncValidator){this.status=li,this._hasOwnPendingAsyncValidator=!0;const re=wt(this.asyncValidator(this));this._asyncValidationSubscription=re.subscribe(an=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(an,{emitEvent:Ge})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ge,re={}){this.errors=Ge,this._updateControlsErrors(!1!==re.emitEvent)}get(Ge){let re=Ge;return null==re||(Array.isArray(re)||(re=re.split(".")),0===re.length)?null:re.reduce((an,Gn)=>an&&an._find(Gn),this)}getError(Ge,re){const an=re?this.get(re):this;return an&&an.errors?an.errors[Ge]:null}hasError(Ge,re){return!!this.getError(Ge,re)}get root(){let Ge=this;for(;Ge._parent;)Ge=Ge._parent;return Ge}_updateControlsErrors(Ge){this.status=this._calculateStatus(),Ge&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ge)}_initObservables(){this.valueChanges=new l.bkB,this.statusChanges=new l.bkB}_calculateStatus(){return this._allControlsDisabled()?Jn:this.errors?ui:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(li)?li:this._anyControlsHaveStatus(ui)?ui:mi}_anyControlsHaveStatus(Ge){return this._anyControls(re=>re.status===Ge)}_anyControlsDirty(){return this._anyControls(Ge=>Ge.dirty)}_anyControlsTouched(){return this._anyControls(Ge=>Ge.touched)}_updatePristine(Ge={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ge.onlySelf&&this._parent._updatePristine(Ge)}_updateTouched(Ge={}){this.touched=this._anyControlsTouched(),this._parent&&!Ge.onlySelf&&this._parent._updateTouched(Ge)}_registerOnCollectionChange(Ge){this._onCollectionChange=Ge}_setUpdateStrategy(Ge){pe(Ge)&&null!=Ge.updateOn&&(this._updateOn=Ge.updateOn)}_parentMarkedDirty(Ge){return!Ge&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ge){return null}_assignValidators(Ge){this._rawValidators=Array.isArray(Ge)?Ge.slice():Ge,this._composedValidatorFn=function $n(Pe){return Array.isArray(Pe)?J(Pe):Pe||null}(this._rawValidators)}_assignAsyncValidators(Ge){this._rawAsyncValidators=Array.isArray(Ge)?Ge.slice():Ge,this._composedAsyncValidatorFn=function We(Pe){return Array.isArray(Pe)?K(Pe):Pe||null}(this._rawAsyncValidators)}}class Oe extends te{constructor(Ge,re,an){super(Di(re),Ii(an,re)),this.controls=Ge,this._initObservables(),this._setUpdateStrategy(re),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ge,re){return this.controls[Ge]?this.controls[Ge]:(this.controls[Ge]=re,re.setParent(this),re._registerOnCollectionChange(this._onCollectionChange),re)}addControl(Ge,re,an={}){this.registerControl(Ge,re),this.updateValueAndValidity({emitEvent:an.emitEvent}),this._onCollectionChange()}removeControl(Ge,re={}){this.controls[Ge]&&this.controls[Ge]._registerOnCollectionChange(()=>{}),delete this.controls[Ge],this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}setControl(Ge,re,an={}){this.controls[Ge]&&this.controls[Ge]._registerOnCollectionChange(()=>{}),delete this.controls[Ge],re&&this.registerControl(Ge,re),this.updateValueAndValidity({emitEvent:an.emitEvent}),this._onCollectionChange()}contains(Ge){return this.controls.hasOwnProperty(Ge)&&this.controls[Ge].enabled}setValue(Ge,re={}){Ht(this,0,Ge),Object.keys(Ge).forEach(an=>{Te(this,!0,an),this.controls[an].setValue(Ge[an],{onlySelf:!0,emitEvent:re.emitEvent})}),this.updateValueAndValidity(re)}patchValue(Ge,re={}){null!=Ge&&(Object.keys(Ge).forEach(an=>{const Gn=this.controls[an];Gn&&Gn.patchValue(Ge[an],{onlySelf:!0,emitEvent:re.emitEvent})}),this.updateValueAndValidity(re))}reset(Ge={},re={}){this._forEachChild((an,Gn)=>{an.reset(Ge?Ge[Gn]:null,{onlySelf:!0,emitEvent:re.emitEvent})}),this._updatePristine(re),this._updateTouched(re),this.updateValueAndValidity(re)}getRawValue(){return this._reduceChildren({},(Ge,re,an)=>(Ge[an]=re.getRawValue(),Ge))}_syncPendingControls(){let Ge=this._reduceChildren(!1,(re,an)=>!!an._syncPendingControls()||re);return Ge&&this.updateValueAndValidity({onlySelf:!0}),Ge}_forEachChild(Ge){Object.keys(this.controls).forEach(re=>{const an=this.controls[re];an&&Ge(an,re)})}_setUpControls(){this._forEachChild(Ge=>{Ge.setParent(this),Ge._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ge){for(const[re,an]of Object.entries(this.controls))if(this.contains(re)&&Ge(an))return!0;return!1}_reduceValue(){return this._reduceChildren({},(re,an,Gn)=>((an.enabled||this.disabled)&&(re[Gn]=an.value),re))}_reduceChildren(Ge,re){let an=Ge;return this._forEachChild((Gn,vo)=>{an=re(an,Gn,vo)}),an}_allControlsDisabled(){for(const Ge of Object.keys(this.controls))if(this.controls[Ge].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ge){return this.controls.hasOwnProperty(Ge)?this.controls[Ge]:null}}const qn=Oe;class Rn extends Oe{}const le=new l.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>ce}),ce="always";function ie(Pe,Ge){return[...Ge.path,Pe]}function Ye(Pe,Ge,re=ce){ei(Pe,Ge),Ge.valueAccessor.writeValue(Pe.value),(Pe.disabled||"always"===re)&&Ge.valueAccessor.setDisabledState?.(Pe.disabled),function so(Pe,Ge){Ge.valueAccessor.registerOnChange(re=>{Pe._pendingValue=re,Pe._pendingChange=!0,Pe._pendingDirty=!0,"change"===Pe.updateOn&&Ti(Pe,Ge)})}(Pe,Ge),function Ao(Pe,Ge){const re=(an,Gn)=>{Ge.valueAccessor.writeValue(an),Gn&&Ge.viewToModelUpdate(an)};Pe.registerOnChange(re),Ge._registerOnDestroy(()=>{Pe._unregisterOnChange(re)})}(Pe,Ge),function Hi(Pe,Ge){Ge.valueAccessor.registerOnTouched(()=>{Pe._pendingTouched=!0,"blur"===Pe.updateOn&&Pe._pendingChange&&Ti(Pe,Ge),"submit"!==Pe.updateOn&&Pe.markAsTouched()})}(Pe,Ge),function si(Pe,Ge){if(Ge.valueAccessor.setDisabledState){const re=an=>{Ge.valueAccessor.setDisabledState(an)};Pe.registerOnDisabledChange(re),Ge._registerOnDestroy(()=>{Pe._unregisterOnDisabledChange(re)})}}(Pe,Ge)}function ln(Pe,Ge,re=!0){const an=()=>{};Ge.valueAccessor&&(Ge.valueAccessor.registerOnChange(an),Ge.valueAccessor.registerOnTouched(an)),Ci(Pe,Ge),Pe&&(Ge._invokeOnDestroyCallbacks(),Pe._registerOnCollectionChange(()=>{}))}function bn(Pe,Ge){Pe.forEach(re=>{re.registerOnValidatorChange&&re.registerOnValidatorChange(Ge)})}function ei(Pe,Ge){const re=ut(Pe);null!==Ge.validator?Pe.setValidators(tt(re,Ge.validator)):"function"==typeof re&&Pe.setValidators([re]);const an=_t(Pe);null!==Ge.asyncValidator?Pe.setAsyncValidators(tt(an,Ge.asyncValidator)):"function"==typeof an&&Pe.setAsyncValidators([an]);const Gn=()=>Pe.updateValueAndValidity();bn(Ge._rawValidators,Gn),bn(Ge._rawAsyncValidators,Gn)}function Ci(Pe,Ge){let re=!1;if(null!==Pe){if(null!==Ge.validator){const Gn=ut(Pe);if(Array.isArray(Gn)&&Gn.length>0){const vo=Gn.filter(pr=>pr!==Ge.validator);vo.length!==Gn.length&&(re=!0,Pe.setValidators(vo))}}if(null!==Ge.asyncValidator){const Gn=_t(Pe);if(Array.isArray(Gn)&&Gn.length>0){const vo=Gn.filter(pr=>pr!==Ge.asyncValidator);vo.length!==Gn.length&&(re=!0,Pe.setAsyncValidators(vo))}}}const an=()=>{};return bn(Ge._rawValidators,an),bn(Ge._rawAsyncValidators,an),re}function Ti(Pe,Ge){Pe._pendingDirty&&Pe.markAsDirty(),Pe.setValue(Pe._pendingValue,{emitModelToViewChange:!1}),Ge.viewToModelUpdate(Pe._pendingValue),Pe._pendingChange=!1}function rn(Pe,Ge){ei(Pe,Ge)}function En(Pe,Ge){if(!Pe.hasOwnProperty("model"))return!1;const re=Pe.model;return!!re.isFirstChange()||!Object.is(Ge,re.currentValue)}function hn(Pe,Ge){Pe._syncPendingControls(),Ge.forEach(re=>{const an=re.control;"submit"===an.updateOn&&an._pendingChange&&(re.viewToModelUpdate(an._pendingValue),an._pendingChange=!1)})}function vn(Pe,Ge){if(!Ge)return null;let re,an,Gn;return Array.isArray(Ge),Ge.forEach(vo=>{vo.constructor===M?re=vo:function we(Pe){return Object.getPrototypeOf(Pe.constructor)===g}(vo)?an=vo:Gn=vo}),Gn||an||re||null}const Vt={provide:Q,useExisting:(0,l.Rfq)(()=>Ce)},Fe=Promise.resolve();let Ce=(()=>{class Pe extends Q{constructor(re,an,Gn){super(),this.callSetDisabledState=Gn,this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.bkB,this.form=new Oe({},J(re),K(an))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(re){Fe.then(()=>{const an=this._findContainer(re.path);re.control=an.registerControl(re.name,re.control),Ye(re.control,re,this.callSetDisabledState),re.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(re)})}getControl(re){return this.form.get(re.path)}removeControl(re){Fe.then(()=>{const an=this._findContainer(re.path);an&&an.removeControl(re.name),this._directives.delete(re)})}addFormGroup(re){Fe.then(()=>{const an=this._findContainer(re.path),Gn=new Oe({});rn(Gn,re),an.registerControl(re.name,Gn),Gn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(re){Fe.then(()=>{const an=this._findContainer(re.path);an&&an.removeControl(re.name)})}getFormGroup(re){return this.form.get(re.path)}updateModel(re,an){Fe.then(()=>{this.form.get(re.path).setValue(an)})}setValue(re){this.control.setValue(re)}onSubmit(re){return this.submitted=!0,hn(this.form,this._directives),this.ngSubmit.emit(re),"dialog"===re?.target?.method}onReset(){this.resetForm()}resetForm(re=void 0){this.form.reset(re),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(re){return re.pop(),re.length?this.form.get(re):this.form}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(I,10),l.rXU(O,10),l.rXU(le,8))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(an,Gn){1&an&&l.bIt("submit",function(pr){return Gn.onSubmit(pr)})("reset",function(){return Gn.onReset()})},inputs:{options:[l.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l.Jv_([Vt]),l.Vt3]})}}return Pe})();function tn(Pe,Ge){const re=Pe.indexOf(Ge);re>-1&&Pe.splice(re,1)}function In(Pe){return"object"==typeof Pe&&null!==Pe&&2===Object.keys(Pe).length&&"value"in Pe&&"disabled"in Pe}const yi=class extends te{constructor(Ge=null,re,an){super(Di(re),Ii(an,re)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ge),this._setUpdateStrategy(re),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pe(re)&&(re.nonNullable||re.initialValueIsDefault)&&(this.defaultValue=In(Ge)?Ge.value:Ge)}setValue(Ge,re={}){this.value=this._pendingValue=Ge,this._onChange.length&&!1!==re.emitModelToViewChange&&this._onChange.forEach(an=>an(this.value,!1!==re.emitViewToModelChange)),this.updateValueAndValidity(re)}patchValue(Ge,re={}){this.setValue(Ge,re)}reset(Ge=this.defaultValue,re={}){this._applyFormState(Ge),this.markAsPristine(re),this.markAsUntouched(re),this.setValue(this.value,re),this._pendingChange=!1}_updateValue(){}_anyControls(Ge){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ge){this._onChange.push(Ge)}_unregisterOnChange(Ge){tn(this._onChange,Ge)}registerOnDisabledChange(Ge){this._onDisabledChange.push(Ge)}_unregisterOnDisabledChange(Ge){tn(this._onDisabledChange,Ge)}_forEachChild(Ge){}_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(Ge){In(Ge)?(this.value=this._pendingValue=Ge.value,Ge.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ge}},Mo=yi;let eo=(()=>{class Pe extends Q{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ie(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,features:[l.Vt3]})}}return Pe})();const qr={provide:kt,useExisting:(0,l.Rfq)(()=>uo)},bo=Promise.resolve();let uo=(()=>{class Pe extends kt{constructor(re,an,Gn,vo,pr,Tc){super(),this._changeDetectorRef=pr,this.callSetDisabledState=Tc,this.control=new yi,this._registered=!1,this.name="",this.update=new l.bkB,this._parent=re,this._setValidators(an),this._setAsyncValidators(Gn),this.valueAccessor=vn(0,vo)}ngOnChanges(re){if(this._checkForErrors(),!this._registered||"name"in re){if(this._registered&&(this._checkName(),this.formDirective)){const an=re.name.previousValue;this.formDirective.removeControl({name:an,path:this._getPath(an)})}this._setUpControl()}"isDisabled"in re&&this._updateDisabled(re),En(re,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(re){this.viewModel=re,this.update.emit(re)}_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(){Ye(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(re){bo.then(()=>{this.control.setValue(re,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(re){const an=re.isDisabled.currentValue,Gn=0!==an&&(0,l.L39)(an);bo.then(()=>{Gn&&!this.control.disabled?this.control.disable():!Gn&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(re){return this._parent?ie(re,this._parent):[re]}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(Q,9),l.rXU(I,10),l.rXU(O,10),l.rXU(f,10),l.rXU(l.gRc,8),l.rXU(le,8))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[l.Mj6.None,"disabled","isDisabled"],model:[l.Mj6.None,"ngModel","model"],options:[l.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l.Jv_([qr]),l.Vt3,l.OA$]})}}return Pe})(),Wo=(()=>{class Pe{static{this.\u0275fac=function(an){return new(an||Pe)}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return Pe})();const za={provide:f,useExisting:(0,l.Rfq)(()=>Gs),multi:!0};let Gs=(()=>{class Pe extends g{writeValue(re){this.setProperty("value",re??"")}registerOnChange(re){this.onChange=an=>{re(""==an?null:parseFloat(an))}}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(an,Gn){1&an&&l.bIt("input",function(pr){return Gn.onChange(pr.target.value)})("blur",function(){return Gn.onTouched()})},features:[l.Jv_([za]),l.Vt3]})}}return Pe})();const sa=new l.nKC(""),ls={provide:kt,useExisting:(0,l.Rfq)(()=>Xs)};let Xs=(()=>{class Pe extends kt{set isDisabled(re){}static{this._ngModelWarningSentOnce=!1}constructor(re,an,Gn,vo,pr){super(),this._ngModelWarningConfig=vo,this.callSetDisabledState=pr,this.update=new l.bkB,this._ngModelWarningSent=!1,this._setValidators(re),this._setAsyncValidators(an),this.valueAccessor=vn(0,Gn)}ngOnChanges(re){if(this._isControlChanged(re)){const an=re.form.previousValue;an&&ln(an,this,!1),Ye(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}En(re,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ln(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(re){this.viewModel=re,this.update.emit(re)}_isControlChanged(re){return re.hasOwnProperty("form")}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(I,10),l.rXU(O,10),l.rXU(f,10),l.rXU(sa,8),l.rXU(le,8))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formControl",""]],inputs:{form:[l.Mj6.None,"formControl","form"],isDisabled:[l.Mj6.None,"disabled","isDisabled"],model:[l.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[l.Jv_([ls]),l.Vt3,l.OA$]})}}return Pe})();const Is={provide:Q,useExisting:(0,l.Rfq)(()=>Qa)};let Qa=(()=>{class Pe extends Q{constructor(re,an,Gn){super(),this.callSetDisabledState=Gn,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.bkB,this._setValidators(re),this._setAsyncValidators(an)}ngOnChanges(re){this._checkFormPresent(),re.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ci(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(re){const an=this.form.get(re.path);return Ye(an,re,this.callSetDisabledState),an.updateValueAndValidity({emitEvent:!1}),this.directives.push(re),an}getControl(re){return this.form.get(re.path)}removeControl(re){ln(re.control||null,re,!1),function Be(Pe,Ge){const re=Pe.indexOf(Ge);re>-1&&Pe.splice(re,1)}(this.directives,re)}addFormGroup(re){this._setUpFormContainer(re)}removeFormGroup(re){this._cleanUpFormContainer(re)}getFormGroup(re){return this.form.get(re.path)}addFormArray(re){this._setUpFormContainer(re)}removeFormArray(re){this._cleanUpFormContainer(re)}getFormArray(re){return this.form.get(re.path)}updateModel(re,an){this.form.get(re.path).setValue(an)}onSubmit(re){return this.submitted=!0,hn(this.form,this.directives),this.ngSubmit.emit(re),"dialog"===re?.target?.method}onReset(){this.resetForm()}resetForm(re=void 0){this.form.reset(re),this.submitted=!1}_updateDomValue(){this.directives.forEach(re=>{const an=re.control,Gn=this.form.get(re.path);an!==Gn&&(ln(an||null,re),(Pe=>Pe instanceof yi)(Gn)&&(Ye(Gn,re,this.callSetDisabledState),re.control=Gn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(re){const an=this.form.get(re.path);rn(an,re),an.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(re){if(this.form){const an=this.form.get(re.path);an&&function hi(Pe,Ge){return Ci(Pe,Ge)}(an,re)&&an.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ei(this.form,this),this._oldForm&&Ci(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(I,10),l.rXU(O,10),l.rXU(le,8))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formGroup",""]],hostBindings:function(an,Gn){1&an&&l.bIt("submit",function(pr){return Gn.onSubmit(pr)})("reset",function(){return Gn.onReset()})},inputs:{form:[l.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l.Jv_([Is]),l.Vt3,l.OA$]})}}return Pe})();const qs={provide:Q,useExisting:(0,l.Rfq)(()=>Za)};let Za=(()=>{class Pe extends eo{constructor(re,an,Gn){super(),this.name=null,this._parent=re,this._setValidators(an),this._setAsyncValidators(Gn)}_checkParentType(){zs(this._parent)}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(Q,13),l.rXU(I,10),l.rXU(O,10))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formGroupName",""]],inputs:{name:[l.Mj6.None,"formGroupName","name"]},features:[l.Jv_([qs]),l.Vt3]})}}return Pe})();const Rs={provide:Q,useExisting:(0,l.Rfq)(()=>ts)};let ts=(()=>{class Pe extends Q{constructor(re,an,Gn){super(),this.name=null,this._parent=re,this._setValidators(an),this._setAsyncValidators(Gn)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ie(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){zs(this._parent)}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(Q,13),l.rXU(I,10),l.rXU(O,10))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formArrayName",""]],inputs:{name:[l.Mj6.None,"formArrayName","name"]},features:[l.Jv_([Rs]),l.Vt3]})}}return Pe})();function zs(Pe){return!(Pe instanceof Za||Pe instanceof Qa||Pe instanceof ts)}const Sl={provide:kt,useExisting:(0,l.Rfq)(()=>Ws)};let Ws=(()=>{class Pe extends kt{set isDisabled(re){}static{this._ngModelWarningSentOnce=!1}constructor(re,an,Gn,vo,pr){super(),this._ngModelWarningConfig=pr,this._added=!1,this.name=null,this.update=new l.bkB,this._ngModelWarningSent=!1,this._parent=re,this._setValidators(an),this._setAsyncValidators(Gn),this.valueAccessor=vn(0,vo)}ngOnChanges(re){this._added||this._setUpControl(),En(re,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(re){this.viewModel=re,this.update.emit(re)}get path(){return ie(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._added=!0}static{this.\u0275fac=function(an){return new(an||Pe)(l.rXU(Q,13),l.rXU(I,10),l.rXU(O,10),l.rXU(f,10),l.rXU(sa,8))}}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","formControlName",""]],inputs:{name:[l.Mj6.None,"formControlName","name"],isDisabled:[l.Mj6.None,"disabled","isDisabled"],model:[l.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[l.Jv_([Sl]),l.Vt3,l.OA$]})}}return Pe})();function pd(Pe){return"number"==typeof Pe?Pe:parseFloat(Pe)}let dr=(()=>{class Pe{constructor(){this._validator=ht}ngOnChanges(re){if(this.inputName in re){const an=this.normalizeInput(re[this.inputName].currentValue);this._enabled=this.enabled(an),this._validator=this._enabled?this.createValidator(an):ht,this._onChange&&this._onChange()}}validate(re){return this._validator(re)}registerOnValidatorChange(re){this._onChange=re}enabled(re){return null!=re}static{this.\u0275fac=function(an){return new(an||Pe)}}static{this.\u0275dir=l.FsC({type:Pe,features:[l.OA$]})}}return Pe})();const fc={provide:I,useExisting:(0,l.Rfq)(()=>Ss),multi:!0};let Ss=(()=>{class Pe extends dr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=re=>pd(re),this.createValidator=re=>U(re)}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(an,Gn){2&an&&l.BMQ("max",Gn._enabled?Gn.max:null)},inputs:{max:"max"},features:[l.Jv_([fc]),l.Vt3]})}}return Pe})();const ws={provide:I,useExisting:(0,l.Rfq)(()=>Ps),multi:!0};let Ps=(()=>{class Pe extends dr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=re=>pd(re),this.createValidator=re=>P(re)}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(an,Gn){2&an&&l.BMQ("min",Gn._enabled?Gn.min:null)},inputs:{min:"min"},features:[l.Jv_([ws]),l.Vt3]})}}return Pe})();const ol={provide:I,useExisting:(0,l.Rfq)(()=>Ha),multi:!0},la={provide:I,useExisting:(0,l.Rfq)(()=>ac),multi:!0};let Ha=(()=>{class Pe extends dr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.L39,this.createValidator=re=>z}enabled(re){return re}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(an,Gn){2&an&&l.BMQ("required",Gn._enabled?"":null)},inputs:{required:"required"},features:[l.Jv_([ol]),l.Vt3]})}}return Pe})(),ac=(()=>{class Pe extends Ha{constructor(){super(...arguments),this.createValidator=re=>nt}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(an,Gn){2&an&&l.BMQ("required",Gn._enabled?"":null)},features:[l.Jv_([la]),l.Vt3]})}}return Pe})();const rl={provide:I,useExisting:(0,l.Rfq)(()=>bl),multi:!0};let bl=(()=>{class Pe extends dr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=re=>function $a(Pe){return"number"==typeof Pe?Pe:parseInt(Pe,10)}(re),this.createValidator=re=>mt(re)}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275dir=l.FsC({type:Pe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(an,Gn){2&an&&l.BMQ("maxlength",Gn._enabled?Gn.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l.Jv_([rl]),l.Vt3]})}}return Pe})(),Qs=(()=>{class Pe{static{this.\u0275fac=function(an){return new(an||Pe)}}static{this.\u0275mod=l.$C({type:Pe})}static{this.\u0275inj=l.G2t({})}}return Pe})();class Ar extends te{constructor(Ge,re,an){super(Di(re),Ii(an,re)),this.controls=Ge,this._initObservables(),this._setUpdateStrategy(re),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ge){return this.controls[this._adjustIndex(Ge)]}push(Ge,re={}){this.controls.push(Ge),this._registerControl(Ge),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}insert(Ge,re,an={}){this.controls.splice(Ge,0,re),this._registerControl(re),this.updateValueAndValidity({emitEvent:an.emitEvent})}removeAt(Ge,re={}){let an=this._adjustIndex(Ge);an<0&&(an=0),this.controls[an]&&this.controls[an]._registerOnCollectionChange(()=>{}),this.controls.splice(an,1),this.updateValueAndValidity({emitEvent:re.emitEvent})}setControl(Ge,re,an={}){let Gn=this._adjustIndex(Ge);Gn<0&&(Gn=0),this.controls[Gn]&&this.controls[Gn]._registerOnCollectionChange(()=>{}),this.controls.splice(Gn,1),re&&(this.controls.splice(Gn,0,re),this._registerControl(re)),this.updateValueAndValidity({emitEvent:an.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ge,re={}){Ht(this,0,Ge),Ge.forEach((an,Gn)=>{Te(this,!1,Gn),this.at(Gn).setValue(an,{onlySelf:!0,emitEvent:re.emitEvent})}),this.updateValueAndValidity(re)}patchValue(Ge,re={}){null!=Ge&&(Ge.forEach((an,Gn)=>{this.at(Gn)&&this.at(Gn).patchValue(an,{onlySelf:!0,emitEvent:re.emitEvent})}),this.updateValueAndValidity(re))}reset(Ge=[],re={}){this._forEachChild((an,Gn)=>{an.reset(Ge[Gn],{onlySelf:!0,emitEvent:re.emitEvent})}),this._updatePristine(re),this._updateTouched(re),this.updateValueAndValidity(re)}getRawValue(){return this.controls.map(Ge=>Ge.getRawValue())}clear(Ge={}){this.controls.length<1||(this._forEachChild(re=>re._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ge.emitEvent}))}_adjustIndex(Ge){return Ge<0?Ge+this.length:Ge}_syncPendingControls(){let Ge=this.controls.reduce((re,an)=>!!an._syncPendingControls()||re,!1);return Ge&&this.updateValueAndValidity({onlySelf:!0}),Ge}_forEachChild(Ge){this.controls.forEach((re,an)=>{Ge(re,an)})}_updateValue(){this.value=this.controls.filter(Ge=>Ge.enabled||this.disabled).map(Ge=>Ge.value)}_anyControls(Ge){return this.controls.some(re=>re.enabled&&Ge(re))}_setUpControls(){this._forEachChild(Ge=>this._registerControl(Ge))}_allControlsDisabled(){for(const Ge of this.controls)if(Ge.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ge){Ge.setParent(this),Ge._registerOnCollectionChange(this._onCollectionChange)}_find(Ge){return this.at(Ge)??null}}function Al(Pe){return!!Pe&&(void 0!==Pe.asyncValidators||void 0!==Pe.validators||void 0!==Pe.updateOn)}let Ol=(()=>{class Pe{constructor(){this.useNonNullable=!1}get nonNullable(){const re=new Pe;return re.useNonNullable=!0,re}group(re,an=null){const Gn=this._reduceControls(re);let vo={};return Al(an)?vo=an:null!==an&&(vo.validators=an.validator,vo.asyncValidators=an.asyncValidator),new Oe(Gn,vo)}record(re,an=null){const Gn=this._reduceControls(re);return new Rn(Gn,an)}control(re,an,Gn){let vo={};return this.useNonNullable?(Al(an)?vo=an:(vo.validators=an,vo.asyncValidators=Gn),new yi(re,{...vo,nonNullable:!0})):new yi(re,an,Gn)}array(re,an,Gn){const vo=re.map(pr=>this._createControl(pr));return new Ar(vo,an,Gn)}_reduceControls(re){const an={};return Object.keys(re).forEach(Gn=>{an[Gn]=this._createControl(re[Gn])}),an}_createControl(re){return re instanceof yi||re instanceof te?re:Array.isArray(re)?this.control(re[0],re.length>1?re[1]:null,re.length>2?re[2]:null):this.control(re)}static{this.\u0275fac=function(an){return new(an||Pe)}}static{this.\u0275prov=l.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}}return Pe})(),As=(()=>{class Pe extends Ol{group(re,an=null){return super.group(re,an)}control(re,an,Gn){return super.control(re,an,Gn)}array(re,an,Gn){return super.array(re,an,Gn)}static{this.\u0275fac=(()=>{let re;return function(Gn){return(re||(re=l.xGo(Pe)))(Gn||Pe)}})()}static{this.\u0275prov=l.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}}return Pe})(),de=(()=>{class Pe{static withConfig(re){return{ngModule:Pe,providers:[{provide:le,useValue:re.callSetDisabledState??ce}]}}static{this.\u0275fac=function(an){return new(an||Pe)}}static{this.\u0275mod=l.$C({type:Pe})}static{this.\u0275inj=l.G2t({imports:[Qs]})}}return Pe})(),Os=(()=>{class Pe{static withConfig(re){return{ngModule:Pe,providers:[{provide:sa,useValue:re.warnOnNgModelWithFormControl??"always"},{provide:le,useValue:re.callSetDisabledState??ce}]}}static{this.\u0275fac=function(an){return new(an||Pe)}}static{this.\u0275mod=l.$C({type:Pe})}static{this.\u0275inj=l.G2t({imports:[Qs]})}}return Pe})()},60850:(Rt,Tt,D)=>{"use strict";D.d(Tt,{$3:()=>L,jL:()=>xt,pN:()=>_t});var l=D(54438),k=D(86600),A=D(60177),G=D(65478),t=D(66969),C=D(18617),g=D(36860),f=D(49969),h=D(18359),_=D(21413),p=D(59030),m=D(57786),F=D(7673),M=D(33726),y=D(67336),T=D(76939),I=D(89417),O=D(32102),S=D(99172),B=D(25558),P=D(96697),U=D(5964),z=D(96354),nt=D(88141),it=D(91986),rt=D(28203);const mt=["panel"],lt=["*"];function ht(Dt,gt){if(1&Dt){const Mt=l.RV6();l.j41(0,"div",1,0),l.bIt("@panelAnimation.done",function(Q){l.eBV(Mt);const kt=l.XpG();return l.Njj(kt._animationDone.next(Q))}),l.SdG(2),l.k0s()}if(2&Dt){const Mt=gt.id,ot=l.XpG();l.HbH(ot._classList),l.AVh("mat-mdc-autocomplete-visible",ot.showPanel)("mat-mdc-autocomplete-hidden",!ot.showPanel)("mat-primary","primary"===ot._color)("mat-accent","accent"===ot._color)("mat-warn","warn"===ot._color),l.Y8G("id",ot.id)("@panelAnimation",ot.isOpen?"visible":"hidden"),l.BMQ("aria-label",ot.ariaLabel||null)("aria-labelledby",ot._getPanelAriaLabelledby(Mt))}}const yt=(0,f.hZ)("panelAnimation",[(0,f.wk)("void, hidden",(0,f.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,f.kY)(":enter, hidden => visible",[(0,f.Os)([(0,f.i0)("0.03s linear",(0,f.iF)({opacity:1})),(0,f.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,f.iF)({transform:"scaleY(1)"}))])]),(0,f.kY)(":leave, visible => hidden",[(0,f.i0)("0.075s linear",(0,f.iF)({opacity:0}))])]);let wt=0;class Z{constructor(gt,Mt){this.source=gt,this.option=Mt}}const dt=new l.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function ft(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let L=(()=>{class Dt{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Mt){this._color=Mt,this._changeDetectorRef.markForCheck()}set classList(Mt){this._classList=Mt,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Mt){this._hideSingleSelectionIndicator=Mt,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Mt of this.options)Mt._changeDetectorRef.markForCheck()}constructor(Mt,ot,Q,kt){this._changeDetectorRef=Mt,this._elementRef=ot,this._defaults=Q,this._activeOptionChanges=h.yU.EMPTY,this._animationDone=new l.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new l.bkB,this.opened=new l.bkB,this.closed=new l.bkB,this.optionActivated=new l.bkB,this.id="mat-autocomplete-"+wt++,this.inertGroups=kt?.SAFARI||!1,this.autoActiveFirstOption=!!Q.autoActiveFirstOption,this.autoSelectActiveOption=!!Q.autoSelectActiveOption,this.requireSelection=!!Q.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new C.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Mt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Mt]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Mt){this.panel&&(this.panel.nativeElement.scrollTop=Mt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(Mt){const ot=new Z(this,Mt);this.optionSelected.emit(ot)}_getPanelAriaLabelledby(Mt){return this.ariaLabel?null:this.ariaLabelledby?(Mt?Mt+" ":"")+this.ariaLabelledby:Mt}_skipPredicate(){return!1}static{this.\u0275fac=function(ot){return new(ot||Dt)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(dt),l.rXU(g.OD))}}static{this.\u0275cmp=l.VBU({type:Dt,selectors:[["mat-autocomplete"]],contentQueries:function(ot,Q,kt){if(1&ot&&(l.wni(kt,k.wT,5),l.wni(kt,k.QC,5)),2&ot){let Xt;l.mGM(Xt=l.lsd())&&(Q.options=Xt),l.mGM(Xt=l.lsd())&&(Q.optionGroups=Xt)}},viewQuery:function(ot,Q){if(1&ot&&(l.GBs(l.C4Q,7),l.GBs(mt,5)),2&ot){let kt;l.mGM(kt=l.lsd())&&(Q.template=kt.first),l.mGM(kt=l.lsd())&&(Q.panel=kt.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Mj6.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[l.Mj6.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",l.L39],autoSelectActiveOption:[l.Mj6.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",l.L39],requireSelection:[l.Mj6.HasDecoratorInputTransform,"requireSelection","requireSelection",l.L39],panelWidth:"panelWidth",disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],classList:[l.Mj6.None,"class","classList"],hideSingleSelectionIndicator:[l.Mj6.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",l.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[l.Jv_([{provide:k.is,useExisting:Dt}]),l.GFd,l.aNF],ngContentSelectors:lt,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(ot,Q){1&ot&&(l.NAR(),l.DNE(0,ht,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[yt]},changeDetection:0})}}return Dt})();const J={provide:I.kq,useExisting:(0,l.Rfq)(()=>_t),multi:!0},K=new l.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Dt=(0,l.WQX)(t.hJ);return()=>Dt.scrollStrategies.reposition()}}),ut={provide:K,deps:[t.hJ],useFactory:function tt(Dt){return()=>Dt.scrollStrategies.reposition()}};let _t=(()=>{class Dt{constructor(Mt,ot,Q,kt,Xt,Ie,Qt,Bt,St,Nt,Jt){this._element=Mt,this._overlay=ot,this._viewContainerRef=Q,this._zone=kt,this._changeDetectorRef=Xt,this._dir=Qt,this._formField=Bt,this._document=St,this._viewportRuler=Nt,this._defaults=Jt,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=h.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new _.B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,p.v)(()=>{const se=this.autocomplete?this.autocomplete.options:null;return se?se.changes.pipe((0,S.Z)(se),(0,B.n)(()=>(0,m.h)(...se.map(be=>be.onSelectionChange)))):this._zone.onStable.pipe((0,P.s)(1),(0,B.n)(()=>this.optionSelections))}),this._handlePanelKeydown=se=>{(se.keyCode===y._f&&!(0,y.rp)(se)||se.keyCode===y.i7&&(0,y.rp)(se,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),se.stopPropagation(),se.preventDefault())},this._trackedModal=null,this._scrollStrategy=Ie}ngAfterViewInit(){const Mt=this._getWindow();typeof Mt<"u"&&this._zone.runOutsideAngular(()=>Mt.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Mt){Mt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Mt=this._getWindow();typeof Mt<"u"&&Mt.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,C.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,m.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,U.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,U.p)(()=>this._overlayAttached)):(0,F.of)()).pipe((0,z.T)(Mt=>Mt instanceof k.MI?Mt:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,m.h)((0,M.R)(this._document,"click"),(0,M.R)(this._document,"auxclick"),(0,M.R)(this._document,"touchend")).pipe((0,U.p)(Mt=>{const ot=(0,g.Fb)(Mt),Q=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,kt=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ot!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Q||!Q.contains(ot))&&(!kt||!kt.contains(ot))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ot)}))}writeValue(Mt){Promise.resolve(null).then(()=>this._assignOptionValue(Mt))}registerOnChange(Mt){this._onChange=Mt}registerOnTouched(Mt){this._onTouched=Mt}setDisabledState(Mt){this._element.nativeElement.disabled=Mt}_handleKeydown(Mt){const ot=Mt.keyCode,Q=(0,y.rp)(Mt);if(ot===y._f&&!Q&&Mt.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&ot===y.Fm&&this.panelOpen&&!Q)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Mt.preventDefault();else if(this.autocomplete){const kt=this.autocomplete._keyManager.activeItem,Xt=ot===y.i7||ot===y.n6;ot===y.wn||Xt&&!Q&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Mt):Xt&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Xt||this.autocomplete._keyManager.activeItem!==kt)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Mt){let ot=Mt.target,Q=ot.value;if("number"===ot.type&&(Q=""==Q?null:parseFloat(Q)),this._previousValue!==Q){if(this._previousValue=Q,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(Q),Q){if(this.panelOpen&&!this.autocomplete.requireSelection){const kt=this.autocomplete.options?.find(Xt=>Xt.selected);kt&&Q!==this._getDisplayValue(kt.value)&&kt.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===Mt.target){const kt=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(kt)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(Mt=!1){this._formField&&"auto"===this._formField.floatLabel&&(Mt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Mt=this._zone.onStable.pipe((0,P.s)(1)),ot=this.autocomplete.options.changes.pipe((0,nt.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,it.c)(0));return(0,m.h)(Mt,ot).pipe((0,B.n)(()=>(this._zone.run(()=>{const Q=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Q!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,P.s)(1)).subscribe(Q=>this._setValueAndClose(Q))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(Mt){const ot=this.autocomplete;return ot&&ot.displayWith?ot.displayWith(Mt):Mt}_assignOptionValue(Mt){const ot=this._getDisplayValue(Mt);null==Mt&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(ot??"")}_updateNativeInputValue(Mt){this._formField?this._formField._control.value=Mt:this._element.nativeElement.value=Mt,this._previousValue=Mt}_setValueAndClose(Mt){const ot=this.autocomplete,Q=Mt?Mt.source:this._pendingAutoselectedOption;Q?(this._clearPreviousSelectedOption(Q),this._assignOptionValue(Q.value),this._onChange(Q.value),ot._emitSelectEvent(Q),this._element.nativeElement.focus()):ot.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),ot._animationDone?ot._animationDone.pipe((0,P.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Mt,ot){this.autocomplete?.options?.forEach(Q=>{Q!==Mt&&Q.selected&&Q.deselect(ot)})}_openPanelInternal(Mt=this._element.nativeElement.value){this._attachOverlay(Mt),this._floatLabel(),this._trackedModal&&(0,C.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(Mt){let ot=this._overlayRef;ot?(this._positionStrategy.setOrigin(this._getConnectedElement()),ot.updateSize({width:this._getPanelWidth()})):(this._portal=new T.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),ot=this._overlay.create(this._getOverlayConfig()),this._overlayRef=ot,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&ot&&ot.updateSize({width:this._getPanelWidth()})})),ot&&!ot.hasAttached()&&(ot.attach(this._portal),this._valueOnAttach=Mt,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const Q=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&Q!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Mt=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Mt.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Mt.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new t.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Mt=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Mt),this._positionStrategy=Mt,Mt}_setStrategyPositions(Mt){const ot=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Q=this._aboveClass,kt=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Q},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Q}];let Xt;Xt="above"===this.position?kt:"below"===this.position?ot:[...ot,...kt],Mt.withPositions(Xt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Mt=this.autocomplete;if(Mt.autoActiveFirstOption){let ot=-1;for(let Q=0;Q .cdk-overlay-container [aria-modal="true"]');if(!Mt)return;const ot=this.autocomplete.id;this._trackedModal&&(0,C.Ae)(this._trackedModal,"aria-owns",ot),(0,C.px)(Mt,"aria-owns",ot),this._trackedModal=Mt}_clearFromModal(){this._trackedModal&&((0,C.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(ot){return new(ot||Dt)(l.rXU(l.aKT),l.rXU(t.hJ),l.rXU(l.c1b),l.rXU(l.SKi),l.rXU(l.gRc),l.rXU(K),l.rXU(rt.dS,8),l.rXU(O.xb,9),l.rXU(A.qQ,8),l.rXU(G.Xj),l.rXU(dt,8))}}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(ot,Q){1&ot&&l.bIt("focusin",function(){return Q._handleFocus()})("blur",function(){return Q._onTouched()})("input",function(Xt){return Q._handleInput(Xt)})("keydown",function(Xt){return Q._handleKeydown(Xt)})("click",function(){return Q._handleClick()}),2&ot&&l.BMQ("autocomplete",Q.autocompleteAttribute)("role",Q.autocompleteDisabled?null:"combobox")("aria-autocomplete",Q.autocompleteDisabled?null:"list")("aria-activedescendant",Q.panelOpen&&Q.activeOption?Q.activeOption.id:null)("aria-expanded",Q.autocompleteDisabled?null:Q.panelOpen.toString())("aria-controls",Q.autocompleteDisabled||!Q.panelOpen||null==Q.autocomplete?null:Q.autocomplete.id)("aria-haspopup",Q.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[l.Mj6.None,"matAutocomplete","autocomplete"],position:[l.Mj6.None,"matAutocompletePosition","position"],connectedTo:[l.Mj6.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[l.Mj6.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[l.Mj6.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",l.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[l.Jv_([J]),l.GFd,l.OA$]})}}return Dt})(),xt=(()=>{class Dt{static{this.\u0275fac=function(ot){return new(ot||Dt)}}static{this.\u0275mod=l.$C({type:Dt})}static{this.\u0275inj=l.G2t({providers:[ut],imports:[t.z_,k.Sy,k.yE,A.MD,G.Gj,k.Sy,k.yE]})}}return Dt})()},1975:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Y:()=>_,k:()=>h});var l=D(54438),k=D(86600),A=D(18617),G=D(60177);let t=0;const C="mat-badge-content",g=new Set;let f=(()=>{class p{static{this.\u0275fac=function(M){return new(M||p)}}static{this.\u0275cmp=l.VBU({type:p,selectors:[["ng-component"]],standalone:!0,features:[l.aNF],decls:0,vars:0,template:function(M,y){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0})}}return p})(),h=(()=>{class p{get color(){return this._color}set color(F){this._setColor(F),this._color=F}get content(){return this._content}set content(F){this._updateRenderedContent(F)}get description(){return this._description}set description(F){this._updateDescription(F)}constructor(F,M,y,T,I){this._ngZone=F,this._elementRef=M,this._ariaDescriber=y,this._renderer=T,this._animationMode=I,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=t++,this._isInitialized=!1,this._interactivityChecker=(0,l.WQX)(A.Z7),this._document=(0,l.WQX)(G.qQ);const O=(0,l.WQX)(l.o8S);if(!g.has(O)){g.add(O);const S=(0,l.a0P)(f,{environmentInjector:(0,l.WQX)(l.uvJ)});O.onDestroy(()=>{g.delete(O),0===g.size&&S.destroy()})}}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const F=this._renderer.createElement("span"),M="mat-badge-active";return F.setAttribute("id",`mat-badge-content-${this._id}`),F.setAttribute("aria-hidden","true"),F.classList.add(C),"NoopAnimations"===this._animationMode&&F.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(F),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{F.classList.add(M)})}):F.classList.add(M),F}_updateRenderedContent(F){const M=`${F??""}`.trim();this._isInitialized&&M&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=M),this._content=M}_updateDescription(F){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!F||this._isHostInteractive())&&this._removeInlineDescription(),this._description=F,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,F):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(F){const M=this._elementRef.nativeElement.classList;M.remove(`mat-badge-${this._color}`),F&&M.add(`mat-badge-${F}`)}_clearExistingBadges(){const F=this._elementRef.nativeElement.querySelectorAll(`:scope > .${C}`);for(const M of Array.from(F))M!==this._badgeElement&&M.remove()}static{this.\u0275fac=function(M){return new(M||p)(l.rXU(l.SKi),l.rXU(l.aKT),l.rXU(A.vr),l.rXU(l.sFG),l.rXU(l.bc$,8))}}static{this.\u0275dir=l.FsC({type:p,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(M,y){2&M&&l.AVh("mat-badge-overlap",y.overlap)("mat-badge-above",y.isAbove())("mat-badge-below",!y.isAbove())("mat-badge-before",!y.isAfter())("mat-badge-after",y.isAfter())("mat-badge-small","small"===y.size)("mat-badge-medium","medium"===y.size)("mat-badge-large","large"===y.size)("mat-badge-hidden",y.hidden||!y.content)("mat-badge-disabled",y.disabled)},inputs:{color:[l.Mj6.None,"matBadgeColor","color"],overlap:[l.Mj6.HasDecoratorInputTransform,"matBadgeOverlap","overlap",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"matBadgeDisabled","disabled",l.L39],position:[l.Mj6.None,"matBadgePosition","position"],content:[l.Mj6.None,"matBadge","content"],description:[l.Mj6.None,"matBadgeDescription","description"],size:[l.Mj6.None,"matBadgeSize","size"],hidden:[l.Mj6.HasDecoratorInputTransform,"matBadgeHidden","hidden",l.L39]},standalone:!0,features:[l.GFd]})}}return p})(),_=(()=>{class p{static{this.\u0275fac=function(M){return new(M||p)}}static{this.\u0275mod=l.$C({type:p})}static{this.\u0275inj=l.G2t({imports:[A.Pd,k.yE,k.yE]})}}return p})()},65571:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Vg:()=>O,ec:()=>T,pc:()=>I});var l=D(18617),k=D(45024),A=D(54438),G=D(89417),t=D(86600);const C=["button"],g=["*"];function f(S,B){if(1&S&&A.nrm(0,"mat-pseudo-checkbox",3),2&S){const P=A.XpG();A.Y8G("disabled",P.disabled)}}function h(S,B){if(1&S&&A.nrm(0,"mat-pseudo-checkbox",3),2&S){const P=A.XpG();A.Y8G("disabled",P.disabled)}}const _=new A.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function p(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}}),m=new A.nKC("MatButtonToggleGroup"),F={provide:G.kq,useExisting:(0,A.Rfq)(()=>T),multi:!0};let M=0;class y{constructor(B,P){this.source=B,this.value=P}}let T=(()=>{class S{get name(){return this._name}set name(P){this._name=P,this._markButtonsForCheck()}get value(){const P=this._selectionModel?this._selectionModel.selected:[];return this.multiple?P.map(U=>U.value):P[0]?P[0].value:void 0}set value(P){this._setSelectionByValue(P),this.valueChange.emit(this.value)}get selected(){const P=this._selectionModel?this._selectionModel.selected:[];return this.multiple?P:P[0]||null}get multiple(){return this._multiple}set multiple(P){this._multiple=P,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(P){this._disabled=P,this._markButtonsForCheck()}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(P){this._hideSingleSelectionIndicator=P,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(P){this._hideMultipleSelectionIndicator=P,this._markButtonsForCheck()}constructor(P,U){this._changeDetector=P,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+M++,this.valueChange=new A.bkB,this.change=new A.bkB,this.appearance=U&&U.appearance?U.appearance:"standard",this.hideSingleSelectionIndicator=U?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=U?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new k.CB(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(P=>P.checked))}writeValue(P){this.value=P,this._changeDetector.markForCheck()}registerOnChange(P){this._controlValueAccessorChangeFn=P}registerOnTouched(P){this._onTouched=P}setDisabledState(P){this.disabled=P}_emitChangeEvent(P){const U=new y(P,this.value);this._rawValue=U.value,this._controlValueAccessorChangeFn(U.value),this.change.emit(U)}_syncButtonToggle(P,U,z=!1,nt=!1){!this.multiple&&this.selected&&!P.checked&&(this.selected.checked=!1),this._selectionModel?U?this._selectionModel.select(P):this._selectionModel.deselect(P):nt=!0,nt?Promise.resolve().then(()=>this._updateModelValue(P,z)):this._updateModelValue(P,z)}_isSelected(P){return this._selectionModel&&this._selectionModel.isSelected(P)}_isPrechecked(P){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(U=>null!=P.value&&U===P.value):P.value===this._rawValue)}_setSelectionByValue(P){this._rawValue=P,this._buttonToggles&&(this.multiple&&P?(Array.isArray(P),this._clearSelection(),P.forEach(U=>this._selectValue(U))):(this._clearSelection(),this._selectValue(P)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(P=>P.checked=!1)}_selectValue(P){const U=this._buttonToggles.find(z=>null!=z.value&&z.value===P);U&&(U.checked=!0,this._selectionModel.select(U))}_updateModelValue(P,U){U&&this._emitChangeEvent(P),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(P=>P._markForCheck())}static{this.\u0275fac=function(U){return new(U||S)(A.rXU(A.gRc),A.rXU(_,8))}}static{this.\u0275dir=A.FsC({type:S,selectors:[["mat-button-toggle-group"]],contentQueries:function(U,z,nt){if(1&U&&A.wni(nt,I,5),2&U){let it;A.mGM(it=A.lsd())&&(z._buttonToggles=it)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(U,z){2&U&&(A.BMQ("aria-disabled",z.disabled),A.AVh("mat-button-toggle-vertical",z.vertical)("mat-button-toggle-group-appearance-standard","standard"===z.appearance))},inputs:{appearance:"appearance",name:"name",vertical:[A.Mj6.HasDecoratorInputTransform,"vertical","vertical",A.L39],value:"value",multiple:[A.Mj6.HasDecoratorInputTransform,"multiple","multiple",A.L39],disabled:[A.Mj6.HasDecoratorInputTransform,"disabled","disabled",A.L39],hideSingleSelectionIndicator:[A.Mj6.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",A.L39],hideMultipleSelectionIndicator:[A.Mj6.HasDecoratorInputTransform,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",A.L39]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[A.Jv_([F,{provide:m,useExisting:S}]),A.GFd]})}}return S})(),I=(()=>{class S{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(P){this._appearance=P}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(P){P!==this._checked&&(this._checked=P,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(P){this._disabled=P}constructor(P,U,z,nt,it,rt){this._changeDetectorRef=U,this._elementRef=z,this._focusMonitor=nt,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new A.bkB;const mt=Number(it);this.tabIndex=mt||0===mt?mt:null,this.buttonToggleGroup=P,this.appearance=rt&&rt.appearance?rt.appearance:"standard"}ngOnInit(){const P=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+M++,P&&(P._isPrechecked(this)?this.checked=!0:P._isSelected(this)!==this._checked&&P._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const P=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),P&&P._isSelected(this)&&P._syncButtonToggle(this,!1,!1,!0)}focus(P){this._buttonElement.nativeElement.focus(P)}_onButtonClick(){const P=!!this._isSingleSelector()||!this._checked;P!==this._checked&&(this._checked=P,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new y(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static{this.\u0275fac=function(U){return new(U||S)(A.rXU(m,8),A.rXU(A.gRc),A.rXU(A.aKT),A.rXU(l.FN),A.kS0("tabindex"),A.rXU(_,8))}}static{this.\u0275cmp=A.VBU({type:S,selectors:[["mat-button-toggle"]],viewQuery:function(U,z){if(1&U&&A.GBs(C,5),2&U){let nt;A.mGM(nt=A.lsd())&&(z._buttonElement=nt.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(U,z){1&U&&A.bIt("focus",function(){return z.focus()}),2&U&&(A.BMQ("aria-label",null)("aria-labelledby",null)("id",z.id)("name",null),A.AVh("mat-button-toggle-standalone",!z.buttonToggleGroup)("mat-button-toggle-checked",z.checked)("mat-button-toggle-disabled",z.disabled)("mat-button-toggle-appearance-standard","standard"===z.appearance))},inputs:{ariaLabel:[A.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[A.Mj6.None,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[A.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",A.L39],appearance:"appearance",checked:[A.Mj6.HasDecoratorInputTransform,"checked","checked",A.L39],disabled:[A.Mj6.HasDecoratorInputTransform,"disabled","disabled",A.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[A.GFd,A.aNF],ngContentSelectors:g,decls:8,vars:11,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(U,z){if(1&U){const nt=A.RV6();A.NAR(),A.j41(0,"button",1,0),A.bIt("click",function(){return A.eBV(nt),A.Njj(z._onButtonClick())}),A.j41(2,"span",2),A.DNE(3,f,1,1,"mat-pseudo-checkbox",3)(4,h,1,1,"mat-pseudo-checkbox",3),A.SdG(5),A.k0s()(),A.nrm(6,"span",4)(7,"span",5)}if(2&U){const nt=A.sdS(1);A.Y8G("id",z.buttonId)("disabled",z.disabled||null),A.BMQ("tabindex",z.disabled?-1:z.tabIndex)("aria-pressed",z.checked)("name",z._getButtonName())("aria-label",z.ariaLabel)("aria-labelledby",z.ariaLabelledby),A.R7$(3),A.vxM(3,z.buttonToggleGroup&&z.checked&&!z.buttonToggleGroup.multiple&&!z.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),A.R7$(),A.vxM(4,z.buttonToggleGroup&&z.checked&&z.buttonToggleGroup.multiple&&!z.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),A.R7$(3),A.Y8G("matRippleTrigger",nt)("matRippleDisabled",z.disableRipple||z.disabled)}},dependencies:[t.r6,t.wg],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0})}}return S})(),O=(()=>{class S{static{this.\u0275fac=function(U){return new(U||S)}}static{this.\u0275mod=A.$C({type:S})}static{this.\u0275inj=A.G2t({imports:[t.yE,t.pZ,I,t.yE]})}}return S})()},88834:(Rt,Tt,D)=>{"use strict";D.d(Tt,{$0:()=>lt,$z:()=>U,Hl:()=>dt,iY:()=>wt});var l=D(36860),k=D(54438),A=D(18617),G=D(86600);const t=["mat-button",""],C=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],g=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],p=["mat-mini-fab",""],F=["mat-icon-button",""],M=["*"],T=new k.nKC("MAT_BUTTON_CONFIG"),O=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let S=(()=>{class ft{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Y){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Y)}get disableRipple(){return this._disableRipple}set disableRipple(Y){this._disableRipple=Y,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(Y){this._disabled=Y,this._updateRippleDisabled()}constructor(Y,J,H,K){this._elementRef=Y,this._platform=J,this._ngZone=H,this._animationMode=K,this._focusMonitor=(0,k.WQX)(A.FN),this._rippleLoader=(0,k.WQX)(G.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const tt=(0,k.WQX)(T,{optional:!0}),ut=Y.nativeElement,_t=ut.classList;this.disabledInteractive=tt?.disabledInteractive??!1,this._rippleLoader?.configureRipple(ut,{className:"mat-mdc-button-ripple"});for(const{attribute:xt,mdcClasses:Dt}of O)ut.hasAttribute(xt)&&_t.add(...Dt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Y="program",J){Y?this._focusMonitor.focusVia(this._elementRef.nativeElement,Y,J):this._elementRef.nativeElement.focus(J)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(J){k.QTQ()}}static{this.\u0275dir=k.FsC({type:ft,inputs:{color:"color",disableRipple:[k.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",k.L39],disabled:[k.Mj6.HasDecoratorInputTransform,"disabled","disabled",k.L39],ariaDisabled:[k.Mj6.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",k.L39],disabledInteractive:[k.Mj6.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",k.L39]},features:[k.GFd]})}}return ft})(),U=(()=>{class ft extends S{constructor(Y,J,H,K){super(Y,J,H,K)}static{this.\u0275fac=function(J){return new(J||ft)(k.rXU(k.aKT),k.rXU(l.OD),k.rXU(k.SKi),k.rXU(k.bc$,8))}}static{this.\u0275cmp=k.VBU({type:ft,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(J,H){2&J&&(k.BMQ("disabled",H._getDisabledAttribute())("aria-disabled",H._getAriaDisabled()),k.HbH(H.color?"mat-"+H.color:""),k.AVh("mat-mdc-button-disabled",H.disabled)("mat-mdc-button-disabled-interactive",H.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[k.Vt3,k.aNF],attrs:t,ngContentSelectors:g,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(J,H){1&J&&(k.NAR(C),k.nrm(0,"span",0),k.SdG(1),k.j41(2,"span",1),k.SdG(3,1),k.k0s(),k.SdG(4,2),k.nrm(5,"span",2)(6,"span",3)),2&J&&k.AVh("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return ft})();const nt=new k.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:it});function it(){return{color:"accent"}}const rt=it();let lt=(()=>{class ft extends S{constructor(Y,J,H,K,tt){super(Y,J,H,K),this._options=tt,this._isFab=!0,this._options=this._options||rt,this.color=this._options.color||rt.color}static{this.\u0275fac=function(J){return new(J||ft)(k.rXU(k.aKT),k.rXU(l.OD),k.rXU(k.SKi),k.rXU(k.bc$,8),k.rXU(nt,8))}}static{this.\u0275cmp=k.VBU({type:ft,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(J,H){2&J&&(k.BMQ("disabled",H._getDisabledAttribute())("aria-disabled",H._getAriaDisabled()),k.HbH(H.color?"mat-"+H.color:""),k.AVh("mat-mdc-button-disabled",H.disabled)("mat-mdc-button-disabled-interactive",H.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[k.Vt3,k.aNF],attrs:p,ngContentSelectors:g,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(J,H){1&J&&(k.NAR(C),k.nrm(0,"span",0),k.SdG(1),k.j41(2,"span",1),k.SdG(3,1),k.k0s(),k.SdG(4,2),k.nrm(5,"span",2)(6,"span",3)),2&J&&k.AVh("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0})}}return ft})(),wt=(()=>{class ft extends S{constructor(Y,J,H,K){super(Y,J,H,K),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(J){return new(J||ft)(k.rXU(k.aKT),k.rXU(l.OD),k.rXU(k.SKi),k.rXU(k.bc$,8))}}static{this.\u0275cmp=k.VBU({type:ft,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(J,H){2&J&&(k.BMQ("disabled",H._getDisabledAttribute())("aria-disabled",H._getAriaDisabled()),k.HbH(H.color?"mat-"+H.color:""),k.AVh("mat-mdc-button-disabled",H.disabled)("mat-mdc-button-disabled-interactive",H.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[k.Vt3,k.aNF],attrs:F,ngContentSelectors:M,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(J,H){1&J&&(k.NAR(),k.nrm(0,"span",0),k.SdG(1),k.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return ft})(),dt=(()=>{class ft{static{this.\u0275fac=function(J){return new(J||ft)}}static{this.\u0275mod=k.$C({type:ft})}static{this.\u0275inj=k.G2t({imports:[G.yE,G.pZ,G.yE]})}}return ft})()},25596:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Hu:()=>it,Lc:()=>M,MM:()=>T,RN:()=>_,YY:()=>y,aJ:()=>m,dh:()=>p,hl:()=>B,kF:()=>O,m2:()=>F});var l=D(54438),k=D(60177),A=D(86600);const G=["*"],t=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],C=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],g=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=new l.nKC("MAT_CARD_CONFIG");let _=(()=>{class rt{constructor(lt){this.appearance=lt?.appearance||"raised"}static{this.\u0275fac=function(ht){return new(ht||rt)(l.rXU(h,8))}}static{this.\u0275cmp=l.VBU({type:rt,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(ht,yt){2&ht&&l.AVh("mat-mdc-card-outlined","outlined"===yt.appearance)("mdc-card--outlined","outlined"===yt.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[l.aNF],ngContentSelectors:G,decls:1,vars:0,template:function(ht,yt){1&ht&&(l.NAR(),l.SdG(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return rt})(),p=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return rt})(),m=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275cmp=l.VBU({type:rt,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],standalone:!0,features:[l.aNF],ngContentSelectors:C,decls:4,vars:0,template:function(ht,yt){1&ht&&(l.NAR(t),l.j41(0,"div"),l.SdG(1),l.k0s(),l.SdG(2,1),l.SdG(3,2))},encapsulation:2,changeDetection:0})}}return rt})(),F=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return rt})(),M=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return rt})(),y=(()=>{class rt{constructor(){this.align="start"}static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(ht,yt){2&ht&&l.AVh("mat-mdc-card-actions-align-end","end"===yt.align)},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return rt})(),T=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275cmp=l.VBU({type:rt,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[l.aNF],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(ht,yt){1&ht&&(l.NAR(g),l.SdG(0),l.j41(1,"div",0),l.SdG(2,1),l.k0s(),l.SdG(3,2))},encapsulation:2,changeDetection:0})}}return rt})(),O=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"],standalone:!0})}}return rt})(),B=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"],standalone:!0})}}return rt})(),it=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275mod=l.$C({type:rt})}static{this.\u0275inj=l.G2t({imports:[A.yE,k.MD,A.yE]})}}return rt})()},82765:(Rt,Tt,D)=>{"use strict";D.d(Tt,{So:()=>M,g7:()=>O});var l=D(54438),k=D(89417),A=D(86600);const G=["input"],t=["label"],C=["*"],g=new l.nKC("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}var h=function(S){return S[S.Init=0]="Init",S[S.Checked=1]="Checked",S[S.Unchecked=2]="Unchecked",S[S.Indeterminate=3]="Indeterminate",S}(h||{});const _={provide:k.kq,useExisting:(0,l.Rfq)(()=>M),multi:!0};class p{}let m=0;const F=f();let M=(()=>{class S{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(P){const U=new p;return U.source=this,U.checked=P,U}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(P,U,z,nt,it,rt){this._elementRef=P,this._changeDetectorRef=U,this._ngZone=z,this._animationMode=it,this._options=rt,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new l.bkB,this.indeterminateChange=new l.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=h.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||F,this.color=this._options.color||F.color,this.tabIndex=parseInt(nt)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++m}ngOnChanges(P){P.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(P){P!=this.checked&&(this._checked=P,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(P){P!==this.disabled&&(this._disabled=P,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(P){const U=P!=this._indeterminate;this._indeterminate=P,U&&(this._transitionCheckState(this._indeterminate?h.Indeterminate:this.checked?h.Checked:h.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(P){this.checked=!!P}registerOnChange(P){this._controlValueAccessorChangeFn=P}registerOnTouched(P){this._onTouched=P}setDisabledState(P){this.disabled=P}validate(P){return this.required&&!0!==P.value?{required:!0}:null}registerOnValidatorChange(P){this._validatorChangeFn=P}_transitionCheckState(P){let U=this._currentCheckState,z=this._getAnimationTargetElement();if(U!==P&&z&&(this._currentAnimationClass&&z.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(U,P),this._currentCheckState=P,this._currentAnimationClass.length>0)){z.classList.add(this._currentAnimationClass);const nt=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{z.classList.remove(nt)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const P=this._options?.clickAction;this.disabled||"noop"===P?!this.disabled&&"noop"===P&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==P&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?h.Checked:h.Unchecked),this._emitChangeEvent())}_onInteractionEvent(P){P.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(P,U){if("NoopAnimations"===this._animationMode)return"";switch(P){case h.Init:if(U===h.Checked)return this._animationClasses.uncheckedToChecked;if(U==h.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case h.Unchecked:return U===h.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case h.Checked:return U===h.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case h.Indeterminate:return U===h.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(P){const U=this._inputElement;U&&(U.nativeElement.indeterminate=P)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(P){P.target&&this._labelElement.nativeElement.contains(P.target)&&P.stopPropagation()}static{this.\u0275fac=function(U){return new(U||S)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(l.SKi),l.kS0("tabindex"),l.rXU(l.bc$,8),l.rXU(g,8))}}static{this.\u0275cmp=l.VBU({type:S,selectors:[["mat-checkbox"]],viewQuery:function(U,z){if(1&U&&(l.GBs(G,5),l.GBs(t,5),l.GBs(A.r6,5)),2&U){let nt;l.mGM(nt=l.lsd())&&(z._inputElement=nt.first),l.mGM(nt=l.lsd())&&(z._labelElement=nt.first),l.mGM(nt=l.lsd())&&(z.ripple=nt.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(U,z){2&U&&(l.Mr5("id",z.id),l.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),l.HbH(z.color?"mat-"+z.color:"mat-accent"),l.AVh("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mdc-checkbox--disabled",z.disabled)("mat-mdc-checkbox-disabled",z.disabled)("mat-mdc-checkbox-checked",z.checked))},inputs:{ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Mj6.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[l.Mj6.None,"aria-describedby","ariaDescribedby"],id:"id",required:[l.Mj6.HasDecoratorInputTransform,"required","required",l.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],tabIndex:[l.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",P=>null==P?void 0:(0,l.Udg)(P)],color:"color",checked:[l.Mj6.HasDecoratorInputTransform,"checked","checked",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],indeterminate:[l.Mj6.HasDecoratorInputTransform,"indeterminate","indeterminate",l.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[l.Jv_([_,{provide:k.cz,useExisting:S,multi:!0}]),l.GFd,l.OA$,l.aNF],ngContentSelectors:C,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(U,z){if(1&U){const nt=l.RV6();l.NAR(),l.j41(0,"div",3),l.bIt("click",function(rt){return l.eBV(nt),l.Njj(z._preventBubblingFromLabel(rt))}),l.j41(1,"div",4,0)(3,"div",5),l.bIt("click",function(){return l.eBV(nt),l.Njj(z._onTouchTargetClick())}),l.k0s(),l.j41(4,"input",6,1),l.bIt("blur",function(){return l.eBV(nt),l.Njj(z._onBlur())})("click",function(){return l.eBV(nt),l.Njj(z._onInputClick())})("change",function(rt){return l.eBV(nt),l.Njj(z._onInteractionEvent(rt))}),l.k0s(),l.nrm(6,"div",7),l.j41(7,"div",8),l.qSk(),l.j41(8,"svg",9),l.nrm(9,"path",10),l.k0s(),l.joV(),l.nrm(10,"div",11),l.k0s(),l.nrm(11,"div",12),l.k0s(),l.j41(12,"label",13,2),l.SdG(14),l.k0s()()}if(2&U){const nt=l.sdS(2);l.Y8G("labelPosition",z.labelPosition),l.R7$(4),l.AVh("mdc-checkbox--selected",z.checked),l.Y8G("checked",z.checked)("indeterminate",z.indeterminate)("disabled",z.disabled)("id",z.inputId)("required",z.required)("tabIndex",z.disabled?-1:z.tabIndex),l.BMQ("aria-label",z.ariaLabel||null)("aria-labelledby",z.ariaLabelledby)("aria-describedby",z.ariaDescribedby)("aria-checked",z.indeterminate?"mixed":null)("name",z.name)("value",z.value),l.R7$(7),l.Y8G("matRippleTrigger",nt)("matRippleDisabled",z.disableRipple||z.disabled)("matRippleCentered",!0),l.R7$(),l.Y8G("for",z.inputId)}},dependencies:[A.r6,A.tO],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return S})(),O=(()=>{class S{static{this.\u0275fac=function(U){return new(U||S)}}static{this.\u0275mod=l.$C({type:S})}static{this.\u0275inj=l.G2t({imports:[M,A.yE,A.yE]})}}return S})()},86600:(Rt,Tt,D)=>{"use strict";D.d(Tt,{r5:()=>P,ed:()=>U,MJ:()=>H,es:()=>Q,de:()=>K,QC:()=>jn,is:()=>Ln,$E:()=>je,yE:()=>it,vu:()=>kt,Np:()=>Qt,WX:()=>gt,wT:()=>Jn,Sy:()=>Ii,MI:()=>li,wg:()=>Le,O5:()=>Fn,r6:()=>ve,Ej:()=>nn,pZ:()=>De,ug:()=>oe,X0:()=>dt,tO:()=>qn,jb:()=>Di,TL:()=>$n});var l=D(54438),k=D(18617),A=D(28203),t=D(60177),C=D(36860),g=D(14085),f=D(21413),h=D(67336);const m=["text"],F=[[["mat-icon"]],"*"],M=["mat-icon","*"];function y(wn,Rn){if(1&wn&&l.nrm(0,"mat-pseudo-checkbox",1),2&wn){const fe=l.XpG();l.Y8G("disabled",fe.disabled)("state",fe.selected?"checked":"unchecked")}}function T(wn,Rn){if(1&wn&&l.nrm(0,"mat-pseudo-checkbox",3),2&wn){const fe=l.XpG();l.Y8G("disabled",fe.disabled)}}function I(wn,Rn){if(1&wn&&(l.j41(0,"span",4),l.EFF(1),l.k0s()),2&wn){const fe=l.XpG();l.R7$(),l.SpI("(",fe.group.label,")")}}const O=["mat-internal-form-field",""],S=["*"];let P=(()=>{class wn{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return wn})(),U=(()=>{class wn{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return wn})();const nt=new l.nKC("mat-sanity-checks",{providedIn:"root",factory:function z(){return!0}});let it=(()=>{class wn{constructor(fe,le,ce){this._sanityChecks=le,this._document=ce,this._hasDoneGlobalChecks=!1,fe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(fe){return!(0,C.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[fe])}static{this.\u0275fac=function(le){return new(le||wn)(l.KVO(k.Q_),l.KVO(nt,8),l.KVO(t.qQ))}}static{this.\u0275mod=l.$C({type:wn})}static{this.\u0275inj=l.G2t({imports:[A.jI,A.jI]})}}return wn})();class dt{constructor(Rn,fe,le,ce,ie){this._defaultMatcher=Rn,this.ngControl=fe,this._parentFormGroup=le,this._parentForm=ce,this._stateChanges=ie,this.errorState=!1}updateErrorState(){const Rn=this.errorState,fe=this._parentFormGroup||this._parentForm,le=this.matcher||this._defaultMatcher,ce=this.ngControl?this.ngControl.control:null,ie=le?.isErrorState(ce,fe)??!1;ie!==Rn&&(this.errorState=ie,this._stateChanges.next())}}const Y=new l.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function J(){return(0,l.WQX)(l.xe9)}});class H{constructor(){this._localeChanges=new f.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Rn){return this.isDateInstance(Rn)&&this.isValid(Rn)?Rn:null}deserialize(Rn){return null==Rn||this.isDateInstance(Rn)&&this.isValid(Rn)?Rn:this.invalid()}setLocale(Rn){this.locale=Rn,this._localeChanges.next()}compareDate(Rn,fe){return this.getYear(Rn)-this.getYear(fe)||this.getMonth(Rn)-this.getMonth(fe)||this.getDate(Rn)-this.getDate(fe)}sameDate(Rn,fe){if(Rn&&fe){let le=this.isValid(Rn),ce=this.isValid(fe);return le&&ce?!this.compareDate(Rn,fe):le==ce}return Rn==fe}clampDate(Rn,fe,le){return fe&&this.compareDate(Rn,fe)<0?fe:le&&this.compareDate(Rn,le)>0?le:Rn}}const K=new l.nKC("mat-date-formats"),tt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ut(wn,Rn){const fe=Array(wn);for(let le=0;le{class wn extends H{constructor(fe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,l.WQX)(Y,{optional:!0}),void 0!==fe&&(this._matDateLocale=fe),super.setLocale(this._matDateLocale)}getYear(fe){return fe.getFullYear()}getMonth(fe){return fe.getMonth()}getDate(fe){return fe.getDate()}getDayOfWeek(fe){return fe.getDay()}getMonthNames(fe){const le=new Intl.DateTimeFormat(this.locale,{month:fe,timeZone:"utc"});return ut(12,ce=>this._format(le,new Date(2017,ce,1)))}getDateNames(){const fe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ut(31,le=>this._format(fe,new Date(2017,0,le+1)))}getDayOfWeekNames(fe){const le=new Intl.DateTimeFormat(this.locale,{weekday:fe,timeZone:"utc"});return ut(7,ce=>this._format(le,new Date(2017,0,ce+1)))}getYearName(fe){const le=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(le,fe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(fe){return this.getDate(this._createDateWithOverflow(this.getYear(fe),this.getMonth(fe)+1,0))}clone(fe){return new Date(fe.getTime())}createDate(fe,le,ce){let ie=this._createDateWithOverflow(fe,le,ce);return ie.getMonth(),ie}today(){return new Date}parse(fe,le){return"number"==typeof fe?new Date(fe):fe?new Date(Date.parse(fe)):null}format(fe,le){if(!this.isValid(fe))throw Error("NativeDateAdapter: Cannot format invalid date.");const ce=new Intl.DateTimeFormat(this.locale,{...le,timeZone:"utc"});return this._format(ce,fe)}addCalendarYears(fe,le){return this.addCalendarMonths(fe,12*le)}addCalendarMonths(fe,le){let ce=this._createDateWithOverflow(this.getYear(fe),this.getMonth(fe)+le,this.getDate(fe));return this.getMonth(ce)!=((this.getMonth(fe)+le)%12+12)%12&&(ce=this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce),0)),ce}addCalendarDays(fe,le){return this._createDateWithOverflow(this.getYear(fe),this.getMonth(fe),this.getDate(fe)+le)}toIso8601(fe){return[fe.getUTCFullYear(),this._2digit(fe.getUTCMonth()+1),this._2digit(fe.getUTCDate())].join("-")}deserialize(fe){if("string"==typeof fe){if(!fe)return null;if(tt.test(fe)){let le=new Date(fe);if(this.isValid(le))return le}}return super.deserialize(fe)}isDateInstance(fe){return fe instanceof Date}isValid(fe){return!isNaN(fe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(fe,le,ce){const ie=new Date;return ie.setFullYear(fe,le,ce),ie.setHours(0,0,0,0),ie}_2digit(fe){return("00"+fe).slice(-2)}_format(fe,le){const ce=new Date;return ce.setUTCFullYear(le.getFullYear(),le.getMonth(),le.getDate()),ce.setUTCHours(le.getHours(),le.getMinutes(),le.getSeconds(),le.getMilliseconds()),fe.format(ce)}static{this.\u0275fac=function(le){return new(le||wn)(l.KVO(Y,8))}}static{this.\u0275prov=l.jDH({token:wn,factory:wn.\u0275fac})}}return wn})();const xt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let gt=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275mod=l.$C({type:wn})}static{this.\u0275inj=l.G2t({providers:[Mt()]})}}return wn})();function Mt(wn=xt){return[{provide:H,useClass:_t},{provide:K,useValue:wn}]}let Q=(()=>{class wn{isErrorState(fe,le){return!!(fe&&fe.invalid&&(fe.touched||le&&le.submitted))}static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275prov=l.jDH({token:wn,factory:wn.\u0275fac,providedIn:"root"})}}return wn})(),kt=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275dir=l.FsC({type:wn,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"],standalone:!0})}}return wn})(),Qt=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275mod=l.$C({type:wn})}static{this.\u0275inj=l.G2t({imports:[it,it]})}}return wn})();var Bt=function(wn){return wn[wn.FADING_IN=0]="FADING_IN",wn[wn.VISIBLE=1]="VISIBLE",wn[wn.FADING_OUT=2]="FADING_OUT",wn[wn.HIDDEN=3]="HIDDEN",wn}(Bt||{});class St{constructor(Rn,fe,le,ce=!1){this._renderer=Rn,this.element=fe,this.config=le,this._animationForciblyDisabledThroughCss=ce,this.state=Bt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Nt=(0,C.BQ)({passive:!0,capture:!0});class Jt{constructor(){this._events=new Map,this._delegateEventHandler=Rn=>{const fe=(0,C.Fb)(Rn);fe&&this._events.get(Rn.type)?.forEach((le,ce)=>{(ce===fe||ce.contains(fe))&&le.forEach(ie=>ie.handleEvent(Rn))})}}addHandler(Rn,fe,le,ce){const ie=this._events.get(fe);if(ie){const Ye=ie.get(le);Ye?Ye.add(ce):ie.set(le,new Set([ce]))}else this._events.set(fe,new Map([[le,new Set([ce])]])),Rn.runOutsideAngular(()=>{document.addEventListener(fe,this._delegateEventHandler,Nt)})}removeHandler(Rn,fe,le){const ce=this._events.get(Rn);if(!ce)return;const ie=ce.get(fe);ie&&(ie.delete(le),0===ie.size&&ce.delete(fe),0===ce.size&&(this._events.delete(Rn),document.removeEventListener(Rn,this._delegateEventHandler,Nt)))}}const se={enterDuration:225,exitDuration:150},Me=(0,C.BQ)({passive:!0,capture:!0}),ae=["mousedown","touchstart"],Yt=["mouseup","mouseleave","touchend","touchcancel"];class oe{static{this._eventManager=new Jt}constructor(Rn,fe,le,ce){this._target=Rn,this._ngZone=fe,this._platform=ce,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ce.isBrowser&&(this._containerElement=(0,g.i8)(le))}fadeInRipple(Rn,fe,le={}){const ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ie={...se,...le.animation};le.centered&&(Rn=ce.left+ce.width/2,fe=ce.top+ce.height/2);const Ye=le.radius||function _e(wn,Rn,fe){const le=Math.max(Math.abs(wn-fe.left),Math.abs(wn-fe.right)),ce=Math.max(Math.abs(Rn-fe.top),Math.abs(Rn-fe.bottom));return Math.sqrt(le*le+ce*ce)}(Rn,fe,ce),ln=Rn-ce.left,bn=fe-ce.top,si=ie.enterDuration,ei=document.createElement("div");ei.classList.add("mat-ripple-element"),ei.style.left=ln-Ye+"px",ei.style.top=bn-Ye+"px",ei.style.height=2*Ye+"px",ei.style.width=2*Ye+"px",null!=le.color&&(ei.style.backgroundColor=le.color),ei.style.transitionDuration=`${si}ms`,this._containerElement.appendChild(ei);const Ci=window.getComputedStyle(ei),Hi=Ci.transitionDuration,Ti="none"===Ci.transitionProperty||"0s"===Hi||"0s, 0s"===Hi||0===ce.width&&0===ce.height,Ao=new St(this,ei,le,Ti);ei.style.transform="scale3d(1, 1, 1)",Ao.state=Bt.FADING_IN,le.persistent||(this._mostRecentTransientRipple=Ao);let rn=null;return!Ti&&(si||ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const hi=()=>this._finishRippleTransition(Ao),Ue=()=>this._destroyRipple(Ao);ei.addEventListener("transitionend",hi),ei.addEventListener("transitioncancel",Ue),rn={onTransitionEnd:hi,onTransitionCancel:Ue}}),this._activeRipples.set(Ao,rn),(Ti||!si)&&this._finishRippleTransition(Ao),Ao}fadeOutRipple(Rn){if(Rn.state===Bt.FADING_OUT||Rn.state===Bt.HIDDEN)return;const fe=Rn.element,le={...se,...Rn.config.animation};fe.style.transitionDuration=`${le.exitDuration}ms`,fe.style.opacity="0",Rn.state=Bt.FADING_OUT,(Rn._animationForciblyDisabledThroughCss||!le.exitDuration)&&this._finishRippleTransition(Rn)}fadeOutAll(){this._getActiveRipples().forEach(Rn=>Rn.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Rn=>{Rn.config.persistent||Rn.fadeOut()})}setupTriggerEvents(Rn){const fe=(0,g.i8)(Rn);!this._platform.isBrowser||!fe||fe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=fe,ae.forEach(le=>{oe._eventManager.addHandler(this._ngZone,le,fe,this)}))}handleEvent(Rn){"mousedown"===Rn.type?this._onMousedown(Rn):"touchstart"===Rn.type?this._onTouchStart(Rn):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Yt.forEach(fe=>{this._triggerElement.addEventListener(fe,this,Me)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Rn){Rn.state===Bt.FADING_IN?this._startFadeOutTransition(Rn):Rn.state===Bt.FADING_OUT&&this._destroyRipple(Rn)}_startFadeOutTransition(Rn){const fe=Rn===this._mostRecentTransientRipple,{persistent:le}=Rn.config;Rn.state=Bt.VISIBLE,!le&&(!fe||!this._isPointerDown)&&Rn.fadeOut()}_destroyRipple(Rn){const fe=this._activeRipples.get(Rn)??null;this._activeRipples.delete(Rn),this._activeRipples.size||(this._containerRect=null),Rn===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Rn.state=Bt.HIDDEN,null!==fe&&(Rn.element.removeEventListener("transitionend",fe.onTransitionEnd),Rn.element.removeEventListener("transitioncancel",fe.onTransitionCancel)),Rn.element.remove()}_onMousedown(Rn){const fe=(0,k._G)(Rn),le=this._lastTouchStartEvent&&Date.now(){!Rn.config.persistent&&(Rn.state===Bt.VISIBLE||Rn.config.terminateOnPointerUp&&Rn.state===Bt.FADING_IN)&&Rn.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Rn=this._triggerElement;Rn&&(ae.forEach(fe=>oe._eventManager.removeHandler(fe,Rn,this)),this._pointerUpEventsRegistered&&(Yt.forEach(fe=>Rn.removeEventListener(fe,this,Me)),this._pointerUpEventsRegistered=!1))}}const je=new l.nKC("mat-ripple-global-options");let ve=(()=>{class wn{get disabled(){return this._disabled}set disabled(fe){fe&&this.fadeOutAllNonPersistent(),this._disabled=fe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(fe){this._trigger=fe,this._setupTriggerEventsIfEnabled()}constructor(fe,le,ce,ie,Ye){this._elementRef=fe,this._animationMode=Ye,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ie||{},this._rippleRenderer=new oe(this,le,fe,ce)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(fe,le=0,ce){return"number"==typeof fe?this._rippleRenderer.fadeInRipple(fe,le,{...this.rippleConfig,...ce}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...fe})}static{this.\u0275fac=function(le){return new(le||wn)(l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(C.OD),l.rXU(je,8),l.rXU(l.bc$,8))}}static{this.\u0275dir=l.FsC({type:wn,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(le,ce){2&le&&l.AVh("mat-ripple-unbounded",ce.unbounded)},inputs:{color:[l.Mj6.None,"matRippleColor","color"],unbounded:[l.Mj6.None,"matRippleUnbounded","unbounded"],centered:[l.Mj6.None,"matRippleCentered","centered"],radius:[l.Mj6.None,"matRippleRadius","radius"],animation:[l.Mj6.None,"matRippleAnimation","animation"],disabled:[l.Mj6.None,"matRippleDisabled","disabled"],trigger:[l.Mj6.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return wn})(),De=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275mod=l.$C({type:wn})}static{this.\u0275inj=l.G2t({imports:[it,it]})}}return wn})(),Le=(()=>{class wn{constructor(fe){this._animationMode=fe,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(le){return new(le||wn)(l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:wn,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(le,ce){2&le&&l.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===ce.state)("mat-pseudo-checkbox-checked","checked"===ce.state)("mat-pseudo-checkbox-disabled",ce.disabled)("mat-pseudo-checkbox-minimal","minimal"===ce.appearance)("mat-pseudo-checkbox-full","full"===ce.appearance)("_mat-animation-noopable","NoopAnimations"===ce._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[l.aNF],decls:0,vars:0,template:function(le,ce){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return wn})(),Fn=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275mod=l.$C({type:wn})}static{this.\u0275inj=l.G2t({imports:[it]})}}return wn})();const Ln=new l.nKC("MAT_OPTION_PARENT_COMPONENT"),jn=new l.nKC("MatOptgroup");let ui=0;class li{constructor(Rn,fe=!1){this.source=Rn,this.isUserInput=fe}}let Jn=(()=>{class wn{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(fe){this._disabled=fe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(fe,le,ce,ie){this._element=fe,this._changeDetectorRef=le,this._parent=ce,this.group=ie,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ui++,this.onSelectionChange=new l.bkB,this._stateChanges=new f.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(fe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),fe&&this._emitSelectionChangeEvent())}deselect(fe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),fe&&this._emitSelectionChangeEvent())}focus(fe,le){const ce=this._getHostElement();"function"==typeof ce.focus&&ce.focus(le)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(fe){(fe.keyCode===h.Fm||fe.keyCode===h.t6)&&!(0,h.rp)(fe)&&(this._selectViaInteraction(),fe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const fe=this.viewValue;fe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=fe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(fe=!1){this.onSelectionChange.emit(new li(this,fe))}static{this.\u0275fac=function(le){return new(le||wn)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(Ln,8),l.rXU(jn,8))}}static{this.\u0275cmp=l.VBU({type:wn,selectors:[["mat-option"]],viewQuery:function(le,ce){if(1&le&&l.GBs(m,7),2&le){let ie;l.mGM(ie=l.lsd())&&(ce._text=ie.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(le,ce){1&le&&l.bIt("click",function(){return ce._selectViaInteraction()})("keydown",function(Ye){return ce._handleKeydown(Ye)}),2&le&&(l.Mr5("id",ce.id),l.BMQ("aria-selected",ce.selected)("aria-disabled",ce.disabled.toString()),l.AVh("mdc-list-item--selected",ce.selected)("mat-mdc-option-multiple",ce.multiple)("mat-mdc-option-active",ce.active)("mdc-list-item--disabled",ce.disabled))},inputs:{value:"value",id:"id",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[l.GFd,l.aNF],ngContentSelectors:M,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(le,ce){1&le&&(l.NAR(F),l.DNE(0,y,1,2,"mat-pseudo-checkbox",1),l.SdG(1),l.j41(2,"span",2,0),l.SdG(4,1),l.k0s(),l.DNE(5,T,1,1,"mat-pseudo-checkbox",3)(6,I,2,1,"span",4),l.nrm(7,"div",5)),2&le&&(l.vxM(0,ce.multiple?0:-1),l.R7$(5),l.vxM(5,ce.multiple||!ce.selected||ce.hideSingleSelectionIndicator?-1:5),l.R7$(),l.vxM(6,ce.group&&ce.group._inert?6:-1),l.R7$(),l.Y8G("matRippleTrigger",ce._getHostElement())("matRippleDisabled",ce.disabled||ce.disableRipple))},dependencies:[Le,ve],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return wn})();function Di(wn,Rn,fe){if(fe.length){let le=Rn.toArray(),ce=fe.toArray(),ie=0;for(let Ye=0;Yefe+le?Math.max(0,wn-le+Rn):fe}let Ii=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275mod=l.$C({type:wn})}static{this.\u0275inj=l.G2t({imports:[De,it,Fn]})}}return wn})();const We={capture:!0},pe=["focus","click","mouseenter","touchstart"],Te="mat-ripple-loader-uninitialized",Ht="mat-ripple-loader-class-name",te="mat-ripple-loader-centered",Oe="mat-ripple-loader-disabled";let nn=(()=>{class wn{constructor(){this._document=(0,l.WQX)(t.qQ,{optional:!0}),this._animationMode=(0,l.WQX)(l.bc$,{optional:!0}),this._globalRippleOptions=(0,l.WQX)(je,{optional:!0}),this._platform=(0,l.WQX)(C.OD),this._ngZone=(0,l.WQX)(l.SKi),this._hosts=new Map,this._onInteraction=fe=>{if(!(fe.target instanceof HTMLElement))return;const ce=fe.target.closest(`[${Te}]`);ce&&this._createRipple(ce)},this._ngZone.runOutsideAngular(()=>{for(const fe of pe)this._document?.addEventListener(fe,this._onInteraction,We)})}ngOnDestroy(){const fe=this._hosts.keys();for(const le of fe)this.destroyRipple(le);for(const le of pe)this._document?.removeEventListener(le,this._onInteraction,We)}configureRipple(fe,le){fe.setAttribute(Te,""),(le.className||!fe.hasAttribute(Ht))&&fe.setAttribute(Ht,le.className||""),le.centered&&fe.setAttribute(te,""),le.disabled&&fe.setAttribute(Oe,"")}getRipple(fe){return this._hosts.get(fe)||this._createRipple(fe)}setDisabled(fe,le){const ce=this._hosts.get(fe);ce?ce.disabled=le:le?fe.setAttribute(Oe,""):fe.removeAttribute(Oe)}_createRipple(fe){if(!this._document)return;const le=this._hosts.get(fe);if(le)return le;fe.querySelector(".mat-ripple")?.remove();const ce=this._document.createElement("span");ce.classList.add("mat-ripple",fe.getAttribute(Ht)),fe.append(ce);const ie=new ve(new l.aKT(ce),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return ie._isInitialized=!0,ie.trigger=fe,ie.centered=fe.hasAttribute(te),ie.disabled=fe.hasAttribute(Oe),this.attachRipple(fe,ie),ie}attachRipple(fe,le){fe.removeAttribute(Te),this._hosts.set(fe,le)}destroyRipple(fe){const le=this._hosts.get(fe);le&&(le.ngOnDestroy(),this._hosts.delete(fe))}static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275prov=l.jDH({token:wn,factory:wn.\u0275fac,providedIn:"root"})}}return wn})(),qn=(()=>{class wn{static{this.\u0275fac=function(le){return new(le||wn)}}static{this.\u0275cmp=l.VBU({type:wn,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(le,ce){2&le&&l.AVh("mdc-form-field--align-end","before"===ce.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[l.aNF],attrs:O,ngContentSelectors:S,decls:1,vars:0,template:function(le,ce){1&le&&(l.NAR(),l.SdG(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}}return wn})()},25084:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Vh:()=>fe,X6:()=>vn,bU:()=>ei,bZ:()=>bn});var l=D(18617),k=D(66969),A=D(76939),G=D(60177),t=D(54438),C=D(88834),g=D(65478),f=D(86600),h=D(21413),_=D(18359),p=D(57786),m=D(7673),F=D(67336),M=D(28203),y=D(36860),T=D(96697),I=D(99172),O=D(5964),S=D(14085),B=D(49969),P=D(89417),U=D(32102),z=D(59042);const nt=["mat-calendar-body",""];function it(Be,Dn){if(1&Be&&(t.j41(0,"tr",0)(1,"td",3),t.EFF(2),t.k0s()()),2&Be){const Vt=t.XpG();t.R7$(),t.xc7("padding-top",Vt._cellPadding)("padding-bottom",Vt._cellPadding),t.BMQ("colspan",Vt.numCols),t.R7$(),t.SpI(" ",Vt.label," ")}}function rt(Be,Dn){if(1&Be&&(t.j41(0,"td",3),t.EFF(1),t.k0s()),2&Be){const Vt=t.XpG(2);t.xc7("padding-top",Vt._cellPadding)("padding-bottom",Vt._cellPadding),t.BMQ("colspan",Vt._firstRowOffset),t.R7$(),t.SpI(" ",Vt._firstRowOffset>=Vt.labelMinRequiredCells?Vt.label:""," ")}}function mt(Be,Dn){if(1&Be){const Vt=t.RV6();t.j41(0,"td",6)(1,"button",7),t.bIt("click",function(Ce){const tn=t.eBV(Vt).$implicit,In=t.XpG(2);return t.Njj(In._cellClicked(tn,Ce))})("focus",function(Ce){const tn=t.eBV(Vt).$implicit,In=t.XpG(2);return t.Njj(In._emitActiveDateChange(tn,Ce))}),t.j41(2,"span",8),t.EFF(3),t.k0s(),t.nrm(4,"span",9),t.k0s()()}if(2&Be){const Vt=Dn.$implicit,Fe=Dn.$index,Ce=t.XpG().$index,tn=t.XpG();t.xc7("width",tn._cellWidth)("padding-top",tn._cellPadding)("padding-bottom",tn._cellPadding),t.BMQ("data-mat-row",Ce)("data-mat-col",Fe),t.R7$(),t.AVh("mat-calendar-body-disabled",!Vt.enabled)("mat-calendar-body-active",tn._isActiveCell(Ce,Fe))("mat-calendar-body-range-start",tn._isRangeStart(Vt.compareValue))("mat-calendar-body-range-end",tn._isRangeEnd(Vt.compareValue))("mat-calendar-body-in-range",tn._isInRange(Vt.compareValue))("mat-calendar-body-comparison-bridge-start",tn._isComparisonBridgeStart(Vt.compareValue,Ce,Fe))("mat-calendar-body-comparison-bridge-end",tn._isComparisonBridgeEnd(Vt.compareValue,Ce,Fe))("mat-calendar-body-comparison-start",tn._isComparisonStart(Vt.compareValue))("mat-calendar-body-comparison-end",tn._isComparisonEnd(Vt.compareValue))("mat-calendar-body-in-comparison-range",tn._isInComparisonRange(Vt.compareValue))("mat-calendar-body-preview-start",tn._isPreviewStart(Vt.compareValue))("mat-calendar-body-preview-end",tn._isPreviewEnd(Vt.compareValue))("mat-calendar-body-in-preview",tn._isInPreview(Vt.compareValue)),t.Y8G("ngClass",Vt.cssClasses)("tabindex",tn._isActiveCell(Ce,Fe)?0:-1),t.BMQ("aria-label",Vt.ariaLabel)("aria-disabled",!Vt.enabled||null)("aria-pressed",tn._isSelected(Vt.compareValue))("aria-current",tn.todayValue===Vt.compareValue?"date":null)("aria-describedby",tn._getDescribedby(Vt.compareValue)),t.R7$(),t.AVh("mat-calendar-body-selected",tn._isSelected(Vt.compareValue))("mat-calendar-body-comparison-identical",tn._isComparisonIdentical(Vt.compareValue))("mat-calendar-body-today",tn.todayValue===Vt.compareValue),t.R7$(),t.SpI(" ",Vt.displayValue," ")}}function lt(Be,Dn){if(1&Be&&(t.j41(0,"tr",1),t.DNE(1,rt,2,6,"td",4),t.Z7z(2,mt,5,48,"td",5,t.fX1),t.k0s()),2&Be){const Vt=Dn.$implicit,Fe=Dn.$index,Ce=t.XpG();t.R7$(),t.vxM(1,0===Fe&&Ce._firstRowOffset?1:-1),t.R7$(),t.Dyx(Vt)}}function ht(Be,Dn){if(1&Be&&(t.j41(0,"th",2)(1,"span",6),t.EFF(2),t.k0s(),t.j41(3,"span",3),t.EFF(4),t.k0s()()),2&Be){const Vt=Dn.$implicit;t.R7$(2),t.JRh(Vt.long),t.R7$(2),t.JRh(Vt.narrow)}}const yt=["*"];function wt(Be,Dn){}function Z(Be,Dn){if(1&Be){const Vt=t.RV6();t.j41(0,"mat-month-view",2),t.mxI("activeDateChange",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.DH7(tn.activeDate,Ce)||(tn.activeDate=Ce),t.Njj(Ce)}),t.bIt("_userSelection",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._dateSelected(Ce))})("dragStarted",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._dragStarted(Ce))})("dragEnded",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._dragEnded(Ce))}),t.k0s()}if(2&Be){const Vt=t.XpG();t.R50("activeDate",Vt.activeDate),t.Y8G("selected",Vt.selected)("dateFilter",Vt.dateFilter)("maxDate",Vt.maxDate)("minDate",Vt.minDate)("dateClass",Vt.dateClass)("comparisonStart",Vt.comparisonStart)("comparisonEnd",Vt.comparisonEnd)("startDateAccessibleName",Vt.startDateAccessibleName)("endDateAccessibleName",Vt.endDateAccessibleName)("activeDrag",Vt._activeDrag)}}function dt(Be,Dn){if(1&Be){const Vt=t.RV6();t.j41(0,"mat-year-view",3),t.mxI("activeDateChange",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.DH7(tn.activeDate,Ce)||(tn.activeDate=Ce),t.Njj(Ce)}),t.bIt("monthSelected",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._monthSelectedInYearView(Ce))})("selectedChange",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._goToDateInView(Ce,"month"))}),t.k0s()}if(2&Be){const Vt=t.XpG();t.R50("activeDate",Vt.activeDate),t.Y8G("selected",Vt.selected)("dateFilter",Vt.dateFilter)("maxDate",Vt.maxDate)("minDate",Vt.minDate)("dateClass",Vt.dateClass)}}function ft(Be,Dn){if(1&Be){const Vt=t.RV6();t.j41(0,"mat-multi-year-view",4),t.mxI("activeDateChange",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.DH7(tn.activeDate,Ce)||(tn.activeDate=Ce),t.Njj(Ce)}),t.bIt("yearSelected",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._yearSelectedInMultiYearView(Ce))})("selectedChange",function(Ce){t.eBV(Vt);const tn=t.XpG();return t.Njj(tn._goToDateInView(Ce,"year"))}),t.k0s()}if(2&Be){const Vt=t.XpG();t.R50("activeDate",Vt.activeDate),t.Y8G("selected",Vt.selected)("dateFilter",Vt.dateFilter)("maxDate",Vt.maxDate)("minDate",Vt.minDate)("dateClass",Vt.dateClass)}}function L(Be,Dn){}const Y=["button"],J=[[["","matDatepickerToggleIcon",""]]],H=["[matDatepickerToggleIcon]"];function K(Be,Dn){1&Be&&(t.qSk(),t.j41(0,"svg",2),t.nrm(1,"path",3),t.k0s())}let Dt=(()=>{class Be{constructor(){this.changes=new h.B,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Vt,Fe){return`${Vt} \u2013 ${Fe}`}formatYearRangeLabel(Vt,Fe){return`${Vt} to ${Fe}`}static{this.\u0275fac=function(Fe){return new(Fe||Be)}}static{this.\u0275prov=t.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"})}}return Be})();class gt{constructor(Dn,Vt,Fe,Ce,tn={},In=Dn,yi){this.value=Dn,this.displayValue=Vt,this.ariaLabel=Fe,this.enabled=Ce,this.cssClasses=tn,this.compareValue=In,this.rawValue=yi}}let Mt=1;const ot=(0,y.BQ)({passive:!1,capture:!0}),Q=(0,y.BQ)({passive:!0,capture:!0}),kt=(0,y.BQ)({passive:!0});let Xt=(()=>{class Be{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(Vt,Fe){this._elementRef=Vt,this._ngZone=Fe,this._platform=(0,t.WQX)(y.OD),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new t.bkB,this.previewChange=new t.bkB,this.activeDateChange=new t.bkB,this.dragStarted=new t.bkB,this.dragEnded=new t.bkB,this._didDragSinceMouseDown=!1,this._enterHandler=Ce=>{if(this._skipNextFocus&&"focus"===Ce.type)this._skipNextFocus=!1;else if(Ce.target&&this.isRange){const tn=this._getCellFromElement(Ce.target);tn&&this._ngZone.run(()=>this.previewChange.emit({value:tn.enabled?tn:null,event:Ce}))}},this._touchmoveHandler=Ce=>{if(!this.isRange)return;const tn=Jt(Ce),In=tn?this._getCellFromElement(tn):null;tn!==Ce.target&&(this._didDragSinceMouseDown=!0),Qt(Ce.target)&&Ce.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:In?.enabled?In:null,event:Ce}))},this._leaveHandler=Ce=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ce.type&&(this._didDragSinceMouseDown=!0),Ce.target&&this._getCellFromElement(Ce.target)&&(!Ce.relatedTarget||!this._getCellFromElement(Ce.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ce})))},this._mousedownHandler=Ce=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const tn=Ce.target&&this._getCellFromElement(Ce.target);!tn||!this._isInRange(tn.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:tn.rawValue,event:Ce})})},this._mouseupHandler=Ce=>{if(!this.isRange)return;const tn=Qt(Ce.target);tn?tn.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const In=this._getCellFromElement(tn);this.dragEnded.emit({value:In?.rawValue??null,event:Ce})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ce})})},this._touchendHandler=Ce=>{const tn=Jt(Ce);tn&&this._mouseupHandler({target:tn})},this._id="mat-calendar-body-"+Mt++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,Fe.runOutsideAngular(()=>{const Ce=Vt.nativeElement;Ce.addEventListener("touchmove",this._touchmoveHandler,ot),Ce.addEventListener("mouseenter",this._enterHandler,Q),Ce.addEventListener("focus",this._enterHandler,Q),Ce.addEventListener("mouseleave",this._leaveHandler,Q),Ce.addEventListener("blur",this._leaveHandler,Q),Ce.addEventListener("mousedown",this._mousedownHandler,kt),Ce.addEventListener("touchstart",this._mousedownHandler,kt),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(Vt,Fe){this._didDragSinceMouseDown||Vt.enabled&&this.selectedValueChange.emit({value:Vt.value,event:Fe})}_emitActiveDateChange(Vt,Fe){Vt.enabled&&this.activeDateChange.emit({value:Vt.value,event:Fe})}_isSelected(Vt){return this.startValue===Vt||this.endValue===Vt}ngOnChanges(Vt){const Fe=Vt.numCols,{rows:Ce,numCols:tn}=this;(Vt.rows||Fe)&&(this._firstRowOffset=Ce&&Ce.length&&Ce[0].length?tn-Ce[0].length:0),(Vt.cellAspectRatio||Fe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/tn+"%"),(Fe||!this._cellWidth)&&(this._cellWidth=100/tn+"%")}ngOnDestroy(){const Vt=this._elementRef.nativeElement;Vt.removeEventListener("touchmove",this._touchmoveHandler,ot),Vt.removeEventListener("mouseenter",this._enterHandler,Q),Vt.removeEventListener("focus",this._enterHandler,Q),Vt.removeEventListener("mouseleave",this._leaveHandler,Q),Vt.removeEventListener("blur",this._leaveHandler,Q),Vt.removeEventListener("mousedown",this._mousedownHandler,kt),Vt.removeEventListener("touchstart",this._mousedownHandler,kt),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(Vt,Fe){let Ce=Vt*this.numCols+Fe;return Vt&&(Ce-=this._firstRowOffset),Ce==this.activeCell}_focusActiveCell(Vt=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,T.s)(1)).subscribe(()=>{setTimeout(()=>{const Fe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Fe&&(Vt||(this._skipNextFocus=!0),Fe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Vt){return Bt(Vt,this.startValue,this.endValue)}_isRangeEnd(Vt){return St(Vt,this.startValue,this.endValue)}_isInRange(Vt){return Nt(Vt,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Vt){return Bt(Vt,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Vt,Fe,Ce){if(!this._isComparisonStart(Vt)||this._isRangeStart(Vt)||!this._isInRange(Vt))return!1;let tn=this.rows[Fe][Ce-1];if(!tn){const In=this.rows[Fe-1];tn=In&&In[In.length-1]}return tn&&!this._isRangeEnd(tn.compareValue)}_isComparisonBridgeEnd(Vt,Fe,Ce){if(!this._isComparisonEnd(Vt)||this._isRangeEnd(Vt)||!this._isInRange(Vt))return!1;let tn=this.rows[Fe][Ce+1];if(!tn){const In=this.rows[Fe+1];tn=In&&In[0]}return tn&&!this._isRangeStart(tn.compareValue)}_isComparisonEnd(Vt){return St(Vt,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Vt){return Nt(Vt,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Vt){return this.comparisonStart===this.comparisonEnd&&Vt===this.comparisonStart}_isPreviewStart(Vt){return Bt(Vt,this.previewStart,this.previewEnd)}_isPreviewEnd(Vt){return St(Vt,this.previewStart,this.previewEnd)}_isInPreview(Vt){return Nt(Vt,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Vt){return this.isRange?this.startValue===Vt&&this.endValue===Vt?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===Vt?this._startDateLabelId:this.endValue===Vt?this._endDateLabelId:null:null}_getCellFromElement(Vt){const Fe=Qt(Vt);if(Fe){const Ce=Fe.getAttribute("data-mat-row"),tn=Fe.getAttribute("data-mat-col");if(Ce&&tn)return this.rows[parseInt(Ce)][parseInt(tn)]}return null}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(t.aKT),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[t.OA$,t.aNF],attrs:nt,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(Fe,Ce){1&Fe&&(t.DNE(0,it,3,6,"tr",0),t.Z7z(1,lt,4,1,"tr",1,t.fX1),t.j41(3,"label",2),t.EFF(4),t.k0s(),t.j41(5,"label",2),t.EFF(6),t.k0s()),2&Fe&&(t.vxM(0,Ce._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0})}}return Be})();function Ie(Be){return"TD"===Be?.nodeName}function Qt(Be){let Dn;return Ie(Be)?Dn=Be:Ie(Be.parentNode)?Dn=Be.parentNode:Ie(Be.parentNode?.parentNode)&&(Dn=Be.parentNode.parentNode),null!=Dn?.getAttribute("data-mat-row")?Dn:null}function Bt(Be,Dn,Vt){return null!==Vt&&Dn!==Vt&&Be=Dn&&Be===Vt}function Nt(Be,Dn,Vt,Fe){return Fe&&null!==Dn&&null!==Vt&&Dn!==Vt&&Be>=Dn&&Be<=Vt}function Jt(Be){const Dn=Be.changedTouches[0];return document.elementFromPoint(Dn.clientX,Dn.clientY)}class se{constructor(Dn,Vt){this.start=Dn,this.end=Vt}}let be=(()=>{class Be{constructor(Vt,Fe){this.selection=Vt,this._adapter=Fe,this._selectionChanged=new h.B,this.selectionChanged=this._selectionChanged,this.selection=Vt}updateSelection(Vt,Fe){const Ce=this.selection;this.selection=Vt,this._selectionChanged.next({selection:Vt,source:Fe,oldValue:Ce})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Vt){return this._adapter.isDateInstance(Vt)&&this._adapter.isValid(Vt)}static{this.\u0275fac=function(Fe){t.QTQ()}}static{this.\u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}}return Be})(),Me=(()=>{class Be extends be{constructor(Vt){super(null,Vt)}add(Vt){super.updateSelection(Vt,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Vt=new Be(this._adapter);return Vt.updateSelection(this.selection,this),Vt}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.KVO(f.MJ))}}static{this.\u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}}return Be})();const oe={provide:be,deps:[[new t.Xx1,new t.kdw,be],f.MJ],useFactory:function Yt(Be,Dn){return Be||new Me(Dn)}},ve=new t.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Qn=(()=>{class Be{get activeDate(){return this._activeDate}set activeDate(Vt){const Fe=this._activeDate,Ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ce,this.minDate,this.maxDate),this._hasSameMonthAndYear(Fe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Vt){this._selected=Vt instanceof se?Vt:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Vt){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get maxDate(){return this._maxDate}set maxDate(Vt){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}constructor(Vt,Fe,Ce,tn,In){this._changeDetectorRef=Vt,this._dateFormats=Fe,this._dateAdapter=Ce,this._dir=tn,this._rangeStrategy=In,this._rerenderSubscription=_.yU.EMPTY,this.activeDrag=null,this.selectedChange=new t.bkB,this._userSelection=new t.bkB,this.dragStarted=new t.bkB,this.dragEnded=new t.bkB,this.activeDateChange=new t.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,I.Z)(null)).subscribe(()=>this._init())}ngOnChanges(Vt){const Fe=Vt.comparisonStart||Vt.comparisonEnd;Fe&&!Fe.firstChange&&this._setRanges(this.selected),Vt.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Vt){const Fe=Vt.value,Ce=this._getDateFromDayOfMonth(Fe);let tn,In;this._selected instanceof se?(tn=this._getDateInCurrentMonth(this._selected.start),In=this._getDateInCurrentMonth(this._selected.end)):tn=In=this._getDateInCurrentMonth(this._selected),(tn!==Fe||In!==Fe)&&this.selectedChange.emit(Ce),this._userSelection.emit({value:Ce,event:Vt.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Vt){const Ce=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Vt.value),this._dateAdapter.compareDate(Ce,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Vt){const Fe=this._activeDate,Ce=this._isRtl();switch(Vt.keyCode){case F.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ce?1:-1);break;case F.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ce?-1:1);break;case F.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case F.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case F.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case F.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case F.w_:this.activeDate=Vt.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case F.dB:this.activeDate=Vt.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case F.Fm:case F.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Vt.preventDefault());case F._f:return void(null!=this._previewEnd&&!(0,F.rp)(Vt)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Vt}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Vt})),Vt.preventDefault(),Vt.stopPropagation()));default:return}this._dateAdapter.compareDate(Fe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Vt.preventDefault()}_handleCalendarBodyKeyup(Vt){(Vt.keyCode===F.t6||Vt.keyCode===F.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Vt}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let Vt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Vt)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Vt){this._matCalendarBody._focusActiveCell(Vt)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Vt,value:Fe}){if(this._rangeStrategy){const Ce=Fe?Fe.rawValue:null,tn=this._rangeStrategy.createPreview(Ce,this.selected,Vt);if(this._previewStart=this._getCellCompareValue(tn.start),this._previewEnd=this._getCellCompareValue(tn.end),this.activeDrag&&Ce){const In=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ce,Vt);In&&(this._previewStart=this._getCellCompareValue(In.start),this._previewEnd=this._getCellCompareValue(In.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(Vt){if(this.activeDrag)if(Vt.value){const Fe=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Vt.value,Vt.event);this.dragEnded.emit({value:Fe??null,event:Vt.event})}else this.dragEnded.emit({value:null,event:Vt.event})}_getDateFromDayOfMonth(Vt){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Vt)}_initWeekdays(){const Vt=this._dateAdapter.getFirstDayOfWeek(),Fe=this._dateAdapter.getDayOfWeekNames("narrow");let tn=this._dateAdapter.getDayOfWeekNames("long").map((In,yi)=>({long:In,narrow:Fe[yi]}));this._weekdays=tn.slice(Vt).concat(tn.slice(0,Vt))}_createWeekCells(){const Vt=this._dateAdapter.getNumDaysInMonth(this.activeDate),Fe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ce=0,tn=this._firstWeekOffset;Ce=0)&&(!this.maxDate||this._dateAdapter.compareDate(Vt,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Vt))}_getDateInCurrentMonth(Vt){return Vt&&this._hasSameMonthAndYear(Vt,this.activeDate)?this._dateAdapter.getDate(Vt):null}_hasSameMonthAndYear(Vt,Fe){return!(!Vt||!Fe||this._dateAdapter.getMonth(Vt)!=this._dateAdapter.getMonth(Fe)||this._dateAdapter.getYear(Vt)!=this._dateAdapter.getYear(Fe))}_getCellCompareValue(Vt){if(Vt){const Fe=this._dateAdapter.getYear(Vt),Ce=this._dateAdapter.getMonth(Vt),tn=this._dateAdapter.getDate(Vt);return new Date(Fe,Ce,tn).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Vt){Vt instanceof se?(this._rangeStart=this._getCellCompareValue(Vt.start),this._rangeEnd=this._getCellCompareValue(Vt.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Vt),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Vt){return!this.dateFilter||this.dateFilter(Vt)}_clearPreview(){this._previewStart=this._previewEnd=null}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(t.gRc),t.rXU(f.de,8),t.rXU(f.MJ,8),t.rXU(M.dS,8),t.rXU(ve,8))}}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["mat-month-view"]],viewQuery:function(Fe,Ce){if(1&Fe&&t.GBs(Xt,5),2&Fe){let tn;t.mGM(tn=t.lsd())&&(Ce._matCalendarBody=tn.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[t.OA$,t.aNF],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(Fe,Ce){1&Fe&&(t.j41(0,"table",0)(1,"thead",1)(2,"tr"),t.Z7z(3,ht,5,2,"th",2,t.fX1),t.k0s(),t.j41(5,"tr",3),t.nrm(6,"th",4),t.k0s()(),t.j41(7,"tbody",5),t.bIt("selectedValueChange",function(In){return Ce._dateSelected(In)})("activeDateChange",function(In){return Ce._updateActiveDate(In)})("previewChange",function(In){return Ce._previewChanged(In)})("dragStarted",function(In){return Ce.dragStarted.emit(In)})("dragEnded",function(In){return Ce._dragEnded(In)})("keyup",function(In){return Ce._handleCalendarBodyKeyup(In)})("keydown",function(In){return Ce._handleCalendarBodyKeydown(In)}),t.k0s()()),2&Fe&&(t.R7$(3),t.Dyx(Ce._weekdays),t.R7$(4),t.Y8G("label",Ce._monthLabel)("rows",Ce._weeks)("todayValue",Ce._todayDate)("startValue",Ce._rangeStart)("endValue",Ce._rangeEnd)("comparisonStart",Ce._comparisonRangeStart)("comparisonEnd",Ce._comparisonRangeEnd)("previewStart",Ce._previewStart)("previewEnd",Ce._previewEnd)("isRange",Ce._isRange)("labelMinRequiredCells",3)("activeCell",Ce._dateAdapter.getDate(Ce.activeDate)-1)("startDateAccessibleName",Ce.startDateAccessibleName)("endDateAccessibleName",Ce.endDateAccessibleName))},dependencies:[Xt],encapsulation:2,changeDetection:0})}}return Be})();const jn=24;let ui=(()=>{class Be{get activeDate(){return this._activeDate}set activeDate(Vt){let Fe=this._activeDate;const Ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ce,this.minDate,this.maxDate),li(this._dateAdapter,Fe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Vt){this._selected=Vt instanceof se?Vt:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt)),this._setSelectedYear(Vt)}get minDate(){return this._minDate}set minDate(Vt){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get maxDate(){return this._maxDate}set maxDate(Vt){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}constructor(Vt,Fe,Ce){this._changeDetectorRef=Vt,this._dateAdapter=Fe,this._dir=Ce,this._rerenderSubscription=_.yU.EMPTY,this.selectedChange=new t.bkB,this.yearSelected=new t.bkB,this.activeDateChange=new t.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,I.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Fe=this._dateAdapter.getYear(this._activeDate)-Jn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ce=0,tn=[];Cethis._createCellForYear(In))),tn=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Vt){const Fe=Vt.value,Ce=this._dateAdapter.createDate(Fe,0,1),tn=this._getDateFromYear(Fe);this.yearSelected.emit(Ce),this.selectedChange.emit(tn)}_updateActiveDate(Vt){const Ce=this._activeDate;this.activeDate=this._getDateFromYear(Vt.value),this._dateAdapter.compareDate(Ce,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Vt){const Fe=this._activeDate,Ce=this._isRtl();switch(Vt.keyCode){case F.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ce?1:-1);break;case F.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ce?-1:1);break;case F.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case F.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case F.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Jn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case F.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,jn-Jn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case F.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Vt.altKey?10*-jn:-jn);break;case F.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Vt.altKey?10*jn:jn);break;case F.Fm:case F.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Fe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Vt.preventDefault()}_handleCalendarBodyKeyup(Vt){(Vt.keyCode===F.t6||Vt.keyCode===F.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Vt}),this._selectionKeyPressed=!1)}_getActiveCell(){return Jn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Vt){const Fe=this._dateAdapter.getMonth(this.activeDate),Ce=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Vt,Fe,1));return this._dateAdapter.createDate(Vt,Fe,Math.min(this._dateAdapter.getDate(this.activeDate),Ce))}_createCellForYear(Vt){const Fe=this._dateAdapter.createDate(Vt,0,1),Ce=this._dateAdapter.getYearName(Fe),tn=this.dateClass?this.dateClass(Fe,"multi-year"):void 0;return new gt(Vt,Ce,Ce,this._shouldEnableYear(Vt),tn)}_shouldEnableYear(Vt){if(null==Vt||this.maxDate&&Vt>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Vt{class Be{get activeDate(){return this._activeDate}set activeDate(Vt){let Fe=this._activeDate;const Ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ce,this.minDate,this.maxDate),this._dateAdapter.getYear(Fe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Vt){this._selected=Vt instanceof se?Vt:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt)),this._setSelectedMonth(Vt)}get minDate(){return this._minDate}set minDate(Vt){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get maxDate(){return this._maxDate}set maxDate(Vt){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}constructor(Vt,Fe,Ce,tn){this._changeDetectorRef=Vt,this._dateFormats=Fe,this._dateAdapter=Ce,this._dir=tn,this._rerenderSubscription=_.yU.EMPTY,this.selectedChange=new t.bkB,this.monthSelected=new t.bkB,this.activeDateChange=new t.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,I.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Vt){const Fe=Vt.value,Ce=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Fe,1);this.monthSelected.emit(Ce);const tn=this._getDateFromMonth(Fe);this.selectedChange.emit(tn)}_updateActiveDate(Vt){const Ce=this._activeDate;this.activeDate=this._getDateFromMonth(Vt.value),this._dateAdapter.compareDate(Ce,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Vt){const Fe=this._activeDate,Ce=this._isRtl();switch(Vt.keyCode){case F.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ce?1:-1);break;case F.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ce?-1:1);break;case F.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case F.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case F.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case F.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case F.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Vt.altKey?-10:-1);break;case F.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Vt.altKey?10:1);break;case F.Fm:case F.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Fe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Vt.preventDefault()}_handleCalendarBodyKeyup(Vt){(Vt.keyCode===F.t6||Vt.keyCode===F.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Vt}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Vt=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Fe=>Fe.map(Ce=>this._createCellForMonth(Ce,Vt[Ce]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Vt){return Vt&&this._dateAdapter.getYear(Vt)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Vt):null}_getDateFromMonth(Vt){const Fe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Vt,1),Ce=this._dateAdapter.getNumDaysInMonth(Fe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Vt,Math.min(this._dateAdapter.getDate(this.activeDate),Ce))}_createCellForMonth(Vt,Fe){const Ce=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Vt,1),tn=this._dateAdapter.format(Ce,this._dateFormats.display.monthYearA11yLabel),In=this.dateClass?this.dateClass(Ce,"year"):void 0;return new gt(Vt,Fe.toLocaleUpperCase(),tn,this._shouldEnableMonth(Vt),In)}_shouldEnableMonth(Vt){const Fe=this._dateAdapter.getYear(this.activeDate);if(null==Vt||this._isYearAndMonthAfterMaxDate(Fe,Vt)||this._isYearAndMonthBeforeMinDate(Fe,Vt))return!1;if(!this.dateFilter)return!0;for(let tn=this._dateAdapter.createDate(Fe,Vt,1);this._dateAdapter.getMonth(tn)==Vt;tn=this._dateAdapter.addCalendarDays(tn,1))if(this.dateFilter(tn))return!0;return!1}_isYearAndMonthAfterMaxDate(Vt,Fe){if(this.maxDate){const Ce=this._dateAdapter.getYear(this.maxDate),tn=this._dateAdapter.getMonth(this.maxDate);return Vt>Ce||Vt===Ce&&Fe>tn}return!1}_isYearAndMonthBeforeMinDate(Vt,Fe){if(this.minDate){const Ce=this._dateAdapter.getYear(this.minDate),tn=this._dateAdapter.getMonth(this.minDate);return Vt{class Be{constructor(Vt,Fe,Ce,tn,In){this._intl=Vt,this.calendar=Fe,this._dateAdapter=Ce,this._dateFormats=tn,this._id="mat-calendar-header-"+We++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>In.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-jn)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:jn)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(Vt,Fe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Vt)==this._dateAdapter.getYear(Fe)&&this._dateAdapter.getMonth(Vt)==this._dateAdapter.getMonth(Fe):"year"==this.calendar.currentView?this._dateAdapter.getYear(Vt)==this._dateAdapter.getYear(Fe):li(this._dateAdapter,Vt,Fe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const Fe=this._dateAdapter.getYear(this.calendar.activeDate)-Jn(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ce=Fe+jn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(Fe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ce,0,1))]}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(Dt),t.rXU((0,t.Rfq)(()=>Te)),t.rXU(f.MJ,8),t.rXU(f.de,8),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[t.aNF],ngContentSelectors:yt,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(Fe,Ce){1&Fe&&(t.NAR(),t.j41(0,"div",0)(1,"div",1)(2,"label",2),t.EFF(3),t.k0s(),t.j41(4,"button",3),t.bIt("click",function(){return Ce.currentPeriodClicked()}),t.j41(5,"span",4),t.EFF(6),t.k0s(),t.qSk(),t.j41(7,"svg",5),t.nrm(8,"polygon",6),t.k0s()(),t.joV(),t.nrm(9,"div",7),t.SdG(10),t.j41(11,"button",8),t.bIt("click",function(){return Ce.previousClicked()}),t.k0s(),t.j41(12,"button",9),t.bIt("click",function(){return Ce.nextClicked()}),t.k0s()()()),2&Fe&&(t.R7$(2),t.Y8G("id",Ce._periodButtonLabelId),t.R7$(),t.JRh(Ce.periodButtonDescription),t.R7$(),t.BMQ("aria-label",Ce.periodButtonLabel)("aria-describedby",Ce._periodButtonLabelId),t.R7$(2),t.JRh(Ce.periodButtonText),t.R7$(),t.AVh("mat-calendar-invert","month"!==Ce.calendar.currentView),t.R7$(4),t.Y8G("disabled",!Ce.previousEnabled()),t.BMQ("aria-label",Ce.prevButtonLabel),t.R7$(),t.Y8G("disabled",!Ce.nextEnabled()),t.BMQ("aria-label",Ce.nextButtonLabel))},dependencies:[C.$z,C.iY],encapsulation:2,changeDetection:0})}}return Be})(),Te=(()=>{class Be{get startAt(){return this._startAt}set startAt(Vt){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get selected(){return this._selected}set selected(Vt){this._selected=Vt instanceof se?Vt:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get minDate(){return this._minDate}set minDate(Vt){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get maxDate(){return this._maxDate}set maxDate(Vt){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get activeDate(){return this._clampedActiveDate}set activeDate(Vt){this._clampedActiveDate=this._dateAdapter.clampDate(Vt,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Vt){const Fe=this._currentView!==Vt?Vt:null;this._currentView=Vt,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Fe&&this.viewChanged.emit(Fe)}constructor(Vt,Fe,Ce,tn){this._dateAdapter=Fe,this._dateFormats=Ce,this._changeDetectorRef=tn,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new t.bkB,this.yearSelected=new t.bkB,this.monthSelected=new t.bkB,this.viewChanged=new t.bkB(!0),this._userSelection=new t.bkB,this._userDragDrop=new t.bkB,this._activeDrag=null,this.stateChanges=new h.B,this._intlChanges=Vt.changes.subscribe(()=>{tn.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new A.A8(this.headerComponent||pe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(Vt){const Fe=Vt.minDate&&!this._dateAdapter.sameDate(Vt.minDate.previousValue,Vt.minDate.currentValue)?Vt.minDate:void 0,Ce=Vt.maxDate&&!this._dateAdapter.sameDate(Vt.maxDate.previousValue,Vt.maxDate.currentValue)?Vt.maxDate:void 0,tn=Fe||Ce||Vt.dateFilter;if(tn&&!tn.firstChange){const In=this._getCurrentViewComponent();In&&(this._changeDetectorRef.detectChanges(),In._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Vt){const Fe=Vt.value;(this.selected instanceof se||Fe&&!this._dateAdapter.sameDate(Fe,this.selected))&&this.selectedChange.emit(Fe),this._userSelection.emit(Vt)}_yearSelectedInMultiYearView(Vt){this.yearSelected.emit(Vt)}_monthSelectedInYearView(Vt){this.monthSelected.emit(Vt)}_goToDateInView(Vt,Fe){this.activeDate=Vt,this.currentView=Fe}_dragStarted(Vt){this._activeDrag=Vt}_dragEnded(Vt){this._activeDrag&&(Vt.value&&this._userDragDrop.emit(Vt),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(Dt),t.rXU(f.MJ,8),t.rXU(f.de,8),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["mat-calendar"]],viewQuery:function(Fe,Ce){if(1&Fe&&(t.GBs(Qn,5),t.GBs(Ii,5),t.GBs(ui,5)),2&Fe){let tn;t.mGM(tn=t.lsd())&&(Ce.monthView=tn.first),t.mGM(tn=t.lsd())&&(Ce.yearView=tn.first),t.mGM(tn=t.lsd())&&(Ce.multiYearView=tn.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[t.Jv_([oe]),t.OA$,t.aNF],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(Fe,Ce){if(1&Fe&&(t.DNE(0,wt,0,0,"ng-template",0),t.j41(1,"div",1),t.DNE(2,Z,1,11)(3,dt,1,6)(4,ft,1,6),t.k0s()),2&Fe){let tn;t.Y8G("cdkPortalOutlet",Ce._calendarHeaderPortal),t.R7$(2),t.vxM(2,"month"===(tn=Ce.currentView)?2:"year"===tn?3:"multi-year"===tn?4:-1)}},dependencies:[A.I3,l.vR,Qn,Ii,ui],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return Be})();const Ht={transformPanel:(0,B.hZ)("transformPanel",[(0,B.kY)("void => enter-dropdown",(0,B.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,B.i7)([(0,B.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,B.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,B.kY)("void => enter-dialog",(0,B.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,B.i7)([(0,B.iF)({opacity:0,transform:"scale(0.7)"}),(0,B.iF)({transform:"none",opacity:1})]))),(0,B.kY)("* => void",(0,B.i0)("100ms linear",(0,B.iF)({opacity:0})))]),fadeInCalendar:(0,B.hZ)("fadeInCalendar",[(0,B.wk)("void",(0,B.iF)({opacity:0})),(0,B.wk)("enter",(0,B.iF)({opacity:1})),(0,B.kY)("void => *",(0,B.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let te=0;const Oe=new t.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Be=(0,t.WQX)(k.hJ);return()=>Be.scrollStrategies.reposition()}}),qn={provide:Oe,deps:[k.hJ],useFactory:function nn(Be){return()=>Be.scrollStrategies.reposition()}};let wn=(()=>{class Be{constructor(Vt,Fe,Ce,tn,In,yi){this._elementRef=Vt,this._changeDetectorRef=Fe,this._globalModel=Ce,this._dateAdapter=tn,this._rangeSelectionStrategy=In,this._subscriptions=new _.yU,this._animationDone=new h.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=yi.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Vt){const Fe=this._model.selection,Ce=Vt.value,tn=Fe instanceof se;if(tn&&this._rangeSelectionStrategy){const In=this._rangeSelectionStrategy.selectionFinished(Ce,Fe,Vt.event);this._model.updateSelection(In,this)}else Ce&&(tn||!this._dateAdapter.sameDate(Ce,Fe))&&this._model.add(Ce);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Vt){this._model.updateSelection(Vt.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(Vt){this._isAnimating="start"===Vt.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Vt,Fe){this._model=Vt?this._globalModel.clone():this._globalModel,this._actionsPortal=Vt,Fe&&this._changeDetectorRef.detectChanges()}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(be),t.rXU(f.MJ),t.rXU(ve,8),t.rXU(Dt))}}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["mat-datepicker-content"]],viewQuery:function(Fe,Ce){if(1&Fe&&t.GBs(Te,5),2&Fe){let tn;t.mGM(tn=t.lsd())&&(Ce._calendar=tn.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(Fe,Ce){1&Fe&&t.Kam("@transformPanel.start",function(In){return Ce._handleAnimationEvent(In)})("@transformPanel.done",function(In){return Ce._handleAnimationEvent(In)}),2&Fe&&(t.zvX("@transformPanel",Ce._animationState),t.HbH(Ce.color?"mat-"+Ce.color:""),t.AVh("mat-datepicker-content-touch",Ce.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[t.aNF],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(Fe,Ce){if(1&Fe&&(t.j41(0,"div",0)(1,"mat-calendar",1),t.bIt("yearSelected",function(In){return Ce.datepicker._selectYear(In)})("monthSelected",function(In){return Ce.datepicker._selectMonth(In)})("viewChanged",function(In){return Ce.datepicker._viewChanged(In)})("_userSelection",function(In){return Ce._handleUserSelection(In)})("_userDragDrop",function(In){return Ce._handleUserDragDrop(In)}),t.k0s(),t.DNE(2,L,0,0,"ng-template",2),t.j41(3,"button",3),t.bIt("focus",function(){return Ce._closeButtonFocused=!0})("blur",function(){return Ce._closeButtonFocused=!1})("click",function(){return Ce.datepicker.close()}),t.EFF(4),t.k0s()()),2&Fe){let tn;t.AVh("mat-datepicker-content-container-with-custom-header",Ce.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ce._actionsPortal),t.BMQ("aria-modal",!0)("aria-labelledby",null!==(tn=Ce._dialogLabelId)&&void 0!==tn?tn:void 0),t.R7$(),t.HbH(Ce.datepicker.panelClass),t.Y8G("id",Ce.datepicker.id)("startAt",Ce.datepicker.startAt)("startView",Ce.datepicker.startView)("minDate",Ce.datepicker._getMinDate())("maxDate",Ce.datepicker._getMaxDate())("dateFilter",Ce.datepicker._getDateFilter())("headerComponent",Ce.datepicker.calendarHeaderComponent)("selected",Ce._getSelected())("dateClass",Ce.datepicker.dateClass)("comparisonStart",Ce.comparisonStart)("comparisonEnd",Ce.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Ce.startDateAccessibleName)("endDateAccessibleName",Ce.endDateAccessibleName),t.R7$(),t.Y8G("cdkPortalOutlet",Ce._actionsPortal),t.R7$(),t.AVh("cdk-visually-hidden",!Ce._closeButtonFocused),t.Y8G("color",Ce.color||"primary"),t.R7$(),t.JRh(Ce._closeButtonText)}},dependencies:[l.kB,Te,A.I3,C.$z],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Ht.transformPanel,Ht.fadeInCalendar]},changeDetection:0})}}return Be})(),Rn=(()=>{class Be{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Vt){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Vt){this._color=Vt}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Vt){Vt!==this._disabled&&(this._disabled=Vt,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(Vt){this._panelClass=(0,S.cc)(Vt)}get opened(){return this._opened}set opened(Vt){Vt?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(Vt,Fe,Ce,tn,In,yi,Mo){this._overlay=Vt,this._ngZone=Fe,this._viewContainerRef=Ce,this._dateAdapter=In,this._dir=yi,this._model=Mo,this._inputStateChanges=_.yU.EMPTY,this._document=(0,t.WQX)(G.qQ),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new t.bkB,this.monthSelected=new t.bkB,this.viewChanged=new t.bkB(!0),this.openedStream=new t.bkB,this.closedStream=new t.bkB,this._opened=!1,this.id="mat-datepicker-"+te++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.B,this._scrollStrategy=tn}ngOnChanges(Vt){const Fe=Vt.xPosition||Vt.yPosition;if(Fe&&!Fe.firstChange&&this._overlayRef){const Ce=this._overlayRef.getConfig().positionStrategy;Ce instanceof k.rW&&(this._setConnectedPositions(Ce),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Vt){this._model.add(Vt)}_selectYear(Vt){this.yearSelected.emit(Vt)}_selectMonth(Vt){this.monthSelected.emit(Vt)}_viewChanged(Vt){this.viewChanged.emit(Vt)}registerInput(Vt){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Vt,this._inputStateChanges=Vt.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Vt){this._actionsPortal=Vt,this._componentRef?.instance._assignActions(Vt,!0)}removeActions(Vt){Vt===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,y.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Vt=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,Fe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ce,location:tn}=this._componentRef;Ce._startExitAnimation(),Ce._animationDone.pipe((0,T.s)(1)).subscribe(()=>{const In=this._document.activeElement;Vt&&(!In||In===this._document.activeElement||tn.nativeElement.contains(In))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Vt?setTimeout(Fe):Fe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Vt){Vt.datepicker=this,Vt.color=this.color,Vt._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Vt._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Vt=this.touchUi,Fe=new A.A8(wn,this._viewContainerRef),Ce=this._overlayRef=this._overlay.create(new k.rR({positionStrategy:Vt?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Vt?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Vt?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Vt?"dialog":"popup")}));this._getCloseStream(Ce).subscribe(tn=>{tn&&tn.preventDefault(),this.close()}),Ce.keydownEvents().subscribe(tn=>{const In=tn.keyCode;(In===F.i7||In===F.n6||In===F.UQ||In===F.LE||In===F.w_||In===F.dB)&&tn.preventDefault()}),this._componentRef=Ce.attach(Fe),this._forwardContentValues(this._componentRef.instance),Vt||this._ngZone.onStable.pipe((0,T.s)(1)).subscribe(()=>Ce.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Vt=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Vt)}_setConnectedPositions(Vt){const Fe="end"===this.xPosition?"end":"start",Ce="start"===Fe?"end":"start",tn="above"===this.yPosition?"bottom":"top",In="top"===tn?"bottom":"top";return Vt.withPositions([{originX:Fe,originY:In,overlayX:Fe,overlayY:tn},{originX:Fe,originY:tn,overlayX:Fe,overlayY:In},{originX:Ce,originY:In,overlayX:Ce,overlayY:tn},{originX:Ce,originY:tn,overlayX:Ce,overlayY:In}])}_getCloseStream(Vt){const Fe=["ctrlKey","shiftKey","metaKey"];return(0,p.h)(Vt.backdropClick(),Vt.detachments(),Vt.keydownEvents().pipe((0,O.p)(Ce=>Ce.keyCode===F._f&&!(0,F.rp)(Ce)||this.datepickerInput&&(0,F.rp)(Ce,"altKey")&&Ce.keyCode===F.i7&&Fe.every(tn=>!(0,F.rp)(Ce,tn)))))}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(k.hJ),t.rXU(t.SKi),t.rXU(t.c1b),t.rXU(Oe),t.rXU(f.MJ,8),t.rXU(M.dS,8),t.rXU(be))}}static{this.\u0275dir=t.FsC({type:Be,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[t.Mj6.HasDecoratorInputTransform,"touchUi","touchUi",t.L39],disabled:[t.Mj6.HasDecoratorInputTransform,"disabled","disabled",t.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[t.Mj6.HasDecoratorInputTransform,"restoreFocus","restoreFocus",t.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[t.Mj6.HasDecoratorInputTransform,"opened","opened",t.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[t.GFd,t.OA$]})}}return Be})(),fe=(()=>{class Be extends Rn{static{this.\u0275fac=(()=>{let Vt;return function(Ce){return(Vt||(Vt=t.xGo(Be)))(Ce||Be)}})()}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[t.Jv_([oe,{provide:Rn,useExisting:Be}]),t.Vt3,t.aNF],decls:0,vars:0,template:function(Fe,Ce){},encapsulation:2,changeDetection:0})}}return Be})();class le{constructor(Dn,Vt){this.target=Dn,this.targetElement=Vt,this.value=this.target.value}}let ce=(()=>{class Be{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Vt){this._assignValueProgrammatically(Vt)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Vt){const Fe=Vt,Ce=this._elementRef.nativeElement;this._disabled!==Fe&&(this._disabled=Fe,this.stateChanges.next(void 0)),Fe&&this._isInitialized&&Ce.blur&&Ce.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Vt){this._model=Vt,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Fe=>{if(this._shouldHandleChangeEvent(Fe)){const Ce=this._getValueFromModel(Fe.selection);this._lastValueValid=this._isValidValue(Ce),this._cvaOnChange(Ce),this._onTouched(),this._formatValue(Ce),this.dateInput.emit(new le(this,this._elementRef.nativeElement)),this.dateChange.emit(new le(this,this._elementRef.nativeElement))}})}constructor(Vt,Fe,Ce){this._elementRef=Vt,this._dateAdapter=Fe,this._dateFormats=Ce,this.dateChange=new t.bkB,this.dateInput=new t.bkB,this.stateChanges=new h.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_.yU.EMPTY,this._localeSubscription=_.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=tn=>{const In=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tn.value));return!In||this._matchesFilter(In)?null:{matDatepickerFilter:!0}},this._minValidator=tn=>{const In=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tn.value)),yi=this._getMinDate();return!yi||!In||this._dateAdapter.compareDate(yi,In)<=0?null:{matDatepickerMin:{min:yi,actual:In}}},this._maxValidator=tn=>{const In=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tn.value)),yi=this._getMaxDate();return!yi||!In||this._dateAdapter.compareDate(yi,In)>=0?null:{matDatepickerMax:{max:yi,actual:In}}},this._lastValueValid=!1,this._localeSubscription=Fe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Vt){(function ie(Be,Dn){const Vt=Object.keys(Be);for(let Fe of Vt){const{previousValue:Ce,currentValue:tn}=Be[Fe];if(!Dn.isDateInstance(Ce)||!Dn.isDateInstance(tn))return!0;if(!Dn.sameDate(Ce,tn))return!0}return!1})(Vt,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Vt){this._validatorOnChange=Vt}validate(Vt){return this._validator?this._validator(Vt):null}writeValue(Vt){this._assignValueProgrammatically(Vt)}registerOnChange(Vt){this._cvaOnChange=Vt}registerOnTouched(Vt){this._onTouched=Vt}setDisabledState(Vt){this.disabled=Vt}_onKeydown(Vt){(0,F.rp)(Vt,"altKey")&&Vt.keyCode===F.n6&&["ctrlKey","shiftKey","metaKey"].every(tn=>!(0,F.rp)(Vt,tn))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Vt.preventDefault())}_onInput(Vt){const Fe=this._lastValueValid;let Ce=this._dateAdapter.parse(Vt,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ce),Ce=this._dateAdapter.getValidDateOrNull(Ce);const tn=!this._dateAdapter.sameDate(Ce,this.value);!Ce||tn?this._cvaOnChange(Ce):(Vt&&!this.value&&this._cvaOnChange(Ce),Fe!==this._lastValueValid&&this._validatorOnChange()),tn&&(this._assignValue(Ce),this.dateInput.emit(new le(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new le(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Vt){this._elementRef.nativeElement.value=null!=Vt?this._dateAdapter.format(Vt,this._dateFormats.display.dateInput):""}_assignValue(Vt){this._model?(this._assignValueToModel(Vt),this._pendingValue=null):this._pendingValue=Vt}_isValidValue(Vt){return!Vt||this._dateAdapter.isValid(Vt)}_parentDisabled(){return!1}_assignValueProgrammatically(Vt){Vt=this._dateAdapter.deserialize(Vt),this._lastValueValid=this._isValidValue(Vt),Vt=this._dateAdapter.getValidDateOrNull(Vt),this._assignValue(Vt),this._formatValue(Vt)}_matchesFilter(Vt){const Fe=this._getDateFilter();return!Fe||Fe(Vt)}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(t.aKT),t.rXU(f.MJ,8),t.rXU(f.de,8))}}static{this.\u0275dir=t.FsC({type:Be,inputs:{value:"value",disabled:[t.Mj6.HasDecoratorInputTransform,"disabled","disabled",t.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[t.GFd,t.OA$]})}}return Be})();const Ye={provide:P.kq,useExisting:(0,t.Rfq)(()=>bn),multi:!0},ln={provide:P.cz,useExisting:(0,t.Rfq)(()=>bn),multi:!0};let bn=(()=>{class Be extends ce{set matDatepicker(Vt){Vt&&(this._datepicker=Vt,this._closedSubscription=Vt.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Vt.registerInput(this)))}get min(){return this._min}set min(Vt){const Fe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt));this._dateAdapter.sameDate(Fe,this._min)||(this._min=Fe,this._validatorOnChange())}get max(){return this._max}set max(Vt){const Fe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Vt));this._dateAdapter.sameDate(Fe,this._max)||(this._max=Fe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Vt){const Fe=this._matchesFilter(this.value);this._dateFilter=Vt,this._matchesFilter(this.value)!==Fe&&this._validatorOnChange()}constructor(Vt,Fe,Ce,tn){super(Vt,Fe,Ce),this._formField=tn,this._closedSubscription=_.yU.EMPTY,this._validator=P.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Vt){return Vt}_assignValueToModel(Vt){this._model&&this._model.updateSelection(Vt,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Vt){return Vt.source!==this}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(t.aKT),t.rXU(f.MJ,8),t.rXU(f.de,8),t.rXU(U.xb,8))}}static{this.\u0275dir=t.FsC({type:Be,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(Fe,Ce){1&Fe&&t.bIt("input",function(In){return Ce._onInput(In.target.value)})("change",function(){return Ce._onChange()})("blur",function(){return Ce._onBlur()})("keydown",function(In){return Ce._onKeydown(In)}),2&Fe&&(t.Mr5("disabled",Ce.disabled),t.BMQ("aria-haspopup",Ce._datepicker?"dialog":null)("aria-owns",(null==Ce._datepicker?null:Ce._datepicker.opened)&&Ce._datepicker.id||null)("min",Ce.min?Ce._dateAdapter.toIso8601(Ce.min):null)("max",Ce.max?Ce._dateAdapter.toIso8601(Ce.max):null)("data-mat-calendar",Ce._datepicker?Ce._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[t.Mj6.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[t.Jv_([Ye,ln,{provide:z.Oh,useExisting:Be}]),t.Vt3]})}}return Be})(),si=(()=>{class Be{static{this.\u0275fac=function(Fe){return new(Fe||Be)}}static{this.\u0275dir=t.FsC({type:Be,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}}return Be})(),ei=(()=>{class Be{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Vt){this._disabled=Vt}constructor(Vt,Fe,Ce){this._intl=Vt,this._changeDetectorRef=Fe,this._stateChanges=_.yU.EMPTY;const tn=Number(Ce);this.tabIndex=tn||0===tn?tn:null}ngOnChanges(Vt){Vt.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Vt){this.datepicker&&!this.disabled&&(this.datepicker.open(),Vt.stopPropagation())}_watchStateChanges(){const Vt=this.datepicker?this.datepicker.stateChanges:(0,m.of)(),Fe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,m.of)(),Ce=this.datepicker?(0,p.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,m.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,p.h)(this._intl.changes,Vt,Fe,Ce).subscribe(()=>this._changeDetectorRef.markForCheck())}static{this.\u0275fac=function(Fe){return new(Fe||Be)(t.rXU(Dt),t.rXU(t.gRc),t.kS0("tabindex"))}}static{this.\u0275cmp=t.VBU({type:Be,selectors:[["mat-datepicker-toggle"]],contentQueries:function(Fe,Ce,tn){if(1&Fe&&t.wni(tn,si,5),2&Fe){let In;t.mGM(In=t.lsd())&&(Ce._customIcon=In.first)}},viewQuery:function(Fe,Ce){if(1&Fe&&t.GBs(Y,5),2&Fe){let tn;t.mGM(tn=t.lsd())&&(Ce._button=tn.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(Fe,Ce){1&Fe&&t.bIt("click",function(In){return Ce._open(In)}),2&Fe&&(t.BMQ("tabindex",null)("data-mat-calendar",Ce.datepicker?Ce.datepicker.id:null),t.AVh("mat-datepicker-toggle-active",Ce.datepicker&&Ce.datepicker.opened)("mat-accent",Ce.datepicker&&"accent"===Ce.datepicker.color)("mat-warn",Ce.datepicker&&"warn"===Ce.datepicker.color))},inputs:{datepicker:[t.Mj6.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[t.Mj6.None,"aria-label","ariaLabel"],disabled:[t.Mj6.HasDecoratorInputTransform,"disabled","disabled",t.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[t.GFd,t.OA$,t.aNF],ngContentSelectors:H,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(Fe,Ce){1&Fe&&(t.NAR(J),t.j41(0,"button",1,0),t.DNE(2,K,2,0,":svg:svg",2),t.SdG(3),t.k0s()),2&Fe&&(t.Y8G("disabled",Ce.disabled)("disableRipple",Ce.disableRipple),t.BMQ("aria-haspopup",Ce.datepicker?"dialog":null)("aria-label",Ce.ariaLabel||Ce._intl.openCalendarLabel)("tabindex",Ce.disabled?-1:Ce.tabIndex),t.R7$(2),t.vxM(2,Ce._customIcon?-1:2))},dependencies:[C.iY],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}}return Be})(),vn=(()=>{class Be{static{this.\u0275fac=function(Fe){return new(Fe||Be)}}static{this.\u0275mod=t.$C({type:Be})}static{this.\u0275inj=t.G2t({providers:[Dt,qn],imports:[G.MD,C.Hl,k.z_,l.Pd,A.jc,f.yE,wn,ei,pe,g.Gj]})}}return Be})()},75351:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Vh:()=>Mt,bZ:()=>Qt,E7:()=>be,tx:()=>St,Yi:()=>se,hM:()=>Yt,CP:()=>Dt,BI:()=>Jt});var l=D(66969),k=D(60177),A=D(54438),G=D(18617),t=D(36860),C=D(76939),g=D(67336),f=D(21413),h=D(59030),_=D(7673),p=D(28203),m=D(99172);function F(je,ve){}class M{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let T=(()=>{class je extends C.lb{constructor(De,Le,Fn,Ln,Qn,jn,mi,ui){super(),this._elementRef=De,this._focusTrapFactory=Le,this._config=Ln,this._interactivityChecker=Qn,this._ngZone=jn,this._overlayRef=mi,this._focusMonitor=ui,this._platform=(0,A.WQX)(t.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,A.WQX)(A.gRc),this.attachDomPortal=li=>{this._portalOutlet.hasAttached();const Jn=this._portalOutlet.attachDomPortal(li);return this._contentAttached(),Jn},this._document=Fn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(De){this._ariaLabelledByQueue.push(De),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(De){const Le=this._ariaLabelledByQueue.indexOf(De);Le>-1&&(this._ariaLabelledByQueue.splice(Le,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(De){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachComponentPortal(De);return this._contentAttached(),Le}attachTemplatePortal(De){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachTemplatePortal(De);return this._contentAttached(),Le}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(De,Le){this._interactivityChecker.isFocusable(De)||(De.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Fn=()=>{De.removeEventListener("blur",Fn),De.removeEventListener("mousedown",Fn),De.removeAttribute("tabindex")};De.addEventListener("blur",Fn),De.addEventListener("mousedown",Fn)})),De.focus(Le)}_focusByCssSelector(De,Le){let Fn=this._elementRef.nativeElement.querySelector(De);Fn&&this._forceFocus(Fn,Le)}_trapFocus(){const De=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||De.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(Le=>{Le||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 De=this._config.restoreFocus;let Le=null;if("string"==typeof De?Le=this._document.querySelector(De):"boolean"==typeof De?Le=De?this._elementFocusedBeforeDialogWasOpened:null:De&&(Le=De),this._config.restoreFocus&&Le&&"function"==typeof Le.focus){const Fn=(0,t.vc)(),Ln=this._elementRef.nativeElement;(!Fn||Fn===this._document.body||Fn===Ln||Ln.contains(Fn))&&(this._focusMonitor?(this._focusMonitor.focusVia(Le,this._closeInteractionType),this._closeInteractionType=null):Le.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const De=this._elementRef.nativeElement,Le=(0,t.vc)();return De===Le||De.contains(Le)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,t.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(Le){return new(Le||je)(A.rXU(A.aKT),A.rXU(G.GX),A.rXU(k.qQ,8),A.rXU(M),A.rXU(G.Z7),A.rXU(A.SKi),A.rXU(l.yY),A.rXU(G.FN))}}static{this.\u0275cmp=A.VBU({type:je,selectors:[["cdk-dialog-container"]],viewQuery:function(Le,Fn){if(1&Le&&A.GBs(C.I3,7),2&Le){let Ln;A.mGM(Ln=A.lsd())&&(Fn._portalOutlet=Ln.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Le,Fn){2&Le&&A.BMQ("id",Fn._config.id||null)("role",Fn._config.role)("aria-modal",Fn._config.ariaModal)("aria-labelledby",Fn._config.ariaLabel?null:Fn._ariaLabelledByQueue[0])("aria-label",Fn._config.ariaLabel)("aria-describedby",Fn._config.ariaDescribedBy||null)},standalone:!0,features:[A.Vt3,A.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Le,Fn){1&Le&&A.DNE(0,F,0,0,"ng-template",0)},dependencies:[C.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return je})();class I{constructor(ve,De){this.overlayRef=ve,this.config=De,this.closed=new f.B,this.disableClose=De.disableClose,this.backdropClick=ve.backdropClick(),this.keydownEvents=ve.keydownEvents(),this.outsidePointerEvents=ve.outsidePointerEvents(),this.id=De.id,this.keydownEvents.subscribe(Le=>{Le.keyCode===g._f&&!this.disableClose&&!(0,g.rp)(Le)&&(Le.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=ve.detachments().subscribe(()=>{!1!==De.closeOnOverlayDetachments&&this.close()})}close(ve,De){if(this.containerInstance){const Le=this.closed;this.containerInstance._closeInteractionType=De?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Le.next(ve),Le.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ve="",De=""){return this.overlayRef.updateSize({width:ve,height:De}),this}addPanelClass(ve){return this.overlayRef.addPanelClass(ve),this}removePanelClass(ve){return this.overlayRef.removePanelClass(ve),this}}const O=new A.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const je=(0,A.WQX)(l.hJ);return()=>je.scrollStrategies.block()}}),S=new A.nKC("DialogData"),B=new A.nKC("DefaultDialogConfig");let z=0,nt=(()=>{class je{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(De,Le,Fn,Ln,Qn,jn){this._overlay=De,this._injector=Le,this._defaultOptions=Fn,this._parentDialog=Ln,this._overlayContainer=Qn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new f.B,this._afterOpenedAtThisLevel=new f.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,h.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,m.Z)(void 0))),this._scrollStrategy=jn}open(De,Le){(Le={...this._defaultOptions||new M,...Le}).id=Le.id||"cdk-dialog-"+z++,Le.id&&this.getDialogById(Le.id);const Ln=this._getOverlayConfig(Le),Qn=this._overlay.create(Ln),jn=new I(Qn,Le),mi=this._attachContainer(Qn,jn,Le);return jn.containerInstance=mi,this._attachDialogContent(De,jn,mi,Le),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(jn),jn.closed.subscribe(()=>this._removeOpenDialog(jn,!0)),this.afterOpened.next(jn),jn}closeAll(){it(this.openDialogs,De=>De.close())}getDialogById(De){return this.openDialogs.find(Le=>Le.id===De)}ngOnDestroy(){it(this._openDialogsAtThisLevel,De=>{!1===De.config.closeOnDestroy&&this._removeOpenDialog(De,!1)}),it(this._openDialogsAtThisLevel,De=>De.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(De){const Le=new l.rR({positionStrategy:De.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:De.scrollStrategy||this._scrollStrategy(),panelClass:De.panelClass,hasBackdrop:De.hasBackdrop,direction:De.direction,minWidth:De.minWidth,minHeight:De.minHeight,maxWidth:De.maxWidth,maxHeight:De.maxHeight,width:De.width,height:De.height,disposeOnNavigation:De.closeOnNavigation});return De.backdropClass&&(Le.backdropClass=De.backdropClass),Le}_attachContainer(De,Le,Fn){const Ln=Fn.injector||Fn.viewContainerRef?.injector,Qn=[{provide:M,useValue:Fn},{provide:I,useValue:Le},{provide:l.yY,useValue:De}];let jn;Fn.container?"function"==typeof Fn.container?jn=Fn.container:(jn=Fn.container.type,Qn.push(...Fn.container.providers(Fn))):jn=T;const mi=new C.A8(jn,Fn.viewContainerRef,A.zZn.create({parent:Ln||this._injector,providers:Qn}),Fn.componentFactoryResolver);return De.attach(mi).instance}_attachDialogContent(De,Le,Fn,Ln){if(De instanceof A.C4Q){const Qn=this._createInjector(Ln,Le,Fn,void 0);let jn={$implicit:Ln.data,dialogRef:Le};Ln.templateContext&&(jn={...jn,..."function"==typeof Ln.templateContext?Ln.templateContext():Ln.templateContext}),Fn.attachTemplatePortal(new C.VA(De,null,jn,Qn))}else{const Qn=this._createInjector(Ln,Le,Fn,this._injector),jn=Fn.attachComponentPortal(new C.A8(De,Ln.viewContainerRef,Qn,Ln.componentFactoryResolver));Le.componentRef=jn,Le.componentInstance=jn.instance}}_createInjector(De,Le,Fn,Ln){const Qn=De.injector||De.viewContainerRef?.injector,jn=[{provide:S,useValue:De.data},{provide:I,useValue:Le}];return De.providers&&("function"==typeof De.providers?jn.push(...De.providers(Le,De,Fn)):jn.push(...De.providers)),De.direction&&(!Qn||!Qn.get(p.dS,null,{optional:!0}))&&jn.push({provide:p.dS,useValue:{value:De.direction,change:(0,_.of)()}}),A.zZn.create({parent:Qn||Ln,providers:jn})}_removeOpenDialog(De,Le){const Fn=this.openDialogs.indexOf(De);Fn>-1&&(this.openDialogs.splice(Fn,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Ln,Qn)=>{Ln?Qn.setAttribute("aria-hidden",Ln):Qn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Le&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const De=this._overlayContainer.getContainerElement();if(De.parentElement){const Le=De.parentElement.children;for(let Fn=Le.length-1;Fn>-1;Fn--){const Ln=Le[Fn];Ln!==De&&"SCRIPT"!==Ln.nodeName&&"STYLE"!==Ln.nodeName&&!Ln.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ln,Ln.getAttribute("aria-hidden")),Ln.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const De=this._parentDialog;return De?De._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(Le){return new(Le||je)(A.KVO(l.hJ),A.KVO(A.zZn),A.KVO(B,8),A.KVO(je,12),A.KVO(l.Sf),A.KVO(O))}}static{this.\u0275prov=A.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function it(je,ve){let De=je.length;for(;De--;)ve(je[De])}let rt=(()=>{class je{static{this.\u0275fac=function(Le){return new(Le||je)}}static{this.\u0275mod=A.$C({type:je})}static{this.\u0275inj=A.G2t({providers:[nt],imports:[l.z_,C.jc,G.Pd,C.jc]})}}return je})();var mt=D(14085),lt=D(57786),ht=D(5964),yt=D(96697),wt=D(86600);function dt(je,ve){}D(49969);class ft{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const L="mdc-dialog--open",Y="mdc-dialog--opening",J="mdc-dialog--closing";let tt=(()=>{class je extends T{constructor(De,Le,Fn,Ln,Qn,jn,mi,ui,li){super(De,Le,Fn,Ln,Qn,jn,mi,li),this._animationMode=ui,this._animationStateChanged=new A.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?_t(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?_t(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ut,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Y,L)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(L),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(L),this._animationsEnabled?(this._hostElement.style.setProperty(ut,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(J)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(De){this._actionSectionCount+=De,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Y,J)}_waitForAnimationToComplete(De,Le){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Le,De)}_requestAnimationFrame(De){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(De):De()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(De){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:De})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(De){const Le=super.attachComponentPortal(De);return Le.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Le}static{this.\u0275fac=function(Le){return new(Le||je)(A.rXU(A.aKT),A.rXU(G.GX),A.rXU(k.qQ,8),A.rXU(ft),A.rXU(G.Z7),A.rXU(A.SKi),A.rXU(l.yY),A.rXU(A.bc$,8),A.rXU(G.FN))}}static{this.\u0275cmp=A.VBU({type:je,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Le,Fn){2&Le&&(A.Mr5("id",Fn._config.id),A.BMQ("aria-modal",Fn._config.ariaModal)("role",Fn._config.role)("aria-labelledby",Fn._config.ariaLabel?null:Fn._ariaLabelledByQueue[0])("aria-label",Fn._config.ariaLabel)("aria-describedby",Fn._config.ariaDescribedBy||null),A.AVh("_mat-animation-noopable",!Fn._animationsEnabled)("mat-mdc-dialog-container-with-actions",Fn._actionSectionCount>0))},standalone:!0,features:[A.Vt3,A.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Le,Fn){1&Le&&(A.j41(0,"div",0)(1,"div",1),A.DNE(2,dt,0,0,"ng-template",2),A.k0s()())},dependencies:[C.I3],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}}return je})();const ut="--mat-dialog-transition-duration";function _t(je){return null==je?null:"number"==typeof je?je:je.endsWith("ms")?(0,mt.OE)(je.substring(0,je.length-2)):je.endsWith("s")?1e3*(0,mt.OE)(je.substring(0,je.length-1)):"0"===je?0:null}var xt=function(je){return je[je.OPEN=0]="OPEN",je[je.CLOSING=1]="CLOSING",je[je.CLOSED=2]="CLOSED",je}(xt||{});class Dt{constructor(ve,De,Le){this._ref=ve,this._containerInstance=Le,this._afterOpened=new f.B,this._beforeClosed=new f.B,this._state=xt.OPEN,this.disableClose=De.disableClose,this.id=ve.id,ve.addPanelClass("mat-mdc-dialog-panel"),Le._animationStateChanged.pipe((0,ht.p)(Fn=>"opened"===Fn.state),(0,yt.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Le._animationStateChanged.pipe((0,ht.p)(Fn=>"closed"===Fn.state),(0,yt.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ve.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,lt.h)(this.backdropClick(),this.keydownEvents().pipe((0,ht.p)(Fn=>Fn.keyCode===g._f&&!this.disableClose&&!(0,g.rp)(Fn)))).subscribe(Fn=>{this.disableClose||(Fn.preventDefault(),gt(this,"keydown"===Fn.type?"keyboard":"mouse"))})}close(ve){this._result=ve,this._containerInstance._animationStateChanged.pipe((0,ht.p)(De=>"closing"===De.state),(0,yt.s)(1)).subscribe(De=>{this._beforeClosed.next(ve),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),De.totalTime+100)}),this._state=xt.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(ve){let De=this._ref.config.positionStrategy;return ve&&(ve.left||ve.right)?ve.left?De.left(ve.left):De.right(ve.right):De.centerHorizontally(),ve&&(ve.top||ve.bottom)?ve.top?De.top(ve.top):De.bottom(ve.bottom):De.centerVertically(),this._ref.updatePosition(),this}updateSize(ve="",De=""){return this._ref.updateSize(ve,De),this}addPanelClass(ve){return this._ref.addPanelClass(ve),this}removePanelClass(ve){return this._ref.removePanelClass(ve),this}getState(){return this._state}_finishDialogClose(){this._state=xt.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function gt(je,ve,De){return je._closeInteractionType=ve,je.close(De)}const Mt=new A.nKC("MatMdcDialogData"),ot=new A.nKC("mat-mdc-dialog-default-options"),Q=new A.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const je=(0,A.WQX)(l.hJ);return()=>je.scrollStrategies.block()}});let Ie=0,Qt=(()=>{class je{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const De=this._parentDialog;return De?De._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(De,Le,Fn,Ln,Qn,jn,mi,ui){this._overlay=De,this._defaultOptions=Ln,this._scrollStrategy=Qn,this._parentDialog=jn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new f.B,this._afterOpenedAtThisLevel=new f.B,this.dialogConfigClass=ft,this.afterAllClosed=(0,h.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,m.Z)(void 0))),this._dialog=Le.get(nt),this._dialogRefConstructor=Dt,this._dialogContainerType=tt,this._dialogDataToken=Mt}open(De,Le){let Fn;(Le={...this._defaultOptions||new ft,...Le}).id=Le.id||"mat-mdc-dialog-"+Ie++,Le.scrollStrategy=Le.scrollStrategy||this._scrollStrategy();const Ln=this._dialog.open(De,{...Le,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Le},{provide:M,useValue:Le}]},templateContext:()=>({dialogRef:Fn}),providers:(Qn,jn,mi)=>(Fn=new this._dialogRefConstructor(Qn,Le,mi),Fn.updatePosition(Le?.position),[{provide:this._dialogContainerType,useValue:mi},{provide:this._dialogDataToken,useValue:jn.data},{provide:this._dialogRefConstructor,useValue:Fn}])});return Fn.componentRef=Ln.componentRef,Fn.componentInstance=Ln.componentInstance,this.openDialogs.push(Fn),this.afterOpened.next(Fn),Fn.afterClosed().subscribe(()=>{const Qn=this.openDialogs.indexOf(Fn);Qn>-1&&(this.openDialogs.splice(Qn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Fn}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(De){return this.openDialogs.find(Le=>Le.id===De)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(De){let Le=De.length;for(;Le--;)De[Le].close()}static{this.\u0275fac=function(Le){return new(Le||je)(A.KVO(l.hJ),A.KVO(A.zZn),A.KVO(k.aZ,8),A.KVO(ot,8),A.KVO(Q),A.KVO(je,12),A.KVO(l.Sf),A.KVO(A.bc$,8))}}static{this.\u0275prov=A.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),Bt=0,St=(()=>{class je{constructor(De,Le,Fn){this.dialogRef=De,this._elementRef=Le,this._dialog=Fn,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Me(this._elementRef,this._dialog.openDialogs))}ngOnChanges(De){const Le=De._matDialogClose||De._matDialogCloseResult;Le&&(this.dialogResult=Le.currentValue)}_onButtonClick(De){gt(this.dialogRef,0===De.screenX&&0===De.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(Le){return new(Le||je)(A.rXU(Dt,8),A.rXU(A.aKT),A.rXU(Qt))}}static{this.\u0275dir=A.FsC({type:je,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Le,Fn){1&Le&&A.bIt("click",function(Qn){return Fn._onButtonClick(Qn)}),2&Le&&A.BMQ("aria-label",Fn.ariaLabel||null)("type",Fn.type)},inputs:{ariaLabel:[A.Mj6.None,"aria-label","ariaLabel"],type:"type",dialogResult:[A.Mj6.None,"mat-dialog-close","dialogResult"],_matDialogClose:[A.Mj6.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[A.OA$]})}}return je})(),Nt=(()=>{class je{constructor(De,Le,Fn){this._dialogRef=De,this._elementRef=Le,this._dialog=Fn}ngOnInit(){this._dialogRef||(this._dialogRef=Me(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(Le){return new(Le||je)(A.rXU(Dt,8),A.rXU(A.aKT),A.rXU(Qt))}}static{this.\u0275dir=A.FsC({type:je,standalone:!0})}}return je})(),Jt=(()=>{class je extends Nt{constructor(){super(...arguments),this.id="mat-mdc-dialog-title-"+Bt++}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let De;return function(Fn){return(De||(De=A.xGo(je)))(Fn||je)}})()}static{this.\u0275dir=A.FsC({type:je,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(Le,Fn){2&Le&&A.Mr5("id",Fn.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[A.Vt3]})}}return je})(),se=(()=>{class je{static{this.\u0275fac=function(Le){return new(Le||je)}}static{this.\u0275dir=A.FsC({type:je,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0})}}return je})(),be=(()=>{class je extends Nt{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let De;return function(Fn){return(De||(De=A.xGo(je)))(Fn||je)}})()}static{this.\u0275dir=A.FsC({type:je,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Le,Fn){2&Le&&A.AVh("mat-mdc-dialog-actions-align-start","start"===Fn.align)("mat-mdc-dialog-actions-align-center","center"===Fn.align)("mat-mdc-dialog-actions-align-end","end"===Fn.align)},inputs:{align:"align"},standalone:!0,features:[A.Vt3]})}}return je})();function Me(je,ve){let De=je.nativeElement.parentElement;for(;De&&!De.classList.contains("mat-mdc-dialog-container");)De=De.parentElement;return De?ve.find(Le=>Le.id===De.id):null}let Yt=(()=>{class je{static{this.\u0275fac=function(Le){return new(Le||je)}}static{this.\u0275mod=A.$C({type:je})}static{this.\u0275inj=A.G2t({providers:[Qt],imports:[rt,l.z_,C.jc,wt.yE,wt.yE]})}}return je})()},71997:(Rt,Tt,D)=>{"use strict";D.d(Tt,{q:()=>G,w:()=>t});var l=D(54438),k=D(14085),A=D(86600);let G=(()=>{class C{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(f){this._vertical=(0,k.he)(f)}get inset(){return this._inset}set inset(f){this._inset=(0,k.he)(f)}static{this.\u0275fac=function(h){return new(h||C)}}static{this.\u0275cmp=l.VBU({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,_){2&h&&(l.BMQ("aria-orientation",_.vertical?"vertical":"horizontal"),l.AVh("mat-divider-vertical",_.vertical)("mat-divider-horizontal",!_.vertical)("mat-divider-inset",_.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[l.aNF],decls:0,vars:0,template:function(h,_){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return C})(),t=(()=>{class C{static{this.\u0275fac=function(h){return new(h||C)}}static{this.\u0275mod=l.$C({type:C})}static{this.\u0275inj=l.G2t({imports:[A.yE,A.yE]})}}return C})()},9454:(Rt,Tt,D)=>{"use strict";D.d(Tt,{BS:()=>_t,MY:()=>xt,GK:()=>Y,Q6:()=>tt,Z2:()=>K,WN:()=>ut});var l=D(54438),k=D(45024),A=D(21413),G=D(18359);let t=0;const C=new l.nKC("CdkAccordion");let g=(()=>{class Dt{constructor(){this._stateChanges=new A.B,this._openCloseAllActions=new A.B,this.id="cdk-accordion-"+t++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Mt){this._stateChanges.next(Mt)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(ot){return new(ot||Dt)}}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[l.Mj6.HasDecoratorInputTransform,"multi","multi",l.L39]},exportAs:["cdkAccordion"],standalone:!0,features:[l.Jv_([{provide:C,useExisting:Dt}]),l.GFd,l.OA$]})}}return Dt})(),f=0,h=(()=>{class Dt{get expanded(){return this._expanded}set expanded(Mt){this._expanded!==Mt&&(this._expanded=Mt,this.expandedChange.emit(Mt),Mt?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(Mt,ot,Q){this.accordion=Mt,this._changeDetectorRef=ot,this._expansionDispatcher=Q,this._openCloseAllSubscription=G.yU.EMPTY,this.closed=new l.bkB,this.opened=new l.bkB,this.destroyed=new l.bkB,this.expandedChange=new l.bkB,this.id="cdk-accordion-child-"+f++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Q.listen((kt,Xt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Xt&&this.id!==kt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Mt=>{this.disabled||(this.expanded=Mt)})}static{this.\u0275fac=function(ot){return new(ot||Dt)(l.rXU(C,12),l.rXU(l.gRc),l.rXU(k.zP))}}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[l.Mj6.HasDecoratorInputTransform,"expanded","expanded",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[l.Jv_([{provide:C,useValue:void 0}]),l.GFd]})}}return Dt})(),_=(()=>{class Dt{static{this.\u0275fac=function(ot){return new(ot||Dt)}}static{this.\u0275mod=l.$C({type:Dt})}static{this.\u0275inj=l.G2t({})}}return Dt})();var p=D(76939),m=D(86600),F=D(18617),M=D(99172),y=D(5964),T=D(96697),I=D(67336),O=D(983),S=D(57786),B=D(49969),P=D(60177);const U=["body"],z=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],nt=["mat-expansion-panel-header","*","mat-action-row"];function it(Dt,gt){}const rt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],mt=["mat-panel-title","mat-panel-description","*"];function lt(Dt,gt){if(1&Dt&&(l.j41(0,"span",1),l.qSk(),l.j41(1,"svg",2),l.nrm(2,"path",3),l.k0s()()),2&Dt){const Mt=l.XpG();l.Y8G("@indicatorRotate",Mt._getExpandedState())}}const ht=new l.nKC("MAT_ACCORDION"),yt="225ms cubic-bezier(0.4,0.0,0.2,1)",wt={indicatorRotate:(0,B.hZ)("indicatorRotate",[(0,B.wk)("collapsed, void",(0,B.iF)({transform:"rotate(0deg)"})),(0,B.wk)("expanded",(0,B.iF)({transform:"rotate(180deg)"})),(0,B.kY)("expanded <=> collapsed, void => collapsed",(0,B.i0)(yt))]),bodyExpansion:(0,B.hZ)("bodyExpansion",[(0,B.wk)("collapsed, void",(0,B.iF)({height:"0px",visibility:"hidden"})),(0,B.wk)("expanded",(0,B.iF)({height:"*",visibility:""})),(0,B.kY)("expanded <=> collapsed, void => collapsed",(0,B.i0)(yt))])},Z=new l.nKC("MAT_EXPANSION_PANEL");let dt=(()=>{class Dt{constructor(Mt,ot){this._template=Mt,this._expansionPanel=ot}static{this.\u0275fac=function(ot){return new(ot||Dt)(l.rXU(l.C4Q),l.rXU(Z,8))}}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return Dt})(),ft=0;const L=new l.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Y=(()=>{class Dt extends h{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Mt){this._hideToggle=Mt}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Mt){this._togglePosition=Mt}constructor(Mt,ot,Q,kt,Xt,Ie,Qt){super(Mt,ot,Q),this._viewContainerRef=kt,this._animationMode=Ie,this._hideToggle=!1,this.afterExpand=new l.bkB,this.afterCollapse=new l.bkB,this._inputChanges=new A.B,this._headerId="mat-expansion-panel-header-"+ft++,this.accordion=Mt,this._document=Xt,this._animationsDisabled="NoopAnimations"===Ie,Qt&&(this.hideToggle=Qt.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,M.Z)(null),(0,y.p)(()=>this.expanded&&!this._portal),(0,T.s)(1)).subscribe(()=>{this._portal=new p.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Mt){this._inputChanges.next(Mt)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Mt=this._document.activeElement,ot=this._body.nativeElement;return Mt===ot||ot.contains(Mt)}return!1}_animationStarted(Mt){!J(Mt)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(Mt){J(Mt)||("expanded"===Mt.toState?this.afterExpand.emit():"collapsed"===Mt.toState&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(ot){return new(ot||Dt)(l.rXU(ht,12),l.rXU(l.gRc),l.rXU(k.zP),l.rXU(l.c1b),l.rXU(P.qQ),l.rXU(l.bc$,8),l.rXU(L,8))}}static{this.\u0275cmp=l.VBU({type:Dt,selectors:[["mat-expansion-panel"]],contentQueries:function(ot,Q,kt){if(1&ot&&l.wni(kt,dt,5),2&ot){let Xt;l.mGM(Xt=l.lsd())&&(Q._lazyContent=Xt.first)}},viewQuery:function(ot,Q){if(1&ot&&l.GBs(U,5),2&ot){let kt;l.mGM(kt=l.lsd())&&(Q._body=kt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ot,Q){2&ot&&l.AVh("mat-expanded",Q.expanded)("_mat-animation-noopable",Q._animationsDisabled)("mat-expansion-panel-spacing",Q._hasSpacing())},inputs:{hideToggle:[l.Mj6.HasDecoratorInputTransform,"hideToggle","hideToggle",l.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[l.Jv_([{provide:ht,useValue:void 0},{provide:Z,useExisting:Dt}]),l.GFd,l.Vt3,l.OA$,l.aNF],ngContentSelectors:nt,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ot,Q){if(1&ot){const kt=l.RV6();l.NAR(z),l.SdG(0),l.j41(1,"div",1,0),l.bIt("@bodyExpansion.start",function(Ie){return l.eBV(kt),l.Njj(Q._animationStarted(Ie))})("@bodyExpansion.done",function(Ie){return l.eBV(kt),l.Njj(Q._animationDone(Ie))}),l.j41(3,"div",2),l.SdG(4,1),l.DNE(5,it,0,0,"ng-template",3),l.k0s(),l.SdG(6,2),l.k0s()}2&ot&&(l.R7$(),l.Y8G("@bodyExpansion",Q._getExpandedState())("id",Q.id),l.BMQ("aria-labelledby",Q._headerId),l.R7$(4),l.Y8G("cdkPortalOutlet",Q._portal))},dependencies:[p.I3],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[wt.bodyExpansion]},changeDetection:0})}}return Dt})();function J(Dt){return"void"===Dt.fromState}let K=(()=>{class Dt{constructor(Mt,ot,Q,kt,Xt,Ie,Qt){this.panel=Mt,this._element=ot,this._focusMonitor=Q,this._changeDetectorRef=kt,this._animationMode=Ie,this._parentChangeSubscription=G.yU.EMPTY,this.tabIndex=0;const Bt=Mt.accordion?Mt.accordion._stateChanges.pipe((0,y.p)(St=>!(!St.hideToggle&&!St.togglePosition))):O.w;this.tabIndex=parseInt(Qt||"")||0,this._parentChangeSubscription=(0,S.h)(Mt.opened,Mt.closed,Bt,Mt._inputChanges.pipe((0,y.p)(St=>!!(St.hideToggle||St.disabled||St.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Mt.closed.pipe((0,y.p)(()=>Mt._containsFocus())).subscribe(()=>Q.focusVia(ot,"program")),Xt&&(this.expandedHeight=Xt.expandedHeight,this.collapsedHeight=Xt.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Mt=this._isExpanded();return Mt&&this.expandedHeight?this.expandedHeight:!Mt&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Mt){switch(Mt.keyCode){case I.t6:case I.Fm:(0,I.rp)(Mt)||(Mt.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Mt))}}focus(Mt,ot){Mt?this._focusMonitor.focusVia(this._element,Mt,ot):this._element.nativeElement.focus(ot)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Mt=>{Mt&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(ot){return new(ot||Dt)(l.rXU(Y,1),l.rXU(l.aKT),l.rXU(F.FN),l.rXU(l.gRc),l.rXU(L,8),l.rXU(l.bc$,8),l.kS0("tabindex"))}}static{this.\u0275cmp=l.VBU({type:Dt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ot,Q){1&ot&&l.bIt("click",function(){return Q._toggle()})("keydown",function(Xt){return Q._keydown(Xt)}),2&ot&&(l.BMQ("id",Q.panel._headerId)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-controls",Q._getPanelId())("aria-expanded",Q._isExpanded())("aria-disabled",Q.panel.disabled),l.xc7("height",Q._getHeaderHeight()),l.AVh("mat-expanded",Q._isExpanded())("mat-expansion-toggle-indicator-after","after"===Q._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Q._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Q._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[l.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",Mt=>null==Mt?0:(0,l.Udg)(Mt)]},standalone:!0,features:[l.GFd,l.aNF],ngContentSelectors:mt,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(ot,Q){1&ot&&(l.NAR(rt),l.j41(0,"span",0),l.SdG(1),l.SdG(2,1),l.SdG(3,2),l.k0s(),l.DNE(4,lt,3,1,"span",1)),2&ot&&(l.AVh("mat-content-hide-toggle",!Q._showToggle()),l.R7$(4),l.vxM(4,Q._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[wt.indicatorRotate]},changeDetection:0})}}return Dt})(),tt=(()=>{class Dt{static{this.\u0275fac=function(ot){return new(ot||Dt)}}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}}return Dt})(),ut=(()=>{class Dt{static{this.\u0275fac=function(ot){return new(ot||Dt)}}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return Dt})(),_t=(()=>{class Dt extends g{constructor(){super(...arguments),this._ownHeaders=new l.rOR,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,M.Z)(this._headers)).subscribe(Mt=>{this._ownHeaders.reset(Mt.filter(ot=>ot.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new F.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Mt){this._keyManager.onKeydown(Mt)}_handleHeaderFocus(Mt){this._keyManager.updateActiveItem(Mt)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=(()=>{let Mt;return function(Q){return(Mt||(Mt=l.xGo(Dt)))(Q||Dt)}})()}static{this.\u0275dir=l.FsC({type:Dt,selectors:[["mat-accordion"]],contentQueries:function(ot,Q,kt){if(1&ot&&l.wni(kt,K,5),2&ot){let Xt;l.mGM(Xt=l.lsd())&&(Q._headers=Xt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ot,Q){2&ot&&l.AVh("mat-accordion-multi",Q.multi)},inputs:{hideToggle:[l.Mj6.HasDecoratorInputTransform,"hideToggle","hideToggle",l.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[l.Jv_([{provide:ht,useExisting:Dt}]),l.GFd,l.Vt3]})}}return Dt})(),xt=(()=>{class Dt{static{this.\u0275fac=function(ot){return new(ot||Dt)}}static{this.\u0275mod=l.$C({type:Dt})}static{this.\u0275inj=l.G2t({imports:[m.yE,_,p.jc]})}}return Dt})()},32102:(Rt,Tt,D)=>{"use strict";D.d(Tt,{xb:()=>De,U$:()=>Le,TL:()=>ot,rl:()=>ui,qT:()=>oe,RG:()=>li,MV:()=>kt,nJ:()=>Dt,JW:()=>Ie,yw:()=>Bt});var l=D(54438),k=D(28203),A=D(36860),G=D(18359),t=D(21413),C=D(57786),g=D(56977),f=D(71985),h=D(5964),_=D(44668);class m{constructor(Di){this._box=Di,this._destroyed=new t.B,this._resizeSubject=new t.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver($n=>this._resizeSubject.next($n)))}observe(Di){return this._elementObservables.has(Di)||this._elementObservables.set(Di,new f.c($n=>{const Ii=this._resizeSubject.subscribe($n);return this._resizeObserver?.observe(Di,{box:this._box}),()=>{this._resizeObserver?.unobserve(Di),Ii.unsubscribe(),this._elementObservables.delete(Di)}}).pipe((0,h.p)($n=>$n.some(Ii=>Ii.target===Di)),(0,_.t)({bufferSize:1,refCount:!0}),(0,g.Q)(this._destroyed))),this._elementObservables.get(Di)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let F=(()=>{class Jn{constructor(){this._observers=new Map,this._ngZone=(0,l.WQX)(l.SKi)}ngOnDestroy(){for(const[,$n]of this._observers)$n.destroy();this._observers.clear()}observe($n,Ii){const We=Ii?.box||"content-box";return this._observers.has(We)||this._observers.set(We,new m(We)),this._observers.get(We).observe($n)}static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275prov=l.jDH({token:Jn,factory:Jn.\u0275fac,providedIn:"root"})}}return Jn})();var M=D(14085),y=D(49969),T=D(60177),I=D(72318),O=D(86600);const S=["notch"],B=["matFormFieldNotchedOutline",""],P=["*"],U=["textField"],z=["iconPrefixContainer"],nt=["textPrefixContainer"],it=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],rt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function mt(Jn,Di){1&Jn&&l.nrm(0,"span",17)}function lt(Jn,Di){if(1&Jn&&(l.j41(0,"label",16),l.SdG(1,1),l.DNE(2,mt,1,0,"span",17),l.k0s()),2&Jn){const $n=l.XpG(2);l.Y8G("floating",$n._shouldLabelFloat())("monitorResize",$n._hasOutline())("id",$n._labelId),l.BMQ("for",$n._control.disableAutomaticLabeling?null:$n._control.id),l.R7$(2),l.vxM(2,!$n.hideRequiredMarker&&$n._control.required?2:-1)}}function ht(Jn,Di){if(1&Jn&&l.DNE(0,lt,3,5,"label",16),2&Jn){const $n=l.XpG();l.vxM(0,$n._hasFloatingLabel()?0:-1)}}function yt(Jn,Di){1&Jn&&l.nrm(0,"div",5)}function wt(Jn,Di){}function Z(Jn,Di){if(1&Jn&&l.DNE(0,wt,0,0,"ng-template",11),2&Jn){l.XpG(2);const $n=l.sdS(1);l.Y8G("ngTemplateOutlet",$n)}}function dt(Jn,Di){if(1&Jn&&(l.j41(0,"div",7),l.DNE(1,Z,1,1,null,11),l.k0s()),2&Jn){const $n=l.XpG();l.Y8G("matFormFieldNotchedOutlineOpen",$n._shouldLabelFloat()),l.R7$(),l.vxM(1,$n._forceDisplayInfixLabel()?-1:1)}}function ft(Jn,Di){1&Jn&&(l.j41(0,"div",8,2),l.SdG(2,2),l.k0s())}function L(Jn,Di){1&Jn&&(l.j41(0,"div",9,3),l.SdG(2,3),l.k0s())}function Y(Jn,Di){}function J(Jn,Di){if(1&Jn&&l.DNE(0,Y,0,0,"ng-template",11),2&Jn){l.XpG();const $n=l.sdS(1);l.Y8G("ngTemplateOutlet",$n)}}function H(Jn,Di){1&Jn&&(l.j41(0,"div",12),l.SdG(1,4),l.k0s())}function K(Jn,Di){1&Jn&&(l.j41(0,"div",13),l.SdG(1,5),l.k0s())}function tt(Jn,Di){1&Jn&&l.nrm(0,"div",14)}function ut(Jn,Di){if(1&Jn&&(l.j41(0,"div",18),l.SdG(1,6),l.k0s()),2&Jn){const $n=l.XpG();l.Y8G("@transitionMessages",$n._subscriptAnimationState)}}function _t(Jn,Di){if(1&Jn&&(l.j41(0,"mat-hint",20),l.EFF(1),l.k0s()),2&Jn){const $n=l.XpG(2);l.Y8G("id",$n._hintLabelId),l.R7$(),l.JRh($n.hintLabel)}}function xt(Jn,Di){if(1&Jn&&(l.j41(0,"div",19),l.DNE(1,_t,2,2,"mat-hint",20),l.SdG(2,7),l.nrm(3,"div",21),l.SdG(4,8),l.k0s()),2&Jn){const $n=l.XpG();l.Y8G("@transitionMessages",$n._subscriptAnimationState),l.R7$(),l.vxM(1,$n.hintLabel?1:-1)}}let Dt=(()=>{class Jn{static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["mat-label"]],standalone:!0})}}return Jn})(),gt=0;const Mt=new l.nKC("MatError");let ot=(()=>{class Jn{constructor($n,Ii){this.id="mat-mdc-error-"+gt++,$n||Ii.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(Ii){return new(Ii||Jn)(l.kS0("aria-live"),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Ii,We){2&Ii&&l.Mr5("id",We.id)},inputs:{id:"id"},standalone:!0,features:[l.Jv_([{provide:Mt,useExisting:Jn}])]})}}return Jn})(),Q=0,kt=(()=>{class Jn{constructor(){this.align="start",this.id="mat-mdc-hint-"+Q++}static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Ii,We){2&Ii&&(l.Mr5("id",We.id),l.BMQ("align",null),l.AVh("mat-mdc-form-field-hint-end","end"===We.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return Jn})();const Xt=new l.nKC("MatPrefix");let Ie=(()=>{class Jn{constructor(){this._isText=!1}set _isTextSelector($n){this._isText=!0}static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[l.Mj6.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[l.Jv_([{provide:Xt,useExisting:Jn}])]})}}return Jn})();const Qt=new l.nKC("MatSuffix");let Bt=(()=>{class Jn{constructor(){this._isText=!1}set _isTextSelector($n){this._isText=!0}static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[l.Mj6.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[l.Jv_([{provide:Qt,useExisting:Jn}])]})}}return Jn})();const St=new l.nKC("FloatingLabelParent");let Nt=(()=>{class Jn{get floating(){return this._floating}set floating($n){this._floating=$n,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize($n){this._monitorResize=$n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor($n){this._elementRef=$n,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,l.WQX)(F),this._ngZone=(0,l.WQX)(l.SKi),this._parent=(0,l.WQX)(St),this._resizeSubscription=new G.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Jt(Jn){if(null!==Jn.offsetParent)return Jn.scrollWidth;const $n=Jn.cloneNode(!0);$n.style.setProperty("position","absolute"),$n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild($n);const Ii=$n.scrollWidth;return $n.remove(),Ii}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(Ii){return new(Ii||Jn)(l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Ii,We){2&Ii&&l.AVh("mdc-floating-label--float-above",We.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return Jn})();const se="mdc-line-ripple--active",be="mdc-line-ripple--deactivating";let Me=(()=>{class Jn{constructor($n,Ii){this._elementRef=$n,this._handleTransitionEnd=We=>{const pe=this._elementRef.nativeElement.classList,Te=pe.contains(be);"opacity"===We.propertyName&&Te&&pe.remove(se,be)},Ii.runOutsideAngular(()=>{$n.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const $n=this._elementRef.nativeElement.classList;$n.remove(be),$n.add(se)}deactivate(){this._elementRef.nativeElement.classList.add(be)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(Ii){return new(Ii||Jn)(l.rXU(l.aKT),l.rXU(l.SKi))}}static{this.\u0275dir=l.FsC({type:Jn,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return Jn})(),ae=(()=>{class Jn{constructor($n,Ii){this._elementRef=$n,this._ngZone=Ii,this.open=!1}ngAfterViewInit(){const $n=this._elementRef.nativeElement.querySelector(".mdc-floating-label");$n?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&($n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>$n.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth($n){this._notch.nativeElement.style.width=this.open&&$n?`calc(${$n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(Ii){return new(Ii||Jn)(l.rXU(l.aKT),l.rXU(l.SKi))}}static{this.\u0275cmp=l.VBU({type:Jn,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Ii,We){if(1&Ii&&l.GBs(S,5),2&Ii){let pe;l.mGM(pe=l.lsd())&&(We._notch=pe.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Ii,We){2&Ii&&l.AVh("mdc-notched-outline--notched",We.open)},inputs:{open:[l.Mj6.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[l.aNF],attrs:B,ngContentSelectors:P,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Ii,We){1&Ii&&(l.NAR(),l.nrm(0,"div",1),l.j41(1,"div",2,0),l.SdG(3),l.k0s(),l.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return Jn})();const Yt={transitionMessages:(0,y.hZ)("transitionMessages",[(0,y.wk)("enter",(0,y.iF)({opacity:1,transform:"translateY(0%)"})),(0,y.kY)("void => enter",[(0,y.iF)({opacity:0,transform:"translateY(-5px)"}),(0,y.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let oe=(()=>{class Jn{static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275dir=l.FsC({type:Jn})}}return Jn})();const De=new l.nKC("MatFormField"),Le=new l.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Fn=0,ui=(()=>{class Jn{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker($n){this._hideRequiredMarker=(0,M.he)($n)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel($n){$n!==this._floatLabel&&(this._floatLabel=$n,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance($n){const Ii=this._appearance;this._appearance=$n||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ii&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing($n){this._subscriptSizing=$n||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel($n){this._hintLabel=$n,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control($n){this._explicitFormFieldControl=$n}constructor($n,Ii,We,pe,Te,Ht,te,Oe){this._elementRef=$n,this._changeDetectorRef=Ii,this._ngZone=We,this._dir=pe,this._platform=Te,this._defaults=Ht,this._animationMode=te,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Fn++,this._hintLabelId="mat-mdc-hint-"+Fn++,this._subscriptAnimationState="",this._destroyed=new t.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ht&&(Ht.appearance&&(this.appearance=Ht.appearance),this._hideRequiredMarker=!!Ht?.hideRequiredMarker,Ht.color&&(this.color=Ht.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const $n=this._control;$n.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${$n.controlType}`),$n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),$n.ngControl&&$n.ngControl.valueChanges&&$n.ngControl.valueChanges.pipe((0,g.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find($n=>!$n._isText),this._hasTextPrefix=!!this._prefixChildren.find($n=>$n._isText),this._hasIconSuffix=!!this._suffixChildren.find($n=>!$n._isText),this._hasTextSuffix=!!this._suffixChildren.find($n=>$n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,C.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,g.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,g.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward($n){const Ii=this._control?this._control.ngControl:null;return Ii&&Ii[$n]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let $n=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&$n.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ii=this._hintChildren?this._hintChildren.find(pe=>"start"===pe.align):null,We=this._hintChildren?this._hintChildren.find(pe=>"end"===pe.align):null;Ii?$n.push(Ii.id):this._hintLabel&&$n.push(this._hintLabelId),We&&$n.push(We.id)}else this._errorChildren&&$n.push(...this._errorChildren.map(Ii=>Ii.id));this._control.setDescribedByIds($n)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const $n=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void($n.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ii=this._iconPrefixContainer?.nativeElement,We=this._textPrefixContainer?.nativeElement,pe=Ii?.getBoundingClientRect().width??0,Te=We?.getBoundingClientRect().width??0;$n.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${pe+Te}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const $n=this._elementRef.nativeElement;if($n.getRootNode){const Ii=$n.getRootNode();return Ii&&Ii!==$n}return document.documentElement.contains($n)}static{this.\u0275fac=function(Ii){return new(Ii||Jn)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(l.SKi),l.rXU(k.dS),l.rXU(A.OD),l.rXU(Le,8),l.rXU(l.bc$,8),l.rXU(T.qQ))}}static{this.\u0275cmp=l.VBU({type:Jn,selectors:[["mat-form-field"]],contentQueries:function(Ii,We,pe){if(1&Ii&&(l.wni(pe,Dt,5),l.wni(pe,Dt,7),l.wni(pe,oe,5),l.wni(pe,Xt,5),l.wni(pe,Qt,5),l.wni(pe,Mt,5),l.wni(pe,kt,5)),2&Ii){let Te;l.mGM(Te=l.lsd())&&(We._labelChildNonStatic=Te.first),l.mGM(Te=l.lsd())&&(We._labelChildStatic=Te.first),l.mGM(Te=l.lsd())&&(We._formFieldControl=Te.first),l.mGM(Te=l.lsd())&&(We._prefixChildren=Te),l.mGM(Te=l.lsd())&&(We._suffixChildren=Te),l.mGM(Te=l.lsd())&&(We._errorChildren=Te),l.mGM(Te=l.lsd())&&(We._hintChildren=Te)}},viewQuery:function(Ii,We){if(1&Ii&&(l.GBs(U,5),l.GBs(z,5),l.GBs(nt,5),l.GBs(Nt,5),l.GBs(ae,5),l.GBs(Me,5)),2&Ii){let pe;l.mGM(pe=l.lsd())&&(We._textField=pe.first),l.mGM(pe=l.lsd())&&(We._iconPrefixContainer=pe.first),l.mGM(pe=l.lsd())&&(We._textPrefixContainer=pe.first),l.mGM(pe=l.lsd())&&(We._floatingLabel=pe.first),l.mGM(pe=l.lsd())&&(We._notchedOutline=pe.first),l.mGM(pe=l.lsd())&&(We._lineRipple=pe.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Ii,We){2&Ii&&l.AVh("mat-mdc-form-field-label-always-float",We._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",We._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",We._hasIconSuffix)("mat-form-field-invalid",We._control.errorState)("mat-form-field-disabled",We._control.disabled)("mat-form-field-autofilled",We._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===We._animationMode)("mat-form-field-appearance-fill","fill"==We.appearance)("mat-form-field-appearance-outline","outline"==We.appearance)("mat-form-field-hide-placeholder",We._hasFloatingLabel()&&!We._shouldLabelFloat())("mat-focused",We._control.focused)("mat-primary","accent"!==We.color&&"warn"!==We.color)("mat-accent","accent"===We.color)("mat-warn","warn"===We.color)("ng-untouched",We._shouldForward("untouched"))("ng-touched",We._shouldForward("touched"))("ng-pristine",We._shouldForward("pristine"))("ng-dirty",We._shouldForward("dirty"))("ng-valid",We._shouldForward("valid"))("ng-invalid",We._shouldForward("invalid"))("ng-pending",We._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[l.Jv_([{provide:De,useExisting:Jn},{provide:St,useExisting:Jn}]),l.aNF],ngContentSelectors:rt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Ii,We){if(1&Ii){const pe=l.RV6();l.NAR(it),l.DNE(0,ht,1,1,"ng-template",null,0,l.C5r),l.j41(2,"div",4,1),l.bIt("click",function(Ht){return l.eBV(pe),l.Njj(We._control.onContainerClick(Ht))}),l.DNE(4,yt,1,0,"div",5),l.j41(5,"div",6),l.DNE(6,dt,2,2,"div",7)(7,ft,3,0,"div",8)(8,L,3,0,"div",9),l.j41(9,"div",10),l.DNE(10,J,1,1,null,11),l.SdG(11),l.k0s(),l.DNE(12,H,2,0,"div",12)(13,K,2,0,"div",13),l.k0s(),l.DNE(14,tt,1,0,"div",14),l.k0s(),l.j41(15,"div",15),l.DNE(16,ut,2,1)(17,xt,5,2),l.k0s()}if(2&Ii){let pe;l.R7$(2),l.AVh("mdc-text-field--filled",!We._hasOutline())("mdc-text-field--outlined",We._hasOutline())("mdc-text-field--no-label",!We._hasFloatingLabel())("mdc-text-field--disabled",We._control.disabled)("mdc-text-field--invalid",We._control.errorState),l.R7$(2),l.vxM(4,We._hasOutline()||We._control.disabled?-1:4),l.R7$(2),l.vxM(6,We._hasOutline()?6:-1),l.R7$(),l.vxM(7,We._hasIconPrefix?7:-1),l.R7$(),l.vxM(8,We._hasTextPrefix?8:-1),l.R7$(2),l.vxM(10,!We._hasOutline()||We._forceDisplayInfixLabel()?10:-1),l.R7$(2),l.vxM(12,We._hasTextSuffix?12:-1),l.R7$(),l.vxM(13,We._hasIconSuffix?13:-1),l.R7$(),l.vxM(14,We._hasOutline()?-1:14),l.R7$(),l.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===We.subscriptSizing),l.R7$(),l.vxM(16,"error"===(pe=We._getDisplayedMessages())?16:"hint"===pe?17:-1)}},dependencies:[Nt,ae,T.T3,Me,kt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Yt.transitionMessages]},changeDetection:0})}}return Jn})(),li=(()=>{class Jn{static{this.\u0275fac=function(Ii){return new(Ii||Jn)}}static{this.\u0275mod=l.$C({type:Jn})}static{this.\u0275inj=l.G2t({imports:[O.yE,T.MD,I.w5,O.yE]})}}return Jn})()},16195:(Rt,Tt,D)=>{"use strict";D.d(Tt,{B_:()=>it,Fe:()=>rt,NS:()=>m});var l=D(54438),k=D(86600),A=D(14085),G=D(28203);const t=["*"];class h{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const ht=Math.max(...this.tracker);return ht>1?this.rowCount+ht-1:this.rowCount}update(ht,yt){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(ht),this.tracker.fill(0,0,this.tracker.length),this.positions=yt.map(wt=>this._trackTile(wt))}_trackTile(ht){const yt=this._findMatchingGap(ht.colspan);return this._markTilePosition(yt,ht),this.columnIndex=yt+ht.colspan,new _(this.rowIndex,yt)}_findMatchingGap(ht){let yt=-1,wt=-1;do{this.columnIndex+ht>this.tracker.length?(this._nextRow(),yt=this.tracker.indexOf(0,this.columnIndex),wt=this._findGapEndIndex(yt)):(yt=this.tracker.indexOf(0,this.columnIndex),-1!=yt?(wt=this._findGapEndIndex(yt),this.columnIndex=yt+1):(this._nextRow(),yt=this.tracker.indexOf(0,this.columnIndex),wt=this._findGapEndIndex(yt)))}while(wt-yt{class lt{constructor(yt,wt){this._element=yt,this._gridList=wt,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(yt){this._rowspan=Math.round((0,A.OE)(yt))}get colspan(){return this._colspan}set colspan(yt){this._colspan=Math.round((0,A.OE)(yt))}_setStyle(yt,wt){this._element.nativeElement.style[yt]=wt}static{this.\u0275fac=function(wt){return new(wt||lt)(l.rXU(l.aKT),l.rXU(p,8))}}static{this.\u0275cmp=l.VBU({type:lt,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(wt,Z){2&wt&&l.BMQ("rowspan",Z.rowspan)("colspan",Z.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[l.aNF],ngContentSelectors:t,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(wt,Z){1&wt&&(l.NAR(),l.j41(0,"div",0),l.SdG(1),l.k0s())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return lt})();const I=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class O{constructor(){this._rows=0,this._rowspan=0}init(ht,yt,wt,Z){this._gutterSize=z(ht),this._rows=yt.rowCount,this._rowspan=yt.rowspan,this._cols=wt,this._direction=Z}getBaseTileSize(ht,yt){return`(${ht}% - (${this._gutterSize} * ${yt}))`}getTilePosition(ht,yt){return 0===yt?"0":U(`(${ht} + ${this._gutterSize}) * ${yt}`)}getTileSize(ht,yt){return`(${ht} * ${yt}) + (${yt-1} * ${this._gutterSize})`}setStyle(ht,yt,wt){let Z=100/this._cols,dt=(this._cols-1)/this._cols;this.setColStyles(ht,wt,Z,dt),this.setRowStyles(ht,yt,Z,dt)}setColStyles(ht,yt,wt,Z){let dt=this.getBaseTileSize(wt,Z);ht._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(dt,yt)),ht._setStyle("width",U(this.getTileSize(dt,ht.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(ht){return`${this._rowspan} * ${this.getTileSize(ht,1)}`}getComputedHeight(){return null}}class S extends O{constructor(ht){super(),this.fixedRowHeight=ht}init(ht,yt,wt,Z){super.init(ht,yt,wt,Z),this.fixedRowHeight=z(this.fixedRowHeight),I.test(this.fixedRowHeight)}setRowStyles(ht,yt){ht._setStyle("top",this.getTilePosition(this.fixedRowHeight,yt)),ht._setStyle("height",U(this.getTileSize(this.fixedRowHeight,ht.rowspan)))}getComputedHeight(){return["height",U(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(ht){ht._setListStyle(["height",null]),ht._tiles&&ht._tiles.forEach(yt=>{yt._setStyle("top",null),yt._setStyle("height",null)})}}class B extends O{constructor(ht){super(),this._parseRatio(ht)}setRowStyles(ht,yt,wt,Z){this.baseTileHeight=this.getBaseTileSize(wt/this.rowHeightRatio,Z),ht._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,yt)),ht._setStyle("paddingTop",U(this.getTileSize(this.baseTileHeight,ht.rowspan)))}getComputedHeight(){return["paddingBottom",U(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(ht){ht._setListStyle(["paddingBottom",null]),ht._tiles.forEach(yt=>{yt._setStyle("marginTop",null),yt._setStyle("paddingTop",null)})}_parseRatio(ht){const yt=ht.split(":");this.rowHeightRatio=parseFloat(yt[0])/parseFloat(yt[1])}}class P extends O{setRowStyles(ht,yt){let dt=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);ht._setStyle("top",this.getTilePosition(dt,yt)),ht._setStyle("height",U(this.getTileSize(dt,ht.rowspan)))}reset(ht){ht._tiles&&ht._tiles.forEach(yt=>{yt._setStyle("top",null),yt._setStyle("height",null)})}}function U(lt){return`calc(${lt})`}function z(lt){return lt.match(/([A-Za-z%]+)$/)?lt:`${lt}px`}let it=(()=>{class lt{constructor(yt,wt){this._element=yt,this._dir=wt,this._gutter="1px"}get cols(){return this._cols}set cols(yt){this._cols=Math.max(1,Math.round((0,A.OE)(yt)))}get gutterSize(){return this._gutter}set gutterSize(yt){this._gutter=`${yt??""}`}get rowHeight(){return this._rowHeight}set rowHeight(yt){const wt=`${yt??""}`;wt!==this._rowHeight&&(this._rowHeight=wt,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(yt){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===yt?new P:yt&&yt.indexOf(":")>-1?new B(yt):new S(yt)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new h);const yt=this._tileCoordinator,wt=this._tiles.filter(dt=>!dt._gridList||dt._gridList===this),Z=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,wt),this._tileStyler.init(this.gutterSize,yt,this.cols,Z),wt.forEach((dt,ft)=>{const L=yt.positions[ft];this._tileStyler.setStyle(dt,L.row,L.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(yt){yt&&(this._element.nativeElement.style[yt[0]]=yt[1])}static{this.\u0275fac=function(wt){return new(wt||lt)(l.rXU(l.aKT),l.rXU(G.dS,8))}}static{this.\u0275cmp=l.VBU({type:lt,selectors:[["mat-grid-list"]],contentQueries:function(wt,Z,dt){if(1&wt&&l.wni(dt,m,5),2&wt){let ft;l.mGM(ft=l.lsd())&&(Z._tiles=ft)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(wt,Z){2&wt&&l.BMQ("cols",Z.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[l.Jv_([{provide:p,useExisting:lt}]),l.aNF],ngContentSelectors:t,decls:2,vars:0,template:function(wt,Z){1&wt&&(l.NAR(),l.j41(0,"div"),l.SdG(1),l.k0s())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return lt})(),rt=(()=>{class lt{static{this.\u0275fac=function(wt){return new(wt||lt)}}static{this.\u0275mod=l.$C({type:lt})}static{this.\u0275inj=l.G2t({imports:[k.Np,k.yE,k.Np,k.yE]})}}return lt})()},99213:(Rt,Tt,D)=>{"use strict";D.d(Tt,{An:()=>J,m_:()=>H});var l=D(54438),k=D(86600),A=D(60177),G=D(7673),t=D(18810),C=D(27468),g=D(18359),f=D(88141),h=D(96354),_=D(99437),p=D(70980),m=D(97647),F=D(96697),M=D(21626),y=D(345);const T=["*"];let I;function S(K){return function O(){if(void 0===I&&(I=null,typeof window<"u")){const K=window;void 0!==K.trustedTypes&&(I=K.trustedTypes.createPolicy("angular#components",{createHTML:tt=>tt}))}return I}()?.createHTML(K)||K}function B(K){return Error(`Unable to find icon with the name "${K}"`)}function U(K){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${K}".`)}function z(K){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${K}".`)}class nt{constructor(tt,ut,_t){this.url=tt,this.svgText=ut,this.options=_t}}let it=(()=>{class K{constructor(ut,_t,xt,Dt){this._httpClient=ut,this._sanitizer=_t,this._errorHandler=Dt,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","mat-ligature-font"],this._document=xt}addSvgIcon(ut,_t,xt){return this.addSvgIconInNamespace("",ut,_t,xt)}addSvgIconLiteral(ut,_t,xt){return this.addSvgIconLiteralInNamespace("",ut,_t,xt)}addSvgIconInNamespace(ut,_t,xt,Dt){return this._addSvgIconConfig(ut,_t,new nt(xt,null,Dt))}addSvgIconResolver(ut){return this._resolvers.push(ut),this}addSvgIconLiteralInNamespace(ut,_t,xt,Dt){const gt=this._sanitizer.sanitize(l.WPN.HTML,xt);if(!gt)throw z(xt);const Mt=S(gt);return this._addSvgIconConfig(ut,_t,new nt("",Mt,Dt))}addSvgIconSet(ut,_t){return this.addSvgIconSetInNamespace("",ut,_t)}addSvgIconSetLiteral(ut,_t){return this.addSvgIconSetLiteralInNamespace("",ut,_t)}addSvgIconSetInNamespace(ut,_t,xt){return this._addSvgIconSetConfig(ut,new nt(_t,null,xt))}addSvgIconSetLiteralInNamespace(ut,_t,xt){const Dt=this._sanitizer.sanitize(l.WPN.HTML,_t);if(!Dt)throw z(_t);const gt=S(Dt);return this._addSvgIconSetConfig(ut,new nt("",gt,xt))}registerFontClassAlias(ut,_t=ut){return this._fontCssClassesByAlias.set(ut,_t),this}classNameForFontAlias(ut){return this._fontCssClassesByAlias.get(ut)||ut}setDefaultFontSetClass(...ut){return this._defaultFontSetClass=ut,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ut){const _t=this._sanitizer.sanitize(l.WPN.RESOURCE_URL,ut);if(!_t)throw U(ut);const xt=this._cachedIconsByUrl.get(_t);return xt?(0,G.of)(lt(xt)):this._loadSvgIconFromConfig(new nt(ut,null)).pipe((0,f.M)(Dt=>this._cachedIconsByUrl.set(_t,Dt)),(0,h.T)(Dt=>lt(Dt)))}getNamedSvgIcon(ut,_t=""){const xt=ht(_t,ut);let Dt=this._svgIconConfigs.get(xt);if(Dt)return this._getSvgFromConfig(Dt);if(Dt=this._getIconConfigFromResolvers(_t,ut),Dt)return this._svgIconConfigs.set(xt,Dt),this._getSvgFromConfig(Dt);const gt=this._iconSetConfigs.get(_t);return gt?this._getSvgFromIconSetConfigs(ut,gt):(0,t.$)(B(xt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ut){return ut.svgText?(0,G.of)(lt(this._svgElementFromConfig(ut))):this._loadSvgIconFromConfig(ut).pipe((0,h.T)(_t=>lt(_t)))}_getSvgFromIconSetConfigs(ut,_t){const xt=this._extractIconWithNameFromAnySet(ut,_t);if(xt)return(0,G.of)(xt);const Dt=_t.filter(gt=>!gt.svgText).map(gt=>this._loadSvgIconSetFromConfig(gt).pipe((0,_.W)(Mt=>{const Q=`Loading icon set URL: ${this._sanitizer.sanitize(l.WPN.RESOURCE_URL,gt.url)} failed: ${Mt.message}`;return this._errorHandler.handleError(new Error(Q)),(0,G.of)(null)})));return(0,C.p)(Dt).pipe((0,h.T)(()=>{const gt=this._extractIconWithNameFromAnySet(ut,_t);if(!gt)throw B(ut);return gt}))}_extractIconWithNameFromAnySet(ut,_t){for(let xt=_t.length-1;xt>=0;xt--){const Dt=_t[xt];if(Dt.svgText&&Dt.svgText.toString().indexOf(ut)>-1){const gt=this._svgElementFromConfig(Dt),Mt=this._extractSvgIconFromSet(gt,ut,Dt.options);if(Mt)return Mt}}return null}_loadSvgIconFromConfig(ut){return this._fetchIcon(ut).pipe((0,f.M)(_t=>ut.svgText=_t),(0,h.T)(()=>this._svgElementFromConfig(ut)))}_loadSvgIconSetFromConfig(ut){return ut.svgText?(0,G.of)(null):this._fetchIcon(ut).pipe((0,f.M)(_t=>ut.svgText=_t))}_extractSvgIconFromSet(ut,_t,xt){const Dt=ut.querySelector(`[id="${_t}"]`);if(!Dt)return null;const gt=Dt.cloneNode(!0);if(gt.removeAttribute("id"),"svg"===gt.nodeName.toLowerCase())return this._setSvgAttributes(gt,xt);if("symbol"===gt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(gt),xt);const Mt=this._svgElementFromString(S(""));return Mt.appendChild(gt),this._setSvgAttributes(Mt,xt)}_svgElementFromString(ut){const _t=this._document.createElement("DIV");_t.innerHTML=ut;const xt=_t.querySelector("svg");if(!xt)throw Error(" tag not found");return xt}_toSvgElement(ut){const _t=this._svgElementFromString(S("")),xt=ut.attributes;for(let Dt=0;DtS(Q)),(0,p.j)(()=>this._inProgressUrlFetches.delete(gt)),(0,m.u)());return this._inProgressUrlFetches.set(gt,ot),ot}_addSvgIconConfig(ut,_t,xt){return this._svgIconConfigs.set(ht(ut,_t),xt),this}_addSvgIconSetConfig(ut,_t){const xt=this._iconSetConfigs.get(ut);return xt?xt.push(_t):this._iconSetConfigs.set(ut,[_t]),this}_svgElementFromConfig(ut){if(!ut.svgElement){const _t=this._svgElementFromString(ut.svgText);this._setSvgAttributes(_t,ut.options),ut.svgElement=_t}return ut.svgElement}_getIconConfigFromResolvers(ut,_t){for(let xt=0;xttt?tt.pathname+tt.search:""}}}),ft=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],L=ft.map(K=>`[${K}]`).join(", "),Y=/^url\(['"]?#(.*?)['"]?\)$/;let J=(()=>{class K{get color(){return this._color||this._defaultColor}set color(ut){this._color=ut}get svgIcon(){return this._svgIcon}set svgIcon(ut){ut!==this._svgIcon&&(ut?this._updateSvgIcon(ut):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ut)}get fontSet(){return this._fontSet}set fontSet(ut){const _t=this._cleanupFontValue(ut);_t!==this._fontSet&&(this._fontSet=_t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ut){const _t=this._cleanupFontValue(ut);_t!==this._fontIcon&&(this._fontIcon=_t,this._updateFontIconClasses())}constructor(ut,_t,xt,Dt,gt,Mt){this._elementRef=ut,this._iconRegistry=_t,this._location=Dt,this._errorHandler=gt,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=g.yU.EMPTY,Mt&&(Mt.color&&(this.color=this._defaultColor=Mt.color),Mt.fontSet&&(this.fontSet=Mt.fontSet)),xt||ut.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ut){if(!ut)return["",""];const _t=ut.split(":");switch(_t.length){case 1:return["",_t[0]];case 2:return _t;default:throw Error(`Invalid icon name: "${ut}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ut=this._elementsWithExternalReferences;if(ut&&ut.size){const _t=this._location.getPathname();_t!==this._previousPath&&(this._previousPath=_t,this._prependPathToReferences(_t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ut){this._clearSvgElement();const _t=this._location.getPathname();this._previousPath=_t,this._cacheChildrenWithExternalReferences(ut),this._prependPathToReferences(_t),this._elementRef.nativeElement.appendChild(ut)}_clearSvgElement(){const ut=this._elementRef.nativeElement;let _t=ut.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();_t--;){const xt=ut.childNodes[_t];(1!==xt.nodeType||"svg"===xt.nodeName.toLowerCase())&&xt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ut=this._elementRef.nativeElement,_t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(xt=>xt.length>0);this._previousFontSetClass.forEach(xt=>ut.classList.remove(xt)),_t.forEach(xt=>ut.classList.add(xt)),this._previousFontSetClass=_t,this.fontIcon!==this._previousFontIconClass&&!_t.includes("mat-ligature-font")&&(this._previousFontIconClass&&ut.classList.remove(this._previousFontIconClass),this.fontIcon&&ut.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ut){return"string"==typeof ut?ut.trim().split(" ")[0]:ut}_prependPathToReferences(ut){const _t=this._elementsWithExternalReferences;_t&&_t.forEach((xt,Dt)=>{xt.forEach(gt=>{Dt.setAttribute(gt.name,`url('${ut}#${gt.value}')`)})})}_cacheChildrenWithExternalReferences(ut){const _t=ut.querySelectorAll(L),xt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Dt=0;Dt<_t.length;Dt++)ft.forEach(gt=>{const Mt=_t[Dt],ot=Mt.getAttribute(gt),Q=ot?ot.match(Y):null;if(Q){let kt=xt.get(Mt);kt||(kt=[],xt.set(Mt,kt)),kt.push({name:gt,value:Q[1]})}})}_updateSvgIcon(ut){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ut){const[_t,xt]=this._splitIconName(ut);_t&&(this._svgNamespace=_t),xt&&(this._svgName=xt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(xt,_t).pipe((0,F.s)(1)).subscribe(Dt=>this._setSvgElement(Dt),Dt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${_t}:${xt}! ${Dt.message}`))})}}static{this.\u0275fac=function(_t){return new(_t||K)(l.rXU(l.aKT),l.rXU(it),l.kS0("aria-hidden"),l.rXU(Z),l.rXU(l.zcH),l.rXU(wt,8))}}static{this.\u0275cmp=l.VBU({type:K,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(_t,xt){2&_t&&(l.BMQ("data-mat-icon-type",xt._usingFontIcon()?"font":"svg")("data-mat-icon-name",xt._svgName||xt.fontIcon)("data-mat-icon-namespace",xt._svgNamespace||xt.fontSet)("fontIcon",xt._usingFontIcon()?xt.fontIcon:null),l.HbH(xt.color?"mat-"+xt.color:""),l.AVh("mat-icon-inline",xt.inline)("mat-icon-no-color","primary"!==xt.color&&"accent"!==xt.color&&"warn"!==xt.color))},inputs:{color:"color",inline:[l.Mj6.HasDecoratorInputTransform,"inline","inline",l.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[l.GFd,l.aNF],ngContentSelectors:T,decls:1,vars:0,template:function(_t,xt){1&_t&&(l.NAR(),l.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0})}}return K})(),H=(()=>{class K{static{this.\u0275fac=function(_t){return new(_t||K)}}static{this.\u0275mod=l.$C({type:K})}static{this.\u0275inj=l.G2t({imports:[k.yE,k.yE]})}}return K})()},59042:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Oh:()=>_,fS:()=>M,fg:()=>F});var l=D(14085),k=D(36860),A=D(37403),G=D(54438),t=D(89417),C=D(86600),g=D(32102),f=D(21413);const _=new G.nKC("MAT_INPUT_VALUE_ACCESSOR"),p=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let m=0,F=(()=>{class y{get disabled(){return this._disabled}set disabled(I){this._disabled=(0,l.he)(I),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(I){this._id=I||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(t.k0.required)??!1}set required(I){this._required=(0,l.he)(I)}get type(){return this._type}set type(I){this._type=I||"text",this._validateType(),!this._isTextarea&&(0,k.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(I){this._errorStateTracker.matcher=I}get value(){return this._inputValueAccessor.value}set value(I){I!==this.value&&(this._inputValueAccessor.value=I,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(I){this._readonly=(0,l.he)(I)}get errorState(){return this._errorStateTracker.errorState}set errorState(I){this._errorStateTracker.errorState=I}constructor(I,O,S,B,P,U,z,nt,it,rt){this._elementRef=I,this._platform=O,this.ngControl=S,this._autofillMonitor=nt,this._formField=rt,this._uid="mat-input-"+m++,this.focused=!1,this.stateChanges=new f.B,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(ht=>(0,k.MU)().has(ht)),this._iOSKeyupListener=ht=>{const yt=ht.target;!yt.value&&0===yt.selectionStart&&0===yt.selectionEnd&&(yt.setSelectionRange(1,1),yt.setSelectionRange(0,0))};const mt=this._elementRef.nativeElement,lt=mt.nodeName.toLowerCase();this._inputValueAccessor=z||mt,this._previousNativeValue=this.value,this.id=this.id,O.IOS&&it.runOutsideAngular(()=>{I.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new C.X0(U,S,P,B,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===lt,this._isTextarea="textarea"===lt,this._isInFormField=!!rt,this._isNativeSelect&&(this.controlType=mt.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(I=>{this.autofilled=I.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(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(I){this._elementRef.nativeElement.focus(I)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(I){I!==this.focused&&(this.focused=I,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const I=this._elementRef.nativeElement.value;this._previousNativeValue!==I&&(this._previousNativeValue=I,this.stateChanges.next())}_dirtyCheckPlaceholder(){const I=this._getPlaceholder();if(I!==this._previousPlaceholder){const O=this._elementRef.nativeElement;this._previousPlaceholder=I,I?O.setAttribute("placeholder",I):O.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){p.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let I=this._elementRef.nativeElement.validity;return I&&I.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const I=this._elementRef.nativeElement,O=I.options[0];return this.focused||I.multiple||!this.empty||!!(I.selectedIndex>-1&&O&&O.label)}return this.focused||!this.empty}setDescribedByIds(I){I.length?this._elementRef.nativeElement.setAttribute("aria-describedby",I.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const I=this._elementRef.nativeElement;return this._isNativeSelect&&(I.multiple||I.size>1)}static{this.\u0275fac=function(O){return new(O||y)(G.rXU(G.aKT),G.rXU(k.OD),G.rXU(t.vO,10),G.rXU(t.cV,8),G.rXU(t.j4,8),G.rXU(C.es),G.rXU(_,10),G.rXU(A.P8),G.rXU(G.SKi),G.rXU(g.xb,8))}}static{this.\u0275dir=G.FsC({type:y,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(O,S){1&O&&G.bIt("focus",function(){return S._focusChanged(!0)})("blur",function(){return S._focusChanged(!1)})("input",function(){return S._onInput()}),2&O&&(G.Mr5("id",S.id)("disabled",S.disabled)("required",S.required),G.BMQ("name",S.name||null)("readonly",S.readonly&&!S._isNativeSelect||null)("aria-invalid",S.empty&&S.required?null:S.errorState)("aria-required",S.required)("id",S.id),G.AVh("mat-input-server",S._isServer)("mat-mdc-form-field-textarea-control",S._isInFormField&&S._isTextarea)("mat-mdc-form-field-input-control",S._isInFormField)("mdc-text-field__input",S._isInFormField)("mat-mdc-native-select-inline",S._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[G.Mj6.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[G.Jv_([{provide:g.qT,useExisting:y}]),G.OA$]})}}return y})(),M=(()=>{class y{static{this.\u0275fac=function(O){return new(O||y)}}static{this.\u0275mod=G.$C({type:y})}static{this.\u0275inj=G.G2t({imports:[C.yE,g.RG,g.RG,A.EE,C.yE]})}}return y})()},3902:(Rt,Tt,D)=>{"use strict";D.d(Tt,{EI:()=>Jt,Fg:()=>oe,YE:()=>Bt,_L:()=>be,jt:()=>Qt});var l=D(54438),k=D(14085),A=D(36860),G=D(86600),t=D(18359),C=D(57786),f=(D(21413),D(72318)),h=D(60177),_=D(71997);D(18617),D(45024),D(67336),D(89417),D(56977);const T=["*"],I='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::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 a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}',O=["unscopedContent"],S=["text"],B=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],P=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],K=new l.nKC("ListOption");let tt=(()=>{class _e{constructor(ve){this._elementRef=ve}static{this.\u0275fac=function(De){return new(De||_e)(l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:_e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0})}}return _e})(),ut=(()=>{class _e{constructor(ve){this._elementRef=ve}static{this.\u0275fac=function(De){return new(De||_e)(l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:_e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0})}}return _e})(),_t=(()=>{class _e{static{this.\u0275fac=function(De){return new(De||_e)}}static{this.\u0275dir=l.FsC({type:_e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0})}}return _e})(),xt=(()=>{class _e{constructor(ve){this._listOption=ve}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static{this.\u0275fac=function(De){return new(De||_e)(l.rXU(K,8))}}static{this.\u0275dir=l.FsC({type:_e,hostVars:4,hostBindings:function(De,Le){2&De&&l.AVh("mdc-list-item__start",Le._isAlignedAtStart())("mdc-list-item__end",!Le._isAlignedAtStart())},standalone:!0})}}return _e})(),Dt=(()=>{class _e extends xt{static{this.\u0275fac=(()=>{let ve;return function(Le){return(ve||(ve=l.xGo(_e)))(Le||_e)}})()}static{this.\u0275dir=l.FsC({type:_e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[l.Vt3]})}}return _e})(),gt=(()=>{class _e extends xt{static{this.\u0275fac=(()=>{let ve;return function(Le){return(ve||(ve=l.xGo(_e)))(Le||_e)}})()}static{this.\u0275dir=l.FsC({type:_e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[l.Vt3]})}}return _e})();const Mt=new l.nKC("MAT_LIST_CONFIG");let ot=(()=>{class _e{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,l.WQX)(Mt,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(ve){this._disableRipple=(0,k.he)(ve)}get disabled(){return this._disabled}set disabled(ve){this._disabled=(0,k.he)(ve)}static{this.\u0275fac=function(De){return new(De||_e)}}static{this.\u0275dir=l.FsC({type:_e,hostVars:1,hostBindings:function(De,Le){2&De&&l.BMQ("aria-disabled",Le.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return _e})(),Q=(()=>{class _e{set lines(ve){this._explicitLines=(0,k.OE)(ve,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(ve){this._disableRipple=(0,k.he)(ve)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(ve){this._disabled=(0,k.he)(ve)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(ve,De,Le,Fn,Ln,Qn){this._elementRef=ve,this._ngZone=De,this._listBase=Le,this._platform=Fn,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new t.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=Ln||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Qn,Le&&!Le._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new G.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,C.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(ve){if(!this._lines||!this._titles||!this._unscopedContent)return;ve&&this._checkDomForUnscopedTextContent();const De=this._explicitLines??this._inferLinesFromContent(),Le=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",De<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",De<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===De),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===De),this._hasUnscopedTextContent){const Fn=0===this._titles.length&&1===De;Le.classList.toggle("mdc-list-item__primary-text",Fn),Le.classList.toggle("mdc-list-item__secondary-text",!Fn)}else Le.classList.remove("mdc-list-item__primary-text"),Le.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let ve=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(ve+=1),ve}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(ve=>ve.nodeType!==ve.COMMENT_NODE).some(ve=>!(!ve.textContent||!ve.textContent.trim()))}static{this.\u0275fac=function(De){return new(De||_e)(l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(ot,8),l.rXU(A.OD),l.rXU(G.$E,8),l.rXU(l.bc$,8))}}static{this.\u0275dir=l.FsC({type:_e,contentQueries:function(De,Le,Fn){if(1&De&&(l.wni(Fn,Dt,4),l.wni(Fn,gt,4)),2&De){let Ln;l.mGM(Ln=l.lsd())&&(Le._avatars=Ln),l.mGM(Ln=l.lsd())&&(Le._icons=Ln)}},hostVars:4,hostBindings:function(De,Le){2&De&&(l.BMQ("aria-disabled",Le.disabled)("disabled",Le._isButtonElement&&Le.disabled||null),l.AVh("mdc-list-item--disabled",Le.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return _e})(),Qt=(()=>{class _e extends ot{static{this.\u0275fac=(()=>{let ve;return function(Le){return(ve||(ve=l.xGo(_e)))(Le||_e)}})()}static{this.\u0275cmp=l.VBU({type:_e,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[l.Jv_([{provide:ot,useExisting:_e}]),l.Vt3,l.aNF],ngContentSelectors:T,decls:1,vars:0,template:function(De,Le){1&De&&(l.NAR(),l.SdG(0))},styles:[I],encapsulation:2,changeDetection:0})}}return _e})(),Bt=(()=>{class _e extends Q{get activated(){return this._activated}set activated(ve){this._activated=(0,k.he)(ve)}constructor(ve,De,Le,Fn,Ln,Qn){super(ve,De,Le,Fn,Ln,Qn),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static{this.\u0275fac=function(De){return new(De||_e)(l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(ot,8),l.rXU(A.OD),l.rXU(G.$E,8),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:_e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(De,Le,Fn){if(1&De&&(l.wni(Fn,ut,5),l.wni(Fn,tt,5),l.wni(Fn,_t,5)),2&De){let Ln;l.mGM(Ln=l.lsd())&&(Le._lines=Ln),l.mGM(Ln=l.lsd())&&(Le._titles=Ln),l.mGM(Ln=l.lsd())&&(Le._meta=Ln)}},viewQuery:function(De,Le){if(1&De&&(l.GBs(O,5),l.GBs(S,5)),2&De){let Fn;l.mGM(Fn=l.lsd())&&(Le._unscopedContent=Fn.first),l.mGM(Fn=l.lsd())&&(Le._itemText=Fn.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(De,Le){2&De&&(l.BMQ("aria-current",Le._getAriaCurrent()),l.AVh("mdc-list-item--activated",Le.activated)("mdc-list-item--with-leading-avatar",0!==Le._avatars.length)("mdc-list-item--with-leading-icon",0!==Le._icons.length)("mdc-list-item--with-trailing-meta",0!==Le._meta.length)("_mat-animation-noopable",Le._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[l.Vt3,l.aNF],ngContentSelectors:P,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-mdc-focus-indicator"]],template:function(De,Le){if(1&De){const Fn=l.RV6();l.NAR(B),l.SdG(0),l.j41(1,"span",1),l.SdG(2,1),l.SdG(3,2),l.j41(4,"span",2,0),l.bIt("cdkObserveContent",function(){return l.eBV(Fn),l.Njj(Le._updateItemLines(!0))}),l.SdG(6,3),l.k0s()(),l.SdG(7,4),l.SdG(8,5),l.nrm(9,"div",3)}},dependencies:[f.Wv],encapsulation:2,changeDetection:0})}}return _e})(),Jt=(()=>{class _e{static{this.\u0275fac=function(De){return new(De||_e)}}static{this.\u0275dir=l.FsC({type:_e,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"],standalone:!0})}}return _e})(),be=(()=>{class _e extends ot{constructor(){super(...arguments),this._isNonInteractive=!1}static{this.\u0275fac=(()=>{let ve;return function(Le){return(ve||(ve=l.xGo(_e)))(Le||_e)}})()}static{this.\u0275cmp=l.VBU({type:_e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],standalone:!0,features:[l.Jv_([{provide:ot,useExisting:_e}]),l.Vt3,l.aNF],ngContentSelectors:T,decls:1,vars:0,template:function(De,Le){1&De&&(l.NAR(),l.SdG(0))},styles:[I],encapsulation:2,changeDetection:0})}}return _e})(),oe=(()=>{class _e{static{this.\u0275fac=function(De){return new(De||_e)}}static{this.\u0275mod=l.$C({type:_e})}static{this.\u0275inj=l.G2t({imports:[f.w5,h.MD,G.yE,G.pZ,G.O5,_.w]})}}return _e})()},59115:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Cn:()=>kt,Cp:()=>Q,fb:()=>yt,kk:()=>_t});var l=D(54438),k=D(18617),A=D(67336),G=D(21413),t=D(57786),C=D(18359),g=D(7673),f=D(25007),h=D(99172),_=D(25558),p=D(96697),m=D(56977),F=D(5964),M=D(91986),y=D(60177),T=D(86600),I=D(76939),O=D(49969),S=D(28203),B=D(66969),P=D(36860),U=D(65478);const z=["mat-menu-item",""],nt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],it=["mat-icon, [matMenuItemIcon]","*"];function rt(Xt,Ie){1&Xt&&(l.qSk(),l.j41(0,"svg",2),l.nrm(1,"polygon",3),l.k0s())}const mt=["*"];function lt(Xt,Ie){if(1&Xt){const Qt=l.RV6();l.j41(0,"div",0),l.bIt("keydown",function(St){l.eBV(Qt);const Nt=l.XpG();return l.Njj(Nt._handleKeydown(St))})("click",function(){l.eBV(Qt);const St=l.XpG();return l.Njj(St.closed.emit("click"))})("@transformMenu.start",function(St){l.eBV(Qt);const Nt=l.XpG();return l.Njj(Nt._onAnimationStart(St))})("@transformMenu.done",function(St){l.eBV(Qt);const Nt=l.XpG();return l.Njj(Nt._onAnimationDone(St))}),l.j41(1,"div",1),l.SdG(2),l.k0s()()}if(2&Xt){const Qt=l.XpG();l.HbH(Qt._classList),l.Y8G("id",Qt.panelId)("@transformMenu",Qt._panelAnimationState),l.BMQ("aria-label",Qt.ariaLabel||null)("aria-labelledby",Qt.ariaLabelledby||null)("aria-describedby",Qt.ariaDescribedby||null)}}const ht=new l.nKC("MAT_MENU_PANEL");let yt=(()=>{class Xt{constructor(Qt,Bt,St,Nt,Jt){this._elementRef=Qt,this._document=Bt,this._focusMonitor=St,this._parentMenu=Nt,this._changeDetectorRef=Jt,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new G.B,this._focused=new G.B,this._highlighted=!1,this._triggersSubmenu=!1,Nt?.addItem?.(this)}focus(Qt,Bt){this._focusMonitor&&Qt?this._focusMonitor.focusVia(this._getHostElement(),Qt,Bt):this._getHostElement().focus(Bt),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Qt){this.disabled&&(Qt.preventDefault(),Qt.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Qt=this._elementRef.nativeElement.cloneNode(!0),Bt=Qt.querySelectorAll("mat-icon, .material-icons");for(let St=0;St enter",(0,O.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,O.iF)({opacity:1,transform:"scale(1)"}))),(0,O.kY)("* => void",(0,O.i0)("100ms 25ms linear",(0,O.iF)({opacity:0})))]),fadeInItems:(0,O.hZ)("fadeInItems",[(0,O.wk)("showing",(0,O.iF)({opacity:1})),(0,O.kY)("void => *",[(0,O.iF)({opacity:0}),(0,O.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let K=0;const tt=new l.nKC("mat-menu-default-options",{providedIn:"root",factory:function ut(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let _t=(()=>{class Xt{get xPosition(){return this._xPosition}set xPosition(Qt){this._xPosition=Qt,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Qt){this._yPosition=Qt,this.setPositionClasses()}set panelClass(Qt){const Bt=this._previousPanelClass,St={...this._classList};Bt&&Bt.length&&Bt.split(" ").forEach(Nt=>{St[Nt]=!1}),this._previousPanelClass=Qt,Qt&&Qt.length&&(Qt.split(" ").forEach(Nt=>{St[Nt]=!0}),this._elementRef.nativeElement.className=""),this._classList=St}get classList(){return this.panelClass}set classList(Qt){this.panelClass=Qt}constructor(Qt,Bt,St,Nt){this._elementRef=Qt,this._ngZone=Bt,this._changeDetectorRef=Nt,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new l.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new G.B,this.closed=new l.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+K++,this.overlayPanelClass=St.overlayPanelClass||"",this._xPosition=St.xPosition,this._yPosition=St.yPosition,this.backdropClass=St.backdropClass,this.overlapTrigger=St.overlapTrigger,this.hasBackdrop=St.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new k.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.Z)(this._directDescendantItems),(0,_.n)(Qt=>(0,t.h)(...Qt.map(Bt=>Bt._focused)))).subscribe(Qt=>this._keyManager.updateActiveItem(Qt)),this._directDescendantItems.changes.subscribe(Qt=>{const Bt=this._keyManager;if("enter"===this._panelAnimationState&&Bt.activeItem?._hasFocus()){const St=Qt.toArray(),Nt=Math.max(0,Math.min(St.length-1,Bt.activeItemIndex||0));St[Nt]&&!St[Nt].disabled?Bt.setActiveItem(Nt):Bt.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.Z)(this._directDescendantItems),(0,_.n)(Bt=>(0,t.h)(...Bt.map(St=>St._hovered))))}addItem(Qt){}removeItem(Qt){}_handleKeydown(Qt){const Bt=Qt.keyCode,St=this._keyManager;switch(Bt){case A._f:(0,A.rp)(Qt)||(Qt.preventDefault(),this.closed.emit("keydown"));break;case A.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case A.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Bt===A.i7||Bt===A.n6)&&St.setFocusOrigin("keyboard"),void St.onKeydown(Qt)}Qt.stopPropagation()}focusFirstItem(Qt="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,p.s)(1)).subscribe(()=>{let Bt=null;if(this._directDescendantItems.length&&(Bt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Bt||!Bt.contains(document.activeElement)){const St=this._keyManager;St.setFocusOrigin(Qt).setFirstItemActive(),!St.activeItem&&Bt&&Bt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Qt){const Bt=Math.min(this._baseElevation+Qt,24),St=`${this._elevationPrefix}${Bt}`,Nt=Object.keys(this._classList).find(Jt=>Jt.startsWith(this._elevationPrefix));if(!Nt||Nt===this._previousElevation){const Jt={...this._classList};this._previousElevation&&(Jt[this._previousElevation]=!1),Jt[St]=!0,this._previousElevation=St,this._classList=Jt}}setPositionClasses(Qt=this.xPosition,Bt=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Qt,"mat-menu-after":"after"===Qt,"mat-menu-above":"above"===Bt,"mat-menu-below":"below"===Bt},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Qt){this._animationDone.next(Qt),this._isAnimating=!1}_onAnimationStart(Qt){this._isAnimating=!0,"enter"===Qt.toState&&0===this._keyManager.activeItemIndex&&(Qt.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.Z)(this._allItems)).subscribe(Qt=>{this._directDescendantItems.reset(Qt.filter(Bt=>Bt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Bt){return new(Bt||Xt)(l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(tt),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:Xt,selectors:[["mat-menu"]],contentQueries:function(Bt,St,Nt){if(1&Bt&&(l.wni(Nt,ft,5),l.wni(Nt,yt,5),l.wni(Nt,yt,4)),2&Bt){let Jt;l.mGM(Jt=l.lsd())&&(St.lazyContent=Jt.first),l.mGM(Jt=l.lsd())&&(St._allItems=Jt),l.mGM(Jt=l.lsd())&&(St.items=Jt)}},viewQuery:function(Bt,St){if(1&Bt&&l.GBs(l.C4Q,5),2&Bt){let Nt;l.mGM(Nt=l.lsd())&&(St.templateRef=Nt.first)}},hostVars:3,hostBindings:function(Bt,St){2&Bt&&l.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Mj6.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[l.Mj6.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[l.Mj6.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",l.L39],hasBackdrop:[l.Mj6.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",Qt=>null==Qt?null:(0,l.L39)(Qt)],panelClass:[l.Mj6.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[l.Jv_([{provide:ht,useExisting:Xt}]),l.GFd,l.aNF],ngContentSelectors:mt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Bt,St){1&Bt&&(l.NAR(),l.DNE(0,lt,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Y.transformMenu,Y.fadeInItems]},changeDetection:0})}}return Xt})();const xt=new l.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Xt=(0,l.WQX)(B.hJ);return()=>Xt.scrollStrategies.reposition()}}),gt={provide:xt,deps:[B.hJ],useFactory:function Dt(Xt){return()=>Xt.scrollStrategies.reposition()}},Mt=(0,P.BQ)({passive:!0});let Q=(()=>{class Xt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Qt){this.menu=Qt}get menu(){return this._menu}set menu(Qt){Qt!==this._menu&&(this._menu=Qt,this._menuCloseSubscription.unsubscribe(),Qt&&(this._menuCloseSubscription=Qt.close.subscribe(Bt=>{this._destroyMenu(Bt),("click"===Bt||"tab"===Bt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Bt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Qt,Bt,St,Nt,Jt,se,be,Me,ae){this._overlay=Qt,this._element=Bt,this._viewContainerRef=St,this._menuItemInstance=se,this._dir=be,this._focusMonitor=Me,this._ngZone=ae,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=C.yU.EMPTY,this._hoverSubscription=C.yU.EMPTY,this._menuCloseSubscription=C.yU.EMPTY,this._changeDetectorRef=(0,l.WQX)(l.gRc),this._handleTouchStart=Yt=>{(0,k.w6)(Yt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new l.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new l.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=Nt,this._parentMaterialMenu=Jt instanceof _t?Jt:void 0,Bt.nativeElement.addEventListener("touchstart",this._handleTouchStart,Mt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Mt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Qt=this.menu;if(this._menuOpen||!Qt)return;const Bt=this._createOverlay(Qt),St=Bt.getConfig(),Nt=St.positionStrategy;this._setPosition(Qt,Nt),St.hasBackdrop=null==Qt.hasBackdrop?!this.triggersSubmenu():Qt.hasBackdrop,Bt.attach(this._getPortal(Qt)),Qt.lazyContent&&Qt.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Qt),Qt instanceof _t&&(Qt._startAnimation(),Qt._directDescendantItems.changes.pipe((0,m.Q)(Qt.close)).subscribe(()=>{Nt.withLockedPosition(!1).reapplyLastPosition(),Nt.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Qt,Bt){this._focusMonitor&&Qt?this._focusMonitor.focusVia(this._element,Qt,Bt):this._element.nativeElement.focus(Bt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Qt){if(!this._overlayRef||!this.menuOpen)return;const Bt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Qt||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Bt instanceof _t?(Bt._resetAnimation(),Bt.lazyContent?Bt._animationDone.pipe((0,F.p)(St=>"void"===St.toState),(0,p.s)(1),(0,m.Q)(Bt.lazyContent._attached)).subscribe({next:()=>Bt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Bt?.lazyContent?.detach())}_initMenu(Qt){Qt.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Qt.direction=this.dir,this._setMenuElevation(Qt),Qt.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Qt){if(Qt.setElevation){let Bt=0,St=Qt.parentMenu;for(;St;)Bt++,St=St.parentMenu;Qt.setElevation(Bt)}}_setIsMenuOpen(Qt){Qt!==this._menuOpen&&(this._menuOpen=Qt,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Qt),this._changeDetectorRef.markForCheck())}_createOverlay(Qt){if(!this._overlayRef){const Bt=this._getOverlayConfig(Qt);this._subscribeToPositions(Qt,Bt.positionStrategy),this._overlayRef=this._overlay.create(Bt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Qt){return new B.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Qt.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Qt.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Qt,Bt){Qt.setPositionClasses&&Bt.positionChanges.subscribe(St=>{const Nt="start"===St.connectionPair.overlayX?"after":"before",Jt="top"===St.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Qt.setPositionClasses(Nt,Jt)):Qt.setPositionClasses(Nt,Jt)})}_setPosition(Qt,Bt){let[St,Nt]="before"===Qt.xPosition?["end","start"]:["start","end"],[Jt,se]="above"===Qt.yPosition?["bottom","top"]:["top","bottom"],[be,Me]=[Jt,se],[ae,Yt]=[St,Nt],oe=0;if(this.triggersSubmenu()){if(Yt=St="before"===Qt.xPosition?"start":"end",Nt=ae="end"===St?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const _e=this._parentMaterialMenu.items.first;this._parentInnerPadding=_e?_e._getHostElement().offsetTop:0}oe="bottom"===Jt?this._parentInnerPadding:-this._parentInnerPadding}}else Qt.overlapTrigger||(be="top"===Jt?"bottom":"top",Me="top"===se?"bottom":"top");Bt.withPositions([{originX:St,originY:be,overlayX:ae,overlayY:Jt,offsetY:oe},{originX:Nt,originY:be,overlayX:Yt,overlayY:Jt,offsetY:oe},{originX:St,originY:Me,overlayX:ae,overlayY:se,offsetY:-oe},{originX:Nt,originY:Me,overlayX:Yt,overlayY:se,offsetY:-oe}])}_menuClosingActions(){const Qt=this._overlayRef.backdropClick(),Bt=this._overlayRef.detachments(),St=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,g.of)(),Nt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,F.p)(Jt=>Jt!==this._menuItemInstance),(0,F.p)(()=>this._menuOpen)):(0,g.of)();return(0,t.h)(Qt,St,Nt,Bt)}_handleMousedown(Qt){(0,k._G)(Qt)||(this._openedBy=0===Qt.button?"mouse":void 0,this.triggersSubmenu()&&Qt.preventDefault())}_handleKeydown(Qt){const Bt=Qt.keyCode;(Bt===A.Fm||Bt===A.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Bt===A.LE&&"ltr"===this.dir||Bt===A.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Qt){this.triggersSubmenu()?(Qt.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,F.p)(Qt=>Qt===this._menuItemInstance&&!Qt.disabled),(0,M.c)(0,f.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof _t&&this.menu._isAnimating?this.menu._animationDone.pipe((0,p.s)(1),(0,M.c)(0,f.$),(0,m.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Qt){return(!this._portal||this._portal.templateRef!==Qt.templateRef)&&(this._portal=new I.VA(Qt.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Bt){return new(Bt||Xt)(l.rXU(B.hJ),l.rXU(l.aKT),l.rXU(l.c1b),l.rXU(xt),l.rXU(ht,8),l.rXU(yt,10),l.rXU(S.dS,8),l.rXU(k.FN),l.rXU(l.SKi))}}static{this.\u0275dir=l.FsC({type:Xt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Bt,St){1&Bt&&l.bIt("click",function(Jt){return St._handleClick(Jt)})("mousedown",function(Jt){return St._handleMousedown(Jt)})("keydown",function(Jt){return St._handleKeydown(Jt)}),2&Bt&&l.BMQ("aria-haspopup",St.menu?"menu":null)("aria-expanded",St.menuOpen)("aria-controls",St.menuOpen?St.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[l.Mj6.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[l.Mj6.None,"matMenuTriggerFor","menu"],menuData:[l.Mj6.None,"matMenuTriggerData","menuData"],restoreFocus:[l.Mj6.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return Xt})(),kt=(()=>{class Xt{static{this.\u0275fac=function(Bt){return new(Bt||Xt)}}static{this.\u0275mod=l.$C({type:Xt})}static{this.\u0275inj=l.G2t({providers:[gt],imports:[y.MD,T.pZ,T.yE,B.z_,U.Gj,T.yE]})}}return Xt})()},96695:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Ou:()=>z,iy:()=>U});var l=D(54438),k=D(21413),A=D(92771),G=D(88834),t=D(82798),C=D(14823),g=D(86600),f=D(32102);function h(nt,it){if(1&nt&&(l.j41(0,"mat-option",16),l.EFF(1),l.k0s()),2&nt){const rt=it.$implicit;l.Y8G("value",rt),l.R7$(),l.SpI(" ",rt," ")}}function _(nt,it){if(1&nt){const rt=l.RV6();l.j41(0,"mat-form-field",13)(1,"mat-select",15),l.bIt("selectionChange",function(lt){l.eBV(rt);const ht=l.XpG(2);return l.Njj(ht._changePageSize(lt.value))}),l.Z7z(2,h,2,2,"mat-option",16,l.fX1),l.k0s()()}if(2&nt){const rt=l.XpG(2);l.Y8G("appearance",rt._formFieldAppearance)("color",rt.color),l.R7$(),l.Y8G("value",rt.pageSize)("disabled",rt.disabled)("aria-labelledby",rt._pageSizeLabelId)("panelClass",rt.selectConfig.panelClass||"")("disableOptionCentering",rt.selectConfig.disableOptionCentering),l.R7$(),l.Dyx(rt._displayedPageSizeOptions)}}function p(nt,it){if(1&nt&&(l.j41(0,"div",14),l.EFF(1),l.k0s()),2&nt){const rt=l.XpG(2);l.R7$(),l.JRh(rt.pageSize)}}function m(nt,it){if(1&nt&&(l.j41(0,"div",2)(1,"div",12),l.EFF(2),l.k0s(),l.DNE(3,_,4,7,"mat-form-field",13)(4,p,2,1,"div",14),l.k0s()),2&nt){const rt=l.XpG();l.R7$(),l.BMQ("id",rt._pageSizeLabelId),l.R7$(),l.SpI(" ",rt._intl.itemsPerPageLabel," "),l.R7$(),l.vxM(3,rt._displayedPageSizeOptions.length>1?3:-1),l.R7$(),l.vxM(4,rt._displayedPageSizeOptions.length<=1?4:-1)}}function F(nt,it){if(1&nt){const rt=l.RV6();l.j41(0,"button",17),l.bIt("click",function(){l.eBV(rt);const lt=l.XpG();return l.Njj(lt.firstPage())}),l.qSk(),l.j41(1,"svg",7),l.nrm(2,"path",18),l.k0s()()}if(2&nt){const rt=l.XpG();l.Y8G("matTooltip",rt._intl.firstPageLabel)("matTooltipDisabled",rt._previousButtonsDisabled())("matTooltipPosition","above")("disabled",rt._previousButtonsDisabled()),l.BMQ("aria-label",rt._intl.firstPageLabel)}}function M(nt,it){if(1&nt){const rt=l.RV6();l.j41(0,"button",19),l.bIt("click",function(){l.eBV(rt);const lt=l.XpG();return l.Njj(lt.lastPage())}),l.qSk(),l.j41(1,"svg",7),l.nrm(2,"path",20),l.k0s()()}if(2&nt){const rt=l.XpG();l.Y8G("matTooltip",rt._intl.lastPageLabel)("matTooltipDisabled",rt._nextButtonsDisabled())("matTooltipPosition","above")("disabled",rt._nextButtonsDisabled()),l.BMQ("aria-label",rt._intl.lastPageLabel)}}let y=(()=>{class nt{constructor(){this.changes=new k.B,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(rt,mt,lt)=>{if(0==lt||0==mt)return`0 of ${lt}`;const ht=rt*mt;return`${ht+1} \u2013 ${ht<(lt=Math.max(lt,0))?Math.min(ht+mt,lt):ht+mt} of ${lt}`}}static{this.\u0275fac=function(mt){return new(mt||nt)}}static{this.\u0275prov=l.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();const I={provide:y,deps:[[new l.Xx1,new l.kdw,y]],useFactory:function T(nt){return nt||new y}},B=new l.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let P=0,U=(()=>{class nt{get pageIndex(){return this._pageIndex}set pageIndex(rt){this._pageIndex=Math.max(rt||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(rt){this._length=rt||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(rt){this._pageSize=Math.max(rt||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(rt){this._pageSizeOptions=(rt||[]).map(mt=>(0,l.Udg)(mt,0)),this._updateDisplayedPageSizeOptions()}constructor(rt,mt,lt){if(this._intl=rt,this._changeDetectorRef=mt,this._pageSizeLabelId="mat-paginator-page-size-label-"+P++,this._isInitialized=!1,this._initializedStream=new A.m(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new l.bkB,this.initialized=this._initializedStream,this._intlChanges=rt.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),lt){const{pageSize:ht,pageSizeOptions:yt,hidePageSize:wt,showFirstLastButtons:Z}=lt;null!=ht&&(this._pageSize=ht),null!=yt&&(this._pageSizeOptions=yt),null!=wt&&(this.hidePageSize=wt),null!=Z&&(this.showFirstLastButtons=Z)}this._formFieldAppearance=lt?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const rt=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(rt)}previousPage(){if(!this.hasPreviousPage())return;const rt=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(rt)}firstPage(){if(!this.hasPreviousPage())return;const rt=this.pageIndex;this.pageIndex=0,this._emitPageEvent(rt)}lastPage(){if(!this.hasNextPage())return;const rt=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(rt)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const rt=this.getNumberOfPages()-1;return this.pageIndexrt-mt),this._changeDetectorRef.markForCheck())}_emitPageEvent(rt){this.page.emit({previousPageIndex:rt,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static{this.\u0275fac=function(mt){return new(mt||nt)(l.rXU(y),l.rXU(l.gRc),l.rXU(B,8))}}static{this.\u0275cmp=l.VBU({type:nt,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[l.Mj6.HasDecoratorInputTransform,"pageIndex","pageIndex",l.Udg],length:[l.Mj6.HasDecoratorInputTransform,"length","length",l.Udg],pageSize:[l.Mj6.HasDecoratorInputTransform,"pageSize","pageSize",l.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[l.Mj6.HasDecoratorInputTransform,"hidePageSize","hidePageSize",l.L39],showFirstLastButtons:[l.Mj6.HasDecoratorInputTransform,"showFirstLastButtons","showFirstLastButtons",l.L39],selectConfig:"selectConfig",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[l.GFd,l.aNF],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(mt,lt){1&mt&&(l.j41(0,"div",0)(1,"div",1),l.DNE(2,m,5,4,"div",2),l.j41(3,"div",3)(4,"div",4),l.EFF(5),l.k0s(),l.DNE(6,F,3,5,"button",5),l.j41(7,"button",6),l.bIt("click",function(){return lt.previousPage()}),l.qSk(),l.j41(8,"svg",7),l.nrm(9,"path",8),l.k0s()(),l.joV(),l.j41(10,"button",9),l.bIt("click",function(){return lt.nextPage()}),l.qSk(),l.j41(11,"svg",7),l.nrm(12,"path",10),l.k0s()(),l.DNE(13,M,3,5,"button",11),l.k0s()()()),2&mt&&(l.R7$(2),l.vxM(2,lt.hidePageSize?-1:2),l.R7$(3),l.SpI(" ",lt._intl.getRangeLabel(lt.pageIndex,lt.pageSize,lt.length)," "),l.R7$(),l.vxM(6,lt.showFirstLastButtons?6:-1),l.R7$(),l.Y8G("matTooltip",lt._intl.previousPageLabel)("matTooltipDisabled",lt._previousButtonsDisabled())("matTooltipPosition","above")("disabled",lt._previousButtonsDisabled()),l.BMQ("aria-label",lt._intl.previousPageLabel),l.R7$(3),l.Y8G("matTooltip",lt._intl.nextPageLabel)("matTooltipDisabled",lt._nextButtonsDisabled())("matTooltipPosition","above")("disabled",lt._nextButtonsDisabled()),l.BMQ("aria-label",lt._intl.nextPageLabel),l.R7$(3),l.vxM(13,lt.showFirstLastButtons?13:-1))},dependencies:[f.rl,t.VO,g.wT,G.iY,C.oV],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return nt})(),z=(()=>{class nt{static{this.\u0275fac=function(mt){return new(mt||nt)}}static{this.\u0275mod=l.$C({type:nt})}static{this.\u0275inj=l.G2t({providers:[I],imports:[G.Hl,t.Ve,C.uc,U]})}}return nt})()},67575:(Rt,Tt,D)=>{"use strict";D.d(Tt,{HM:()=>f,PO:()=>_});var l=D(54438),A=(D(60177),D(86600));function G(p,m){1&p&&l.nrm(0,"div",2)}const t=new l.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let f=(()=>{class p{constructor(F,M,y,T,I){this._elementRef=F,this._ngZone=M,this._changeDetectorRef=y,this._animationMode=T,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new l.bkB,this._mode="determinate",this._transitionendHandler=O=>{0===this.animationEnd.observers.length||!O.target||!O.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===T,I&&(I.color&&(this.color=this._defaultColor=I.color),this.mode=I.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(F){this._color=F}get value(){return this._value}set value(F){this._value=h(F||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(F){this._bufferValue=h(F||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(F){this._mode=F,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static{this.\u0275fac=function(M){return new(M||p)(l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.gRc),l.rXU(l.bc$,8),l.rXU(t,8))}}static{this.\u0275cmp=l.VBU({type:p,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(M,y){2&M&&(l.BMQ("aria-valuenow",y._isIndeterminate()?null:y.value)("mode",y.mode),l.HbH("mat-"+y.color),l.AVh("_mat-animation-noopable",y._isNoopAnimation)("mdc-linear-progress--animation-ready",!y._isNoopAnimation)("mdc-linear-progress--indeterminate",y._isIndeterminate()))},inputs:{color:"color",value:[l.Mj6.HasDecoratorInputTransform,"value","value",l.Udg],bufferValue:[l.Mj6.HasDecoratorInputTransform,"bufferValue","bufferValue",l.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[l.GFd,l.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(M,y){1&M&&(l.j41(0,"div",0),l.nrm(1,"div",1),l.DNE(2,G,1,0,"div",2),l.k0s(),l.j41(3,"div",3),l.nrm(4,"span",4),l.k0s(),l.j41(5,"div",5),l.nrm(6,"span",4),l.k0s()),2&M&&(l.R7$(),l.xc7("flex-basis",y._getBufferBarFlexBasis()),l.R7$(),l.vxM(2,"buffer"===y.mode?2:-1),l.R7$(),l.xc7("transform",y._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}}return p})();function h(p,m=0,F=100){return Math.max(m,Math.min(F,p))}let _=(()=>{class p{static{this.\u0275fac=function(M){return new(M||p)}}static{this.\u0275mod=l.$C({type:p})}static{this.\u0275inj=l.G2t({imports:[A.yE]})}}return p})()},9183:(Rt,Tt,D)=>{"use strict";D.d(Tt,{D6:()=>m,LG:()=>_});var l=D(54438),k=D(60177),A=D(86600);const G=["determinateSpinner"];function t(F,M){if(1&F&&(l.qSk(),l.j41(0,"svg",11),l.nrm(1,"circle",12),l.k0s()),2&F){const y=l.XpG();l.BMQ("viewBox",y._viewBox()),l.R7$(),l.xc7("stroke-dasharray",y._strokeCircumference(),"px")("stroke-dashoffset",y._strokeCircumference()/2,"px")("stroke-width",y._circleStrokeWidth(),"%"),l.BMQ("r",y._circleRadius())}}const C=new l.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function g(){return{diameter:f}}}),f=100;let _=(()=>{class F{get color(){return this._color||this._defaultColor}set color(y){this._color=y}constructor(y,T,I){this._elementRef=y,this._defaultColor="primary",this._value=0,this._diameter=f,this._noopAnimations="NoopAnimations"===T&&!!I&&!I._forceAnimations,this.mode="mat-spinner"===y.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",I&&(I.color&&(this.color=this._defaultColor=I.color),I.diameter&&(this.diameter=I.diameter),I.strokeWidth&&(this.strokeWidth=I.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(y){this._value=Math.max(0,Math.min(100,y||0))}get diameter(){return this._diameter}set diameter(y){this._diameter=y||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(y){this._strokeWidth=y||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const y=2*this._circleRadius()+this.strokeWidth;return`0 0 ${y} ${y}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(T){return new(T||F)(l.rXU(l.aKT),l.rXU(l.bc$,8),l.rXU(C))}}static{this.\u0275cmp=l.VBU({type:F,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(T,I){if(1&T&&l.GBs(G,5),2&T){let O;l.mGM(O=l.lsd())&&(I._determinateCircle=O.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(T,I){2&T&&(l.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===I.mode?I.value:null)("mode",I.mode),l.HbH("mat-"+I.color),l.xc7("width",I.diameter,"px")("height",I.diameter,"px")("--mdc-circular-progress-size",I.diameter+"px")("--mdc-circular-progress-active-indicator-width",I.diameter+"px"),l.AVh("_mat-animation-noopable",I._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===I.mode))},inputs:{color:"color",mode:"mode",value:[l.Mj6.HasDecoratorInputTransform,"value","value",l.Udg],diameter:[l.Mj6.HasDecoratorInputTransform,"diameter","diameter",l.Udg],strokeWidth:[l.Mj6.HasDecoratorInputTransform,"strokeWidth","strokeWidth",l.Udg]},exportAs:["matProgressSpinner"],standalone:!0,features:[l.GFd,l.aNF],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(T,I){if(1&T&&(l.DNE(0,t,2,8,"ng-template",null,0,l.C5r),l.j41(2,"div",2,1),l.qSk(),l.j41(4,"svg",3),l.nrm(5,"circle",4),l.k0s()(),l.joV(),l.j41(6,"div",5)(7,"div",6)(8,"div",7),l.eu8(9,8),l.k0s(),l.j41(10,"div",9),l.eu8(11,8),l.k0s(),l.j41(12,"div",10),l.eu8(13,8),l.k0s()()()),2&T){const O=l.sdS(1);l.R7$(4),l.BMQ("viewBox",I._viewBox()),l.R7$(),l.xc7("stroke-dasharray",I._strokeCircumference(),"px")("stroke-dashoffset",I._strokeDashOffset(),"px")("stroke-width",I._circleStrokeWidth(),"%"),l.BMQ("r",I._circleRadius()),l.R7$(4),l.Y8G("ngTemplateOutlet",O),l.R7$(2),l.Y8G("ngTemplateOutlet",O),l.R7$(2),l.Y8G("ngTemplateOutlet",O)}},dependencies:[k.T3],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}}return F})(),m=(()=>{class F{static{this.\u0275fac=function(T){return new(T||F)}}static{this.\u0275mod=l.$C({type:F})}static{this.\u0275inj=l.G2t({imports:[k.MD,A.yE]})}}return F})()},5951:(Rt,Tt,D)=>{"use strict";D.d(Tt,{VT:()=>T,Wk:()=>O,_g:()=>I});var l=D(54438),k=D(86600),A=D(18617),G=D(45024),t=D(89417),C=D(60177);const g=["input"],f=["formField"],h=["*"];let _=0;class p{constructor(B,P){this.source=B,this.value=P}}const m={provide:t.kq,useExisting:(0,l.Rfq)(()=>T),multi:!0},F=new l.nKC("MatRadioGroup"),M=new l.nKC("mat-radio-default-options",{providedIn:"root",factory:function y(){return{color:"accent"}}});let T=(()=>{class S{get name(){return this._name}set name(P){this._name=P,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(P){this._labelPosition="before"===P?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(P){this._value!==P&&(this._value=P,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(P){this._selected=P,this.value=P?P.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(P){this._disabled=P,this._markRadiosForCheck()}get required(){return this._required}set required(P){this._required=P,this._markRadiosForCheck()}constructor(P){this._changeDetector=P,this._value=null,this._name="mat-radio-group-"+_++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new l.bkB}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(P=>P===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(P=>{P.name=this.name,P._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(U=>{U.checked=this.value===U.value,U.checked&&(this._selected=U)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new p(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(P=>P._markForCheck())}writeValue(P){this.value=P,this._changeDetector.markForCheck()}registerOnChange(P){this._controlValueAccessorChangeFn=P}registerOnTouched(P){this.onTouched=P}setDisabledState(P){this.disabled=P,this._changeDetector.markForCheck()}static{this.\u0275fac=function(U){return new(U||S)(l.rXU(l.gRc))}}static{this.\u0275dir=l.FsC({type:S,selectors:[["mat-radio-group"]],contentQueries:function(U,z,nt){if(1&U&&l.wni(nt,I,5),2&U){let it;l.mGM(it=l.lsd())&&(z._radios=it)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],required:[l.Mj6.HasDecoratorInputTransform,"required","required",l.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[l.Jv_([m,{provide:F,useExisting:S}]),l.GFd]})}}return S})(),I=(()=>{class S{get checked(){return this._checked}set checked(P){this._checked!==P&&(this._checked=P,P&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!P&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),P&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(P){this._value!==P&&(this._value=P,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===P),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(P){this._labelPosition=P}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(P){this._setDisabled(P)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(P){this._required=P}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(P){this._color=P}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(P,U,z,nt,it,rt,mt,lt){this._elementRef=U,this._changeDetector=z,this._focusMonitor=nt,this._radioDispatcher=it,this._providerOverride=mt,this._uniqueId="mat-radio-"+ ++_,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new l.bkB,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=P,this._noopAnimations="NoopAnimations"===rt,lt&&(this.tabIndex=(0,l.Udg)(lt,0))}focus(P,U){U?this._focusMonitor.focusVia(this._inputElement,U,P):this._inputElement.nativeElement.focus(P)}_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),this._removeUniqueSelectionListener=this._radioDispatcher.listen((P,U)=>{P!==this.id&&U===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(P=>{!P&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new p(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(P){P.stopPropagation()}_onInputInteraction(P){if(P.stopPropagation(),!this.checked&&!this.disabled){const U=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),U&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(P){this._onInputInteraction(P),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(P){this._disabled!==P&&(this._disabled=P,this._changeDetector.markForCheck())}_updateTabIndex(){const P=this.radioGroup;let U;if(U=P&&P.selected&&!this.disabled?P.selected===this?this.tabIndex:-1:this.tabIndex,U!==this._previousTabIndex){const z=this._inputElement?.nativeElement;z&&(z.setAttribute("tabindex",U+""),this._previousTabIndex=U)}}static{this.\u0275fac=function(U){return new(U||S)(l.rXU(F,8),l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(A.FN),l.rXU(G.zP),l.rXU(l.bc$,8),l.rXU(M,8),l.kS0("tabindex"))}}static{this.\u0275cmp=l.VBU({type:S,selectors:[["mat-radio-button"]],viewQuery:function(U,z){if(1&U&&(l.GBs(g,5),l.GBs(f,7,l.aKT)),2&U){let nt;l.mGM(nt=l.lsd())&&(z._inputElement=nt.first),l.mGM(nt=l.lsd())&&(z._rippleTrigger=nt.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(U,z){1&U&&l.bIt("focus",function(){return z._inputElement.nativeElement.focus()}),2&U&&(l.BMQ("id",z.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),l.AVh("mat-primary","primary"===z.color)("mat-accent","accent"===z.color)("mat-warn","warn"===z.color)("mat-mdc-radio-checked",z.checked)("_mat-animation-noopable",z._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Mj6.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[l.Mj6.None,"aria-describedby","ariaDescribedby"],disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],tabIndex:[l.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",P=>null==P?0:(0,l.Udg)(P)],checked:[l.Mj6.HasDecoratorInputTransform,"checked","checked",l.L39],value:"value",labelPosition:"labelPosition",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],required:[l.Mj6.HasDecoratorInputTransform,"required","required",l.L39],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[l.GFd,l.aNF],ngContentSelectors:h,decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(U,z){if(1&U){const nt=l.RV6();l.NAR(),l.j41(0,"div",2,0)(2,"div",3)(3,"div",4),l.bIt("click",function(rt){return l.eBV(nt),l.Njj(z._onTouchTargetClick(rt))}),l.k0s(),l.j41(4,"input",5,1),l.bIt("change",function(rt){return l.eBV(nt),l.Njj(z._onInputInteraction(rt))}),l.k0s(),l.j41(6,"div",6),l.nrm(7,"div",7)(8,"div",8),l.k0s(),l.j41(9,"div",9),l.nrm(10,"div",10),l.k0s()(),l.j41(11,"label",11),l.SdG(12),l.k0s()()}2&U&&(l.Y8G("labelPosition",z.labelPosition),l.R7$(2),l.AVh("mdc-radio--disabled",z.disabled),l.R7$(2),l.Y8G("id",z.inputId)("checked",z.checked)("disabled",z.disabled)("required",z.required),l.BMQ("name",z.name)("value",z.value)("aria-label",z.ariaLabel)("aria-labelledby",z.ariaLabelledby)("aria-describedby",z.ariaDescribedby),l.R7$(5),l.Y8G("matRippleTrigger",z._rippleTrigger.nativeElement)("matRippleDisabled",z._isRippleDisabled())("matRippleCentered",!0),l.R7$(2),l.Y8G("for",z.inputId))},dependencies:[k.r6,k.tO],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}}return S})(),O=(()=>{class S{static{this.\u0275fac=function(U){return new(U||S)}}static{this.\u0275mod=l.$C({type:S})}static{this.\u0275inj=l.G2t({imports:[k.yE,C.MD,k.pZ,I,k.yE]})}}return S})()},82798:(Rt,Tt,D)=>{"use strict";D.d(Tt,{VO:()=>xt,Ve:()=>gt});var l=D(66969),k=D(60177),A=D(54438),G=D(86600),t=D(32102),C=D(65478),g=D(18617),f=D(28203),h=D(45024),_=D(67336),p=D(89417),m=D(21413),F=D(59030),M=D(57786),y=D(99172),T=D(25558),I=D(5964),O=D(96354),S=D(23294),B=D(56977),P=D(96697),U=D(49969);const z=["trigger"],nt=["panel"],it=[[["mat-select-trigger"]],"*"],rt=["mat-select-trigger","*"];function mt(Mt,ot){if(1&Mt&&(A.j41(0,"span",4),A.EFF(1),A.k0s()),2&Mt){const Q=A.XpG();A.R7$(),A.JRh(Q.placeholder)}}function lt(Mt,ot){1&Mt&&A.SdG(0)}function ht(Mt,ot){if(1&Mt&&(A.j41(0,"span",11),A.EFF(1),A.k0s()),2&Mt){const Q=A.XpG(2);A.R7$(),A.JRh(Q.triggerValue)}}function yt(Mt,ot){if(1&Mt&&(A.j41(0,"span",10),A.DNE(1,lt,1,0)(2,ht,2,1),A.k0s()),2&Mt){const Q=A.XpG();A.R7$(),A.vxM(1,Q.customTrigger?1:2)}}function wt(Mt,ot){if(1&Mt){const Q=A.RV6();A.j41(0,"div",12,1),A.bIt("@transformPanel.done",function(Xt){A.eBV(Q);const Ie=A.XpG();return A.Njj(Ie._panelDoneAnimatingStream.next(Xt.toState))})("keydown",function(Xt){A.eBV(Q);const Ie=A.XpG();return A.Njj(Ie._handleKeydown(Xt))}),A.SdG(2,1),A.k0s()}if(2&Mt){const Q=A.XpG();A.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Q._getPanelTheme(),""),A.Y8G("ngClass",Q.panelClass)("@transformPanel","showing"),A.BMQ("id",Q.id+"-panel")("aria-multiselectable",Q.multiple)("aria-label",Q.ariaLabel||null)("aria-labelledby",Q._getPanelAriaLabelledby())}}const Z={transformPanelWrap:(0,U.hZ)("transformPanelWrap",[(0,U.kY)("* => void",(0,U.P)("@transformPanel",[(0,U.MA)()],{optional:!0}))]),transformPanel:(0,U.hZ)("transformPanel",[(0,U.wk)("void",(0,U.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,U.kY)("void => showing",(0,U.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,U.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,U.kY)("* => void",(0,U.i0)("100ms linear",(0,U.iF)({opacity:0})))])};let Y=0;const J=new A.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Mt=(0,A.WQX)(l.hJ);return()=>Mt.scrollStrategies.reposition()}}),K=new A.nKC("MAT_SELECT_CONFIG"),tt={provide:J,deps:[l.hJ],useFactory:function H(Mt){return()=>Mt.scrollStrategies.reposition()}},ut=new A.nKC("MatSelectTrigger");class _t{constructor(ot,Q){this.source=ot,this.value=Q}}let xt=(()=>{class Mt{_scrollOptionIntoView(Q){const kt=this.options.toArray()[Q];if(kt){const Xt=this.panel.nativeElement,Ie=(0,G.jb)(Q,this.options,this.optionGroups),Qt=kt._getHostElement();Xt.scrollTop=0===Q&&1===Ie?0:(0,G.TL)(Qt.offsetTop,Qt.offsetHeight,Xt.scrollTop,Xt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Q){return new _t(this,Q)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Q){this._hideSingleSelectionIndicator=Q,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Q){this._placeholder=Q,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(p.k0.required)??!1}set required(Q){this._required=Q,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Q){this._multiple=Q}get compareWith(){return this._compareWith}set compareWith(Q){this._compareWith=Q,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Q){this._assignValue(Q)&&this._onChange(Q)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Q){this._errorStateTracker.matcher=Q}get id(){return this._id}set id(Q){this._id=Q||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(Q){this._errorStateTracker.errorState=Q}constructor(Q,kt,Xt,Ie,Qt,Bt,St,Nt,Jt,se,be,Me,ae,Yt){this._viewportRuler=Q,this._changeDetectorRef=kt,this._elementRef=Qt,this._dir=Bt,this._parentFormField=Jt,this.ngControl=se,this._liveAnnouncer=ae,this._defaultOptions=Yt,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(oe,_e)=>oe===_e,this._uid="mat-select-"+Y++,this._triggerAriaLabelledBy=null,this._destroy=new m.B,this.stateChanges=new m.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Y++,this._panelDoneAnimatingStream=new m.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new m.B,this.optionSelectionChanges=(0,F.v)(()=>{const oe=this.options;return oe?oe.changes.pipe((0,y.Z)(oe),(0,T.n)(()=>(0,M.h)(...oe.map(_e=>_e.onSelectionChange)))):this._initialized.pipe((0,T.n)(()=>this.optionSelectionChanges))}),this.openedChange=new A.bkB,this._openedStream=this.openedChange.pipe((0,I.p)(oe=>oe),(0,O.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,I.p)(oe=>!oe),(0,O.T)(()=>{})),this.selectionChange=new A.bkB,this.valueChange=new A.bkB,this._trackedModal=null,this._skipPredicate=oe=>!this.panelOpen&&oe.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Yt?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=Yt.typeaheadDebounceInterval),this._errorStateTracker=new G.X0(Ie,se,Nt,St,this.stateChanges),this._scrollStrategyFactory=Me,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(be)||0,this.id=this.id}ngOnInit(){this._selectionModel=new h.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,S.F)(),(0,B.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,B.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,B.Q)(this._destroy)).subscribe(Q=>{Q.added.forEach(kt=>kt.select()),Q.removed.forEach(kt=>kt.deselect())}),this.options.changes.pipe((0,y.Z)(null),(0,B.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Q=this._getTriggerAriaLabelledby(),kt=this.ngControl;if(Q!==this._triggerAriaLabelledBy){const Xt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Q,Q?Xt.setAttribute("aria-labelledby",Q):Xt.removeAttribute("aria-labelledby")}kt&&(this._previousControl!==kt.control&&(void 0!==this._previousControl&&null!==kt.disabled&&kt.disabled!==this.disabled&&(this.disabled=kt.disabled),this._previousControl=kt.control),this.updateErrorState())}ngOnChanges(Q){(Q.disabled||Q.userAriaDescribedBy)&&this.stateChanges.next(),Q.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const Q=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Q)return;const kt=`${this.id}-panel`;this._trackedModal&&(0,g.Ae)(this._trackedModal,"aria-owns",kt),(0,g.px)(Q,"aria-owns",kt),this._trackedModal=Q}_clearFromModal(){this._trackedModal&&((0,g.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(Q){this._assignValue(Q)}registerOnChange(Q){this._onChange=Q}registerOnTouched(Q){this._onTouched=Q}setDisabledState(Q){this.disabled=Q,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Q=this._selectionModel.selected.map(kt=>kt.viewValue);return this._isRtl()&&Q.reverse(),Q.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Q){this.disabled||(this.panelOpen?this._handleOpenKeydown(Q):this._handleClosedKeydown(Q))}_handleClosedKeydown(Q){const kt=Q.keyCode,Xt=kt===_.n6||kt===_.i7||kt===_.UQ||kt===_.LE,Ie=kt===_.Fm||kt===_.t6,Qt=this._keyManager;if(!Qt.isTyping()&&Ie&&!(0,_.rp)(Q)||(this.multiple||Q.altKey)&&Xt)Q.preventDefault(),this.open();else if(!this.multiple){const Bt=this.selected;Qt.onKeydown(Q);const St=this.selected;St&&Bt!==St&&this._liveAnnouncer.announce(St.viewValue,1e4)}}_handleOpenKeydown(Q){const kt=this._keyManager,Xt=Q.keyCode,Ie=Xt===_.n6||Xt===_.i7,Qt=kt.isTyping();if(Ie&&Q.altKey)Q.preventDefault(),this.close();else if(Qt||Xt!==_.Fm&&Xt!==_.t6||!kt.activeItem||(0,_.rp)(Q))if(!Qt&&this._multiple&&Xt===_.A&&Q.ctrlKey){Q.preventDefault();const Bt=this.options.some(St=>!St.disabled&&!St.selected);this.options.forEach(St=>{St.disabled||(Bt?St.select():St.deselect())})}else{const Bt=kt.activeItemIndex;kt.onKeydown(Q),this._multiple&&Ie&&Q.shiftKey&&kt.activeItem&&kt.activeItemIndex!==Bt&&kt.activeItem._selectViaInteraction()}else Q.preventDefault(),kt.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,P.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Q){if(this.options.forEach(kt=>kt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Q)Array.isArray(Q),Q.forEach(kt=>this._selectOptionByValue(kt)),this._sortValues();else{const kt=this._selectOptionByValue(Q);kt?this._keyManager.updateActiveItem(kt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Q){const kt=this.options.find(Xt=>{if(this._selectionModel.isSelected(Xt))return!1;try{return null!=Xt.value&&this._compareWith(Xt.value,Q)}catch{return!1}});return kt&&this._selectionModel.select(kt),kt}_assignValue(Q){return!!(Q!==this._value||this._multiple&&Array.isArray(Q))&&(this.options&&this._setSelectionByValue(Q),this._value=Q,!0)}_getOverlayWidth(Q){return"auto"===this.panelWidth?(Q instanceof l.$Q?Q.elementRef:Q||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Q of this.options)Q._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new g.Au(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Q=(0,M.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,B.Q)(Q)).subscribe(kt=>{this._onSelect(kt.source,kt.isUserInput),kt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,M.h)(...this.options.map(kt=>kt._stateChanges)).pipe((0,B.Q)(Q)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Q,kt){const Xt=this._selectionModel.isSelected(Q);null!=Q.value||this._multiple?(Xt!==Q.selected&&(Q.selected?this._selectionModel.select(Q):this._selectionModel.deselect(Q)),kt&&this._keyManager.setActiveItem(Q),this.multiple&&(this._sortValues(),kt&&this.focus())):(Q.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Q.value)),Xt!==this._selectionModel.isSelected(Q)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Q=this.options.toArray();this._selectionModel.sort((kt,Xt)=>this.sortComparator?this.sortComparator(kt,Xt,Q):Q.indexOf(kt)-Q.indexOf(Xt)),this.stateChanges.next()}}_propagateChanges(Q){let kt;kt=this.multiple?this.selected.map(Xt=>Xt.value):this.selected?this.selected.value:Q,this._value=kt,this.valueChange.emit(kt),this._onChange(kt),this.selectionChange.emit(this._getChangeEvent(kt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Q=-1;for(let kt=0;kt0}focus(Q){this._elementRef.nativeElement.focus(Q)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Q=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Q?Q+" ":"")+this.ariaLabelledby:Q}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Q=this._parentFormField?.getLabelId();let kt=(Q?Q+" ":"")+this._valueId;return this.ariaLabelledby&&(kt+=" "+this.ariaLabelledby),kt}_panelDoneAnimating(Q){this.openedChange.emit(Q)}setDescribedByIds(Q){Q.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Q.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(kt){return new(kt||Mt)(A.rXU(C.Xj),A.rXU(A.gRc),A.rXU(A.SKi),A.rXU(G.es),A.rXU(A.aKT),A.rXU(f.dS,8),A.rXU(p.cV,8),A.rXU(p.j4,8),A.rXU(t.xb,8),A.rXU(p.vO,10),A.kS0("tabindex"),A.rXU(J),A.rXU(g.Ai),A.rXU(K,8))}}static{this.\u0275cmp=A.VBU({type:Mt,selectors:[["mat-select"]],contentQueries:function(kt,Xt,Ie){if(1&kt&&(A.wni(Ie,ut,5),A.wni(Ie,G.wT,5),A.wni(Ie,G.QC,5)),2&kt){let Qt;A.mGM(Qt=A.lsd())&&(Xt.customTrigger=Qt.first),A.mGM(Qt=A.lsd())&&(Xt.options=Qt),A.mGM(Qt=A.lsd())&&(Xt.optionGroups=Qt)}},viewQuery:function(kt,Xt){if(1&kt&&(A.GBs(z,5),A.GBs(nt,5),A.GBs(l.WB,5)),2&kt){let Ie;A.mGM(Ie=A.lsd())&&(Xt.trigger=Ie.first),A.mGM(Ie=A.lsd())&&(Xt.panel=Ie.first),A.mGM(Ie=A.lsd())&&(Xt._overlayDir=Ie.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(kt,Xt){1&kt&&A.bIt("keydown",function(Qt){return Xt._handleKeydown(Qt)})("focus",function(){return Xt._onFocus()})("blur",function(){return Xt._onBlur()}),2&kt&&(A.BMQ("id",Xt.id)("tabindex",Xt.disabled?-1:Xt.tabIndex)("aria-controls",Xt.panelOpen?Xt.id+"-panel":null)("aria-expanded",Xt.panelOpen)("aria-label",Xt.ariaLabel||null)("aria-required",Xt.required.toString())("aria-disabled",Xt.disabled.toString())("aria-invalid",Xt.errorState)("aria-activedescendant",Xt._getAriaActiveDescendant()),A.AVh("mat-mdc-select-disabled",Xt.disabled)("mat-mdc-select-invalid",Xt.errorState)("mat-mdc-select-required",Xt.required)("mat-mdc-select-empty",Xt.empty)("mat-mdc-select-multiple",Xt.multiple))},inputs:{userAriaDescribedBy:[A.Mj6.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[A.Mj6.HasDecoratorInputTransform,"disabled","disabled",A.L39],disableRipple:[A.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",A.L39],tabIndex:[A.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",Q=>null==Q?0:(0,A.Udg)(Q)],hideSingleSelectionIndicator:[A.Mj6.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",A.L39],placeholder:"placeholder",required:[A.Mj6.HasDecoratorInputTransform,"required","required",A.L39],multiple:[A.Mj6.HasDecoratorInputTransform,"multiple","multiple",A.L39],disableOptionCentering:[A.Mj6.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",A.L39],compareWith:"compareWith",value:"value",ariaLabel:[A.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[A.Mj6.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[A.Mj6.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",A.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[A.Jv_([{provide:t.qT,useExisting:Mt},{provide:G.is,useExisting:Mt}]),A.GFd,A.OA$,A.aNF],ngContentSelectors:rt,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(kt,Xt){if(1&kt){const Ie=A.RV6();A.NAR(it),A.j41(0,"div",2,0),A.bIt("click",function(){return A.eBV(Ie),A.Njj(Xt.open())}),A.j41(3,"div",3),A.DNE(4,mt,2,1,"span",4)(5,yt,3,1),A.k0s(),A.j41(6,"div",5)(7,"div",6),A.qSk(),A.j41(8,"svg",7),A.nrm(9,"path",8),A.k0s()()()(),A.DNE(10,wt,3,9,"ng-template",9),A.bIt("backdropClick",function(){return A.eBV(Ie),A.Njj(Xt.close())})("attach",function(){return A.eBV(Ie),A.Njj(Xt._onAttached())})("detach",function(){return A.eBV(Ie),A.Njj(Xt.close())})}if(2&kt){const Ie=A.sdS(1);A.R7$(3),A.BMQ("id",Xt._valueId),A.R7$(),A.vxM(4,Xt.empty?4:5),A.R7$(6),A.Y8G("cdkConnectedOverlayPanelClass",Xt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Xt._scrollStrategy)("cdkConnectedOverlayOrigin",Xt._preferredOverlayOrigin||Ie)("cdkConnectedOverlayOpen",Xt.panelOpen)("cdkConnectedOverlayPositions",Xt._positions)("cdkConnectedOverlayWidth",Xt._overlayWidth)}},dependencies:[l.$Q,l.WB,k.YU],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Z.transformPanel]},changeDetection:0})}}return Mt})(),gt=(()=>{class Mt{static{this.\u0275fac=function(kt){return new(kt||Mt)}}static{this.\u0275mod=A.$C({type:Mt})}static{this.\u0275inj=A.G2t({providers:[tt],imports:[k.MD,l.z_,G.Sy,G.yE,C.Gj,t.RG,G.Sy,G.yE]})}}return Mt})()},90882:(Rt,Tt,D)=>{"use strict";D.d(Tt,{El:()=>ut,LG:()=>_t,US:()=>xt,vg:()=>Dt});var l=D(65478),k=D(54438),A=D(86600),G=D(18617),t=D(28203),C=D(14085),g=D(67336),f=D(36860),h=D(60177),_=D(21413),p=D(33726),m=D(57786),F=D(5964),M=D(96354),y=D(73703),T=D(56977),I=D(23294),O=D(96697),S=D(99172),B=D(70152),P=D(49969);const U=["*"],z=["content"],nt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],it=["mat-drawer","mat-drawer-content","*"];function rt(gt,Mt){if(1>){const ot=k.RV6();k.j41(0,"div",1),k.bIt("click",function(){k.eBV(ot);const kt=k.XpG();return k.Njj(kt._onBackdropClicked())}),k.k0s()}if(2>){const ot=k.XpG();k.AVh("mat-drawer-shown",ot._isShowingBackdrop())}}function mt(gt,Mt){1>&&(k.j41(0,"mat-drawer-content"),k.SdG(1,2),k.k0s())}const lt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ht=["mat-sidenav","mat-sidenav-content","*"];function yt(gt,Mt){if(1>){const ot=k.RV6();k.j41(0,"div",1),k.bIt("click",function(){k.eBV(ot);const kt=k.XpG();return k.Njj(kt._onBackdropClicked())}),k.k0s()}if(2>){const ot=k.XpG();k.AVh("mat-drawer-shown",ot._isShowingBackdrop())}}function wt(gt,Mt){1>&&(k.j41(0,"mat-sidenav-content"),k.SdG(1,2),k.k0s())}const dt={transformDrawer:(0,P.hZ)("transform",[(0,P.wk)("open, open-instant",(0,P.iF)({transform:"none",visibility:"visible"})),(0,P.wk)("void",(0,P.iF)({"box-shadow":"none",visibility:"hidden"})),(0,P.kY)("void => open-instant",(0,P.i0)("0ms")),(0,P.kY)("void <=> open, open-instant => void",(0,P.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},L=new k.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function J(){return!1}}),Y=new k.nKC("MAT_DRAWER_CONTAINER");let H=(()=>{class gt extends l.uv{constructor(ot,Q,kt,Xt,Ie){super(kt,Xt,Ie),this._changeDetectorRef=ot,this._container=Q}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(Q){return new(Q||gt)(k.rXU(k.gRc),k.rXU((0,k.Rfq)(()=>tt)),k.rXU(k.aKT),k.rXU(l.R),k.rXU(k.SKi))}}static{this.\u0275cmp=k.VBU({type:gt,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(Q,kt){2&Q&&k.xc7("margin-left",kt._container._contentMargins.left,"px")("margin-right",kt._container._contentMargins.right,"px")},standalone:!0,features:[k.Jv_([{provide:l.uv,useExisting:gt}]),k.Vt3,k.aNF],ngContentSelectors:U,decls:1,vars:0,template:function(Q,kt){1&Q&&(k.NAR(),k.SdG(0))},encapsulation:2,changeDetection:0})}}return gt})(),K=(()=>{class gt{get position(){return this._position}set position(ot){(ot="end"===ot?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ot),this._position=ot,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ot){this._mode=ot,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ot){this._disableClose=(0,C.he)(ot)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ot){("true"===ot||"false"===ot||null==ot)&&(ot=(0,C.he)(ot)),this._autoFocus=ot}get opened(){return this._opened}set opened(ot){this.toggle((0,C.he)(ot))}constructor(ot,Q,kt,Xt,Ie,Qt,Bt,St){this._elementRef=ot,this._focusTrapFactory=Q,this._focusMonitor=kt,this._platform=Xt,this._ngZone=Ie,this._interactivityChecker=Qt,this._doc=Bt,this._container=St,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new _.B,this._animationEnd=new _.B,this._animationState="void",this.openedChange=new k.bkB(!0),this._openedStream=this.openedChange.pipe((0,F.p)(Nt=>Nt),(0,M.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,F.p)(Nt=>Nt.fromState!==Nt.toState&&0===Nt.toState.indexOf("open")),(0,y.u)(void 0)),this._closedStream=this.openedChange.pipe((0,F.p)(Nt=>!Nt),(0,M.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,F.p)(Nt=>Nt.fromState!==Nt.toState&&"void"===Nt.toState),(0,y.u)(void 0)),this._destroyed=new _.B,this.onPositionChanged=new k.bkB,this._modeChanged=new _.B,this.openedChange.subscribe(Nt=>{Nt?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,p.R)(this._elementRef.nativeElement,"keydown").pipe((0,F.p)(Nt=>Nt.keyCode===g._f&&!this.disableClose&&!(0,g.rp)(Nt)),(0,T.Q)(this._destroyed)).subscribe(Nt=>this._ngZone.run(()=>{this.close(),Nt.stopPropagation(),Nt.preventDefault()}))}),this._animationEnd.pipe((0,I.F)((Nt,Jt)=>Nt.fromState===Jt.fromState&&Nt.toState===Jt.toState)).subscribe(Nt=>{const{fromState:Jt,toState:se}=Nt;(0===se.indexOf("open")&&"void"===Jt||"void"===se&&0===Jt.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(ot,Q){this._interactivityChecker.isFocusable(ot)||(ot.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const kt=()=>{ot.removeEventListener("blur",kt),ot.removeEventListener("mousedown",kt),ot.removeAttribute("tabindex")};ot.addEventListener("blur",kt),ot.addEventListener("mousedown",kt)})),ot.focus(Q)}_focusByCssSelector(ot,Q){let kt=this._elementRef.nativeElement.querySelector(ot);kt&&this._forceFocus(kt,Q)}_takeFocus(){if(!this._focusTrap)return;const ot=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Q=>{!Q&&"function"==typeof this._elementRef.nativeElement.focus&&ot.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ot){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ot):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ot=this._doc.activeElement;return!!ot&&this._elementRef.nativeElement.contains(ot)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ot){return this.toggle(!0,ot)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ot=!this.opened,Q){ot&&Q&&(this._openedVia=Q);const kt=this._setOpen(ot,!ot&&this._isFocusWithinDrawer(),this._openedVia||"program");return ot||(this._openedVia=null),kt}_setOpen(ot,Q,kt){return this._opened=ot,ot?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Q&&this._restoreFocus(kt)),this._updateFocusTrapState(),new Promise(Xt=>{this.openedChange.pipe((0,O.s)(1)).subscribe(Ie=>Xt(Ie?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(ot){if(!this._platform.isBrowser)return;const Q=this._elementRef.nativeElement,kt=Q.parentNode;"end"===ot?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),kt.insertBefore(this._anchor,Q)),kt.appendChild(Q)):this._anchor&&this._anchor.parentNode.insertBefore(Q,this._anchor)}static{this.\u0275fac=function(Q){return new(Q||gt)(k.rXU(k.aKT),k.rXU(G.GX),k.rXU(G.FN),k.rXU(f.OD),k.rXU(k.SKi),k.rXU(G.Z7),k.rXU(h.qQ,8),k.rXU(Y,8))}}static{this.\u0275cmp=k.VBU({type:gt,selectors:[["mat-drawer"]],viewQuery:function(Q,kt){if(1&Q&&k.GBs(z,5),2&Q){let Xt;k.mGM(Xt=k.lsd())&&(kt._content=Xt.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(Q,kt){1&Q&&k.Kam("@transform.start",function(Ie){return kt._animationStarted.next(Ie)})("@transform.done",function(Ie){return kt._animationEnd.next(Ie)}),2&Q&&(k.zvX("@transform",kt._animationState),k.BMQ("align",null),k.AVh("mat-drawer-end","end"===kt.position)("mat-drawer-over","over"===kt.mode)("mat-drawer-push","push"===kt.mode)("mat-drawer-side","side"===kt.mode)("mat-drawer-opened",kt.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"],standalone:!0,features:[k.aNF],ngContentSelectors:U,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Q,kt){1&Q&&(k.NAR(),k.j41(0,"div",1,0),k.SdG(2),k.k0s())},dependencies:[l.uv],encapsulation:2,data:{animation:[dt.transformDrawer]},changeDetection:0})}}return gt})(),tt=(()=>{class gt{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ot){this._autosize=(0,C.he)(ot)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(ot){this._backdropOverride=null==ot?null:(0,C.he)(ot)}get scrollable(){return this._userContent||this._content}constructor(ot,Q,kt,Xt,Ie,Qt=!1,Bt){this._dir=ot,this._element=Q,this._ngZone=kt,this._changeDetectorRef=Xt,this._animationMode=Bt,this._drawers=new k.rOR,this.backdropClick=new k.bkB,this._destroyed=new _.B,this._doCheckSubject=new _.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new _.B,ot&&ot.change.pipe((0,T.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ie.change().pipe((0,T.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Qt}ngAfterContentInit(){this._allDrawers.changes.pipe((0,S.Z)(this._allDrawers),(0,T.Q)(this._destroyed)).subscribe(ot=>{this._drawers.reset(ot.filter(Q=>!Q._container||Q._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,S.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ot=>{this._watchDrawerToggle(ot),this._watchDrawerPosition(ot),this._watchDrawerMode(ot)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,B.B)(10),(0,T.Q)(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(ot=>ot.open())}close(){this._drawers.forEach(ot=>ot.close())}updateContentMargins(){let ot=0,Q=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ot+=this._left._getWidth();else if("push"==this._left.mode){const kt=this._left._getWidth();ot+=kt,Q-=kt}if(this._right&&this._right.opened)if("side"==this._right.mode)Q+=this._right._getWidth();else if("push"==this._right.mode){const kt=this._right._getWidth();Q+=kt,ot-=kt}ot=ot||null,Q=Q||null,(ot!==this._contentMargins.left||Q!==this._contentMargins.right)&&(this._contentMargins={left:ot,right:Q},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ot){ot._animationStarted.pipe((0,F.p)(Q=>Q.fromState!==Q.toState),(0,T.Q)(this._drawers.changes)).subscribe(Q=>{"open-instant"!==Q.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ot.mode&&ot.openedChange.pipe((0,T.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ot.opened))}_watchDrawerPosition(ot){ot&&ot.onPositionChanged.pipe((0,T.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,O.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ot){ot&&ot._modeChanged.pipe((0,T.Q)((0,m.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ot){const Q=this._element.nativeElement.classList,kt="mat-drawer-container-has-open";ot?Q.add(kt):Q.remove(kt)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ot=>{"end"==ot.position?this._end=ot:this._start=ot}),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(ot=>ot&&!ot.disableClose&&this._drawerHasBackdrop(ot)).forEach(ot=>ot._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(ot){return null!=ot&&ot.opened}_drawerHasBackdrop(ot){return null==this._backdropOverride?!!ot&&"side"!==ot.mode:this._backdropOverride}static{this.\u0275fac=function(Q){return new(Q||gt)(k.rXU(t.dS,8),k.rXU(k.aKT),k.rXU(k.SKi),k.rXU(k.gRc),k.rXU(l.Xj),k.rXU(L),k.rXU(k.bc$,8))}}static{this.\u0275cmp=k.VBU({type:gt,selectors:[["mat-drawer-container"]],contentQueries:function(Q,kt,Xt){if(1&Q&&(k.wni(Xt,H,5),k.wni(Xt,K,5)),2&Q){let Ie;k.mGM(Ie=k.lsd())&&(kt._content=Ie.first),k.mGM(Ie=k.lsd())&&(kt._allDrawers=Ie)}},viewQuery:function(Q,kt){if(1&Q&&k.GBs(H,5),2&Q){let Xt;k.mGM(Xt=k.lsd())&&(kt._userContent=Xt.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Q,kt){2&Q&&k.AVh("mat-drawer-container-explicit-backdrop",kt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[k.Jv_([{provide:Y,useExisting:gt}]),k.aNF],ngContentSelectors:it,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Q,kt){1&Q&&(k.NAR(nt),k.DNE(0,rt,1,2,"div",0),k.SdG(1),k.SdG(2,1),k.DNE(3,mt,2,0,"mat-drawer-content")),2&Q&&(k.vxM(0,kt.hasBackdrop?0:-1),k.R7$(3),k.vxM(3,kt._content?-1:3))},dependencies:[H],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return gt})(),ut=(()=>{class gt extends H{constructor(ot,Q,kt,Xt,Ie){super(ot,Q,kt,Xt,Ie)}static{this.\u0275fac=function(Q){return new(Q||gt)(k.rXU(k.gRc),k.rXU((0,k.Rfq)(()=>xt)),k.rXU(k.aKT),k.rXU(l.R),k.rXU(k.SKi))}}static{this.\u0275cmp=k.VBU({type:gt,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Q,kt){2&Q&&k.xc7("margin-left",kt._container._contentMargins.left,"px")("margin-right",kt._container._contentMargins.right,"px")},standalone:!0,features:[k.Jv_([{provide:l.uv,useExisting:gt}]),k.Vt3,k.aNF],ngContentSelectors:U,decls:1,vars:0,template:function(Q,kt){1&Q&&(k.NAR(),k.SdG(0))},encapsulation:2,changeDetection:0})}}return gt})(),_t=(()=>{class gt extends K{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ot){this._fixedInViewport=(0,C.he)(ot)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ot){this._fixedTopGap=(0,C.OE)(ot)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ot){this._fixedBottomGap=(0,C.OE)(ot)}static{this.\u0275fac=(()=>{let ot;return function(kt){return(ot||(ot=k.xGo(gt)))(kt||gt)}})()}static{this.\u0275cmp=k.VBU({type:gt,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Q,kt){2&Q&&(k.BMQ("align",null),k.xc7("top",kt.fixedInViewport?kt.fixedTopGap:null,"px")("bottom",kt.fixedInViewport?kt.fixedBottomGap:null,"px"),k.AVh("mat-drawer-end","end"===kt.position)("mat-drawer-over","over"===kt.mode)("mat-drawer-push","push"===kt.mode)("mat-drawer-side","side"===kt.mode)("mat-drawer-opened",kt.opened)("mat-sidenav-fixed",kt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[k.Vt3,k.aNF],ngContentSelectors:U,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Q,kt){1&Q&&(k.NAR(),k.j41(0,"div",1,0),k.SdG(2),k.k0s())},dependencies:[l.uv],encapsulation:2,data:{animation:[dt.transformDrawer]},changeDetection:0})}}return gt})(),xt=(()=>{class gt extends tt{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=(()=>{let ot;return function(kt){return(ot||(ot=k.xGo(gt)))(kt||gt)}})()}static{this.\u0275cmp=k.VBU({type:gt,selectors:[["mat-sidenav-container"]],contentQueries:function(Q,kt,Xt){if(1&Q&&(k.wni(Xt,ut,5),k.wni(Xt,_t,5)),2&Q){let Ie;k.mGM(Ie=k.lsd())&&(kt._content=Ie.first),k.mGM(Ie=k.lsd())&&(kt._allDrawers=Ie)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Q,kt){2&Q&&k.AVh("mat-drawer-container-explicit-backdrop",kt._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[k.Jv_([{provide:Y,useExisting:gt}]),k.Vt3,k.aNF],ngContentSelectors:ht,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Q,kt){1&Q&&(k.NAR(lt),k.DNE(0,yt,1,2,"div",0),k.SdG(1),k.SdG(2,1),k.DNE(3,wt,2,0,"mat-sidenav-content")),2&Q&&(k.vxM(0,kt.hasBackdrop?0:-1),k.R7$(3),k.vxM(3,kt._content?-1:3))},dependencies:[ut],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return gt})(),Dt=(()=>{class gt{static{this.\u0275fac=function(Q){return new(Q||gt)}}static{this.\u0275mod=k.$C({type:gt})}static{this.\u0275inj=k.G2t({imports:[A.yE,l.Gj,l.Gj,A.yE]})}}return gt})()},30450:(Rt,Tt,D)=>{"use strict";D.d(Tt,{mV:()=>T,sG:()=>m});var l=D(54438),k=D(89417),A=D(18617),G=D(86600);const t=["switch"],C=["*"];function g(I,O){1&I&&(l.j41(0,"div",10),l.qSk(),l.j41(1,"svg",12),l.nrm(2,"path",13),l.k0s(),l.j41(3,"svg",14),l.nrm(4,"path",15),l.k0s()())}const f=new l.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),h={provide:k.kq,useExisting:(0,l.Rfq)(()=>m),multi:!0};class _{constructor(O,S){this.source=O,this.checked=S}}let p=0,m=(()=>{class I{_createChangeEvent(S){return new _(this,S)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(S){this._checked=S,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(S,B,P,U,z,nt){this._elementRef=S,this._focusMonitor=B,this._changeDetectorRef=P,this.defaults=z,this._onChange=it=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new l.bkB,this.toggleChange=new l.bkB,this.tabIndex=parseInt(U)||0,this.color=z.color||"accent",this._noopAnimations="NoopAnimations"===nt,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++p,this.hideIcon=z.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(S=>{"keyboard"===S||"program"===S?(this._focused=!0,this._changeDetectorRef.markForCheck()):S||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(S){S.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(S){this.checked=!!S}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}validate(S){return this.required&&!0!==S.value?{required:!0}:null}registerOnValidatorChange(S){this._validatorOnChange=S}setDisabledState(S){this.disabled=S,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new _(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(B){return new(B||I)(l.rXU(l.aKT),l.rXU(A.FN),l.rXU(l.gRc),l.kS0("tabindex"),l.rXU(f),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:I,selectors:[["mat-slide-toggle"]],viewQuery:function(B,P){if(1&B&&l.GBs(t,5),2&B){let U;l.mGM(U=l.lsd())&&(P._switchElement=U.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(B,P){2&B&&(l.Mr5("id",P.id),l.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),l.HbH(P.color?"mat-"+P.color:""),l.AVh("mat-mdc-slide-toggle-focused",P._focused)("mat-mdc-slide-toggle-checked",P.checked)("_mat-animation-noopable",P._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Mj6.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[l.Mj6.None,"aria-describedby","ariaDescribedby"],required:[l.Mj6.HasDecoratorInputTransform,"required","required",l.L39],color:"color",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],tabIndex:[l.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",S=>null==S?0:(0,l.Udg)(S)],checked:[l.Mj6.HasDecoratorInputTransform,"checked","checked",l.L39],hideIcon:[l.Mj6.HasDecoratorInputTransform,"hideIcon","hideIcon",l.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[l.Jv_([h,{provide:k.cz,useExisting:I,multi:!0}]),l.GFd,l.OA$,l.aNF],ngContentSelectors:C,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(B,P){if(1&B){const U=l.RV6();l.NAR(),l.j41(0,"div",1)(1,"button",2,0),l.bIt("click",function(){return l.eBV(U),l.Njj(P._handleClick())}),l.nrm(3,"div",3),l.j41(4,"div",4)(5,"div",5)(6,"div",6),l.nrm(7,"div",7),l.k0s(),l.j41(8,"div",8),l.nrm(9,"div",9),l.k0s(),l.DNE(10,g,5,0,"div",10),l.k0s()()(),l.j41(11,"label",11),l.bIt("click",function(nt){return l.eBV(U),l.Njj(nt.stopPropagation())}),l.SdG(12),l.k0s()()}if(2&B){const U=l.sdS(2);l.Y8G("labelPosition",P.labelPosition),l.R7$(),l.AVh("mdc-switch--selected",P.checked)("mdc-switch--unselected",!P.checked)("mdc-switch--checked",P.checked)("mdc-switch--disabled",P.disabled),l.Y8G("tabIndex",P.disabled?-1:P.tabIndex)("disabled",P.disabled),l.BMQ("id",P.buttonId)("name",P.name)("aria-label",P.ariaLabel)("aria-labelledby",P._getAriaLabelledBy())("aria-describedby",P.ariaDescribedby)("aria-required",P.required||null)("aria-checked",P.checked),l.R7$(8),l.Y8G("matRippleTrigger",U)("matRippleDisabled",P.disableRipple||P.disabled)("matRippleCentered",!0),l.R7$(),l.vxM(10,P.hideIcon?-1:10),l.R7$(),l.Y8G("for",P.buttonId),l.BMQ("id",P._labelId)}},dependencies:[G.r6,G.tO],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}}return I})(),T=(()=>{class I{static{this.\u0275fac=function(B){return new(B||I)}}static{this.\u0275mod=l.$C({type:I})}static{this.\u0275inj=l.G2t({imports:[m,G.yE,G.yE]})}}return I})()},95416:(Rt,Tt,D)=>{"use strict";D.d(Tt,{UG:()=>ht,_T:()=>wt});var l=D(54438),k=D(88834),A=D(21413),G=D(60177),t=D(49969),C=D(76939),g=D(36860),f=D(18617),h=D(99327),_=D(66969),p=D(56977),m=D(86600);function F(Z,dt){if(1&Z){const ft=l.RV6();l.j41(0,"div",1)(1,"button",2),l.bIt("click",function(){l.eBV(ft);const Y=l.XpG();return l.Njj(Y.action())}),l.EFF(2),l.k0s()()}if(2&Z){const ft=l.XpG();l.R7$(2),l.SpI(" ",ft.data.action," ")}}const M=["label"];function y(Z,dt){}const T=Math.pow(2,31)-1;class I{constructor(dt,ft){this._overlayRef=ft,this._afterDismissed=new A.B,this._afterOpened=new A.B,this._onAction=new A.B,this._dismissedByAction=!1,this.containerInstance=dt,dt._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(dt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(dt,T))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const O=new l.nKC("MatSnackBarData");class S{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let B=(()=>{class Z{static{this.\u0275fac=function(L){return new(L||Z)}}static{this.\u0275dir=l.FsC({type:Z,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return Z})(),P=(()=>{class Z{static{this.\u0275fac=function(L){return new(L||Z)}}static{this.\u0275dir=l.FsC({type:Z,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return Z})(),U=(()=>{class Z{static{this.\u0275fac=function(L){return new(L||Z)}}static{this.\u0275dir=l.FsC({type:Z,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return Z})(),z=(()=>{class Z{constructor(ft,L){this.snackBarRef=ft,this.data=L}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(L){return new(L||Z)(l.rXU(I),l.rXU(O))}}static{this.\u0275cmp=l.VBU({type:Z,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[l.aNF],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(L,Y){1&L&&(l.j41(0,"div",0),l.EFF(1),l.k0s(),l.DNE(2,F,3,1,"div",1)),2&L&&(l.R7$(),l.SpI(" ",Y.data.message,"\n"),l.R7$(),l.vxM(2,Y.hasAction?2:-1))},dependencies:[k.$z,B,P,U],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return Z})();const nt={snackBarState:(0,t.hZ)("state",[(0,t.wk)("void, hidden",(0,t.iF)({transform:"scale(0.8)",opacity:0})),(0,t.wk)("visible",(0,t.iF)({transform:"scale(1)",opacity:1})),(0,t.kY)("* => visible",(0,t.i0)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,t.kY)("* => void, * => hidden",(0,t.i0)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,t.iF)({opacity:0})))])};let it=0,rt=(()=>{class Z extends C.lb{constructor(ft,L,Y,J,H){super(),this._ngZone=ft,this._elementRef=L,this._changeDetectorRef=Y,this._platform=J,this.snackBarConfig=H,this._document=(0,l.WQX)(G.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new A.B,this._onExit=new A.B,this._onEnter=new A.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+it++,this.attachDomPortal=K=>{this._assertNotAttached();const tt=this._portalOutlet.attachDomPortal(K);return this._afterPortalAttached(),tt},this._live="assertive"!==H.politeness||H.announcementMessage?"off"===H.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(ft){this._assertNotAttached();const L=this._portalOutlet.attachComponentPortal(ft);return this._afterPortalAttached(),L}attachTemplatePortal(ft){this._assertNotAttached();const L=this._portalOutlet.attachTemplatePortal(ft);return this._afterPortalAttached(),L}onAnimationEnd(ft){const{fromState:L,toState:Y}=ft;if(("void"===Y&&"void"!==L||"hidden"===Y)&&this._completeExit(),"visible"===Y){const J=this._onEnter;this._ngZone.run(()=>{J.next(),J.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const ft=this._elementRef.nativeElement,L=this.snackBarConfig.panelClass;L&&(Array.isArray(L)?L.forEach(H=>ft.classList.add(H)):ft.classList.add(L)),this._exposeToModals();const Y=this._label.nativeElement,J="mdc-snackbar__label";Y.classList.toggle(J,!Y.querySelector(`.${J}`))}_exposeToModals(){const ft=this._liveElementId,L=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Y=0;Y{const L=ft.getAttribute("aria-owns");if(L){const Y=L.replace(this._liveElementId,"").trim();Y.length>0?ft.setAttribute("aria-owns",Y):ft.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const ft=this._elementRef.nativeElement.querySelector("[aria-hidden]"),L=this._elementRef.nativeElement.querySelector("[aria-live]");if(ft&&L){let Y=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&ft.contains(document.activeElement)&&(Y=document.activeElement),ft.removeAttribute("aria-hidden"),L.appendChild(ft),Y?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(L){return new(L||Z)(l.rXU(l.SKi),l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(g.OD),l.rXU(S))}}static{this.\u0275cmp=l.VBU({type:Z,selectors:[["mat-snack-bar-container"]],viewQuery:function(L,Y){if(1&L&&(l.GBs(C.I3,7),l.GBs(M,7)),2&L){let J;l.mGM(J=l.lsd())&&(Y._portalOutlet=J.first),l.mGM(J=l.lsd())&&(Y._label=J.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(L,Y){1&L&&l.Kam("@state.done",function(H){return Y.onAnimationEnd(H)}),2&L&&l.zvX("@state",Y._animationState)},standalone:!0,features:[l.Vt3,l.aNF],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(L,Y){1&L&&(l.j41(0,"div",1)(1,"div",2,0)(3,"div",3),l.DNE(4,y,0,0,"ng-template",4),l.k0s(),l.nrm(5,"div"),l.k0s()()),2&L&&(l.R7$(5),l.BMQ("aria-live",Y._live)("role",Y._role)("id",Y._liveElementId))},dependencies:[C.I3],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[nt.snackBarState]}})}}return Z})();const lt=new l.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function mt(){return new S}});let ht=(()=>{class Z{get _openedSnackBarRef(){const ft=this._parentSnackBar;return ft?ft._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(ft){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=ft:this._snackBarRefAtThisLevel=ft}constructor(ft,L,Y,J,H,K){this._overlay=ft,this._live=L,this._injector=Y,this._breakpointObserver=J,this._parentSnackBar=H,this._defaultConfig=K,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=z,this.snackBarContainerComponent=rt,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(ft,L){return this._attach(ft,L)}openFromTemplate(ft,L){return this._attach(ft,L)}open(ft,L="",Y){const J={...this._defaultConfig,...Y};return J.data={message:ft,action:L},J.announcementMessage===ft&&(J.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,J)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(ft,L){const J=l.zZn.create({parent:L&&L.viewContainerRef&&L.viewContainerRef.injector||this._injector,providers:[{provide:S,useValue:L}]}),H=new C.A8(this.snackBarContainerComponent,L.viewContainerRef,J),K=ft.attach(H);return K.instance.snackBarConfig=L,K.instance}_attach(ft,L){const Y={...new S,...this._defaultConfig,...L},J=this._createOverlay(Y),H=this._attachSnackBarContainer(J,Y),K=new I(H,J);if(ft instanceof l.C4Q){const tt=new C.VA(ft,null,{$implicit:Y.data,snackBarRef:K});K.instance=H.attachTemplatePortal(tt)}else{const tt=this._createInjector(Y,K),ut=new C.A8(ft,void 0,tt),_t=H.attachComponentPortal(ut);K.instance=_t.instance}return this._breakpointObserver.observe(h.Rp.HandsetPortrait).pipe((0,p.Q)(J.detachments())).subscribe(tt=>{J.overlayElement.classList.toggle(this.handsetCssClass,tt.matches)}),Y.announcementMessage&&H._onAnnounce.subscribe(()=>{this._live.announce(Y.announcementMessage,Y.politeness)}),this._animateSnackBar(K,Y),this._openedSnackBarRef=K,this._openedSnackBarRef}_animateSnackBar(ft,L){ft.afterDismissed().subscribe(()=>{this._openedSnackBarRef==ft&&(this._openedSnackBarRef=null),L.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{ft.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):ft.containerInstance.enter(),L.duration&&L.duration>0&&ft.afterOpened().subscribe(()=>ft._dismissAfter(L.duration))}_createOverlay(ft){const L=new _.rR;L.direction=ft.direction;let Y=this._overlay.position().global();const J="rtl"===ft.direction,H="left"===ft.horizontalPosition||"start"===ft.horizontalPosition&&!J||"end"===ft.horizontalPosition&&J,K=!H&&"center"!==ft.horizontalPosition;return H?Y.left("0"):K?Y.right("0"):Y.centerHorizontally(),"top"===ft.verticalPosition?Y.top("0"):Y.bottom("0"),L.positionStrategy=Y,this._overlay.create(L)}_createInjector(ft,L){return l.zZn.create({parent:ft&&ft.viewContainerRef&&ft.viewContainerRef.injector||this._injector,providers:[{provide:I,useValue:L},{provide:O,useValue:ft.data}]})}static{this.\u0275fac=function(L){return new(L||Z)(l.KVO(_.hJ),l.KVO(f.Ai),l.KVO(l.zZn),l.KVO(h.QP),l.KVO(Z,12),l.KVO(lt))}}static{this.\u0275prov=l.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})(),wt=(()=>{class Z{static{this.\u0275fac=function(L){return new(L||Z)}}static{this.\u0275mod=l.$C({type:Z})}static{this.\u0275inj=l.G2t({providers:[ht],imports:[_.z_,C.jc,k.Hl,m.yE,z,m.yE]})}}return Z})()},2042:(Rt,Tt,D)=>{"use strict";D.d(Tt,{B4:()=>I,NQ:()=>it,aE:()=>nt});var l=D(54438),k=D(18617),A=D(67336),G=D(92771),t=D(21413),C=D(57786),g=D(49969),f=D(86600);const h=["mat-sort-header",""],_=["*"];function p(rt,mt){if(1&rt){const lt=l.RV6();l.j41(0,"div",2),l.bIt("@arrowPosition.start",function(){l.eBV(lt);const yt=l.XpG();return l.Njj(yt._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){l.eBV(lt);const yt=l.XpG();return l.Njj(yt._disableViewStateAnimation=!1)}),l.nrm(1,"div",3),l.j41(2,"div",4),l.nrm(3,"div",5)(4,"div",6)(5,"div",7),l.k0s()()}if(2&rt){const lt=l.XpG();l.Y8G("@arrowOpacity",lt._getArrowViewState())("@arrowPosition",lt._getArrowViewState())("@allowChildren",lt._getArrowDirectionState()),l.R7$(2),l.Y8G("@indicator",lt._getArrowDirectionState()),l.R7$(),l.Y8G("@leftPointer",lt._getArrowDirectionState()),l.R7$(),l.Y8G("@rightPointer",lt._getArrowDirectionState())}}const T=new l.nKC("MAT_SORT_DEFAULT_OPTIONS");let I=(()=>{class rt{get direction(){return this._direction}set direction(lt){this._direction=lt}constructor(lt){this._defaultOptions=lt,this._initializedStream=new G.m(1),this.sortables=new Map,this._stateChanges=new t.B,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new l.bkB,this.initialized=this._initializedStream}register(lt){this.sortables.set(lt.id,lt)}deregister(lt){this.sortables.delete(lt.id)}sort(lt){this.active!=lt.id?(this.active=lt.id,this.direction=lt.start?lt.start:this.start):this.direction=this.getNextSortDirection(lt),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(lt){if(!lt)return"";let yt=function O(rt,mt){let lt=["asc","desc"];return"desc"==rt&<.reverse(),mt||lt.push(""),lt}(lt.start||this.start,lt?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),wt=yt.indexOf(this.direction)+1;return wt>=yt.length&&(wt=0),yt[wt]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static{this.\u0275fac=function(ht){return new(ht||rt)(l.rXU(T,8))}}static{this.\u0275dir=l.FsC({type:rt,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[l.Mj6.None,"matSortActive","active"],start:[l.Mj6.None,"matSortStart","start"],direction:[l.Mj6.None,"matSortDirection","direction"],disableClear:[l.Mj6.HasDecoratorInputTransform,"matSortDisableClear","disableClear",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"matSortDisabled","disabled",l.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[l.GFd,l.OA$]})}}return rt})();const S=f.ed.ENTERING+" "+f.r5.STANDARD_CURVE,B={indicator:(0,g.hZ)("indicator",[(0,g.wk)("active-asc, asc",(0,g.iF)({transform:"translateY(0px)"})),(0,g.wk)("active-desc, desc",(0,g.iF)({transform:"translateY(10px)"})),(0,g.kY)("active-asc <=> active-desc",(0,g.i0)(S))]),leftPointer:(0,g.hZ)("leftPointer",[(0,g.wk)("active-asc, asc",(0,g.iF)({transform:"rotate(-45deg)"})),(0,g.wk)("active-desc, desc",(0,g.iF)({transform:"rotate(45deg)"})),(0,g.kY)("active-asc <=> active-desc",(0,g.i0)(S))]),rightPointer:(0,g.hZ)("rightPointer",[(0,g.wk)("active-asc, asc",(0,g.iF)({transform:"rotate(45deg)"})),(0,g.wk)("active-desc, desc",(0,g.iF)({transform:"rotate(-45deg)"})),(0,g.kY)("active-asc <=> active-desc",(0,g.i0)(S))]),arrowOpacity:(0,g.hZ)("arrowOpacity",[(0,g.wk)("desc-to-active, asc-to-active, active",(0,g.iF)({opacity:1})),(0,g.wk)("desc-to-hint, asc-to-hint, hint",(0,g.iF)({opacity:.54})),(0,g.wk)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,g.iF)({opacity:0})),(0,g.kY)("* => asc, * => desc, * => active, * => hint, * => void",(0,g.i0)("0ms")),(0,g.kY)("* <=> *",(0,g.i0)(S))]),arrowPosition:(0,g.hZ)("arrowPosition",[(0,g.kY)("* => desc-to-hint, * => desc-to-active",(0,g.i0)(S,(0,g.i7)([(0,g.iF)({transform:"translateY(-25%)"}),(0,g.iF)({transform:"translateY(0)"})]))),(0,g.kY)("* => hint-to-desc, * => active-to-desc",(0,g.i0)(S,(0,g.i7)([(0,g.iF)({transform:"translateY(0)"}),(0,g.iF)({transform:"translateY(25%)"})]))),(0,g.kY)("* => asc-to-hint, * => asc-to-active",(0,g.i0)(S,(0,g.i7)([(0,g.iF)({transform:"translateY(25%)"}),(0,g.iF)({transform:"translateY(0)"})]))),(0,g.kY)("* => hint-to-asc, * => active-to-asc",(0,g.i0)(S,(0,g.i7)([(0,g.iF)({transform:"translateY(0)"}),(0,g.iF)({transform:"translateY(-25%)"})]))),(0,g.wk)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,g.iF)({transform:"translateY(0)"})),(0,g.wk)("hint-to-desc, active-to-desc, desc",(0,g.iF)({transform:"translateY(-25%)"})),(0,g.wk)("hint-to-asc, active-to-asc, asc",(0,g.iF)({transform:"translateY(25%)"}))]),allowChildren:(0,g.hZ)("allowChildren",[(0,g.kY)("* <=> *",[(0,g.P)("@*",(0,g.MA)(),{optional:!0})])])};let P=(()=>{class rt{constructor(){this.changes=new t.B}static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275prov=l.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}}return rt})();const z={provide:P,deps:[[new l.Xx1,new l.kdw,P]],useFactory:function U(rt){return rt||new P}};let nt=(()=>{class rt{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(lt){this._updateSortActionDescription(lt)}constructor(lt,ht,yt,wt,Z,dt,ft,L){this._intl=lt,this._changeDetectorRef=ht,this._sort=yt,this._columnDef=wt,this._focusMonitor=Z,this._elementRef=dt,this._ariaDescriber=ft,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",L?.arrowPosition&&(this.arrowPosition=L?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(lt=>{const ht=!!lt;ht!==this._showIndicatorHint&&(this._setIndicatorHintVisible(ht),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(lt){this._isDisabled()&<||(this._showIndicatorHint=lt,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(lt){this._viewState=lt||{},this._disableViewStateAnimation&&(this._viewState={toState:lt.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(lt){!this._isDisabled()&&(lt.keyCode===A.t6||lt.keyCode===A.Fm)&&(lt.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const lt=this._viewState.fromState;return(lt?`${lt}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(lt){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,lt)),this._sortActionDescription=lt}_handleStateChanges(){this._rerenderSubscription=(0,C.h)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(ht){return new(ht||rt)(l.rXU(P),l.rXU(l.gRc),l.rXU(I,8),l.rXU("MAT_SORT_HEADER_COLUMN_DEF",8),l.rXU(k.FN),l.rXU(l.aKT),l.rXU(k.vr,8),l.rXU(T,8))}}static{this.\u0275cmp=l.VBU({type:rt,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(ht,yt){1&ht&&l.bIt("click",function(){return yt._handleClick()})("keydown",function(Z){return yt._handleKeydown(Z)})("mouseenter",function(){return yt._setIndicatorHintVisible(!0)})("mouseleave",function(){return yt._setIndicatorHintVisible(!1)}),2&ht&&(l.BMQ("aria-sort",yt._getAriaSortAttribute()),l.AVh("mat-sort-header-disabled",yt._isDisabled()))},inputs:{id:[l.Mj6.None,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],sortActionDescription:"sortActionDescription",disableClear:[l.Mj6.HasDecoratorInputTransform,"disableClear","disableClear",l.L39]},exportAs:["matSortHeader"],standalone:!0,features:[l.GFd,l.aNF],attrs:h,ngContentSelectors:_,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(ht,yt){1&ht&&(l.NAR(),l.j41(0,"div",0)(1,"div",1),l.SdG(2),l.k0s(),l.DNE(3,p,6,6,"div",2),l.k0s()),2&ht&&(l.AVh("mat-sort-header-sorted",yt._isSorted())("mat-sort-header-position-before","before"===yt.arrowPosition),l.BMQ("tabindex",yt._isDisabled()?null:0)("role",yt._isDisabled()?null:"button"),l.R7$(3),l.vxM(3,yt._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[B.indicator,B.leftPointer,B.rightPointer,B.arrowOpacity,B.arrowPosition,B.allowChildren]},changeDetection:0})}}return rt})(),it=(()=>{class rt{static{this.\u0275fac=function(ht){return new(ht||rt)}}static{this.\u0275mod=l.$C({type:rt})}static{this.\u0275inj=l.G2t({providers:[z],imports:[f.yE]})}}return rt})()},36013:(Rt,Tt,D)=>{"use strict";D.d(Tt,{F7:()=>St,FR:()=>Nt,M6:()=>Bt,Ti:()=>_t,V5:()=>Qt,aP:()=>Jt,xJ:()=>Xt});var l=D(76939),k=D(97768),A=D(60177),G=D(54438),t=D(86600),C=D(99213),g=D(18617),f=D(21413),h=D(18359),_=D(28203),p=D(25558),m=D(96354),F=D(99172),M=D(56977),y=D(23294),T=D(49969),I=D(36860);function O(se,be){if(1&se&&G.eu8(0,2),2&se){const Me=G.XpG();G.Y8G("ngTemplateOutlet",Me.iconOverrides[Me.state])("ngTemplateOutletContext",Me._getIconContext())}}function S(se,be){if(1&se&&(G.j41(0,"span",7),G.EFF(1),G.k0s()),2&se){const Me=G.XpG(2);G.R7$(),G.JRh(Me._getDefaultTextForState(Me.state))}}function B(se,be){if(1&se&&(G.j41(0,"span",8),G.EFF(1),G.k0s()),2&se){const Me=G.XpG(3);G.R7$(),G.JRh(Me._intl.completedLabel)}}function P(se,be){if(1&se&&(G.j41(0,"span",8),G.EFF(1),G.k0s()),2&se){const Me=G.XpG(3);G.R7$(),G.JRh(Me._intl.editableLabel)}}function U(se,be){if(1&se&&(G.DNE(0,B,2,1,"span",8)(1,P,2,1),G.j41(2,"mat-icon",7),G.EFF(3),G.k0s()),2&se){const Me=G.XpG(2);G.vxM(0,"done"===Me.state?0:"edit"===Me.state?1:-1),G.R7$(3),G.JRh(Me._getDefaultTextForState(Me.state))}}function z(se,be){if(1&se&&G.DNE(0,S,2,1)(1,U,4,2),2&se){let Me;const ae=G.XpG();G.vxM(0,"number"===(Me=ae.state)?0:1)}}function nt(se,be){1&se&&(G.j41(0,"div",4),G.eu8(1,9),G.k0s()),2&se&&(G.R7$(),G.Y8G("ngTemplateOutlet",be.template))}function it(se,be){if(1&se&&(G.j41(0,"div",4),G.EFF(1),G.k0s()),2&se){const Me=G.XpG();G.R7$(),G.JRh(Me.label)}}function rt(se,be){if(1&se&&(G.j41(0,"div",5),G.EFF(1),G.k0s()),2&se){const Me=G.XpG();G.R7$(),G.JRh(Me._intl.optionalLabel)}}function mt(se,be){if(1&se&&(G.j41(0,"div",6),G.EFF(1),G.k0s()),2&se){const Me=G.XpG();G.R7$(),G.JRh(Me.errorMessage)}}const lt=["*"];function ht(se,be){}function yt(se,be){if(1&se&&(G.SdG(0),G.DNE(1,ht,0,0,"ng-template",0)),2&se){const Me=G.XpG();G.R7$(),G.Y8G("cdkPortalOutlet",Me._portal)}}const wt=(se,be)=>({step:se,i:be}),Z=se=>({animationDuration:se}),dt=(se,be)=>({value:se,params:be});function ft(se,be){1&se&&G.SdG(0)}function L(se,be){1&se&&G.nrm(0,"div",6)}function Y(se,be){if(1&se&&(G.eu8(0,5),G.DNE(1,L,1,0,"div",6)),2&se){const Me=be.$implicit,ae=be.$index,Yt=be.$index,oe=be.$count;G.XpG(2);const _e=G.sdS(4);G.Y8G("ngTemplateOutlet",_e)("ngTemplateOutletContext",G.l_i(3,wt,Me,ae)),G.R7$(),G.vxM(1,Yt!==oe-1?1:-1)}}function J(se,be){if(1&se){const Me=G.RV6();G.j41(0,"div",7),G.bIt("@horizontalStepTransition.done",function(Yt){G.eBV(Me);const oe=G.XpG(2);return G.Njj(oe._animationDone.next(Yt))}),G.eu8(1,8),G.k0s()}if(2&se){const Me=be.$implicit,ae=be.$index,Yt=G.XpG(2);G.AVh("mat-horizontal-stepper-content-inactive",Yt.selectedIndex!==ae),G.Y8G("@horizontalStepTransition",G.l_i(8,dt,Yt._getAnimationDirection(ae),G.eq3(6,Z,Yt._getAnimationDuration())))("id",Yt._getStepContentId(ae)),G.BMQ("aria-labelledby",Yt._getStepLabelId(ae)),G.R7$(),G.Y8G("ngTemplateOutlet",Me.content)}}function H(se,be){if(1&se&&(G.j41(0,"div",1)(1,"div",2),G.Z7z(2,Y,2,6,null,null,G.fX1),G.k0s(),G.j41(4,"div",3),G.Z7z(5,J,2,11,"div",4,G.fX1),G.k0s()()),2&se){const Me=G.XpG();G.R7$(2),G.Dyx(Me.steps),G.R7$(3),G.Dyx(Me.steps)}}function K(se,be){if(1&se){const Me=G.RV6();G.j41(0,"div",9),G.eu8(1,5),G.j41(2,"div",10)(3,"div",11),G.bIt("@verticalStepTransition.done",function(Yt){G.eBV(Me);const oe=G.XpG(2);return G.Njj(oe._animationDone.next(Yt))}),G.j41(4,"div",12),G.eu8(5,8),G.k0s()()()()}if(2&se){const Me=be.$implicit,ae=be.$index,Yt=be.$index,oe=be.$count,_e=G.XpG(2),je=G.sdS(4);G.R7$(),G.Y8G("ngTemplateOutlet",je)("ngTemplateOutletContext",G.l_i(10,wt,Me,ae)),G.R7$(),G.AVh("mat-stepper-vertical-line",Yt!==oe-1),G.R7$(),G.AVh("mat-vertical-stepper-content-inactive",_e.selectedIndex!==ae),G.Y8G("@verticalStepTransition",G.l_i(15,dt,_e._getAnimationDirection(ae),G.eq3(13,Z,_e._getAnimationDuration())))("id",_e._getStepContentId(ae)),G.BMQ("aria-labelledby",_e._getStepLabelId(ae)),G.R7$(2),G.Y8G("ngTemplateOutlet",Me.content)}}function tt(se,be){if(1&se&&G.Z7z(0,K,6,18,"div",9,G.fX1),2&se){const Me=G.XpG();G.Dyx(Me.steps)}}function ut(se,be){if(1&se){const Me=G.RV6();G.j41(0,"mat-step-header",13),G.bIt("click",function(){const Yt=G.eBV(Me).step;return G.Njj(Yt.select())})("keydown",function(Yt){G.eBV(Me);const oe=G.XpG();return G.Njj(oe._onKeydown(Yt))}),G.k0s()}if(2&se){const Me=be.step,ae=be.i,Yt=G.XpG();G.AVh("mat-horizontal-stepper-header","horizontal"===Yt.orientation)("mat-vertical-stepper-header","vertical"===Yt.orientation),G.Y8G("tabIndex",Yt._getFocusIndex()===ae?0:-1)("id",Yt._getStepLabelId(ae))("index",ae)("state",Yt._getIndicatorType(ae,Me.state))("label",Me.stepLabel||Me.label)("selected",Yt.selectedIndex===ae)("active",Yt._stepIsNavigable(ae,Me))("optional",Me.optional)("errorMessage",Me.errorMessage)("iconOverrides",Yt._iconOverrides)("disableRipple",Yt.disableRipple||!Yt._stepIsNavigable(ae,Me))("color",Me.color||Yt.color),G.BMQ("aria-posinset",ae+1)("aria-setsize",Yt.steps.length)("aria-controls",Yt._getStepContentId(ae))("aria-selected",Yt.selectedIndex==ae)("aria-label",Me.ariaLabel||null)("aria-labelledby",!Me.ariaLabel&&Me.ariaLabelledby?Me.ariaLabelledby:null)("aria-disabled",!Yt._stepIsNavigable(ae,Me)||null)}}let _t=(()=>{class se extends k.nb{static{this.\u0275fac=(()=>{let Me;return function(Yt){return(Me||(Me=G.xGo(se)))(Yt||se)}})()}static{this.\u0275dir=G.FsC({type:se,selectors:[["","matStepLabel",""]],standalone:!0,features:[G.Vt3]})}}return se})(),xt=(()=>{class se{constructor(){this.changes=new f.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(ae){return new(ae||se)}}static{this.\u0275prov=G.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}}return se})();const gt={provide:xt,deps:[[new G.Xx1,new G.kdw,xt]],useFactory:function Dt(se){return se||new xt}};let Mt=(()=>{class se extends k.oX{constructor(Me,ae,Yt,oe){super(Yt),this._intl=Me,this._focusMonitor=ae,this._intlSubscription=Me.changes.subscribe(()=>oe.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Me,ae){Me?this._focusMonitor.focusVia(this._elementRef,Me,ae):this._elementRef.nativeElement.focus(ae)}_stringLabel(){return this.label instanceof _t?null:this.label}_templateLabel(){return this.label instanceof _t?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Me){return"number"==Me?`${this.index+1}`:"edit"==Me?"create":"error"==Me?"warning":Me}static{this.\u0275fac=function(ae){return new(ae||se)(G.rXU(xt),G.rXU(g.FN),G.rXU(G.aKT),G.rXU(G.gRc))}}static{this.\u0275cmp=G.VBU({type:se,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(ae,Yt){2&ae&&G.HbH("mat-"+(Yt.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[G.Vt3,G.aNF],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(ae,Yt){if(1&ae&&(G.nrm(0,"div",0),G.j41(1,"div")(2,"div",1),G.DNE(3,O,1,2,"ng-container",2)(4,z,2,1),G.k0s()(),G.j41(5,"div",3),G.DNE(6,nt,2,1,"div",4)(7,it,2,1)(8,rt,2,1,"div",5)(9,mt,2,1,"div",6),G.k0s()),2&ae){let oe;G.Y8G("matRippleTrigger",Yt._getHostElement())("matRippleDisabled",Yt.disableRipple),G.R7$(),G.ZvI("mat-step-icon-state-",Yt.state," mat-step-icon"),G.AVh("mat-step-icon-selected",Yt.selected),G.R7$(2),G.vxM(3,Yt.iconOverrides&&Yt.iconOverrides[Yt.state]?3:4),G.R7$(2),G.AVh("mat-step-label-active",Yt.active)("mat-step-label-selected",Yt.selected)("mat-step-label-error","error"==Yt.state),G.R7$(),G.vxM(6,(oe=Yt._templateLabel())?6:Yt._stringLabel()?7:-1,oe),G.R7$(2),G.vxM(8,Yt.optional&&"error"!=Yt.state?8:-1),G.R7$(),G.vxM(9,"error"===Yt.state?9:-1)}},dependencies:[t.r6,A.T3,C.An],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}}return se})();const Q="225ms",kt={horizontalStepTransition:(0,T.hZ)("horizontalStepTransition",[(0,T.wk)("previous",(0,T.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,T.wk)("current",(0,T.iF)({transform:"none",visibility:"inherit"})),(0,T.wk)("next",(0,T.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,T.kY)("* => *",(0,T.Os)([(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,T.P)("@*",(0,T.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,T.hZ)("verticalStepTransition",[(0,T.wk)("previous",(0,T.iF)({height:"0px",visibility:"hidden"})),(0,T.wk)("next",(0,T.iF)({height:"0px",visibility:"hidden"})),(0,T.wk)("current",(0,T.iF)({height:"*",visibility:"inherit"})),(0,T.kY)("* <=> current",(0,T.Os)([(0,T.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,T.P)("@*",(0,T.MA)(),{optional:!0})]),{params:{animationDuration:Q}})])};let Xt=(()=>{class se{constructor(Me){this.templateRef=Me}static{this.\u0275fac=function(ae){return new(ae||se)(G.rXU(G.C4Q))}}static{this.\u0275dir=G.FsC({type:se,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[G.Mj6.None,"matStepperIcon","name"]},standalone:!0})}}return se})(),Ie=(()=>{class se{constructor(Me){this._template=Me}static{this.\u0275fac=function(ae){return new(ae||se)(G.rXU(G.C4Q))}}static{this.\u0275dir=G.FsC({type:se,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return se})(),Qt=(()=>{class se extends k.VI{constructor(Me,ae,Yt,oe){super(Me,oe),this._errorStateMatcher=ae,this._viewContainerRef=Yt,this._isSelected=h.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,p.n)(()=>this._stepper.selectionChange.pipe((0,m.T)(Me=>Me.selectedStep===this),(0,F.Z)(this._stepper.selected===this)))).subscribe(Me=>{Me&&this._lazyContent&&!this._portal&&(this._portal=new l.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Me,ae){return this._errorStateMatcher.isErrorState(Me,ae)||!!(Me&&Me.invalid&&this.interacted)}static{this.\u0275fac=function(ae){return new(ae||se)(G.rXU((0,G.Rfq)(()=>Bt)),G.rXU(t.es,4),G.rXU(G.c1b),G.rXU(k.x8,8))}}static{this.\u0275cmp=G.VBU({type:se,selectors:[["mat-step"]],contentQueries:function(ae,Yt,oe){if(1&ae&&(G.wni(oe,_t,5),G.wni(oe,Ie,5)),2&ae){let _e;G.mGM(_e=G.lsd())&&(Yt.stepLabel=_e.first),G.mGM(_e=G.lsd())&&(Yt._lazyContent=_e.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[G.Jv_([{provide:t.es,useExisting:se},{provide:k.VI,useExisting:se}]),G.Vt3,G.aNF],ngContentSelectors:lt,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ae,Yt){1&ae&&(G.NAR(),G.DNE(0,yt,2,1,"ng-template"))},dependencies:[l.I3],encapsulation:2,changeDetection:0})}}return se})(),Bt=(()=>{class se extends k.Up{get animationDuration(){return this._animationDuration}set animationDuration(Me){this._animationDuration=/^\d+$/.test(Me)?Me+"ms":Me}constructor(Me,ae,Yt){super(Me,ae,Yt),this._stepHeader=void 0,this._steps=void 0,this.steps=new G.rOR,this.animationDone=new G.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new f.B,this._animationDuration="",this._isServer=!(0,G.WQX)(I.OD).isBrowser;const oe=Yt.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===oe?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Me,templateRef:ae})=>this._iconOverrides[Me]=ae),this.steps.changes.pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,y.F)((Me,ae)=>Me.fromState===ae.fromState&&Me.toState===ae.toState),(0,M.Q)(this._destroyed)).subscribe(Me=>{"current"===Me.toState&&this.animationDone.emit()})}_stepIsNavigable(Me,ae){return ae.completed||this.selectedIndex===Me||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":Q}static{this.\u0275fac=function(ae){return new(ae||se)(G.rXU(_.dS,8),G.rXU(G.gRc),G.rXU(G.aKT))}}static{this.\u0275cmp=G.VBU({type:se,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ae,Yt,oe){if(1&ae&&(G.wni(oe,Qt,5),G.wni(oe,Xt,5)),2&ae){let _e;G.mGM(_e=G.lsd())&&(Yt._steps=_e),G.mGM(_e=G.lsd())&&(Yt._icons=_e)}},viewQuery:function(ae,Yt){if(1&ae&&G.GBs(Mt,5),2&ae){let oe;G.mGM(oe=G.lsd())&&(Yt._stepHeader=oe)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(ae,Yt){2&ae&&(G.BMQ("aria-orientation",Yt.orientation),G.AVh("mat-stepper-horizontal","horizontal"===Yt.orientation)("mat-stepper-vertical","vertical"===Yt.orientation)("mat-stepper-label-position-end","horizontal"===Yt.orientation&&"end"==Yt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Yt.orientation&&"bottom"==Yt.labelPosition)("mat-stepper-header-position-bottom","bottom"===Yt.headerPosition))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[G.Jv_([{provide:k.Up,useExisting:se}]),G.Vt3,G.aNF],ngContentSelectors:lt,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(ae,Yt){if(1&ae&&(G.NAR(),G.DNE(0,ft,1,0)(1,H,7,0)(2,tt,2,0)(3,ut,1,23,"ng-template",null,0,G.C5r)),2&ae){let oe;G.vxM(0,Yt._isServer?0:-1),G.R7$(),G.vxM(1,"horizontal"===(oe=Yt.orientation)?1:"vertical"===oe?2:-1)}},dependencies:[A.T3,Mt],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[kt.horizontalStepTransition,kt.verticalStepTransition]},changeDetection:0})}}return se})(),St=(()=>{class se extends k.v5{static{this.\u0275fac=(()=>{let Me;return function(Yt){return(Me||(Me=G.xGo(se)))(Yt||se)}})()}static{this.\u0275dir=G.FsC({type:se,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(ae,Yt){2&ae&&G.Mr5("type",Yt.type)},standalone:!0,features:[G.Vt3]})}}return se})(),Nt=(()=>{class se extends k.FK{static{this.\u0275fac=(()=>{let Me;return function(Yt){return(Me||(Me=G.xGo(se)))(Yt||se)}})()}static{this.\u0275dir=G.FsC({type:se,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ae,Yt){2&ae&&G.Mr5("type",Yt.type)},standalone:!0,features:[G.Vt3]})}}return se})(),Jt=(()=>{class se{static{this.\u0275fac=function(ae){return new(ae||se)}}static{this.\u0275mod=G.$C({type:se})}static{this.\u0275inj=G.G2t({providers:[gt,t.es],imports:[t.yE,A.MD,l.jc,k.uY,C.m_,t.pZ,Bt,Mt,t.yE]})}}return se})()},9159:(Rt,Tt,D)=>{"use strict";D.d(Tt,{$R:()=>fe,YV:()=>te,cC:()=>qn,Qo:()=>Rn,Zq:()=>nn,iF:()=>bn,xW:()=>ie,KS:()=>wn,tL:()=>Oe,YZ:()=>ln,ji:()=>ce,ky:()=>ei,NB:()=>si,iL:()=>Ye,Zl:()=>Ht,I6:()=>Ao,tP:()=>Hi});var l=D(54438),k=D(28203),A=D(45024),G=D(36860),t=D(65478),C=D(60177),g=D(21413),f=D(86648),h=D(84412),_=D(74402),p=D(7673),m=D(56977),F=D(96697);const M=[[["caption"]],[["colgroup"],["col"]],"*"],y=["caption","colgroup, col","*"];function T(rn,hi){1&rn&&l.SdG(0,2)}function I(rn,hi){1&rn&&(l.j41(0,"thead",0),l.eu8(1,1),l.k0s(),l.j41(2,"tbody",0),l.eu8(3,2)(4,3),l.k0s(),l.j41(5,"tfoot",0),l.eu8(6,4),l.k0s())}function O(rn,hi){1&rn&&l.eu8(0,1)(1,2)(2,3)(3,4)}const P=new l.nKC("CDK_TABLE");let z=(()=>{class rn{constructor(Ue){this.template=Ue}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkCellDef",""]],standalone:!0})}}return rn})(),nt=(()=>{class rn{constructor(Ue){this.template=Ue}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return rn})(),it=(()=>{class rn{constructor(Ue){this.template=Ue}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return rn})(),rt=(()=>{class rn{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}get sticky(){return this._sticky}set sticky(Ue){Ue!==this._sticky&&(this._sticky=Ue,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Ue){Ue!==this._stickyEnd&&(this._stickyEnd=Ue,this._hasStickyChanged=!0)}constructor(Ue){this._table=Ue,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const Ue=this._hasStickyChanged;return this.resetStickyChanged(),Ue}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ue){Ue&&(this._name=Ue,this.cssClassFriendlyName=Ue.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(P,8))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkColumnDef",""]],contentQueries:function(pn,Sn,Ai){if(1&pn&&(l.wni(Ai,z,5),l.wni(Ai,nt,5),l.wni(Ai,it,5)),2&pn){let He;l.mGM(He=l.lsd())&&(Sn.cell=He.first),l.mGM(He=l.lsd())&&(Sn.headerCell=He.first),l.mGM(He=l.lsd())&&(Sn.footerCell=He.first)}},inputs:{name:[l.Mj6.None,"cdkColumnDef","name"],sticky:[l.Mj6.HasDecoratorInputTransform,"sticky","sticky",l.L39],stickyEnd:[l.Mj6.HasDecoratorInputTransform,"stickyEnd","stickyEnd",l.L39]},standalone:!0,features:[l.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:rn}]),l.GFd]})}}return rn})();class mt{constructor(hi,Ue){Ue.nativeElement.classList.add(...hi._columnCssClassName)}}let lt=(()=>{class rn extends mt{constructor(Ue,pn){super(Ue,pn)}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(rt),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[l.Vt3]})}}return rn})(),ht=(()=>{class rn extends mt{constructor(Ue,pn){super(Ue,pn);const Sn=Ue._table?._getCellRole();Sn&&pn.nativeElement.setAttribute("role",Sn)}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(rt),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[l.Vt3]})}}return rn})(),yt=(()=>{class rn extends mt{constructor(Ue,pn){super(Ue,pn);const Sn=Ue._table?._getCellRole();Sn&&pn.nativeElement.setAttribute("role",Sn)}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(rt),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[l.Vt3]})}}return rn})();class wt{constructor(){this.tasks=[],this.endTasks=[]}}const Z=new l.nKC("_COALESCED_STYLE_SCHEDULER");let dt=(()=>{class rn{constructor(Ue){this._ngZone=Ue,this._currentSchedule=null,this._destroyed=new g.B}schedule(Ue){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Ue)}scheduleEnd(Ue){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Ue)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new wt,this._getScheduleObservable().pipe((0,m.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Ue=this._currentSchedule;this._currentSchedule=new wt;for(const pn of Ue.tasks)pn();for(const pn of Ue.endTasks)pn()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,f.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,F.s)(1))}static{this.\u0275fac=function(pn){return new(pn||rn)(l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:rn,factory:rn.\u0275fac})}}return rn})(),L=(()=>{class rn{constructor(Ue,pn){this.template=Ue,this._differs=pn}ngOnChanges(Ue){if(!this._columnsDiffer){const pn=Ue.columns&&Ue.columns.currentValue||[];this._columnsDiffer=this._differs.find(pn).create(),this._columnsDiffer.diff(pn)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ue){return this instanceof Y?Ue.headerCell.template:this instanceof J?Ue.footerCell.template:Ue.cell.template}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q),l.rXU(l._q3))}}static{this.\u0275dir=l.FsC({type:rn,features:[l.OA$]})}}return rn})(),Y=(()=>{class rn extends L{get sticky(){return this._sticky}set sticky(Ue){Ue!==this._sticky&&(this._sticky=Ue,this._hasStickyChanged=!0)}constructor(Ue,pn,Sn){super(Ue,pn),this._table=Sn,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(Ue){super.ngOnChanges(Ue)}hasStickyChanged(){const Ue=this._hasStickyChanged;return this.resetStickyChanged(),Ue}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q),l.rXU(l._q3),l.rXU(P,8))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[l.Mj6.None,"cdkHeaderRowDef","columns"],sticky:[l.Mj6.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",l.L39]},standalone:!0,features:[l.GFd,l.Vt3,l.OA$]})}}return rn})(),J=(()=>{class rn extends L{get sticky(){return this._sticky}set sticky(Ue){Ue!==this._sticky&&(this._sticky=Ue,this._hasStickyChanged=!0)}constructor(Ue,pn,Sn){super(Ue,pn),this._table=Sn,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(Ue){super.ngOnChanges(Ue)}hasStickyChanged(){const Ue=this._hasStickyChanged;return this.resetStickyChanged(),Ue}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q),l.rXU(l._q3),l.rXU(P,8))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[l.Mj6.None,"cdkFooterRowDef","columns"],sticky:[l.Mj6.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",l.L39]},standalone:!0,features:[l.GFd,l.Vt3,l.OA$]})}}return rn})(),H=(()=>{class rn extends L{constructor(Ue,pn,Sn){super(Ue,pn),this._table=Sn}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q),l.rXU(l._q3),l.rXU(P,8))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkRowDef",""]],inputs:{columns:[l.Mj6.None,"cdkRowDefColumns","columns"],when:[l.Mj6.None,"cdkRowDefWhen","when"]},standalone:!0,features:[l.Vt3]})}}return rn})(),K=(()=>{class rn{static{this.mostRecentCellOutlet=null}constructor(Ue){this._viewContainer=Ue,rn.mostRecentCellOutlet=this}ngOnDestroy(){rn.mostRecentCellOutlet===this&&(rn.mostRecentCellOutlet=null)}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.c1b))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return rn})(),tt=(()=>{class rn{static{this.\u0275fac=function(pn){return new(pn||rn)}}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pn,Sn){1&pn&&l.eu8(0,0)},dependencies:[K],encapsulation:2})}}return rn})(),ut=(()=>{class rn{static{this.\u0275fac=function(pn){return new(pn||rn)}}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pn,Sn){1&pn&&l.eu8(0,0)},dependencies:[K],encapsulation:2})}}return rn})(),_t=(()=>{class rn{static{this.\u0275fac=function(pn){return new(pn||rn)}}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pn,Sn){1&pn&&l.eu8(0,0)},dependencies:[K],encapsulation:2})}}return rn})(),xt=(()=>{class rn{constructor(Ue){this.templateRef=Ue,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return rn})();const Dt=["top","bottom","left","right"];class gt{constructor(hi,Ue,pn,Sn,Ai=!0,He=!0,En){this._isNativeHtmlTable=hi,this._stickCellCss=Ue,this.direction=pn,this._coalescedStyleScheduler=Sn,this._isBrowser=Ai,this._needsPositionStickyOnElement=He,this._positionListener=En,this._cachedCellWidths=[],this._borderCellCss={top:`${Ue}-border-elem-top`,bottom:`${Ue}-border-elem-bottom`,left:`${Ue}-border-elem-left`,right:`${Ue}-border-elem-right`}}clearStickyPositioning(hi,Ue){const pn=[];for(const Sn of hi)if(Sn.nodeType===Sn.ELEMENT_NODE){pn.push(Sn);for(let Ai=0;Ai{for(const Sn of pn)this._removeStickyStyle(Sn,Ue)})}updateStickyColumns(hi,Ue,pn,Sn=!0){hi.length&&this._isBrowser&&(Ue.some(Ai=>Ai)||pn.some(Ai=>Ai))?this._coalescedStyleScheduler.schedule(()=>{const Ai=hi[0],He=Ai.children.length,En=this._getCellWidths(Ai,Sn),we=this._getStickyStartColumnPositions(En,Ue),hn=this._getStickyEndColumnPositions(En,pn),vn=Ue.lastIndexOf(!0),Be=pn.indexOf(!0),Dn="rtl"===this.direction,Vt=Dn?"right":"left",Fe=Dn?"left":"right";for(const Ce of hi)for(let tn=0;tnUe[tn]?Ce:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Be?[]:En.slice(Be).map((Ce,tn)=>pn[tn+Be]?Ce:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(hi,Ue,pn){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Sn="bottom"===pn?hi.slice().reverse():hi,Ai="bottom"===pn?Ue.slice().reverse():Ue,He=[],En=[],we=[];for(let vn=0,Be=0;vn{const pn=hi.querySelector("tfoot");pn&&(Ue.some(Sn=>!Sn)?this._removeStickyStyle(pn,["bottom"]):this._addStickyStyle(pn,"bottom",0,!1))})}_removeStickyStyle(hi,Ue){for(const Sn of Ue)hi.style[Sn]="",hi.classList.remove(this._borderCellCss[Sn]);Dt.some(Sn=>-1===Ue.indexOf(Sn)&&hi.style[Sn])?hi.style.zIndex=this._getCalculatedZIndex(hi):(hi.style.zIndex="",this._needsPositionStickyOnElement&&(hi.style.position=""),hi.classList.remove(this._stickCellCss))}_addStickyStyle(hi,Ue,pn,Sn){hi.classList.add(this._stickCellCss),Sn&&hi.classList.add(this._borderCellCss[Ue]),hi.style[Ue]=`${pn}px`,hi.style.zIndex=this._getCalculatedZIndex(hi),this._needsPositionStickyOnElement&&(hi.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(hi){const Ue={top:100,bottom:10,left:1,right:1};let pn=0;for(const Sn of Dt)hi.style[Sn]&&(pn+=Ue[Sn]);return pn?`${pn}`:""}_getCellWidths(hi,Ue=!0){if(!Ue&&this._cachedCellWidths.length)return this._cachedCellWidths;const pn=[],Sn=hi.children;for(let Ai=0;Ai0;Ai--)Ue[Ai]&&(pn[Ai]=Sn,Sn+=hi[Ai]);return pn}}const St=new l.nKC("CDK_SPL");let Jt=(()=>{class rn{constructor(Ue,pn){this.viewContainer=Ue,this.elementRef=pn;const Sn=(0,l.WQX)(P);Sn._rowOutlet=this,Sn._outletAssigned()}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.c1b),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","rowOutlet",""]],standalone:!0})}}return rn})(),se=(()=>{class rn{constructor(Ue,pn){this.viewContainer=Ue,this.elementRef=pn;const Sn=(0,l.WQX)(P);Sn._headerRowOutlet=this,Sn._outletAssigned()}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.c1b),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return rn})(),be=(()=>{class rn{constructor(Ue,pn){this.viewContainer=Ue,this.elementRef=pn;const Sn=(0,l.WQX)(P);Sn._footerRowOutlet=this,Sn._outletAssigned()}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.c1b),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return rn})(),Me=(()=>{class rn{constructor(Ue,pn){this.viewContainer=Ue,this.elementRef=pn;const Sn=(0,l.WQX)(P);Sn._noDataRowOutlet=this,Sn._outletAssigned()}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l.c1b),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return rn})(),oe=(()=>{class rn{_getCellRole(){if(void 0===this._cellRoleInternal){const Ue=this._elementRef.nativeElement.getAttribute("role"),pn="grid"===Ue||"treegrid"===Ue?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===pn?null:pn}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(Ue){this._trackByFn=Ue}get dataSource(){return this._dataSource}set dataSource(Ue){this._dataSource!==Ue&&this._switchDataSource(Ue)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ue){this._multiTemplateDataRows=Ue,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Ue){this._fixedLayout=Ue,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Ue,pn,Sn,Ai,He,En,we,hn,vn,Be,Dn,Vt){this._differs=Ue,this._changeDetectorRef=pn,this._elementRef=Sn,this._dir=He,this._platform=we,this._viewRepeater=hn,this._coalescedStyleScheduler=vn,this._viewportRuler=Be,this._stickyPositioningListener=Dn,this._ngZone=Vt,this._onDestroy=new g.B,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new l.bkB,this.viewChange=new h.t({start:0,end:Number.MAX_VALUE}),Ai||Sn.nativeElement.setAttribute("role","table"),this._document=En,this._isServer=!we.isBrowser,this._isNativeHtmlTable="TABLE"===Sn.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((Ue,pn)=>this.trackBy?this.trackBy(pn.dataIndex,pn.data):pn),this._viewportRuler.change().pipe((0,m.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ue=>{Ue?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,A.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ue=this._dataDiffer.diff(this._renderRows);if(!Ue)return this._updateNoDataRow(),void this.contentChanged.next();const pn=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ue,pn,(Sn,Ai,He)=>this._getEmbeddedViewArgs(Sn.item,He),Sn=>Sn.item.data,Sn=>{Sn.operation===A.Q3.INSERTED&&Sn.context&&this._renderCellTemplateForItem(Sn.record.item.rowDef,Sn.context)}),this._updateRowIndexContext(),Ue.forEachIdentityChange(Sn=>{pn.get(Sn.currentIndex).context.$implicit=Sn.item.data}),this._updateNoDataRow(),this._ngZone&&l.SKi.isInAngularZone()?this._ngZone.onStable.pipe((0,F.s)(1),(0,m.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Ue){this._customColumnDefs.add(Ue)}removeColumnDef(Ue){this._customColumnDefs.delete(Ue)}addRowDef(Ue){this._customRowDefs.add(Ue)}removeRowDef(Ue){this._customRowDefs.delete(Ue)}addHeaderRowDef(Ue){this._customHeaderRowDefs.add(Ue),this._headerRowDefChanged=!0}removeHeaderRowDef(Ue){this._customHeaderRowDefs.delete(Ue),this._headerRowDefChanged=!0}addFooterRowDef(Ue){this._customFooterRowDefs.add(Ue),this._footerRowDefChanged=!0}removeFooterRowDef(Ue){this._customFooterRowDefs.delete(Ue),this._footerRowDefChanged=!0}setNoDataRow(Ue){this._customNoDataRow=Ue}updateStickyHeaderRowStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Sn=je(this._headerRowOutlet,"thead");Sn&&(Sn.style.display=Ue.length?"":"none")}const pn=this._headerRowDefs.map(Sn=>Sn.sticky);this._stickyStyler.clearStickyPositioning(Ue,["top"]),this._stickyStyler.stickRows(Ue,pn,"top"),this._headerRowDefs.forEach(Sn=>Sn.resetStickyChanged())}updateStickyFooterRowStyles(){const Ue=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Sn=je(this._footerRowOutlet,"tfoot");Sn&&(Sn.style.display=Ue.length?"":"none")}const pn=this._footerRowDefs.map(Sn=>Sn.sticky);this._stickyStyler.clearStickyPositioning(Ue,["bottom"]),this._stickyStyler.stickRows(Ue,pn,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,pn),this._footerRowDefs.forEach(Sn=>Sn.resetStickyChanged())}updateStickyColumnStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),pn=this._getRenderedRows(this._rowOutlet),Sn=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ue,...pn,...Sn],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ue.forEach((Ai,He)=>{this._addStickyColumnStyles([Ai],this._headerRowDefs[He])}),this._rowDefs.forEach(Ai=>{const He=[];for(let En=0;En{this._addStickyColumnStyles([Ai],this._footerRowDefs[He])}),Array.from(this._columnDefsByName.values()).forEach(Ai=>Ai.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const pn=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||pn,this._forceRecalculateCellWidths=pn,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const Ue=[],pn=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Sn=0;Sn{const En=Sn&&Sn.has(He)?Sn.get(He):[];if(En.length){const we=En.shift();return we.dataIndex=pn,we}return{data:Ue,rowDef:He,dataIndex:pn}})}_cacheColumnDefs(){this._columnDefsByName.clear(),_e(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(pn=>{this._columnDefsByName.has(pn.name),this._columnDefsByName.set(pn.name,pn)})}_cacheRowDefs(){this._headerRowDefs=_e(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=_e(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=_e(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ue=this._rowDefs.filter(pn=>!pn.when);this._defaultRowDef=Ue[0]}_renderUpdatedColumns(){const Ue=(He,En)=>He||!!En.getColumnsDiff(),pn=this._rowDefs.reduce(Ue,!1);pn&&this._forceRenderDataRows();const Sn=this._headerRowDefs.reduce(Ue,!1);Sn&&this._forceRenderHeaderRows();const Ai=this._footerRowDefs.reduce(Ue,!1);return Ai&&this._forceRenderFooterRows(),pn||Sn||Ai}_switchDataSource(Ue){this._data=[],(0,A.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ue||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=Ue}_observeRenderChanges(){if(!this.dataSource)return;let Ue;(0,A.y4)(this.dataSource)?Ue=this.dataSource.connect(this):(0,_.A)(this.dataSource)?Ue=this.dataSource:Array.isArray(this.dataSource)&&(Ue=(0,p.of)(this.dataSource)),this._renderChangeSubscription=Ue.pipe((0,m.Q)(this._onDestroy)).subscribe(pn=>{this._data=pn||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ue,pn)=>this._renderRow(this._headerRowOutlet,Ue,pn)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ue,pn)=>this._renderRow(this._footerRowOutlet,Ue,pn)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ue,pn){const Sn=Array.from(pn.columns||[]).map(En=>this._columnDefsByName.get(En)),Ai=Sn.map(En=>En.sticky),He=Sn.map(En=>En.stickyEnd);this._stickyStyler.updateStickyColumns(Ue,Ai,He,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ue){const pn=[];for(let Sn=0;Sn!Ai.when||Ai.when(pn,Ue));else{let Ai=this._rowDefs.find(He=>He.when&&He.when(pn,Ue))||this._defaultRowDef;Ai&&Sn.push(Ai)}return Sn}_getEmbeddedViewArgs(Ue,pn){return{templateRef:Ue.rowDef.template,context:{$implicit:Ue.data},index:pn}}_renderRow(Ue,pn,Sn,Ai={}){const He=Ue.viewContainer.createEmbeddedView(pn.template,Ai,Sn);return this._renderCellTemplateForItem(pn,Ai),He}_renderCellTemplateForItem(Ue,pn){for(let Sn of this._getCellTemplates(Ue))K.mostRecentCellOutlet&&K.mostRecentCellOutlet._viewContainer.createEmbeddedView(Sn,pn);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ue=this._rowOutlet.viewContainer;for(let pn=0,Sn=Ue.length;pn{const Sn=this._columnDefsByName.get(pn);return Ue.extractCellTemplate(Sn)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ue=(pn,Sn)=>pn||Sn.hasStickyChanged();this._headerRowDefs.reduce(Ue,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ue,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ue,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new gt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,p.of)()).pipe((0,m.Q)(this._onDestroy)).subscribe(pn=>{this._stickyStyler.direction=pn,this.updateStickyColumnStyles()})}_getOwnDefs(Ue){return Ue.filter(pn=>!pn._table||pn._table===this)}_updateNoDataRow(){const Ue=this._customNoDataRow||this._noDataRow;if(!Ue)return;const pn=0===this._rowOutlet.viewContainer.length;if(pn===this._isShowingNoDataRow)return;const Sn=this._noDataRowOutlet.viewContainer;if(pn){const Ai=Sn.createEmbeddedView(Ue.templateRef),He=Ai.rootNodes[0];1===Ai.rootNodes.length&&He?.nodeType===this._document.ELEMENT_NODE&&(He.setAttribute("role","row"),He.classList.add(Ue._contentClassName))}else Sn.clear();this._isShowingNoDataRow=pn,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(pn){return new(pn||rn)(l.rXU(l._q3),l.rXU(l.gRc),l.rXU(l.aKT),l.kS0("role"),l.rXU(k.dS,8),l.rXU(C.qQ),l.rXU(G.OD),l.rXU(A.sL),l.rXU(Z),l.rXU(t.Xj),l.rXU(St,12),l.rXU(l.SKi,8))}}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(pn,Sn,Ai){if(1&pn&&(l.wni(Ai,xt,5),l.wni(Ai,rt,5),l.wni(Ai,H,5),l.wni(Ai,Y,5),l.wni(Ai,J,5)),2&pn){let He;l.mGM(He=l.lsd())&&(Sn._noDataRow=He.first),l.mGM(He=l.lsd())&&(Sn._contentColumnDefs=He),l.mGM(He=l.lsd())&&(Sn._contentRowDefs=He),l.mGM(He=l.lsd())&&(Sn._contentHeaderRowDefs=He),l.mGM(He=l.lsd())&&(Sn._contentFooterRowDefs=He)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(pn,Sn){2&pn&&l.AVh("cdk-table-fixed-layout",Sn.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[l.Mj6.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",l.L39],fixedLayout:[l.Mj6.HasDecoratorInputTransform,"fixedLayout","fixedLayout",l.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[l.Jv_([{provide:P,useExisting:rn},{provide:A.sL,useClass:A.xn},{provide:Z,useClass:dt},{provide:St,useValue:null}]),l.GFd,l.aNF],ngContentSelectors:y,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(pn,Sn){1&pn&&(l.NAR(M),l.SdG(0),l.SdG(1,1),l.DNE(2,T,1,0)(3,I,7,0)(4,O,4,0)),2&pn&&(l.R7$(2),l.vxM(2,Sn._isServer?2:-1),l.R7$(),l.vxM(3,Sn._isNativeHtmlTable?3:4))},dependencies:[se,Jt,Me,be],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return rn})();function _e(rn,hi){return rn.concat(Array.from(hi))}function je(rn,hi){const Ue=hi.toUpperCase();let pn=rn.viewContainer.element.nativeElement;for(;pn;){const Sn=1===pn.nodeType?pn.nodeName:null;if(Sn===Ue)return pn;if("TABLE"===Sn)break;pn=pn.parentNode}return null}let Le=(()=>{class rn{static{this.\u0275fac=function(pn){return new(pn||rn)}}static{this.\u0275mod=l.$C({type:rn})}static{this.\u0275inj=l.G2t({imports:[t.E9]})}}return rn})();var Ln=D(86600),Qn=D(57786),jn=D(84572),mi=D(14085),ui=D(96354);const li=[[["caption"]],[["colgroup"],["col"]],"*"],Jn=["caption","colgroup, col","*"];function Di(rn,hi){1&rn&&l.SdG(0,2)}function $n(rn,hi){1&rn&&(l.j41(0,"thead",0),l.eu8(1,1),l.k0s(),l.j41(2,"tbody",2),l.eu8(3,3)(4,4),l.k0s(),l.j41(5,"tfoot",0),l.eu8(6,5),l.k0s())}function Ii(rn,hi){1&rn&&l.eu8(0,1)(1,3)(2,4)(3,5)}let Ht=(()=>{class rn extends oe{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(pn,Sn){2&pn&&l.AVh("mdc-table-fixed-layout",Sn.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[l.Jv_([{provide:oe,useExisting:rn},{provide:P,useExisting:rn},{provide:Z,useClass:dt},{provide:A.sL,useClass:A.xn},{provide:St,useValue:null}]),l.Vt3,l.aNF],ngContentSelectors:Jn,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(pn,Sn){1&pn&&(l.NAR(li),l.SdG(0),l.SdG(1,1),l.DNE(2,Di,1,0)(3,$n,7,0)(4,Ii,4,0)),2&pn&&(l.R7$(2),l.vxM(2,Sn._isServer?2:-1),l.R7$(),l.vxM(3,Sn._isNativeHtmlTable?3:4))},dependencies:[se,Jt,Me,be],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return rn})(),te=(()=>{class rn extends z{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matCellDef",""]],standalone:!0,features:[l.Jv_([{provide:z,useExisting:rn}]),l.Vt3]})}}return rn})(),Oe=(()=>{class rn extends nt{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[l.Jv_([{provide:nt,useExisting:rn}]),l.Vt3]})}}return rn})(),nn=(()=>{class rn extends it{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[l.Jv_([{provide:it,useExisting:rn}]),l.Vt3]})}}return rn})(),qn=(()=>{class rn extends rt{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matColumnDef",""]],inputs:{name:[l.Mj6.None,"matColumnDef","name"]},standalone:!0,features:[l.Jv_([{provide:rt,useExisting:rn},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:rn}]),l.Vt3]})}}return rn})(),wn=(()=>{class rn extends lt{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[l.Vt3]})}}return rn})(),Rn=(()=>{class rn extends ht{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[l.Vt3]})}}return rn})(),fe=(()=>{class rn extends yt{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[l.Vt3]})}}return rn})(),ce=(()=>{class rn extends Y{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[l.Mj6.None,"matHeaderRowDef","columns"],sticky:[l.Mj6.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",l.L39]},standalone:!0,features:[l.Jv_([{provide:Y,useExisting:rn}]),l.GFd,l.Vt3]})}}return rn})(),ie=(()=>{class rn extends J{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matFooterRowDef",""]],inputs:{columns:[l.Mj6.None,"matFooterRowDef","columns"],sticky:[l.Mj6.HasDecoratorInputTransform,"matFooterRowDefSticky","sticky",l.L39]},standalone:!0,features:[l.Jv_([{provide:J,useExisting:rn}]),l.GFd,l.Vt3]})}}return rn})(),Ye=(()=>{class rn extends H{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["","matRowDef",""]],inputs:{columns:[l.Mj6.None,"matRowDefColumns","columns"],when:[l.Mj6.None,"matRowDefWhen","when"]},standalone:!0,features:[l.Jv_([{provide:H,useExisting:rn}]),l.Vt3]})}}return rn})(),ln=(()=>{class rn extends tt{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[l.Jv_([{provide:tt,useExisting:rn}]),l.Vt3,l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pn,Sn){1&pn&&l.eu8(0,0)},dependencies:[K],encapsulation:2})}}return rn})(),bn=(()=>{class rn extends ut{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[l.Jv_([{provide:ut,useExisting:rn}]),l.Vt3,l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pn,Sn){1&pn&&l.eu8(0,0)},dependencies:[K],encapsulation:2})}}return rn})(),si=(()=>{class rn extends _t{static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275cmp=l.VBU({type:rn,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[l.Jv_([{provide:_t,useExisting:rn}]),l.Vt3,l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pn,Sn){1&pn&&l.eu8(0,0)},dependencies:[K],encapsulation:2})}}return rn})(),ei=(()=>{class rn extends xt{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static{this.\u0275fac=(()=>{let Ue;return function(Sn){return(Ue||(Ue=l.xGo(rn)))(Sn||rn)}})()}static{this.\u0275dir=l.FsC({type:rn,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[l.Jv_([{provide:xt,useExisting:rn}]),l.Vt3]})}}return rn})(),Hi=(()=>{class rn{static{this.\u0275fac=function(pn){return new(pn||rn)}}static{this.\u0275mod=l.$C({type:rn})}static{this.\u0275inj=l.G2t({imports:[Ln.yE,Le,Ln.yE]})}}return rn})();class Ao extends A.qS{get data(){return this._data.value}set data(hi){hi=Array.isArray(hi)?hi:[],this._data.next(hi),this._renderChangesSubscription||this._filterData(hi)}get filter(){return this._filter.value}set filter(hi){this._filter.next(hi),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(hi){this._sort=hi,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(hi){this._paginator=hi,this._updateChangeSubscription()}constructor(hi=[]){super(),this._renderData=new h.t([]),this._filter=new h.t(""),this._internalPageChanges=new g.B,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ue,pn)=>{const Sn=Ue[pn];if((0,mi.o1)(Sn)){const Ai=Number(Sn);return Ai<9007199254740991?Ai:Sn}return Sn},this.sortData=(Ue,pn)=>{const Sn=pn.active,Ai=pn.direction;return Sn&&""!=Ai?Ue.sort((He,En)=>{let we=this.sortingDataAccessor(He,Sn),hn=this.sortingDataAccessor(En,Sn);const vn=typeof we,Be=typeof hn;vn!==Be&&("number"===vn&&(we+=""),"number"===Be&&(hn+=""));let Dn=0;return null!=we&&null!=hn?we>hn?Dn=1:we{const Sn=Object.keys(Ue).reduce((He,En)=>He+Ue[En]+"\u25ec","").toLowerCase(),Ai=pn.trim().toLowerCase();return-1!=Sn.indexOf(Ai)},this._data=new h.t(hi),this._updateChangeSubscription()}_updateChangeSubscription(){const hi=this._sort?(0,Qn.h)(this._sort.sortChange,this._sort.initialized):(0,p.of)(null),Ue=this._paginator?(0,Qn.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,p.of)(null),Sn=(0,jn.z)([this._data,this._filter]).pipe((0,ui.T)(([En])=>this._filterData(En))),Ai=(0,jn.z)([Sn,hi]).pipe((0,ui.T)(([En])=>this._orderData(En))),He=(0,jn.z)([Ai,Ue]).pipe((0,ui.T)(([En])=>this._pageData(En)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=He.subscribe(En=>this._renderData.next(En))}_filterData(hi){return this.filteredData=null==this.filter||""===this.filter?hi:hi.filter(Ue=>this.filterPredicate(Ue,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(hi){return this.sort?this.sortData(hi.slice(),this.sort):hi}_pageData(hi){if(!this.paginator)return hi;const Ue=this.paginator.pageIndex*this.paginator.pageSize;return hi.slice(Ue,Ue+this.paginator.pageSize)}_updatePaginator(hi){Promise.resolve().then(()=>{const Ue=this.paginator;if(Ue&&(Ue.length=hi,Ue.pageIndex>0)){const pn=Math.ceil(Ue.length/Ue.pageSize)-1||0,Sn=Math.min(Ue.pageIndex,pn);Sn!==Ue.pageIndex&&(Ue.pageIndex=Sn,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},96850:(Rt,Tt,D)=>{"use strict";D.d(Tt,{$L:()=>kt,Bu:()=>Di,ES:()=>Qt,Ql:()=>$n,RI:()=>We,T8:()=>ui,hQ:()=>Ii,mq:()=>St});var l=D(54438),k=D(86600),A=D(76939),G=D(21413),t=D(33726),C=D(7673),g=D(57786),f=D(983),h=D(71985),_=D(41584),p=D(18359),m=D(84412),F=D(65478),M=D(36860),y=D(28203),T=D(18617),I=D(67336),O=D(56977),S=D(96697),B=D(99172),P=D(25558),U=D(65245),z=D(5964),nt=D(23294),it=D(72318),rt=D(60177),mt=D(49969);const lt=["*"];function ht(pe,Te){1&pe&&l.SdG(0)}const yt=["tabListContainer"],wt=["tabList"],Z=["tabListInner"],dt=["nextPaginator"],ft=["previousPaginator"],L=pe=>({animationDuration:pe}),Y=(pe,Te)=>({value:pe,params:Te});function J(pe,Te){}const H=["tabBodyWrapper"],K=["tabHeader"];function tt(pe,Te){}function ut(pe,Te){if(1&pe&&l.DNE(0,tt,0,0,"ng-template",12),2&pe){const Ht=l.XpG().$implicit;l.Y8G("cdkPortalOutlet",Ht.templateLabel)}}function _t(pe,Te){if(1&pe&&l.EFF(0),2&pe){const Ht=l.XpG().$implicit;l.JRh(Ht.textLabel)}}function xt(pe,Te){if(1&pe){const Ht=l.RV6();l.j41(0,"div",7,2),l.bIt("click",function(){const Oe=l.eBV(Ht),nn=Oe.$implicit,qn=Oe.$index,wn=l.XpG(),Rn=l.sdS(1);return l.Njj(wn._handleClick(nn,Rn,qn))})("cdkFocusChange",function(Oe){const nn=l.eBV(Ht).$index,qn=l.XpG();return l.Njj(qn._tabFocusChanged(Oe,nn))}),l.nrm(2,"span",8)(3,"div",9),l.j41(4,"span",10)(5,"span",11),l.DNE(6,ut,1,1,null,12)(7,_t,1,1),l.k0s()()()}if(2&pe){const Ht=Te.$implicit,te=Te.$index,Oe=l.sdS(1),nn=l.XpG();l.HbH(Ht.labelClass),l.AVh("mdc-tab--active",nn.selectedIndex===te),l.Y8G("id",nn._getTabLabelId(te))("disabled",Ht.disabled)("fitInkBarToContent",nn.fitInkBarToContent),l.BMQ("tabIndex",nn._getTabIndex(te))("aria-posinset",te+1)("aria-setsize",nn._tabs.length)("aria-controls",nn._getTabContentId(te))("aria-selected",nn.selectedIndex===te)("aria-label",Ht.ariaLabel||null)("aria-labelledby",!Ht.ariaLabel&&Ht.ariaLabelledby?Ht.ariaLabelledby:null),l.R7$(3),l.Y8G("matRippleTrigger",Oe)("matRippleDisabled",Ht.disabled||nn.disableRipple),l.R7$(3),l.vxM(6,Ht.templateLabel?6:7)}}function Dt(pe,Te){1&pe&&l.SdG(0)}function gt(pe,Te){if(1&pe){const Ht=l.RV6();l.j41(0,"mat-tab-body",13),l.bIt("_onCentered",function(){l.eBV(Ht);const Oe=l.XpG();return l.Njj(Oe._removeTabBodyWrapperHeight())})("_onCentering",function(Oe){l.eBV(Ht);const nn=l.XpG();return l.Njj(nn._setTabBodyWrapperHeight(Oe))}),l.k0s()}if(2&pe){const Ht=Te.$implicit,te=Te.$index,Oe=l.XpG();l.HbH(Ht.bodyClass),l.AVh("mat-mdc-tab-body-active",Oe.selectedIndex===te),l.Y8G("id",Oe._getTabContentId(te))("content",Ht.content)("position",Ht.position)("origin",Ht.origin)("animationDuration",Oe.animationDuration)("preserveContent",Oe.preserveContent),l.BMQ("tabindex",null!=Oe.contentTabIndex&&Oe.selectedIndex===te?Oe.contentTabIndex:null)("aria-labelledby",Oe._getTabLabelId(te))("aria-hidden",Oe.selectedIndex!==te)}}const Mt=["mat-tab-nav-bar",""],ot=["mat-tab-link",""],Q=new l.nKC("MatTabContent");let kt=(()=>{class pe{constructor(Ht){this.template=Ht}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:pe,selectors:[["","matTabContent",""]],standalone:!0,features:[l.Jv_([{provide:Q,useExisting:pe}])]})}}return pe})();const Xt=new l.nKC("MatTabLabel"),Ie=new l.nKC("MAT_TAB");let Qt=(()=>{class pe extends A.bV{constructor(Ht,te,Oe){super(Ht,te),this._closestTab=Oe}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.C4Q),l.rXU(l.c1b),l.rXU(Ie,8))}}static{this.\u0275dir=l.FsC({type:pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[l.Jv_([{provide:Xt,useExisting:pe}]),l.Vt3]})}}return pe})();const Bt=new l.nKC("MAT_TAB_GROUP");let St=(()=>{class pe{get templateLabel(){return this._templateLabel}set templateLabel(Ht){this._setTemplateLabelInput(Ht)}get content(){return this._contentPortal}constructor(Ht,te){this._viewContainerRef=Ht,this._closestTabGroup=te,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new G.B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Ht){(Ht.hasOwnProperty("textLabel")||Ht.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new A.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Ht){Ht&&Ht._closestTab===this&&(this._templateLabel=Ht)}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.c1b),l.rXU(Bt,8))}}static{this.\u0275cmp=l.VBU({type:pe,selectors:[["mat-tab"]],contentQueries:function(te,Oe,nn){if(1&te&&(l.wni(nn,Qt,5),l.wni(nn,kt,7,l.C4Q)),2&te){let qn;l.mGM(qn=l.lsd())&&(Oe.templateLabel=qn.first),l.mGM(qn=l.lsd())&&(Oe._explicitContent=qn.first)}},viewQuery:function(te,Oe){if(1&te&&l.GBs(l.C4Q,7),2&te){let nn;l.mGM(nn=l.lsd())&&(Oe._implicitContent=nn.first)}},hostAttrs:["hidden",""],inputs:{disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],textLabel:[l.Mj6.None,"label","textLabel"],ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[l.Mj6.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[l.Jv_([{provide:Ie,useExisting:pe}]),l.GFd,l.OA$,l.aNF],ngContentSelectors:lt,decls:1,vars:0,template:function(te,Oe){1&te&&(l.NAR(),l.DNE(0,ht,1,0,"ng-template"))},encapsulation:2})}}return pe})();const Nt="mdc-tab-indicator--active",Jt="mdc-tab-indicator--no-transition";class se{constructor(Te){this._items=Te}hide(){this._items.forEach(Te=>Te.deactivateInkBar())}alignToElement(Te){const Ht=this._items.find(Oe=>Oe.elementRef.nativeElement===Te),te=this._currentItem;if(Ht!==te&&(te?.deactivateInkBar(),Ht)){const Oe=te?.elementRef.nativeElement.getBoundingClientRect?.();Ht.activateInkBar(Oe),this._currentItem=Ht}}}let be=(()=>{class pe{constructor(){this._elementRef=(0,l.WQX)(l.aKT),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Ht){this._fitToContent!==Ht&&(this._fitToContent=Ht,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Ht){const te=this._elementRef.nativeElement;if(!Ht||!te.getBoundingClientRect||!this._inkBarContentElement)return void te.classList.add(Nt);const Oe=te.getBoundingClientRect(),nn=Ht.width/Oe.width,qn=Ht.left-Oe.left;te.classList.add(Jt),this._inkBarContentElement.style.setProperty("transform",`translateX(${qn}px) scaleX(${nn})`),te.getBoundingClientRect(),te.classList.remove(Jt),te.classList.add(Nt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Nt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Ht=this._elementRef.nativeElement.ownerDocument||document,te=this._inkBarElement=Ht.createElement("span"),Oe=this._inkBarContentElement=Ht.createElement("span");te.className="mdc-tab-indicator",Oe.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",te.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static{this.\u0275fac=function(te){return new(te||pe)}}static{this.\u0275dir=l.FsC({type:pe,inputs:{fitInkBarToContent:[l.Mj6.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",l.L39]},features:[l.GFd]})}}return pe})(),Yt=(()=>{class pe extends be{constructor(Ht){super(),this.elementRef=Ht,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(te,Oe){2&te&&(l.BMQ("aria-disabled",!!Oe.disabled),l.AVh("mat-mdc-tab-disabled",Oe.disabled))},inputs:{disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39]},standalone:!0,features:[l.GFd,l.Vt3]})}}return pe})();const oe=(0,M.BQ)({passive:!0});let ve=(()=>{class pe{get selectedIndex(){return this._selectedIndex}set selectedIndex(Ht){const te=isNaN(Ht)?0:Ht;this._selectedIndex!=te&&(this._selectedIndexChanged=!0,this._selectedIndex=te,this._keyManager&&this._keyManager.updateActiveItem(te))}constructor(Ht,te,Oe,nn,qn,wn,Rn){this._elementRef=Ht,this._changeDetectorRef=te,this._viewportRuler=Oe,this._dir=nn,this._ngZone=qn,this._platform=wn,this._animationMode=Rn,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new G.B,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new G.B,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.bkB,this.indexFocused=new l.bkB,qn.runOutsideAngular(()=>{(0,t.R)(Ht.nativeElement,"mouseleave").pipe((0,O.Q)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,t.R)(this._previousPaginator.nativeElement,"touchstart",oe).pipe((0,O.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,t.R)(this._nextPaginator.nativeElement,"touchstart",oe).pipe((0,O.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Ht=this._dir?this._dir.change:(0,C.of)("ltr"),te=this._viewportRuler.change(150),Oe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new T.Bu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,S.s)(1)).subscribe(Oe),(0,g.h)(Ht,te,this._items.changes,this._itemsResized()).pipe((0,O.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Oe()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(nn=>{this.indexFocused.emit(nn),this._setTabFocus(nn)})}_itemsResized(){return"function"!=typeof ResizeObserver?f.w:this._items.changes.pipe((0,B.Z)(this._items),(0,P.n)(Ht=>new h.c(te=>this._ngZone.runOutsideAngular(()=>{const Oe=new ResizeObserver(nn=>te.next(nn));return Ht.forEach(nn=>Oe.observe(nn.elementRef.nativeElement)),()=>{Oe.disconnect()}}))),(0,U.i)(1),(0,z.p)(Ht=>Ht.some(te=>te.contentRect.width>0&&te.contentRect.height>0)))}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._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Ht){if(!(0,I.rp)(Ht))switch(Ht.keyCode){case I.Fm:case I.t6:if(this.focusIndex!==this.selectedIndex){const te=this._items.get(this.focusIndex);te&&!te.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Ht))}break;default:this._keyManager.onKeydown(Ht)}}_onContentChanges(){const Ht=this._elementRef.nativeElement.textContent;Ht!==this._currentTextContent&&(this._currentTextContent=Ht||"",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(Ht){!this._isValidIndex(Ht)||this.focusIndex===Ht||!this._keyManager||this._keyManager.setActiveItem(Ht)}_isValidIndex(Ht){return!this._items||!!this._items.toArray()[Ht]}_setTabFocus(Ht){if(this._showPaginationControls&&this._scrollToLabel(Ht),this._items&&this._items.length){this._items.toArray()[Ht].focus();const te=this._tabListContainer.nativeElement;te.scrollLeft="ltr"==this._getLayoutDirection()?0:te.scrollWidth-te.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Ht=this.scrollDistance,te="ltr"===this._getLayoutDirection()?-Ht:Ht;this._tabList.nativeElement.style.transform=`translateX(${Math.round(te)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Ht){this._scrollTo(Ht)}_scrollHeader(Ht){return this._scrollTo(this._scrollDistance+("before"==Ht?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Ht){this._stopInterval(),this._scrollHeader(Ht)}_scrollToLabel(Ht){if(this.disablePagination)return;const te=this._items?this._items.toArray()[Ht]:null;if(!te)return;const Oe=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:nn,offsetWidth:qn}=te.elementRef.nativeElement;let wn,Rn;"ltr"==this._getLayoutDirection()?(wn=nn,Rn=wn+qn):(Rn=this._tabListInner.nativeElement.offsetWidth-nn,wn=Rn-qn);const fe=this.scrollDistance,le=this.scrollDistance+Oe;wnle&&(this.scrollDistance+=Math.min(Rn-le,wn-fe))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Ht=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Ht||(this.scrollDistance=0),Ht!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Ht}}_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 Ht=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,te=Ht?Ht.elementRef.nativeElement:null;te?this._inkBar.alignToElement(te):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Ht,te){te&&null!=te.button&&0!==te.button||(this._stopInterval(),(0,_.O)(650,100).pipe((0,O.Q)((0,g.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Oe,distance:nn}=this._scrollHeader(Ht);(0===nn||nn>=Oe)&&this._stopInterval()}))}_scrollTo(Ht){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const te=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(te,Ht)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:te,distance:this._scrollDistance}}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(F.Xj),l.rXU(y.dS,8),l.rXU(l.SKi),l.rXU(M.OD),l.rXU(l.bc$,8))}}static{this.\u0275dir=l.FsC({type:pe,inputs:{disablePagination:[l.Mj6.HasDecoratorInputTransform,"disablePagination","disablePagination",l.L39],selectedIndex:[l.Mj6.HasDecoratorInputTransform,"selectedIndex","selectedIndex",l.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.GFd]})}}return pe})(),De=(()=>{class pe extends ve{constructor(Ht,te,Oe,nn,qn,wn,Rn){super(Ht,te,Oe,nn,qn,wn,Rn),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new se(this._items),super.ngAfterContentInit()}_itemSelected(Ht){Ht.preventDefault()}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(F.Xj),l.rXU(y.dS,8),l.rXU(l.SKi),l.rXU(M.OD),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:pe,selectors:[["mat-tab-header"]],contentQueries:function(te,Oe,nn){if(1&te&&l.wni(nn,Yt,4),2&te){let qn;l.mGM(qn=l.lsd())&&(Oe._items=qn)}},viewQuery:function(te,Oe){if(1&te&&(l.GBs(yt,7),l.GBs(wt,7),l.GBs(Z,7),l.GBs(dt,5),l.GBs(ft,5)),2&te){let nn;l.mGM(nn=l.lsd())&&(Oe._tabListContainer=nn.first),l.mGM(nn=l.lsd())&&(Oe._tabList=nn.first),l.mGM(nn=l.lsd())&&(Oe._tabListInner=nn.first),l.mGM(nn=l.lsd())&&(Oe._nextPaginator=nn.first),l.mGM(nn=l.lsd())&&(Oe._previousPaginator=nn.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(te,Oe){2&te&&l.AVh("mat-mdc-tab-header-pagination-controls-enabled",Oe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Oe._getLayoutDirection())},inputs:{disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39]},standalone:!0,features:[l.GFd,l.Vt3,l.aNF],ngContentSelectors:lt,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(te,Oe){if(1&te){const nn=l.RV6();l.NAR(),l.j41(0,"button",5,0),l.bIt("click",function(){return l.eBV(nn),l.Njj(Oe._handlePaginatorClick("before"))})("mousedown",function(wn){return l.eBV(nn),l.Njj(Oe._handlePaginatorPress("before",wn))})("touchend",function(){return l.eBV(nn),l.Njj(Oe._stopInterval())}),l.nrm(2,"div",6),l.k0s(),l.j41(3,"div",7,1),l.bIt("keydown",function(wn){return l.eBV(nn),l.Njj(Oe._handleKeydown(wn))}),l.j41(5,"div",8,2),l.bIt("cdkObserveContent",function(){return l.eBV(nn),l.Njj(Oe._onContentChanges())}),l.j41(7,"div",9,3),l.SdG(9),l.k0s()()(),l.j41(10,"button",10,4),l.bIt("mousedown",function(wn){return l.eBV(nn),l.Njj(Oe._handlePaginatorPress("after",wn))})("click",function(){return l.eBV(nn),l.Njj(Oe._handlePaginatorClick("after"))})("touchend",function(){return l.eBV(nn),l.Njj(Oe._stopInterval())}),l.nrm(12,"div",6),l.k0s()}2&te&&(l.AVh("mat-mdc-tab-header-pagination-disabled",Oe._disableScrollBefore),l.Y8G("matRippleDisabled",Oe._disableScrollBefore||Oe.disableRipple)("disabled",Oe._disableScrollBefore||null),l.R7$(3),l.AVh("_mat-animation-noopable","NoopAnimations"===Oe._animationMode),l.R7$(7),l.AVh("mat-mdc-tab-header-pagination-disabled",Oe._disableScrollAfter),l.Y8G("matRippleDisabled",Oe._disableScrollAfter||Oe.disableRipple)("disabled",Oe._disableScrollAfter||null))},dependencies:[k.r6,it.Wv],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return pe})();const Le=new l.nKC("MAT_TABS_CONFIG"),Fn={translateTab:(0,mt.hZ)("translateTab",[(0,mt.wk)("center, void, left-origin-center, right-origin-center",(0,mt.iF)({transform:"none"})),(0,mt.wk)("left",(0,mt.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,mt.wk)("right",(0,mt.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,mt.kY)("* => left, * => right, left => center, right => center",(0,mt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,mt.kY)("void => left-origin-center",[(0,mt.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,mt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,mt.kY)("void => right-origin-center",[(0,mt.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,mt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ln=(()=>{class pe extends A.I3{constructor(Ht,te,Oe,nn){super(Ht,te,nn),this._host=Oe,this._centeringSub=p.yU.EMPTY,this._leavingSub=p.yU.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,B.Z)(this._host._isCenterPosition(this._host._position))).subscribe(Ht=>{Ht&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.OM3),l.rXU(l.c1b),l.rXU((0,l.Rfq)(()=>Qn)),l.rXU(rt.qQ))}}static{this.\u0275dir=l.FsC({type:pe,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[l.Vt3]})}}return pe})(),Qn=(()=>{class pe{set position(Ht){this._positionIndex=Ht,this._computePositionAnimationState()}constructor(Ht,te,Oe){this._elementRef=Ht,this._dir=te,this._dirChangeSubscription=p.yU.EMPTY,this._translateTabComplete=new G.B,this._onCentering=new l.bkB,this._beforeCentering=new l.bkB,this._afterLeavingCenter=new l.bkB,this._onCentered=new l.bkB(!0),this.animationDuration="500ms",this.preserveContent=!1,te&&(this._dirChangeSubscription=te.change.subscribe(nn=>{this._computePositionAnimationState(nn),Oe.markForCheck()})),this._translateTabComplete.pipe((0,nt.F)((nn,qn)=>nn.fromState===qn.fromState&&nn.toState===qn.toState)).subscribe(nn=>{this._isCenterPosition(nn.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(nn.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Ht){const te=this._isCenterPosition(Ht.toState);this._beforeCentering.emit(te),te&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Ht){return"center"==Ht||"left-origin-center"==Ht||"right-origin-center"==Ht}_computePositionAnimationState(Ht=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Ht?"left":"right":this._positionIndex>0?"ltr"==Ht?"right":"left":"center"}_computePositionFromOrigin(Ht){const te=this._getLayoutDirection();return"ltr"==te&&Ht<=0||"rtl"==te&&Ht>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.aKT),l.rXU(y.dS,8),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:pe,selectors:[["mat-tab-body"]],viewQuery:function(te,Oe){if(1&te&&l.GBs(A.I3,5),2&te){let nn;l.mGM(nn=l.lsd())&&(Oe._portalHost=nn.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[l.Mj6.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[l.aNF],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(te,Oe){if(1&te){const nn=l.RV6();l.j41(0,"div",1,0),l.bIt("@translateTab.start",function(wn){return l.eBV(nn),l.Njj(Oe._onTranslateTabStarted(wn))})("@translateTab.done",function(wn){return l.eBV(nn),l.Njj(Oe._translateTabComplete.next(wn))}),l.DNE(2,J,0,0,"ng-template",2),l.k0s()}2&te&&l.Y8G("@translateTab",l.l_i(3,Y,Oe._position,l.eq3(1,L,Oe.animationDuration)))},dependencies:[Ln,F.uv],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Fn.translateTab]}})}}return pe})(),jn=0,ui=(()=>{class pe{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Ht){this._fitInkBarToContent=Ht,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ht){this._indexToSelect=isNaN(Ht)?null:Ht}get animationDuration(){return this._animationDuration}set animationDuration(Ht){const te=Ht+"";this._animationDuration=/^\d+$/.test(te)?Ht+"ms":te}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Ht){this._contentTabIndex=isNaN(Ht)?null:Ht}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ht){const te=this._elementRef.nativeElement.classList;te.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ht&&te.add("mat-tabs-with-background",`mat-background-${Ht}`),this._backgroundColor=Ht}constructor(Ht,te,Oe,nn){this._elementRef=Ht,this._changeDetectorRef=te,this._animationMode=nn,this._tabs=new l.rOR,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=p.yU.EMPTY,this._tabLabelSubscription=p.yU.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new l.bkB,this.focusChange=new l.bkB,this.animationDone=new l.bkB,this.selectedTabChange=new l.bkB(!0),this._isServer=!(0,l.WQX)(M.OD).isBrowser,this._groupId=jn++,this.animationDuration=Oe&&Oe.animationDuration?Oe.animationDuration:"500ms",this.disablePagination=!(!Oe||null==Oe.disablePagination)&&Oe.disablePagination,this.dynamicHeight=!(!Oe||null==Oe.dynamicHeight)&&Oe.dynamicHeight,null!=Oe?.contentTabIndex&&(this.contentTabIndex=Oe.contentTabIndex),this.preserveContent=!!Oe?.preserveContent,this.fitInkBarToContent=!(!Oe||null==Oe.fitInkBarToContent)&&Oe.fitInkBarToContent,this.stretchTabs=!Oe||null==Oe.stretchTabs||Oe.stretchTabs}ngAfterContentChecked(){const Ht=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ht){const te=null==this._selectedIndex;if(!te){this.selectedTabChange.emit(this._createChangeEvent(Ht));const Oe=this._tabBodyWrapper.nativeElement;Oe.style.minHeight=Oe.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Oe,nn)=>Oe.isActive=nn===Ht),te||(this.selectedIndexChange.emit(Ht),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((te,Oe)=>{te.position=Oe-Ht,null!=this._selectedIndex&&0==te.position&&!te.origin&&(te.origin=Ht-this._selectedIndex)}),this._selectedIndex!==Ht&&(this._selectedIndex=Ht,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Ht=this._clampTabIndex(this._indexToSelect);if(Ht===this._selectedIndex){const te=this._tabs.toArray();let Oe;for(let nn=0;nn{te[Ht].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Ht))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,B.Z)(this._allTabs)).subscribe(Ht=>{this._tabs.reset(Ht.filter(te=>te._closestTabGroup===this||!te._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(Ht){const te=this._tabHeader;te&&(te.focusIndex=Ht)}_focusChanged(Ht){this._lastFocusedTabIndex=Ht,this.focusChange.emit(this._createChangeEvent(Ht))}_createChangeEvent(Ht){const te=new li;return te.index=Ht,this._tabs&&this._tabs.length&&(te.tab=this._tabs.toArray()[Ht]),te}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,g.h)(...this._tabs.map(Ht=>Ht._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Ht){return Math.min(this._tabs.length-1,Math.max(Ht||0,0))}_getTabLabelId(Ht){return`mat-tab-label-${this._groupId}-${Ht}`}_getTabContentId(Ht){return`mat-tab-content-${this._groupId}-${Ht}`}_setTabBodyWrapperHeight(Ht){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const te=this._tabBodyWrapper.nativeElement;te.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(te.style.height=Ht+"px")}_removeTabBodyWrapperHeight(){const Ht=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Ht.clientHeight,Ht.style.height="",this.animationDone.emit()}_handleClick(Ht,te,Oe){te.focusIndex=Oe,Ht.disabled||(this.selectedIndex=Oe)}_getTabIndex(Ht){return Ht===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Ht,te){Ht&&"mouse"!==Ht&&"touch"!==Ht&&(this._tabHeader.focusIndex=te)}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(Le,8),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:pe,selectors:[["mat-tab-group"]],contentQueries:function(te,Oe,nn){if(1&te&&l.wni(nn,St,5),2&te){let qn;l.mGM(qn=l.lsd())&&(Oe._allTabs=qn)}},viewQuery:function(te,Oe){if(1&te&&(l.GBs(H,5),l.GBs(K,5)),2&te){let nn;l.mGM(nn=l.lsd())&&(Oe._tabBodyWrapper=nn.first),l.mGM(nn=l.lsd())&&(Oe._tabHeader=nn.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(te,Oe){2&te&&(l.HbH("mat-"+(Oe.color||"primary")),l.xc7("--mat-tab-animation-duration",Oe.animationDuration),l.AVh("mat-mdc-tab-group-dynamic-height",Oe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Oe.headerPosition)("mat-mdc-tab-group-stretch-tabs",Oe.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[l.Mj6.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",l.L39],stretchTabs:[l.Mj6.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",l.L39],dynamicHeight:[l.Mj6.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",l.L39],selectedIndex:[l.Mj6.HasDecoratorInputTransform,"selectedIndex","selectedIndex",l.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[l.Mj6.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",l.Udg],disablePagination:[l.Mj6.HasDecoratorInputTransform,"disablePagination","disablePagination",l.L39],disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],preserveContent:[l.Mj6.HasDecoratorInputTransform,"preserveContent","preserveContent",l.L39],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[l.Jv_([{provide:Bt,useExisting:pe}]),l.GFd,l.aNF],ngContentSelectors:lt,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(te,Oe){if(1&te){const nn=l.RV6();l.NAR(),l.j41(0,"mat-tab-header",3,0),l.bIt("indexFocused",function(wn){return l.eBV(nn),l.Njj(Oe._focusChanged(wn))})("selectFocusedIndex",function(wn){return l.eBV(nn),l.Njj(Oe.selectedIndex=wn)}),l.Z7z(2,xt,8,17,"div",4,l.fX1),l.k0s(),l.DNE(4,Dt,1,0),l.j41(5,"div",5,1),l.Z7z(7,gt,1,13,"mat-tab-body",6,l.fX1),l.k0s()}2&te&&(l.Y8G("selectedIndex",Oe.selectedIndex||0)("disableRipple",Oe.disableRipple)("disablePagination",Oe.disablePagination),l.R7$(2),l.Dyx(Oe._tabs),l.R7$(2),l.vxM(4,Oe._isServer?4:-1),l.R7$(),l.AVh("_mat-animation-noopable","NoopAnimations"===Oe._animationMode),l.R7$(2),l.Dyx(Oe._tabs))},dependencies:[De,Yt,T.vR,k.r6,A.I3,Qn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return pe})();class li{}let Jn=0,Di=(()=>{class pe extends ve{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Ht){this._fitInkBarToContent.next(Ht),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(Ht){const te=Ht+"";this._animationDuration=/^\d+$/.test(te)?Ht+"ms":te}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ht){const te=this._elementRef.nativeElement.classList;te.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ht&&te.add("mat-tabs-with-background",`mat-background-${Ht}`),this._backgroundColor=Ht}constructor(Ht,te,Oe,nn,qn,wn,Rn,fe){super(Ht,nn,qn,te,Oe,wn,Rn),this._fitInkBarToContent=new m.t(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!fe||null==fe.disablePagination)&&fe.disablePagination,this.fitInkBarToContent=!(!fe||null==fe.fitInkBarToContent)&&fe.fitInkBarToContent,this.stretchTabs=!fe||null==fe.stretchTabs||fe.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new se(this._items),this._items.changes.pipe((0,B.Z)(null),(0,O.Q)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Ht=this._items.toArray();for(let te=0;te.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return pe})(),$n=(()=>{class pe extends be{get active(){return this._isActive}set active(Ht){Ht!==this._isActive&&(this._isActive=Ht,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Ht,te,Oe,nn,qn,wn){super(),this._tabNavBar=Ht,this.elementRef=te,this._focusMonitor=qn,this._destroyed=new G.B,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+Jn++,this.rippleConfig=Oe||{},this.tabIndex=parseInt(nn)||0,"NoopAnimations"===wn&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),Ht._fitInkBarToContent.pipe((0,O.Q)(this._destroyed)).subscribe(Rn=>{this.fitInkBarToContent=Rn})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(Ht){(Ht.keyCode===I.t6||Ht.keyCode===I.Fm)&&(this.disabled?Ht.preventDefault():this._tabNavBar.tabPanel&&(Ht.keyCode===I.t6&&Ht.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(te){return new(te||pe)(l.rXU(Di),l.rXU(l.aKT),l.rXU(k.$E,8),l.kS0("tabindex"),l.rXU(T.FN),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(te,Oe){1&te&&l.bIt("focus",function(){return Oe._handleFocus()})("keydown",function(qn){return Oe._handleKeydown(qn)}),2&te&&(l.BMQ("aria-controls",Oe._getAriaControls())("aria-current",Oe._getAriaCurrent())("aria-disabled",Oe.disabled)("aria-selected",Oe._getAriaSelected())("id",Oe.id)("tabIndex",Oe._getTabIndex())("role",Oe._getRole()),l.AVh("mat-mdc-tab-disabled",Oe.disabled)("mdc-tab--active",Oe.active))},inputs:{active:[l.Mj6.HasDecoratorInputTransform,"active","active",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],tabIndex:[l.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",Ht=>null==Ht?0:(0,l.Udg)(Ht)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[l.GFd,l.Vt3,l.aNF],attrs:ot,ngContentSelectors:lt,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(te,Oe){1&te&&(l.NAR(),l.nrm(0,"span",0)(1,"div",1),l.j41(2,"span",2)(3,"span",3),l.SdG(4),l.k0s()()),2&te&&(l.R7$(),l.Y8G("matRippleTrigger",Oe.elementRef.nativeElement)("matRippleDisabled",Oe.rippleDisabled))},dependencies:[k.r6],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return pe})(),Ii=(()=>{class pe{constructor(){this.id="mat-tab-nav-panel-"+Jn++}static{this.\u0275fac=function(te){return new(te||pe)}}static{this.\u0275cmp=l.VBU({type:pe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(te,Oe){2&te&&l.BMQ("aria-labelledby",Oe._activeTabId)("id",Oe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[l.aNF],ngContentSelectors:lt,decls:1,vars:0,template:function(te,Oe){1&te&&(l.NAR(),l.SdG(0))},encapsulation:2,changeDetection:0})}}return pe})(),We=(()=>{class pe{static{this.\u0275fac=function(te){return new(te||pe)}}static{this.\u0275mod=l.$C({type:pe})}static{this.\u0275inj=l.G2t({imports:[k.yE,k.yE]})}}return pe})()},55911:(Rt,Tt,D)=>{"use strict";D.d(Tt,{KQ:()=>f,s5:()=>_});var l=D(54438),k=D(86600),A=D(36860),G=D(60177);const t=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"];let g=(()=>{class p{static{this.\u0275fac=function(M){return new(M||p)}}static{this.\u0275dir=l.FsC({type:p,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return p})(),f=(()=>{class p{constructor(F,M,y){this._elementRef=F,this._platform=M,this._document=y}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static{this.\u0275fac=function(M){return new(M||p)(l.rXU(l.aKT),l.rXU(A.OD),l.rXU(G.qQ))}}static{this.\u0275cmp=l.VBU({type:p,selectors:[["mat-toolbar"]],contentQueries:function(M,y,T){if(1&M&&l.wni(T,g,5),2&M){let I;l.mGM(I=l.lsd())&&(y._toolbarRows=I)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(M,y){2&M&&(l.HbH(y.color?"mat-"+y.color:""),l.AVh("mat-toolbar-multiple-rows",y._toolbarRows.length>0)("mat-toolbar-single-row",0===y._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[l.aNF],ngContentSelectors:C,decls:2,vars:0,template:function(M,y){1&M&&(l.NAR(t),l.SdG(0),l.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return p})(),_=(()=>{class p{static{this.\u0275fac=function(M){return new(M||p)}}static{this.\u0275mod=l.$C({type:p})}static{this.\u0275inj=l.G2t({imports:[k.yE,k.yE]})}}return p})()},14823:(Rt,Tt,D)=>{"use strict";D.d(Tt,{oV:()=>wt,uc:()=>ft});var l=D(56977),k=D(96697),A=D(14085),G=D(67336),t=D(54438),C=D(60177),g=D(36860),f=D(18617),h=D(28203),_=D(66969),p=D(65478),m=D(76939),F=D(21413),y=(D(49969),D(86600));const T=["tooltip"],S=new t.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const L=(0,t.WQX)(_.hJ);return()=>L.scrollStrategies.reposition({scrollThrottle:20})}}),P={provide:S,deps:[_.hJ],useFactory:function B(L){return()=>L.scrollStrategies.reposition({scrollThrottle:20})}},z=new t.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),it="tooltip-panel",rt=(0,g.BQ)({passive:!0});let wt=(()=>{class L{get position(){return this._position}set position(J){J!==this._position&&(this._position=J,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(J){this._positionAtOrigin=(0,A.he)(J),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(J){this._disabled=(0,A.he)(J),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(J){this._showDelay=(0,A.OE)(J)}get hideDelay(){return this._hideDelay}set hideDelay(J){this._hideDelay=(0,A.OE)(J),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(J){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=J?String(J).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(J){this._tooltipClass=J,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(J,H,K,tt,ut,_t,xt,Dt,gt,Mt,ot,Q){this._overlay=J,this._elementRef=H,this._scrollDispatcher=K,this._viewContainerRef=tt,this._ngZone=ut,this._platform=_t,this._ariaDescriber=xt,this._focusMonitor=Dt,this._dir=Mt,this._defaultOptions=ot,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Z,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new F.B,this._scrollStrategy=gt,this._document=Q,ot&&(this._showDelay=ot.showDelay,this._hideDelay=ot.hideDelay,ot.position&&(this.position=ot.position),ot.positionAtOrigin&&(this.positionAtOrigin=ot.positionAtOrigin),ot.touchGestures&&(this.touchGestures=ot.touchGestures)),Mt.change.pipe((0,l.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,l.Q)(this._destroyed)).subscribe(J=>{J?"keyboard"===J&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const J=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([H,K])=>{J.removeEventListener(H,K,rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(J,this.message,"tooltip"),this._focusMonitor.stopMonitoring(J)}show(J=this.showDelay,H){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const K=this._createOverlay(H);this._detach(),this._portal=this._portal||new m.A8(this._tooltipComponent,this._viewContainerRef);const tt=this._tooltipInstance=K.attach(this._portal).instance;tt._triggerElement=this._elementRef.nativeElement,tt._mouseLeaveHideDelay=this._hideDelay,tt.afterHidden().pipe((0,l.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),tt.show(J)}hide(J=this.hideDelay){const H=this._tooltipInstance;H&&(H.isVisible()?H.hide(J):(H._cancelPendingAnimations(),this._detach()))}toggle(J){this._isTooltipVisible()?this.hide():this.show(void 0,J)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(J){if(this._overlayRef){const tt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!J)&&tt._origin instanceof t.aKT)return this._overlayRef;this._detach()}const H=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),K=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&J||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(H);return K.positionChanges.pipe((0,l.Q)(this._destroyed)).subscribe(tt=>{this._updateCurrentPositionClass(tt.connectionPair),this._tooltipInstance&&tt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:K,panelClass:`${this._cssClassPrefix}-${it}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,l.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,l.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,l.Q)(this._destroyed)).subscribe(tt=>{this._isTooltipVisible()&&tt.keyCode===G._f&&!(0,G.rp)(tt)&&(tt.preventDefault(),tt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(J){const H=J.getConfig().positionStrategy,K=this._getOrigin(),tt=this._getOverlayPosition();H.withPositions([this._addOffset({...K.main,...tt.main}),this._addOffset({...K.fallback,...tt.fallback})])}_addOffset(J){const K=!this._dir||"ltr"==this._dir.value;return"top"===J.originY?J.offsetY=-8:"bottom"===J.originY?J.offsetY=8:"start"===J.originX?J.offsetX=K?-8:8:"end"===J.originX&&(J.offsetX=K?8:-8),J}_getOrigin(){const J=!this._dir||"ltr"==this._dir.value,H=this.position;let K;"above"==H||"below"==H?K={originX:"center",originY:"above"==H?"top":"bottom"}:"before"==H||"left"==H&&J||"right"==H&&!J?K={originX:"start",originY:"center"}:("after"==H||"right"==H&&J||"left"==H&&!J)&&(K={originX:"end",originY:"center"});const{x:tt,y:ut}=this._invertPosition(K.originX,K.originY);return{main:K,fallback:{originX:tt,originY:ut}}}_getOverlayPosition(){const J=!this._dir||"ltr"==this._dir.value,H=this.position;let K;"above"==H?K={overlayX:"center",overlayY:"bottom"}:"below"==H?K={overlayX:"center",overlayY:"top"}:"before"==H||"left"==H&&J||"right"==H&&!J?K={overlayX:"end",overlayY:"center"}:("after"==H||"right"==H&&J||"left"==H&&!J)&&(K={overlayX:"start",overlayY:"center"});const{x:tt,y:ut}=this._invertPosition(K.overlayX,K.overlayY);return{main:K,fallback:{overlayX:tt,overlayY:ut}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,k.s)(1),(0,l.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(J){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=J,this._tooltipInstance._markForCheck())}_invertPosition(J,H){return"above"===this.position||"below"===this.position?"top"===H?H="bottom":"bottom"===H&&(H="top"):"end"===J?J="start":"start"===J&&(J="end"),{x:J,y:H}}_updateCurrentPositionClass(J){const{overlayY:H,originX:K,originY:tt}=J;let ut;if(ut="center"===H?this._dir&&"rtl"===this._dir.value?"end"===K?"left":"right":"start"===K?"left":"right":"bottom"===H&&"top"===tt?"above":"below",ut!==this._currentPosition){const _t=this._overlayRef;if(_t){const xt=`${this._cssClassPrefix}-${it}-`;_t.removePanelClass(xt+this._currentPosition),_t.addPanelClass(xt+ut)}this._currentPosition=ut}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",J=>{let H;this._setupPointerExitEventsIfNeeded(),void 0!==J.x&&void 0!==J.y&&(H=J),this.show(void 0,H)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",J=>{const H=J.targetTouches?.[0],K=H?{x:H.clientX,y:H.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,K),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const J=[];if(this._platformSupportsMouseEvents())J.push(["mouseleave",H=>{const K=H.relatedTarget;(!K||!this._overlayRef?.overlayElement.contains(K))&&this.hide()}],["wheel",H=>this._wheelListener(H)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const H=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};J.push(["touchend",H],["touchcancel",H])}this._addListeners(J),this._passiveListeners.push(...J)}_addListeners(J){J.forEach(([H,K])=>{this._elementRef.nativeElement.addEventListener(H,K,rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(J){if(this._isTooltipVisible()){const H=this._document.elementFromPoint(J.clientX,J.clientY),K=this._elementRef.nativeElement;H!==K&&!K.contains(H)&&this.hide()}}_disableNativeGesturesIfNecessary(){const J=this.touchGestures;if("off"!==J){const H=this._elementRef.nativeElement,K=H.style;("on"===J||"INPUT"!==H.nodeName&&"TEXTAREA"!==H.nodeName)&&(K.userSelect=K.msUserSelect=K.webkitUserSelect=K.MozUserSelect="none"),("on"===J||!H.draggable)&&(K.webkitUserDrag="none"),K.touchAction="none",K.webkitTapHighlightColor="transparent"}}static{this.\u0275fac=function(H){return new(H||L)(t.rXU(_.hJ),t.rXU(t.aKT),t.rXU(p.R),t.rXU(t.c1b),t.rXU(t.SKi),t.rXU(g.OD),t.rXU(f.vr),t.rXU(f.FN),t.rXU(S),t.rXU(h.dS),t.rXU(z,8),t.rXU(C.qQ))}}static{this.\u0275dir=t.FsC({type:L,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(H,K){2&H&&t.AVh("mat-mdc-tooltip-disabled",K.disabled)},inputs:{position:[t.Mj6.None,"matTooltipPosition","position"],positionAtOrigin:[t.Mj6.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[t.Mj6.None,"matTooltipDisabled","disabled"],showDelay:[t.Mj6.None,"matTooltipShowDelay","showDelay"],hideDelay:[t.Mj6.None,"matTooltipHideDelay","hideDelay"],touchGestures:[t.Mj6.None,"matTooltipTouchGestures","touchGestures"],message:[t.Mj6.None,"matTooltip","message"],tooltipClass:[t.Mj6.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return L})(),Z=(()=>{class L{constructor(J,H,K){this._changeDetectorRef=J,this._elementRef=H,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new F.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===K}show(J){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},J)}hide(J){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},J)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:J}){(!J||!this._triggerElement.contains(J))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const J=this._elementRef.nativeElement.getBoundingClientRect();return J.height>24&&J.width>=200}_handleAnimationEnd({animationName:J}){(J===this._showAnimation||J===this._hideAnimation)&&this._finalizeAnimation(J===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(J){J?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(J){const H=this._tooltip.nativeElement,K=this._showAnimation,tt=this._hideAnimation;if(H.classList.remove(J?tt:K),H.classList.add(J?K:tt),this._isVisible!==J&&(this._isVisible=J,this._changeDetectorRef.markForCheck()),J&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ut=getComputedStyle(H);("0s"===ut.getPropertyValue("animation-duration")||"none"===ut.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}J&&this._onShow(),this._animationsDisabled&&(H.classList.add("_mat-animation-noopable"),this._finalizeAnimation(J))}static{this.\u0275fac=function(H){return new(H||L)(t.rXU(t.gRc),t.rXU(t.aKT),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:L,selectors:[["mat-tooltip-component"]],viewQuery:function(H,K){if(1&H&&t.GBs(T,7),2&H){let tt;t.mGM(tt=t.lsd())&&(K._tooltip=tt.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(H,K){1&H&&t.bIt("mouseleave",function(ut){return K._handleMouseLeave(ut)}),2&H&&t.xc7("zoom",K.isVisible()?1:null)},standalone:!0,features:[t.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(H,K){if(1&H){const tt=t.RV6();t.j41(0,"div",1,0),t.bIt("animationend",function(_t){return t.eBV(tt),t.Njj(K._handleAnimationEnd(_t))}),t.j41(2,"div",2),t.EFF(3),t.k0s()()}2&H&&(t.AVh("mdc-tooltip--multiline",K._isMultiline),t.Y8G("ngClass",K.tooltipClass),t.R7$(3),t.JRh(K.message))},dependencies:[C.YU],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return L})(),ft=(()=>{class L{static{this.\u0275fac=function(H){return new(H||L)}}static{this.\u0275mod=t.$C({type:L})}static{this.\u0275inj=t.G2t({providers:[P],imports:[f.Pd,C.MD,_.z_,y.yE,y.yE,p.Gj]})}}return L})()},47358:(Rt,Tt,D)=>{"use strict";D.d(Tt,{Zh:()=>B,d6:()=>h,jH:()=>I,lQ:()=>M,pO:()=>y,q1:()=>p,wx:()=>F,yF:()=>m,yI:()=>_,yj:()=>O,zw:()=>S});var l=D(64109),k=D(54438),A=D(86600),G=D(45024),t=D(84412),C=D(57786),g=D(96697),f=D(96354);let h=(()=>{class P extends l.xn{constructor(z,nt,it){super(z,nt),this.disabled=!1,this.tabIndex=Number(it)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(nt){return new(nt||P)(k.rXU(k.aKT),k.rXU(l.NL),k.kS0("tabindex"))}}static{this.\u0275dir=k.FsC({type:P,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{disabled:[k.Mj6.HasDecoratorInputTransform,"disabled","disabled",k.L39],tabIndex:[k.Mj6.HasDecoratorInputTransform,"tabIndex","tabIndex",z=>null==z?0:(0,k.Udg)(z)]},exportAs:["matTreeNode"],standalone:!0,features:[k.Jv_([{provide:l.xn,useExisting:P}]),k.GFd,k.Vt3]})}}return P})(),_=(()=>{class P extends l.Sz{static{this.\u0275fac=(()=>{let z;return function(it){return(z||(z=k.xGo(P)))(it||P)}})()}static{this.\u0275dir=k.FsC({type:P,selectors:[["","matTreeNodeDef",""]],inputs:{when:[k.Mj6.None,"matTreeNodeDefWhen","when"],data:[k.Mj6.None,"matTreeNode","data"]},standalone:!0,features:[k.Jv_([{provide:l.Sz,useExisting:P}]),k.Vt3]})}}return P})(),p=(()=>{class P extends l.s3{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(z){this._tabIndex=z??0}constructor(z,nt,it,rt){super(z,nt,it),this.disabled=!1,this.tabIndex=Number(rt)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(nt){return new(nt||P)(k.rXU(k.aKT),k.rXU(l.NL),k.rXU(k._q3),k.kS0("tabindex"))}}static{this.\u0275dir=k.FsC({type:P,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[k.Mj6.None,"matNestedTreeNode","node"],disabled:[k.Mj6.HasDecoratorInputTransform,"disabled","disabled",k.L39],tabIndex:"tabIndex"},exportAs:["matNestedTreeNode"],standalone:!0,features:[k.Jv_([{provide:l.s3,useExisting:P},{provide:l.xn,useExisting:P},{provide:l.kZ,useExisting:P}]),k.GFd,k.Vt3]})}}return P})(),m=(()=>{class P extends l.aI{get level(){return this._level}set level(z){this._setLevelInput(z)}get indent(){return this._indent}set indent(z){this._setIndentInput(z)}static{this.\u0275fac=(()=>{let z;return function(it){return(z||(z=k.xGo(P)))(it||P)}})()}static{this.\u0275dir=k.FsC({type:P,selectors:[["","matTreeNodePadding",""]],inputs:{level:[k.Mj6.HasDecoratorInputTransform,"matTreeNodePadding","level",k.Udg],indent:[k.Mj6.None,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[k.Jv_([{provide:l.aI,useExisting:P}]),k.GFd,k.Vt3]})}}return P})(),F=(()=>{class P{constructor(z,nt){this.viewContainer=z,this._node=nt}static{this.\u0275fac=function(nt){return new(nt||P)(k.rXU(k.c1b),k.rXU(l.kZ,8))}}static{this.\u0275dir=k.FsC({type:P,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[k.Jv_([{provide:l.a$,useExisting:P}])]})}}return P})(),M=(()=>{class P extends l.NL{constructor(){super(...arguments),this._nodeOutlet=void 0}static{this.\u0275fac=(()=>{let z;return function(it){return(z||(z=k.xGo(P)))(it||P)}})()}static{this.\u0275cmp=k.VBU({type:P,selectors:[["mat-tree"]],viewQuery:function(nt,it){if(1&nt&&k.GBs(F,7),2&nt){let rt;k.mGM(rt=k.lsd())&&(it._nodeOutlet=rt.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[k.Jv_([{provide:l.NL,useExisting:P}]),k.Vt3,k.aNF],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(nt,it){1&nt&&k.eu8(0,0)},dependencies:[F],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}}return P})(),y=(()=>{class P extends l.Hy{static{this.\u0275fac=(()=>{let z;return function(it){return(z||(z=k.xGo(P)))(it||P)}})()}static{this.\u0275dir=k.FsC({type:P,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[k.Mj6.None,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[k.Jv_([{provide:l.Hy,useExisting:P}]),k.Vt3]})}}return P})(),I=(()=>{class P{static{this.\u0275fac=function(nt){return new(nt||P)}}static{this.\u0275mod=k.$C({type:P})}static{this.\u0275inj=k.G2t({imports:[l.Dc,A.yE,A.yE]})}}return P})();class O{constructor(U,z,nt,it){this.transformFunction=U,this.getLevel=z,this.isExpandable=nt,this.getChildren=it}_flattenNode(U,z,nt,it){const rt=this.transformFunction(U,z);if(nt.push(rt),this.isExpandable(rt)){const mt=this.getChildren(U);mt&&(Array.isArray(mt)?this._flattenChildren(mt,z,nt,it):mt.pipe((0,g.s)(1)).subscribe(lt=>{this._flattenChildren(lt,z,nt,it)}))}return nt}_flattenChildren(U,z,nt,it){U.forEach((rt,mt)=>{let lt=it.slice();lt.push(mt!=U.length-1),this._flattenNode(rt,z+1,nt,lt)})}flattenNodes(U){let z=[];return U.forEach(nt=>this._flattenNode(nt,0,z,[])),z}expandFlattenedNodes(U,z){let nt=[],it=[];return it[0]=!0,U.forEach(rt=>{let mt=!0;for(let lt=0;lt<=this.getLevel(rt);lt++)mt=mt&&it[lt];mt&&nt.push(rt),this.isExpandable(rt)&&(it[this.getLevel(rt)+1]=z.isExpanded(rt))}),nt}}class S extends G.qS{get data(){return this._data.value}set data(U){this._data.next(U),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(U,z,nt){super(),this._treeControl=U,this._treeFlattener=z,this._flattenedData=new t.t([]),this._expandedData=new t.t([]),this._data=new t.t([]),nt&&(this.data=nt)}connect(U){return(0,C.h)(U.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,f.T)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class B extends G.qS{constructor(){super(...arguments),this._data=new t.t([])}get data(){return this._data.value}set data(U){this._data.next(U)}connect(U){return(0,C.h)(U.viewChange,this._data).pipe((0,f.T)(()=>this.data))}disconnect(){}}},345:(Rt,Tt,D)=>{"use strict";D.d(Tt,{B7:()=>it,Bb:()=>Xt,hE:()=>Bt,sG:()=>Mt,up:()=>Fn});var l=D(54438),k=D(60177);class A extends k.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class G extends A{static makeCurrent(){(0,k.ZD)(new G)}onAndCancel(pe,Te,Ht){return pe.addEventListener(Te,Ht),()=>{pe.removeEventListener(Te,Ht)}}dispatchEvent(pe,Te){pe.dispatchEvent(Te)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,Te){return(Te=Te||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,Te){return"window"===Te?window:"document"===Te?pe:"body"===Te?pe.body:null}getBaseHref(pe){const Te=function C(){return t=t||document.querySelector("base"),t?t.getAttribute("href"):null}();return null==Te?null:function g(We){return new URL(We,document.baseURI).pathname}(Te)}resetBaseElement(){t=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,k._b)(document.cookie,pe)}}let t=null,h=(()=>{class We{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Ht){return new(Ht||We)}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac})}}return We})();const _=new l.nKC("");let p=(()=>{class We{constructor(Te,Ht){this._zone=Ht,this._eventNameToPlugin=new Map,Te.forEach(te=>{te.manager=this}),this._plugins=Te.slice().reverse()}addEventListener(Te,Ht,te){return this._findPluginFor(Ht).addEventListener(Te,Ht,te)}getZone(){return this._zone}_findPluginFor(Te){let Ht=this._eventNameToPlugin.get(Te);if(Ht)return Ht;if(Ht=this._plugins.find(Oe=>Oe.supports(Te)),!Ht)throw new l.wOt(5101,!1);return this._eventNameToPlugin.set(Te,Ht),Ht}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(_),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac})}}return We})();class m{constructor(pe){this._doc=pe}}const F="ng-app-id";let M=(()=>{class We{constructor(Te,Ht,te,Oe={}){this.doc=Te,this.appId=Ht,this.nonce=te,this.platformId=Oe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,k.Vy)(Oe),this.resetHostNodes()}addStyles(Te){for(const Ht of Te)1===this.changeUsageCount(Ht,1)&&this.onStyleAdded(Ht)}removeStyles(Te){for(const Ht of Te)this.changeUsageCount(Ht,-1)<=0&&this.onStyleRemoved(Ht)}ngOnDestroy(){const Te=this.styleNodesInDOM;Te&&(Te.forEach(Ht=>Ht.remove()),Te.clear());for(const Ht of this.getAllStyles())this.onStyleRemoved(Ht);this.resetHostNodes()}addHost(Te){this.hostNodes.add(Te);for(const Ht of this.getAllStyles())this.addStyleToHost(Te,Ht)}removeHost(Te){this.hostNodes.delete(Te)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Te){for(const Ht of this.hostNodes)this.addStyleToHost(Ht,Te)}onStyleRemoved(Te){const Ht=this.styleRef;Ht.get(Te)?.elements?.forEach(te=>te.remove()),Ht.delete(Te)}collectServerRenderedStyles(){const Te=this.doc.head?.querySelectorAll(`style[${F}="${this.appId}"]`);if(Te?.length){const Ht=new Map;return Te.forEach(te=>{null!=te.textContent&&Ht.set(te.textContent,te)}),Ht}return null}changeUsageCount(Te,Ht){const te=this.styleRef;if(te.has(Te)){const Oe=te.get(Te);return Oe.usage+=Ht,Oe.usage}return te.set(Te,{usage:Ht,elements:[]}),Ht}getStyleElement(Te,Ht){const te=this.styleNodesInDOM,Oe=te?.get(Ht);if(Oe?.parentNode===Te)return te.delete(Ht),Oe.removeAttribute(F),Oe;{const nn=this.doc.createElement("style");return this.nonce&&nn.setAttribute("nonce",this.nonce),nn.textContent=Ht,this.platformIsServer&&nn.setAttribute(F,this.appId),Te.appendChild(nn),nn}}addStyleToHost(Te,Ht){const te=this.getStyleElement(Te,Ht),Oe=this.styleRef,nn=Oe.get(Ht)?.elements;nn?nn.push(te):Oe.set(Ht,{elements:[te],usage:1})}resetHostNodes(){const Te=this.hostNodes;Te.clear(),Te.add(this.doc.head)}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(k.qQ),l.KVO(l.sZ2),l.KVO(l.BIS,8),l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac})}}return We})();const y={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/"},T=/%COMP%/g,I="%COMP%",O=`_nghost-${I}`,S=`_ngcontent-${I}`,P=new l.nKC("",{providedIn:"root",factory:()=>!0});function nt(We,pe){return pe.map(Te=>Te.replace(T,We))}let it=(()=>{class We{constructor(Te,Ht,te,Oe,nn,qn,wn,Rn=null){this.eventManager=Te,this.sharedStylesHost=Ht,this.appId=te,this.removeStylesOnCompDestroy=Oe,this.doc=nn,this.platformId=qn,this.ngZone=wn,this.nonce=Rn,this.rendererByCompId=new Map,this.platformIsServer=(0,k.Vy)(qn),this.defaultRenderer=new rt(Te,nn,wn,this.platformIsServer)}createRenderer(Te,Ht){if(!Te||!Ht)return this.defaultRenderer;this.platformIsServer&&Ht.encapsulation===l.gXe.ShadowDom&&(Ht={...Ht,encapsulation:l.gXe.Emulated});const te=this.getOrCreateRenderer(Te,Ht);return te instanceof Z?te.applyToHost(Te):te instanceof wt&&te.applyStyles(),te}getOrCreateRenderer(Te,Ht){const te=this.rendererByCompId;let Oe=te.get(Ht.id);if(!Oe){const nn=this.doc,qn=this.ngZone,wn=this.eventManager,Rn=this.sharedStylesHost,fe=this.removeStylesOnCompDestroy,le=this.platformIsServer;switch(Ht.encapsulation){case l.gXe.Emulated:Oe=new Z(wn,Rn,Ht,this.appId,fe,nn,qn,le);break;case l.gXe.ShadowDom:return new yt(wn,Rn,Te,Ht,nn,qn,this.nonce,le);default:Oe=new wt(wn,Rn,Ht,fe,nn,qn,le)}te.set(Ht.id,Oe)}return Oe}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(p),l.KVO(M),l.KVO(l.sZ2),l.KVO(P),l.KVO(k.qQ),l.KVO(l.Agw),l.KVO(l.SKi),l.KVO(l.BIS))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac})}}return We})();class rt{constructor(pe,Te,Ht,te){this.eventManager=pe,this.doc=Te,this.ngZone=Ht,this.platformIsServer=te,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(pe,Te){return Te?this.doc.createElementNS(y[Te]||Te,pe):this.doc.createElement(pe)}createComment(pe){return this.doc.createComment(pe)}createText(pe){return this.doc.createTextNode(pe)}appendChild(pe,Te){(ht(pe)?pe.content:pe).appendChild(Te)}insertBefore(pe,Te,Ht){pe&&(ht(pe)?pe.content:pe).insertBefore(Te,Ht)}removeChild(pe,Te){pe&&pe.removeChild(Te)}selectRootElement(pe,Te){let Ht="string"==typeof pe?this.doc.querySelector(pe):pe;if(!Ht)throw new l.wOt(-5104,!1);return Te||(Ht.textContent=""),Ht}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,Te,Ht,te){if(te){Te=te+":"+Te;const Oe=y[te];Oe?pe.setAttributeNS(Oe,Te,Ht):pe.setAttribute(Te,Ht)}else pe.setAttribute(Te,Ht)}removeAttribute(pe,Te,Ht){if(Ht){const te=y[Ht];te?pe.removeAttributeNS(te,Te):pe.removeAttribute(`${Ht}:${Te}`)}else pe.removeAttribute(Te)}addClass(pe,Te){pe.classList.add(Te)}removeClass(pe,Te){pe.classList.remove(Te)}setStyle(pe,Te,Ht,te){te&(l.czy.DashCase|l.czy.Important)?pe.style.setProperty(Te,Ht,te&l.czy.Important?"important":""):pe.style[Te]=Ht}removeStyle(pe,Te,Ht){Ht&l.czy.DashCase?pe.style.removeProperty(Te):pe.style[Te]=""}setProperty(pe,Te,Ht){null!=pe&&(pe[Te]=Ht)}setValue(pe,Te){pe.nodeValue=Te}listen(pe,Te,Ht){if("string"==typeof pe&&!(pe=(0,k.QT)().getGlobalEventTarget(this.doc,pe)))throw new Error(`Unsupported event target ${pe} for event ${Te}`);return this.eventManager.addEventListener(pe,Te,this.decoratePreventDefault(Ht))}decoratePreventDefault(pe){return Te=>{if("__ngUnwrap__"===Te)return pe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>pe(Te)):pe(Te))&&Te.preventDefault()}}}function ht(We){return"TEMPLATE"===We.tagName&&void 0!==We.content}class yt extends rt{constructor(pe,Te,Ht,te,Oe,nn,qn,wn){super(pe,Oe,nn,wn),this.sharedStylesHost=Te,this.hostEl=Ht,this.shadowRoot=Ht.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Rn=nt(te.id,te.styles);for(const fe of Rn){const le=document.createElement("style");qn&&le.setAttribute("nonce",qn),le.textContent=fe,this.shadowRoot.appendChild(le)}}nodeOrShadowRoot(pe){return pe===this.hostEl?this.shadowRoot:pe}appendChild(pe,Te){return super.appendChild(this.nodeOrShadowRoot(pe),Te)}insertBefore(pe,Te,Ht){return super.insertBefore(this.nodeOrShadowRoot(pe),Te,Ht)}removeChild(pe,Te){return super.removeChild(this.nodeOrShadowRoot(pe),Te)}parentNode(pe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(pe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wt extends rt{constructor(pe,Te,Ht,te,Oe,nn,qn,wn){super(pe,Oe,nn,qn),this.sharedStylesHost=Te,this.removeStylesOnCompDestroy=te,this.styles=wn?nt(wn,Ht.styles):Ht.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Z extends wt{constructor(pe,Te,Ht,te,Oe,nn,qn,wn){const Rn=te+"-"+Ht.id;super(pe,Te,Ht,Oe,nn,qn,wn,Rn),this.contentAttr=function U(We){return S.replace(T,We)}(Rn),this.hostAttr=function z(We){return O.replace(T,We)}(Rn)}applyToHost(pe){this.applyStyles(),this.setAttribute(pe,this.hostAttr,"")}createElement(pe,Te){const Ht=super.createElement(pe,Te);return super.setAttribute(Ht,this.contentAttr,""),Ht}}let dt=(()=>{class We extends m{constructor(Te){super(Te)}supports(Te){return!0}addEventListener(Te,Ht,te){return Te.addEventListener(Ht,te,!1),()=>this.removeEventListener(Te,Ht,te)}removeEventListener(Te,Ht,te){return Te.removeEventListener(Ht,te)}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(k.qQ))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac})}}return We})();const ft=["alt","control","meta","shift"],L={"\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"},Y={alt:We=>We.altKey,control:We=>We.ctrlKey,meta:We=>We.metaKey,shift:We=>We.shiftKey};let J=(()=>{class We extends m{constructor(Te){super(Te)}supports(Te){return null!=We.parseEventName(Te)}addEventListener(Te,Ht,te){const Oe=We.parseEventName(Ht),nn=We.eventCallback(Oe.fullKey,te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,k.QT)().onAndCancel(Te,Oe.domEventName,nn))}static parseEventName(Te){const Ht=Te.toLowerCase().split("."),te=Ht.shift();if(0===Ht.length||"keydown"!==te&&"keyup"!==te)return null;const Oe=We._normalizeKey(Ht.pop());let nn="",qn=Ht.indexOf("code");if(qn>-1&&(Ht.splice(qn,1),nn="code."),ft.forEach(Rn=>{const fe=Ht.indexOf(Rn);fe>-1&&(Ht.splice(fe,1),nn+=Rn+".")}),nn+=Oe,0!=Ht.length||0===Oe.length)return null;const wn={};return wn.domEventName=te,wn.fullKey=nn,wn}static matchEventFullKeyCode(Te,Ht){let te=L[Te.key]||Te.key,Oe="";return Ht.indexOf("code.")>-1&&(te=Te.code,Oe="code."),!(null==te||!te)&&(te=te.toLowerCase()," "===te?te="space":"."===te&&(te="dot"),ft.forEach(nn=>{nn!==te&&(0,Y[nn])(Te)&&(Oe+=nn+".")}),Oe+=te,Oe===Ht)}static eventCallback(Te,Ht,te){return Oe=>{We.matchEventFullKeyCode(Oe,Te)&&te.runGuarded(()=>Ht(Oe))}}static _normalizeKey(Te){return"esc"===Te?"escape":Te}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(k.qQ))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac})}}return We})();const Mt=(0,l.oH4)(l.fpN,"browser",[{provide:l.Agw,useValue:k.AJ},{provide:l.PLl,useValue:function _t(){G.makeCurrent()},multi:!0},{provide:k.qQ,useFactory:function Dt(){return(0,l.TL$)(document),document},deps:[]}]),ot=new l.nKC(""),Q=[{provide:l.e01,useClass:class f{addToWindow(pe){l.JZv.getAngularTestability=(Ht,te=!0)=>{const Oe=pe.findTestabilityInTree(Ht,te);if(null==Oe)throw new l.wOt(5103,!1);return Oe},l.JZv.getAllAngularTestabilities=()=>pe.getAllTestabilities(),l.JZv.getAllAngularRootElements=()=>pe.getAllRootElements(),l.JZv.frameworkStabilizers||(l.JZv.frameworkStabilizers=[]),l.JZv.frameworkStabilizers.push(Ht=>{const te=l.JZv.getAllAngularTestabilities();let Oe=te.length;const nn=function(){Oe--,0==Oe&&Ht()};te.forEach(qn=>{qn.whenStable(nn)})})}findTestabilityInTree(pe,Te,Ht){return null==Te?null:pe.getTestability(Te)??(Ht?(0,k.QT)().isShadowRoot(Te)?this.findTestabilityInTree(pe,Te.host,!0):this.findTestabilityInTree(pe,Te.parentElement,!0):null)}},deps:[]},{provide:l.WHO,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]},{provide:l.NYb,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]}],kt=[{provide:l.H8p,useValue:"root"},{provide:l.zcH,useFactory:function xt(){return new l.zcH},deps:[]},{provide:_,useClass:dt,multi:!0,deps:[k.qQ,l.SKi,l.Agw]},{provide:_,useClass:J,multi:!0,deps:[k.qQ]},it,M,p,{provide:l._9s,useExisting:it},{provide:k.N0,useClass:h,deps:[]},[]];let Xt=(()=>{class We{constructor(Te){}static withServerTransition(Te){return{ngModule:We,providers:[{provide:l.sZ2,useValue:Te.appId}]}}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(ot,12))}}static{this.\u0275mod=l.$C({type:We})}static{this.\u0275inj=l.G2t({providers:[...kt,...Q],imports:[k.MD,l.Hbi]})}}return We})(),Bt=(()=>{class We{constructor(Te){this._doc=Te}getTitle(){return this._doc.title}setTitle(Te){this._doc.title=Te||""}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(k.qQ))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),Fn=(()=>{class We{static{this.\u0275fac=function(Ht){return new(Ht||We)}}static{this.\u0275prov=l.jDH({token:We,factory:function(Ht){let te=null;return te=Ht?new(Ht||We):l.KVO(Ln),te},providedIn:"root"})}}return We})(),Ln=(()=>{class We extends Fn{constructor(Te){super(),this._doc=Te}sanitize(Te,Ht){if(null==Ht)return null;switch(Te){case l.WPN.NONE:return Ht;case l.WPN.HTML:return(0,l.ZF7)(Ht,"HTML")?(0,l.rcV)(Ht):(0,l.h9k)(this._doc,String(Ht)).toString();case l.WPN.STYLE:return(0,l.ZF7)(Ht,"Style")?(0,l.rcV)(Ht):Ht;case l.WPN.SCRIPT:if((0,l.ZF7)(Ht,"Script"))return(0,l.rcV)(Ht);throw new l.wOt(5200,!1);case l.WPN.URL:return(0,l.ZF7)(Ht,"URL")?(0,l.rcV)(Ht):(0,l.$MX)(String(Ht));case l.WPN.RESOURCE_URL:if((0,l.ZF7)(Ht,"ResourceURL"))return(0,l.rcV)(Ht);throw new l.wOt(5201,!1);default:throw new l.wOt(5202,!1)}}bypassSecurityTrustHtml(Te){return(0,l.Kcf)(Te)}bypassSecurityTrustStyle(Te){return(0,l.cWb)(Te)}bypassSecurityTrustScript(Te){return(0,l.UyX)(Te)}bypassSecurityTrustUrl(Te){return(0,l.osQ)(Te)}bypassSecurityTrustResourceUrl(Te){return(0,l.e5t)(Te)}static{this.\u0275fac=function(Ht){return new(Ht||We)(l.KVO(k.qQ))}}static{this.\u0275prov=l.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})()},74710:(Rt,Tt,D)=>{"use strict";D.d(Tt,{nX:()=>ts,wF:()=>In,b:()=>Tn,Ix:()=>ko,Wk:()=>xo,wQ:()=>_a,iI:()=>Ql,n3:()=>wo});var l=D(10467),k=D(54438),A=D(74402),G=D(86648),t=D(7673),C=D(84412),g=D(84572),f=D(9350),h=D(28793),_=D(59030),p=D(71203),m=D(18810),F=D(983),M=D(30017),y=D(21413),T=D(18359),I=D(60177),O=D(96354),S=D(25558),B=D(96697),P=D(99172),U=D(5964),z=D(31397),nt=D(61594),it=D(70274),rt=D(88141),mt=D(99437),lt=D(39974),ht=D(54360);var Z=D(39901);function dt(It){return It<=0?()=>F.w:(0,lt.N)((Kt,zt)=>{let ee=[];Kt.subscribe((0,ht._)(zt,xe=>{ee.push(xe),It{for(const xe of ee)zt.next(xe);zt.complete()},void 0,()=>{ee=null}))})}var ft=D(93774),L=D(33669),J=D(73703),H=D(70980),K=D(99898),tt=D(56977),ut=D(26365),_t=D(345);const xt="primary",Dt=Symbol("RouteTitle");class gt{constructor(Kt){this.params=Kt||{}}has(Kt){return Object.prototype.hasOwnProperty.call(this.params,Kt)}get(Kt){if(this.has(Kt)){const zt=this.params[Kt];return Array.isArray(zt)?zt[0]:zt}return null}getAll(Kt){if(this.has(Kt)){const zt=this.params[Kt];return Array.isArray(zt)?zt:[zt]}return[]}get keys(){return Object.keys(this.params)}}function Mt(It){return new gt(It)}function ot(It,Kt,zt){const ee=zt.path.split("/");if(ee.length>It.length||"full"===zt.pathMatch&&(Kt.hasChildren()||ee.lengthee[on]===xe)}return It===Kt}function Qt(It){return It.length>0?It[It.length-1]:null}function Bt(It){return(0,A.A)(It)?It:(0,k.jNT)(It)?(0,G.H)(Promise.resolve(It)):(0,t.of)(It)}const St={exact:function be(It,Kt,zt){if(!Le(It.segments,Kt.segments)||!oe(It.segments,Kt.segments,zt)||It.numberOfChildren!==Kt.numberOfChildren)return!1;for(const ee in Kt.children)if(!It.children[ee]||!be(It.children[ee],Kt.children[ee],zt))return!1;return!0},subset:ae},Nt={exact:function se(It,Kt){return kt(It,Kt)},subset:function Me(It,Kt){return Object.keys(Kt).length<=Object.keys(It).length&&Object.keys(Kt).every(zt=>Ie(It[zt],Kt[zt]))},ignored:()=>!0};function Jt(It,Kt,zt){return St[zt.paths](It.root,Kt.root,zt.matrixParams)&&Nt[zt.queryParams](It.queryParams,Kt.queryParams)&&!("exact"===zt.fragment&&It.fragment!==Kt.fragment)}function ae(It,Kt,zt){return Yt(It,Kt,Kt.segments,zt)}function Yt(It,Kt,zt,ee){if(It.segments.length>zt.length){const xe=It.segments.slice(0,zt.length);return!(!Le(xe,zt)||Kt.hasChildren()||!oe(xe,zt,ee))}if(It.segments.length===zt.length){if(!Le(It.segments,zt)||!oe(It.segments,zt,ee))return!1;for(const xe in Kt.children)if(!It.children[xe]||!ae(It.children[xe],Kt.children[xe],ee))return!1;return!0}{const xe=zt.slice(0,It.segments.length),on=zt.slice(It.segments.length);return!!(Le(It.segments,xe)&&oe(It.segments,xe,ee)&&It.children[xt])&&Yt(It.children[xt],Kt,on,ee)}}function oe(It,Kt,zt){return Kt.every((ee,xe)=>Nt[zt](It[xe].parameters,ee.parameters))}class _e{constructor(Kt=new je([],{}),zt={},ee=null){this.root=Kt,this.queryParams=zt,this.fragment=ee}get queryParamMap(){return this._queryParamMap??=Mt(this.queryParams),this._queryParamMap}toString(){return jn.serialize(this)}}class je{constructor(Kt,zt){this.segments=Kt,this.children=zt,this.parent=null,Object.values(zt).forEach(ee=>ee.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mi(this)}}class ve{constructor(Kt,zt){this.path=Kt,this.parameters=zt}get parameterMap(){return this._parameterMap??=Mt(this.parameters),this._parameterMap}toString(){return pe(this)}}function Le(It,Kt){return It.length===Kt.length&&It.every((zt,ee)=>zt.path===Kt[ee].path)}let Ln=(()=>{class It{static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:()=>new Qn,providedIn:"root"})}}return It})();class Qn{parse(Kt){const zt=new ce(Kt);return new _e(zt.parseRootSegment(),zt.parseQueryParams(),zt.parseFragment())}serialize(Kt){const zt=`/${ui(Kt.root,!0)}`,ee=function Ht(It){const Kt=Object.entries(It).map(([zt,ee])=>Array.isArray(ee)?ee.map(xe=>`${Jn(zt)}=${Jn(xe)}`).join("&"):`${Jn(zt)}=${Jn(ee)}`).filter(zt=>zt);return Kt.length?`?${Kt.join("&")}`:""}(Kt.queryParams);return`${zt}${ee}${"string"==typeof Kt.fragment?`#${function Di(It){return encodeURI(It)}(Kt.fragment)}`:""}`}}const jn=new Qn;function mi(It){return It.segments.map(Kt=>pe(Kt)).join("/")}function ui(It,Kt){if(!It.hasChildren())return mi(It);if(Kt){const zt=It.children[xt]?ui(It.children[xt],!1):"",ee=[];return Object.entries(It.children).forEach(([xe,on])=>{xe!==xt&&ee.push(`${xe}:${ui(on,!1)}`)}),ee.length>0?`${zt}(${ee.join("//")})`:zt}{const zt=function Fn(It,Kt){let zt=[];return Object.entries(It.children).forEach(([ee,xe])=>{ee===xt&&(zt=zt.concat(Kt(xe,ee)))}),Object.entries(It.children).forEach(([ee,xe])=>{ee!==xt&&(zt=zt.concat(Kt(xe,ee)))}),zt}(It,(ee,xe)=>xe===xt?[ui(It.children[xt],!1)]:[`${xe}:${ui(ee,!1)}`]);return 1===Object.keys(It.children).length&&null!=It.children[xt]?`${mi(It)}/${zt[0]}`:`${mi(It)}/(${zt.join("//")})`}}function li(It){return encodeURIComponent(It).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Jn(It){return li(It).replace(/%3B/gi,";")}function $n(It){return li(It).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ii(It){return decodeURIComponent(It)}function We(It){return Ii(It.replace(/\+/g,"%20"))}function pe(It){return`${$n(It.path)}${function Te(It){return Object.entries(It).map(([Kt,zt])=>`;${$n(Kt)}=${$n(zt)}`).join("")}(It.parameters)}`}const te=/^[^\/()?;#]+/;function Oe(It){const Kt=It.match(te);return Kt?Kt[0]:""}const nn=/^[^\/()?;=#]+/,wn=/^[^=?&#]+/,fe=/^[^&#]+/;class ce{constructor(Kt){this.url=Kt,this.remaining=Kt}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new je([],{}):new je([],this.parseChildren())}parseQueryParams(){const Kt={};if(this.consumeOptional("?"))do{this.parseQueryParam(Kt)}while(this.consumeOptional("&"));return Kt}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Kt=[];for(this.peekStartsWith("(")||Kt.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Kt.push(this.parseSegment());let zt={};this.peekStartsWith("/(")&&(this.capture("/"),zt=this.parseParens(!0));let ee={};return this.peekStartsWith("(")&&(ee=this.parseParens(!1)),(Kt.length>0||Object.keys(zt).length>0)&&(ee[xt]=new je(Kt,zt)),ee}parseSegment(){const Kt=Oe(this.remaining);if(""===Kt&&this.peekStartsWith(";"))throw new k.wOt(4009,!1);return this.capture(Kt),new ve(Ii(Kt),this.parseMatrixParams())}parseMatrixParams(){const Kt={};for(;this.consumeOptional(";");)this.parseParam(Kt);return Kt}parseParam(Kt){const zt=function qn(It){const Kt=It.match(nn);return Kt?Kt[0]:""}(this.remaining);if(!zt)return;this.capture(zt);let ee="";if(this.consumeOptional("=")){const xe=Oe(this.remaining);xe&&(ee=xe,this.capture(ee))}Kt[Ii(zt)]=Ii(ee)}parseQueryParam(Kt){const zt=function Rn(It){const Kt=It.match(wn);return Kt?Kt[0]:""}(this.remaining);if(!zt)return;this.capture(zt);let ee="";if(this.consumeOptional("=")){const Pn=function le(It){const Kt=It.match(fe);return Kt?Kt[0]:""}(this.remaining);Pn&&(ee=Pn,this.capture(ee))}const xe=We(zt),on=We(ee);if(Kt.hasOwnProperty(xe)){let Pn=Kt[xe];Array.isArray(Pn)||(Pn=[Pn],Kt[xe]=Pn),Pn.push(on)}else Kt[xe]=on}parseParens(Kt){const zt={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ee=Oe(this.remaining),xe=this.remaining[ee.length];if("/"!==xe&&")"!==xe&&";"!==xe)throw new k.wOt(4010,!1);let on;ee.indexOf(":")>-1?(on=ee.slice(0,ee.indexOf(":")),this.capture(on),this.capture(":")):Kt&&(on=xt);const Pn=this.parseChildren();zt[on]=1===Object.keys(Pn).length?Pn[xt]:new je([],Pn),this.consumeOptional("//")}return zt}peekStartsWith(Kt){return this.remaining.startsWith(Kt)}consumeOptional(Kt){return!!this.peekStartsWith(Kt)&&(this.remaining=this.remaining.substring(Kt.length),!0)}capture(Kt){if(!this.consumeOptional(Kt))throw new k.wOt(4011,!1)}}function ie(It){return It.segments.length>0?new je([],{[xt]:It}):It}function Ye(It){const Kt={};for(const[ee,xe]of Object.entries(It.children)){const on=Ye(xe);if(ee===xt&&0===on.segments.length&&on.hasChildren())for(const[Pn,bi]of Object.entries(on.children))Kt[Pn]=bi;else(on.segments.length>0||on.hasChildren())&&(Kt[ee]=on)}return function ln(It){if(1===It.numberOfChildren&&It.children[xt]){const Kt=It.children[xt];return new je(It.segments.concat(Kt.segments),Kt.children)}return It}(new je(It.segments,Kt))}function bn(It){return It instanceof _e}function ei(It){let Kt;const xe=ie(function zt(on){const Pn={};for(const di of on.children){const fo=zt(di);Pn[di.outlet]=fo}const bi=new je(on.url,Pn);return on===It&&(Kt=bi),bi}(It.root));return Kt??xe}function Ci(It,Kt,zt,ee){let xe=It;for(;xe.parent;)xe=xe.parent;if(0===Kt.length)return Ti(xe,xe,xe,zt,ee);const on=function hi(It){if("string"==typeof It[0]&&1===It.length&&"/"===It[0])return new rn(!0,0,It);let Kt=0,zt=!1;const ee=It.reduce((xe,on,Pn)=>{if("object"==typeof on&&null!=on){if(on.outlets){const bi={};return Object.entries(on.outlets).forEach(([di,fo])=>{bi[di]="string"==typeof fo?fo.split("/"):fo}),[...xe,{outlets:bi}]}if(on.segmentPath)return[...xe,on.segmentPath]}return"string"!=typeof on?[...xe,on]:0===Pn?(on.split("/").forEach((bi,di)=>{0==di&&"."===bi||(0==di&&""===bi?zt=!0:".."===bi?Kt++:""!=bi&&xe.push(bi))}),xe):[...xe,on]},[]);return new rn(zt,Kt,ee)}(Kt);if(on.toRoot())return Ti(xe,xe,new je([],{}),zt,ee);const Pn=function pn(It,Kt,zt){if(It.isAbsolute)return new Ue(Kt,!0,0);if(!zt)return new Ue(Kt,!1,NaN);if(null===zt.parent)return new Ue(zt,!0,0);const ee=so(It.commands[0])?0:1;return function Sn(It,Kt,zt){let ee=It,xe=Kt,on=zt;for(;on>xe;){if(on-=xe,ee=ee.parent,!ee)throw new k.wOt(4005,!1);xe=ee.segments.length}return new Ue(ee,!1,xe-on)}(zt,zt.segments.length-1+ee,It.numberOfDoubleDots)}(on,xe,It),bi=Pn.processChildren?En(Pn.segmentGroup,Pn.index,on.commands):He(Pn.segmentGroup,Pn.index,on.commands);return Ti(xe,Pn.segmentGroup,bi,zt,ee)}function so(It){return"object"==typeof It&&null!=It&&!It.outlets&&!It.segmentPath}function Hi(It){return"object"==typeof It&&null!=It&&It.outlets}function Ti(It,Kt,zt,ee,xe){let Pn,on={};ee&&Object.entries(ee).forEach(([di,fo])=>{on[di]=Array.isArray(fo)?fo.map(Qo=>`${Qo}`):`${fo}`}),Pn=It===Kt?zt:Ao(It,Kt,zt);const bi=ie(Ye(Pn));return new _e(bi,on,xe)}function Ao(It,Kt,zt){const ee={};return Object.entries(It.children).forEach(([xe,on])=>{ee[xe]=on===Kt?zt:Ao(on,Kt,zt)}),new je(It.segments,ee)}class rn{constructor(Kt,zt,ee){if(this.isAbsolute=Kt,this.numberOfDoubleDots=zt,this.commands=ee,Kt&&ee.length>0&&so(ee[0]))throw new k.wOt(4003,!1);const xe=ee.find(Hi);if(xe&&xe!==Qt(ee))throw new k.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ue{constructor(Kt,zt,ee){this.segmentGroup=Kt,this.processChildren=zt,this.index=ee}}function He(It,Kt,zt){if(It??=new je([],{}),0===It.segments.length&&It.hasChildren())return En(It,Kt,zt);const ee=function we(It,Kt,zt){let ee=0,xe=Kt;const on={match:!1,pathIndex:0,commandIndex:0};for(;xe=zt.length)return on;const Pn=It.segments[xe],bi=zt[ee];if(Hi(bi))break;const di=`${bi}`,fo=ee0&&void 0===di)break;if(di&&fo&&"object"==typeof fo&&void 0===fo.outlets){if(!Dn(di,fo,Pn))return on;ee+=2}else{if(!Dn(di,{},Pn))return on;ee++}xe++}return{match:!0,pathIndex:xe,commandIndex:ee}}(It,Kt,zt),xe=zt.slice(ee.commandIndex);if(ee.match&&ee.pathIndexon!==xt)&&It.children[xt]&&1===It.numberOfChildren&&0===It.children[xt].segments.length){const on=En(It.children[xt],Kt,zt);return new je(It.segments,on.children)}return Object.entries(ee).forEach(([on,Pn])=>{"string"==typeof Pn&&(Pn=[Pn]),null!==Pn&&(xe[on]=He(It.children[on],Kt,Pn))}),Object.entries(It.children).forEach(([on,Pn])=>{void 0===ee[on]&&(xe[on]=Pn)}),new je(It.segments,xe)}}function hn(It,Kt,zt){const ee=It.segments.slice(0,Kt);let xe=0;for(;xe{"string"==typeof ee&&(ee=[ee]),null!==ee&&(Kt[zt]=hn(new je([],{}),0,ee))}),Kt}function Be(It){const Kt={};return Object.entries(It).forEach(([zt,ee])=>Kt[zt]=`${ee}`),Kt}function Dn(It,Kt,zt){return It==zt.path&&kt(Kt,zt.parameters)}const Vt="imperative";var Fe=function(It){return It[It.NavigationStart=0]="NavigationStart",It[It.NavigationEnd=1]="NavigationEnd",It[It.NavigationCancel=2]="NavigationCancel",It[It.NavigationError=3]="NavigationError",It[It.RoutesRecognized=4]="RoutesRecognized",It[It.ResolveStart=5]="ResolveStart",It[It.ResolveEnd=6]="ResolveEnd",It[It.GuardsCheckStart=7]="GuardsCheckStart",It[It.GuardsCheckEnd=8]="GuardsCheckEnd",It[It.RouteConfigLoadStart=9]="RouteConfigLoadStart",It[It.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",It[It.ChildActivationStart=11]="ChildActivationStart",It[It.ChildActivationEnd=12]="ChildActivationEnd",It[It.ActivationStart=13]="ActivationStart",It[It.ActivationEnd=14]="ActivationEnd",It[It.Scroll=15]="Scroll",It[It.NavigationSkipped=16]="NavigationSkipped",It}(Fe||{});class Ce{constructor(Kt,zt){this.id=Kt,this.url=zt}}class tn extends Ce{constructor(Kt,zt,ee="imperative",xe=null){super(Kt,zt),this.type=Fe.NavigationStart,this.navigationTrigger=ee,this.restoredState=xe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class In extends Ce{constructor(Kt,zt,ee){super(Kt,zt),this.urlAfterRedirects=ee,this.type=Fe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var yi=function(It){return It[It.Redirect=0]="Redirect",It[It.SupersededByNewNavigation=1]="SupersededByNewNavigation",It[It.NoDataFromResolver=2]="NoDataFromResolver",It[It.GuardRejected=3]="GuardRejected",It}(yi||{}),Mo=function(It){return It[It.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",It[It.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",It}(Mo||{});class Io extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.reason=ee,this.code=xe,this.type=Fe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class eo extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.reason=ee,this.code=xe,this.type=Fe.NavigationSkipped}}class lo extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.error=ee,this.target=xe,this.type=Fe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class hr extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.urlAfterRedirects=ee,this.state=xe,this.type=Fe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ea extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.urlAfterRedirects=ee,this.state=xe,this.type=Fe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pr extends Ce{constructor(Kt,zt,ee,xe,on){super(Kt,zt),this.urlAfterRedirects=ee,this.state=xe,this.shouldActivate=on,this.type=Fe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class na extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.urlAfterRedirects=ee,this.state=xe,this.type=Fe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ka extends Ce{constructor(Kt,zt,ee,xe){super(Kt,zt),this.urlAfterRedirects=ee,this.state=xe,this.type=Fe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qr{constructor(Kt){this.route=Kt,this.type=Fe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bo{constructor(Kt){this.route=Kt,this.type=Fe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class uo{constructor(Kt){this.snapshot=Kt,this.type=Fe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wo{constructor(Kt){this.snapshot=Kt,this.type=Fe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class za{constructor(Kt){this.snapshot=Kt,this.type=Fe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gs{constructor(Kt){this.snapshot=Kt,this.type=Fe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bs{constructor(Kt,zt,ee){this.routerEvent=Kt,this.position=zt,this.anchor=ee,this.type=Fe.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class La{}class Oa{constructor(Kt){this.url=Kt}}class hs{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Bs,this.attachRef=null}}let Bs=(()=>{class It{constructor(){this.contexts=new Map}onChildOutletCreated(zt,ee){const xe=this.getOrCreateContext(zt);xe.outlet=ee,this.contexts.set(zt,xe)}onChildOutletDestroyed(zt){const ee=this.getContext(zt);ee&&(ee.outlet=null,ee.attachRef=null)}onOutletDeactivated(){const zt=this.contexts;return this.contexts=new Map,zt}onOutletReAttached(zt){this.contexts=zt}getOrCreateContext(zt){let ee=this.getContext(zt);return ee||(ee=new hs,this.contexts.set(zt,ee)),ee}getContext(zt){return this.contexts.get(zt)||null}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();class sa{constructor(Kt){this._root=Kt}get root(){return this._root.value}parent(Kt){const zt=this.pathFromRoot(Kt);return zt.length>1?zt[zt.length-2]:null}children(Kt){const zt=ls(Kt,this._root);return zt?zt.children.map(ee=>ee.value):[]}firstChild(Kt){const zt=ls(Kt,this._root);return zt&&zt.children.length>0?zt.children[0].value:null}siblings(Kt){const zt=Xs(Kt,this._root);return zt.length<2?[]:zt[zt.length-2].children.map(xe=>xe.value).filter(xe=>xe!==Kt)}pathFromRoot(Kt){return Xs(Kt,this._root).map(zt=>zt.value)}}function ls(It,Kt){if(It===Kt.value)return Kt;for(const zt of Kt.children){const ee=ls(It,zt);if(ee)return ee}return null}function Xs(It,Kt){if(It===Kt.value)return[Kt];for(const zt of Kt.children){const ee=Xs(It,zt);if(ee.length)return ee.unshift(Kt),ee}return[]}class Is{constructor(Kt,zt){this.value=Kt,this.children=zt}toString(){return`TreeNode(${this.value})`}}function Qa(It){const Kt={};return It&&It.children.forEach(zt=>Kt[zt.value.outlet]=zt),Kt}class qs extends sa{constructor(Kt,zt){super(Kt),this.snapshot=zt,Xl(this,Kt)}toString(){return this.snapshot.toString()}}function Za(It){const Kt=function Rs(It){const on=new Sl([],{},{},"",{},xt,It,null,{});return new Ws("",new Is(on,[]))}(It),zt=new C.t([new ve("",{})]),ee=new C.t({}),xe=new C.t({}),on=new C.t({}),Pn=new C.t(""),bi=new ts(zt,ee,on,Pn,xe,xt,It,Kt.root);return bi.snapshot=Kt.root,new qs(new Is(bi,[]),Kt)}class ts{constructor(Kt,zt,ee,xe,on,Pn,bi,di){this.urlSubject=Kt,this.paramsSubject=zt,this.queryParamsSubject=ee,this.fragmentSubject=xe,this.dataSubject=on,this.outlet=Pn,this.component=bi,this._futureSnapshot=di,this.title=this.dataSubject?.pipe((0,O.T)(fo=>fo[Dt]))??(0,t.of)(void 0),this.url=Kt,this.params=zt,this.queryParams=ee,this.fragment=xe,this.data=on}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,O.T)(Kt=>Mt(Kt))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,O.T)(Kt=>Mt(Kt))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zs(It,Kt,zt="emptyOnly"){let ee;const{routeConfig:xe}=It;return ee=null===Kt||"always"!==zt&&""!==xe?.path&&(Kt.component||Kt.routeConfig?.loadComponent)?{params:{...It.params},data:{...It.data},resolve:{...It.data,...It._resolvedData??{}}}:{params:{...Kt.params,...It.params},data:{...Kt.data,...It.data},resolve:{...It.data,...Kt.data,...xe?.data,...It._resolvedData}},xe&&nl(xe)&&(ee.resolve[Dt]=xe.title),ee}class Sl{get title(){return this.data?.[Dt]}constructor(Kt,zt,ee,xe,on,Pn,bi,di,fo){this.url=Kt,this.params=zt,this.queryParams=ee,this.fragment=xe,this.data=on,this.outlet=Pn,this.component=bi,this.routeConfig=di,this._resolve=fo}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??=Mt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Mt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ee=>ee.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ws extends sa{constructor(Kt,zt){super(zt),this.url=Kt,Xl(this,zt)}toString(){return go(this._root)}}function Xl(It,Kt){Kt.value._routerState=It,Kt.children.forEach(zt=>Xl(It,zt))}function go(It){const Kt=It.children.length>0?` { ${It.children.map(go).join(", ")} } `:"";return`${It.value}${Kt}`}function ca(It){if(It.snapshot){const Kt=It.snapshot,zt=It._futureSnapshot;It.snapshot=zt,kt(Kt.queryParams,zt.queryParams)||It.queryParamsSubject.next(zt.queryParams),Kt.fragment!==zt.fragment&&It.fragmentSubject.next(zt.fragment),kt(Kt.params,zt.params)||It.paramsSubject.next(zt.params),function Q(It,Kt){if(It.length!==Kt.length)return!1;for(let zt=0;ztkt(zt.parameters,Kt[ee].parameters))}(It.url,Kt.url);return zt&&!(!It.parent!=!Kt.parent)&&(!It.parent||ia(It.parent,Kt.parent))}function nl(It){return"string"==typeof It.title||null===It.title}let wo=(()=>{class It{constructor(){this.activated=null,this._activatedRoute=null,this.name=xt,this.activateEvents=new k.bkB,this.deactivateEvents=new k.bkB,this.attachEvents=new k.bkB,this.detachEvents=new k.bkB,this.parentContexts=(0,k.WQX)(Bs),this.location=(0,k.WQX)(k.c1b),this.changeDetector=(0,k.WQX)(k.gRc),this.environmentInjector=(0,k.WQX)(k.uvJ),this.inputBinder=(0,k.WQX)(ks,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(zt){if(zt.name){const{firstChange:ee,previousValue:xe}=zt.name;if(ee)return;this.isTrackedInParentContexts(xe)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(xe)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(zt){return this.parentContexts.getContext(zt)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const zt=this.parentContexts.getContext(this.name);zt?.route&&(zt.attachRef?this.attach(zt.attachRef,zt.route):this.activateWith(zt.route,zt.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new k.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new k.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new k.wOt(4012,!1);this.location.detach();const zt=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(zt.instance),zt}attach(zt,ee){this.activated=zt,this._activatedRoute=ee,this.location.insert(zt.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(zt.instance)}deactivate(){if(this.activated){const zt=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(zt)}}activateWith(zt,ee){if(this.isActivated)throw new k.wOt(4013,!1);this._activatedRoute=zt;const xe=this.location,Pn=zt.snapshot.component,bi=this.parentContexts.getOrCreateContext(this.name).children,di=new Ks(zt,bi,xe.injector);this.activated=xe.createComponent(Pn,{index:xe.length,injector:di,environmentInjector:ee??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275dir=k.FsC({type:It,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[k.OA$]})}}return It})();class Ks{__ngOutletInjector(Kt){return new Ks(this.route,this.childContexts,Kt)}constructor(Kt,zt,ee){this.route=Kt,this.childContexts=zt,this.parent=ee}get(Kt,zt){return Kt===ts?this.route:Kt===Bs?this.childContexts:this.parent.get(Kt,zt)}}const ks=new k.nKC("");let il=(()=>{class It{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(zt){this.unsubscribeFromRouteData(zt),this.subscribeToRouteData(zt)}unsubscribeFromRouteData(zt){this.outletDataSubscriptions.get(zt)?.unsubscribe(),this.outletDataSubscriptions.delete(zt)}subscribeToRouteData(zt){const{activatedRoute:ee}=zt,xe=(0,g.z)([ee.queryParams,ee.params,ee.data]).pipe((0,S.n)(([on,Pn,bi],di)=>(bi={...on,...Pn,...bi},0===di?(0,t.of)(bi):Promise.resolve(bi)))).subscribe(on=>{if(!zt.isActivated||!zt.activatedComponentRef||zt.activatedRoute!==ee||null===ee.component)return void this.unsubscribeFromRouteData(zt);const Pn=(0,k.HJs)(ee.component);if(Pn)for(const{templateName:bi}of Pn.inputs)zt.activatedComponentRef.setInput(bi,on[bi]);else this.unsubscribeFromRouteData(zt)});this.outletDataSubscriptions.set(zt,xe)}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac})}}return It})();function _l(It,Kt,zt){if(zt&&It.shouldReuseRoute(Kt.value,zt.value.snapshot)){const ee=zt.value;ee._futureSnapshot=Kt.value;const xe=function $a(It,Kt,zt){return Kt.children.map(ee=>{for(const xe of zt.children)if(It.shouldReuseRoute(ee.value,xe.value.snapshot))return _l(It,ee,xe);return _l(It,ee)})}(It,Kt,zt);return new Is(ee,xe)}{if(It.shouldAttach(Kt.value)){const on=It.retrieve(Kt.value);if(null!==on){const Pn=on.route;return Pn.value._futureSnapshot=Kt.value,Pn.children=Kt.children.map(bi=>_l(It,bi)),Pn}}const ee=function pd(It){return new ts(new C.t(It.url),new C.t(It.params),new C.t(It.queryParams),new C.t(It.fragment),new C.t(It.data),It.outlet,It.component,It)}(Kt.value),xe=Kt.children.map(on=>_l(It,on));return new Is(ee,xe)}}const dr="ngNavigationCancelingError";function fc(It,Kt){const{redirectTo:zt,navigationBehaviorOptions:ee}=bn(Kt)?{redirectTo:Kt,navigationBehaviorOptions:void 0}:Kt,xe=Ss(!1,yi.Redirect);return xe.url=zt,xe.navigationBehaviorOptions=ee,xe}function Ss(It,Kt){const zt=new Error(`NavigationCancelingError: ${It||""}`);return zt[dr]=!0,zt.cancellationCode=Kt,zt}function Ps(It){return!!It&&It[dr]}let ol=(()=>{class It{static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275cmp=k.VBU({type:It,selectors:[["ng-component"]],standalone:!0,features:[k.aNF],decls:1,vars:0,template:function(ee,xe){1&ee&&k.nrm(0,"router-outlet")},dependencies:[wo],encapsulation:2})}}return It})();function ha(It){const Kt=It.children&&It.children.map(ha),zt=Kt?{...It,children:Kt}:{...It};return!zt.component&&!zt.loadComponent&&(Kt||zt.loadChildren)&&zt.outlet&&zt.outlet!==xt&&(zt.component=ol),zt}function Va(It){return It.outlet||xt}function Yr(It){if(!It)return null;if(It.routeConfig?._injector)return It.routeConfig._injector;for(let Kt=It.parent;Kt;Kt=Kt.parent){const zt=Kt.routeConfig;if(zt?._loadedInjector)return zt._loadedInjector;if(zt?._injector)return zt._injector}return null}class Ar{constructor(Kt,zt,ee,xe,on){this.routeReuseStrategy=Kt,this.futureState=zt,this.currState=ee,this.forwardEvent=xe,this.inputBindingEnabled=on}activate(Kt){const zt=this.futureState._root,ee=this.currState?this.currState._root:null;this.deactivateChildRoutes(zt,ee,Kt),ca(this.futureState.root),this.activateChildRoutes(zt,ee,Kt)}deactivateChildRoutes(Kt,zt,ee){const xe=Qa(zt);Kt.children.forEach(on=>{const Pn=on.value.outlet;this.deactivateRoutes(on,xe[Pn],ee),delete xe[Pn]}),Object.values(xe).forEach(on=>{this.deactivateRouteAndItsChildren(on,ee)})}deactivateRoutes(Kt,zt,ee){const xe=Kt.value,on=zt?zt.value:null;if(xe===on)if(xe.component){const Pn=ee.getContext(xe.outlet);Pn&&this.deactivateChildRoutes(Kt,zt,Pn.children)}else this.deactivateChildRoutes(Kt,zt,ee);else on&&this.deactivateRouteAndItsChildren(zt,ee)}deactivateRouteAndItsChildren(Kt,zt){Kt.value.component&&this.routeReuseStrategy.shouldDetach(Kt.value.snapshot)?this.detachAndStoreRouteSubtree(Kt,zt):this.deactivateRouteAndOutlet(Kt,zt)}detachAndStoreRouteSubtree(Kt,zt){const ee=zt.getContext(Kt.value.outlet),xe=ee&&Kt.value.component?ee.children:zt,on=Qa(Kt);for(const Pn of Object.values(on))this.deactivateRouteAndItsChildren(Pn,xe);if(ee&&ee.outlet){const Pn=ee.outlet.detach(),bi=ee.children.onOutletDeactivated();this.routeReuseStrategy.store(Kt.value.snapshot,{componentRef:Pn,route:Kt,contexts:bi})}}deactivateRouteAndOutlet(Kt,zt){const ee=zt.getContext(Kt.value.outlet),xe=ee&&Kt.value.component?ee.children:zt,on=Qa(Kt);for(const Pn of Object.values(on))this.deactivateRouteAndItsChildren(Pn,xe);ee&&(ee.outlet&&(ee.outlet.deactivate(),ee.children.onOutletDeactivated()),ee.attachRef=null,ee.route=null)}activateChildRoutes(Kt,zt,ee){const xe=Qa(zt);Kt.children.forEach(on=>{this.activateRoutes(on,xe[on.value.outlet],ee),this.forwardEvent(new Gs(on.value.snapshot))}),Kt.children.length&&this.forwardEvent(new Wo(Kt.value.snapshot))}activateRoutes(Kt,zt,ee){const xe=Kt.value,on=zt?zt.value:null;if(ca(xe),xe===on)if(xe.component){const Pn=ee.getOrCreateContext(xe.outlet);this.activateChildRoutes(Kt,zt,Pn.children)}else this.activateChildRoutes(Kt,zt,ee);else if(xe.component){const Pn=ee.getOrCreateContext(xe.outlet);if(this.routeReuseStrategy.shouldAttach(xe.snapshot)){const bi=this.routeReuseStrategy.retrieve(xe.snapshot);this.routeReuseStrategy.store(xe.snapshot,null),Pn.children.onOutletReAttached(bi.contexts),Pn.attachRef=bi.componentRef,Pn.route=bi.route.value,Pn.outlet&&Pn.outlet.attach(bi.componentRef,bi.route.value),ca(bi.route.value),this.activateChildRoutes(Kt,null,Pn.children)}else{const bi=Yr(xe.snapshot);Pn.attachRef=null,Pn.route=xe,Pn.injector=bi,Pn.outlet&&Pn.outlet.activateWith(xe,Pn.injector),this.activateChildRoutes(Kt,null,Pn.children)}}else this.activateChildRoutes(Kt,null,ee)}}class fs{constructor(Kt){this.path=Kt,this.route=this.path[this.path.length-1]}}class ql{constructor(Kt,zt){this.component=Kt,this.route=zt}}function Al(It,Kt,zt){const ee=It._root;return As(ee,Kt?Kt._root:null,zt,[ee.value])}function Mc(It,Kt){const zt=Symbol(),ee=Kt.get(It,zt);return ee===zt?"function"!=typeof It||(0,k.LfX)(It)?Kt.get(It):It:ee}function As(It,Kt,zt,ee,xe={canDeactivateChecks:[],canActivateChecks:[]}){const on=Qa(Kt);return It.children.forEach(Pn=>{(function Hs(It,Kt,zt,ee,xe={canDeactivateChecks:[],canActivateChecks:[]}){const on=It.value,Pn=Kt?Kt.value:null,bi=zt?zt.getContext(It.value.outlet):null;if(Pn&&on.routeConfig===Pn.routeConfig){const di=function de(It,Kt,zt){if("function"==typeof zt)return zt(It,Kt);switch(zt){case"pathParamsChange":return!Le(It.url,Kt.url);case"pathParamsOrQueryParamsChange":return!Le(It.url,Kt.url)||!kt(It.queryParams,Kt.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ia(It,Kt)||!kt(It.queryParams,Kt.queryParams);default:return!ia(It,Kt)}}(Pn,on,on.routeConfig.runGuardsAndResolvers);di?xe.canActivateChecks.push(new fs(ee)):(on.data=Pn.data,on._resolvedData=Pn._resolvedData),As(It,Kt,on.component?bi?bi.children:null:zt,ee,xe),di&&bi&&bi.outlet&&bi.outlet.isActivated&&xe.canDeactivateChecks.push(new ql(bi.outlet.component,Pn))}else Pn&&Os(Kt,bi,xe),xe.canActivateChecks.push(new fs(ee)),As(It,null,on.component?bi?bi.children:null:zt,ee,xe)})(Pn,on[Pn.value.outlet],zt,ee.concat([Pn.value]),xe),delete on[Pn.value.outlet]}),Object.entries(on).forEach(([Pn,bi])=>Os(bi,zt.getContext(Pn),xe)),xe}function Os(It,Kt,zt){const ee=Qa(It),xe=It.value;Object.entries(ee).forEach(([on,Pn])=>{Os(Pn,xe.component?Kt?Kt.children.getContext(on):null:Kt,zt)}),zt.canDeactivateChecks.push(new ql(xe.component&&Kt&&Kt.outlet&&Kt.outlet.isActivated?Kt.outlet.component:null,xe))}function Pe(It){return"function"==typeof It}function Tc(It){return It instanceof f.G||"EmptyError"===It?.name}const Gc=Symbol("INITIAL_VALUE");function Pi(){return(0,S.n)(It=>(0,g.z)(It.map(Kt=>Kt.pipe((0,B.s)(1),(0,P.Z)(Gc)))).pipe((0,O.T)(Kt=>{for(const zt of Kt)if(!0!==zt){if(zt===Gc)return Gc;if(!1===zt||zt instanceof _e)return zt}return!0}),(0,U.p)(Kt=>Kt!==Gc),(0,B.s)(1)))}function ki(It){return(0,p.F)((0,rt.M)(Kt=>{if(bn(Kt))throw fc(0,Kt)}),(0,O.T)(Kt=>!0===Kt))}class zu{constructor(Kt){this.segmentGroup=Kt||null}}class Ms extends Error{constructor(Kt){super(),this.urlTree=Kt}}function gc(It){return(0,m.$)(new zu(It))}class yr{constructor(Kt,zt){this.urlSerializer=Kt,this.urlTree=zt}lineralizeSegments(Kt,zt){let ee=[],xe=zt.root;for(;;){if(ee=ee.concat(xe.segments),0===xe.numberOfChildren)return(0,t.of)(ee);if(xe.numberOfChildren>1||!xe.children[xt])return(0,m.$)(new k.wOt(4e3,!1));xe=xe.children[xt]}}applyRedirectCommands(Kt,zt,ee){const xe=this.applyRedirectCreateUrlTree(zt,this.urlSerializer.parse(zt),Kt,ee);if(zt.startsWith("/"))throw new Ms(xe);return xe}applyRedirectCreateUrlTree(Kt,zt,ee,xe){const on=this.createSegmentGroup(Kt,zt.root,ee,xe);return new _e(on,this.createQueryParams(zt.queryParams,this.urlTree.queryParams),zt.fragment)}createQueryParams(Kt,zt){const ee={};return Object.entries(Kt).forEach(([xe,on])=>{if("string"==typeof on&&on.startsWith(":")){const bi=on.substring(1);ee[xe]=zt[bi]}else ee[xe]=on}),ee}createSegmentGroup(Kt,zt,ee,xe){const on=this.createSegments(Kt,zt.segments,ee,xe);let Pn={};return Object.entries(zt.children).forEach(([bi,di])=>{Pn[bi]=this.createSegmentGroup(Kt,di,ee,xe)}),new je(on,Pn)}createSegments(Kt,zt,ee,xe){return zt.map(on=>on.path.startsWith(":")?this.findPosParam(Kt,on,xe):this.findOrReturn(on,ee))}findPosParam(Kt,zt,ee){const xe=ee[zt.path.substring(1)];if(!xe)throw new k.wOt(4001,!1);return xe}findOrReturn(Kt,zt){let ee=0;for(const xe of zt){if(xe.path===Kt.path)return zt.splice(ee),xe;ee++}return Kt}}const Ya={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ta(It,Kt,zt,ee,xe){const on=Cn(It,Kt,zt);return on.matched?(ee=function la(It,Kt){return It.providers&&!It._injector&&(It._injector=(0,k.Ol2)(It.providers,Kt,`Route: ${It.path}`)),It._injector??Kt}(Kt,ee),function Wd(It,Kt,zt,ee){const xe=Kt.canMatch;if(!xe||0===xe.length)return(0,t.of)(!0);const on=xe.map(Pn=>{const bi=Mc(Pn,It);return Bt(function pr(It){return It&&Pe(It.canMatch)}(bi)?bi.canMatch(Kt,zt):(0,k.N4e)(It,()=>bi(Kt,zt)))});return(0,t.of)(on).pipe(Pi(),ki())}(ee,Kt,zt).pipe((0,O.T)(Pn=>!0===Pn?on:{...Ya}))):(0,t.of)(on)}function Cn(It,Kt,zt){if("**"===Kt.path)return function Xe(It){return{matched:!0,parameters:It.length>0?Qt(It).parameters:{},consumedSegments:It,remainingSegments:[],positionalParamSegments:{}}}(zt);if(""===Kt.path)return"full"===Kt.pathMatch&&(It.hasChildren()||zt.length>0)?{...Ya}:{matched:!0,consumedSegments:[],remainingSegments:zt,parameters:{},positionalParamSegments:{}};const xe=(Kt.matcher||ot)(zt,It,Kt);if(!xe)return{...Ya};const on={};Object.entries(xe.posParams??{}).forEach(([bi,di])=>{on[bi]=di.path});const Pn=xe.consumed.length>0?{...on,...xe.consumed[xe.consumed.length-1].parameters}:on;return{matched:!0,consumedSegments:xe.consumed,remainingSegments:zt.slice(xe.consumed.length),parameters:Pn,positionalParamSegments:xe.posParams??{}}}function Ne(It,Kt,zt,ee){return zt.length>0&&function no(It,Kt,zt){return zt.some(ee=>Ua(It,Kt,ee)&&Va(ee)!==xt)}(It,zt,ee)?{segmentGroup:new je(Kt,gd(ee,new je(zt,It.children))),slicedSegments:[]}:0===zt.length&&function m1(It,Kt,zt){return zt.some(ee=>Ua(It,Kt,ee))}(It,zt,ee)?{segmentGroup:new je(It.segments,fu(It,zt,ee,It.children)),slicedSegments:zt}:{segmentGroup:new je(It.segments,It.children),slicedSegments:zt}}function fu(It,Kt,zt,ee){const xe={};for(const on of zt)if(Ua(It,Kt,on)&&!ee[Va(on)]){const Pn=new je([],{});xe[Va(on)]=Pn}return{...ee,...xe}}function gd(It,Kt){const zt={};zt[xt]=Kt;for(const ee of It)if(""===ee.path&&Va(ee)!==xt){const xe=new je([],{});zt[Va(ee)]=xe}return zt}function Ua(It,Kt,zt){return(!(It.hasChildren()||Kt.length>0)||"full"!==zt.pathMatch)&&""===zt.path}class Ei{}class jo{constructor(Kt,zt,ee,xe,on,Pn,bi){this.injector=Kt,this.configLoader=zt,this.rootComponentType=ee,this.config=xe,this.urlTree=on,this.paramsInheritanceStrategy=Pn,this.urlSerializer=bi,this.applyRedirects=new yr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Kt){return new k.wOt(4002,`'${Kt.segmentGroup}'`)}recognize(){const Kt=Ne(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Kt).pipe((0,O.T)(zt=>{const ee=new Sl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},xt,this.rootComponentType,null,{}),xe=new Is(ee,zt),on=new Ws("",xe),Pn=function si(It,Kt,zt=null,ee=null){return Ci(ei(It),Kt,zt,ee)}(ee,[],this.urlTree.queryParams,this.urlTree.fragment);return Pn.queryParams=this.urlTree.queryParams,on.url=this.urlSerializer.serialize(Pn),this.inheritParamsAndData(on._root,null),{state:on,tree:Pn}}))}match(Kt){return this.processSegmentGroup(this.injector,this.config,Kt,xt).pipe((0,mt.W)(ee=>{if(ee instanceof Ms)return this.urlTree=ee.urlTree,this.match(ee.urlTree.root);throw ee instanceof zu?this.noMatchError(ee):ee}))}inheritParamsAndData(Kt,zt){const ee=Kt.value,xe=zs(ee,zt,this.paramsInheritanceStrategy);ee.params=Object.freeze(xe.params),ee.data=Object.freeze(xe.data),Kt.children.forEach(on=>this.inheritParamsAndData(on,ee))}processSegmentGroup(Kt,zt,ee,xe){return 0===ee.segments.length&&ee.hasChildren()?this.processChildren(Kt,zt,ee):this.processSegment(Kt,zt,ee,ee.segments,xe,!0).pipe((0,O.T)(on=>on instanceof Is?[on]:[]))}processChildren(Kt,zt,ee){const xe=[];for(const on of Object.keys(ee.children))"primary"===on?xe.unshift(on):xe.push(on);return(0,G.H)(xe).pipe((0,it.H)(on=>{const Pn=ee.children[on],bi=function xs(It,Kt){const zt=It.filter(ee=>Va(ee)===Kt);return zt.push(...It.filter(ee=>Va(ee)!==Kt)),zt}(zt,on);return this.processSegmentGroup(Kt,bi,Pn,on)}),function wt(It,Kt){return(0,lt.N)(function yt(It,Kt,zt,ee,xe){return(on,Pn)=>{let bi=zt,di=Kt,fo=0;on.subscribe((0,ht._)(Pn,Qo=>{const Br=fo++;di=bi?It(di,Qo,Br):(bi=!0,Qo),ee&&Pn.next(di)},xe&&(()=>{bi&&Pn.next(di),Pn.complete()})))}}(It,Kt,arguments.length>=2,!0))}((on,Pn)=>(on.push(...Pn),on)),(0,Z.U)(null),function Y(It,Kt){const zt=arguments.length>=2;return ee=>ee.pipe(It?(0,U.p)((xe,on)=>It(xe,on,ee)):L.D,dt(1),zt?(0,Z.U)(Kt):(0,ft.v)(()=>new f.G))}(),(0,z.Z)(on=>{if(null===on)return gc(ee);const Pn=ga(on);return function fa(It){It.sort((Kt,zt)=>Kt.value.outlet===xt?-1:zt.value.outlet===xt?1:Kt.value.outlet.localeCompare(zt.value.outlet))}(Pn),(0,t.of)(Pn)}))}processSegment(Kt,zt,ee,xe,on,Pn){return(0,G.H)(zt).pipe((0,it.H)(bi=>this.processSegmentAgainstRoute(bi._injector??Kt,zt,bi,ee,xe,on,Pn).pipe((0,mt.W)(di=>{if(di instanceof zu)return(0,t.of)(null);throw di}))),(0,nt.$)(bi=>!!bi),(0,mt.W)(bi=>{if(Tc(bi))return function Fi(It,Kt,zt){return 0===Kt.length&&!It.children[zt]}(ee,xe,on)?(0,t.of)(new Ei):gc(ee);throw bi}))}processSegmentAgainstRoute(Kt,zt,ee,xe,on,Pn,bi){return function ni(It,Kt,zt,ee){return!!(Va(It)===ee||ee!==xt&&Ua(Kt,zt,It))&&Cn(Kt,It,zt).matched}(ee,xe,on,Pn)?void 0===ee.redirectTo?this.matchSegmentAgainstRoute(Kt,xe,ee,on,Pn):this.allowRedirects&&bi?this.expandSegmentAgainstRouteUsingRedirect(Kt,xe,zt,ee,on,Pn):gc(xe):gc(xe)}expandSegmentAgainstRouteUsingRedirect(Kt,zt,ee,xe,on,Pn){const{matched:bi,consumedSegments:di,positionalParamSegments:fo,remainingSegments:Qo}=Cn(zt,xe,on);if(!bi)return gc(zt);xe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Br=this.applyRedirects.applyRedirectCommands(di,xe.redirectTo,fo);return this.applyRedirects.lineralizeSegments(xe,Br).pipe((0,z.Z)(br=>this.processSegment(Kt,ee,zt,br.concat(Qo),Pn,!1)))}matchSegmentAgainstRoute(Kt,zt,ee,xe,on){const Pn=Ta(zt,ee,xe,Kt);return"**"===ee.path&&(zt.children={}),Pn.pipe((0,S.n)(bi=>bi.matched?this.getChildConfig(Kt=ee._injector??Kt,ee,xe).pipe((0,S.n)(({routes:di})=>{const fo=ee._loadedInjector??Kt,{consumedSegments:Qo,remainingSegments:Br,parameters:br}=bi,_c=new Sl(Qo,br,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ns(It){return It.data||{}}(ee),Va(ee),ee.component??ee._loadedComponent??null,ee,function Gr(It){return It.resolve||{}}(ee)),{segmentGroup:Eu,slicedSegments:_d}=Ne(zt,Qo,Br,di);if(0===_d.length&&Eu.hasChildren())return this.processChildren(fo,di,Eu).pipe((0,O.T)(Rd=>null===Rd?null:new Is(_c,Rd)));if(0===di.length&&0===_d.length)return(0,t.of)(new Is(_c,[]));const Yu=Va(ee)===on;return this.processSegment(fo,di,Eu,_d,Yu?xt:on,!0).pipe((0,O.T)(Rd=>new Is(_c,Rd instanceof Is?[Rd]:[])))})):gc(zt)))}getChildConfig(Kt,zt,ee){return zt.children?(0,t.of)({routes:zt.children,injector:Kt}):zt.loadChildren?void 0!==zt._loadedRoutes?(0,t.of)({routes:zt._loadedRoutes,injector:zt._loadedInjector}):function es(It,Kt,zt,ee){const xe=Kt.canLoad;if(void 0===xe||0===xe.length)return(0,t.of)(!0);const on=xe.map(Pn=>{const bi=Mc(Pn,It);return Bt(function re(It){return It&&Pe(It.canLoad)}(bi)?bi.canLoad(Kt,zt):(0,k.N4e)(It,()=>bi(Kt,zt)))});return(0,t.of)(on).pipe(Pi(),ki())}(Kt,zt,ee).pipe((0,z.Z)(xe=>xe?this.configLoader.loadChildren(Kt,zt).pipe((0,rt.M)(on=>{zt._loadedRoutes=on.routes,zt._loadedInjector=on.injector})):function Kd(It){return(0,m.$)(Ss(!1,yi.GuardRejected))}())):(0,t.of)({routes:[],injector:Kt})}}function Ur(It){const Kt=It.value.routeConfig;return Kt&&""===Kt.path}function ga(It){const Kt=[],zt=new Set;for(const ee of It){if(!Ur(ee)){Kt.push(ee);continue}const xe=Kt.find(on=>ee.value.routeConfig===on.value.routeConfig);void 0!==xe?(xe.children.push(...ee.children),zt.add(xe)):Kt.push(ee)}for(const ee of zt){const xe=ga(ee.children);Kt.push(new Is(ee.value,xe))}return Kt.filter(ee=>!zt.has(ee))}function Ga(It){const Kt=It.children.map(zt=>Ga(zt)).flat();return[It,...Kt]}function Fl(It){return(0,S.n)(Kt=>{const zt=It(Kt);return zt?(0,G.H)(zt).pipe((0,O.T)(()=>Kt)):(0,t.of)(Kt)})}let Wl=(()=>{class It{buildTitle(zt){let ee,xe=zt.root;for(;void 0!==xe;)ee=this.getResolvedTitleForRoute(xe)??ee,xe=xe.children.find(on=>on.outlet===xt);return ee}getResolvedTitleForRoute(zt){return zt.data[Dt]}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:()=>(0,k.WQX)(ke),providedIn:"root"})}}return It})(),ke=(()=>{class It extends Wl{constructor(zt){super(),this.title=zt}updateTitle(zt){const ee=this.buildTitle(zt);void 0!==ee&&this.title.setTitle(ee)}static{this.\u0275fac=function(ee){return new(ee||It)(k.KVO(_t.hE))}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();const Qe=new k.nKC("",{providedIn:"root",factory:()=>({})}),en=new k.nKC("");let dn=(()=>{class It{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,k.WQX)(k.Ql9)}loadComponent(zt){if(this.componentLoaders.get(zt))return this.componentLoaders.get(zt);if(zt._loadedComponent)return(0,t.of)(zt._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(zt);const ee=Bt(zt.loadComponent()).pipe((0,O.T)(Kn),(0,rt.M)(on=>{this.onLoadEndListener&&this.onLoadEndListener(zt),zt._loadedComponent=on}),(0,H.j)(()=>{this.componentLoaders.delete(zt)})),xe=new M.G(ee,()=>new y.B).pipe((0,K.B)());return this.componentLoaders.set(zt,xe),xe}loadChildren(zt,ee){if(this.childrenLoaders.get(ee))return this.childrenLoaders.get(ee);if(ee._loadedRoutes)return(0,t.of)({routes:ee._loadedRoutes,injector:ee._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ee);const on=function Mn(It,Kt,zt,ee){return Bt(It.loadChildren()).pipe((0,O.T)(Kn),(0,z.Z)(xe=>xe instanceof k.Co$||Array.isArray(xe)?(0,t.of)(xe):(0,G.H)(Kt.compileModuleAsync(xe))),(0,O.T)(xe=>{ee&&ee(It);let on,Pn,bi=!1;return Array.isArray(xe)?(Pn=xe,!0):(on=xe.create(zt).injector,Pn=on.get(en,[],{optional:!0,self:!0}).flat()),{routes:Pn.map(ha),injector:on}}))}(ee,this.compiler,zt,this.onLoadEndListener).pipe((0,H.j)(()=>{this.childrenLoaders.delete(ee)})),Pn=new M.G(on,()=>new y.B).pipe((0,K.B)());return this.childrenLoaders.set(ee,Pn),Pn}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();function Kn(It){return function oi(It){return It&&"object"==typeof It&&"default"in It}(It)?It.default:It}let Mi=(()=>{class It{static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:()=>(0,k.WQX)(Bi),providedIn:"root"})}}return It})(),Bi=(()=>{class It{shouldProcessUrl(zt){return!0}extract(zt){return zt}merge(zt,ee){return zt}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();const to=new k.nKC(""),ro=new k.nKC("");function Lt(It,Kt,zt){const ee=It.get(ro),xe=It.get(I.qQ);return It.get(k.SKi).runOutsideAngular(()=>{if(!xe.startViewTransition||ee.skipNextTransition)return ee.skipNextTransition=!1,new Promise(fo=>setTimeout(fo));let on;const Pn=new Promise(fo=>{on=fo}),bi=xe.startViewTransition(()=>(on(),function $e(It){return new Promise(Kt=>{(0,k.mal)(Kt,{injector:It})})}(It))),{onViewTransitionCreated:di}=ee;return di&&(0,k.N4e)(It,()=>di({transition:bi,from:Kt,to:zt})),Pn})}let ne=(()=>{class It{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new y.B,this.transitionAbortSubject=new y.B,this.configLoader=(0,k.WQX)(dn),this.environmentInjector=(0,k.WQX)(k.uvJ),this.urlSerializer=(0,k.WQX)(Ln),this.rootContexts=(0,k.WQX)(Bs),this.location=(0,k.WQX)(I.aZ),this.inputBindingEnabled=null!==(0,k.WQX)(ks,{optional:!0}),this.titleStrategy=(0,k.WQX)(Wl),this.options=(0,k.WQX)(Qe,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,k.WQX)(Mi),this.createViewTransition=(0,k.WQX)(to,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,t.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=xe=>this.events.next(new bo(xe)),this.configLoader.onLoadStartListener=xe=>this.events.next(new qr(xe))}complete(){this.transitions?.complete()}handleNavigationRequest(zt){const ee=++this.navigationId;this.transitions?.next({...this.transitions.value,...zt,id:ee})}setupNavigations(zt,ee,xe){return this.transitions=new C.t({id:0,currentUrlTree:ee,currentRawUrl:ee,extractedUrl:this.urlHandlingStrategy.extract(ee),urlAfterRedirects:this.urlHandlingStrategy.extract(ee),rawUrl:ee,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Vt,restoredState:null,currentSnapshot:xe.snapshot,targetSnapshot:null,currentRouterState:xe,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,U.p)(on=>0!==on.id),(0,O.T)(on=>({...on,extractedUrl:this.urlHandlingStrategy.extract(on.rawUrl)})),(0,S.n)(on=>{let Pn=!1,bi=!1;return(0,t.of)(on).pipe((0,S.n)(di=>{if(this.navigationId>on.id)return this.cancelNavigationTransition(on,"",yi.SupersededByNewNavigation),F.w;this.currentTransition=on,this.currentNavigation={id:di.id,initialUrl:di.rawUrl,extractedUrl:di.extractedUrl,trigger:di.source,extras:di.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const fo=!zt.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!fo&&"reload"!==(di.extras.onSameUrlNavigation??zt.onSameUrlNavigation)){const Br="";return this.events.next(new eo(di.id,this.urlSerializer.serialize(di.rawUrl),Br,Mo.IgnoredSameUrlNavigation)),di.resolve(null),F.w}if(this.urlHandlingStrategy.shouldProcessUrl(di.rawUrl))return(0,t.of)(di).pipe((0,S.n)(Br=>{const br=this.transitions?.getValue();return this.events.next(new tn(Br.id,this.urlSerializer.serialize(Br.extractedUrl),Br.source,Br.restoredState)),br!==this.transitions?.getValue()?F.w:Promise.resolve(Br)}),function _u(It,Kt,zt,ee,xe,on){return(0,z.Z)(Pn=>function Fo(It,Kt,zt,ee,xe,on,Pn="emptyOnly"){return new jo(It,Kt,zt,ee,xe,Pn,on).recognize()}(It,Kt,zt,ee,Pn.extractedUrl,xe,on).pipe((0,O.T)(({state:bi,tree:di})=>({...Pn,targetSnapshot:bi,urlAfterRedirects:di}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,zt.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,rt.M)(Br=>{on.targetSnapshot=Br.targetSnapshot,on.urlAfterRedirects=Br.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Br.urlAfterRedirects};const br=new hr(Br.id,this.urlSerializer.serialize(Br.extractedUrl),this.urlSerializer.serialize(Br.urlAfterRedirects),Br.targetSnapshot);this.events.next(br)}));if(fo&&this.urlHandlingStrategy.shouldProcessUrl(di.currentRawUrl)){const{id:Br,extractedUrl:br,source:_c,restoredState:Eu,extras:_d}=di,Yu=new tn(Br,this.urlSerializer.serialize(br),_c,Eu);this.events.next(Yu);const Rd=Za(this.rootComponentType).snapshot;return this.currentTransition=on={...di,targetSnapshot:Rd,urlAfterRedirects:br,extras:{..._d,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=br,(0,t.of)(on)}{const Br="";return this.events.next(new eo(di.id,this.urlSerializer.serialize(di.extractedUrl),Br,Mo.IgnoredByUrlHandlingStrategy)),di.resolve(null),F.w}}),(0,rt.M)(di=>{const fo=new ea(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(fo)}),(0,O.T)(di=>(this.currentTransition=on={...di,guards:Al(di.targetSnapshot,di.currentSnapshot,this.rootContexts)},on)),function Gt(It,Kt){return(0,z.Z)(zt=>{const{targetSnapshot:ee,currentSnapshot:xe,guards:{canActivateChecks:on,canDeactivateChecks:Pn}}=zt;return 0===Pn.length&&0===on.length?(0,t.of)({...zt,guardsResult:!0}):function Vr(It,Kt,zt,ee){return(0,G.H)(It).pipe((0,z.Z)(xe=>function Dc(It,Kt,zt,ee,xe){const on=Kt&&Kt.routeConfig?Kt.routeConfig.canDeactivate:null;if(!on||0===on.length)return(0,t.of)(!0);const Pn=on.map(bi=>{const di=Yr(Kt)??xe,fo=Mc(bi,di);return Bt(function vo(It){return It&&Pe(It.canDeactivate)}(fo)?fo.canDeactivate(It,Kt,zt,ee):(0,k.N4e)(di,()=>fo(It,Kt,zt,ee))).pipe((0,nt.$)())});return(0,t.of)(Pn).pipe(Pi())}(xe.component,xe.route,zt,Kt,ee)),(0,nt.$)(xe=>!0!==xe,!0))}(Pn,ee,xe,It).pipe((0,z.Z)(bi=>bi&&function Ge(It){return"boolean"==typeof It}(bi)?function hd(It,Kt,zt,ee){return(0,G.H)(Kt).pipe((0,it.H)(xe=>(0,h.x)(function oa(It,Kt){return null!==It&&Kt&&Kt(new uo(It)),(0,t.of)(!0)}(xe.route.parent,ee),function cr(It,Kt){return null!==It&&Kt&&Kt(new za(It)),(0,t.of)(!0)}(xe.route,ee),function jl(It,Kt,zt){const ee=Kt[Kt.length-1],on=Kt.slice(0,Kt.length-1).reverse().map(Pn=>function Ol(It){const Kt=It.routeConfig?It.routeConfig.canActivateChild:null;return Kt&&0!==Kt.length?{node:It,guards:Kt}:null}(Pn)).filter(Pn=>null!==Pn).map(Pn=>(0,_.v)(()=>{const bi=Pn.guards.map(di=>{const fo=Yr(Pn.node)??zt,Qo=Mc(di,fo);return Bt(function Gn(It){return It&&Pe(It.canActivateChild)}(Qo)?Qo.canActivateChild(ee,It):(0,k.N4e)(fo,()=>Qo(ee,It))).pipe((0,nt.$)())});return(0,t.of)(bi).pipe(Pi())}));return(0,t.of)(on).pipe(Pi())}(It,xe.path,zt),function da(It,Kt,zt){const ee=Kt.routeConfig?Kt.routeConfig.canActivate:null;if(!ee||0===ee.length)return(0,t.of)(!0);const xe=ee.map(on=>(0,_.v)(()=>{const Pn=Yr(Kt)??zt,bi=Mc(on,Pn);return Bt(function an(It){return It&&Pe(It.canActivate)}(bi)?bi.canActivate(Kt,It):(0,k.N4e)(Pn,()=>bi(Kt,It))).pipe((0,nt.$)())}));return(0,t.of)(xe).pipe(Pi())}(It,xe.route,zt))),(0,nt.$)(xe=>!0!==xe,!0))}(ee,on,It,Kt):(0,t.of)(bi)),(0,O.T)(bi=>({...zt,guardsResult:bi})))})}(this.environmentInjector,di=>this.events.next(di)),(0,rt.M)(di=>{if(on.guardsResult=di.guardsResult,bn(di.guardsResult))throw fc(0,di.guardsResult);const fo=new Pr(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot,!!di.guardsResult);this.events.next(fo)}),(0,U.p)(di=>!!di.guardsResult||(this.cancelNavigationTransition(di,"",yi.GuardRejected),!1)),Fl(di=>{if(di.guards.canActivateChecks.length)return(0,t.of)(di).pipe((0,rt.M)(fo=>{const Qo=new na(fo.id,this.urlSerializer.serialize(fo.extractedUrl),this.urlSerializer.serialize(fo.urlAfterRedirects),fo.targetSnapshot);this.events.next(Qo)}),(0,S.n)(fo=>{let Qo=!1;return(0,t.of)(fo).pipe(function sl(It,Kt){return(0,z.Z)(zt=>{const{targetSnapshot:ee,guards:{canActivateChecks:xe}}=zt;if(!xe.length)return(0,t.of)(zt);const on=new Set(xe.map(di=>di.route)),Pn=new Set;for(const di of on)if(!Pn.has(di))for(const fo of Ga(di))Pn.add(fo);let bi=0;return(0,G.H)(Pn).pipe((0,it.H)(di=>on.has(di)?function Lo(It,Kt,zt,ee){const xe=It.routeConfig,on=It._resolve;return void 0!==xe?.title&&!nl(xe)&&(on[Dt]=xe.title),function Uo(It,Kt,zt,ee){const xe=Xt(It);if(0===xe.length)return(0,t.of)({});const on={};return(0,G.H)(xe).pipe((0,z.Z)(Pn=>function Ra(It,Kt,zt,ee){const xe=Yr(Kt)??ee,on=Mc(It,xe);return Bt(on.resolve?on.resolve(Kt,zt):(0,k.N4e)(xe,()=>on(Kt,zt)))}(It[Pn],Kt,zt,ee).pipe((0,nt.$)(),(0,rt.M)(bi=>{on[Pn]=bi}))),dt(1),(0,J.u)(on),(0,mt.W)(Pn=>Tc(Pn)?F.w:(0,m.$)(Pn)))}(on,It,Kt,ee).pipe((0,O.T)(Pn=>(It._resolvedData=Pn,It.data=zs(It,It.parent,zt).resolve,null)))}(di,ee,It,Kt):(di.data=zs(di,di.parent,It).resolve,(0,t.of)(void 0))),(0,rt.M)(()=>bi++),dt(1),(0,z.Z)(di=>bi===Pn.size?(0,t.of)(zt):F.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,rt.M)({next:()=>Qo=!0,complete:()=>{Qo||this.cancelNavigationTransition(fo,"",yi.NoDataFromResolver)}}))}),(0,rt.M)(fo=>{const Qo=new ka(fo.id,this.urlSerializer.serialize(fo.extractedUrl),this.urlSerializer.serialize(fo.urlAfterRedirects),fo.targetSnapshot);this.events.next(Qo)}))}),Fl(di=>{const fo=Qo=>{const Br=[];Qo.routeConfig?.loadComponent&&!Qo.routeConfig._loadedComponent&&Br.push(this.configLoader.loadComponent(Qo.routeConfig).pipe((0,rt.M)(br=>{Qo.component=br}),(0,O.T)(()=>{})));for(const br of Qo.children)Br.push(...fo(br));return Br};return(0,g.z)(fo(di.targetSnapshot.root)).pipe((0,Z.U)(null),(0,B.s)(1))}),Fl(()=>this.afterPreactivation()),(0,S.n)(()=>{const{currentSnapshot:di,targetSnapshot:fo}=on,Qo=this.createViewTransition?.(this.environmentInjector,di.root,fo.root);return Qo?(0,G.H)(Qo).pipe((0,O.T)(()=>on)):(0,t.of)(on)}),(0,O.T)(di=>{const fo=function Vc(It,Kt,zt){const ee=_l(It,Kt._root,zt?zt._root:void 0);return new qs(ee,Kt)}(zt.routeReuseStrategy,di.targetSnapshot,di.currentRouterState);return this.currentTransition=on={...di,targetRouterState:fo},this.currentNavigation.targetRouterState=fo,on}),(0,rt.M)(()=>{this.events.next(new La)}),((It,Kt,zt,ee)=>(0,O.T)(xe=>(new Ar(Kt,xe.targetRouterState,xe.currentRouterState,zt,ee).activate(It),xe)))(this.rootContexts,zt.routeReuseStrategy,di=>this.events.next(di),this.inputBindingEnabled),(0,B.s)(1),(0,rt.M)({next:di=>{Pn=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new In(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects))),this.titleStrategy?.updateTitle(di.targetRouterState.snapshot),di.resolve(!0)},complete:()=>{Pn=!0}}),(0,tt.Q)(this.transitionAbortSubject.pipe((0,rt.M)(di=>{throw di}))),(0,H.j)(()=>{!Pn&&!bi&&this.cancelNavigationTransition(on,"",yi.SupersededByNewNavigation),this.currentTransition?.id===on.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,mt.W)(di=>{if(bi=!0,Ps(di))this.events.next(new Io(on.id,this.urlSerializer.serialize(on.extractedUrl),di.message,di.cancellationCode)),function ws(It){return Ps(It)&&bn(It.url)}(di)?this.events.next(new Oa(di.url)):on.resolve(!1);else{this.events.next(new lo(on.id,this.urlSerializer.serialize(on.extractedUrl),di,on.targetSnapshot??void 0));try{on.resolve(zt.errorHandler(di))}catch(fo){this.options.resolveNavigationPromiseOnError?on.resolve(!1):on.reject(fo)}}return F.w}))}))}cancelNavigationTransition(zt,ee,xe){const on=new Io(zt.id,this.urlSerializer.serialize(zt.extractedUrl),ee,xe);this.events.next(on),zt.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();function Se(It){return It!==Vt}let Tn=(()=>{class It{static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:()=>(0,k.WQX)(Ni),providedIn:"root"})}}return It})();class pi{shouldDetach(Kt){return!1}store(Kt,zt){}shouldAttach(Kt){return!1}retrieve(Kt){return null}shouldReuseRoute(Kt,zt){return Kt.routeConfig===zt.routeConfig}}let Ni=(()=>{class It extends pi{static{this.\u0275fac=(()=>{let zt;return function(xe){return(zt||(zt=k.xGo(It)))(xe||It)}})()}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),Qi=(()=>{class It{static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:()=>(0,k.WQX)(Vo),providedIn:"root"})}}return It})(),Vo=(()=>{class It extends Qi{constructor(){super(...arguments),this.location=(0,k.WQX)(I.aZ),this.urlSerializer=(0,k.WQX)(Ln),this.options=(0,k.WQX)(Qe,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,k.WQX)(Mi),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _e,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Za(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(zt){return this.location.subscribe(ee=>{"popstate"===ee.type&&zt(ee.url,ee.state)})}handleRouterEvent(zt,ee){if(zt instanceof tn)this.stateMemento=this.createStateMemento();else if(zt instanceof eo)this.rawUrlTree=ee.initialUrl;else if(zt instanceof hr){if("eager"===this.urlUpdateStrategy&&!ee.extras.skipLocationChange){const xe=this.urlHandlingStrategy.merge(ee.finalUrl,ee.initialUrl);this.setBrowserUrl(xe,ee)}}else zt instanceof La?(this.currentUrlTree=ee.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(ee.finalUrl,ee.initialUrl),this.routerState=ee.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ee.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ee))):zt instanceof Io&&(zt.code===yi.GuardRejected||zt.code===yi.NoDataFromResolver)?this.restoreHistory(ee):zt instanceof lo?this.restoreHistory(ee,!0):zt instanceof In&&(this.lastSuccessfulId=zt.id,this.currentPageId=this.browserPageId)}setBrowserUrl(zt,ee){const xe=this.urlSerializer.serialize(zt);if(this.location.isCurrentPathEqualTo(xe)||ee.extras.replaceUrl){const Pn={...ee.extras.state,...this.generateNgRouterState(ee.id,this.browserPageId)};this.location.replaceState(xe,"",Pn)}else{const on={...ee.extras.state,...this.generateNgRouterState(ee.id,this.browserPageId+1)};this.location.go(xe,"",on)}}restoreHistory(zt,ee=!1){if("computed"===this.canceledNavigationResolution){const on=this.currentPageId-this.browserPageId;0!==on?this.location.historyGo(on):this.currentUrlTree===zt.finalUrl&&0===on&&(this.resetState(zt),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ee&&this.resetState(zt),this.resetUrlToCurrentUrlTree())}resetState(zt){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,zt.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(zt,ee){return"computed"===this.canceledNavigationResolution?{navigationId:zt,\u0275routerPageId:ee}:{navigationId:zt}}static{this.\u0275fac=(()=>{let zt;return function(xe){return(zt||(zt=k.xGo(It)))(xe||It)}})()}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();var fr=function(It){return It[It.COMPLETE=0]="COMPLETE",It[It.FAILED=1]="FAILED",It[It.REDIRECTING=2]="REDIRECTING",It}(fr||{});function gr(It,Kt){It.events.pipe((0,U.p)(zt=>zt instanceof In||zt instanceof Io||zt instanceof lo||zt instanceof eo),(0,O.T)(zt=>zt instanceof In||zt instanceof eo?fr.COMPLETE:zt instanceof Io&&(zt.code===yi.Redirect||zt.code===yi.SupersededByNewNavigation)?fr.REDIRECTING:fr.FAILED),(0,U.p)(zt=>zt!==fr.REDIRECTING),(0,B.s)(1)).subscribe(()=>{Kt()})}function Ko(It){throw It}const Wr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Jr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ko=(()=>{class It{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,k.WQX)(k.H3F),this.stateManager=(0,k.WQX)(Qi),this.options=(0,k.WQX)(Qe,{optional:!0})||{},this.pendingTasks=(0,k.WQX)(k.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,k.WQX)(ne),this.urlSerializer=(0,k.WQX)(Ln),this.location=(0,k.WQX)(I.aZ),this.urlHandlingStrategy=(0,k.WQX)(Mi),this._events=new y.B,this.errorHandler=this.options.errorHandler||Ko,this.navigated=!1,this.routeReuseStrategy=(0,k.WQX)(Tn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,k.WQX)(en,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,k.WQX)(ks,{optional:!0}),this.eventsSubscription=new T.yU,this.isNgZoneEnabled=(0,k.WQX)(k.SKi)instanceof k.SKi&&k.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:zt=>{this.console.warn(zt)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const zt=this.navigationTransitions.events.subscribe(ee=>{try{const xe=this.navigationTransitions.currentTransition,on=this.navigationTransitions.currentNavigation;if(null!==xe&&null!==on)if(this.stateManager.handleRouterEvent(ee,on),ee instanceof Io&&ee.code!==yi.Redirect&&ee.code!==yi.SupersededByNewNavigation)this.navigated=!0;else if(ee instanceof In)this.navigated=!0;else if(ee instanceof Oa){const Pn=this.urlHandlingStrategy.merge(ee.url,xe.currentRawUrl),bi={info:xe.extras.info,skipLocationChange:xe.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Se(xe.source)};this.scheduleNavigation(Pn,Vt,null,bi,{resolve:xe.resolve,reject:xe.reject,promise:xe.promise})}(function Ui(It){return!(It instanceof La||It instanceof Oa)})(ee)&&this._events.next(ee)}catch(xe){this.navigationTransitions.transitionAbortSubject.next(xe)}});this.eventsSubscription.add(zt)}resetRootComponentType(zt){this.routerState.root.component=zt,this.navigationTransitions.rootComponentType=zt}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Vt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((zt,ee)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(zt,"popstate",ee)},0)})}navigateToSyncWithBrowser(zt,ee,xe){const on={replaceUrl:!0},Pn=xe?.navigationId?xe:null;if(xe){const di={...xe};delete di.navigationId,delete di.\u0275routerPageId,0!==Object.keys(di).length&&(on.state=di)}const bi=this.parseUrl(zt);this.scheduleNavigation(bi,ee,Pn,on)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(zt){this.config=zt.map(ha),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(zt,ee={}){const{relativeTo:xe,queryParams:on,fragment:Pn,queryParamsHandling:bi,preserveFragment:di}=ee,fo=di?this.currentUrlTree.fragment:Pn;let Br,Qo=null;switch(bi){case"merge":Qo={...this.currentUrlTree.queryParams,...on};break;case"preserve":Qo=this.currentUrlTree.queryParams;break;default:Qo=on||null}null!==Qo&&(Qo=this.removeEmptyProps(Qo));try{Br=ei(xe?xe.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof zt[0]||!zt[0].startsWith("/"))&&(zt=[]),Br=this.currentUrlTree.root}return Ci(Br,zt,Qo,fo??null)}navigateByUrl(zt,ee={skipLocationChange:!1}){const xe=bn(zt)?zt:this.parseUrl(zt),on=this.urlHandlingStrategy.merge(xe,this.rawUrlTree);return this.scheduleNavigation(on,Vt,null,ee)}navigate(zt,ee={skipLocationChange:!1}){return function tr(It){for(let Kt=0;Kt(null!=on&&(ee[xe]=on),ee),{})}scheduleNavigation(zt,ee,xe,on,Pn){if(this.disposed)return Promise.resolve(!1);let bi,di,fo;Pn?(bi=Pn.resolve,di=Pn.reject,fo=Pn.promise):fo=new Promise((Br,br)=>{bi=Br,di=br});const Qo=this.pendingTasks.add();return gr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Qo))}),this.navigationTransitions.handleNavigationRequest({source:ee,restoredState:xe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:zt,extras:on,resolve:bi,reject:di,promise:fo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),fo.catch(Br=>Promise.reject(Br))}static{this.\u0275fac=function(ee){return new(ee||It)}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),xo=(()=>{class It{constructor(zt,ee,xe,on,Pn,bi){this.router=zt,this.route=ee,this.tabIndexAttribute=xe,this.renderer=on,this.el=Pn,this.locationStrategy=bi,this.href=null,this.commands=null,this.onChanges=new y.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const di=Pn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===di||"area"===di,this.isAnchorElement?this.subscription=zt.events.subscribe(fo=>{fo instanceof In&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(zt){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",zt)}ngOnChanges(zt){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(zt){null!=zt?(this.commands=Array.isArray(zt)?zt:[zt],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(zt,ee,xe,on,Pn){const bi=this.urlTree;return!!(null===bi||this.isAnchorElement&&(0!==zt||ee||xe||on||Pn||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(bi,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const zt=this.urlTree;this.href=null!==zt&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(zt)):null;const ee=null===this.href?null:(0,k.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ee)}applyAttributeValue(zt,ee){const xe=this.renderer,on=this.el.nativeElement;null!==ee?xe.setAttribute(on,zt,ee):xe.removeAttribute(on,zt)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(ee){return new(ee||It)(k.rXU(ko),k.rXU(ts),k.kS0("tabindex"),k.rXU(k.sFG),k.rXU(k.aKT),k.rXU(I.hb))}}static{this.\u0275dir=k.FsC({type:It,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ee,xe){1&ee&&k.bIt("click",function(Pn){return xe.onClick(Pn.button,Pn.ctrlKey,Pn.shiftKey,Pn.altKey,Pn.metaKey)}),2&ee&&k.BMQ("target",xe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[k.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",k.L39],skipLocationChange:[k.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",k.L39],replaceUrl:[k.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",k.L39],routerLink:"routerLink"},standalone:!0,features:[k.GFd,k.OA$]})}}return It})(),_a=(()=>{class It{get isActive(){return this._isActive}constructor(zt,ee,xe,on,Pn){this.router=zt,this.element=ee,this.renderer=xe,this.cdr=on,this.link=Pn,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new k.bkB,this.routerEventsSubscription=zt.events.subscribe(bi=>{bi instanceof In&&this.update()})}ngAfterContentInit(){(0,t.of)(this.links.changes,(0,t.of)(null)).pipe((0,ut.U)()).subscribe(zt=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const zt=[...this.links.toArray(),this.link].filter(ee=>!!ee).map(ee=>ee.onChanges);this.linkInputChangesSubscription=(0,G.H)(zt).pipe((0,ut.U)()).subscribe(ee=>{this._isActive!==this.isLinkActive(this.router)(ee)&&this.update()})}set routerLinkActive(zt){const ee=Array.isArray(zt)?zt:zt.split(" ");this.classes=ee.filter(xe=>!!xe)}ngOnChanges(zt){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const zt=this.hasActiveLinks();this.classes.forEach(ee=>{zt?this.renderer.addClass(this.element.nativeElement,ee):this.renderer.removeClass(this.element.nativeElement,ee)}),zt&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==zt&&(this._isActive=zt,this.cdr.markForCheck(),this.isActiveChange.emit(zt))})}isLinkActive(zt){const ee=function er(It){return!!It.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return xe=>{const on=xe.urlTree;return!!on&&zt.isActive(on,ee)}}hasActiveLinks(){const zt=this.isLinkActive(this.router);return this.link&&zt(this.link)||this.links.some(zt)}static{this.\u0275fac=function(ee){return new(ee||It)(k.rXU(ko),k.rXU(k.aKT),k.rXU(k.sFG),k.rXU(k.gRc),k.rXU(xo,8))}}static{this.\u0275dir=k.FsC({type:It,selectors:[["","routerLinkActive",""]],contentQueries:function(ee,xe,on){if(1&ee&&k.wni(on,xo,5),2&ee){let Pn;k.mGM(Pn=k.lsd())&&(xe.links=Pn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[k.OA$]})}}return It})();class Da{}let wa=(()=>{class It{constructor(zt,ee,xe,on,Pn){this.router=zt,this.injector=xe,this.preloadingStrategy=on,this.loader=Pn}setUpPreloading(){this.subscription=this.router.events.pipe((0,U.p)(zt=>zt instanceof In),(0,it.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(zt,ee){const xe=[];for(const on of ee){on.providers&&!on._injector&&(on._injector=(0,k.Ol2)(on.providers,zt,`Route: ${on.path}`));const Pn=on._injector??zt,bi=on._loadedInjector??Pn;(on.loadChildren&&!on._loadedRoutes&&void 0===on.canLoad||on.loadComponent&&!on._loadedComponent)&&xe.push(this.preloadConfig(Pn,on)),(on.children||on._loadedRoutes)&&xe.push(this.processRoutes(bi,on.children??on._loadedRoutes))}return(0,G.H)(xe).pipe((0,ut.U)())}preloadConfig(zt,ee){return this.preloadingStrategy.preload(ee,()=>{let xe;xe=ee.loadChildren&&void 0===ee.canLoad?this.loader.loadChildren(zt,ee):(0,t.of)(null);const on=xe.pipe((0,z.Z)(Pn=>null===Pn?(0,t.of)(void 0):(ee._loadedRoutes=Pn.routes,ee._loadedInjector=Pn.injector,this.processRoutes(Pn.injector??zt,Pn.routes))));if(ee.loadComponent&&!ee._loadedComponent){const Pn=this.loader.loadComponent(ee);return(0,G.H)([on,Pn]).pipe((0,ut.U)())}return on})}static{this.\u0275fac=function(ee){return new(ee||It)(k.KVO(ko),k.KVO(k.Ql9),k.KVO(k.uvJ),k.KVO(Da),k.KVO(dn))}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();const ba=new k.nKC("");let ua=(()=>{class It{constructor(zt,ee,xe,on,Pn={}){this.urlSerializer=zt,this.transitions=ee,this.viewportScroller=xe,this.zone=on,this.options=Pn,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,k.WQX)(k.uvJ),Pn.scrollPositionRestoration||="disabled",Pn.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(zt=>{zt instanceof tn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=zt.navigationTrigger,this.restoredId=zt.restoredState?zt.restoredState.navigationId:0):zt instanceof In?(this.lastId=zt.id,this.scheduleScrollEvent(zt,this.urlSerializer.parse(zt.urlAfterRedirects).fragment)):zt instanceof eo&&zt.code===Mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(zt,this.urlSerializer.parse(zt.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(zt=>{zt instanceof bs&&(zt.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(zt.position):zt.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(zt.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(zt,ee){var xe=this;this.zone.runOutsideAngular((0,l.A)(function*(){yield new Promise(on=>{setTimeout(()=>{on()}),(0,k.mal)(()=>{on()},{injector:xe.environmentInjector})}),xe.zone.run(()=>{xe.transitions.events.next(new bs(zt,"popstate"===xe.lastSource?xe.store[xe.restoredId]:null,ee))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(ee){k.QTQ()}}static{this.\u0275prov=k.jDH({token:It,factory:It.\u0275fac})}}return It})();function Nl(It,Kt){return{\u0275kind:It,\u0275providers:Kt}}function Ja(){const It=(0,k.WQX)(k.zZn);return Kt=>{const zt=It.get(k.o8S);if(Kt!==zt.components[0])return;const ee=It.get(ko),xe=It.get(qi);1===It.get(Fu)&&ee.initialNavigation(),It.get(Go,null,k.$GK.Optional)?.setUpPreloading(),It.get(ba,null,k.$GK.Optional)?.init(),ee.resetRootComponentType(zt.componentTypes[0]),xe.closed||(xe.next(),xe.complete(),xe.unsubscribe())}}const qi=new k.nKC("",{factory:()=>new y.B}),Fu=new k.nKC("",{providedIn:"root",factory:()=>1}),Go=new k.nKC("");function _r(It){return Nl(0,[{provide:Go,useExisting:wa},{provide:Da,useExisting:It}])}function Ro(It){return Nl(9,[{provide:to,useValue:Lt},{provide:ro,useValue:{skipNextTransition:!!It?.skipInitialTransition,...It}}])}const js=new k.nKC("ROUTER_FORROOT_GUARD"),vs=[I.aZ,{provide:Ln,useClass:Qn},ko,Bs,{provide:ts,useFactory:function Ic(It){return It.routerState.root},deps:[ko]},dn,[]];let Ql=(()=>{class It{constructor(zt){}static forRoot(zt,ee){return{ngModule:It,providers:[vs,[],{provide:en,multi:!0,useValue:zt},{provide:js,useFactory:Gm,deps:[[ko,new k.Xx1,new k.kdw]]},{provide:Qe,useValue:ee||{}},ee?.useHash?{provide:I.hb,useClass:I.fw}:{provide:I.hb,useClass:I.Sm},{provide:ba,useFactory:()=>{const It=(0,k.WQX)(I.Xr),Kt=(0,k.WQX)(k.SKi),zt=(0,k.WQX)(Qe),ee=(0,k.WQX)(ne),xe=(0,k.WQX)(Ln);return zt.scrollOffset&&It.setOffset(zt.scrollOffset),new ua(xe,ee,It,Kt,zt)}},ee?.preloadingStrategy?_r(ee.preloadingStrategy).\u0275providers:[],ee?.initialNavigation?Bm(ee):[],ee?.bindToComponentInputs?Nl(8,[il,{provide:ks,useExisting:il}]).\u0275providers:[],ee?.enableViewTransitions?Ro().\u0275providers:[],[{provide:zm,useFactory:Ja},{provide:k.iLQ,multi:!0,useExisting:zm}]]}}static forChild(zt){return{ngModule:It,providers:[{provide:en,multi:!0,useValue:zt}]}}static{this.\u0275fac=function(ee){return new(ee||It)(k.KVO(js,8))}}static{this.\u0275mod=k.$C({type:It})}static{this.\u0275inj=k.G2t({})}}return It})();function Gm(It){return"guarded"}function Bm(It){return["disabled"===It.initialNavigation?Nl(3,[{provide:k.hnV,multi:!0,useFactory:()=>{const Kt=(0,k.WQX)(ko);return()=>{Kt.setUpLocationChangeListener()}}},{provide:Fu,useValue:2}]).\u0275providers:[],"enabledBlocking"===It.initialNavigation?Nl(2,[{provide:Fu,useValue:0},{provide:k.hnV,multi:!0,deps:[k.zZn],useFactory:Kt=>{const zt=Kt.get(I.hj,Promise.resolve());return()=>zt.then(()=>new Promise(ee=>{const xe=Kt.get(ko),on=Kt.get(qi);gr(xe,()=>{ee(!0)}),Kt.get(ne).afterPreactivation=()=>(ee(!0),on.closed?(0,t.of)(void 0):on),xe.initialNavigation()}))}}]).\u0275providers:[]]}const zm=new k.nKC("")},20060:(Rt,Tt,D)=>{"use strict";D.d(Tt,{aY:()=>sl,QB:()=>ns,dX:()=>Wl});var l=D(54438);function k(ke,Qe){var en=Object.keys(ke);if(Object.getOwnPropertySymbols){var dn=Object.getOwnPropertySymbols(ke);Qe&&(dn=dn.filter(function(Mn){return Object.getOwnPropertyDescriptor(ke,Mn).enumerable})),en.push.apply(en,dn)}return en}function A(ke){for(var Qe=1;Qeke.length)&&(Qe=ke.length);for(var en=0,dn=new Array(Qe);en0;)Qe+=nn[62*Math.random()|0];return Qe}function wn(ke){for(var Qe=[],en=(ke||[]).length>>>0;en--;)Qe[en]=ke[en];return Qe}function Rn(ke){return ke.classList?wn(ke.classList):(ke.getAttribute("class")||"").split(" ").filter(function(Qe){return Qe})}function fe(ke){return"".concat(ke).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ce(ke){return Object.keys(ke||{}).reduce(function(Qe,en){return Qe+"".concat(en,": ").concat(ke[en].trim(),";")},"")}function ie(ke){return ke.size!==te.size||ke.x!==te.x||ke.y!==te.y||ke.rotate!==te.rotate||ke.flipX||ke.flipY}var bn=':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-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\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}';function si(){var ke=Dt,Qe=gt,en=We.cssPrefix,dn=We.replacementClass,Mn=bn;if(en!==ke||dn!==Qe){var oi=new RegExp("\\.".concat(ke,"\\-"),"g"),Kn=new RegExp("\\--".concat(ke,"\\-"),"g"),Mi=new RegExp("\\.".concat(Qe),"g");Mn=Mn.replace(oi,".".concat(en,"-")).replace(Kn,"--".concat(en,"-")).replace(Mi,".".concat(dn))}return Mn}var ei=!1;function Ci(){We.autoAddCss&&!ei&&(function Oe(ke){if(ke&&L){var Qe=wt.createElement("style");Qe.setAttribute("type","text/css"),Qe.innerHTML=ke;for(var en=wt.head.childNodes,dn=null,Mn=en.length-1;Mn>-1;Mn--){var oi=en[Mn],Kn=(oi.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Kn)>-1&&(dn=oi)}wt.head.insertBefore(Qe,dn)}}(si()),ei=!0)}var so={mixout:function(){return{dom:{css:si,insertCss:Ci}}},hooks:function(){return{beforeDOMElementCreation:function(){Ci()},beforeI2svg:function(){Ci()}}}},Hi=yt||{};Hi[_t]||(Hi[_t]={}),Hi[_t].styles||(Hi[_t].styles={}),Hi[_t].hooks||(Hi[_t].hooks={}),Hi[_t].shims||(Hi[_t].shims=[]);var Ti=Hi[_t],Ao=[],hi=!1;function pn(ke){var Qe=ke.tag,en=ke.attributes,dn=void 0===en?{}:en,Mn=ke.children,oi=void 0===Mn?[]:Mn;return"string"==typeof ke?fe(ke):"<".concat(Qe," ").concat(function le(ke){return Object.keys(ke||{}).reduce(function(Qe,en){return Qe+"".concat(en,'="').concat(fe(ke[en]),'" ')},"").trim()}(dn),">").concat(oi.map(pn).join(""),"")}function Sn(ke,Qe,en){if(ke&&ke[Qe]&&ke[Qe][en])return{prefix:Qe,iconName:en,icon:ke[Qe][en]}}L&&((hi=(wt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(wt.readyState))||wt.addEventListener("DOMContentLoaded",function ke(){wt.removeEventListener("DOMContentLoaded",ke),hi=1,Ao.map(function(Qe){return Qe()})}));var He=function(Qe,en,dn,Mn){var Bi,to,ro,oi=Object.keys(Qe),Kn=oi.length,Mi=void 0!==Mn?function(Qe,en){return function(dn,Mn,oi,Kn){return Qe.call(en,dn,Mn,oi,Kn)}}(en,Mn):en;for(void 0===dn?(Bi=1,ro=Qe[oi[0]]):(Bi=0,ro=dn);Bi=55296&&Mn<=56319&&en2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Mn=void 0!==dn&&dn,oi=vn(Qe);"function"!=typeof Ti.hooks.addPack||Mn?Ti.styles[ke]=A(A({},Ti.styles[ke]||{}),oi):Ti.hooks.addPack(ke,vn(Qe)),"fas"===ke&&Be("fa",Qe)}var Vt,Fe,Ce,tn=Ti.styles,In=Ti.shims,yi=(h(Vt={},Nt,Object.values(Yt[Nt])),h(Vt,Jt,Object.values(Yt[Jt])),Vt),Mo=null,Io={},eo={},lo={},hr={},ea={},Pr=(h(Fe={},Nt,Object.keys(Me[Nt])),h(Fe,Jt,Object.keys(Me[Jt])),Fe);var qr=function(){var Qe=function(oi){return He(tn,function(Kn,Mi,Bi){return Kn[Bi]=He(Mi,oi,{}),Kn},{})};Io=Qe(function(Mn,oi,Kn){return oi[3]&&(Mn[oi[3]]=Kn),oi[2]&&oi[2].filter(function(Bi){return"number"==typeof Bi}).forEach(function(Bi){Mn[Bi.toString(16)]=Kn}),Mn}),eo=Qe(function(Mn,oi,Kn){return Mn[Kn]=Kn,oi[2]&&oi[2].filter(function(Bi){return"string"==typeof Bi}).forEach(function(Bi){Mn[Bi]=Kn}),Mn}),ea=Qe(function(Mn,oi,Kn){var Mi=oi[2];return Mn[Kn]=Kn,Mi.forEach(function(Bi){Mn[Bi]=Kn}),Mn});var en="far"in tn||We.autoFetchSvg,dn=He(In,function(Mn,oi){var Kn=oi[0],Mi=oi[1],Bi=oi[2];return"far"===Mi&&!en&&(Mi="fas"),"string"==typeof Kn&&(Mn.names[Kn]={prefix:Mi,iconName:Bi}),"number"==typeof Kn&&(Mn.unicodes[Kn.toString(16)]={prefix:Mi,iconName:Bi}),Mn},{names:{},unicodes:{}});lo=dn.names,hr=dn.unicodes,Mo=Oa(We.styleDefault,{family:We.familyDefault})};function bo(ke,Qe){return(Io[ke]||{})[Qe]}function Wo(ke,Qe){return(ea[ke]||{})[Qe]}function za(ke){return lo[ke]||{prefix:null,iconName:null}}function bs(){return Mo}(function Te(ke){pe.push(ke)})(function(ke){Mo=Oa(ke.styleDefault,{family:We.familyDefault})}),qr();var La=function(){return{prefix:null,iconName:null,rest:[]}};function Oa(ke){var en=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,dn=void 0===en?Nt:en;return ae[dn][ke]||ae[dn][Me[dn][ke]]||(ke in Ti.styles?ke:null)||null}var zo=(h(Ce={},Nt,Object.keys(Yt[Nt])),h(Ce,Jt,Object.keys(Yt[Jt])),Ce);function hs(ke){var Qe,dn=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Mn=void 0!==dn&&dn,oi=(h(Qe={},Nt,"".concat(We.cssPrefix,"-").concat(Nt)),h(Qe,Jt,"".concat(We.cssPrefix,"-").concat(Jt)),Qe),Kn=null,Mi=Nt;(ke.includes(oi[Nt])||ke.some(function(to){return zo[Nt].includes(to)}))&&(Mi=Nt),(ke.includes(oi[Jt])||ke.some(function(to){return zo[Jt].includes(to)}))&&(Mi=Jt);var Bi=ke.reduce(function(to,ro){var Lt=function ka(ke,Qe){var en=Qe.split("-"),dn=en[0],Mn=en.slice(1).join("-");return dn!==ke||""===Mn||function na(ke){return~mi.indexOf(ke)}(Mn)?null:Mn}(We.cssPrefix,ro);if(tn[ro]?(ro=yi[Mi].includes(ro)?oe[Mi][ro]:ro,Kn=ro,to.prefix=ro):Pr[Mi].indexOf(ro)>-1?(Kn=ro,to.prefix=Oa(ro,{family:Mi})):Lt?to.iconName=Lt:ro!==We.replacementClass&&ro!==oi[Nt]&&ro!==oi[Jt]&&to.rest.push(ro),!Mn&&to.prefix&&to.iconName){var $e="fa"===Kn?za(to.iconName):{},ne=Wo(to.prefix,to.iconName);$e.prefix&&(Kn=null),to.iconName=$e.iconName||ne||to.iconName,to.prefix=$e.prefix||to.prefix,"far"===to.prefix&&!tn.far&&tn.fas&&!We.autoFetchSvg&&(to.prefix="fas")}return to},La());return(ke.includes("fa-brands")||ke.includes("fab"))&&(Bi.prefix="fab"),(ke.includes("fa-duotone")||ke.includes("fad"))&&(Bi.prefix="fad"),!Bi.prefix&&Mi===Jt&&(tn.fass||We.autoFetchSvg)&&(Bi.prefix="fass",Bi.iconName=Wo(Bi.prefix,Bi.iconName)||Bi.iconName),("fa"===Bi.prefix||"fa"===Kn)&&(Bi.prefix=bs()||"fas"),Bi}var Bs=function(){function ke(){(function C(ke,Qe){if(!(ke instanceof Qe))throw new TypeError("Cannot call a class as a function")})(this,ke),this.definitions={}}return function f(ke,Qe,en){Qe&&g(ke.prototype,Qe),en&&g(ke,en),Object.defineProperty(ke,"prototype",{writable:!1})}(ke,[{key:"add",value:function(){for(var en=this,dn=arguments.length,Mn=new Array(dn),oi=0;oi0&&ro.forEach(function(Lt){"string"==typeof Lt&&(en[Mi][Lt]=to)}),en[Mi][Bi]=to}),en}}]),ke}(),sa=[],ls={},Xs={},Is=Object.keys(Xs);function qs(ke,Qe){for(var en=arguments.length,dn=new Array(en>2?en-2:0),Mn=2;Mn1?Qe-1:0),dn=1;dn0&&void 0!==arguments[0]?arguments[0]:{};return L?(Za("beforeI2svg",Qe),Rs("pseudoElements2svg",Qe),Rs("i2svg",Qe)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var Qe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},en=Qe.autoReplaceSvgRoot;!1===We.autoReplaceSvg&&(We.autoReplaceSvg=!0),We.observeMutations=!0,function Ue(ke){L&&(hi?setTimeout(ke,0):Ao.push(ke))}(function(){ca({autoReplaceSvgRoot:en}),Za("watch",Qe)})}},go={noAuto:function(){We.autoReplaceSvg=!1,We.observeMutations=!1,Za("noAuto")},config:We,dom:Ws,parse:{icon:function(Qe){if(null===Qe)return null;if("object"===G(Qe)&&Qe.prefix&&Qe.iconName)return{prefix:Qe.prefix,iconName:Wo(Qe.prefix,Qe.iconName)||Qe.iconName};if(Array.isArray(Qe)&&2===Qe.length){var en=0===Qe[1].indexOf("fa-")?Qe[1].slice(3):Qe[1],dn=Oa(Qe[0]);return{prefix:dn,iconName:Wo(dn,en)||en}}if("string"==typeof Qe&&(Qe.indexOf("".concat(We.cssPrefix,"-"))>-1||Qe.match(_e))){var Mn=hs(Qe.split(" "),{skipLookups:!0});return{prefix:Mn.prefix||bs(),iconName:Wo(Mn.prefix,Mn.iconName)||Mn.iconName}}if("string"==typeof Qe){var oi=bs();return{prefix:oi,iconName:Wo(oi,Qe)||Qe}}}},library:zs,findIconDefinition:ts,toHtml:pn},ca=function(){var en=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,dn=void 0===en?wt:en;(Object.keys(Ti.styles).length>0||We.autoFetchSvg)&&L&&We.autoReplaceSvg&&go.dom.i2svg({node:dn})};function ia(ke,Qe){return Object.defineProperty(ke,"abstract",{get:Qe}),Object.defineProperty(ke,"html",{get:function(){return ke.abstract.map(function(dn){return pn(dn)})}}),Object.defineProperty(ke,"node",{get:function(){if(L){var dn=wt.createElement("div");return dn.innerHTML=ke.html,dn.children}}}),ke}function Ks(ke){var Qe=ke.icons,en=Qe.main,dn=Qe.mask,Mn=ke.prefix,oi=ke.iconName,Kn=ke.transform,Mi=ke.symbol,Bi=ke.title,to=ke.maskId,ro=ke.titleId,Lt=ke.extra,$e=ke.watchable,ne=void 0!==$e&&$e,Se=dn.found?dn:en,Tn=Se.width,pi=Se.height,Ni="fak"===Mn,Qi=[We.replacementClass,oi?"".concat(We.cssPrefix,"-").concat(oi):""].filter(function(ko){return-1===Lt.classes.indexOf(ko)}).filter(function(ko){return""!==ko||!!ko}).concat(Lt.classes).join(" "),Vo={children:[],attributes:A(A({},Lt.attributes),{},{"data-prefix":Mn,"data-icon":oi,class:Qi,role:Lt.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Tn," ").concat(pi)})},fr=Ni&&!~Lt.classes.indexOf("fa-fw")?{width:"".concat(Tn/pi*16*.0625,"em")}:{};ne&&(Vo.attributes[Mt]=""),Bi&&(Vo.children.push({tag:"title",attributes:{id:Vo.attributes["aria-labelledby"]||"title-".concat(ro||qn())},children:[Bi]}),delete Vo.attributes.title);var gr=A(A({},Vo),{},{prefix:Mn,iconName:oi,main:en,mask:dn,maskId:to,transform:Kn,symbol:Mi,styles:A(A({},fr),Lt.styles)}),Ko=dn.found&&en.found?Rs("generateAbstractMask",gr)||{children:[],attributes:{}}:Rs("generateAbstractIcon",gr)||{children:[],attributes:{}},Jr=Ko.attributes;return gr.children=Ko.children,gr.attributes=Jr,Mi?function wo(ke){var en=ke.iconName,dn=ke.children,Mn=ke.attributes,oi=ke.symbol,Kn=!0===oi?"".concat(ke.prefix,"-").concat(We.cssPrefix,"-").concat(en):oi;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:A(A({},Mn),{},{id:Kn}),children:dn}]}]}(gr):function nl(ke){var Qe=ke.children,en=ke.main,dn=ke.mask,Mn=ke.attributes,oi=ke.styles,Kn=ke.transform;if(ie(Kn)&&en.found&&!dn.found){var to={x:en.width/en.height/2,y:.5};Mn.style=ce(A(A({},oi),{},{"transform-origin":"".concat(to.x+Kn.x/16,"em ").concat(to.y+Kn.y/16,"em")}))}return[{tag:"svg",attributes:Mn,children:Qe}]}(gr)}function ks(ke){var Qe=ke.content,en=ke.width,dn=ke.height,Mn=ke.transform,oi=ke.title,Kn=ke.extra,Mi=ke.watchable,Bi=void 0!==Mi&&Mi,to=A(A(A({},Kn.attributes),oi?{title:oi}:{}),{},{class:Kn.classes.join(" ")});Bi&&(to[Mt]="");var ro=A({},Kn.styles);ie(Mn)&&(ro.transform=function ln(ke){var Qe=ke.transform,en=ke.width,Mn=ke.height,oi=void 0===Mn?16:Mn,Kn=ke.startCentered,Mi=void 0!==Kn&&Kn,Bi="";return Bi+=Mi&&Y?"translate(".concat(Qe.x/16-(void 0===en?16:en)/2,"em, ").concat(Qe.y/16-oi/2,"em) "):Mi?"translate(calc(-50% + ".concat(Qe.x/16,"em), calc(-50% + ").concat(Qe.y/16,"em)) "):"translate(".concat(Qe.x/16,"em, ").concat(Qe.y/16,"em) "),(Bi+="scale(".concat(Qe.size/16*(Qe.flipX?-1:1),", ").concat(Qe.size/16*(Qe.flipY?-1:1),") "))+"rotate(".concat(Qe.rotate,"deg) ")}({transform:Mn,startCentered:!0,width:en,height:dn}),ro["-webkit-transform"]=ro.transform);var Lt=ce(ro);Lt.length>0&&(to.style=Lt);var $e=[];return $e.push({tag:"span",attributes:to,children:[Qe]}),oi&&$e.push({tag:"span",attributes:{class:"sr-only"},children:[oi]}),$e}var Vc=Ti.styles;function _l(ke){var Qe=ke[0],en=ke[1],oi=m(ke.slice(4),1)[0];return{found:!0,width:Qe,height:en,icon:Array.isArray(oi)?{tag:"g",attributes:{class:"".concat(We.cssPrefix,"-").concat(Qn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(We.cssPrefix,"-").concat(Qn.SECONDARY),fill:"currentColor",d:oi[0]}},{tag:"path",attributes:{class:"".concat(We.cssPrefix,"-").concat(Qn.PRIMARY),fill:"currentColor",d:oi[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:oi}}}}var $a={found:!1,width:512,height:512};function dr(ke,Qe){var en=Qe;return"fa"===Qe&&null!==We.styleDefault&&(Qe=bs()),new Promise(function(dn,Mn){if(Rs("missingIconAbstract"),"fa"===en){var Kn=za(ke)||{};ke=Kn.iconName||ke,Qe=Kn.prefix||Qe}if(ke&&Qe&&Vc[Qe]&&Vc[Qe][ke])return dn(_l(Vc[Qe][ke]));(function pd(ke,Qe){!St&&!We.showMissingIcons&&ke&&console.error('Icon with name "'.concat(ke,'" and prefix "').concat(Qe,'" is missing.'))})(ke,Qe),dn(A(A({},$a),{},{icon:We.showMissingIcons&&ke&&Rs("missingIconAbstract")||{}}))})}var fc=function(){},Ss=We.measurePerformance&&dt&&dt.mark&&dt.measure?dt:{mark:fc,measure:fc},ws='FA "6.2.1"',ol=function(Qe){Ss.mark("".concat(ws," ").concat(Qe," ends")),Ss.measure("".concat(ws," ").concat(Qe),"".concat(ws," ").concat(Qe," begins"),"".concat(ws," ").concat(Qe," ends"))},la={begin:function(Qe){return Ss.mark("".concat(ws," ").concat(Qe," begins")),function(){return ol(Qe)}},end:ol},Ha=function(){};function ac(ke){return"string"==typeof(ke.getAttribute?ke.getAttribute(Mt):null)}function Fs(ke){return wt.createElementNS("http://www.w3.org/2000/svg",ke)}function rl(ke){return wt.createElement(ke)}function bl(ke){var en=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,dn=void 0===en?"svg"===ke.tag?Fs:rl:en;if("string"==typeof ke)return wt.createTextNode(ke);var Mn=dn(ke.tag);return Object.keys(ke.attributes||[]).forEach(function(Kn){Mn.setAttribute(Kn,ke.attributes[Kn])}),(ke.children||[]).forEach(function(Kn){Mn.appendChild(bl(Kn,{ceFn:dn}))}),Mn}var Va={replace:function(Qe){var en=Qe[0];if(en.parentNode)if(Qe[1].forEach(function(Mn){en.parentNode.insertBefore(bl(Mn),en)}),null===en.getAttribute(Mt)&&We.keepOriginalSource){var dn=wt.createComment(function ha(ke){var Qe=" ".concat(ke.outerHTML," ");return"".concat(Qe,"Font Awesome fontawesome.com ")}(en));en.parentNode.replaceChild(dn,en)}else en.remove()},nest:function(Qe){var en=Qe[0],dn=Qe[1];if(~Rn(en).indexOf(We.replacementClass))return Va.replace(Qe);var Mn=new RegExp("".concat(We.cssPrefix,"-.*"));if(delete dn[0].attributes.id,dn[0].attributes.class){var oi=dn[0].attributes.class.split(" ").reduce(function(Mi,Bi){return Bi===We.replacementClass||Bi.match(Mn)?Mi.toSvg.push(Bi):Mi.toNode.push(Bi),Mi},{toNode:[],toSvg:[]});dn[0].attributes.class=oi.toSvg.join(" "),0===oi.toNode.length?en.removeAttribute("class"):en.setAttribute("class",oi.toNode.join(" "))}var Kn=dn.map(function(Mi){return pn(Mi)}).join("\n");en.setAttribute(Mt,""),en.innerHTML=Kn}};function xs(ke){ke()}function Yr(ke,Qe){var en="function"==typeof Qe?Qe:Ha;if(0===ke.length)en();else{var dn=xs;We.mutateApproach===Qt&&(dn=yt.requestAnimationFrame||xs),dn(function(){var Mn=function wc(){return!0===We.autoReplaceSvg?Va.replace:Va[We.autoReplaceSvg]||Va.replace}(),oi=la.begin("mutate");ke.map(Mn),oi(),en()})}}var xc=!1;function Qs(){xc=!0}function Ar(){xc=!1}var fs=null;function ql(ke){if(Z&&We.observeMutations){var Qe=ke.treeCallback,en=void 0===Qe?Ha:Qe,dn=ke.nodeCallback,Mn=void 0===dn?Ha:dn,oi=ke.pseudoElementsCallback,Kn=void 0===oi?Ha:oi,Mi=ke.observeMutationsRoot,Bi=void 0===Mi?wt:Mi;fs=new Z(function(to){if(!xc){var ro=bs();wn(to).forEach(function(Lt){if("childList"===Lt.type&&Lt.addedNodes.length>0&&!ac(Lt.addedNodes[0])&&(We.searchPseudoElements&&Kn(Lt.target),en(Lt.target)),"attributes"===Lt.type&&Lt.target.parentNode&&We.searchPseudoElements&&Kn(Lt.target.parentNode),"attributes"===Lt.type&&ac(Lt.target)&&~Ln.indexOf(Lt.attributeName))if("class"===Lt.attributeName&&function Pl(ke){var Qe=ke.getAttribute?ke.getAttribute(kt):null,en=ke.getAttribute?ke.getAttribute(Xt):null;return Qe&&en}(Lt.target)){var $e=hs(Rn(Lt.target)),Se=$e.iconName;Lt.target.setAttribute(kt,$e.prefix||ro),Se&&Lt.target.setAttribute(Xt,Se)}else(function Ma(ke){return ke&&ke.classList&&ke.classList.contains&&ke.classList.contains(We.replacementClass)})(Lt.target)&&Mn(Lt.target)})}}),L&&fs.observe(Bi,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function de(ke){var Qe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},en=function Mc(ke){var Qe=ke.getAttribute("data-prefix"),en=ke.getAttribute("data-icon"),dn=void 0!==ke.innerText?ke.innerText.trim():"",Mn=hs(Rn(ke));return Mn.prefix||(Mn.prefix=bs()),Qe&&en&&(Mn.prefix=Qe,Mn.iconName=en),Mn.iconName&&Mn.prefix||(Mn.prefix&&dn.length>0&&(Mn.iconName=function uo(ke,Qe){return(eo[ke]||{})[Qe]}(Mn.prefix,ke.innerText)||bo(Mn.prefix,we(ke.innerText))),!Mn.iconName&&We.autoFetchSvg&&ke.firstChild&&ke.firstChild.nodeType===Node.TEXT_NODE&&(Mn.iconName=ke.firstChild.data)),Mn}(ke),dn=en.iconName,Mn=en.prefix,oi=en.rest,Kn=function As(ke){var Qe=wn(ke.attributes).reduce(function(Mn,oi){return"class"!==Mn.name&&"style"!==Mn.name&&(Mn[oi.name]=oi.value),Mn},{}),en=ke.getAttribute("title"),dn=ke.getAttribute("data-fa-title-id");return We.autoA11y&&(en?Qe["aria-labelledby"]="".concat(We.replacementClass,"-title-").concat(dn||qn()):(Qe["aria-hidden"]="true",Qe.focusable="false")),Qe}(ke),Mi=qs("parseNodeAttributes",{},ke),Bi=Qe.styleParser?function Ol(ke){var Qe=ke.getAttribute("style"),en=[];return Qe&&(en=Qe.split(";").reduce(function(dn,Mn){var oi=Mn.split(":"),Kn=oi[0],Mi=oi.slice(1);return Kn&&Mi.length>0&&(dn[Kn]=Mi.join(":").trim()),dn},{})),en}(ke):[];return A({iconName:dn,title:ke.getAttribute("title"),titleId:ke.getAttribute("data-fa-title-id"),prefix:Mn,transform:te,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:oi,styles:Bi,attributes:Kn}},Mi)}var Os=Ti.styles;function Pe(ke){var Qe="nest"===We.autoReplaceSvg?de(ke,{styleParser:!1}):de(ke);return~Qe.extra.classes.indexOf(je)?Rs("generateLayersText",ke,Qe):Rs("generateSvgReplacementMutation",ke,Qe)}var Ge=new Set;function re(ke){var Qe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!L)return Promise.resolve();var en=wt.documentElement.classList,dn=function(Lt){return en.add("".concat(Ie,"-").concat(Lt))},Mn=function(Lt){return en.remove("".concat(Ie,"-").concat(Lt))},oi=We.autoFetchSvg?Ge:se.map(function(ro){return"fa-".concat(ro)}).concat(Object.keys(Os));oi.includes("fa")||oi.push("fa");var Kn=[".".concat(je,":not([").concat(Mt,"])")].concat(oi.map(function(ro){return".".concat(ro,":not([").concat(Mt,"])")})).join(", ");if(0===Kn.length)return Promise.resolve();var Mi=[];try{Mi=wn(ke.querySelectorAll(Kn))}catch{}if(!(Mi.length>0))return Promise.resolve();dn("pending"),Mn("complete");var Bi=la.begin("onTree"),to=Mi.reduce(function(ro,Lt){try{var $e=Pe(Lt);$e&&ro.push($e)}catch(ne){St||"MissingIcon"===ne.name&&console.error(ne)}return ro},[]);return new Promise(function(ro,Lt){Promise.all(to).then(function($e){Yr($e,function(){dn("active"),dn("complete"),Mn("pending"),"function"==typeof Qe&&Qe(),Bi(),ro()})}).catch(function($e){Bi(),Lt($e)})})}function an(ke){var Qe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Pe(ke).then(function(en){en&&Yr([en],Qe)})}se.map(function(ke){Ge.add("fa-".concat(ke))}),Object.keys(Me[Nt]).map(Ge.add.bind(Ge)),Object.keys(Me[Jt]).map(Ge.add.bind(Ge)),Ge=F(Ge);var vo=function(Qe){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},dn=en.transform,Mn=void 0===dn?te:dn,oi=en.symbol,Kn=void 0!==oi&&oi,Mi=en.mask,Bi=void 0===Mi?null:Mi,to=en.maskId,ro=void 0===to?null:to,Lt=en.title,$e=void 0===Lt?null:Lt,ne=en.titleId,Se=void 0===ne?null:ne,Tn=en.classes,pi=void 0===Tn?[]:Tn,Ni=en.attributes,Qi=void 0===Ni?{}:Ni,Vo=en.styles,fr=void 0===Vo?{}:Vo;if(Qe){var gr=Qe.prefix,Ko=Qe.iconName,Wr=Qe.icon;return ia(A({type:"icon"},Qe),function(){return Za("beforeDOMElementCreation",{iconDefinition:Qe,params:en}),We.autoA11y&&($e?Qi["aria-labelledby"]="".concat(We.replacementClass,"-title-").concat(Se||qn()):(Qi["aria-hidden"]="true",Qi.focusable="false")),Ks({icons:{main:_l(Wr),mask:Bi?_l(Bi.icon):{found:!1,width:null,height:null,icon:{}}},prefix:gr,iconName:Ko,transform:A(A({},te),Mn),symbol:Kn,title:$e,maskId:ro,titleId:Se,extra:{attributes:Qi,styles:fr,classes:pi}})})}},pr={mixout:function(){return{icon:(ke=vo,function(Qe){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},dn=(Qe||{}).icon?Qe:ts(Qe||{}),Mn=en.mask;return Mn&&(Mn=(Mn||{}).icon?Mn:ts(Mn||{})),ke(dn,A(A({},en),{},{mask:Mn}))})};var ke},hooks:function(){return{mutationObserverCallbacks:function(en){return en.treeCallback=re,en.nodeCallback=an,en}}},provides:function(Qe){Qe.i2svg=function(en){var dn=en.node,oi=en.callback;return re(void 0===dn?wt:dn,void 0===oi?function(){}:oi)},Qe.generateSvgReplacementMutation=function(en,dn){var Mn=dn.iconName,oi=dn.title,Kn=dn.titleId,Mi=dn.prefix,Bi=dn.transform,to=dn.symbol,ro=dn.mask,Lt=dn.maskId,$e=dn.extra;return new Promise(function(ne,Se){Promise.all([dr(Mn,Mi),ro.iconName?dr(ro.iconName,ro.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Tn){var pi=m(Tn,2);ne([en,Ks({icons:{main:pi[0],mask:pi[1]},prefix:Mi,iconName:Mn,transform:Bi,symbol:to,maskId:Lt,title:oi,titleId:Kn,extra:$e,watchable:!0})])}).catch(Se)})},Qe.generateAbstractIcon=function(en){var to,dn=en.children,Mn=en.attributes,oi=en.main,Kn=en.transform,Bi=ce(en.styles);return Bi.length>0&&(Mn.style=Bi),ie(Kn)&&(to=Rs("generateAbstractTransformGrouping",{main:oi,transform:Kn,containerWidth:oi.width,iconWidth:oi.width})),dn.push(to||oi.icon),{children:dn,attributes:Mn}}}},Tc={mixout:function(){return{layer:function(en){var dn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Mn=dn.classes,oi=void 0===Mn?[]:Mn;return ia({type:"layer"},function(){Za("beforeDOMElementCreation",{assembler:en,params:dn});var Kn=[];return en(function(Mi){Array.isArray(Mi)?Mi.map(function(Bi){Kn=Kn.concat(Bi.abstract)}):Kn=Kn.concat(Mi.abstract)}),[{tag:"span",attributes:{class:["".concat(We.cssPrefix,"-layers")].concat(F(oi)).join(" ")},children:Kn}]})}}}},Gc={mixout:function(){return{counter:function(en){var dn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Mn=dn.title,oi=void 0===Mn?null:Mn,Kn=dn.classes,Mi=void 0===Kn?[]:Kn,Bi=dn.attributes,to=void 0===Bi?{}:Bi,ro=dn.styles,Lt=void 0===ro?{}:ro;return ia({type:"counter",content:en},function(){return Za("beforeDOMElementCreation",{content:en,params:dn}),function il(ke){var Qe=ke.content,en=ke.title,dn=ke.extra,Mn=A(A(A({},dn.attributes),en?{title:en}:{}),{},{class:dn.classes.join(" ")}),oi=ce(dn.styles);oi.length>0&&(Mn.style=oi);var Kn=[];return Kn.push({tag:"span",attributes:Mn,children:[Qe]}),en&&Kn.push({tag:"span",attributes:{class:"sr-only"},children:[en]}),Kn}({content:en.toString(),title:oi,extra:{attributes:to,styles:Lt,classes:["".concat(We.cssPrefix,"-layers-counter")].concat(F(Mi))}})})}}}},Pi={mixout:function(){return{text:function(en){var dn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Mn=dn.transform,oi=void 0===Mn?te:Mn,Kn=dn.title,Mi=void 0===Kn?null:Kn,Bi=dn.classes,to=void 0===Bi?[]:Bi,ro=dn.attributes,Lt=void 0===ro?{}:ro,$e=dn.styles,ne=void 0===$e?{}:$e;return ia({type:"text",content:en},function(){return Za("beforeDOMElementCreation",{content:en,params:dn}),ks({content:en,transform:A(A({},te),oi),title:Mi,extra:{attributes:Lt,styles:ne,classes:["".concat(We.cssPrefix,"-layers-text")].concat(F(to))}})})}}},provides:function(Qe){Qe.generateLayersText=function(en,dn){var Mn=dn.title,oi=dn.transform,Kn=dn.extra,Mi=null,Bi=null;if(Y){var to=parseInt(getComputedStyle(en).fontSize,10),ro=en.getBoundingClientRect();Mi=ro.width/to,Bi=ro.height/to}return We.autoA11y&&!Mn&&(Kn.attributes["aria-hidden"]="true"),Promise.resolve([en,ks({content:en.innerHTML,width:Mi,height:Bi,transform:oi,title:Mn,extra:Kn,watchable:!0})])}}},Gt=new RegExp('"',"ug"),Vr=[1105920,1112319];function cr(ke,Qe){var en="".concat(Q).concat(Qe.replace(":","-"));return new Promise(function(dn,Mn){if(null!==ke.getAttribute(en))return dn();var Kn=wn(ke.children).filter(function(Wr){return Wr.getAttribute(ot)===Qe})[0],Mi=yt.getComputedStyle(ke,Qe),Bi=Mi.getPropertyValue("font-family").match(ve),to=Mi.getPropertyValue("font-weight"),ro=Mi.getPropertyValue("content");if(Kn&&!Bi)return ke.removeChild(Kn),dn();if(Bi&&"none"!==ro&&""!==ro){var Lt=Mi.getPropertyValue("content"),$e=~["Sharp"].indexOf(Bi[2])?Jt:Nt,ne=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Bi[2])?ae[$e][Bi[2].toLowerCase()]:De[$e][to],Se=function hd(ke){var Qe=ke.replace(Gt,""),en=function hn(ke,Qe){var Mn,en=ke.length,dn=ke.charCodeAt(Qe);return dn>=55296&&dn<=56319&&en>Qe+1&&(Mn=ke.charCodeAt(Qe+1))>=56320&&Mn<=57343?1024*(dn-55296)+Mn-56320+65536:dn}(Qe,0),dn=en>=Vr[0]&&en<=Vr[1],Mn=2===Qe.length&&Qe[0]===Qe[1];return{value:we(Mn?Qe[0]:Qe),isSecondary:dn||Mn}}(Lt),Tn=Se.value,pi=Se.isSecondary,Ni=Bi[0].startsWith("FontAwesome"),Qi=bo(ne,Tn),Vo=Qi;if(Ni){var fr=function Gs(ke){var Qe=hr[ke],en=bo("fas",ke);return Qe||(en?{prefix:"fas",iconName:en}:null)||{prefix:null,iconName:null}}(Tn);fr.iconName&&fr.prefix&&(Qi=fr.iconName,ne=fr.prefix)}if(!Qi||pi||Kn&&Kn.getAttribute(kt)===ne&&Kn.getAttribute(Xt)===Vo)dn();else{ke.setAttribute(en,Vo),Kn&&ke.removeChild(Kn);var gr=function Hs(){return{iconName:null,title:null,titleId:null,prefix:null,transform:te,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Ko=gr.extra;Ko.attributes[ot]=Qe,dr(Qi,ne).then(function(Wr){var Jr=Ks(A(A({},gr),{},{icons:{main:Wr,mask:La()},prefix:ne,iconName:Vo,extra:Ko,watchable:!0})),ko=wt.createElement("svg");"::before"===Qe?ke.insertBefore(ko,ke.firstChild):ke.appendChild(ko),ko.outerHTML=Jr.map(function(tr){return pn(tr)}).join("\n"),ke.removeAttribute(en),dn()}).catch(Mn)}}else dn()})}function oa(ke){return Promise.all([cr(ke,"::before"),cr(ke,"::after")])}function da(ke){return!(ke.parentNode===document.head||~Bt.indexOf(ke.tagName.toUpperCase())||ke.getAttribute(ot)||ke.parentNode&&"svg"===ke.parentNode.tagName)}function jl(ke){if(L)return new Promise(function(Qe,en){var dn=wn(ke.querySelectorAll("*")).filter(da).map(oa),Mn=la.begin("searchPseudoElements");Qs(),Promise.all(dn).then(function(){Mn(),Ar(),Qe()}).catch(function(){Mn(),Ar(),en()})})}var es=!1,Wd=function(Qe){return Qe.toLowerCase().split(" ").reduce(function(dn,Mn){var oi=Mn.toLowerCase().split("-"),Kn=oi[0],Mi=oi.slice(1).join("-");if(Kn&&"h"===Mi)return dn.flipX=!0,dn;if(Kn&&"v"===Mi)return dn.flipY=!0,dn;if(Mi=parseFloat(Mi),isNaN(Mi))return dn;switch(Kn){case"grow":dn.size=dn.size+Mi;break;case"shrink":dn.size=dn.size-Mi;break;case"left":dn.x=dn.x-Mi;break;case"right":dn.x=dn.x+Mi;break;case"up":dn.y=dn.y-Mi;break;case"down":dn.y=dn.y+Mi;break;case"rotate":dn.rotate=dn.rotate+Mi}return dn},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Ms={x:0,y:0,width:"100%",height:"100%"};function gc(ke){return ke.attributes&&(ke.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(ke.attributes.fill="black"),ke}!function Qa(ke,Qe){var en=Qe.mixoutsTo;sa=ke,ls={},Object.keys(Xs).forEach(function(dn){-1===Is.indexOf(dn)&&delete Xs[dn]}),sa.forEach(function(dn){var Mn=dn.mixout?dn.mixout():{};if(Object.keys(Mn).forEach(function(Kn){"function"==typeof Mn[Kn]&&(en[Kn]=Mn[Kn]),"object"===G(Mn[Kn])&&Object.keys(Mn[Kn]).forEach(function(Mi){en[Kn]||(en[Kn]={}),en[Kn][Mi]=Mn[Kn][Mi]})}),dn.hooks){var oi=dn.hooks();Object.keys(oi).forEach(function(Kn){ls[Kn]||(ls[Kn]=[]),ls[Kn].push(oi[Kn])})}dn.provides&&dn.provides(Xs)})}([so,pr,Tc,Gc,Pi,{hooks:function(){return{mutationObserverCallbacks:function(en){return en.pseudoElementsCallback=jl,en}}},provides:function(Qe){Qe.pseudoElements2svg=function(en){var dn=en.node;We.searchPseudoElements&&jl(void 0===dn?wt:dn)}}},{mixout:function(){return{dom:{unwatch:function(){Qs(),es=!0}}}},hooks:function(){return{bootstrap:function(){ql(qs("mutationObserverCallbacks",{}))},noAuto:function(){!function Al(){fs&&fs.disconnect()}()},watch:function(en){var dn=en.observeMutationsRoot;es?Ar():ql(qs("mutationObserverCallbacks",{observeMutationsRoot:dn}))}}}},{mixout:function(){return{parse:{transform:function(en){return Wd(en)}}}},hooks:function(){return{parseNodeAttributes:function(en,dn){var Mn=dn.getAttribute("data-fa-transform");return Mn&&(en.transform=Wd(Mn)),en}}},provides:function(Qe){Qe.generateAbstractTransformGrouping=function(en){var dn=en.main,Mn=en.transform,Kn=en.iconWidth,Mi={transform:"translate(".concat(en.containerWidth/2," 256)")},Bi="translate(".concat(32*Mn.x,", ").concat(32*Mn.y,") "),to="scale(".concat(Mn.size/16*(Mn.flipX?-1:1),", ").concat(Mn.size/16*(Mn.flipY?-1:1),") "),ro="rotate(".concat(Mn.rotate," 0 0)"),ne={outer:Mi,inner:{transform:"".concat(Bi," ").concat(to," ").concat(ro)},path:{transform:"translate(".concat(Kn/2*-1," -256)")}};return{tag:"g",attributes:A({},ne.outer),children:[{tag:"g",attributes:A({},ne.inner),children:[{tag:dn.icon.tag,children:dn.icon.children,attributes:A(A({},dn.icon.attributes),ne.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(en,dn){var Mn=dn.getAttribute("data-fa-mask"),oi=Mn?hs(Mn.split(" ").map(function(Kn){return Kn.trim()})):La();return oi.prefix||(oi.prefix=bs()),en.mask=oi,en.maskId=dn.getAttribute("data-fa-mask-id"),en}}},provides:function(Qe){Qe.generateAbstractMask=function(en){var ke,dn=en.children,Mn=en.attributes,oi=en.main,Kn=en.mask,Mi=en.maskId,ro=oi.icon,$e=Kn.icon,ne=function Ye(ke){var Qe=ke.transform,dn=ke.iconWidth,Mn={transform:"translate(".concat(ke.containerWidth/2," 256)")},oi="translate(".concat(32*Qe.x,", ").concat(32*Qe.y,") "),Kn="scale(".concat(Qe.size/16*(Qe.flipX?-1:1),", ").concat(Qe.size/16*(Qe.flipY?-1:1),") "),Mi="rotate(".concat(Qe.rotate," 0 0)");return{outer:Mn,inner:{transform:"".concat(oi," ").concat(Kn," ").concat(Mi)},path:{transform:"translate(".concat(dn/2*-1," -256)")}}}({transform:en.transform,containerWidth:Kn.width,iconWidth:oi.width}),Se={tag:"rect",attributes:A(A({},Ms),{},{fill:"white"})},Tn=ro.children?{children:ro.children.map(gc)}:{},pi={tag:"g",attributes:A({},ne.inner),children:[gc(A({tag:ro.tag,attributes:A(A({},ro.attributes),ne.path)},Tn))]},Ni={tag:"g",attributes:A({},ne.outer),children:[pi]},Qi="mask-".concat(Mi||qn()),Vo="clip-".concat(Mi||qn()),fr={tag:"mask",attributes:A(A({},Ms),{},{id:Qi,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Se,Ni]},gr={tag:"defs",children:[{tag:"clipPath",attributes:{id:Vo},children:(ke=$e,"g"===ke.tag?ke.children:[ke])},fr]};return dn.push(gr,{tag:"rect",attributes:A({fill:"currentColor","clip-path":"url(#".concat(Vo,")"),mask:"url(#".concat(Qi,")")},Ms)}),{children:dn,attributes:Mn}}}},{provides:function(Qe){var en=!1;yt.matchMedia&&(en=yt.matchMedia("(prefers-reduced-motion: reduce)").matches),Qe.missingIconAbstract=function(){var dn=[],Mn={fill:"currentColor"},oi={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};dn.push({tag:"path",attributes:A(A({},Mn),{},{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 Kn=A(A({},oi),{},{attributeName:"opacity"}),Mi={tag:"circle",attributes:A(A({},Mn),{},{cx:"256",cy:"364",r:"28"}),children:[]};return en||Mi.children.push({tag:"animate",attributes:A(A({},oi),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:A(A({},Kn),{},{values:"1;0;1;1;0;1;"})}),dn.push(Mi),dn.push({tag:"path",attributes:A(A({},Mn),{},{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:en?[]:[{tag:"animate",attributes:A(A({},Kn),{},{values:"1;0;0;0;0;1;"})}]}),en||dn.push({tag:"path",attributes:A(A({},Mn),{},{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:A(A({},Kn),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:dn}}}},{hooks:function(){return{parseNodeAttributes:function(en,dn){var Mn=dn.getAttribute("data-fa-symbol");return en.symbol=null!==Mn&&(""===Mn||Mn),en}}}}],{mixoutsTo:go});var fu=go.parse,m1=go.icon,Ei=D(345);const Fo=["*"],fa=ke=>{const Qe={[`fa-${ke.animation}`]:null!=ke.animation&&!ke.animation.startsWith("spin"),"fa-spin":"spin"===ke.animation||"spin-reverse"===ke.animation,"fa-spin-pulse":"spin-pulse"===ke.animation||"spin-pulse-reverse"===ke.animation,"fa-spin-reverse":"spin-reverse"===ke.animation||"spin-pulse-reverse"===ke.animation,"fa-pulse":"spin-pulse"===ke.animation||"spin-pulse-reverse"===ke.animation,"fa-fw":ke.fixedWidth,"fa-border":ke.border,"fa-inverse":ke.inverse,"fa-layers-counter":ke.counter,"fa-flip-horizontal":"horizontal"===ke.flip||"both"===ke.flip,"fa-flip-vertical":"vertical"===ke.flip||"both"===ke.flip,[`fa-${ke.size}`]:null!==ke.size,[`fa-rotate-${ke.rotate}`]:null!==ke.rotate,[`fa-pull-${ke.pull}`]:null!==ke.pull,[`fa-stack-${ke.stackItemSize}`]:null!=ke.stackItemSize};return Object.keys(Qe).map(en=>Qe[en]?en:null).filter(en=>en)};let gu=(()=>{class ke{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static{this.\u0275fac=function(dn){return new(dn||ke)}}static{this.\u0275prov=l.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})(),ns=(()=>{class ke{constructor(){this.definitions={}}addIcons(...en){for(const dn of en){dn.prefix in this.definitions||(this.definitions[dn.prefix]={}),this.definitions[dn.prefix][dn.iconName]=dn;for(const Mn of dn.icon[2])"string"==typeof Mn&&(this.definitions[dn.prefix][Mn]=dn)}}addIconPacks(...en){for(const dn of en){const Mn=Object.keys(dn).map(oi=>dn[oi]);this.addIcons(...Mn)}}getIconDefinition(en,dn){return en in this.definitions&&dn in this.definitions[en]?this.definitions[en][dn]:null}static{this.\u0275fac=function(dn){return new(dn||ke)}}static{this.\u0275prov=l.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})(),Gr=(()=>{class ke{constructor(){this.stackItemSize="1x"}ngOnChanges(en){if("size"in en)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static{this.\u0275fac=function(dn){return new(dn||ke)}}static{this.\u0275dir=l.FsC({type:ke,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[l.OA$]})}}return ke})(),_u=(()=>{class ke{constructor(en,dn){this.renderer=en,this.elementRef=dn}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(en){"size"in en&&(null!=en.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${en.size.currentValue}`),null!=en.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${en.size.previousValue}`))}static{this.\u0275fac=function(dn){return new(dn||ke)(l.rXU(l.sFG),l.rXU(l.aKT))}}static{this.\u0275cmp=l.VBU({type:ke,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[l.OA$,l.aNF],ngContentSelectors:Fo,decls:1,vars:0,template:function(dn,Mn){1&dn&&(l.NAR(),l.SdG(0))},encapsulation:2})}}return ke})(),sl=(()=>{class ke{set spin(en){this.animation=en?"spin":void 0}set pulse(en){this.animation=en?"spin-pulse":void 0}constructor(en,dn,Mn,oi,Kn){this.sanitizer=en,this.config=dn,this.iconLibrary=Mn,this.stackItem=oi,this.classes=[],null!=Kn&&null==oi&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(en){if(null!=this.icon||null!=this.config.fallbackIcon){if(en){const Mn=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Mn){const oi=this.buildParams();this.renderIcon(Mn,oi)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(en){const dn=((ke,Qe)=>(ke=>void 0!==ke.prefix&&void 0!==ke.iconName)(ke)?ke:"string"==typeof ke?{prefix:Qe,iconName:ke}:{prefix:ke[0],iconName:ke[1]})(en,this.config.defaultPrefix);return"icon"in dn?dn:this.iconLibrary.getIconDefinition(dn.prefix,dn.iconName)??((ke=>{throw new Error(`Could not find icon with iconName=${ke.iconName} and prefix=${ke.prefix} in the icon library.`)})(dn),null)}buildParams(){const en={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},dn="string"==typeof this.transform?fu.transform(this.transform):this.transform;return{title:this.title,transform:dn,classes:[...fa(en),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(en,dn){const Mn=m1(en,dn);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Mn.html.join("\n"))}static{this.\u0275fac=function(dn){return new(dn||ke)(l.rXU(Ei.up),l.rXU(gu),l.rXU(ns),l.rXU(Gr,8),l.rXU(_u,8))}}static{this.\u0275cmp=l.VBU({type:ke,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(dn,Mn){2&dn&&(l.Mr5("innerHTML",Mn.renderedIconHTML,l.npT),l.BMQ("title",Mn.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[l.OA$,l.aNF],decls:0,vars:0,template:function(dn,Mn){},encapsulation:2})}}return ke})(),Wl=(()=>{class ke{static{this.\u0275fac=function(dn){return new(dn||ke)}}static{this.\u0275mod=l.$C({type:ke})}static{this.\u0275inj=l.G2t({})}}return ke})()},68018:(Rt,Tt,D)=>{"use strict";D.d(Tt,{D9:()=>H,Wr:()=>m,c$:()=>Y,er:()=>M,h:()=>ut});var l=D(54438),k=D(7673),A=D(74402),G=D(27468),t=D(28793),C=D(59030),g=D(96697),f=D(44668),h=D(96354),_=D(70274),p=D(25558);class m{}let F=(()=>{class _t extends m{getTranslation(Dt){return(0,k.of)({})}static \u0275fac=(()=>{let Dt;return function(Mt){return(Dt||(Dt=l.xGo(_t)))(Mt||_t)}})();static \u0275prov=l.jDH({token:_t,factory:_t.\u0275fac})}return _t})();class M{}let y=(()=>{class _t{handle(Dt){return Dt.key}static \u0275fac=function(gt){return new(gt||_t)};static \u0275prov=l.jDH({token:_t,factory:_t.\u0275fac})}return _t})();function T(_t,xt){if(_t===xt)return!0;if(null===_t||null===xt)return!1;if(_t!=_t&&xt!=xt)return!0;const Dt=typeof _t;let Mt,ot,Q;if(Dt==typeof xt&&"object"==Dt){if(!Array.isArray(_t)){if(Array.isArray(xt))return!1;for(ot in Q=Object.create(null),_t){if(!T(_t[ot],xt[ot]))return!1;Q[ot]=!0}for(ot in xt)if(!(ot in Q)&&typeof xt[ot]<"u")return!1;return!0}if(!Array.isArray(xt))return!1;if((Mt=_t.length)==xt.length){for(ot=0;ot{O(xt[gt])?gt in _t?Dt[gt]=z(_t[gt],xt[gt]):Object.assign(Dt,{[gt]:xt[gt]}):Object.assign(Dt,{[gt]:xt[gt]})}),Dt):z({},xt)}function nt(_t,xt){const Dt=xt.split(".");xt="";do{xt+=Dt.shift(),I(_t)&&I(_t[xt])&&(O(_t[xt])||B(_t[xt])||!Dt.length)?(_t=_t[xt],xt=""):Dt.length?xt+=".":_t=void 0}while(Dt.length);return _t}class rt{}let mt=(()=>{class _t extends rt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(Dt,gt){return P(Dt)?this.interpolateString(Dt,gt):function U(_t){return"function"==typeof _t}(Dt)?this.interpolateFunction(Dt,gt):void 0}interpolateFunction(Dt,gt){return Dt(gt)}interpolateString(Dt,gt){return gt?Dt.replace(this.templateMatcher,(Mt,ot)=>{const Q=nt(gt,ot);return I(Q)?Q:Mt}):Dt}static \u0275fac=(()=>{let Dt;return function(Mt){return(Dt||(Dt=l.xGo(_t)))(Mt||_t)}})();static \u0275prov=l.jDH({token:_t,factory:_t.\u0275fac})}return _t})();class lt{}let ht=(()=>{class _t extends lt{compile(Dt,gt){return Dt}compileTranslations(Dt,gt){return Dt}static \u0275fac=(()=>{let Dt;return function(Mt){return(Dt||(Dt=l.xGo(_t)))(Mt||_t)}})();static \u0275prov=l.jDH({token:_t,factory:_t.\u0275fac})}return _t})();class yt{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new l.bkB;onLangChange=new l.bkB;onDefaultLangChange=new l.bkB}const wt=new l.nKC("ISOLATE_TRANSLATE_SERVICE"),Z=new l.nKC("USE_DEFAULT_LANG"),dt=new l.nKC("DEFAULT_LANGUAGE"),ft=new l.nKC("USE_EXTEND"),L=_t=>(0,A.A)(_t)?_t:(0,k.of)(_t);let Y=(()=>{class _t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(Dt){this.store.defaultLang=Dt}get currentLang(){return this.store.currentLang}set currentLang(Dt){this.store.currentLang=Dt}get langs(){return this.store.langs}set langs(Dt){this.store.langs=Dt}get translations(){return this.store.translations}set translations(Dt){this.store.translations=Dt}constructor(Dt,gt,Mt,ot,Q,kt=!0,Xt=!1,Ie=!1,Qt){this.store=Dt,this.currentLoader=gt,this.compiler=Mt,this.parser=ot,this.missingTranslationHandler=Q,this.useDefaultLang=kt,this.extend=Ie,Xt&&(this.store=new yt),Qt&&this.setDefaultLang(Qt)}setDefaultLang(Dt){if(Dt===this.defaultLang)return;const gt=this.retrieveTranslations(Dt);typeof gt<"u"?(null==this.defaultLang&&(this.defaultLang=Dt),gt.pipe((0,g.s)(1)).subscribe(()=>{this.changeDefaultLang(Dt)})):this.changeDefaultLang(Dt)}getDefaultLang(){return this.defaultLang}use(Dt){if(this.lastUseLanguage=Dt,Dt===this.currentLang)return(0,k.of)(this.translations[Dt]);this.currentLang||(this.currentLang=Dt);const gt=this.retrieveTranslations(Dt);return(0,A.A)(gt)?(gt.pipe((0,g.s)(1)).subscribe(()=>{this.changeLang(Dt)}),gt):(this.changeLang(Dt),(0,k.of)(this.translations[Dt]))}changeLang(Dt){Dt===this.lastUseLanguage&&(this.currentLang=Dt,this.onLangChange.emit({lang:Dt,translations:this.translations[Dt]}),null==this.defaultLang&&this.changeDefaultLang(Dt))}retrieveTranslations(Dt){if(typeof this.translations[Dt]>"u"||this.extend)return this._translationRequests[Dt]=this._translationRequests[Dt]||this.loadAndCompileTranslations(Dt),this._translationRequests[Dt]}getTranslation(Dt){return this.loadAndCompileTranslations(Dt)}loadAndCompileTranslations(Dt){this.pending=!0;const gt=this.currentLoader.getTranslation(Dt).pipe((0,f.t)(1),(0,g.s)(1));return this.loadingTranslations=gt.pipe((0,h.T)(Mt=>this.compiler.compileTranslations(Mt,Dt)),(0,f.t)(1),(0,g.s)(1)),this.loadingTranslations.subscribe({next:Mt=>{this.translations[Dt]=this.extend&&this.translations[Dt]?{...Mt,...this.translations[Dt]}:Mt,this.updateLangs(),this.pending=!1},error:Mt=>{this.pending=!1}}),gt}setTranslation(Dt,gt,Mt=!1){const ot=this.compiler.compileTranslations(gt,Dt);this.translations[Dt]=(Mt||this.extend)&&this.translations[Dt]?z(this.translations[Dt],ot):ot,this.updateLangs(),this.onTranslationChange.emit({lang:Dt,translations:this.translations[Dt]})}getLangs(){return this.langs}addLangs(Dt){const gt=Dt.filter(Mt=>!this.langs.includes(Mt));gt.length>0&&(this.langs=[...this.langs,...gt])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(Dt,gt,Mt){let ot;if(Dt&&(ot=this.runInterpolation(nt(Dt,gt),Mt)),void 0===ot&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ot=this.runInterpolation(nt(this.translations[this.defaultLang],gt),Mt)),void 0===ot){const Q={key:gt,translateService:this};typeof Mt<"u"&&(Q.interpolateParams=Mt),ot=this.missingTranslationHandler.handle(Q)}return void 0!==ot?ot:gt}runInterpolation(Dt,gt){if(B(Dt))return Dt.map(Mt=>this.runInterpolation(Mt,gt));if(O(Dt)){const Mt={};for(const ot in Dt){const Q=this.runInterpolation(Dt[ot],gt);void 0!==Q&&(Mt[ot]=Q)}return Mt}return this.parser.interpolate(Dt,gt)}getParsedResult(Dt,gt,Mt){if(gt instanceof Array){const ot={};let Q=!1;for(const Xt of gt)ot[Xt]=this.getParsedResultForKey(Dt,Xt,Mt),Q=Q||(0,A.A)(ot[Xt]);if(!Q)return ot;const kt=gt.map(Xt=>L(ot[Xt]));return(0,G.p)(kt).pipe((0,h.T)(Xt=>{const Ie={};return Xt.forEach((Qt,Bt)=>{Ie[gt[Bt]]=Qt}),Ie}))}return this.getParsedResultForKey(Dt,gt,Mt)}get(Dt,gt){if(!I(Dt)||!Dt.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,_.H)(Mt=>L(this.getParsedResult(Mt,Dt,gt)))):L(this.getParsedResult(this.translations[this.currentLang],Dt,gt))}getStreamOnTranslationChange(Dt,gt){if(!I(Dt)||!Dt.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,t.x)((0,C.v)(()=>this.get(Dt,gt)),this.onTranslationChange.pipe((0,p.n)(Mt=>{const ot=this.getParsedResult(Mt.translations,Dt,gt);return L(ot)})))}stream(Dt,gt){if(!I(Dt)||!Dt.length)throw new Error('Parameter "key" required');return(0,t.x)((0,C.v)(()=>this.get(Dt,gt)),this.onLangChange.pipe((0,p.n)(Mt=>{const ot=this.getParsedResult(Mt.translations,Dt,gt);return L(ot)})))}instant(Dt,gt){if(!I(Dt)||0===Dt.length)throw new Error('Parameter "key" is required and cannot be empty');const Mt=this.getParsedResult(this.translations[this.currentLang],Dt,gt);return(0,A.A)(Mt)?Array.isArray(Dt)?Dt.reduce((ot,Q)=>(ot[Q]=Q,ot),{}):Dt:Mt}set(Dt,gt,Mt=this.currentLang){(function it(_t,xt,Dt){const gt=xt.split(".");let Mt=_t;for(let ot=0;ot"u"||!window.navigator)return;const Dt=this.getBrowserCultureLang();return Dt?Dt.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(gt){return new(gt||_t)(l.KVO(yt),l.KVO(m),l.KVO(lt),l.KVO(rt),l.KVO(M),l.KVO(Z),l.KVO(wt),l.KVO(ft),l.KVO(dt))};static \u0275prov=l.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})(),H=(()=>{class _t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(Dt,gt){this.translate=Dt,this._ref=gt}updateValue(Dt,gt,Mt){const ot=Q=>{this.value=void 0!==Q?Q:Dt,this.lastKey=Dt,this._ref.markForCheck()};if(Mt){const Q=this.translate.getParsedResult(Mt,Dt,gt);(0,A.A)(Q)?Q.subscribe(ot):ot(Q)}this.translate.get(Dt,gt).subscribe(ot)}transform(Dt,...gt){if(!Dt||!Dt.length)return Dt;if(T(Dt,this.lastKey)&&T(gt,this.lastParams))return this.value;let Mt;if(I(gt[0])&>.length)if(P(gt[0])&>[0].length){const ot=gt[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{Mt=JSON.parse(ot)}catch(Q){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${gt[0]}`)}}else O(gt[0])&&(Mt=gt[0]);return this.lastKey=Dt,this.lastParams=gt,this.updateValue(Dt,Mt),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ot=>{this.lastKey&&ot.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(Dt,Mt,ot.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ot=>{this.lastKey&&(this.lastKey=null,this.updateValue(Dt,Mt,ot.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(Dt,Mt))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(gt){return new(gt||_t)(l.rXU(Y,16),l.rXU(l.gRc,16))};static \u0275pipe=l.EJ8({name:"translate",type:_t,pure:!1,standalone:!0});static \u0275prov=l.jDH({token:_t,factory:_t.\u0275fac})}return _t})(),ut=(()=>{class _t{static forRoot(Dt={}){return{ngModule:_t,providers:[Dt.loader||{provide:m,useClass:F},Dt.compiler||{provide:lt,useClass:ht},Dt.parser||{provide:rt,useClass:mt},Dt.missingTranslationHandler||{provide:M,useClass:y},yt,{provide:wt,useValue:Dt.isolate},{provide:Z,useValue:Dt.useDefaultLang},{provide:ft,useValue:Dt.extend},{provide:dt,useValue:Dt.defaultLanguage},Y]}}static forChild(Dt={}){return{ngModule:_t,providers:[Dt.loader||{provide:m,useClass:F},Dt.compiler||{provide:lt,useClass:ht},Dt.parser||{provide:rt,useClass:mt},Dt.missingTranslationHandler||{provide:M,useClass:y},{provide:wt,useValue:Dt.isolate},{provide:Z,useValue:Dt.useDefaultLang},{provide:ft,useValue:Dt.extend},{provide:dt,useValue:Dt.defaultLanguage},Y]}}static \u0275fac=function(gt){return new(gt||_t)};static \u0275mod=l.$C({type:_t});static \u0275inj=l.G2t({})}return _t})()},24110:(Rt,Tt,D)=>{"use strict";D.d(Tt,{An:()=>gt,U9:()=>xt});var l=D(54438),k=D(89417),A=D(86600),G=D(32102),t=D(82798),C=D(84412),g=D(7673),f=D(84572),h=D(21413),_=D(25558),p=D(96354),m=D(99172),F=D(91986),M=D(56977),y=D(96697),T=D(88141),I=D(5964),O=D(65478),S=D(60177),B=D(88834),P=D(82765),U=D(99213),z=D(9183),nt=D(14823),it=D(71997);const rt=["searchSelectInput"],mt=["innerSelectSearch"],lt=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],ht=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],yt=(Mt,ot)=>({"mat-select-search-inner-multiple":Mt,"mat-select-search-inner-toggle-all":ot});function wt(Mt,ot){if(1&Mt){const Q=l.RV6();l.j41(0,"mat-checkbox",12),l.bIt("change",function(Xt){l.eBV(Q);const Ie=l.XpG();return l.Njj(Ie._emitSelectAllBooleanToParent(Xt.checked))}),l.k0s()}if(2&Mt){const Q=l.XpG();l.Y8G("color",null==Q.matFormField?null:Q.matFormField.color)("checked",Q.toggleAllCheckboxChecked)("indeterminate",Q.toggleAllCheckboxIndeterminate)("matTooltip",Q.toggleAllCheckboxTooltipMessage)("matTooltipPosition",Q.toggleAllCheckboxTooltipPosition)}}function Z(Mt,ot){1&Mt&&l.nrm(0,"mat-spinner",13)}function dt(Mt,ot){1&Mt&&l.SdG(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ft(Mt,ot){if(1&Mt&&(l.j41(0,"mat-icon",16),l.EFF(1),l.k0s()),2&Mt){const Q=l.XpG(2);l.Y8G("svgIcon",Q.closeSvgIcon),l.R7$(),l.SpI(" ",Q.closeSvgIcon?null:Q.closeIcon," ")}}function L(Mt,ot){if(1&Mt){const Q=l.RV6();l.j41(0,"button",14),l.bIt("click",function(){l.eBV(Q);const Xt=l.XpG();return l.Njj(Xt._reset(!0))}),l.DNE(1,dt,1,0,"ng-content",15)(2,ft,2,2,"ng-template",null,2,l.C5r),l.k0s()}if(2&Mt){const Q=l.sdS(3),kt=l.XpG();l.R7$(),l.Y8G("ngIf",kt.clearIcon)("ngIfElse",Q)}}function Y(Mt,ot){1&Mt&&l.SdG(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function J(Mt,ot){if(1&Mt&&l.EFF(0),2&Mt){const Q=l.XpG(2);l.JRh(Q.noEntriesFoundLabel)}}function H(Mt,ot){if(1&Mt&&(l.j41(0,"div",17),l.DNE(1,Y,1,0,"ng-content",15)(2,J,1,1,"ng-template",null,3,l.C5r),l.k0s()),2&Mt){const Q=l.sdS(3),kt=l.XpG();l.R7$(),l.Y8G("ngIf",kt.noEntriesFound)("ngIfElse",Q)}}let K=(()=>{class Mt{}return Mt.\u0275fac=function(Q){return new(Q||Mt)},Mt.\u0275dir=l.FsC({type:Mt,selectors:[["","ngxMatSelectSearchClear",""]]}),Mt})();const tt=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],ut=new l.nKC("mat-selectsearch-default-options");let _t=(()=>{class Mt{}return Mt.\u0275fac=function(Q){return new(Q||Mt)},Mt.\u0275dir=l.FsC({type:Mt,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Mt})(),xt=(()=>{class Mt{constructor(Q,kt,Xt,Ie,Qt,Bt){this.matSelect=Q,this.changeDetectorRef=kt,this._viewportRuler=Xt,this.matOption=Ie,this.matFormField=Qt,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new l.bkB,this.onTouched=St=>{},this._options$=new C.t(null),this.optionsList$=this._options$.pipe((0,_.n)(St=>St?St.changes.pipe((0,p.T)(Nt=>Nt.toArray()),(0,m.Z)(St.toArray())):(0,g.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,p.T)(St=>St?St.length:0)),this._formControl=new k.MJ("",{nonNullable:!0}),this._showNoEntriesFound$=(0,f.z)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,p.T)(([St,Nt])=>!(!this.noEntriesFoundLabel||!St||Nt!==this.getOptionsLengthOffset()))),this._onDestroy=new h.B,this.applyDefaultOptions(Bt)}get value(){return this._formControl.value}set _options(Q){this._options$.next(Q)}get _options(){return this._options$.getValue()}applyDefaultOptions(Q){if(Q)for(const kt of tt)Q.hasOwnProperty(kt)&&(this[kt]=Q[kt])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,F.c)(1),(0,M.Q)(this._onDestroy)).subscribe(Q=>{Q?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,y.s)(1),(0,_.n)(Q=>{this._options=this.matSelect.options;let kt=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,T.M)(()=>{setTimeout(()=>{const Xt=this._options.toArray(),Ie=Xt[this.getOptionsLengthOffset()],Qt=this.matSelect._keyManager;Qt&&this.matSelect.panelOpen&&Ie&&((!kt||!this.matSelect.compareWith(kt.value,Ie.value)||!Qt.activeItem||!Xt.find(St=>this.matSelect.compareWith(St.value,Qt.activeItem?.value)))&&Qt.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),kt=Ie})}))})).pipe((0,M.Q)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,M.Q)(this._onDestroy)).subscribe(Q=>{this.matOption&&(Q?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,M.Q)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,M.Q)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(Q){this.toggleAll.emit(Q)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(Q){(Q.key&&1===Q.key.length||this.preventHomeEndKeyPropagation&&("Home"===Q.key||"End"===Q.key))&&Q.stopPropagation(),this.matSelect.multiple&&Q.key&&"Enter"===Q.key&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&"Escape"===Q.key&&this.value&&(this._reset(!0),Q.stopPropagation())}_handleKeyup(Q){if("ArrowUp"===Q.key||"ArrowDown"===Q.key){const kt=this.matSelect._getAriaActiveDescendant(),Xt=this._options.toArray().findIndex(Ie=>Ie.id===kt);-1!==Xt&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Xt]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",kt))}}writeValue(Q){this._lastExternalInputValue=Q,this._formControl.setValue(Q),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(Q){this._formControl.valueChanges.pipe((0,I.p)(kt=>kt!==this._lastExternalInputValue),(0,T.M)(()=>this._lastExternalInputValue=void 0),(0,M.Q)(this._onDestroy)).subscribe(Q)}registerOnTouched(Q){this.onTouched=Q}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const Q=this.matSelect.panel.nativeElement,kt=Q.scrollTop;this.searchSelectInput.nativeElement.focus(),Q.scrollTop=kt}_reset(Q){this._formControl.setValue(""),Q&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe((0,M.Q)(this._onDestroy)).subscribe(Q=>{let kt=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!Q||!Array.isArray(Q))&&(Q=[]);const Xt=this.matSelect.options.map(Ie=>Ie.value);this.previousSelectedValues.forEach(Ie=>{!Q.some(Qt=>this.matSelect.compareWith(Qt,Ie))&&!Xt.some(Qt=>this.matSelect.compareWith(Qt,Ie))&&(this.recreateValuesArray?Q=[...Q,Ie]:Q.push(Ie),kt=!0)})}this.previousSelectedValues=Q,kt&&this.matSelect._onChange(Q)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let Q=this.innerSelectSearch.nativeElement,kt=null;for(;Q&&Q.parentElement;)if(Q=Q.parentElement,Q.classList.contains("mat-select-panel")){kt=Q;break}kt&&(this.innerSelectSearch.nativeElement.style.width=kt.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Mt.\u0275fac=function(Q){return new(Q||Mt)(l.rXU(t.VO),l.rXU(l.gRc),l.rXU(O.Xj),l.rXU(A.wT,8),l.rXU(G.rl,8),l.rXU(ut,8))},Mt.\u0275cmp=l.VBU({type:Mt,selectors:[["ngx-mat-select-search"]],contentQueries:function(Q,kt,Xt){if(1&Q&&(l.wni(Xt,K,5),l.wni(Xt,_t,5)),2&Q){let Ie;l.mGM(Ie=l.lsd())&&(kt.clearIcon=Ie.first),l.mGM(Ie=l.lsd())&&(kt.noEntriesFound=Ie.first)}},viewQuery:function(Q,kt){if(1&Q&&(l.GBs(rt,7,l.aKT),l.GBs(mt,7,l.aKT)),2&Q){let Xt;l.mGM(Xt=l.lsd())&&(kt.searchSelectInput=Xt.first),l.mGM(Xt=l.lsd())&&(kt.innerSelectSearch=Xt.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},features:[l.Jv_([{provide:k.kq,useExisting:(0,l.Rfq)(()=>Mt),multi:!0}])],ngContentSelectors:ht,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(Q,kt){if(1&Q){const Xt=l.RV6();l.NAR(lt),l.nrm(0,"input",4),l.j41(1,"div",5,0)(3,"div",6),l.DNE(4,wt,1,5,"mat-checkbox",7),l.j41(5,"input",8,1),l.bIt("keydown",function(Qt){return l.eBV(Xt),l.Njj(kt._handleKeydown(Qt))})("keyup",function(Qt){return l.eBV(Xt),l.Njj(kt._handleKeyup(Qt))})("blur",function(){return l.eBV(Xt),l.Njj(kt.onBlur())}),l.k0s(),l.DNE(7,Z,1,0,"mat-spinner",9)(8,L,4,2,"button",10),l.SdG(9),l.k0s(),l.nrm(10,"mat-divider"),l.k0s(),l.DNE(11,H,4,2,"div",11),l.nI1(12,"async")}2&Q&&(l.R7$(),l.Y8G("ngClass",l.l_i(11,yt,kt.matSelect.multiple,kt._isToggleAllCheckboxVisible())),l.R7$(3),l.Y8G("ngIf",kt._isToggleAllCheckboxVisible()),l.R7$(),l.Y8G("type",kt.type)("formControl",kt._formControl)("placeholder",kt.placeholderLabel),l.BMQ("aria-label",kt.ariaLabel),l.R7$(2),l.Y8G("ngIf",kt.searching),l.R7$(),l.Y8G("ngIf",!kt.hideClearSearchButton&&kt.value&&!kt.searching),l.R7$(3),l.Y8G("ngIf",l.bMT(12,9,kt._showNoEntriesFound$)))},dependencies:[S.YU,S.bT,k.me,k.BC,k.l_,B.iY,P.So,U.An,z.LG,nt.oV,it.q,S.Jj],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-input[_ngcontent-%COMP%]::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),Mt})(),gt=(()=>{class Mt{}return Mt.\u0275fac=function(Q){return new(Q||Mt)},Mt.\u0275mod=l.$C({type:Mt}),Mt.\u0275inj=l.G2t({imports:[S.MD,k.X1,B.Hl,P.g7,U.m_,z.D6,nt.uc,it.w]}),Mt})()},10467:(Rt,Tt,D)=>{"use strict";function l(A,G,t,C,g,f,h){try{var _=A[f](h),p=_.value}catch(m){return void t(m)}_.done?G(p):Promise.resolve(p).then(C,g)}function k(A){return function(){var G=this,t=arguments;return new Promise(function(C,g){var f=A.apply(G,t);function h(p){l(f,C,g,h,_,"next",p)}function _(p){l(f,C,g,h,_,"throw",p)}h(void 0)})}}D.d(Tt,{A:()=>k})},31635:(Rt,Tt,D)=>{"use strict";function t(H,K,tt,ut){var Dt,_t=arguments.length,xt=_t<3?K:null===ut?ut=Object.getOwnPropertyDescriptor(K,tt):ut;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)xt=Reflect.decorate(H,K,tt,ut);else for(var gt=H.length-1;gt>=0;gt--)(Dt=H[gt])&&(xt=(_t<3?Dt(xt):_t>3?Dt(K,tt,xt):Dt(K,tt))||xt);return _t>3&&xt&&Object.defineProperty(K,tt,xt),xt}function m(H,K,tt,ut){return new(tt||(tt=Promise))(function(xt,Dt){function gt(Q){try{ot(ut.next(Q))}catch(kt){Dt(kt)}}function Mt(Q){try{ot(ut.throw(Q))}catch(kt){Dt(kt)}}function ot(Q){Q.done?xt(Q.value):function _t(xt){return xt instanceof tt?xt:new tt(function(Dt){Dt(xt)})}(Q.value).then(gt,Mt)}ot((ut=ut.apply(H,K||[])).next())})}function P(H){return this instanceof P?(this.v=H,this):new P(H)}function U(H,K,tt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _t,ut=tt.apply(H,K||[]),xt=[];return _t=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),gt("next"),gt("throw"),gt("return",function Dt(Ie){return function(Qt){return Promise.resolve(Qt).then(Ie,kt)}}),_t[Symbol.asyncIterator]=function(){return this},_t;function gt(Ie,Qt){ut[Ie]&&(_t[Ie]=function(Bt){return new Promise(function(St,Nt){xt.push([Ie,Bt,St,Nt])>1||Mt(Ie,Bt)})},Qt&&(_t[Ie]=Qt(_t[Ie])))}function Mt(Ie,Qt){try{!function ot(Ie){Ie.value instanceof P?Promise.resolve(Ie.value.v).then(Q,kt):Xt(xt[0][2],Ie)}(ut[Ie](Qt))}catch(Bt){Xt(xt[0][3],Bt)}}function Q(Ie){Mt("next",Ie)}function kt(Ie){Mt("throw",Ie)}function Xt(Ie,Qt){Ie(Qt),xt.shift(),xt.length&&Mt(xt[0][0],xt[0][1])}}function nt(H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tt,K=H[Symbol.asyncIterator];return K?K.call(H):(H=function T(H){var K="function"==typeof Symbol&&Symbol.iterator,tt=K&&H[K],ut=0;if(tt)return tt.call(H);if(H&&"number"==typeof H.length)return{next:function(){return H&&ut>=H.length&&(H=void 0),{value:H&&H[ut++],done:!H}}};throw new TypeError(K?"Object is not iterable.":"Symbol.iterator is not defined.")}(H),tt={},ut("next"),ut("throw"),ut("return"),tt[Symbol.asyncIterator]=function(){return this},tt);function ut(xt){tt[xt]=H[xt]&&function(Dt){return new Promise(function(gt,Mt){!function _t(xt,Dt,gt,Mt){Promise.resolve(Mt).then(function(ot){xt({value:ot,done:gt})},Dt)}(gt,Mt,(Dt=H[xt](Dt)).done,Dt.value)})}}}D.d(Tt,{AQ:()=>U,Cg:()=>t,N3:()=>P,sH:()=>m,xN:()=>nt}),"function"==typeof SuppressedError&&SuppressedError}},Rt=>{Rt(Rt.s=65169)}]); \ No newline at end of file diff --git a/browser/manifest.json b/manifest.json similarity index 100% rename from browser/manifest.json rename to manifest.json diff --git a/mifosx-theme.css b/mifosx-theme.css new file mode 100644 index 000000000..d48b5dd4d --- /dev/null +++ b/mifosx-theme.css @@ -0,0 +1 @@ +body.dark-theme table tbody tr:nth-child(2n){background-color:#303135!important}.dark-theme .sticky{background-color:#303135!important}.dark-theme .mat-option-text,.dark-theme .mat-input-element,.dark-theme .mat-form-field-label{color:#fff!important}.dark-theme mifosx-popover,.dark-theme .mat-menu-content,.dark-theme .mat-dialog-container{background-color:#303135;color:#fff}.dark-theme .mat-calendar,.dark-theme .mat-calendar-body-cell,.dark-theme .mat-calendar-body-label,.dark-theme .mat-calendar-table,.dark-theme .mat-list-item.active{background-color:#303135;border:none}.dark-theme .mat-tab-label-active{border-bottom:lightgray}.dark-theme .img-button,.dark-theme .app-user-photo,.dark-theme .profile-image{filter:invert(100%)}.dark-theme a:any-link{color:#0098ff!important}.dark-theme span.breadcrumb-link a{color:#0098ff!important}.dark-theme div.alert{color:#303135}.dark-theme a.mat-tab-link,.dark-theme a.tab-link{color:#fff!important}.dark-theme .cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;display:table;background-color:#fff;color:#303135}.dark-theme #footer{color:#fff}.dark-theme #footer .mat-checkbox,.dark-theme #footer .versions{color:#fff!important}.dark-theme #footer .business-date{color:#0098ff}.dark-theme .external-asset-owner-status{color:#fff}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font:400 24px/32px Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:500 20px/32px Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 16px/24px Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 14px/20px Roboto,sans-serif;letter-spacing:.0178571429em}.mat-headline-1,.mat-typography .mat-headline-1{font:300 96px/96px Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font:300 60px/60px Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font:400 48px/50px Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font:400 34px/40px Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400;--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400;--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400;--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400;--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400;--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400;--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em;--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400;--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html .mat-mdc-slide-toggle,.mat-mdc-radio-button{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 20px;--mdc-form-field-label-text-size: 14px;--mdc-form-field-label-text-tracking: .0178571429em;--mdc-form-field-label-text-weight: 400}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400;--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}.mat-mdc-checkbox{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 20px;--mdc-form-field-label-text-size: 14px;--mdc-form-field-label-text-tracking: .0178571429em;--mdc-form-field-label-text-weight: 400}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none;--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1,.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:400 1rem/1.5 Roboto;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 1rem/1.5 Roboto;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 .83rem/1.5 Roboto;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 .67rem/1.5 Roboto;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font:500 14px/22px Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 1rem/1.5 Roboto;letter-spacing:normal}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font:400 1rem/1.5 Roboto;letter-spacing:normal;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2,.mat-headline-3,.mat-typography .mat-headline-3,.mat-headline-4,.mat-typography .mat-headline-4{font:400 1rem/1.5 Roboto;letter-spacing:normal;margin:0 0 64px}html{--mat-ripple-color: rgba(0, 0, 0, .1);--mat-option-selected-state-label-text-color: #1074b9;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #b4d575;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #1074b9;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #1074b9;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #b4d575;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #b4d575;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87)}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}html{--mat-option-label-text-font: Roboto;--mat-option-label-text-line-height: 1.5;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400;--mat-optgroup-label-text-font: Roboto;--mat-optgroup-label-text-line-height: 1.5;--mat-optgroup-label-text-size: 1rem;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400;--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px;--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-title-text-font: Roboto;--mat-card-title-text-line-height: 1.5;--mat-card-title-text-size: 1rem;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 400;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #1074b9;--mdc-linear-progress-track-color: rgba(16, 116, 185, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #b4d575;--mdc-linear-progress-track-color: rgba(180, 213, 117, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px;--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mdc-filled-text-field-caret-color: #1074b9;--mdc-filled-text-field-focus-active-indicator-color: #1074b9;--mdc-filled-text-field-focus-label-text-color: rgba(16, 116, 185, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #1074b9;--mdc-outlined-text-field-focus-outline-color: #1074b9;--mdc-outlined-text-field-focus-label-text-color: rgba(16, 116, 185, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(16, 116, 185, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #b4d575;--mdc-filled-text-field-focus-active-indicator-color: #b4d575;--mdc-filled-text-field-focus-label-text-color: rgba(180, 213, 117, .87);--mdc-outlined-text-field-caret-color: #b4d575;--mdc-outlined-text-field-focus-outline-color: #b4d575;--mdc-outlined-text-field-focus-label-text-color: rgba(180, 213, 117, .87);--mat-form-field-focus-select-arrow-color: rgba(180, 213, 117, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mdc-filled-text-field-label-text-font: Roboto;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto;--mat-form-field-container-text-line-height: 1.5;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 1rem;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(16, 116, 185, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(180, 213, 117, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px);--mat-select-trigger-text-font: Roboto;--mat-select-trigger-text-line-height: 1.5;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400;--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: white;--mdc-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color: #000;--mdc-dialog-container-shape: 4px;--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px;--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6);--mdc-dialog-subhead-font: Roboto;--mdc-dialog-subhead-line-height: 1.5;--mdc-dialog-subhead-size: 1rem;--mdc-dialog-subhead-weight: 400;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Roboto;--mdc-dialog-supporting-text-line-height: 1.5;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip{--mdc-chip-container-shape-family: rounded;--mdc-chip-container-shape-radius: 16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family: rounded;--mdc-chip-with-avatar-avatar-shape-radius: 14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0;--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-selected-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-flat-disabled-selected-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #1074b9;--mdc-chip-elevated-selected-container-color: #1074b9;--mdc-chip-elevated-disabled-container-color: #1074b9;--mdc-chip-flat-disabled-selected-container-color: #1074b9;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-elevated-container-color: #b4d575;--mdc-chip-elevated-selected-container-color: #b4d575;--mdc-chip-elevated-disabled-container-color: #b4d575;--mdc-chip-flat-disabled-selected-container-color: #b4d575;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto;--mdc-chip-label-text-line-height: 1.5;--mdc-chip-label-text-size: 1rem;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1;--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mdc-form-field-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mdc-form-field-label-text-font: Roboto;--mdc-form-field-label-text-line-height: 1.5;--mdc-form-field-label-text-size: 1rem;--mdc-form-field-label-text-tracking: normal;--mdc-form-field-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button{--mdc-form-field-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #1074b9;--mdc-radio-selected-hover-icon-color: #1074b9;--mdc-radio-selected-icon-color: #1074b9;--mdc-radio-selected-pressed-icon-color: #1074b9;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #1074b9;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #b4d575;--mdc-radio-selected-hover-icon-color: #b4d575;--mdc-radio-selected-icon-color: #b4d575;--mdc-radio-selected-pressed-icon-color: #b4d575;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #b4d575;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}html{--mdc-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}.mat-mdc-radio-button{--mdc-form-field-label-text-font: Roboto;--mdc-form-field-label-text-line-height: 1.5;--mdc-form-field-label-text-size: 1rem;--mdc-form-field-label-text-tracking: normal;--mdc-form-field-label-text-weight: 400}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%);--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-color: #1074b9;--mdc-slider-focus-handle-color: #1074b9;--mdc-slider-hover-handle-color: #1074b9;--mdc-slider-active-track-color: #1074b9;--mdc-slider-inactive-track-color: #1074b9;--mdc-slider-with-tick-marks-inactive-container-color: #1074b9;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-ripple-color: #1074b9;--mat-slider-hover-state-layer-color: rgba(16, 116, 185, .05);--mat-slider-focus-state-layer-color: rgba(16, 116, 185, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mat-slider-ripple-color: #b4d575;--mat-slider-hover-state-layer-color: rgba(180, 213, 117, .05);--mat-slider-focus-state-layer-color: rgba(180, 213, 117, .2);--mdc-slider-handle-color: #b4d575;--mdc-slider-focus-handle-color: #b4d575;--mdc-slider-hover-handle-color: #b4d575;--mdc-slider-active-track-color: #b4d575;--mdc-slider-inactive-track-color: #b4d575;--mdc-slider-with-tick-marks-inactive-container-color: #b4d575;--mdc-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87)}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2);--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12);--mat-menu-item-label-text-font: Roboto;--mat-menu-item-label-text-size: 1rem;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 1.5;--mat-menu-item-label-text-weight: 400;--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px;--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #1074b9;--mdc-radio-selected-hover-icon-color: #1074b9;--mdc-radio-selected-icon-color: #1074b9;--mdc-radio-selected-pressed-icon-color: #1074b9}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #b4d575;--mdc-radio-selected-hover-icon-color: #b4d575;--mdc-radio-selected-icon-color: #b4d575;--mdc-radio-selected-pressed-icon-color: #b4d575}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1074b9;--mdc-checkbox-selected-hover-icon-color: #1074b9;--mdc-checkbox-selected-icon-color: #1074b9;--mdc-checkbox-selected-pressed-icon-color: #1074b9;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #1074b9;--mdc-checkbox-selected-hover-state-layer-color: #1074b9;--mdc-checkbox-selected-pressed-state-layer-color: #1074b9;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: black;--mdc-checkbox-selected-focus-icon-color: #b4d575;--mdc-checkbox-selected-hover-icon-color: #b4d575;--mdc-checkbox-selected-icon-color: #b4d575;--mdc-checkbox-selected-pressed-icon-color: #b4d575;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #b4d575;--mdc-checkbox-selected-hover-state-layer-color: #b4d575;--mdc-checkbox-selected-pressed-state-layer-color: #b4d575;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#1074b9}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto;--mdc-list-list-item-label-text-line-height: 1.5;--mdc-list-list-item-label-text-size: 1rem;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto;--mdc-list-list-item-supporting-text-line-height: 1.5;--mdc-list-list-item-supporting-text-size: 1rem;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12);--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #1074b9;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #1074b9;--mat-tab-header-active-ripple-color: #1074b9;--mat-tab-header-inactive-ripple-color: #1074b9;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #1074b9;--mat-tab-header-active-hover-label-text-color: #1074b9;--mat-tab-header-active-focus-indicator-color: #1074b9;--mat-tab-header-active-hover-indicator-color: #1074b9}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #b4d575;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #b4d575;--mat-tab-header-active-ripple-color: #b4d575;--mat-tab-header-inactive-ripple-color: #b4d575;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #b4d575;--mat-tab-header-active-hover-label-text-color: #b4d575;--mat-tab-header-active-focus-indicator-color: #b4d575;--mat-tab-header-active-hover-indicator-color: #b4d575}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #1074b9;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #b4d575;--mat-tab-header-with-background-foreground-color: rgba(0, 0, 0, .87)}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-label-text-font: Roboto;--mat-tab-header-label-text-size: 1rem;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 1.5;--mat-tab-header-label-text-weight: 400}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: black;--mdc-checkbox-selected-focus-icon-color: #b4d575;--mdc-checkbox-selected-hover-icon-color: #b4d575;--mdc-checkbox-selected-icon-color: #b4d575;--mdc-checkbox-selected-pressed-icon-color: #b4d575;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #b4d575;--mdc-checkbox-selected-hover-state-layer-color: #b4d575;--mdc-checkbox-selected-pressed-state-layer-color: #b4d575;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-checkbox{--mdc-form-field-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1074b9;--mdc-checkbox-selected-hover-icon-color: #1074b9;--mdc-checkbox-selected-icon-color: #1074b9;--mdc-checkbox-selected-pressed-icon-color: #1074b9;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #1074b9;--mdc-checkbox-selected-hover-state-layer-color: #1074b9;--mdc-checkbox-selected-pressed-state-layer-color: #1074b9;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-touch-target-display: block}.mat-mdc-checkbox{--mdc-form-field-label-text-font: Roboto;--mdc-form-field-label-text-line-height: 1.5;--mdc-form-field-label-text-size: 1rem;--mdc-form-field-label-text-tracking: normal;--mdc-form-field-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-keep-touch-target: false;--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px;--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000;--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #1074b9;--mat-text-button-state-layer-color: #1074b9;--mat-text-button-ripple-color: rgba(16, 116, 185, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #b4d575;--mat-text-button-state-layer-color: #b4d575;--mat-text-button-ripple-color: rgba(180, 213, 117, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #1074b9;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #b4d575;--mdc-filled-button-label-text-color: black;--mat-filled-button-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #1074b9;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #b4d575;--mdc-protected-button-label-text-color: black;--mat-protected-button-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #1074b9;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #1074b9;--mat-outlined-button-ripple-color: rgba(16, 116, 185, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #b4d575;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #b4d575;--mat-outlined-button-ripple-color: rgba(180, 213, 117, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px;--mdc-filled-button-container-height: 36px;--mdc-outlined-button-container-height: 36px;--mdc-protected-button-container-height: 36px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block;--mdc-text-button-label-text-font: Roboto;--mdc-text-button-label-text-size: 1rem;--mdc-text-button-label-text-tracking: normal;--mdc-text-button-label-text-weight: 400;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto;--mdc-filled-button-label-text-size: 1rem;--mdc-filled-button-label-text-tracking: normal;--mdc-filled-button-label-text-weight: 400;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto;--mdc-outlined-button-label-text-size: 1rem;--mdc-outlined-button-label-text-tracking: normal;--mdc-outlined-button-label-text-weight: 400;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto;--mdc-protected-button-label-text-size: 1rem;--mdc-protected-button-label-text-tracking: normal;--mdc-protected-button-label-text-weight: 400;--mdc-protected-button-label-text-transform: none;--mdc-icon-button-icon-size: 24px;--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #1074b9;--mat-icon-button-state-layer-color: #1074b9;--mat-icon-button-ripple-color: rgba(16, 116, 185, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #b4d575;--mat-icon-button-state-layer-color: #b4d575;--mat-icon-button-ripple-color: rgba(180, 213, 117, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-icon-size: 24px;--mdc-fab-small-container-shape: 50%;--mdc-fab-small-icon-size: 24px;--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-fab-container-color: white;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-container-shadow-color: #000;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38);--mdc-fab-small-container-color: white;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shadow-color: #000;--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38);--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-shadow-color: #000}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #1074b9;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #b4d575;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #1074b9;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #b4d575;--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block;--mat-fab-small-touch-target-display: block;--mdc-extended-fab-label-text-font: Roboto;--mdc-extended-fab-label-text-size: 1rem;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 400;--mdc-snackbar-container-shape: 4px;--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #b4d575;--mdc-snackbar-supporting-text-font: Roboto;--mdc-snackbar-supporting-text-line-height: 1.5;--mdc-snackbar-supporting-text-size: 1rem;--mdc-snackbar-supporting-text-weight: 400;--mat-table-row-item-outline-width: 1px;--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12);--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto;--mat-table-row-item-label-text-line-height: 1.5;--mat-table-row-item-label-text-size: 1rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Roboto;--mat-table-footer-supporting-text-line-height: 1.5;--mat-table-footer-supporting-text-size: 1rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mdc-circular-progress-active-indicator-color: #1074b9}html .mat-accent{--mdc-circular-progress-active-indicator-color: #b4d575}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0;--mat-badge-background-color: #1074b9;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #b4d575;--mat-badge-text-color: rgba(0, 0, 0, .87)}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px;--mat-bottom-sheet-container-shape: 4px;--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white;--mat-bottom-sheet-container-text-font: Roboto;--mat-bottom-sheet-container-text-line-height: 1.5;--mat-bottom-sheet-container-text-size: 1rem;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400;--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0;--mat-standard-button-toggle-height: 48px;--mat-legacy-button-toggle-label-text-font: Roboto;--mat-legacy-button-toggle-label-text-line-height: 1.5;--mat-legacy-button-toggle-label-text-size: 1rem;--mat-legacy-button-toggle-label-text-tracking: normal;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Roboto;--mat-standard-button-toggle-label-text-line-height: 1.5;--mat-standard-button-toggle-label-text-size: 1rem;--mat-standard-button-toggle-label-text-tracking: normal;--mat-standard-button-toggle-label-text-weight: 400;--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #1074b9;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(16, 116, 185, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(16, 116, 185, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(16, 116, 185, .3);--mat-datepicker-toggle-active-state-icon-color: #1074b9;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(16, 116, 185, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #b4d575;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(180, 213, 117, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: rgba(180, 213, 117, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(180, 213, 117, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(180, 213, 117, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #b4d575}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 1rem;--mat-datepicker-calendar-body-label-text-weight: 400;--mat-datepicker-calendar-period-button-text-size: 1rem;--mat-datepicker-calendar-period-button-text-weight: 400;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400;--mat-divider-width: 1px;--mat-divider-color: rgba(0, 0, 0, .12);--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none;--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54);--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto;--mat-expansion-container-text-line-height: 1.5;--mat-expansion-container-text-size: 1rem;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400;--mat-grid-list-tile-header-primary-text-size: 1rem;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 1rem;--mat-grid-list-tile-footer-secondary-text-size: 12px;--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #1074b9}.mat-icon.mat-accent{--mat-icon-color: #b4d575}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto;--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1074b9;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1074b9;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1074b9;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #b4d575;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #b4d575;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #b4d575;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px;--mat-stepper-container-text-font: Roboto;--mat-stepper-header-label-text-font: Roboto;--mat-stepper-header-label-text-size: 1rem;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 1rem;--mat-stepper-header-selected-state-label-text-size: 1rem;--mat-stepper-header-selected-state-label-text-weight: 400;--mat-sort-arrow-color: #757575;--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #1074b9;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #b4d575;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px;--mat-toolbar-title-text-font: Roboto;--mat-toolbar-title-text-line-height: 1.5;--mat-toolbar-title-text-size: 1rem;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 400;--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87);--mat-tree-node-min-height: 48px;--mat-tree-node-text-font: Roboto;--mat-tree-node-text-size: 1rem;--mat-tree-node-text-weight: 400}mifosx-groups-view .group-card .header{background-color:#1074b9}mifosx-centers-view .center-card .header{background-color:#1074b9}mifosx-dashboard .recent-activities .header,mifosx-dashboard .frequent-activities .header{background-color:#1074b9;color:#fff}mifosx-dashboard mifosx-amount-collected-pie .card .header,mifosx-dashboard mifosx-amount-disbursed-pie .card .header,mifosx-dashboard mifosx-client-trends-bar .card .header{background-color:#1074b9;color:#fff}mifosx-dashboard mifosx-amount-collected-pie .card .header mat-label,mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-select-value,mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-select-arrow,mifosx-dashboard mifosx-amount-disbursed-pie .card .header mat-label,mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-select-value,mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-select-arrow,mifosx-dashboard mifosx-client-trends-bar .card .header mat-label,mifosx-dashboard mifosx-client-trends-bar .card .header .mat-select-value,mifosx-dashboard mifosx-client-trends-bar .card .header .mat-select-arrow{color:#fff}mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-form-field-underline,mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-form-field-ripple,mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-form-field-underline,mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-form-field-ripple,mifosx-dashboard mifosx-client-trends-bar .card .header .mat-form-field-underline,mifosx-dashboard mifosx-client-trends-bar .card .header .mat-form-field-ripple{background-color:#fff}mifosx-shares-account-view .shares-account-card .header{background-color:#1074b9}mifosx-shares-account-view .shares-account-card .table-headers{background-color:#1074b9;color:#fff}mifosx-view-bulk-import .cover{background-color:#fff;margin-top:1%}mifosx-clients .status{color:#000}mifosx-clients-view .account-card,mifosx-centers-view .account-card,mifosx-fixed-deposit-account-view .account-card,mifosx-loans-view .account-card,mifosx-shares-account-view .account-card,mifosx-recurring-deposits-account-view .account-card,mifosx-savings-account-view .account-card{margin:0 auto;max-width:90rem;width:90%;padding:0}mifosx-clients-view .account-card i,mifosx-clients-view .account-card img:hover,mifosx-centers-view .account-card i,mifosx-centers-view .account-card img:hover,mifosx-fixed-deposit-account-view .account-card i,mifosx-fixed-deposit-account-view .account-card img:hover,mifosx-loans-view .account-card i,mifosx-loans-view .account-card img:hover,mifosx-shares-account-view .account-card i,mifosx-shares-account-view .account-card img:hover,mifosx-recurring-deposits-account-view .account-card i,mifosx-recurring-deposits-account-view .account-card img:hover,mifosx-savings-account-view .account-card i,mifosx-savings-account-view .account-card img:hover{cursor:pointer}mifosx-clients-view .account-card .header,mifosx-centers-view .account-card .header,mifosx-fixed-deposit-account-view .account-card .header,mifosx-loans-view .account-card .header,mifosx-shares-account-view .account-card .header,mifosx-recurring-deposits-account-view .account-card .header,mifosx-savings-account-view .account-card .header{background-color:#1074b9;padding:1%}mifosx-clients-view .account-card .header-title-group .account-card-title,mifosx-centers-view .account-card .header-title-group .account-card-title,mifosx-fixed-deposit-account-view .account-card .header-title-group .account-card-title,mifosx-loans-view .account-card .header-title-group .account-card-title,mifosx-shares-account-view .account-card .header-title-group .account-card-title,mifosx-recurring-deposits-account-view .account-card .header-title-group .account-card-title,mifosx-savings-account-view .account-card .header-title-group .account-card-title{color:#fff;width:90%}mifosx-clients-view .account-card .header-title-group p,mifosx-centers-view .account-card .header-title-group p,mifosx-fixed-deposit-account-view .account-card .header-title-group p,mifosx-loans-view .account-card .header-title-group p,mifosx-shares-account-view .account-card .header-title-group p,mifosx-recurring-deposits-account-view .account-card .header-title-group p,mifosx-savings-account-view .account-card .header-title-group p{color:#fff}mifosx-clients-view .account-card .header-title-group .account-overview,mifosx-centers-view .account-card .header-title-group .account-overview,mifosx-fixed-deposit-account-view .account-card .header-title-group .account-overview,mifosx-loans-view .account-card .header-title-group .account-overview,mifosx-shares-account-view .account-card .header-title-group .account-overview,mifosx-recurring-deposits-account-view .account-card .header-title-group .account-overview,mifosx-savings-account-view .account-card .header-title-group .account-overview{border:none;max-width:240px;font-size:14px}mifosx-clients-view .account-card .header-title-group .account-overview tr:nth-child(2n),mifosx-centers-view .account-card .header-title-group .account-overview tr:nth-child(2n),mifosx-fixed-deposit-account-view .account-card .header-title-group .account-overview tr:nth-child(2n),mifosx-loans-view .account-card .header-title-group .account-overview tr:nth-child(2n),mifosx-shares-account-view .account-card .header-title-group .account-overview tr:nth-child(2n),mifosx-recurring-deposits-account-view .account-card .header-title-group .account-overview tr:nth-child(2n),mifosx-savings-account-view .account-card .header-title-group .account-overview tr:nth-child(2n){background-color:transparent}mifosx-clients-view .account-card .profile-image-container,mifosx-centers-view .account-card .profile-image-container,mifosx-fixed-deposit-account-view .account-card .profile-image-container,mifosx-loans-view .account-card .profile-image-container,mifosx-shares-account-view .account-card .profile-image-container,mifosx-recurring-deposits-account-view .account-card .profile-image-container,mifosx-savings-account-view .account-card .profile-image-container{margin:1%}mifosx-clients-view .account-card .profile-image-container .profile-image,mifosx-centers-view .account-card .profile-image-container .profile-image,mifosx-fixed-deposit-account-view .account-card .profile-image-container .profile-image,mifosx-loans-view .account-card .profile-image-container .profile-image,mifosx-shares-account-view .account-card .profile-image-container .profile-image,mifosx-recurring-deposits-account-view .account-card .profile-image-container .profile-image,mifosx-savings-account-view .account-card .profile-image-container .profile-image{object-fit:cover;border-radius:20px}mifosx-clients-view .account-card .profile-image-container .signature,mifosx-centers-view .account-card .profile-image-container .signature,mifosx-fixed-deposit-account-view .account-card .profile-image-container .signature,mifosx-loans-view .account-card .profile-image-container .signature,mifosx-shares-account-view .account-card .profile-image-container .signature,mifosx-recurring-deposits-account-view .account-card .profile-image-container .signature,mifosx-savings-account-view .account-card .profile-image-container .signature{background-color:#1074b9}mifosx-clients-view .account-card .account-actions,mifosx-centers-view .account-card .account-actions,mifosx-fixed-deposit-account-view .account-card .account-actions,mifosx-loans-view .account-card .account-actions,mifosx-shares-account-view .account-card .account-actions,mifosx-recurring-deposits-account-view .account-card .account-actions,mifosx-savings-account-view .account-card .account-actions{align-self:flex-end;margin:0 1%}mifosx-clients-view .account-card .account-actions i,mifosx-centers-view .account-card .account-actions i,mifosx-fixed-deposit-account-view .account-card .account-actions i,mifosx-loans-view .account-card .account-actions i,mifosx-shares-account-view .account-card .account-actions i,mifosx-recurring-deposits-account-view .account-card .account-actions i,mifosx-savings-account-view .account-card .account-actions i{margin-bottom:2px;margin-right:4px}mifosx-clients-view .account-card .navigation-tabs,mifosx-centers-view .account-card .navigation-tabs,mifosx-fixed-deposit-account-view .account-card .navigation-tabs,mifosx-loans-view .account-card .navigation-tabs,mifosx-shares-account-view .account-card .navigation-tabs,mifosx-recurring-deposits-account-view .account-card .navigation-tabs,mifosx-savings-account-view .account-card .navigation-tabs{background-color:#f2f2f2;overflow:auto}mifosx-clients-view .account-card .content .savings-account-tables,mifosx-centers-view .account-card .content .savings-account-tables,mifosx-fixed-deposit-account-view .account-card .content .savings-account-tables,mifosx-loans-view .account-card .content .savings-account-tables,mifosx-shares-account-view .account-card .content .savings-account-tables,mifosx-recurring-deposits-account-view .account-card .content .savings-account-tables,mifosx-savings-account-view .account-card .content .savings-account-tables{padding:1%;margin:1%}mifosx-clients-view .account-card .content .savings-account-tables .table-headers,mifosx-centers-view .account-card .content .savings-account-tables .table-headers,mifosx-fixed-deposit-account-view .account-card .content .savings-account-tables .table-headers,mifosx-loans-view .account-card .content .savings-account-tables .table-headers,mifosx-shares-account-view .account-card .content .savings-account-tables .table-headers,mifosx-recurring-deposits-account-view .account-card .content .savings-account-tables .table-headers,mifosx-savings-account-view .account-card .content .savings-account-tables .table-headers{margin:0;padding:6px}mifosx-clients-view .account-card .content .savings-account-tables td,mifosx-centers-view .account-card .content .savings-account-tables td,mifosx-fixed-deposit-account-view .account-card .content .savings-account-tables td,mifosx-loans-view .account-card .content .savings-account-tables td,mifosx-shares-account-view .account-card .content .savings-account-tables td,mifosx-recurring-deposits-account-view .account-card .content .savings-account-tables td,mifosx-savings-account-view .account-card .content .savings-account-tables td{padding:3px}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1);--mat-option-selected-state-label-text-color: #1074b9;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08);--mat-optgroup-label-text-color: white;--mat-full-pseudo-checkbox-selected-icon-color: #b4d575;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #b4d575;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868;--mat-app-background-color: #303030;--mat-app-text-color: white;--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px;--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0;--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px;--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mdc-filled-text-field-caret-color: #1074b9;--mdc-filled-text-field-focus-active-indicator-color: #1074b9;--mdc-filled-text-field-focus-label-text-color: rgba(16, 116, 185, .87);--mdc-filled-text-field-container-color: #4a4a4a;--mdc-filled-text-field-disabled-container-color: #464646;--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #1074b9;--mdc-outlined-text-field-focus-outline-color: #1074b9;--mdc-outlined-text-field-focus-label-text-color: rgba(16, 116, 185, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(16, 116, 185, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24;--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(16, 116, 185, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87);--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: #424242;--mdc-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color: #000;--mdc-dialog-container-shape: 4px;--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px;--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6);--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1;--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px;--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%);--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-color: #1074b9;--mdc-slider-focus-handle-color: #1074b9;--mdc-slider-hover-handle-color: #1074b9;--mdc-slider-active-track-color: #1074b9;--mdc-slider-inactive-track-color: #1074b9;--mdc-slider-with-tick-marks-inactive-container-color: #1074b9;--mdc-slider-with-tick-marks-active-container-color: rgba(255, 255, 255, .87);--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-ripple-color: #1074b9;--mat-slider-hover-state-layer-color: rgba(16, 116, 185, .05);--mat-slider-focus-state-layer-color: rgba(16, 116, 185, .2);--mat-slider-value-indicator-opacity: .9;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24;--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12);--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0;--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #b4d575;--mdc-checkbox-selected-hover-icon-color: #b4d575;--mdc-checkbox-selected-icon-color: #b4d575;--mdc-checkbox-selected-pressed-icon-color: #b4d575;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #b4d575;--mdc-checkbox-selected-hover-state-layer-color: #b4d575;--mdc-checkbox-selected-pressed-state-layer-color: #b4d575;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white;--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-keep-touch-target: false;--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px;--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24;--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24;--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000;--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24;--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24;--mdc-icon-button-icon-size: 24px;--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5);--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24;--mdc-fab-container-shape: 50%;--mdc-fab-icon-size: 24px;--mdc-fab-small-container-shape: 50%;--mdc-fab-small-icon-size: 24px;--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-fab-container-color: #424242;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-container-shadow-color: #000;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-fab-small-container-color: #424242;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shadow-color: #000;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-shadow-color: #000;--mdc-snackbar-container-shape: 4px;--mdc-snackbar-container-color: #d9d9d9;--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87);--mat-snack-bar-button-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-width: 1px;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mdc-circular-progress-active-indicator-color: #1074b9;--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0;--mat-badge-background-color: #1074b9;--mat-badge-text-color: rgba(255, 255, 255, .87);--mat-badge-disabled-state-background-color: #6e6e6e;--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-bottom-sheet-container-shape: 4px;--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: #595959;--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-datepicker-calendar-date-selected-state-text-color: rgba(255, 255, 255, .87);--mat-datepicker-calendar-date-selected-state-background-color: #1074b9;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(16, 116, 185, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(255, 255, 255, .87);--mat-datepicker-calendar-date-focus-state-background-color: rgba(16, 116, 185, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(16, 116, 185, .3);--mat-datepicker-toggle-active-state-icon-color: #1074b9;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(16, 116, 185, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white;--mat-divider-width: 1px;--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none;--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit;--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto;--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6);--mat-stepper-header-icon-foreground-color: rgba(255, 255, 255, .87);--mat-stepper-header-selected-state-icon-background-color: #1074b9;--mat-stepper-header-selected-state-icon-foreground-color: rgba(255, 255, 255, .87);--mat-stepper-header-done-state-icon-background-color: #1074b9;--mat-stepper-header-done-state-icon-foreground-color: rgba(255, 255, 255, .87);--mat-stepper-header-edit-state-icon-background-color: #1074b9;--mat-stepper-header-edit-state-icon-foreground-color: rgba(255, 255, 255, .87);--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: #c6c6c6;--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white;--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #b4d575;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #1074b9;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #1074b9;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #b4d575;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #b4d575;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-elevation-z0,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-elevation-z1,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-elevation-z2,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-elevation-z3,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-elevation-z4,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-elevation-z5,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.dark-theme .mat-elevation-z6,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-elevation-z7,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.dark-theme .mat-elevation-z8,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-elevation-z9,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.dark-theme .mat-elevation-z10,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.dark-theme .mat-elevation-z11,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.dark-theme .mat-elevation-z12,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-elevation-z13,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dark-theme .mat-elevation-z14,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.dark-theme .mat-elevation-z15,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.dark-theme .mat-elevation-z16,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-elevation-z17,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.dark-theme .mat-elevation-z18,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.dark-theme .mat-elevation-z19,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.dark-theme .mat-elevation-z20,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.dark-theme .mat-elevation-z21,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.dark-theme .mat-elevation-z22,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.dark-theme .mat-elevation-z23,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.dark-theme .mat-elevation-z24,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #1074b9;--mdc-linear-progress-track-color: rgba(16, 116, 185, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #b4d575;--mdc-linear-progress-track-color: rgba(180, 213, 117, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #b4d575;--mdc-filled-text-field-focus-active-indicator-color: #b4d575;--mdc-filled-text-field-focus-label-text-color: rgba(180, 213, 117, .87);--mdc-outlined-text-field-caret-color: #b4d575;--mdc-outlined-text-field-focus-outline-color: #b4d575;--mdc-outlined-text-field-focus-label-text-color: rgba(180, 213, 117, .87);--mat-form-field-focus-select-arrow-color: rgba(180, 213, 117, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(180, 213, 117, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-family: rounded;--mdc-chip-container-shape-radius: 16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family: rounded;--mdc-chip-with-avatar-avatar-shape-radius: 14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0;--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: #595959;--mdc-chip-elevated-selected-container-color: #595959;--mdc-chip-elevated-disabled-container-color: #595959;--mdc-chip-flat-disabled-selected-container-color: #595959;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa;--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: rgba(255, 255, 255, .87);--mdc-chip-elevated-container-color: #1074b9;--mdc-chip-elevated-selected-container-color: #1074b9;--mdc-chip-elevated-disabled-container-color: #1074b9;--mdc-chip-flat-disabled-selected-container-color: #1074b9;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: rgba(255, 255, 255, .87);--mdc-chip-selected-label-text-color: rgba(255, 255, 255, .87);--mdc-chip-with-icon-icon-color: rgba(255, 255, 255, .87);--mdc-chip-with-icon-disabled-icon-color: rgba(255, 255, 255, .87);--mdc-chip-with-icon-selected-icon-color: rgba(255, 255, 255, .87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(255, 255, 255, .87);--mdc-chip-with-trailing-icon-trailing-icon-color: rgba(255, 255, 255, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(255, 255, 255, .87);--mat-chip-selected-trailing-icon-color: rgba(255, 255, 255, .87)}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #b4d575;--mdc-chip-elevated-selected-container-color: #b4d575;--mdc-chip-elevated-disabled-container-color: #b4d575;--mdc-chip-flat-disabled-selected-container-color: #b4d575;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-slide-toggle{--mdc-form-field-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button{--mdc-form-field-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #1074b9;--mdc-radio-selected-hover-icon-color: #1074b9;--mdc-radio-selected-icon-color: #1074b9;--mdc-radio-selected-pressed-icon-color: #1074b9;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #1074b9;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #b4d575;--mdc-radio-selected-hover-icon-color: #b4d575;--mdc-radio-selected-icon-color: #b4d575;--mdc-radio-selected-pressed-icon-color: #b4d575;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #b4d575;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.dark-theme .mat-accent{--mat-slider-ripple-color: #b4d575;--mat-slider-hover-state-layer-color: rgba(180, 213, 117, .05);--mat-slider-focus-state-layer-color: rgba(180, 213, 117, .2);--mdc-slider-handle-color: #b4d575;--mdc-slider-focus-handle-color: #b4d575;--mdc-slider-hover-handle-color: #b4d575;--mdc-slider-active-track-color: #b4d575;--mdc-slider-inactive-track-color: #b4d575;--mdc-slider-with-tick-marks-inactive-container-color: #b4d575;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2);--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #1074b9;--mdc-radio-selected-hover-icon-color: #1074b9;--mdc-radio-selected-icon-color: #1074b9;--mdc-radio-selected-pressed-icon-color: #1074b9}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #b4d575;--mdc-radio-selected-hover-icon-color: #b4d575;--mdc-radio-selected-icon-color: #b4d575;--mdc-radio-selected-pressed-icon-color: #b4d575}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1074b9;--mdc-checkbox-selected-hover-icon-color: #1074b9;--mdc-checkbox-selected-icon-color: #1074b9;--mdc-checkbox-selected-pressed-icon-color: #1074b9;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #1074b9;--mdc-checkbox-selected-hover-state-layer-color: #1074b9;--mdc-checkbox-selected-pressed-state-layer-color: #1074b9;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #b4d575;--mdc-checkbox-selected-hover-icon-color: #b4d575;--mdc-checkbox-selected-icon-color: #b4d575;--mdc-checkbox-selected-pressed-icon-color: #b4d575;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #b4d575;--mdc-checkbox-selected-hover-state-layer-color: #b4d575;--mdc-checkbox-selected-pressed-state-layer-color: #b4d575;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#1074b9}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #1074b9;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #1074b9;--mat-tab-header-active-ripple-color: #1074b9;--mat-tab-header-inactive-ripple-color: #1074b9;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #1074b9;--mat-tab-header-active-hover-label-text-color: #1074b9;--mat-tab-header-active-focus-indicator-color: #1074b9;--mat-tab-header-active-hover-indicator-color: #1074b9}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #b4d575;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #b4d575;--mat-tab-header-active-ripple-color: #b4d575;--mat-tab-header-inactive-ripple-color: #b4d575;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #b4d575;--mat-tab-header-active-hover-label-text-color: #b4d575;--mat-tab-header-active-focus-indicator-color: #b4d575;--mat-tab-header-active-hover-indicator-color: #b4d575}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #1074b9;--mat-tab-header-with-background-foreground-color: rgba(255, 255, 255, .87)}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #b4d575;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-checkbox{--mdc-form-field-label-text-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1074b9;--mdc-checkbox-selected-hover-icon-color: #1074b9;--mdc-checkbox-selected-icon-color: #1074b9;--mdc-checkbox-selected-pressed-icon-color: #1074b9;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #1074b9;--mdc-checkbox-selected-hover-state-layer-color: #1074b9;--mdc-checkbox-selected-pressed-state-layer-color: #1074b9;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #1074b9;--mat-text-button-state-layer-color: #1074b9;--mat-text-button-ripple-color: rgba(16, 116, 185, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #b4d575;--mat-text-button-state-layer-color: #b4d575;--mat-text-button-ripple-color: rgba(180, 213, 117, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #1074b9;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #b4d575;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #1074b9;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #b4d575;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #1074b9;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #1074b9;--mat-outlined-button-ripple-color: rgba(16, 116, 185, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #b4d575;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #b4d575;--mat-outlined-button-ripple-color: rgba(180, 213, 117, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #1074b9;--mat-icon-button-state-layer-color: #1074b9;--mat-icon-button-ripple-color: rgba(16, 116, 185, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #b4d575;--mat-icon-button-state-layer-color: #b4d575;--mat-icon-button-ripple-color: rgba(180, 213, 117, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #1074b9;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #b4d575;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #1074b9;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #b4d575;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #b4d575}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme .mat-badge-accent{--mat-badge-background-color: #b4d575;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #b4d575;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(180, 213, 117, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(180, 213, 117, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(180, 213, 117, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(180, 213, 117, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #b4d575}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #1074b9}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #b4d575}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #b4d575;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #b4d575;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #b4d575;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #1074b9;--mat-toolbar-container-text-color: rgba(255, 255, 255, .87)}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #b4d575;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme mifosx-groups-view .group-card .header{background-color:#1074b9}.dark-theme mifosx-centers-view .center-card .header{background-color:#1074b9}.dark-theme mifosx-dashboard .recent-activities .header,.dark-theme mifosx-dashboard .frequent-activities .header{background-color:#1074b9;color:#ffffffde}.dark-theme mifosx-dashboard mifosx-amount-collected-pie .card .header,.dark-theme mifosx-dashboard mifosx-amount-disbursed-pie .card .header,.dark-theme mifosx-dashboard mifosx-client-trends-bar .card .header{background-color:#1074b9;color:#ffffffde}.dark-theme mifosx-dashboard mifosx-amount-collected-pie .card .header mat-label,.dark-theme mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-select-value,.dark-theme mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-select-arrow,.dark-theme mifosx-dashboard mifosx-amount-disbursed-pie .card .header mat-label,.dark-theme mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-select-value,.dark-theme mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-select-arrow,.dark-theme mifosx-dashboard mifosx-client-trends-bar .card .header mat-label,.dark-theme mifosx-dashboard mifosx-client-trends-bar .card .header .mat-select-value,.dark-theme mifosx-dashboard mifosx-client-trends-bar .card .header .mat-select-arrow{color:#ffffffde}.dark-theme mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-form-field-underline,.dark-theme mifosx-dashboard mifosx-amount-collected-pie .card .header .mat-form-field-ripple,.dark-theme mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-form-field-underline,.dark-theme mifosx-dashboard mifosx-amount-disbursed-pie .card .header .mat-form-field-ripple,.dark-theme mifosx-dashboard mifosx-client-trends-bar .card .header .mat-form-field-underline,.dark-theme mifosx-dashboard mifosx-client-trends-bar .card .header .mat-form-field-ripple{background-color:#ffffffde}.dark-theme mifosx-shares-account-view .shares-account-card .header{background-color:#1074b9}.dark-theme mifosx-shares-account-view .shares-account-card .table-headers{background-color:#1074b9;color:#ffffffde}.dark-theme mifosx-login .login-container{background-color:#424242;box-shadow:1px 1px 50px #fff}.dark-theme mifosx-login .cover .cover-content{color:#fff}.dark-theme mifosx-login .cover .cover-content .cover-description .cover-link{color:#fff!important}.dark-theme mifosx-login .cover .cover-content .cover-description .cover-link:hover{color:#d3d3d3}.dark-theme mifosx-login-form{color:#fff}.dark-theme mifosx-view-bulk-import .cover{background-color:#424242;margin-top:1%}.dark-theme mifosx-clients .status{color:#fff}.dark-theme mifosx-clients-view .account-card,.dark-theme mifosx-fixed-deposit-account-view .account-card,.dark-theme mifosx-loans-view .account-card,.dark-theme mifosx-shares-account-view .account-card,.dark-theme mifosx-recurring-deposits-account-view .account-card,.dark-theme mifosx-savings-account-view .account-card{margin:0 auto;max-width:90rem;width:90%;padding:0}.dark-theme mifosx-clients-view .account-card i,.dark-theme mifosx-clients-view .account-card img:hover,.dark-theme mifosx-fixed-deposit-account-view .account-card i,.dark-theme mifosx-fixed-deposit-account-view .account-card img:hover,.dark-theme mifosx-loans-view .account-card i,.dark-theme mifosx-loans-view .account-card img:hover,.dark-theme mifosx-shares-account-view .account-card i,.dark-theme mifosx-shares-account-view .account-card img:hover,.dark-theme mifosx-recurring-deposits-account-view .account-card i,.dark-theme mifosx-recurring-deposits-account-view .account-card img:hover,.dark-theme mifosx-savings-account-view .account-card i,.dark-theme mifosx-savings-account-view .account-card img:hover{cursor:pointer}.dark-theme mifosx-clients-view .account-card .header,.dark-theme mifosx-fixed-deposit-account-view .account-card .header,.dark-theme mifosx-loans-view .account-card .header,.dark-theme mifosx-shares-account-view .account-card .header,.dark-theme mifosx-recurring-deposits-account-view .account-card .header,.dark-theme mifosx-savings-account-view .account-card .header{background-color:#1074b9;padding:1%}.dark-theme mifosx-clients-view .account-card .header-title-group .account-card-title,.dark-theme mifosx-fixed-deposit-account-view .account-card .header-title-group .account-card-title,.dark-theme mifosx-loans-view .account-card .header-title-group .account-card-title,.dark-theme mifosx-shares-account-view .account-card .header-title-group .account-card-title,.dark-theme mifosx-recurring-deposits-account-view .account-card .header-title-group .account-card-title,.dark-theme mifosx-savings-account-view .account-card .header-title-group .account-card-title{color:#fff;width:90%}.dark-theme mifosx-clients-view .account-card .header-title-group p,.dark-theme mifosx-fixed-deposit-account-view .account-card .header-title-group p,.dark-theme mifosx-loans-view .account-card .header-title-group p,.dark-theme mifosx-shares-account-view .account-card .header-title-group p,.dark-theme mifosx-recurring-deposits-account-view .account-card .header-title-group p,.dark-theme mifosx-savings-account-view .account-card .header-title-group p{color:#fff}.dark-theme mifosx-clients-view .account-card .header-title-group .account-overview,.dark-theme mifosx-fixed-deposit-account-view .account-card .header-title-group .account-overview,.dark-theme mifosx-loans-view .account-card .header-title-group .account-overview,.dark-theme mifosx-shares-account-view .account-card .header-title-group .account-overview,.dark-theme mifosx-recurring-deposits-account-view .account-card .header-title-group .account-overview,.dark-theme mifosx-savings-account-view .account-card .header-title-group .account-overview{border:none;max-width:240px;font-size:14px}.dark-theme mifosx-clients-view .account-card .header-title-group .account-overview tr:nth-child(2n),.dark-theme mifosx-fixed-deposit-account-view .account-card .header-title-group .account-overview tr:nth-child(2n),.dark-theme mifosx-loans-view .account-card .header-title-group .account-overview tr:nth-child(2n),.dark-theme mifosx-shares-account-view .account-card .header-title-group .account-overview tr:nth-child(2n),.dark-theme mifosx-recurring-deposits-account-view .account-card .header-title-group .account-overview tr:nth-child(2n),.dark-theme mifosx-savings-account-view .account-card .header-title-group .account-overview tr:nth-child(2n){background-color:transparent!important}.dark-theme mifosx-clients-view .account-card .profile-image-container,.dark-theme mifosx-fixed-deposit-account-view .account-card .profile-image-container,.dark-theme mifosx-loans-view .account-card .profile-image-container,.dark-theme mifosx-shares-account-view .account-card .profile-image-container,.dark-theme mifosx-recurring-deposits-account-view .account-card .profile-image-container,.dark-theme mifosx-savings-account-view .account-card .profile-image-container{margin:1%}.dark-theme mifosx-clients-view .account-card .profile-image-container .profile-image,.dark-theme mifosx-fixed-deposit-account-view .account-card .profile-image-container .profile-image,.dark-theme mifosx-loans-view .account-card .profile-image-container .profile-image,.dark-theme mifosx-shares-account-view .account-card .profile-image-container .profile-image,.dark-theme mifosx-recurring-deposits-account-view .account-card .profile-image-container .profile-image,.dark-theme mifosx-savings-account-view .account-card .profile-image-container .profile-image{object-fit:cover;border-radius:20px}.dark-theme mifosx-clients-view .account-card .profile-image-container .signature,.dark-theme mifosx-fixed-deposit-account-view .account-card .profile-image-container .signature,.dark-theme mifosx-loans-view .account-card .profile-image-container .signature,.dark-theme mifosx-shares-account-view .account-card .profile-image-container .signature,.dark-theme mifosx-recurring-deposits-account-view .account-card .profile-image-container .signature,.dark-theme mifosx-savings-account-view .account-card .profile-image-container .signature{background-color:#1074b9}.dark-theme mifosx-clients-view .account-card .account-actions,.dark-theme mifosx-fixed-deposit-account-view .account-card .account-actions,.dark-theme mifosx-loans-view .account-card .account-actions,.dark-theme mifosx-shares-account-view .account-card .account-actions,.dark-theme mifosx-recurring-deposits-account-view .account-card .account-actions,.dark-theme mifosx-savings-account-view .account-card .account-actions{align-self:flex-end;margin:0 1%}.dark-theme mifosx-clients-view .account-card .account-actions i,.dark-theme mifosx-fixed-deposit-account-view .account-card .account-actions i,.dark-theme mifosx-loans-view .account-card .account-actions i,.dark-theme mifosx-shares-account-view .account-card .account-actions i,.dark-theme mifosx-recurring-deposits-account-view .account-card .account-actions i,.dark-theme mifosx-savings-account-view .account-card .account-actions i{margin-bottom:2px;margin-right:4px}.dark-theme mifosx-clients-view .account-card .navigation-tabs,.dark-theme mifosx-fixed-deposit-account-view .account-card .navigation-tabs,.dark-theme mifosx-loans-view .account-card .navigation-tabs,.dark-theme mifosx-shares-account-view .account-card .navigation-tabs,.dark-theme mifosx-recurring-deposits-account-view .account-card .navigation-tabs,.dark-theme mifosx-savings-account-view .account-card .navigation-tabs{background-color:#303135;color:#fff;overflow:auto}.dark-theme mifosx-clients-view .account-card .content .savings-account-tables,.dark-theme mifosx-fixed-deposit-account-view .account-card .content .savings-account-tables,.dark-theme mifosx-loans-view .account-card .content .savings-account-tables,.dark-theme mifosx-shares-account-view .account-card .content .savings-account-tables,.dark-theme mifosx-recurring-deposits-account-view .account-card .content .savings-account-tables,.dark-theme mifosx-savings-account-view .account-card .content .savings-account-tables{padding:1%;margin:1%}.dark-theme mifosx-clients-view .account-card .content .savings-account-tables .table-headers,.dark-theme mifosx-fixed-deposit-account-view .account-card .content .savings-account-tables .table-headers,.dark-theme mifosx-loans-view .account-card .content .savings-account-tables .table-headers,.dark-theme mifosx-shares-account-view .account-card .content .savings-account-tables .table-headers,.dark-theme mifosx-recurring-deposits-account-view .account-card .content .savings-account-tables .table-headers,.dark-theme mifosx-savings-account-view .account-card .content .savings-account-tables .table-headers{margin:0;padding:6px}.dark-theme mifosx-clients-view .account-card .content .savings-account-tables td,.dark-theme mifosx-fixed-deposit-account-view .account-card .content .savings-account-tables td,.dark-theme mifosx-loans-view .account-card .content .savings-account-tables td,.dark-theme mifosx-shares-account-view .account-card .content .savings-account-tables td,.dark-theme mifosx-recurring-deposits-account-view .account-card .content .savings-account-tables td,.dark-theme mifosx-savings-account-view .account-card .content .savings-account-tables td{padding:3px}.dark-theme fa-icon,.dark-theme mat-icon,.dark-theme mat-checkbox{color:#fff} diff --git a/node_modules_canvg_lib_index_es_js.js b/node_modules_canvg_lib_index_es_js.js new file mode 100644 index 000000000..148bb33d5 --- /dev/null +++ b/node_modules_canvg_lib_index_es_js.js @@ -0,0 +1 @@ +(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["node_modules_canvg_lib_index_es_js"],{40644:function(d){(function(){var b,n,h,f,c,g;typeof performance<"u"&&null!==performance&&performance.now?d.exports=function(){return performance.now()}:typeof process<"u"&&null!==process&&process.hrtime?(d.exports=function(){return(b()-c)/1e6},n=process.hrtime,f=(b=function(){var y;return 1e9*(y=n())[0]+y[1]})(),g=1e9*process.uptime(),c=f-g):Date.now?(d.exports=function(){return Date.now()-h},h=Date.now()):(d.exports=function(){return(new Date).getTime()-h},h=(new Date).getTime())}).call(this)},54361:(d,b,n)=>{for(var h=n(40644),f=typeof window>"u"?global:window,c=["moz","webkit"],g="AnimationFrame",y=f["request"+g],O=f["cancel"+g]||f["cancelRequest"+g],x=0;!y&&x{d.exports=function(b){this.ok=!1,this.alpha=1,"#"==b.charAt(0)&&(b=b.substr(1,6)),b=(b=b.replace(/ /g,"")).toLowerCase();var n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};b=n[b]||b;for(var h=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(x){return[parseInt(x[1]),parseInt(x[2]),parseInt(x[3]),parseFloat(x[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(x){return[parseInt(x[1]),parseInt(x[2]),parseInt(x[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(x){return[parseInt(x[1],16),parseInt(x[2],16),parseInt(x[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(x){return[parseInt(x[1]+x[1],16),parseInt(x[2]+x[2],16),parseInt(x[3]+x[3],16)]}}],f=0;f3&&(this.alpha=O[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var x=this.r.toString(16),S=this.g.toString(16),C=this.b.toString(16);return 1==x.length&&(x="0"+x),1==S.length&&(S="0"+S),1==C.length&&(C="0"+C),"#"+x+S+C},this.getHelpXML=function(){for(var x=new Array,S=0;S "+M.toRGB()+" -> "+M.toHex());w.appendChild(I),w.appendChild(B),P.appendChild(w)}catch{}return P}}},79306:(d,b,n)=>{"use strict";var h=n(94901),f=n(16823),c=TypeError;d.exports=function(g){if(h(g))return g;throw new c(f(g)+" is not a function")}},35548:(d,b,n)=>{"use strict";var h=n(33517),f=n(16823),c=TypeError;d.exports=function(g){if(h(g))return g;throw new c(f(g)+" is not a constructor")}},73506:(d,b,n)=>{"use strict";var h=n(13925),f=String,c=TypeError;d.exports=function(g){if(h(g))return g;throw new c("Can't set "+f(g)+" as a prototype")}},6469:(d,b,n)=>{"use strict";var h=n(78227),f=n(2360),c=n(24913).f,g=h("unscopables"),y=Array.prototype;void 0===y[g]&&c(y,g,{configurable:!0,value:f(null)}),d.exports=function(O){y[g][O]=!0}},57829:(d,b,n)=>{"use strict";var h=n(68183).charAt;d.exports=function(f,c,g){return c+(g?h(f,c).length:1)}},90679:(d,b,n)=>{"use strict";var h=n(1625),f=TypeError;d.exports=function(c,g){if(h(g,c))return c;throw new f("Incorrect invocation")}},28551:(d,b,n)=>{"use strict";var h=n(20034),f=String,c=TypeError;d.exports=function(g){if(h(g))return g;throw new c(f(g)+" is not an object")}},19617:(d,b,n)=>{"use strict";var h=n(25397),f=n(35610),c=n(26198),g=function(y){return function(O,x,S){var C=h(O),A=c(C);if(0===A)return!y&&-1;var P,R=f(S,A);if(y&&x!=x){for(;A>R;)if((P=C[R++])!=P)return!0}else for(;A>R;R++)if((y||R in C)&&C[R]===x)return y||R||0;return!y&&-1}};d.exports={includes:g(!0),indexOf:g(!1)}},34598:(d,b,n)=>{"use strict";var h=n(79039);d.exports=function(f,c){var g=[][f];return!!g&&h(function(){g.call(null,c||function(){return 1},1)})}},80926:(d,b,n)=>{"use strict";var h=n(79306),f=n(48981),c=n(47055),g=n(26198),y=TypeError,O="Reduce of empty array with no initial value",x=function(S){return function(C,A,R,P){var w=f(C),M=c(w),I=g(w);if(h(A),0===I&&R<2)throw new y(O);var B=S?I-1:0,H=S?-1:1;if(R<2)for(;;){if(B in M){P=M[B],B+=H;break}if(B+=H,S?B<0:I<=B)throw new y(O)}for(;S?B>=0:I>B;B+=H)B in M&&(P=A(P,M[B],B,w));return P}};d.exports={left:x(!1),right:x(!0)}},67680:(d,b,n)=>{"use strict";var h=n(79504);d.exports=h([].slice)},84428:(d,b,n)=>{"use strict";var f=n(78227)("iterator"),c=!1;try{var g=0,y={next:function(){return{done:!!g++}},return:function(){c=!0}};y[f]=function(){return this},Array.from(y,function(){throw 2})}catch{}d.exports=function(O,x){try{if(!x&&!c)return!1}catch{return!1}var S=!1;try{var C={};C[f]=function(){return{next:function(){return{done:S=!0}}}},O(C)}catch{}return S}},22195:(d,b,n)=>{"use strict";var h=n(79504),f=h({}.toString),c=h("".slice);d.exports=function(g){return c(f(g),8,-1)}},36955:(d,b,n)=>{"use strict";var h=n(92140),f=n(94901),c=n(22195),y=n(78227)("toStringTag"),O=Object,x="Arguments"===c(function(){return arguments}());d.exports=h?c:function(C){var A,R,P;return void 0===C?"Undefined":null===C?"Null":"string"==typeof(R=function(C,A){try{return C[A]}catch{}}(A=O(C),y))?R:x?c(A):"Object"===(P=c(A))&&f(A.callee)?"Arguments":P}},77740:(d,b,n)=>{"use strict";var h=n(39297),f=n(35031),c=n(77347),g=n(24913);d.exports=function(y,O,x){for(var S=f(O),C=g.f,A=c.f,R=0;R{"use strict";var f=n(78227)("match");d.exports=function(c){var g=/./;try{"/./"[c](g)}catch{try{return g[f]=!1,"/./"[c](g)}catch{}}return!1}},12211:(d,b,n)=>{"use strict";var h=n(79039);d.exports=!h(function(){function f(){}return f.prototype.constructor=null,Object.getPrototypeOf(new f)!==f.prototype})},62529:d=>{"use strict";d.exports=function(b,n){return{value:b,done:n}}},66699:(d,b,n)=>{"use strict";var h=n(43724),f=n(24913),c=n(6980);d.exports=h?function(g,y,O){return f.f(g,y,c(1,O))}:function(g,y,O){return g[y]=O,g}},6980:d=>{"use strict";d.exports=function(b,n){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:n}}},62106:(d,b,n)=>{"use strict";var h=n(50283),f=n(24913);d.exports=function(c,g,y){return y.get&&h(y.get,g,{getter:!0}),y.set&&h(y.set,g,{setter:!0}),f.f(c,g,y)}},36840:(d,b,n)=>{"use strict";var h=n(94901),f=n(24913),c=n(50283),g=n(39433);d.exports=function(y,O,x,S){S||(S={});var C=S.enumerable,A=void 0!==S.name?S.name:O;if(h(x)&&c(x,A,S),S.global)C?y[O]=x:g(O,x);else{try{S.unsafe?y[O]&&(C=!0):delete y[O]}catch{}C?y[O]=x:f.f(y,O,{value:x,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return y}},39433:(d,b,n)=>{"use strict";var h=n(44576),f=Object.defineProperty;d.exports=function(c,g){try{f(h,c,{value:g,configurable:!0,writable:!0})}catch{h[c]=g}return g}},43724:(d,b,n)=>{"use strict";var h=n(79039);d.exports=!h(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:(d,b,n)=>{"use strict";var h=n(44576),f=n(20034),c=h.document,g=f(c)&&f(c.createElement);d.exports=function(y){return g?c.createElement(y):{}}},67400:d=>{"use strict";d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},79296:(d,b,n)=>{"use strict";var f=n(4055)("span").classList,c=f&&f.constructor&&f.constructor.prototype;d.exports=c===Object.prototype?void 0:c},88727:d=>{"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},44265:(d,b,n)=>{"use strict";var h=n(82839);d.exports=/ipad|iphone|ipod/i.test(h)&&typeof Pebble<"u"},89544:(d,b,n)=>{"use strict";var h=n(82839);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(h)},16193:(d,b,n)=>{"use strict";var h=n(84215);d.exports="NODE"===h},7860:(d,b,n)=>{"use strict";var h=n(82839);d.exports=/web0s(?!.*chrome)/i.test(h)},82839:(d,b,n)=>{"use strict";var f=n(44576).navigator,c=f&&f.userAgent;d.exports=c?String(c):""},39519:(d,b,n)=>{"use strict";var x,S,h=n(44576),f=n(82839),c=h.process,g=h.Deno,y=c&&c.versions||g&&g.version,O=y&&y.v8;O&&(S=(x=O.split("."))[0]>0&&x[0]<4?1:+(x[0]+x[1])),!S&&f&&(!(x=f.match(/Edge\/(\d+)/))||x[1]>=74)&&(x=f.match(/Chrome\/(\d+)/))&&(S=+x[1]),d.exports=S},84215:(d,b,n)=>{"use strict";var h=n(44576),f=n(82839),c=n(22195),g=function(y){return f.slice(0,y.length)===y};d.exports=g("Bun/")?"BUN":g("Cloudflare-Workers")?"CLOUDFLARE":g("Deno/")?"DENO":g("Node.js/")?"NODE":h.Bun&&"string"==typeof Bun.version?"BUN":h.Deno&&"object"==typeof Deno.version?"DENO":"process"===c(h.process)?"NODE":h.window&&h.document?"BROWSER":"REST"},46518:(d,b,n)=>{"use strict";var h=n(44576),f=n(77347).f,c=n(66699),g=n(36840),y=n(39433),O=n(77740),x=n(92796);d.exports=function(S,C){var M,I,B,H,Y,A=S.target,R=S.global,P=S.stat;if(M=R?h:P?h[A]||y(A,{}):h[A]&&h[A].prototype)for(I in C){if(H=C[I],B=S.dontCallGetSet?(Y=f(M,I))&&Y.value:M[I],!x(R?I:A+(P?".":"#")+I,S.forced)&&void 0!==B){if(typeof H==typeof B)continue;O(H,B)}(S.sham||B&&B.sham)&&c(H,"sham",!0),g(M,I,H,S)}}},79039:d=>{"use strict";d.exports=function(b){try{return!!b()}catch{return!0}}},89228:(d,b,n)=>{"use strict";n(27495);var h=n(69565),f=n(36840),c=n(57323),g=n(79039),y=n(78227),O=n(66699),x=y("species"),S=RegExp.prototype;d.exports=function(C,A,R,P){var w=y(C),M=!g(function(){var Y={};return Y[w]=function(){return 7},7!==""[C](Y)}),I=M&&!g(function(){var Y=!1,F=/a/;return"split"===C&&((F={}).constructor={},F.constructor[x]=function(){return F},F.flags="",F[w]=/./[w]),F.exec=function(){return Y=!0,null},F[w](""),!Y});if(!M||!I||R){var B=/./[w],H=A(w,""[C],function(Y,F,$,X,k){var rt=F.exec;return rt===c||rt===S.exec?M&&!k?{done:!0,value:h(B,F,$,X)}:{done:!0,value:h(Y,$,F,X)}:{done:!1}});f(String.prototype,C,H[0]),f(S,w,H[1])}P&&O(S[w],"sham",!0)}},18745:(d,b,n)=>{"use strict";var h=n(40616),f=Function.prototype,c=f.apply,g=f.call;d.exports="object"==typeof Reflect&&Reflect.apply||(h?g.bind(c):function(){return g.apply(c,arguments)})},76080:(d,b,n)=>{"use strict";var h=n(27476),f=n(79306),c=n(40616),g=h(h.bind);d.exports=function(y,O){return f(y),void 0===O?y:c?g(y,O):function(){return y.apply(O,arguments)}}},40616:(d,b,n)=>{"use strict";var h=n(79039);d.exports=!h(function(){var f=function(){}.bind();return"function"!=typeof f||f.hasOwnProperty("prototype")})},69565:(d,b,n)=>{"use strict";var h=n(40616),f=Function.prototype.call;d.exports=h?f.bind(f):function(){return f.apply(f,arguments)}},10350:(d,b,n)=>{"use strict";var h=n(43724),f=n(39297),c=Function.prototype,g=h&&Object.getOwnPropertyDescriptor,y=f(c,"name"),O=y&&"something"===function(){}.name,x=y&&(!h||h&&g(c,"name").configurable);d.exports={EXISTS:y,PROPER:O,CONFIGURABLE:x}},46706:(d,b,n)=>{"use strict";var h=n(79504),f=n(79306);d.exports=function(c,g,y){try{return h(f(Object.getOwnPropertyDescriptor(c,g)[y]))}catch{}}},27476:(d,b,n)=>{"use strict";var h=n(22195),f=n(79504);d.exports=function(c){if("Function"===h(c))return f(c)}},79504:(d,b,n)=>{"use strict";var h=n(40616),f=Function.prototype,c=f.call,g=h&&f.bind.bind(c,c);d.exports=h?g:function(y){return function(){return c.apply(y,arguments)}}},97751:(d,b,n)=>{"use strict";var h=n(44576),f=n(94901);d.exports=function(g,y){return arguments.length<2?function(g){return f(g)?g:void 0}(h[g]):h[g]&&h[g][y]}},50851:(d,b,n)=>{"use strict";var h=n(36955),f=n(55966),c=n(64117),g=n(26269),O=n(78227)("iterator");d.exports=function(x){if(!c(x))return f(x,O)||f(x,"@@iterator")||g[h(x)]}},70081:(d,b,n)=>{"use strict";var h=n(69565),f=n(79306),c=n(28551),g=n(16823),y=n(50851),O=TypeError;d.exports=function(x,S){var C=arguments.length<2?y(x):S;if(f(C))return c(h(C,x));throw new O(g(x)+" is not iterable")}},55966:(d,b,n)=>{"use strict";var h=n(79306),f=n(64117);d.exports=function(c,g){var y=c[g];return f(y)?void 0:h(y)}},2478:(d,b,n)=>{"use strict";var h=n(79504),f=n(48981),c=Math.floor,g=h("".charAt),y=h("".replace),O=h("".slice),x=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,S=/\$([$&'`]|\d{1,2})/g;d.exports=function(C,A,R,P,w,M){var I=R+C.length,B=P.length,H=S;return void 0!==w&&(w=f(w),H=x),y(M,H,function(Y,F){var $;switch(g(F,0)){case"$":return"$";case"&":return C;case"`":return O(A,0,R);case"'":return O(A,I);case"<":$=w[O(F,1,-1)];break;default:var X=+F;if(0===X)return Y;if(X>B){var k=c(X/10);return 0===k?Y:k<=B?void 0===P[k-1]?g(F,1):P[k-1]+g(F,1):Y}$=P[X-1]}return void 0===$?"":$})}},44576:function(d){"use strict";var b=function(n){return n&&n.Math===Math&&n};d.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||b("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297:(d,b,n)=>{"use strict";var h=n(79504),f=n(48981),c=h({}.hasOwnProperty);d.exports=Object.hasOwn||function(y,O){return c(f(y),O)}},30421:d=>{"use strict";d.exports={}},90757:d=>{"use strict";d.exports=function(b,n){try{1===arguments.length?console.error(b):console.error(b,n)}catch{}}},20397:(d,b,n)=>{"use strict";var h=n(97751);d.exports=h("document","documentElement")},35917:(d,b,n)=>{"use strict";var h=n(43724),f=n(79039),c=n(4055);d.exports=!h&&!f(function(){return 7!==Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})},47055:(d,b,n)=>{"use strict";var h=n(79504),f=n(79039),c=n(22195),g=Object,y=h("".split);d.exports=f(function(){return!g("z").propertyIsEnumerable(0)})?function(O){return"String"===c(O)?y(O,""):g(O)}:g},33706:(d,b,n)=>{"use strict";var h=n(79504),f=n(94901),c=n(77629),g=h(Function.toString);f(c.inspectSource)||(c.inspectSource=function(y){return g(y)}),d.exports=c.inspectSource},91181:(d,b,n)=>{"use strict";var P,w,M,h=n(58622),f=n(44576),c=n(20034),g=n(66699),y=n(39297),O=n(77629),x=n(66119),S=n(30421),C="Object already initialized",A=f.TypeError;if(h||O.state){var H=O.state||(O.state=new(0,f.WeakMap));H.get=H.get,H.has=H.has,H.set=H.set,P=function(F,$){if(H.has(F))throw new A(C);return $.facade=F,H.set(F,$),$},w=function(F){return H.get(F)||{}},M=function(F){return H.has(F)}}else{var Y=x("state");S[Y]=!0,P=function(F,$){if(y(F,Y))throw new A(C);return $.facade=F,g(F,Y,$),$},w=function(F){return y(F,Y)?F[Y]:{}},M=function(F){return y(F,Y)}}d.exports={set:P,get:w,has:M,enforce:function(F){return M(F)?w(F):P(F,{})},getterFor:function(F){return function($){var X;if(!c($)||(X=w($)).type!==F)throw new A("Incompatible receiver, "+F+" required");return X}}}},44209:(d,b,n)=>{"use strict";var h=n(78227),f=n(26269),c=h("iterator"),g=Array.prototype;d.exports=function(y){return void 0!==y&&(f.Array===y||g[c]===y)}},34376:(d,b,n)=>{"use strict";var h=n(22195);d.exports=Array.isArray||function(c){return"Array"===h(c)}},94901:d=>{"use strict";var b="object"==typeof document&&document.all;d.exports=typeof b>"u"&&void 0!==b?function(n){return"function"==typeof n||n===b}:function(n){return"function"==typeof n}},33517:(d,b,n)=>{"use strict";var h=n(79504),f=n(79039),c=n(94901),g=n(36955),y=n(97751),O=n(33706),x=function(){},S=y("Reflect","construct"),C=/^\s*(?:class|function)\b/,A=h(C.exec),R=!C.test(x),P=function(I){if(!c(I))return!1;try{return S(x,[],I),!0}catch{return!1}},w=function(I){if(!c(I))return!1;switch(g(I)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return R||!!A(C,O(I))}catch{return!0}};w.sham=!0,d.exports=!S||f(function(){var M;return P(P.call)||!P(Object)||!P(function(){M=!0})||M})?w:P},92796:(d,b,n)=>{"use strict";var h=n(79039),f=n(94901),c=/#|\.prototype\./,g=function(C,A){var R=O[y(C)];return R===S||R!==x&&(f(A)?h(A):!!A)},y=g.normalize=function(C){return String(C).replace(c,".").toLowerCase()},O=g.data={},x=g.NATIVE="N",S=g.POLYFILL="P";d.exports=g},64117:d=>{"use strict";d.exports=function(b){return null==b}},20034:(d,b,n)=>{"use strict";var h=n(94901);d.exports=function(f){return"object"==typeof f?null!==f:h(f)}},13925:(d,b,n)=>{"use strict";var h=n(20034);d.exports=function(f){return h(f)||null===f}},96395:d=>{"use strict";d.exports=!1},60788:(d,b,n)=>{"use strict";var h=n(20034),f=n(22195),g=n(78227)("match");d.exports=function(y){var O;return h(y)&&(void 0!==(O=y[g])?!!O:"RegExp"===f(y))}},10757:(d,b,n)=>{"use strict";var h=n(97751),f=n(94901),c=n(1625),g=n(7040),y=Object;d.exports=g?function(O){return"symbol"==typeof O}:function(O){var x=h("Symbol");return f(x)&&c(x.prototype,y(O))}},72652:(d,b,n)=>{"use strict";var h=n(76080),f=n(69565),c=n(28551),g=n(16823),y=n(44209),O=n(26198),x=n(1625),S=n(70081),C=n(50851),A=n(9539),R=TypeError,P=function(M,I){this.stopped=M,this.result=I},w=P.prototype;d.exports=function(M,I,B){var rt,J,ht,vt,st,ft,Z,Y=!(!B||!B.AS_ENTRIES),F=!(!B||!B.IS_RECORD),$=!(!B||!B.IS_ITERATOR),X=!(!B||!B.INTERRUPTED),k=h(I,B&&B.that),ut=function(tt){return rt&&A(rt,"normal",tt),new P(!0,tt)},K=function(tt){return Y?(c(tt),X?k(tt[0],tt[1],ut):k(tt[0],tt[1])):X?k(tt,ut):k(tt)};if(F)rt=M.iterator;else if($)rt=M;else{if(!(J=C(M)))throw new R(g(M)+" is not iterable");if(y(J)){for(ht=0,vt=O(M);vt>ht;ht++)if((st=K(M[ht]))&&x(w,st))return st;return new P(!1)}rt=S(M,J)}for(ft=F?M.next:rt.next;!(Z=f(ft,rt)).done;){try{st=K(Z.value)}catch(tt){A(rt,"throw",tt)}if("object"==typeof st&&st&&x(w,st))return st}return new P(!1)}},9539:(d,b,n)=>{"use strict";var h=n(69565),f=n(28551),c=n(55966);d.exports=function(g,y,O){var x,S;f(g);try{if(!(x=c(g,"return"))){if("throw"===y)throw O;return O}x=h(x,g)}catch(C){S=!0,x=C}if("throw"===y)throw O;if(S)throw x;return f(x),O}},33994:(d,b,n)=>{"use strict";var h=n(57657).IteratorPrototype,f=n(2360),c=n(6980),g=n(10687),y=n(26269),O=function(){return this};d.exports=function(x,S,C,A){var R=S+" Iterator";return x.prototype=f(h,{next:c(+!A,C)}),g(x,R,!1,!0),y[R]=O,x}},51088:(d,b,n)=>{"use strict";var h=n(46518),f=n(69565),c=n(96395),g=n(10350),y=n(94901),O=n(33994),x=n(42787),S=n(52967),C=n(10687),A=n(66699),R=n(36840),P=n(78227),w=n(26269),M=n(57657),I=g.PROPER,B=g.CONFIGURABLE,H=M.IteratorPrototype,Y=M.BUGGY_SAFARI_ITERATORS,F=P("iterator"),$="keys",X="values",k="entries",rt=function(){return this};d.exports=function(J,ht,vt,st,ft,Z,ut){O(vt,ht,st);var xt,Mt,D,K=function(Pt){if(Pt===ft&&ct)return ct;if(!Y&&Pt&&Pt in et)return et[Pt];switch(Pt){case $:case X:case k:return function(){return new vt(this,Pt)}}return function(){return new vt(this)}},tt=ht+" Iterator",Ft=!1,et=J.prototype,ot=et[F]||et["@@iterator"]||ft&&et[ft],ct=!Y&&ot||K(ft),St="Array"===ht&&et.entries||ot;if(St&&(xt=x(St.call(new J)))!==Object.prototype&&xt.next&&(!c&&x(xt)!==H&&(S?S(xt,H):y(xt[F])||R(xt,F,rt)),C(xt,tt,!0,!0),c&&(w[tt]=rt)),I&&ft===X&&ot&&ot.name!==X&&(!c&&B?A(et,"name",X):(Ft=!0,ct=function(){return f(ot,this)})),ft)if(Mt={values:K(X),keys:Z?ct:K($),entries:K(k)},ut)for(D in Mt)(Y||Ft||!(D in et))&&R(et,D,Mt[D]);else h({target:ht,proto:!0,forced:Y||Ft},Mt);return(!c||ut)&&et[F]!==ct&&R(et,F,ct,{name:ft}),w[ht]=ct,Mt}},57657:(d,b,n)=>{"use strict";var R,P,w,h=n(79039),f=n(94901),c=n(20034),g=n(2360),y=n(42787),O=n(36840),x=n(78227),S=n(96395),C=x("iterator"),A=!1;[].keys&&("next"in(w=[].keys())?(P=y(y(w)))!==Object.prototype&&(R=P):A=!0),!c(R)||h(function(){var I={};return R[C].call(I)!==I})?R={}:S&&(R=g(R)),f(R[C])||O(R,C,function(){return this}),d.exports={IteratorPrototype:R,BUGGY_SAFARI_ITERATORS:A}},26269:d=>{"use strict";d.exports={}},26198:(d,b,n)=>{"use strict";var h=n(18014);d.exports=function(f){return h(f.length)}},50283:(d,b,n)=>{"use strict";var h=n(79504),f=n(79039),c=n(94901),g=n(39297),y=n(43724),O=n(10350).CONFIGURABLE,x=n(33706),S=n(91181),C=S.enforce,A=S.get,R=String,P=Object.defineProperty,w=h("".slice),M=h("".replace),I=h([].join),B=y&&!f(function(){return 8!==P(function(){},"length",{value:8}).length}),H=String(String).split("String"),Y=d.exports=function(F,$,X){"Symbol("===w(R($),0,7)&&($="["+M(R($),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),X&&X.getter&&($="get "+$),X&&X.setter&&($="set "+$),(!g(F,"name")||O&&F.name!==$)&&(y?P(F,"name",{value:$,configurable:!0}):F.name=$),B&&X&&g(X,"arity")&&F.length!==X.arity&&P(F,"length",{value:X.arity});try{X&&g(X,"constructor")&&X.constructor?y&&P(F,"prototype",{writable:!1}):F.prototype&&(F.prototype=void 0)}catch{}var k=C(F);return g(k,"source")||(k.source=I(H,"string"==typeof $?$:"")),F};Function.prototype.toString=Y(function(){return c(this)&&A(this).source||x(this)},"toString")},80741:d=>{"use strict";var b=Math.ceil,n=Math.floor;d.exports=Math.trunc||function(f){var c=+f;return(c>0?n:b)(c)}},91955:(d,b,n)=>{"use strict";var I,B,H,Y,F,h=n(44576),f=n(93389),c=n(76080),g=n(59225).set,y=n(18265),O=n(89544),x=n(44265),S=n(7860),C=n(16193),A=h.MutationObserver||h.WebKitMutationObserver,R=h.document,P=h.process,w=h.Promise,M=f("queueMicrotask");if(!M){var $=new y,X=function(){var k,rt;for(C&&(k=P.domain)&&k.exit();rt=$.get();)try{rt()}catch(J){throw $.head&&I(),J}k&&k.enter()};O||C||S||!A||!R?!x&&w&&w.resolve?((Y=w.resolve(void 0)).constructor=w,F=c(Y.then,Y),I=function(){F(X)}):C?I=function(){P.nextTick(X)}:(g=c(g,h),I=function(){g(X)}):(B=!0,H=R.createTextNode(""),new A(X).observe(H,{characterData:!0}),I=function(){H.data=B=!B}),M=function(k){$.head||I(),$.add(k)}}d.exports=M},36043:(d,b,n)=>{"use strict";var h=n(79306),f=TypeError,c=function(g){var y,O;this.promise=new g(function(x,S){if(void 0!==y||void 0!==O)throw new f("Bad Promise constructor");y=x,O=S}),this.resolve=h(y),this.reject=h(O)};d.exports.f=function(g){return new c(g)}},60511:(d,b,n)=>{"use strict";var h=n(60788),f=TypeError;d.exports=function(c){if(h(c))throw new f("The method doesn't accept regular expressions");return c}},2360:(d,b,n)=>{"use strict";var H,h=n(28551),f=n(96801),c=n(88727),g=n(30421),y=n(20397),O=n(4055),x=n(66119),A="prototype",R="script",P=x("IE_PROTO"),w=function(){},M=function(F){return"<"+R+">"+F+""},I=function(F){F.write(M("")),F.close();var $=F.parentWindow.Object;return F=null,$},Y=function(){try{H=new ActiveXObject("htmlfile")}catch{}Y=typeof document<"u"?document.domain&&H?I(H):function(){var X,F=O("iframe"),$="java"+R+":";return F.style.display="none",y.appendChild(F),F.src=String($),(X=F.contentWindow.document).open(),X.write(M("document.F=Object")),X.close(),X.F}():I(H);for(var F=c.length;F--;)delete Y[A][c[F]];return Y()};g[P]=!0,d.exports=Object.create||function($,X){var k;return null!==$?(w[A]=h($),k=new w,w[A]=null,k[P]=$):k=Y(),void 0===X?k:f.f(k,X)}},96801:(d,b,n)=>{"use strict";var h=n(43724),f=n(48686),c=n(24913),g=n(28551),y=n(25397),O=n(71072);b.f=h&&!f?Object.defineProperties:function(S,C){g(S);for(var M,A=y(C),R=O(C),P=R.length,w=0;P>w;)c.f(S,M=R[w++],A[M]);return S}},24913:(d,b,n)=>{"use strict";var h=n(43724),f=n(35917),c=n(48686),g=n(28551),y=n(56969),O=TypeError,x=Object.defineProperty,S=Object.getOwnPropertyDescriptor,C="enumerable",A="configurable",R="writable";b.f=h?c?function(w,M,I){if(g(w),M=y(M),g(I),"function"==typeof w&&"prototype"===M&&"value"in I&&R in I&&!I[R]){var B=S(w,M);B&&B[R]&&(w[M]=I.value,I={configurable:A in I?I[A]:B[A],enumerable:C in I?I[C]:B[C],writable:!1})}return x(w,M,I)}:x:function(w,M,I){if(g(w),M=y(M),g(I),f)try{return x(w,M,I)}catch{}if("get"in I||"set"in I)throw new O("Accessors not supported");return"value"in I&&(w[M]=I.value),w}},77347:(d,b,n)=>{"use strict";var h=n(43724),f=n(69565),c=n(48773),g=n(6980),y=n(25397),O=n(56969),x=n(39297),S=n(35917),C=Object.getOwnPropertyDescriptor;b.f=h?C:function(R,P){if(R=y(R),P=O(P),S)try{return C(R,P)}catch{}if(x(R,P))return g(!f(c.f,R,P),R[P])}},38480:(d,b,n)=>{"use strict";var h=n(61828),c=n(88727).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(y){return h(y,c)}},33717:(d,b)=>{"use strict";b.f=Object.getOwnPropertySymbols},42787:(d,b,n)=>{"use strict";var h=n(39297),f=n(94901),c=n(48981),g=n(66119),y=n(12211),O=g("IE_PROTO"),x=Object,S=x.prototype;d.exports=y?x.getPrototypeOf:function(C){var A=c(C);if(h(A,O))return A[O];var R=A.constructor;return f(R)&&A instanceof R?R.prototype:A instanceof x?S:null}},1625:(d,b,n)=>{"use strict";var h=n(79504);d.exports=h({}.isPrototypeOf)},61828:(d,b,n)=>{"use strict";var h=n(79504),f=n(39297),c=n(25397),g=n(19617).indexOf,y=n(30421),O=h([].push);d.exports=function(x,S){var P,C=c(x),A=0,R=[];for(P in C)!f(y,P)&&f(C,P)&&O(R,P);for(;S.length>A;)f(C,P=S[A++])&&(~g(R,P)||O(R,P));return R}},71072:(d,b,n)=>{"use strict";var h=n(61828),f=n(88727);d.exports=Object.keys||function(g){return h(g,f)}},48773:(d,b)=>{"use strict";var n={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f=h&&!n.call({1:2},1);b.f=f?function(g){var y=h(this,g);return!!y&&y.enumerable}:n},52967:(d,b,n)=>{"use strict";var h=n(46706),f=n(20034),c=n(67750),g=n(73506);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var x,y=!1,O={};try{(x=h(Object.prototype,"__proto__","set"))(O,[]),y=O instanceof Array}catch{}return function(C,A){return c(C),g(A),f(C)&&(y?x(C,A):C.__proto__=A),C}}():void 0)},84270:(d,b,n)=>{"use strict";var h=n(69565),f=n(94901),c=n(20034),g=TypeError;d.exports=function(y,O){var x,S;if("string"===O&&f(x=y.toString)&&!c(S=h(x,y))||f(x=y.valueOf)&&!c(S=h(x,y))||"string"!==O&&f(x=y.toString)&&!c(S=h(x,y)))return S;throw new g("Can't convert object to primitive value")}},35031:(d,b,n)=>{"use strict";var h=n(97751),f=n(79504),c=n(38480),g=n(33717),y=n(28551),O=f([].concat);d.exports=h("Reflect","ownKeys")||function(S){var C=c.f(y(S)),A=g.f;return A?O(C,A(S)):C}},1103:d=>{"use strict";d.exports=function(b){try{return{error:!1,value:b()}}catch(n){return{error:!0,value:n}}}},10916:(d,b,n)=>{"use strict";var h=n(44576),f=n(80550),c=n(94901),g=n(92796),y=n(33706),O=n(78227),x=n(84215),S=n(96395),C=n(39519),A=f&&f.prototype,R=O("species"),P=!1,w=c(h.PromiseRejectionEvent),M=g("Promise",function(){var I=y(f),B=I!==String(f);if(!B&&66===C||S&&(!A.catch||!A.finally))return!0;if(!C||C<51||!/native code/.test(I)){var H=new f(function($){$(1)}),Y=function($){$(function(){},function(){})};if((H.constructor={})[R]=Y,!(P=H.then(function(){})instanceof Y))return!0}return!(B||"BROWSER"!==x&&"DENO"!==x||w)});d.exports={CONSTRUCTOR:M,REJECTION_EVENT:w,SUBCLASSING:P}},80550:(d,b,n)=>{"use strict";var h=n(44576);d.exports=h.Promise},93438:(d,b,n)=>{"use strict";var h=n(28551),f=n(20034),c=n(36043);d.exports=function(g,y){if(h(g),f(y)&&y.constructor===g)return y;var O=c.f(g);return(0,O.resolve)(y),O.promise}},90537:(d,b,n)=>{"use strict";var h=n(80550),f=n(84428),c=n(10916).CONSTRUCTOR;d.exports=c||!f(function(g){h.all(g).then(void 0,function(){})})},18265:d=>{"use strict";var b=function(){this.head=null,this.tail=null};b.prototype={add:function(n){var h={item:n,next:null},f=this.tail;f?f.next=h:this.head=h,this.tail=h},get:function(){var n=this.head;if(n)return null===(this.head=n.next)&&(this.tail=null),n.item}},d.exports=b},56682:(d,b,n)=>{"use strict";var h=n(69565),f=n(28551),c=n(94901),g=n(22195),y=n(57323),O=TypeError;d.exports=function(x,S){var C=x.exec;if(c(C)){var A=h(C,x,S);return null!==A&&f(A),A}if("RegExp"===g(x))return h(y,x,S);throw new O("RegExp#exec called on incompatible receiver")}},57323:(d,b,n)=>{"use strict";var k,rt,h=n(69565),f=n(79504),c=n(655),g=n(67979),y=n(58429),O=n(25745),x=n(2360),S=n(91181).get,C=n(83635),A=n(18814),R=O("native-string-replace",String.prototype.replace),P=RegExp.prototype.exec,w=P,M=f("".charAt),I=f("".indexOf),B=f("".replace),H=f("".slice),Y=(rt=/b*/g,h(P,k=/a/,"a"),h(P,rt,"a"),0!==k.lastIndex||0!==rt.lastIndex),F=y.BROKEN_CARET,$=void 0!==/()??/.exec("")[1];(Y||$||F||C||A)&&(w=function(rt){var ft,Z,ut,K,tt,Ft,et,J=this,ht=S(J),vt=c(rt),st=ht.raw;if(st)return st.lastIndex=J.lastIndex,ft=h(w,st,vt),J.lastIndex=st.lastIndex,ft;var ot=ht.groups,ct=F&&J.sticky,St=h(g,J),xt=J.source,Mt=0,D=vt;if(ct&&(St=B(St,"y",""),-1===I(St,"g")&&(St+="g"),D=H(vt,J.lastIndex),J.lastIndex>0&&(!J.multiline||J.multiline&&"\n"!==M(vt,J.lastIndex-1))&&(xt="(?: "+xt+")",D=" "+D,Mt++),Z=new RegExp("^(?:"+xt+")",St)),$&&(Z=new RegExp("^"+xt+"$(?!\\s)",St)),Y&&(ut=J.lastIndex),K=h(P,ct?Z:J,D),ct?K?(K.input=H(K.input,Mt),K[0]=H(K[0],Mt),K.index=J.lastIndex,J.lastIndex+=K[0].length):J.lastIndex=0:Y&&K&&(J.lastIndex=J.global?K.index+K[0].length:ut),$&&K&&K.length>1&&h(R,K[0],Z,function(){for(tt=1;tt{"use strict";var h=n(28551);d.exports=function(){var f=h(this),c="";return f.hasIndices&&(c+="d"),f.global&&(c+="g"),f.ignoreCase&&(c+="i"),f.multiline&&(c+="m"),f.dotAll&&(c+="s"),f.unicode&&(c+="u"),f.unicodeSets&&(c+="v"),f.sticky&&(c+="y"),c}},61034:(d,b,n)=>{"use strict";var h=n(69565),f=n(39297),c=n(1625),g=n(67979),y=RegExp.prototype;d.exports=function(O){var x=O.flags;return void 0!==x||"flags"in y||f(O,"flags")||!c(y,O)?x:h(g,O)}},58429:(d,b,n)=>{"use strict";var h=n(79039),c=n(44576).RegExp,g=h(function(){var x=c("a","y");return x.lastIndex=2,null!==x.exec("abcd")}),y=g||h(function(){return!c("a","y").sticky}),O=g||h(function(){var x=c("^r","gy");return x.lastIndex=2,null!==x.exec("str")});d.exports={BROKEN_CARET:O,MISSED_STICKY:y,UNSUPPORTED_Y:g}},83635:(d,b,n)=>{"use strict";var h=n(79039),c=n(44576).RegExp;d.exports=h(function(){var g=c(".","s");return!(g.dotAll&&g.test("\n")&&"s"===g.flags)})},18814:(d,b,n)=>{"use strict";var h=n(79039),c=n(44576).RegExp;d.exports=h(function(){var g=c("(?b)","g");return"b"!==g.exec("b").groups.a||"bc"!=="b".replace(g,"$c")})},67750:(d,b,n)=>{"use strict";var h=n(64117),f=TypeError;d.exports=function(c){if(h(c))throw new f("Can't call method on "+c);return c}},93389:(d,b,n)=>{"use strict";var h=n(44576),f=n(43724),c=Object.getOwnPropertyDescriptor;d.exports=function(g){if(!f)return h[g];var y=c(h,g);return y&&y.value}},87633:(d,b,n)=>{"use strict";var h=n(97751),f=n(62106),c=n(78227),g=n(43724),y=c("species");d.exports=function(O){var x=h(O);g&&x&&!x[y]&&f(x,y,{configurable:!0,get:function(){return this}})}},10687:(d,b,n)=>{"use strict";var h=n(24913).f,f=n(39297),g=n(78227)("toStringTag");d.exports=function(y,O,x){y&&!x&&(y=y.prototype),y&&!f(y,g)&&h(y,g,{configurable:!0,value:O})}},66119:(d,b,n)=>{"use strict";var h=n(25745),f=n(33392),c=h("keys");d.exports=function(g){return c[g]||(c[g]=f(g))}},77629:(d,b,n)=>{"use strict";var h=n(96395),f=n(44576),c=n(39433),g="__core-js_shared__",y=d.exports=f[g]||c(g,{});(y.versions||(y.versions=[])).push({version:"3.42.0",mode:h?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:(d,b,n)=>{"use strict";var h=n(77629);d.exports=function(f,c){return h[f]||(h[f]=c||{})}},2293:(d,b,n)=>{"use strict";var h=n(28551),f=n(35548),c=n(64117),y=n(78227)("species");d.exports=function(O,x){var C,S=h(O).constructor;return void 0===S||c(C=h(S)[y])?x:f(C)}},68183:(d,b,n)=>{"use strict";var h=n(79504),f=n(91291),c=n(655),g=n(67750),y=h("".charAt),O=h("".charCodeAt),x=h("".slice),S=function(C){return function(A,R){var I,B,P=c(g(A)),w=f(R),M=P.length;return w<0||w>=M?C?"":void 0:(I=O(P,w))<55296||I>56319||w+1===M||(B=O(P,w+1))<56320||B>57343?C?y(P,w):I:C?x(P,w,w+2):B-56320+(I-55296<<10)+65536}};d.exports={codeAt:S(!1),charAt:S(!0)}},60706:(d,b,n)=>{"use strict";var h=n(10350).PROPER,f=n(79039),c=n(47452);d.exports=function(y){return f(function(){return!!c[y]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[y]()||h&&c[y].name!==y})}},43802:(d,b,n)=>{"use strict";var h=n(79504),f=n(67750),c=n(655),g=n(47452),y=h("".replace),O=RegExp("^["+g+"]+"),x=RegExp("(^|[^"+g+"])["+g+"]+$"),S=function(C){return function(A){var R=c(f(A));return 1&C&&(R=y(R,O,"")),2&C&&(R=y(R,x,"$1")),R}};d.exports={start:S(1),end:S(2),trim:S(3)}},4495:(d,b,n)=>{"use strict";var h=n(39519),f=n(79039),g=n(44576).String;d.exports=!!Object.getOwnPropertySymbols&&!f(function(){var y=Symbol("symbol detection");return!g(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&h&&h<41})},59225:(d,b,n)=>{"use strict";var rt,J,ht,vt,h=n(44576),f=n(18745),c=n(76080),g=n(94901),y=n(39297),O=n(79039),x=n(20397),S=n(67680),C=n(4055),A=n(22812),R=n(89544),P=n(16193),w=h.setImmediate,M=h.clearImmediate,I=h.process,B=h.Dispatch,H=h.Function,Y=h.MessageChannel,F=h.String,$=0,X={},k="onreadystatechange";O(function(){rt=h.location});var st=function(K){if(y(X,K)){var tt=X[K];delete X[K],tt()}},ft=function(K){return function(){st(K)}},Z=function(K){st(K.data)},ut=function(K){h.postMessage(F(K),rt.protocol+"//"+rt.host)};(!w||!M)&&(w=function(tt){A(arguments.length,1);var Ft=g(tt)?tt:H(tt),et=S(arguments,1);return X[++$]=function(){f(Ft,void 0,et)},J($),$},M=function(tt){delete X[tt]},P?J=function(K){I.nextTick(ft(K))}:B&&B.now?J=function(K){B.now(ft(K))}:Y&&!R?(vt=(ht=new Y).port2,ht.port1.onmessage=Z,J=c(vt.postMessage,vt)):h.addEventListener&&g(h.postMessage)&&!h.importScripts&&rt&&"file:"!==rt.protocol&&!O(ut)?(J=ut,h.addEventListener("message",Z,!1)):J=k in C("script")?function(K){x.appendChild(C("script"))[k]=function(){x.removeChild(this),st(K)}}:function(K){setTimeout(ft(K),0)}),d.exports={set:w,clear:M}},35610:(d,b,n)=>{"use strict";var h=n(91291),f=Math.max,c=Math.min;d.exports=function(g,y){var O=h(g);return O<0?f(O+y,0):c(O,y)}},25397:(d,b,n)=>{"use strict";var h=n(47055),f=n(67750);d.exports=function(c){return h(f(c))}},91291:(d,b,n)=>{"use strict";var h=n(80741);d.exports=function(f){var c=+f;return c!=c||0===c?0:h(c)}},18014:(d,b,n)=>{"use strict";var h=n(91291),f=Math.min;d.exports=function(c){var g=h(c);return g>0?f(g,9007199254740991):0}},48981:(d,b,n)=>{"use strict";var h=n(67750),f=Object;d.exports=function(c){return f(h(c))}},72777:(d,b,n)=>{"use strict";var h=n(69565),f=n(20034),c=n(10757),g=n(55966),y=n(84270),O=n(78227),x=TypeError,S=O("toPrimitive");d.exports=function(C,A){if(!f(C)||c(C))return C;var P,R=g(C,S);if(R){if(void 0===A&&(A="default"),P=h(R,C,A),!f(P)||c(P))return P;throw new x("Can't convert object to primitive value")}return void 0===A&&(A="number"),y(C,A)}},56969:(d,b,n)=>{"use strict";var h=n(72777),f=n(10757);d.exports=function(c){var g=h(c,"string");return f(g)?g:g+""}},92140:(d,b,n)=>{"use strict";var c={};c[n(78227)("toStringTag")]="z",d.exports="[object z]"===String(c)},655:(d,b,n)=>{"use strict";var h=n(36955),f=String;d.exports=function(c){if("Symbol"===h(c))throw new TypeError("Cannot convert a Symbol value to a string");return f(c)}},16823:d=>{"use strict";var b=String;d.exports=function(n){try{return b(n)}catch{return"Object"}}},33392:(d,b,n)=>{"use strict";var h=n(79504),f=0,c=Math.random(),g=h(1..toString);d.exports=function(y){return"Symbol("+(void 0===y?"":y)+")_"+g(++f+c,36)}},7040:(d,b,n)=>{"use strict";var h=n(4495);d.exports=h&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:(d,b,n)=>{"use strict";var h=n(43724),f=n(79039);d.exports=h&&f(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812:d=>{"use strict";var b=TypeError;d.exports=function(n,h){if(n{"use strict";var h=n(44576),f=n(94901),c=h.WeakMap;d.exports=f(c)&&/native code/.test(String(c))},78227:(d,b,n)=>{"use strict";var h=n(44576),f=n(25745),c=n(39297),g=n(33392),y=n(4495),O=n(7040),x=h.Symbol,S=f("wks"),C=O?x.for||x:x&&x.withoutSetter||g;d.exports=function(A){return c(S,A)||(S[A]=y&&c(x,A)?x[A]:C("Symbol."+A)),S[A]}},47452:d=>{"use strict";d.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},25276:(d,b,n)=>{"use strict";var h=n(46518),f=n(27476),c=n(19617).indexOf,g=n(34598),y=f([].indexOf),O=!!y&&1/y([1],1,-0)<0;h({target:"Array",proto:!0,forced:O||!g("indexOf")},{indexOf:function(C){var A=arguments.length>1?arguments[1]:void 0;return O?y(this,C,A)||0:c(this,C,A)}})},23792:(d,b,n)=>{"use strict";var h=n(25397),f=n(6469),c=n(26269),g=n(91181),y=n(24913).f,O=n(51088),x=n(62529),S=n(96395),C=n(43724),A="Array Iterator",R=g.set,P=g.getterFor(A);d.exports=O(Array,"Array",function(M,I){R(this,{type:A,target:h(M),index:0,kind:I})},function(){var M=P(this),I=M.target,B=M.index++;if(!I||B>=I.length)return M.target=null,x(void 0,!0);switch(M.kind){case"keys":return x(B,!1);case"values":return x(I[B],!1)}return x([B,I[B]],!1)},"values");var w=c.Arguments=c.Array;if(f("keys"),f("values"),f("entries"),!S&&C&&"values"!==w.name)try{y(w,"name",{value:"values"})}catch{}},72712:(d,b,n)=>{"use strict";var h=n(46518),f=n(80926).left,c=n(34598),g=n(39519);h({target:"Array",proto:!0,forced:!n(16193)&&g>79&&g<83||!c("reduce")},{reduce:function(C){var A=arguments.length;return f(this,C,A,A>1?arguments[1]:void 0)}})},94490:(d,b,n)=>{"use strict";var h=n(46518),f=n(79504),c=n(34376),g=f([].reverse),y=[1,2];h({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return c(this)&&(this.length=this.length),g(this)}})},16499:(d,b,n)=>{"use strict";var h=n(46518),f=n(69565),c=n(79306),g=n(36043),y=n(1103),O=n(72652);h({target:"Promise",stat:!0,forced:n(90537)},{all:function(C){var A=this,R=g.f(A),P=R.resolve,w=R.reject,M=y(function(){var I=c(A.resolve),B=[],H=0,Y=1;O(C,function(F){var $=H++,X=!1;Y++,f(I,A,F).then(function(k){X||(X=!0,B[$]=k,--Y||P(B))},w)}),--Y||P(B)});return M.error&&w(M.value),R.promise}})},82003:(d,b,n)=>{"use strict";var h=n(46518),f=n(96395),c=n(10916).CONSTRUCTOR,g=n(80550),y=n(97751),O=n(94901),x=n(36840),S=g&&g.prototype;if(h({target:"Promise",proto:!0,forced:c,real:!0},{catch:function(A){return this.then(void 0,A)}}),!f&&O(g)){var C=y("Promise").prototype.catch;S.catch!==C&&x(S,"catch",C,{unsafe:!0})}},10436:(d,b,n)=>{"use strict";var kt,Ee,re,h=n(46518),f=n(96395),c=n(16193),g=n(44576),y=n(69565),O=n(36840),x=n(52967),S=n(10687),C=n(87633),A=n(79306),R=n(94901),P=n(20034),w=n(90679),M=n(2293),I=n(59225).set,B=n(91955),H=n(90757),Y=n(1103),F=n(18265),$=n(91181),X=n(80550),k=n(10916),rt=n(36043),J="Promise",ht=k.CONSTRUCTOR,vt=k.REJECTION_EVENT,st=k.SUBCLASSING,ft=$.getterFor(J),Z=$.set,ut=X&&X.prototype,K=X,tt=ut,Ft=g.TypeError,et=g.document,ot=g.process,ct=rt.f,St=ct,xt=!!(et&&et.createEvent&&g.dispatchEvent),Mt="unhandledrejection",ue=function(G){var it;return!(!P(G)||!R(it=G.then))&&it},le=function(G,it){var ce,ze,Ge,pt=it.value,dt=1===it.state,Ct=dt?G.ok:G.fail,fe=G.resolve,Me=G.reject,ve=G.domain;try{Ct?(dt||(2===it.rejection&&nr(it),it.rejection=1),!0===Ct?ce=pt:(ve&&ve.enter(),ce=Ct(pt),ve&&(ve.exit(),Ge=!0)),ce===G.promise?Me(new Ft("Promise-chain cycle")):(ze=ue(ce))?y(ze,ce,fe,Me):fe(ce)):Me(pt)}catch(ar){ve&&!Ge&&ve.exit(),Me(ar)}},he=function(G,it){G.notified||(G.notified=!0,B(function(){for(var dt,pt=G.reactions;dt=pt.get();)le(dt,G);G.notified=!1,it&&!G.rejection&&rr(G)}))},qt=function(G,it,pt){var dt,Ct;xt?((dt=et.createEvent("Event")).promise=it,dt.reason=pt,dt.initEvent(G,!1,!0),g.dispatchEvent(dt)):dt={promise:it,reason:pt},!vt&&(Ct=g["on"+G])?Ct(dt):G===Mt&&H("Unhandled promise rejection",pt)},rr=function(G){y(I,g,function(){var Ct,it=G.facade,pt=G.value;if(je(G)&&(Ct=Y(function(){c?ot.emit("unhandledRejection",pt,it):qt(Mt,it,pt)}),G.rejection=c||je(G)?2:1,Ct.error))throw Ct.value})},je=function(G){return 1!==G.rejection&&!G.parent},nr=function(G){y(I,g,function(){var it=G.facade;c?ot.emit("rejectionHandled",it):qt("rejectionhandled",it,G.value)})},$t=function(G,it,pt){return function(dt){G(it,dt,pt)}},ne=function(G,it,pt){G.done||(G.done=!0,pt&&(G=pt),G.value=it,G.state=2,he(G,!0))},Ie=function(G,it,pt){if(!G.done){G.done=!0,pt&&(G=pt);try{if(G.facade===it)throw new Ft("Promise can't be resolved itself");var dt=ue(it);dt?B(function(){var Ct={done:!1};try{y(dt,it,$t(Ie,Ct,G),$t(ne,Ct,G))}catch(fe){ne(Ct,fe,G)}}):(G.value=it,G.state=1,he(G,!1))}catch(Ct){ne({done:!1},Ct,G)}}};if(ht&&(K=function(it){w(this,tt),A(it),y(kt,this);var pt=ft(this);try{it($t(Ie,pt),$t(ne,pt))}catch(dt){ne(pt,dt)}},(kt=function(it){Z(this,{type:J,done:!1,notified:!1,parent:!1,reactions:new F,rejection:!1,state:0,value:null})}).prototype=O(tt=K.prototype,"then",function(it,pt){var dt=ft(this),Ct=ct(M(this,K));return dt.parent=!0,Ct.ok=!R(it)||it,Ct.fail=R(pt)&&pt,Ct.domain=c?ot.domain:void 0,0===dt.state?dt.reactions.add(Ct):B(function(){le(Ct,dt)}),Ct.promise}),Ee=function(){var G=new kt,it=ft(G);this.promise=G,this.resolve=$t(Ie,it),this.reject=$t(ne,it)},rt.f=ct=function(G){return G===K||void 0===G?new Ee(G):St(G)},!f&&R(X)&&ut!==Object.prototype)){re=ut.then,st||O(ut,"then",function(it,pt){var dt=this;return new K(function(Ct,fe){y(re,dt,Ct,fe)}).then(it,pt)},{unsafe:!0});try{delete ut.constructor}catch{}x&&x(ut,tt)}h({global:!0,constructor:!0,wrap:!0,forced:ht},{Promise:K}),S(K,J,!1,!0),C(J)},3362:(d,b,n)=>{"use strict";n(10436),n(16499),n(82003),n(7743),n(51481),n(40280)},7743:(d,b,n)=>{"use strict";var h=n(46518),f=n(69565),c=n(79306),g=n(36043),y=n(1103),O=n(72652);h({target:"Promise",stat:!0,forced:n(90537)},{race:function(C){var A=this,R=g.f(A),P=R.reject,w=y(function(){var M=c(A.resolve);O(C,function(I){f(M,A,I).then(R.resolve,P)})});return w.error&&P(w.value),R.promise}})},51481:(d,b,n)=>{"use strict";var h=n(46518),f=n(36043);h({target:"Promise",stat:!0,forced:n(10916).CONSTRUCTOR},{reject:function(y){var O=f.f(this);return(0,O.reject)(y),O.promise}})},40280:(d,b,n)=>{"use strict";var h=n(46518),f=n(97751),c=n(96395),g=n(80550),y=n(10916).CONSTRUCTOR,O=n(93438),x=f("Promise"),S=c&&!y;h({target:"Promise",stat:!0,forced:c||y},{resolve:function(A){return O(S&&this===x?g:this,A)}})},27495:(d,b,n)=>{"use strict";var h=n(46518),f=n(57323);h({target:"RegExp",proto:!0,forced:/./.exec!==f},{exec:f})},38781:(d,b,n)=>{"use strict";var h=n(10350).PROPER,f=n(36840),c=n(28551),g=n(655),y=n(79039),O=n(61034),x="toString",S=RegExp.prototype,C=S[x];(y(function(){return"/a/b"!==C.call({source:"a",flags:"b"})})||h&&C.name!==x)&&f(S,x,function(){var w=c(this);return"/"+g(w.source)+"/"+g(O(w))},{unsafe:!0})},99449:(d,b,n)=>{"use strict";var M,h=n(46518),f=n(27476),c=n(77347).f,g=n(18014),y=n(655),O=n(60511),x=n(67750),S=n(41436),C=n(96395),A=f("".slice),R=Math.min,P=S("endsWith");h({target:"String",proto:!0,forced:!(!C&&!P&&(M=c(String.prototype,"endsWith"),M&&!M.writable)||P)},{endsWith:function(I){var B=y(x(this));O(I);var H=arguments.length>1?arguments[1]:void 0,Y=B.length,F=void 0===H?Y:R(g(H),Y),$=y(I);return A(B,F-$.length,F)===$}})},21699:(d,b,n)=>{"use strict";var h=n(46518),f=n(79504),c=n(60511),g=n(67750),y=n(655),O=n(41436),x=f("".indexOf);h({target:"String",proto:!0,forced:!O("includes")},{includes:function(C){return!!~x(y(g(this)),y(c(C)),arguments.length>1?arguments[1]:void 0)}})},71761:(d,b,n)=>{"use strict";var h=n(69565),f=n(89228),c=n(28551),g=n(20034),y=n(18014),O=n(655),x=n(67750),S=n(55966),C=n(57829),A=n(56682);f("match",function(R,P,w){return[function(I){var B=x(this),H=g(I)?S(I,R):void 0;return H?h(H,I,B):new RegExp(I)[R](O(B))},function(M){var I=c(this),B=O(M),H=w(P,I,B);if(H.done)return H.value;if(!I.global)return A(I,B);var Y=I.unicode;I.lastIndex=0;for(var X,F=[],$=0;null!==(X=A(I,B));){var k=O(X[0]);F[$]=k,""===k&&(I.lastIndex=C(B,y(I.lastIndex),Y)),$++}return 0===$?null:F}]})},25440:(d,b,n)=>{"use strict";var h=n(18745),f=n(69565),c=n(79504),g=n(89228),y=n(79039),O=n(28551),x=n(94901),S=n(20034),C=n(91291),A=n(18014),R=n(655),P=n(67750),w=n(57829),M=n(55966),I=n(2478),B=n(56682),Y=n(78227)("replace"),F=Math.max,$=Math.min,X=c([].concat),k=c([].push),rt=c("".indexOf),J=c("".slice),ht=function(Z){return void 0===Z?Z:String(Z)},vt="$0"==="a".replace(/./,"$0"),st=!!/./[Y]&&""===/./[Y]("a","$0");g("replace",function(Z,ut,K){var tt=st?"$":"$0";return[function(et,ot){var ct=P(this),St=S(et)?M(et,Y):void 0;return St?f(St,et,ct,ot):f(ut,R(ct),et,ot)},function(Ft,et){var ot=O(this),ct=R(Ft);if("string"==typeof et&&-1===rt(et,tt)&&-1===rt(et,"$<")){var St=K(ut,ot,ct,et);if(St.done)return St.value}var xt=x(et);xt||(et=R(et));var D,Mt=ot.global;Mt&&(D=ot.unicode,ot.lastIndex=0);for(var jt,Pt=[];null!==(jt=B(ot,ct))&&(k(Pt,jt),Mt);)""===R(jt[0])&&(ot.lastIndex=w(ct,A(ot.lastIndex),D));for(var oe="",Zt=0,kt=0;kt=Zt&&(oe+=J(ct,Zt,Jt)+ue,Zt=Jt+Ee.length)}return oe+J(ct,Zt)}]},!!y(function(){var Z=/./;return Z.exec=function(){var ut=[];return ut.groups={a:"7"},ut},"7"!=="".replace(Z,"$")})||!vt||st)},90744:(d,b,n)=>{"use strict";var h=n(69565),f=n(79504),c=n(89228),g=n(28551),y=n(20034),O=n(67750),x=n(2293),S=n(57829),C=n(18014),A=n(655),R=n(55966),P=n(56682),w=n(58429),M=n(79039),I=w.UNSUPPORTED_Y,H=Math.min,Y=f([].push),F=f("".slice),$=!M(function(){var k=/(?:)/,rt=k.exec;k.exec=function(){return rt.apply(this,arguments)};var J="ab".split(k);return 2!==J.length||"a"!==J[0]||"b"!==J[1]}),X="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;c("split",function(k,rt,J){var ht="0".split(void 0,0).length?function(vt,st){return void 0===vt&&0===st?[]:h(rt,this,vt,st)}:rt;return[function(st,ft){var Z=O(this),ut=y(st)?R(st,k):void 0;return ut?h(ut,st,Z,ft):h(ht,A(Z),st,ft)},function(vt,st){var ft=g(this),Z=A(vt);if(!X){var ut=J(ht,ft,Z,st,ht!==rt);if(ut.done)return ut.value}var K=x(ft,RegExp),tt=ft.unicode,et=new K(I?"^(?:"+ft.source+")":ft,(ft.ignoreCase?"i":"")+(ft.multiline?"m":"")+(ft.unicode?"u":"")+(I?"g":"y")),ot=void 0===st?4294967295:st>>>0;if(0===ot)return[];if(0===Z.length)return null===P(et,Z)?[Z]:[];for(var ct=0,St=0,xt=[];St{"use strict";var M,h=n(46518),f=n(27476),c=n(77347).f,g=n(18014),y=n(655),O=n(60511),x=n(67750),S=n(41436),C=n(96395),A=f("".slice),R=Math.min,P=S("startsWith");h({target:"String",proto:!0,forced:!(!C&&!P&&(M=c(String.prototype,"startsWith"),M&&!M.writable)||P)},{startsWith:function(I){var B=y(x(this));O(I);var H=g(R(arguments.length>1?arguments[1]:void 0,B.length)),Y=y(I);return A(B,H,H+Y.length)===Y}})},42762:(d,b,n)=>{"use strict";var h=n(46518),f=n(43802).trim;h({target:"String",proto:!0,forced:n(60706)("trim")},{trim:function(){return f(this)}})},62953:(d,b,n)=>{"use strict";var h=n(44576),f=n(67400),c=n(79296),g=n(23792),y=n(66699),O=n(10687),S=n(78227)("iterator"),C=g.values,A=function(P,w){if(P){if(P[S]!==C)try{y(P,S,C)}catch{P[S]=C}if(O(P,w,!0),f[w])for(var M in g)if(P[M]!==g[M])try{y(P,M,g[M])}catch{P[M]=g[M]}}};for(var R in f)A(h[R]&&h[R].prototype,R);A(c,"DOMTokenList")},20147:(d,b,n)=>{"use strict";n.r(b),n.d(b,{AElement:()=>sn,AnimateColorElement:()=>_r,AnimateElement:()=>We,AnimateTransformElement:()=>tn,BoundingBox:()=>Qt,CB1:()=>or,CB2:()=>ur,CB3:()=>lr,CB4:()=>hr,Canvg:()=>Ce,CircleElement:()=>Hr,ClipPathElement:()=>pn,DefsElement:()=>kr,DescElement:()=>bn,Document:()=>Cn,Element:()=>Nt,EllipseElement:()=>Yr,FeColorMatrixElement:()=>Tr,FeCompositeElement:()=>En,FeDropShadowElement:()=>mn,FeGaussianBlurElement:()=>Tn,FeMorphologyElement:()=>xn,FilterElement:()=>yn,Font:()=>be,FontElement:()=>en,FontFaceElement:()=>rn,GElement:()=>Xe,GlyphElement:()=>yr,GradientElement:()=>Er,ImageElement:()=>ln,LineElement:()=>Xr,LinearGradientElement:()=>Zr,MarkerElement:()=>Kr,MaskElement:()=>gn,Matrix:()=>dr,MissingGlyphElement:()=>nn,Mouse:()=>Dr,PSEUDO_ZERO:()=>Oe,Parser:()=>He,PathElement:()=>Et,PathParser:()=>nt,PatternElement:()=>Qr,Point:()=>Rt,PolygonElement:()=>Wr,PolylineElement:()=>xr,Property:()=>_,QB1:()=>fr,QB2:()=>vr,QB3:()=>cr,RadialGradientElement:()=>Jr,RectElement:()=>mr,RenderedElement:()=>ge,Rotate:()=>Ur,SVGElement:()=>we,SVGFontLoader:()=>fn,Scale:()=>jr,Screen:()=>gr,Skew:()=>pr,SkewX:()=>zr,SkewY:()=>Gr,StopElement:()=>qr,StyleElement:()=>vn,SymbolElement:()=>hn,TRefElement:()=>an,TSpanElement:()=>Fe,TextElement:()=>ae,TextPathElement:()=>un,TitleElement:()=>On,Transform:()=>Ye,Translate:()=>Fr,UnknownElement:()=>$r,UseElement:()=>cn,ViewPort:()=>Vr,compressSpaces:()=>$t,default:()=>Ce,getSelectorSpecificity:()=>wr,normalizeAttributeName:()=>pt,normalizeColor:()=>Ct,parseExternalUrl:()=>dt,presets:()=>nr,toNumbers:()=>G,trimLeft:()=>ne,trimRight:()=>Ie,vectorMagnitude:()=>ir,vectorsAngle:()=>sr,vectorsRatio:()=>$e}),n(3362);var f=n(10467),S=(n(71761),n(25440),n(11392),n(23792),n(62953),n(82284));function R(l,t,e){return(t=function A(l){var t=function C(l,t){if("object"!=(0,S.A)(l)||!l)return l;var e=l[Symbol.toPrimitive];if(void 0!==e){var r=e.call(l,t||"default");if("object"!=(0,S.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(l)}(l,"string");return"symbol"==(0,S.A)(t)?t:t+""}(t))in l?Object.defineProperty(l,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):l[t]=e,l}n(72712),n(99449),n(90744);var I=n(54361),H=(n(42762),n(96310)),X=(n(25276),n(21699),n(94490),function(l,t){return(X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])})(l,t)});function k(l,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=l}X(l,t),l.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}function J(l,t){var e=l[0],r=l[1];return[e*Math.cos(t)-r*Math.sin(t),e*Math.sin(t)+r*Math.cos(t)]}function ht(){for(var l=[],t=0;tl.phi1&&(l.phi2-=2*vt),1===l.sweepFlag&&l.phi2r)return[];if(0===r)return[[l*e/(l*l+t*t),t*e/(l*l+t*t)]];var a=Math.sqrt(r);return[[(l*e+t*a)/(l*l+t*t),(t*e-l*a)/(l*l+t*t)],[(l*e-t*a)/(l*l+t*t),(t*e+l*a)/(l*l+t*t)]]}var Z,ut=Math.PI/180;function K(l,t,e){return(1-e)*l+e*t}function tt(l,t,e,r){return l+Math.cos(r/180*vt)*t+Math.sin(r/180*vt)*e}function Ft(l,t,e,r){var a=1e-6,i=t-l,o=e-t,s=3*i+3*(r-e)-6*o,u=6*(o-i),v=3*i;return Math.abs(s)W&&(m.sweepFlag=+!m.sweepFlag),m})}l.ROUND=function(s){function u(v){return Math.round(v*s)/s}return void 0===s&&(s=1e13),ht(s),function(v){return void 0!==v.x1&&(v.x1=u(v.x1)),void 0!==v.y1&&(v.y1=u(v.y1)),void 0!==v.x2&&(v.x2=u(v.x2)),void 0!==v.y2&&(v.y2=u(v.y2)),void 0!==v.x&&(v.x=u(v.x)),void 0!==v.y&&(v.y=u(v.y)),void 0!==v.rX&&(v.rX=u(v.rX)),void 0!==v.rY&&(v.rY=u(v.rY)),v}},l.TO_ABS=t,l.TO_REL=function(){return a(function(s,u,v){return s.relative||(void 0!==s.x1&&(s.x1-=u),void 0!==s.y1&&(s.y1-=v),void 0!==s.x2&&(s.x2-=u),void 0!==s.y2&&(s.y2-=v),void 0!==s.x&&(s.x-=u),void 0!==s.y&&(s.y-=v),s.relative=!0),s})},l.NORMALIZE_HVZ=function(s,u,v){return void 0===s&&(s=!0),void 0===u&&(u=!0),void 0===v&&(v=!0),a(function(p,E,T,m,N){if(isNaN(m)&&!(p.type&D.MOVE_TO))throw new Error("path must start with moveto");return u&&p.type&D.HORIZ_LINE_TO&&(p.type=D.LINE_TO,p.y=p.relative?0:T),v&&p.type&D.VERT_LINE_TO&&(p.type=D.LINE_TO,p.x=p.relative?0:E),s&&p.type&D.CLOSE_PATH&&(p.type=D.LINE_TO,p.x=p.relative?m-E:m,p.y=p.relative?N-T:N),p.type&D.ARC&&(0===p.rX||0===p.rY)&&(p.type=D.LINE_TO,delete p.rX,delete p.rY,delete p.xRot,delete p.lArcFlag,delete p.sweepFlag),p})},l.NORMALIZE_ST=e,l.QT_TO_C=r,l.INFO=a,l.SANITIZE=function(s){void 0===s&&(s=0),ht(s);var u=NaN,v=NaN,p=NaN,E=NaN;return a(function(T,m,N,V,L){var U=Math.abs,Q=!1,z=0,j=0;if(T.type&D.SMOOTH_CURVE_TO&&(z=isNaN(u)?0:m-u,j=isNaN(v)?0:N-v),T.type&(D.CURVE_TO|D.SMOOTH_CURVE_TO)?(u=T.relative?m+T.x2:T.x2,v=T.relative?N+T.y2:T.y2):(u=NaN,v=NaN),T.type&D.SMOOTH_QUAD_TO?(p=isNaN(p)?m:2*m-p,E=isNaN(E)?N:2*N-E):T.type&D.QUAD_TO?(p=T.relative?m+T.x1:T.x1,E=T.relative?N+T.y1:T.y2):(p=NaN,E=NaN),T.type&D.LINE_COMMANDS||T.type&D.ARC&&(0===T.rX||0===T.rY||!T.lArcFlag)||T.type&D.CURVE_TO||T.type&D.SMOOTH_CURVE_TO||T.type&D.QUAD_TO||T.type&D.SMOOTH_QUAD_TO){var q=void 0===T.x?0:T.relative?T.x:T.x-m,at=void 0===T.y?0:T.relative?T.y:T.y-N;z=isNaN(p)?void 0===T.x1?z:T.relative?T.x:T.x1-m:p-m,j=isNaN(E)?void 0===T.y1?j:T.relative?T.y:T.y1-N:E-N;var W=void 0===T.x2?0:T.relative?T.x:T.x2-m,lt=void 0===T.y2?0:T.relative?T.y:T.y2-N;U(q)<=s&&U(at)<=s&&U(z)<=s&&U(j)<=s&&U(W)<=s&&U(lt)<=s&&(Q=!0)}return T.type&D.CLOSE_PATH&&U(m-V)<=s&&U(N-L)<=s&&(Q=!0),Q?[]:T})},l.MATRIX=i,l.ROTATE=function(s,u,v){void 0===u&&(u=0),void 0===v&&(v=0),ht(s,u,v);var p=Math.sin(s),E=Math.cos(s);return i(E,p,-p,E,u-u*E+v*p,v-u*p-v*E)},l.TRANSLATE=function(s,u){return void 0===u&&(u=0),ht(s,u),i(1,0,0,1,s,u)},l.SCALE=function(s,u){return void 0===u&&(u=s),ht(s,u),i(s,0,0,u,0,0)},l.SKEW_X=function(s){return ht(s),i(1,0,Math.atan(s),1,0,0)},l.SKEW_Y=function(s){return ht(s),i(1,Math.atan(s),0,1,0,0)},l.X_AXIS_SYMMETRY=function(s){return void 0===s&&(s=0),ht(s),i(-1,0,0,1,s,0)},l.Y_AXIS_SYMMETRY=function(s){return void 0===s&&(s=0),ht(s),i(1,0,0,-1,0,s)},l.A_TO_C=function(){return a(function(s,u,v){return D.ARC===s.type?function(p,E,T){var m,N,V,L;p.cX||st(p,E,T);for(var U=Math.min(p.phi1,p.phi2),Q=Math.max(p.phi1,p.phi2)-U,z=Math.ceil(Q/90),j=new Array(z),q=E,at=T,W=0;WE.maxX&&(E.maxX=yt),ytE.maxY&&(E.maxY=yt),ytOt&&L(et(m,V.x1,V.x2,V.x,Ot));for(var j=0,q=Ft(N,V.y1,V.y2,V.y);jOt&&U(et(N,V.y1,V.y2,V.y,Ot))}if(V.type&D.ARC){L(V.x),U(V.y),st(V,m,N);for(var at=V.xRot/180*Math.PI,W=Math.cos(at)*V.rX,lt=Math.sin(at)*V.rX,gt=-Math.sin(at)*V.rY,mt=Math.cos(at)*V.rY,Tt=V.phi1V.phi2?[V.phi2+360,V.phi1+360]:[V.phi2,V.phi1],bt=Tt[0],Dt=Tt[1],Lt=function(yt){var Ht=180*Math.atan2(yt[1],yt[0])/Math.PI;return Htbt&&Otbt&&Otp)throw new SyntaxError('Expected positive number, got "'+p+'" at index "'+o+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"');this.curArgs.push(p),this.curArgs.length===Pt[this.curCommandType]&&(D.HORIZ_LINE_TO===this.curCommandType?i({type:D.HORIZ_LINE_TO,relative:this.curCommandRelative,x:p}):D.VERT_LINE_TO===this.curCommandType?i({type:D.VERT_LINE_TO,relative:this.curCommandRelative,y:p}):this.curCommandType===D.MOVE_TO||this.curCommandType===D.LINE_TO||this.curCommandType===D.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),D.MOVE_TO===this.curCommandType&&(this.curCommandType=D.LINE_TO)):this.curCommandType===D.CURVE_TO?i({type:D.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===D.SMOOTH_CURVE_TO?i({type:D.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===D.QUAD_TO?i({type:D.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===D.ARC&&i({type:D.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!St(s))if(","===s&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==s&&"-"!==s&&"."!==s)if(v)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==s&&"Z"!==s)if("h"===s||"H"===s)this.curCommandType=D.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=D.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=D.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=D.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=D.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=D.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=D.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=D.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=D.ARC,this.curCommandRelative="a"===s}else r.push({type:D.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal="."===s}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(r,a){void 0===a&&(a=[]);for(var i=0,o=Object.getPrototypeOf(this).parse.call(this,r);i>>q;if(o[z+3]=ye,0!==ye){var me=255/ye;o[z]=(yt*j>>>q)*me,o[z+1]=(Bt*j>>>q)*me,o[z+2]=(zt*j>>>q)*me}else o[z]=o[z+1]=o[z+2]=0;yt-=wt,Bt-=It,zt-=Ut,Ht-=Ot,wt-=L.r,It-=L.g,Ut-=L.b,Ot-=L.a;var te=pe+i+1;yt+=bt+=L.r=o[te=Q+(te>>q,Xt>0?(o[Wt]=(Ze*j>>>q)*(Xt=255/Xt),o[Wt+1]=(Je*j>>>q)*Xt,o[Wt+2]=(qe*j>>>q)*Xt):o[Wt]=o[Wt+1]=o[Wt+2]=0,Ze-=br,Je-=Sr,qe-=Cr,_e-=Ar,br-=L.r,Sr-=L.g,Cr-=L.b,Ar-=L.a,Wt=ee+((Wt=Mr+p)0&&void 0!==arguments[0]?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:l,createCanvas:(e,r)=>new OffscreenCanvas(e,r),createImage:e=>(0,f.A)(function*(){var r=yield fetch(e),a=yield r.blob();return yield createImageBitmap(a)})()};return(typeof DOMParser<"u"||typeof l>"u")&&Reflect.deleteProperty(t,"DOMParser"),t},node:function je(l){var{DOMParser:t,canvas:e,fetch:r}=l;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:e.createCanvas,createImage:e.loadImage}}});function $t(l){return l.replace(/(?!\u3000)\s+/gm," ")}function ne(l){return l.replace(/^[\n \t]+/,"")}function Ie(l){return l.replace(/[\n \t]+$/,"")}function G(l){return((l||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var it=/^[A-Z-]+$/;function pt(l){return it.test(l)?l.toLowerCase():l}function dt(l){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(l)||[];return t[2]||t[3]||t[4]}function Ct(l){if(!l.startsWith("rgb"))return l;var t=3;return l.replace(/\d+(\.\d+)?/g,(r,a)=>t--&&a?String(Math.round(parseFloat(r))):r)}var fe=/(\[[^\]]+\])/g,Me=/(#[^\s+>~.[:]+)/g,ve=/(\.[^\s+>~.[:]+)/g,ce=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,ze=/(:[\w-]+\([^)]*\))/gi,Ge=/(:[^\s+>~.[:]+)/g,ar=/([^\s+>~.[:]+)/g;function Te(l,t){var e=t.exec(l);return e?[l.replace(t," "),e.length]:[l,0]}function wr(l){var t=[0,0,0],e=l.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[e,r]=Te(e,fe),t[1]+=r,[e,r]=Te(e,Me),t[0]+=r,[e,r]=Te(e,ve),t[1]+=r,[e,r]=Te(e,ce),t[2]+=r,[e,r]=Te(e,ze),t[1]+=r,[e,r]=Te(e,Ge),t[1]+=r,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,r]=Te(e,ar),t[2]+=r,t.join("")}var Oe=1e-8;function ir(l){return Math.sqrt(Math.pow(l[0],2)+Math.pow(l[1],2))}function $e(l,t){return(l[0]*t[0]+l[1]*t[1])/(ir(l)*ir(t))}function sr(l,t){return(l[0]*t[1]{class l{constructor(e,r,a){this.document=e,this.name=r,this.value=a,this.isNormalizedColor=!1}static empty(e){return new l(e,"EMPTY","")}split(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:r,name:a}=this;return $t(this.getString()).trim().split(e).map(i=>new l(r,a,i))}hasValue(e){var{value:r}=this;return null!==r&&""!==r&&(e||0!==r)&&typeof r<"u"}isString(e){var{value:r}=this,a="string"==typeof r;return a&&e?e.test(r):a}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return typeof e>"u"||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var{value:r}=this,a=parseFloat(r);return this.isString(/%$/)&&(a/=100),a}getString(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}getColor(e){var r=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=Ct(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[a,i]="boolean"==typeof e?[void 0,e]:[e],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(a);default:var s=this.getNumber();return r&&s<1?s*o.computeSize(a):s}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var e=this.getString(),r=/#([^)'"]+)/.exec(e);return r&&(r=r[1]),r||(r=e),this.document.definitions[r]}getFillStyleDefinition(e,r){var a=this.getDefinition();if(!a)return null;if("function"==typeof a.createGradient)return a.createGradient(this.document.ctx,e,r);if("function"==typeof a.createPattern){if(a.getHrefAttribute().hasValue()){var i=a.getAttribute("patternTransform");a=a.getHrefAttribute().getDefinition(),i.hasValue()&&a.getAttribute("patternTransform",!0).setValue(i.value)}return a.createPattern(this.document.ctx,e,r)}return null}getTextBaseline(){return this.hasValue()?l.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var r=this.getColor(),a=r.length,i=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:0,[r=e,a=e]=G(t);return new Rt(r,a)}static parseScale(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[r=e,a=r]=G(t);return new Rt(r,a)}static parsePath(t){for(var e=G(t),r=e.length,a=[],i=0;i0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:r}=this,{style:a}=t.ctx.canvas;a&&(a.cursor=""),e.forEach((i,o)=>{for(var{run:s}=i,u=r[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(t,e){if(this.working&&e){var{events:r,eventElements:a}=this;r.forEach((i,o)=>{var{x:s,y:u}=i;!a[o]&&e.isPointInPath&&e.isPointInPath(s,u)&&(a[o]=t)})}}checkBoundingBox(t,e){if(this.working&&e){var{events:r,eventElements:a}=this;r.forEach((i,o)=>{var{x:s,y:u}=i;!a[o]&&e.isPointInBox(s,u)&&(a[o]=t)})}}mapXY(t,e){for(var{window:r,ctx:a}=this.screen,i=new Rt(t,e),o=a.canvas;o;)i.x-=o.offsetLeft,i.y-=o.offsetTop,o=o.offsetParent;return r.scrollX&&(i.x+=r.scrollX),r.scrollY&&(i.y+=r.scrollY),i}onClick(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:e,y:r,run(a){a.onClick&&a.onClick()}})}onMouseMove(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:e,y:r,run(a){a.onMouseMove&&a.onMouseMove()}})}}var Lr=typeof window<"u"?window:null,Br=typeof fetch<"u"?fetch.bind(void 0):null;let gr=(()=>{class l{constructor(e){var{fetch:r=Br,window:a=Lr}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Vr,this.mouse=new Dr(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=r}wait(e){this.waits.push(e)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var e=this.waits.every(r=>r());return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}setDefaults(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}setViewBox(e){var{document:r,ctx:a,aspectRatio:i,width:o,desiredWidth:s,height:u,desiredHeight:v,minX:p=0,minY:E=0,refX:T,refY:m,clip:N=!1,clipX:V=0,clipY:L=0}=e,U=$t(i).replace(/^defer\s/,""),[Q,z]=U.split(" "),j=Q||"xMidYMid",q=z||"meet",at=o/s,W=u/v,lt=Math.min(at,W),gt=Math.max(at,W),mt=s,Tt=v;"meet"===q&&(mt*=lt,Tt*=lt),"slice"===q&&(mt*=gt,Tt*=gt);var bt=new _(r,"refX",T),Dt=new _(r,"refY",m),Lt=bt.hasValue()&&Dt.hasValue();if(Lt&&a.translate(-lt*bt.getPixels("x"),-lt*Dt.getPixels("y")),N){var At=lt*V,wt=lt*L;a.beginPath(),a.moveTo(At,wt),a.lineTo(o,wt),a.lineTo(o,u),a.lineTo(At,u),a.closePath(),a.clip()}if(!Lt){var It="meet"===q&<===W,Ut="slice"===q&>===W,Ot="meet"===q&<===at,yt="slice"===q&>===at;j.startsWith("xMid")&&(It||Ut)&&a.translate(o/2-mt/2,0),j.endsWith("YMid")&&(Ot||yt)&&a.translate(0,u/2-Tt/2),j.startsWith("xMax")&&(It||Ut)&&a.translate(o-mt,0),j.endsWith("YMax")&&(Ot||yt)&&a.translate(0,u-Tt)}switch(!0){case"none"===j:a.scale(at,W);break;case"meet"===q:a.scale(lt,lt);break;case"slice"===q:a.scale(gt,gt)}a.translate(-p,-E)}start(e){var{enableRedraw:r=!1,ignoreMouse:a=!1,ignoreAnimation:i=!1,ignoreDimensions:o=!1,ignoreClear:s=!1,forceRedraw:u,scaleWidth:v,scaleHeight:p,offsetX:E,offsetY:T}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:m,mouse:N}=this,V=1e3/m;if(this.frameDuration=V,this.readyPromise=new Promise(j=>{this.resolveReady=j}),this.isReady()&&this.render(e,o,s,v,p,E,T),r){var L=Date.now(),U=L,Q=0,z=()=>{L=Date.now(),(Q=L-U)>=V&&(U=L-Q%V,this.shouldUpdate(i,u)&&(this.render(e,o,s,v,p,E,T),N.runEvents())),this.intervalId=I(z)};a||N.start(),this.intervalId=I(z)}}stop(){this.intervalId&&(I.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,r){if(!e){var{frameDuration:a}=this;if(this.animations.reduce((o,s)=>s.update(a)||o,!1))return!0}return!!("function"==typeof r&&r()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(e,r,a,i,o,s,u){var{CLIENT_WIDTH:v,CLIENT_HEIGHT:p,viewPort:E,ctx:T,isFirstRender:m}=this,N=T.canvas;E.clear(),N.width&&N.height?E.setCurrent(N.width,N.height):E.setCurrent(v,p);var V=e.getStyle("width"),L=e.getStyle("height");!r&&(m||"number"!=typeof i&&"number"!=typeof o)&&(V.hasValue()&&(N.width=V.getPixels("x"),N.style&&(N.style.width="".concat(N.width,"px"))),L.hasValue()&&(N.height=L.getPixels("y"),N.style&&(N.style.height="".concat(N.height,"px"))));var U=N.clientWidth||N.width,Q=N.clientHeight||N.height;if(r&&V.hasValue()&&L.hasValue()&&(U=V.getPixels("x"),Q=L.getPixels("y")),E.setCurrent(U,Q),"number"==typeof s&&e.getAttribute("x",!0).setValue(s),"number"==typeof u&&e.getAttribute("y",!0).setValue(u),"number"==typeof i||"number"==typeof o){var z=G(e.getAttribute("viewBox").getString()),j=0,q=0;if("number"==typeof i){var at=e.getStyle("width");at.hasValue()?j=at.getPixels("x")/i:isNaN(z[2])||(j=z[2]/i)}if("number"==typeof o){var W=e.getStyle("height");W.hasValue()?q=W.getPixels("y")/o:isNaN(z[3])||(q=z[3]/o)}j||(j=q),q||(q=j),e.getAttribute("width",!0).setValue(i),e.getAttribute("height",!0).setValue(o);var lt=e.getStyle("transform",!0,!0);lt.setValue("".concat(lt.getString()," scale(").concat(1/j,", ").concat(1/q,")"))}a||T.clearRect(0,0,U,Q),e.render(T),m&&(this.isFirstRender=!1)}}return l.defaultWindow=Lr,l.defaultFetch=Br,l})();var{defaultFetch:Nn}=gr,In=typeof DOMParser<"u"?DOMParser:null;class He{constructor(){var{fetch:t=Nn,DOMParser:e=In}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return(0,f.A)(function*(){return t.startsWith("<")?e.parseFromString(t):e.load(t)})()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch{return this.checkDocument(e.parseFromString(t,"text/xml"))}}checkDocument(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return(0,f.A)(function*(){var r=yield e.fetch(t),a=yield r.text();return e.parseFromString(a)})()}}class Fr{constructor(t,e){this.type="translate",this.point=null,this.point=Rt.parse(e)}apply(t){var{x:e,y:r}=this.point;t.translate(e||0,r||0)}unapply(t){var{x:e,y:r}=this.point;t.translate(-1*e||0,-1*r||0)}applyToPoint(t){var{x:e,y:r}=this.point;t.applyTransform([1,0,0,1,e||0,r||0])}}class Ur{constructor(t,e,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=G(e);this.angle=new _(t,"angle",a[0]),this.originX=r[0],this.originY=r[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(t){var{cx:e,cy:r,originX:a,originY:i,angle:o}=this,s=e+a.getPixels("x"),u=r+i.getPixels("y");t.translate(s,u),t.rotate(o.getRadians()),t.translate(-s,-u)}unapply(t){var{cx:e,cy:r,originX:a,originY:i,angle:o}=this,s=e+a.getPixels("x"),u=r+i.getPixels("y");t.translate(s,u),t.rotate(-1*o.getRadians()),t.translate(-s,-u)}applyToPoint(t){var{cx:e,cy:r,angle:a}=this,i=a.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(i),Math.sin(i),-Math.sin(i),Math.cos(i),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}class jr{constructor(t,e,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=Rt.parseScale(e);(0===a.x||0===a.y)&&(a.x=Oe,a.y=Oe),this.scale=a,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:e,y:r},originX:a,originY:i}=this,o=a.getPixels("x"),s=i.getPixels("y");t.translate(o,s),t.scale(e,r||e),t.translate(-o,-s)}unapply(t){var{scale:{x:e,y:r},originX:a,originY:i}=this,o=a.getPixels("x"),s=i.getPixels("y");t.translate(o,s),t.scale(1/e,1/r||e),t.translate(-o,-s)}applyToPoint(t){var{x:e,y:r}=this.scale;t.applyTransform([e||0,0,0,r||0,0,0])}}class dr{constructor(t,e,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=G(e),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:e,originY:r,matrix:a}=this,i=e.getPixels("x"),o=r.getPixels("y");t.translate(i,o),t.transform(a[0],a[1],a[2],a[3],a[4],a[5]),t.translate(-i,-o)}unapply(t){var{originX:e,originY:r,matrix:a}=this,i=a[0],o=a[2],s=a[4],u=a[1],v=a[3],p=a[5],N=1/(i*(1*v-0*p)-o*(1*u-0*p)+s*(0*u-0*v)),V=e.getPixels("x"),L=r.getPixels("y");t.translate(V,L),t.transform(N*(1*v-0*p),N*(0*p-1*u),N*(0*s-1*o),N*(1*i-0*s),N*(o*p-s*v),N*(s*u-i*p)),t.translate(-V,-L)}applyToPoint(t){t.applyTransform(this.matrix)}}class pr extends dr{constructor(t,e,r){super(t,e,r),this.type="skew",this.angle=null,this.angle=new _(t,"angle",e)}}class zr extends pr{constructor(t,e,r){super(t,e,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Gr extends pr{constructor(t,e,r){super(t,e,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}let Ye=(()=>{class l{constructor(e,r,a){this.document=e,this.transforms=[];var i=function Mn(l){return $t(l).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);i.forEach(o=>{if("none"!==o){var[s,u]=function wn(l){var[t,e]=l.split("(");return[t.trim(),e.trim().replace(")","")]}(o),v=l.transformTypes[s];typeof v<"u"&&this.transforms.push(new v(this.document,u,a))}})}static fromElement(e,r){var a=r.getStyle("transform",!1,!0),[i,o=i]=r.getStyle("transform-origin",!1,!0).split(),s=[i,o];return a.hasValue()?new l(e,a.getString(),s):null}apply(e){for(var{transforms:r}=this,a=r.length,i=0;i=0;i--)r[i].unapply(e)}applyToPoint(e){for(var{transforms:r}=this,a=r.length,i=0;i{class l{constructor(e,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=e,this.node=r,this.captureTextNodes=a,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){Array.from(r.attributes).forEach(u=>{var v=pt(u.nodeName);this.attributes[v]=new _(e,v,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(u=>u.trim()).forEach(u=>{if(u){var[v,p]=u.split(":").map(E=>E.trim());this.styles[v]=new _(e,v,p)}});var{definitions:o}=e,s=this.getAttribute("id");s.hasValue()&&(o[s.getString()]||(o[s.getString()]=this)),Array.from(r.childNodes).forEach(u=>{if(1===u.nodeType)this.addChild(u);else if(a&&(3===u.nodeType||4===u.nodeType)){var v=e.createTextNode(u);v.getText().length>0&&this.addChild(v)}})}}getAttribute(e){var a=this.attributes[e];if(!a&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var i=new _(this.document,e,"");return this.attributes[e]=i,i}return a||_.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if("href"===e||e.endsWith(":href"))return this.attributes[e];return _.empty(this.document)}getStyle(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[e];if(i)return i;var o=this.getAttribute(e);if(null!=o&&o.hasValue())return this.styles[e]=o,o;if(!a){var{parent:s}=this;if(s){var u=s.getStyle(e);if(null!=u&&u.hasValue())return u}}if(r){var v=new _(this.document,e,"");return this.styles[e]=v,v}return i||_.empty(this.document)}render(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var a=this.getStyle("filter").getDefinition();a&&(this.applyEffects(e),a.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var r=Ye.fromElement(this.document,this);r&&r.apply(e);var a=this.getStyle("clip-path",!1,!0);if(a.hasValue()){var i=a.getDefinition();i&&i.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(r=>{r.render(e)})}addChild(e){var r=e instanceof l?e:this.document.createElement(e);r.parent=this,l.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(e){var r,{node:a}=this;if("function"==typeof a.matches)return a.matches(e);var i=null===(r=a.getAttribute)||void 0===r?void 0:r.call(a,"class");return!(!i||""===i)&&i.split(" ").some(o=>".".concat(o)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:r}=this.document;for(var a in e)if(!a.startsWith("@")&&this.matchesSelector(a)){var i=e[a],o=r[a];if(i)for(var s in i){var u=this.stylesSpecificity[s];typeof u>"u"&&(u="000"),o>=u&&(this.styles[s]=i[s],this.stylesSpecificity[s]=o)}}}removeStyles(e,r){return r.reduce((i,o)=>{var s=e.getStyle(o);if(!s.hasValue())return i;var u=s.getString();return s.setValue(""),[...i,[o,u]]},[])}restoreStyles(e,r){r.forEach(a=>{var[i,o]=a;e.getStyle(i,!0).setValue(o)})}isFirstChild(){var e;return 0===(null===(e=this.parent)||void 0===e?void 0:e.children.indexOf(this))}}return l.ignoreChildTypes=["title"],l})();class $r extends Nt{constructor(t,e,r){super(t,e,r)}}function Vn(l){var t=l.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function Dn(l){return typeof process>"u"?l:l.trim().split(",").map(Vn).join(",")}function Ln(l){if(!l)return"";var t=l.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function Bn(l){if(!l)return"";var t=l.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}let be=(()=>{class l{constructor(e,r,a,i,o,s){var u=s?"string"==typeof s?l.parse(s):s:{};this.fontFamily=o||u.fontFamily,this.fontSize=i||u.fontSize,this.fontStyle=e||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=r||u.fontVariant}static parse(){var r=arguments.length>1?arguments[1]:void 0,a="",i="",o="",s="",u="",v=$t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),p={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return v.forEach(E=>{switch(!0){case!p.fontStyle&&l.styles.includes(E):"inherit"!==E&&(a=E),p.fontStyle=!0;break;case!p.fontVariant&&l.variants.includes(E):"inherit"!==E&&(i=E),p.fontStyle=!0,p.fontVariant=!0;break;case!p.fontWeight&&l.weights.includes(E):"inherit"!==E&&(o=E),p.fontStyle=!0,p.fontVariant=!0,p.fontWeight=!0;break;case!p.fontSize:"inherit"!==E&&([s]=E.split("/")),p.fontStyle=!0,p.fontVariant=!0,p.fontWeight=!0,p.fontSize=!0;break;default:"inherit"!==E&&(u+=E)}}),new l(a,i,o,s,u,r)}toString(){return[Ln(this.fontStyle),this.fontVariant,Bn(this.fontWeight),this.fontSize,Dn(this.fontFamily)].join(" ").trim()}}return l.styles="normal|italic|oblique|inherit",l.variants="normal|small-caps|inherit",l.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",l})();class Qt{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=r,this.y2=a,this.addPoint(t,e),this.addPoint(r,a)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,e){typeof t<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),tthis.x2&&(this.x2=t)),typeof e<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:r,x2:a,y2:i}=t;this.addPoint(e,r),this.addPoint(a,i)}}sumCubic(t,e,r,a,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*a+Math.pow(t,3)*i}bezierCurveAdd(t,e,r,a,i){var o=6*e-12*r+6*a,s=-3*e+9*r-9*a+3*i,u=3*r-3*e;if(0!==s){var p=Math.pow(o,2)-4*u*s;if(!(p<0)){var E=(-o+Math.sqrt(p))/(2*s);0=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var r=new Rt(this.command[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x"],this.command[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"]);return this.makeAbsolute(r)}getAsControlPoint(t,e){var r=this.getPoint(t,e);return this.control=r,r}getAsCurrentPoint(t,e){var r=this.getPoint(t,e);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==D.CURVE_TO&&t!==D.SMOOTH_CURVE_TO&&t!==D.QUAD_TO&&t!==D.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:a,y:i}}=this;return new Rt(2*e-a,2*r-i)}makeAbsolute(t){if(this.command.relative){var{x:e,y:r}=this.current;t.x+=e,t.y+=r}return t}addMarker(t,e,r){var{points:a,angles:i}=this;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=a[a.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,r=0;r1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),a=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var s=r.getFillStyleDefinition(this,a);s&&(t.fillStyle=s)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var u=r.getColor();"inherit"!==u&&(t.fillStyle="none"===u?"rgba(0,0,0,0)":u)}if(a.hasValue()){var v=new _(this.document,"fill",t.fillStyle).addOpacity(a).getColor();t.fillStyle=v}if(i.isUrlDefinition()){var p=i.getFillStyleDefinition(this,o);p&&(t.strokeStyle=p)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var E=i.getString();"inherit"!==E&&(t.strokeStyle="none"===E?"rgba(0,0,0,0)":E)}if(o.hasValue()){var T=new _(this.document,"stroke",t.strokeStyle).addOpacity(o).getString();t.strokeStyle=T}var m=this.getStyle("stroke-width");if(m.hasValue()){var N=m.getPixels();t.lineWidth=N||Oe}var V=this.getStyle("stroke-linecap"),L=this.getStyle("stroke-linejoin"),U=this.getStyle("stroke-miterlimit"),Q=this.getStyle("stroke-dasharray"),z=this.getStyle("stroke-dashoffset");if(V.hasValue()&&(t.lineCap=V.getString()),L.hasValue()&&(t.lineJoin=L.getString()),U.hasValue()&&(t.miterLimit=U.getNumber()),Q.hasValue()&&"none"!==Q.getString()){var j=G(Q.getString());typeof t.setLineDash<"u"?t.setLineDash(j):typeof t.webkitLineDash<"u"?t.webkitLineDash=j:typeof t.mozDash<"u"&&(1!==j.length||0!==j[0])&&(t.mozDash=j);var q=z.getPixels();typeof t.lineDashOffset<"u"?t.lineDashOffset=q:typeof t.webkitLineDashOffset<"u"?t.webkitLineDashOffset=q:typeof t.mozDashOffset<"u"&&(t.mozDashOffset=q)}}if(this.modifiedEmSizeStack=!1,typeof t.font<"u"){var at=this.getStyle("font"),W=this.getStyle("font-style"),lt=this.getStyle("font-variant"),gt=this.getStyle("font-weight"),mt=this.getStyle("font-size"),Tt=this.getStyle("font-family"),bt=new be(W.getString(),lt.getString(),gt.getString(),mt.hasValue()?"".concat(mt.getPixels(!0),"px"):"",Tt.getString(),be.parse(at.getString(),t.font));W.setValue(bt.fontStyle),lt.setValue(bt.fontVariant),gt.setValue(bt.fontWeight),mt.setValue(bt.fontSize),Tt.setValue(bt.fontFamily),t.font=bt.toString(),mt.isPixels()&&(this.document.emSize=mt.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class Et extends ge{constructor(t,e,r){super(t,e,r),this.type="path",this.pathParser=null,this.pathParser=new nt(this.getAttribute("d").getString())}path(t){var{pathParser:e}=this,r=new Qt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case nt.MOVE_TO:this.pathM(t,r);break;case nt.LINE_TO:this.pathL(t,r);break;case nt.HORIZ_LINE_TO:this.pathH(t,r);break;case nt.VERT_LINE_TO:this.pathV(t,r);break;case nt.CURVE_TO:this.pathC(t,r);break;case nt.SMOOTH_CURVE_TO:this.pathS(t,r);break;case nt.QUAD_TO:this.pathQ(t,r);break;case nt.SMOOTH_QUAD_TO:this.pathT(t,r);break;case nt.ARC:this.pathA(t,r);break;case nt.CLOSE_PATH:this.pathZ(t,r)}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),r=t.getMarkerAngles();return e.map((i,o)=>[i,r[o]])}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==e.getString("inherit")?t.fill(e.getString()):t.fill()),""!==t.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var a=r.length-1,i=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(i.isUrlDefinition()){var u=i.getDefinition(),[v,p]=r[0];u.render(t,v,p)}if(o.isUrlDefinition())for(var E=o.getDefinition(),T=1;T1&&(a*=Math.sqrt(T),i*=Math.sqrt(T));var m=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(i,2)-Math.pow(a,2)*Math.pow(E.y,2)-Math.pow(i,2)*Math.pow(E.x,2))/(Math.pow(a,2)*Math.pow(E.y,2)+Math.pow(i,2)*Math.pow(E.x,2)));isNaN(m)&&(m=0);var N=new Rt(m*a*E.y/i,m*-i*E.x/a),V=new Rt((e.x+p.x)/2+Math.cos(v)*N.x-Math.sin(v)*N.y,(e.y+p.y)/2+Math.sin(v)*N.x+Math.cos(v)*N.y),L=sr([1,0],[(E.x-N.x)/a,(E.y-N.y)/i]),U=[(E.x-N.x)/a,(E.y-N.y)/i],Q=[(-E.x-N.x)/a,(-E.y-N.y)/i],z=sr(U,Q);return $e(U,Q)<=-1&&(z=Math.PI),$e(U,Q)>=1&&(z=0),{currentPoint:p,rX:a,rY:i,sweepFlag:u,xAxisRotation:v,centp:V,a1:L,ad:z}}pathA(t,e){var{pathParser:r}=this,{currentPoint:a,rX:i,rY:o,sweepFlag:s,xAxisRotation:u,centp:v,a1:p,ad:E}=Et.pathA(r),T=1-s?1:-1,m=p+T*(E/2),N=new Rt(v.x+i*Math.cos(m),v.y+o*Math.sin(m));if(r.addMarkerAngle(N,m-T*Math.PI/2),r.addMarkerAngle(a,m-T*Math.PI),e.addPoint(a.x,a.y),t&&!isNaN(p)&&!isNaN(E)){var V=i>o?i:o,L=i>o?1:i/o,U=i>o?o/i:1;t.translate(v.x,v.y),t.rotate(u),t.scale(L,U),t.arc(0,0,V,p,p+E,!!(1-s)),t.scale(1/L,1/U),t.rotate(-u),t.translate(-v.x,-v.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){Et.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}class yr extends Et{constructor(t,e,r){super(t,e,r),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class ae extends ge{constructor(t,e,r){super(t,e,new.target===ae||r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){super.setContext(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach((r,a)=>{var i=this.getChildBoundingBox(t,this,this,a);e?e.addBoundingBox(i):e=i}),e}getFontSize(){var{document:t,parent:e}=this,r=be.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}getTElementBoundingBox(t){var e=this.getFontSize();return new Qt(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,r){var a=e[r],i=null;if(t.isArabic){var o=e.length,s=e[r-1],u=e[r+1],v="isolated";if((0===r||" "===s)&&r0&&" "!==s&&r0&&" "!==s&&(r===o-1||" "===u)&&(v="initial"),typeof t.glyphs[a]<"u"){var p=t.glyphs[a];i=p instanceof yr?p:p[v]}}else i=t.glyphs[a];return i||(i=t.missingGlyph),i}getText(){return""}getTextFromNode(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),a=r.indexOf(e),i=r.length-1,o=$t(e.textContent||"");return 0===a&&(o=ne(o)),a===i&&(o=Ie(o)),o}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((r,a)=>{this.renderChild(t,this,this,a)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:e,parent:r}=this,a=this.getText(),i=r.getStyle("font-family").getDefinition();if(i)for(var{unitsPerEm:o}=i.fontFace,s=be.parse(e.ctx.font),u=r.getStyle("font-size").getNumber(s.fontSize),v=r.getStyle("font-style").getString(s.fontStyle),p=u/o,E=i.isRTL?a.split("").reverse().join(""):a,T=G(r.getAttribute("dx").getString()),m=E.length,N=0;N=this.leafTexts.length)){var a,t=this.leafTexts[this.textChunkStart],e=t.getStyle("text-anchor").getString("start");a="start"===e?t.x-this.minX:"end"===e?t.x-this.maxX:t.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,r,a){var i=r.children[a];i.children.length>0?i.children.forEach((o,s)=>{e.adjustChildCoordinatesRecursiveCore(t,e,i,s)}):this.adjustChildCoordinates(t,e,r,a)}adjustChildCoordinates(t,e,r,a){var i=r.children[a];if("function"!=typeof i.measureText)return i;t.save(),i.setContext(t,!0);var o=i.getAttribute("x"),s=i.getAttribute("y"),u=i.getAttribute("dx"),v=i.getAttribute("dy"),p=i.getStyle("font-family").getDefinition(),E=!!p&&p.isRTL;0===a&&(o.hasValue()||o.setValue(i.getInheritedAttribute("x")),s.hasValue()||s.setValue(i.getInheritedAttribute("y")),u.hasValue()||u.setValue(i.getInheritedAttribute("dx")),v.hasValue()||v.setValue(i.getInheritedAttribute("dy")));var T=i.measureText(t);return E&&(e.x-=T),o.hasValue()?(e.applyAnchoring(),i.x=o.getPixels("x"),u.hasValue()&&(i.x+=u.getPixels("x"))):(u.hasValue()&&(e.x+=u.getPixels("x")),i.x=e.x),e.x=i.x,E||(e.x+=T),s.hasValue()?(i.y=s.getPixels("y"),v.hasValue()&&(i.y+=v.getPixels("y"))):(v.hasValue()&&(e.y+=v.getPixels("y")),i.y=e.y),e.y=i.y,e.leafTexts.push(i),e.minX=Math.min(e.minX,i.x,i.x+T),e.maxX=Math.max(e.maxX,i.x,i.x+T),i.clearContext(t),t.restore(),i}getChildBoundingBox(t,e,r,a){var i=r.children[a];if("function"!=typeof i.getBoundingBox)return null;var o=i.getBoundingBox(t);return o?(i.children.forEach((s,u)=>{var v=e.getChildBoundingBox(t,e,i,u);o.addBoundingBox(v)}),o):null}renderChild(t,e,r,a){var i=r.children[a];i.render(t),i.children.forEach((o,s)=>{e.renderChild(t,e,i,s)})}measureText(t){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),a=this.measureTargetText(t,r);return this.measureCache=a,a}measureTargetText(t,e){if(!e.length)return 0;var{parent:r}=this,a=r.getStyle("font-family").getDefinition();if(a){for(var i=this.getFontSize(),o=a.isRTL?e.split("").reverse().join(""):e,s=G(r.getAttribute("dx").getString()),u=o.length,v=0,p=0;p0?"":this.getTextFromNode()}getText(){return this.text}}class Fn extends Fe{constructor(){super(...arguments),this.type="textNode"}}class we extends ge{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var e,{document:r}=this,{screen:a,window:i}=r,o=t.canvas;if(a.setDefaults(t),o.style&&typeof t.font<"u"&&i&&typeof i.getComputedStyle<"u"){t.font=i.getComputedStyle(o).getPropertyValue("font");var s=new _(r,"fontSize",be.parse(t.font).fontSize);s.hasValue()&&(r.rootEmSize=s.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:v}=a.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var p=this.getAttribute("refX"),E=this.getAttribute("refY"),T=this.getAttribute("viewBox"),m=T.hasValue()?G(T.getString()):null,N=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),V=0,L=0,U=0,Q=0;m&&(V=m[0],L=m[1]),this.root||(u=this.getStyle("width").getPixels("x"),v=this.getStyle("height").getPixels("y"),"marker"===this.type&&(U=V,Q=L,V=0,L=0)),a.viewPort.setCurrent(u,v),this.node&&(!this.parent||"foreignObject"===(null===(e=this.node.parentNode)||void 0===e?void 0:e.nodeName))&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),m&&(u=m[2],v=m[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:v,minX:V,minY:L,refX:p.getValue(),refY:E.getValue(),clip:N,clipX:U,clipY:Q}),m&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,v))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.getAttribute("width",!0),i=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),v=i.getNumber(0);if(r)if("string"==typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var p=this.getAttribute("preserveAspectRatio");p.hasValue()&&p.setValue(p.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(t),i.setValue(e),o.hasValue()||o.setValue("0 0 ".concat(u||t," ").concat(v||e)),s.hasValue()){var E=this.getStyle("width"),T=this.getStyle("height");E.hasValue()&&E.setValue("".concat(t,"px")),T.hasValue()&&T.setValue("".concat(e,"px"))}}}class mr extends Et{constructor(){super(...arguments),this.type="rect"}path(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),v=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(v=u),s.hasValue()&&!o.hasValue()&&(u=v),u=Math.min(u,a/2),v=Math.min(v,i/2),t){var p=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&a>0&&(t.moveTo(e+u,r),t.lineTo(e+a-u,r),t.bezierCurveTo(e+a-u+p*u,r,e+a,r+v-p*v,e+a,r+v),t.lineTo(e+a,r+i-v),t.bezierCurveTo(e+a,r+i-v+p*v,e+a-u+p*u,r+i,e+a-u,r+i),t.lineTo(e+u,r+i),t.bezierCurveTo(e+u-p*u,r+i,e,r+i-v+p*v,e,r+i-v),t.lineTo(e,r+v),t.bezierCurveTo(e,r+v-p*v,e+u-p*u,r,e+u,r),t.closePath())}return new Qt(e,r,e+a,r+i)}getMarkers(){return null}}class Hr extends Et{constructor(){super(...arguments),this.type="circle"}path(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return t&&a>0&&(t.beginPath(),t.arc(e,r,a,0,2*Math.PI,!1),t.closePath()),new Qt(e-a,r-a,e+a,r+a)}getMarkers(){return null}}class Yr extends Et{constructor(){super(...arguments),this.type="ellipse"}path(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return t&&r>0&&a>0&&(t.beginPath(),t.moveTo(i+r,o),t.bezierCurveTo(i+r,o+e*a,i+e*r,o+a,i,o+a),t.bezierCurveTo(i-e*r,o+a,i-r,o+e*a,i-r,o),t.bezierCurveTo(i-r,o-e*a,i-e*r,o-a,i,o-a),t.bezierCurveTo(i+e*r,o-a,i+r,o-e*a,i+r,o),t.closePath()),new Qt(i-r,o-a,i+r,o+a)}getMarkers(){return null}}class Xr extends Et{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Rt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Rt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:e,y:r},{x:a,y:i}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,r),t.lineTo(a,i)),new Qt(e,r,a,i)}getMarkers(){var[t,e]=this.getPoints(),r=t.angleTo(e);return[[t,r],[e,r]]}}class xr extends Et{constructor(t,e,r){super(t,e,r),this.type="polyline",this.points=[],this.points=Rt.parsePath(this.getAttribute("points").getString())}path(t){var{points:e}=this,[{x:r,y:a}]=e,i=new Qt(r,a);return t&&(t.beginPath(),t.moveTo(r,a)),e.forEach(o=>{var{x:s,y:u}=o;i.addPoint(s,u),t&&t.lineTo(s,u)}),i}getMarkers(){var{points:t}=this,e=t.length-1,r=[];return t.forEach((a,i)=>{i!==e&&r.push([a,a.angleTo(t[i+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Wr extends xr{constructor(){super(...arguments),this.type="polygon"}path(t){var e=super.path(t),[{x:r,y:a}]=this.points;return t&&(t.lineTo(r,a),t.closePath()),e}}class Qr extends Nt{constructor(){super(...arguments),this.type="pattern"}createPattern(t,e,r){var a=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),o=new we(this.document,null);o.attributes.viewBox=new _(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new _(this.document,"width","".concat(a,"px")),o.attributes.height=new _(this.document,"height","".concat(i,"px")),o.attributes.transform=new _(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,i),u=s.getContext("2d"),v=this.getAttribute("x"),p=this.getAttribute("y");v.hasValue()&&p.hasValue()&&u.translate(v.getPixels("x",!0),p.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var E=-1;E<=1;E++)for(var T=-1;T<=1;T++)u.save(),o.attributes.x=new _(this.document,"x",E*s.width),o.attributes.y=new _(this.document,"y",T*s.height),o.render(u),u.restore();return t.createPattern(s,"repeat")}}class Kr extends Nt{constructor(){super(...arguments),this.type="marker"}render(t,e,r){if(e){var{x:a,y:i}=e,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(a,i),"auto"===o&&t.rotate(r),"strokeWidth"===s&&t.scale(t.lineWidth,t.lineWidth),t.save();var u=new we(this.document,null);u.type=this.type,u.attributes.viewBox=new _(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new _(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new _(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new _(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new _(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new _(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new _(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new _(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(t),t.restore(),"strokeWidth"===s&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===o&&t.rotate(-r),t.translate(-a,-i)}}}class kr extends Nt{constructor(){super(...arguments),this.type="defs"}render(){}}class Xe extends ge{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var e=new Qt;return this.children.forEach(r=>{e.addBoundingBox(r.getBoundingBox(t))}),e}}class Er extends Nt{constructor(t,e,r){super(t,e,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:i}=this;i.forEach(o=>{"stop"===o.type&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,e,r){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:i}=a,o=this.getGradient(t,e);if(!o)return this.addParentOpacity(r,i[i.length-1].color);if(i.forEach(L=>{o.addColorStop(L.offset,this.addParentOpacity(r,L.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:v}=s.screen,[p]=v.viewPorts,E=new mr(s,null);E.attributes.x=new _(s,"x",-u/3),E.attributes.y=new _(s,"y",-u/3),E.attributes.width=new _(s,"width",u),E.attributes.height=new _(s,"height",u);var T=new Xe(s,null);T.attributes.transform=new _(s,"transform",this.getAttribute("gradientTransform").getValue()),T.children=[E];var m=new we(s,null);m.attributes.x=new _(s,"x",0),m.attributes.y=new _(s,"y",0),m.attributes.width=new _(s,"width",p.width),m.attributes.height=new _(s,"height",p.height),m.children=[T];var N=s.createCanvas(p.width,p.height),V=N.getContext("2d");return V.fillStyle=o,m.render(V),V.createPattern(N,"no-repeat")}return o}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(t,e){return t.hasValue()?new _(this.document,"color",e).addOpacity(t).getColor():e}}class Zr extends Er{constructor(t,e,r){super(t,e,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,e){var r="objectBoundingBox"===this.getGradientUnits(),a=r?e.getBoundingBox(t):null;if(r&&!a)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var i=r?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=r?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=r?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=r?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===s&&o===u?null:t.createLinearGradient(i,o,s,u)}}class Jr extends Er{constructor(t,e,r){super(t,e,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,e){var r="objectBoundingBox"===this.getGradientUnits(),a=e.getBoundingBox(t);if(r&&!a)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var i=r?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=r?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=i,u=o;this.getAttribute("fx").hasValue()&&(s=r?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=r?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var v=r?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),p=this.getAttribute("fr").getPixels();return t.createRadialGradient(s,u,p,i,o,v)}}class qr extends Nt{constructor(t,e,r){super(t,e,r),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),i=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);""===o.getString()&&o.setValue("#000"),i.hasValue()&&(o=o.addOpacity(i)),this.offset=a,this.color=o.getColor()}}class We extends Nt{constructor(t,e,r){super(t,e,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new _(t,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:r,to:a}=this.getProgress(),i=r.getNumber()+(a.getNumber()-r.getNumber())*e;return"%"===t&&(i*=100),"".concat(i).concat(t)}update(t){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==a||this.frozen){if("remove"===a&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var i=!1;if(this.begins+(i[u]-s)*t).join(" ")}}class en extends Nt{constructor(t,e,r){super(t,e,r),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=t,{children:i}=this;for(var o of i)switch(o.type){case"font-face":this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break;case"missing-glyph":this.missingGlyph=o;break;case"glyph":var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u}}render(){}}class rn extends Nt{constructor(t,e,r){super(t,e,r),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class nn extends Et{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class an extends ae{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}class sn extends ae{constructor(t,e,r){super(t,e,r),this.type="a";var{childNodes:a}=e,i=a[0],o=a.length>0&&Array.from(a).every(s=>3===s.nodeType);this.hasText=o,this.text=o?this.getTextFromNode(i):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:r,y:a}=this,{mouse:i}=e.screen,o=new _(e,"fontSize",be.parse(e.ctx.font).fontSize);i.isWorking()&&i.checkBoundingBox(this,new Qt(r,a-o.getPixels("y"),r+this.measureText(t),a))}else if(this.children.length>0){var s=new Xe(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function on(l,t){var e=Object.keys(l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(l);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(l,a).enumerable})),e.push.apply(e,r)}return e}function Qe(l){for(var t=1;t{var{type:a,points:i}=r;switch(a){case nt.LINE_TO:t&&t.lineTo(i[0],i[1]);break;case nt.MOVE_TO:t&&t.moveTo(i[0],i[1]);break;case nt.CURVE_TO:t&&t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case nt.QUAD_TO:t&&t.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case nt.ARC:var[o,s,u,v,p,E,T,m]=i,N=u>v?u:v,V=u>v?1:u/v,L=u>v?v/u:1;t&&(t.translate(o,s),t.rotate(T),t.scale(V,L),t.arc(0,0,N,p,p+E,!!(1-m)),t.scale(1/V,1/L),t.rotate(-T),t.translate(-o,-s));break;case nt.CLOSE_PATH:t&&t.closePath()}})}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:a}=this,i=t.fillStyle;"underline"===e&&t.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:v,rotation:p,text:E}=o;t.save(),t.translate(u.x,u.y),t.rotate(p),t.fillStyle&&t.fillText(E,0,0),t.strokeStyle&&t.strokeText(E,0,0),t.restore(),"underline"===e&&(0===s&&t.moveTo(u.x,u.y+r/8),t.lineTo(v.x,v.y+r/5))}),"underline"===e&&(t.lineWidth=r/20,t.strokeStyle=i,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){return this.letterSpacingCache[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0]||0}findSegmentToFitChar(t,e,r,a,i,o,s,u,v){var p=o,E=this.measureText(t,u);" "===u&&"justify"===e&&r-1&&(p+=this.getLetterSpacingAt(v));var T=this.textHeight/20,m=this.getEquidistantPointOnPath(p,T,0),N=this.getEquidistantPointOnPath(p+E,T,0),V={p0:m,p1:N},L=m&&N?Math.atan2(N.y-m.y,N.x-m.x):0;if(s){var U=Math.cos(Math.PI/2+L)*s,Q=Math.cos(-L)*s;V.p0=Qe(Qe({},m),{},{x:m.x+U,y:m.y+Q}),V.p1=Qe(Qe({},N),{},{x:N.x+U,y:N.y+Q})}return{offset:p+=E,segment:V,rotation:L}}measureText(t,e){var{measuresCache:r}=this,a=e||this.getText();if(r.has(a))return r.get(a);var i=this.measureTargetText(t,a);return r.set(a,i),i}setTextData(t){if(!this.glyphInfo){var e=this.getText(),r=e.split(""),a=e.split(" ").length-1,i=this.parent.getAttribute("dx").split().map(j=>j.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),v=this.parent.getStyle("letter-spacing"),p=0;u.hasValue()&&"inherit"!==u.getValue()?u.hasValue()&&"initial"!==u.getValue()&&"unset"!==u.getValue()&&(p=u.getPixels()):p=v.getPixels();var E=[],T=e.length;this.letterSpacingCache=E;for(var m=0;m0===at?0:j+q||0,0),V=this.measureText(t),L=Math.max(V+N,0);this.textWidth=V,this.textHeight=this.getFontSize(),this.glyphInfo=[];var U=this.getPathLength(),Q=this.getStyle("startOffset").getNumber(0)*U,z=0;("middle"===s||"center"===s)&&(z=-L/2),("end"===s||"right"===s)&&(z=-L),z+=Q,r.forEach((j,q)=>{var{offset:at,segment:W,rotation:lt}=this.findSegmentToFitChar(t,s,L,U,a,z,o,j,q);z=at,W.p0&&W.p1&&this.glyphInfo.push({text:r[q],p0:W.p0,p1:W.p1,rotation:lt})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:a}=r,i=a?a.x:0,o=a?a.y:0,s=r.next(),u=s.type,v=[];switch(s.type){case nt.MOVE_TO:this.pathM(r,v);break;case nt.LINE_TO:u=this.pathL(r,v);break;case nt.HORIZ_LINE_TO:u=this.pathH(r,v);break;case nt.VERT_LINE_TO:u=this.pathV(r,v);break;case nt.CURVE_TO:this.pathC(r,v);break;case nt.SMOOTH_CURVE_TO:u=this.pathS(r,v);break;case nt.QUAD_TO:this.pathQ(r,v);break;case nt.SMOOTH_QUAD_TO:u=this.pathT(r,v);break;case nt.ARC:v=this.pathA(r);break;case nt.CLOSE_PATH:Et.pathZ(r)}e.push(s.type!==nt.CLOSE_PATH?{type:u,points:v,start:{x:i,y:o},pathLength:this.calcLength(i,o,u,v)}:{type:nt.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:r,y:a}=Et.pathM(t).point;e.push(r,a)}pathL(t,e){var{x:r,y:a}=Et.pathL(t).point;return e.push(r,a),nt.LINE_TO}pathH(t,e){var{x:r,y:a}=Et.pathH(t).point;return e.push(r,a),nt.LINE_TO}pathV(t,e){var{x:r,y:a}=Et.pathV(t).point;return e.push(r,a),nt.LINE_TO}pathC(t,e){var{point:r,controlPoint:a,currentPoint:i}=Et.pathC(t);e.push(r.x,r.y,a.x,a.y,i.x,i.y)}pathS(t,e){var{point:r,controlPoint:a,currentPoint:i}=Et.pathS(t);return e.push(r.x,r.y,a.x,a.y,i.x,i.y),nt.CURVE_TO}pathQ(t,e){var{controlPoint:r,currentPoint:a}=Et.pathQ(t);e.push(r.x,r.y,a.x,a.y)}pathT(t,e){var{controlPoint:r,currentPoint:a}=Et.pathT(t);return e.push(r.x,r.y,a.x,a.y),nt.QUAD_TO}pathA(t){var{rX:e,rY:r,sweepFlag:a,xAxisRotation:i,centp:o,a1:s,ad:u}=Et.pathA(t);return 0===a&&u>0&&(u-=2*Math.PI),1===a&&u<0&&(u+=2*Math.PI),[o.x,o.y,e,r,s,u,i,a]}calcLength(t,e,r,a){var i=0,o=null,s=null,u=0;switch(r){case nt.LINE_TO:return this.getLineLength(t,e,a[0],a[1]);case nt.CURVE_TO:for(i=0,o=this.getPointOnCubicBezier(0,t,e,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,t,e,a[0],a[1],a[2],a[3],a[4],a[5]),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return i;case nt.QUAD_TO:for(i=0,o=this.getPointOnQuadraticBezier(0,t,e,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,t,e,a[0],a[1],a[2],a[3]),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return i;case nt.ARC:i=0;var v=a[4],p=a[5],E=a[4]+p,T=Math.PI/180;if(Math.abs(v-E)E;u-=T)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=v+T;u5&&void 0!==arguments[5]?arguments[5]:e,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,u=(i-r)/(a-e+Oe),v=Math.sqrt(t*t/(1+u*u));ae)return null;var{dataArray:i}=this;for(var o of i){if(!o||!(o.pathLength<5e-5||r+o.pathLength+5e-5=0&&u>E)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break;case nt.CURVE_TO:(u=s/o.pathLength)>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case nt.QUAD_TO:(u=s/o.pathLength)>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3])}if(a)return a;break}r+=o.pathLength}return null}getLineLength(t,e,r,a){return Math.sqrt((r-t)*(r-t)+(a-e)*(a-e))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((t,e)=>e.pathLength>0?t+e.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,e,r,a,i,o,s,u,v){return{x:u*or(t)+o*ur(t)+a*lr(t)+e*hr(t),y:v*or(t)+s*ur(t)+i*lr(t)+r*hr(t)}}getPointOnQuadraticBezier(t,e,r,a,i,o,s){return{x:o*fr(t)+a*vr(t)+e*cr(t),y:s*fr(t)+i*vr(t)+r*cr(t)}}getPointOnEllipticalArc(t,e,r,a,i,o){var s=Math.cos(o),u=Math.sin(o),v_x=r*Math.cos(i),v_y=a*Math.sin(i);return{x:t+(v_x*s-v_y*u),y:e+(v_x*u+v_y*s)}}buildEquidistantCache(t,e){var r=this.getPathLength(),a=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==a){this.equidistantCache={step:i,precision:a,points:[]};for(var o=0,s=0;s<=r;s+=a){var u=this.getPointOnPath(s),v=this.getPointOnPath(s+a);!u||!v||(o+=this.getLineLength(u.x,u.y,v.x,v.y))>=i&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=i)}}}getEquidistantPointOnPath(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var a=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}}var Un=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class ln extends ge{constructor(t,e,r){super(t,e,r),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var i=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);t.images.push(this),i?this.loadSvg(a):this.loadImage(a),this.isSvg=i}}loadImage(t){var e=this;return(0,f.A)(function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(a){console.error('Error while loading image "'.concat(t,'":'),a)}e.loaded=!0})()}loadSvg(t){var e=this;return(0,f.A)(function*(){var r=Un.exec(t);if(r){var a=r[5];e.image="base64"===r[4]?atob(a):decodeURIComponent(a)}else try{var i=yield e.document.fetch(t),o=yield i.text();e.image=o}catch(s){console.error('Error while loading image "'.concat(t,'":'),s)}e.loaded=!0})()}renderChildren(t){var{document:e,image:r,loaded:a}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(a&&r&&s&&u){if(t.save(),t.translate(i,o),this.isSvg){var v=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});v.document.documentElement.parent=this,v.render()}else{var p=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:p.width,height:u,desiredHeight:p.height}),this.loaded&&(typeof p.complete>"u"||p.complete)&&t.drawImage(p,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new Qt(t,e,t+r,e+a)}}class hn extends ge{constructor(){super(...arguments),this.type="symbol"}render(t){}}class fn{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var r=this;return(0,f.A)(function*(){try{var{document:a}=r,o=(yield a.canvg.parser.load(e)).getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[t]=u})}catch(s){console.error('Error while loading font "'.concat(e,'":'),s)}r.loaded=!0})()}}let vn=(()=>{class l extends Nt{constructor(e,r,a){super(e,r,a),this.type="style",$t(Array.from(r.childNodes).map(s=>s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(s=>{var u=s.trim();if(u){var v=u.split("{"),p=v[0].split(","),E=v[1].split(";");p.forEach(T=>{var m=T.trim();if(m){var N=e.styles[m]||{};if(E.forEach(U=>{var Q=U.indexOf(":"),z=U.substr(0,Q).trim(),j=U.substr(Q+1,U.length-Q).trim();z&&j&&(N[z]=new _(e,z,j))}),e.styles[m]=N,e.stylesSpecificity[m]=wr(m),"@font-face"===m){var V=N["font-family"].getString().replace(/"|'/g,"");N.src.getString().split(",").forEach(U=>{if(U.indexOf('format("svg")')>0){var Q=dt(U);Q&&new fn(e).load(V,Q)}})}}})}})}}return l.parseExternalUrl=dt,l})();class cn extends ge{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:r}=this;if(r){var a=r;if("symbol"===r.type&&((a=new we(e,null)).attributes.viewBox=new _(e,"viewBox",r.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new _(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new _(e,"overflow",r.getAttribute("overflow").getString()),a.children=r.children,r.styles.opacity=new _(e,"opacity",this.calculateOpacity())),"svg"===a.type){var i=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);i.hasValue()&&(a.attributes.width=new _(e,"width",i.getString())),o.hasValue()&&(a.attributes.height=new _(e,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(t),a.parent=s}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return Ye.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Ke(l,t,e,r,a,i){return l[e*r*4+4*t+i]}function ke(l,t,e,r,a,i,o){l[e*r*4+4*t+i]=o}function Vt(l,t,e){return l[t]*e}function ie(l,t,e,r){return t+Math.cos(l)*e+Math.sin(l)*r}class Tr extends Nt{constructor(t,e,r){super(t,e,r),this.type="feColorMatrix";var a=G(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var i=a[0];a=[.213+.787*i,.715-.715*i,.072-.072*i,0,0,.213-.213*i,.715+.285*i,.072-.072*i,0,0,.213-.213*i,.715-.715*i,.072+.928*i,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var o=a[0]*Math.PI/180;a=[ie(o,.213,.787,-.213),ie(o,.715,-.715,-.715),ie(o,.072,-.072,.928),0,0,ie(o,.213,-.213,.143),ie(o,.715,.285,.14),ie(o,.072,-.072,-.283),0,0,ie(o,.213,-.213,-.787),ie(o,.715,-.715,.715),ie(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,e,r,a,i){for(var{includeOpacity:o,matrix:s}=this,u=t.getImageData(0,0,a,i),v=0;v{class l extends Nt{constructor(){super(...arguments),this.type="mask"}apply(e,r){var{document:a}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!s&&!u){var v=new Qt;this.children.forEach(V=>{v.addBoundingBox(V.getBoundingBox(e))}),i=Math.floor(v.x1),o=Math.floor(v.y1),s=Math.floor(v.width),u=Math.floor(v.height)}var p=this.removeStyles(r,l.ignoreStyles),E=a.createCanvas(i+s,o+u),T=E.getContext("2d");a.screen.setDefaults(T),this.renderChildren(T),new Tr(a,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(T,0,0,i+s,o+u);var m=a.createCanvas(i+s,o+u),N=m.getContext("2d");a.screen.setDefaults(N),r.render(N),N.globalCompositeOperation="destination-in",N.fillStyle=T.createPattern(E,"no-repeat"),N.fillRect(0,0,i+s,o+u),e.fillStyle=N.createPattern(m,"no-repeat"),e.fillRect(0,0,i+s,o+u),this.restoreStyles(r,p)}render(e){}}return l.ignoreStyles=["mask","transform","clip-path"],l})();var dn=()=>{};class pn extends Nt{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:e}=this,r=Reflect.getPrototypeOf(t),{beginPath:a,closePath:i}=t;r&&(r.beginPath=dn,r.closePath=dn),Reflect.apply(a,t,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=Ye.fromElement(e,o)),s&&s.apply(t),o.path(t),r&&(r.closePath=i),s&&s.unapply(t)}}),Reflect.apply(i,t,[]),t.clip(),r&&(r.beginPath=a,r.closePath=i)}render(t){}}let yn=(()=>{class l extends Nt{constructor(){super(...arguments),this.type="filter"}apply(e,r){var{document:a,children:i}=this,o=r.getBoundingBox(e);if(o){var s=0,u=0;i.forEach(Q=>{var z=Q.extraFilterDistance||0;s=Math.max(s,z),u=Math.max(u,z)});var v=Math.floor(o.width),p=Math.floor(o.height),E=v+2*s,T=p+2*u;if(!(E<1||T<1)){var m=Math.floor(o.x),N=Math.floor(o.y),V=this.removeStyles(r,l.ignoreStyles),L=a.createCanvas(E,T),U=L.getContext("2d");a.screen.setDefaults(U),U.translate(-m+s,-N+u),r.render(U),i.forEach(Q=>{"function"==typeof Q.apply&&Q.apply(U,0,0,E,T)}),e.drawImage(L,0,0,E,T,m-s,N-u,E,T),this.restoreStyles(r,V)}}}render(e){}}return l.ignoreStyles=["filter","transform","clip-path"],l})();class mn extends Nt{constructor(t,e,r){super(t,e,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,e,r,a,i){}}class xn extends Nt{constructor(){super(...arguments),this.type="feMorphology"}apply(t,e,r,a,i){}}class En extends Nt{constructor(){super(...arguments),this.type="feComposite"}apply(t,e,r,a,i){}}class Tn extends Nt{constructor(t,e,r){super(t,e,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,r,a,i){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,v=t.canvas;v.id=o.getUniqueId(),u&&(v.style.display="none",u.appendChild(v)),re(v,e,r,a,i,s),u&&u.removeChild(v)}}class On extends Nt{constructor(){super(...arguments),this.type="title"}}class bn extends Nt{constructor(){super(...arguments),this.type="desc"}}var jn={svg:we,rect:mr,circle:Hr,ellipse:Yr,line:Xr,polyline:xr,polygon:Wr,path:Et,pattern:Qr,marker:Kr,defs:kr,linearGradient:Zr,radialGradient:Jr,stop:qr,animate:We,animateColor:_r,animateTransform:tn,font:en,"font-face":rn,"missing-glyph":nn,glyph:yr,text:ae,tspan:Fe,tref:an,a:sn,textPath:un,image:ln,g:Xe,symbol:hn,style:vn,use:cn,mask:gn,clipPath:pn,filter:yn,feDropShadow:mn,feMorphology:xn,feComposite:En,feColorMatrix:Tr,feGaussianBlur:Tn,title:On,desc:bn};function Sn(l,t){var e=Object.keys(l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(l);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(l,a).enumerable})),e.push.apply(e,r)}return e}function Gn(l,t){var e=document.createElement("canvas");return e.width=l,e.height=t,e}function $n(l){return Or.apply(this,arguments)}function Or(){return Or=(0,f.A)(function*(l){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=document.createElement("img");return t&&(e.crossOrigin="Anonymous"),new Promise((r,a)=>{e.onload=()=>{r(e)},e.onerror=(i,o,s,u,v)=>{a(v)},e.src=l})}),Or.apply(this,arguments)}let Cn=(()=>{class l{constructor(e){var{rootEmSize:r=12,emSize:a=12,createCanvas:i=l.createCanvas,createImage:o=l.createImage,anonymousCrossOrigin:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=e,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=r,this.emSize=a,this.createCanvas=i,this.createImage=this.bindCreateImage(o,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,r){return"boolean"==typeof r?(a,i)=>e(a,"boolean"==typeof i?i:r):e}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:e}=this;return e[e.length-1]}set emSize(e){var{emSizeStack:r}=this;r.push(e)}popEmSize(){var{emSizeStack:e}=this;e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){var r=this.createElement(e.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(e){var r=e.nodeName.replace(/^[^:]+:/,""),a=l.elementTypes[r];return typeof a<"u"?new a(this,e):new $r(this,e)}createTextNode(e){return new Fn(this,e)}setViewBox(e){this.screen.setViewBox(function zn(l){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new He(r),this.screen=new gr(t,r),this.options=r;var a=new Cn(this,r),i=a.createDocumentElement(e);this.document=a,this.documentElement=i}static from(t,e){var r=arguments;return(0,f.A)(function*(){var a=r.length>2&&void 0!==r[2]?r[2]:{},i=new He(a),o=yield i.parse(e);return new Ce(t,o,a)})()}static fromString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new He(r).parseFromString(e);return new Ce(t,i,r)}fork(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ce.from(t,e,Se(Se({},this.options),r))}forkString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ce.fromString(t,e,Se(Se({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return(0,f.A)(function*(){e.start(Se({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t.length>0&&void 0!==t[0]?t[0]:{})),yield e.ready(),e.stop()})()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:e,screen:r,options:a}=this;r.start(e,Se(Se({enableRedraw:!0},a),t))}stop(){this.screen.stop()}resize(t){this.documentElement.resize(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,arguments.length>2&&void 0!==arguments[2]&&arguments[2])}}}}]); \ No newline at end of file diff --git a/node_modules_dompurify_dist_purify_es_mjs.js b/node_modules_dompurify_dist_purify_es_mjs.js new file mode 100644 index 000000000..85ec66118 --- /dev/null +++ b/node_modules_dompurify_dist_purify_es_mjs.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["node_modules_dompurify_dist_purify_es_mjs"],{90627:(dn,Pe,ke)=>{ke.r(Pe),ke.d(Pe,{default:()=>Bt});const{entries:ve,setPrototypeOf:Ue,isFrozen:Rt,getPrototypeOf:yt,getOwnPropertyDescriptor:Ot}=Object;let{freeze:g,seal:O,create:Fe}=Object,{apply:ue,construct:me}=typeof Reflect<"u"&&Reflect;g||(g=function(o){return o}),O||(O=function(o){return o}),ue||(ue=function(o,l,s){return o.apply(l,s)}),me||(me=function(o,l){return new o(...l)});const Q=A(Array.prototype.forEach),Lt=A(Array.prototype.lastIndexOf),He=A(Array.prototype.pop),G=A(Array.prototype.push),bt=A(Array.prototype.splice),ee=A(String.prototype.toLowerCase),pe=A(String.prototype.toString),ze=A(String.prototype.match),W=A(String.prototype.replace),Dt=A(String.prototype.indexOf),Nt=A(String.prototype.trim),L=A(Object.prototype.hasOwnProperty),h=A(RegExp.prototype.test),B=function It(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s1?l-1:0),T=1;T2&&void 0!==arguments[2]?arguments[2]:ee;Ue&&Ue(r,null);let s=o.length;for(;s--;){let T=o[s];if("string"==typeof T){const N=l(T);N!==T&&(Rt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Mt(r){for(let o=0;o/gm),kt=O(/\$\{[\w\W]*/gm),vt=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ut=O(/^aria-[\-\w]+$/),Xe=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ft=O(/^(?:\w+script|data):/i),Ht=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),je=O(/^html$/i),zt=O(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ve=Object.freeze({__proto__:null,ARIA_ATTR:Ut,ATTR_WHITESPACE:Ht,CUSTOM_ELEMENT:zt,DATA_ATTR:vt,DOCTYPE_NAME:je,ERB_EXPR:Pt,IS_ALLOWED_URI:Xe,IS_SCRIPT_OR_DATA:Ft,MUSTACHE_EXPR:xt,TMPLIT_EXPR:kt});var Bt=function qe(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const o=i=>qe(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return o.isSupported=!1,o;let{document:l}=r;const s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ge,Element:Ke,NodeFilter:j,NamedNodeMap:Yt=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:Xt,DOMParser:jt,trustedTypes:ne}=r,V=Ke.prototype,Vt=Y(V,"cloneNode"),$t=Y(V,"remove"),qt=Y(V,"nextSibling"),Kt=Y(V,"childNodes"),oe=Y(V,"parentNode");if("function"==typeof x){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,$="";const{implementation:he,createNodeIterator:Zt,createDocumentFragment:Jt,getElementsByTagName:Qt}=l,{importNode:en}=s;let R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof ve&&"function"==typeof oe&&he&&void 0!==he.createHTMLDocument;const{MUSTACHE_EXPR:Ae,ERB_EXPR:Se,TMPLIT_EXPR:Re,DATA_ATTR:tn,ARIA_ATTR:nn,IS_SCRIPT_OR_DATA:on,ATTR_WHITESPACE:Ze,CUSTOM_ELEMENT:an}=Ve;let{IS_ALLOWED_URI:Je}=Ve,m=null;const Qe=a({},[...Ge,...de,...Te,..._e,...We]);let d=null;const et=a({},[...Be,...Ee,...Ye,...te]);let f=Object.seal(Fe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,ye=null,tt=!0,Oe=!0,nt=!1,ot=!0,P=!1,ie=!0,w=!1,Le=!1,be=!1,k=!1,ae=!1,re=!1,it=!0,at=!1,De=!0,K=!1,v={},U=null;const rt=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let st=null;const lt=a({},["audio","video","img","source","image","track"]);let Ne=null;const ct=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),se="http://www.w3.org/1998/Math/MathML",le="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let F=I,Ie=!1,Me=null;const sn=a({},[se,le,I],pe);let ce=a({},["mi","mo","mn","ms","mtext"]),fe=a({},["annotation-xml"]);const ln=a({},["title","style","font","a","script"]);let Z=null;const cn=["application/xhtml+xml","text/html"];let p=null,H=null;const un=l.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},Ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!H||H!==e){if((!e||"object"!=typeof e)&&(e={}),e=D(e),Z=-1===cn.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,p="application/xhtml+xml"===Z?pe:ee,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Qe,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):et,Me=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,pe):sn,Ne=L(e,"ADD_URI_SAFE_ATTR")?a(D(ct),e.ADD_URI_SAFE_ATTR,p):ct,st=L(e,"ADD_DATA_URI_TAGS")?a(D(lt),e.ADD_DATA_URI_TAGS,p):lt,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):rt,q=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):D({}),ye=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):D({}),v=!!L(e,"USE_PROFILES")&&e.USE_PROFILES,tt=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,nt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ot=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,P=e.SAFE_FOR_TEMPLATES||!1,ie=!1!==e.SAFE_FOR_XML,w=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,ae=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,be=e.FORCE_BODY||!1,it=!1!==e.SANITIZE_DOM,at=e.SANITIZE_NAMED_PROPS||!1,De=!1!==e.KEEP_CONTENT,K=e.IN_PLACE||!1,Je=e.ALLOWED_URI_REGEXP||Xe,F=e.NAMESPACE||I,ce=e.MATHML_TEXT_INTEGRATION_POINTS||ce,fe=e.HTML_INTEGRATION_POINTS||fe,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Oe=!1),ae&&(k=!0),v&&(m=a({},We),d=[],!0===v.html&&(a(m,Ge),a(d,Be)),!0===v.svg&&(a(m,de),a(d,Ee),a(d,te)),!0===v.svgFilters&&(a(m,Te),a(d,Ee),a(d,te)),!0===v.mathMl&&(a(m,_e),a(d,Ye),a(d,te))),e.ADD_TAGS&&(m===Qe&&(m=D(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===et&&(d=D(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Ne,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===rt&&(U=D(U)),a(U,e.FORBID_CONTENTS,p)),De&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw B('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw B('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,$=S.createHTML("")}else void 0===S&&(S=function(o,l){if("object"!=typeof o||"function"!=typeof o.createPolicy)return null;let s=null;const T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));const N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML:x=>x,createScriptURL:x=>x})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}}(ne,T)),null!==S&&"string"==typeof $&&($=S.createHTML(""));g&&g(e),H=e}},ut=a({},[...de,...Te,...Ct]),mt=a({},[..._e,...wt]),b=function(e){G(o.removed,{element:e});try{oe(e).removeChild(e)}catch{$t(e)}},z=function(e,t){try{G(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{G(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(k||ae)try{b(t)}catch{}else try{t.setAttribute(e,"")}catch{}},pt=function(e){let t=null,n=null;if(be)e=""+e;else{const u=ze(e,/^[\r\n\t ]+/);n=u&&u[0]}"application/xhtml+xml"===Z&&F===I&&(e=''+e+"");const c=S?S.createHTML(e):e;if(F===I)try{t=(new jt).parseFromString(c,Z)}catch{}if(!t||!t.documentElement){t=he.createDocument(F,"template",null);try{t.documentElement.innerHTML=Ie?$:c}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===I?Qt.call(t,w?"html":"body")[0]:w?t.documentElement:_},dt=function(e){return Zt.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},we=function(e){return e instanceof Xt&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Yt)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof ge&&e instanceof ge};function M(i,e,t){Q(i,n=>{n.call(o,e,t,H)})}const _t=function(e){let t=null;if(M(R.beforeSanitizeElements,e,null),we(e))return b(e),!0;const n=p(e.nodeName);if(M(R.uponSanitizeElement,e,{tagName:n,allowedTags:m}),ie&&e.hasChildNodes()&&!Tt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||7===e.nodeType||ie&&8===e.nodeType&&h(/<[/\w]/g,e.data))return b(e),!0;if(!m[n]||q[n]){if(!q[n]&>(n)&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(De&&!U[n]){const c=oe(e)||e.parentNode,_=Kt(e)||e.childNodes;if(_&&c)for(let y=_.length-1;y>=0;--y){const C=Vt(_[y],!0);C.__removalCount=(e.__removalCount||0)+1,c.insertBefore(C,qt(e))}}return b(e),!0}return e instanceof Ke&&!function(e){let t=oe(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const n=ee(e.tagName),c=ee(t.tagName);return!!Me[e.namespaceURI]&&(e.namespaceURI===le?t.namespaceURI===I?"svg"===n:t.namespaceURI===se?"svg"===n&&("annotation-xml"===c||ce[c]):!!ut[n]:e.namespaceURI===se?t.namespaceURI===I?"math"===n:t.namespaceURI===le?"math"===n&&fe[c]:!!mt[n]:e.namespaceURI===I?!(t.namespaceURI===le&&!fe[c]||t.namespaceURI===se&&!ce[c])&&!mt[n]&&(ln[n]||!ut[n]):!("application/xhtml+xml"!==Z||!Me[e.namespaceURI]))}(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(b(e),!0):(P&&3===e.nodeType&&(t=e.textContent,Q([Ae,Se,Re],c=>{t=W(t,c," ")}),e.textContent!==t&&(G(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(R.afterSanitizeElements,e,null),!1)},Et=function(e,t,n){if(it&&("id"===t||"name"===t)&&(n in l||n in un))return!1;if((!Oe||ye[t]||!h(tn,t))&&(!tt||!h(nn,t)))if(!d[t]||ye[t]){if(!(gt(e)&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&h(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||"is"===t&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Ne[t]&&!h(Je,W(n,Ze,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Dt(n,"data:")||!st[e])&&(!nt||h(on,W(n,Ze,"")))&&n)return!1;return!0},gt=function(e){return"annotation-xml"!==e&&ze(e,an)},ht=function(e){M(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||we(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:y,value:C}=_,J=p(u),xe=C;let E="value"===u?xe:Nt(xe);if(n.attrName=J,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(R.uponSanitizeAttribute,e,n),E=n.attrValue,at&&("id"===J||"name"===J)&&(z(u,e),E="user-content-"+E),ie&&h(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!ot&&h(/\/>/i,E)){z(u,e);continue}P&&Q([Ae,Se,Re],St=>{E=W(E,St," ")});const At=p(e.nodeName);if(Et(At,J,E)){if(S&&"object"==typeof ne&&"function"==typeof ne.getAttributeType&&!y)switch(ne.getAttributeType(At,J)){case"TrustedHTML":E=S.createHTML(E);break;case"TrustedScriptURL":E=S.createScriptURL(E)}if(E!==xe)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),we(e)?b(e):He(o.removed)}catch{z(u,e)}}else z(u,e)}M(R.afterSanitizeAttributes,e,null)},pn=function i(e){let t=null;const n=dt(e);for(M(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(R.uponSanitizeShadowNode,t,null),_t(t),ht(t),t.content instanceof N&&i(t.content);M(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=null,n=null,c=null,_=null;if(Ie=!i,Ie&&(i="\x3c!--\x3e"),"string"!=typeof i&&!Tt(i)){if("function"!=typeof i.toString)throw B("toString is not a function");if("string"!=typeof(i=i.toString()))throw B("dirty is not a string, aborting")}if(!o.isSupported)return i;if(Le||Ce(e),o.removed=[],"string"==typeof i&&(K=!1),K){if(i.nodeName){const C=p(i.nodeName);if(!m[C]||q[C])throw B("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ge)t=pt("\x3c!----\x3e"),n=t.ownerDocument.importNode(i,!0),1===n.nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?t=n:t.appendChild(n);else{if(!k&&!P&&!w&&-1===i.indexOf("<"))return S&&re?S.createHTML(i):i;if(t=pt(i),!t)return k?null:re?$:""}t&&be&&b(t.firstChild);const u=dt(K?i:t);for(;c=u.nextNode();)_t(c),ht(c),c.content instanceof N&&pn(c.content);if(K)return i;if(k){if(ae)for(_=Jt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=en.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(je,t.ownerDocument.doctype.name)&&(y="\n"+y),P&&Q([Ae,Se,Re],C=>{y=W(y,C," ")}),S&&re?S.createHTML(y):y},o.setConfig=function(){Ce(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Le=!0},o.clearConfig=function(){H=null,Le=!1},o.isValidAttribute=function(i,e,t){H||Ce({});const n=p(i),c=p(e);return Et(n,c,t)},o.addHook=function(i,e){"function"==typeof e&&G(R[i],e)},o.removeHook=function(i,e){if(void 0!==e){const t=Lt(R[i],e);return-1===t?void 0:bt(R[i],t,1)[0]}return He(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}()}}]); \ No newline at end of file diff --git a/node_modules_html2canvas_dist_html2canvas_js.js b/node_modules_html2canvas_dist_html2canvas_js.js new file mode 100644 index 000000000..a0598bec8 --- /dev/null +++ b/node_modules_html2canvas_dist_html2canvas_js.js @@ -0,0 +1 @@ +(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["node_modules_html2canvas_dist_html2canvas_js"],{7239:function(an){an.exports=function(){"use strict";var ce=function(e,A){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var B in r)Object.prototype.hasOwnProperty.call(r,B)&&(t[B]=r[B])})(e,A)};function q(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function t(){this.constructor=e}ce(e,A),e.prototype=null===A?Object.create(A):(t.prototype=A.prototype,new t)}var ir=function(){return ir=Object.assign||function(A){for(var t,r=1,B=arguments.length;r0&&n[n.length-1])&&(6===o[0]||2===o[0])){t=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]=55296&&B<=56319&&t>10),s%1024+56320),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qn=typeof Uint8Array>"u"?[]:new Uint8Array(256),fe=0;fe<64;fe++)Qn[nt.charCodeAt(fe)]=fe;for(var st="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",kA=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ue=0;Ue<64;Ue++)kA[st.charCodeAt(Ue)]=Ue;for(var it=function(e,A,t){return e.slice?e.slice(A,t):new Uint16Array(Array.prototype.slice.call(e,A,t))},vn=function(){function e(A,t,r,B,n,s){this.initialValue=A,this.errorValue=t,this.highStart=r,this.highValueIndex=B,this.index=n,this.data=s}return e.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[t=((t=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[t=((t=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A>11)],this.data[t=((t=this.index[t+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yn=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fe=0;Fe<64;Fe++)yn[ot.charCodeAt(Fe)]=Fe;var t,r,B,s,i,CA=10,cr=13,YA=15,he=17,WA=18,xn=19,ft=20,ur=21,ZA=22,TA=24,j=25,qA=26,jA=27,SA=28,vA=30,de=32,Ee=33,fr=34,Ur=35,zA=37,hr=38,He=39,pe=40,Ut=42,Mn=[9001,65288],I="\xd7",Er=(t=function(e){var r,n,s,i,a,A=.75*e.length,t=e.length,B=0;"="===e[e.length-1]&&(A--,"="===e[e.length-2]&&A--);var o=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),Q=Array.isArray(o)?o:new Uint8Array(o);for(r=0;r>4,Q[B++]=(15&s)<<4|i>>2,Q[B++]=(3&i)<<6|63&a;return o}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),r=Array.isArray(t)?function(e){for(var A=e.length,t=[],r=0;r0;){var i=r[--n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var a=t;a<=r.length;){var s;if((s=r[++a])===A)return!0;if(s!==CA)break}if(i!==CA)break}return!1},Ht=function(e,A){for(var t=e;t>=0;){var r=A[t];if(r!==CA)return r;t--}return 0},Nn=function(e,A,t,r,B){if(0===t[r])return I;var n=r-1;if(Array.isArray(B)&&!0===B[n])return I;var s=n-1,i=n+1,a=A[n],o=s>=0?A[s]:0,Q=A[i];if(2===a&&3===Q)return I;if(-1!==Hr.indexOf(a))return"!";if(-1!==Hr.indexOf(Q)||-1!==ht.indexOf(Q))return I;if(8===Ht(n,A))return"\xf7";if(11===Er.get(e[n])||(a===de||a===Ee)&&11===Er.get(e[i])||7===a||7===Q||9===a||-1===[CA,cr,YA].indexOf(a)&&9===Q||-1!==[he,WA,xn,TA,SA].indexOf(Q)||Ht(n,A)===ZA||pr(23,ZA,n,A)||pr([he,WA],ur,n,A)||pr(12,12,n,A))return I;if(a===CA)return"\xf7";if(23===a||23===Q)return I;if(16===Q||16===a)return"\xf7";if(-1!==[cr,YA,ur].indexOf(Q)||14===a||36===o&&-1!==Rn.indexOf(a)||a===SA&&36===Q||Q===ft||-1!==oA.indexOf(Q)&&a===j||-1!==oA.indexOf(a)&&Q===j||a===jA&&-1!==[zA,de,Ee].indexOf(Q)||-1!==[zA,de,Ee].indexOf(a)&&Q===qA||-1!==oA.indexOf(a)&&-1!==dt.indexOf(Q)||-1!==dt.indexOf(a)&&-1!==oA.indexOf(Q)||-1!==[jA,qA].indexOf(a)&&(Q===j||-1!==[ZA,YA].indexOf(Q)&&A[i+1]===j)||-1!==[ZA,YA].indexOf(a)&&Q===j||a===j&&-1!==[j,SA,TA].indexOf(Q))return I;if(-1!==[j,SA,TA,he,WA].indexOf(Q))for(var g=n;g>=0;){if((w=A[g])===j)return I;if(-1===[SA,TA].indexOf(w))break;g--}if(-1!==[jA,qA].indexOf(Q))for(g=-1!==[he,WA].indexOf(a)?s:n;g>=0;){var w;if((w=A[g])===j)return I;if(-1===[SA,TA].indexOf(w))break;g--}if(hr===a&&-1!==[hr,He,fr,Ur].indexOf(Q)||-1!==[He,fr].indexOf(a)&&-1!==[He,pe].indexOf(Q)||-1!==[pe,Ur].indexOf(a)&&Q===pe||-1!==Et.indexOf(a)&&-1!==[ft,qA].indexOf(Q)||-1!==Et.indexOf(Q)&&a===jA||-1!==oA.indexOf(a)&&-1!==oA.indexOf(Q)||a===TA&&-1!==oA.indexOf(Q)||-1!==oA.concat(j).indexOf(a)&&Q===ZA&&-1===Mn.indexOf(e[i])||-1!==oA.concat(j).indexOf(Q)&&a===WA)return I;if(41===a&&41===Q){for(var f=t[n],c=1;f>0&&41===A[--f];)c++;if(c%2!=0)return I}return a===de&&Q===Ee?I:"\xf7"},Xn=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var t=function(e,A){void 0===A&&(A="strict");var t=[],r=[],B=[];return e.forEach(function(n,s){var i=Er.get(n);if(i>50?(B.push(!0),i-=50):B.push(!1),-1!==["normal","auto","loose"].indexOf(A)&&-1!==[8208,8211,12316,12448].indexOf(n))return r.push(s),t.push(16);if(4===i||11===i){if(0===s)return r.push(s),t.push(vA);var a=t[s-1];return-1===Gn.indexOf(a)?(r.push(r[s-1]),t.push(a)):(r.push(s),t.push(vA))}return r.push(s),31===i?t.push("strict"===A?ur:zA):i===Ut||29===i?t.push(vA):43===i?t.push(n>=131072&&n<=196605||n>=196608&&n<=262141?zA:vA):void t.push(i)}),[r,t,B]}(e,A.lineBreak),r=t[0],B=t[1],n=t[2];return("break-all"===A.wordBreak||"break-word"===A.wordBreak)&&(B=B.map(function(i){return-1!==[j,vA,Ut].indexOf(i)?zA:i})),[r,B,"keep-all"===A.wordBreak?n.map(function(i,a){return i&&e[a]>=19968&&e[a]<=40959}):void 0]},_n=function(){function e(A,t,r,B){this.codePoints=A,this.required="!"===t,this.start=r,this.end=B}return e.prototype.slice=function(){return T.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),k=45,J=function(e){return e>=48&&e<=57},OA=function(e){return J(e)||e>=65&&e<=70||e>=97&&e<=102},De=function(e){return 10===e||9===e||32===e},be=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},Tt=function(e){return be(e)||J(e)||e===k},ms=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},uA=function(e,A){return 92===e&&10!==A},xe=function(e,A,t){return e===k?be(A)||uA(A,t):!!be(e)||!(92!==e||!uA(e,A))},vr=function(e,A,t){return 43===e||e===k?!!J(A)||46===A&&J(t):J(46===e?A:e)},Ls=function(e){var A=0,t=1;(43===e[A]||e[A]===k)&&(e[A]===k&&(t=-1),A++);for(var r=[];J(e[A]);)r.push(e[A++]);var B=r.length?parseInt(T.apply(void 0,r),10):0;46===e[A]&&A++;for(var n=[];J(e[A]);)n.push(e[A++]);var s=n.length,i=s?parseInt(T.apply(void 0,n),10):0;(69===e[A]||101===e[A])&&A++;var a=1;(43===e[A]||e[A]===k)&&(e[A]===k&&(a=-1),A++);for(var o=[];J(e[A]);)o.push(e[A++]);var Q=o.length?parseInt(T.apply(void 0,o),10):0;return t*(B+i*Math.pow(10,-s))*Math.pow(10,a*Q)},Ds={type:2},bs={type:3},xs={type:4},Ts={type:13},Ss={type:8},Os={type:21},Ms={type:9},Gs={type:10},Rs={type:11},Vs={type:12},Ns={type:14},Te={type:23},Xs={type:1},_s={type:25},Js={type:24},Ps={type:26},ks={type:27},Ys={type:28},Ws={type:29},Zs={type:31},yr={type:32},St=function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(le(A))},e.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==yr;)A.push(t),t=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Tt(t)||uA(r,B)){var n=xe(t,r,B)?2:1;return{type:5,value:this.consumeName(),flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ts;break;case 39:return this.consumeStringToken(39);case 40:return Ds;case 41:return bs;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ns;break;case 43:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return xs;case k:var i=A,a=this.peekCodePoint(0),o=this.peekCodePoint(1);if(vr(i,a,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xe(i,a,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(a===k&&62===o)return this.consumeCodePoint(),this.consumeCodePoint(),Js;break;case 46:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var Q=this.consumeCodePoint();if(42===Q&&47===(Q=this.consumeCodePoint()))return this.consumeToken();if(-1===Q)return this.consumeToken()}break;case 58:return Ps;case 59:return ks;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===k&&this.peekCodePoint(2)===k)return this.consumeCodePoint(),this.consumeCodePoint(),_s;break;case 64:var g=this.peekCodePoint(0),w=this.peekCodePoint(1),f=this.peekCodePoint(2);if(xe(g,w,f))return{type:7,value:this.consumeName()};break;case 91:return Ys;case 92:if(uA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return Ws;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ss;break;case 123:return Rs;case 125:return Vs;case 117:case 85:var c=this.peekCodePoint(0),C=this.peekCodePoint(1);return 43===c&&(OA(C)||63===C)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ms;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),Os;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Gs;break;case-1:return yr}return De(A)?(this.consumeWhiteSpace(),Zs):J(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):be(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:T(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();OA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var r=!1;63===t&&A.length<6;)A.push(t),t=this.consumeCodePoint(),r=!0;if(r)return{type:30,start:parseInt(T.apply(void 0,A.map(function(a){return 63===a?48:a})),16),end:parseInt(T.apply(void 0,A.map(function(a){return 63===a?70:a})),16)};var s=parseInt(T.apply(void 0,A),16);if(this.peekCodePoint(0)===k&&OA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];OA(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:s,end:parseInt(T.apply(void 0,i),16)}}return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var r=this.consumeStringToken(this.consumeCodePoint());return 0===r.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Te)}for(;;){var B=this.consumeCodePoint();if(-1===B||41===B)return{type:22,value:T.apply(void 0,A)};if(De(B))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:T.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Te);if(34===B||39===B||40===B||ms(B))return this.consumeBadUrlRemnants(),Te;if(92===B){if(!uA(B,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Te;A.push(this.consumeEscapedCodePoint())}else A.push(B)}},e.prototype.consumeWhiteSpace=function(){for(;De(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||-1===A)return;uA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var r="";A>0;){var B=Math.min(5e4,A);r+=T.apply(void 0,this._value.splice(0,B)),A-=B}return this._value.shift(),r},e.prototype.consumeStringToken=function(A){for(var t="",r=0;;){var B=this._value[r];if(-1===B||void 0===B||B===A)return{type:0,value:t+=this.consumeStringSlice(r)};if(10===B)return this._value.splice(0,r),Xs;if(92===B){var n=this._value[r+1];-1!==n&&void 0!==n&&(10===n?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):uA(B,n)&&(t+=this.consumeStringSlice(r),t+=T(this.consumeEscapedCodePoint()),r=-1))}r++}},e.prototype.consumeNumber=function(){var A=[],t=4,r=this.peekCodePoint(0);for((43===r||r===k)&&A.push(this.consumeCodePoint());J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var B=this.peekCodePoint(1);if(46===r&&J(B))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),B=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===r||101===r)&&((43===B||B===k)&&J(n)||J(B)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Ls(A),t]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],r=A[1],B=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);return xe(B,n,s)?{type:15,number:t,flags:r,unit:this.consumeName()}:37===B?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(OA(A)){for(var t=T(A);OA(this.peekCodePoint(0))&&t.length<6;)t+=T(this.consumeCodePoint());De(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return 0===r||function(e){return e>=55296&&e<=57343}(r)||r>1114111?65533:r}return-1===A?65533:A},e.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(Tt(t))A+=T(t);else{if(!uA(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=T(this.consumeEscapedCodePoint())}}},e}(),Ot=function(){function e(A){this._tokens=A}return e.create=function(A){var t=new St;return t.write(A),new e(t.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(32===t.type)return A;A.push(t),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},r=this.consumeToken();;){if(32===r.type||js(r,A))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(32===r.type||3===r.type)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?yr:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e}(),Be=function(e){return 15===e.type},MA=function(e){return 17===e.type},L=function(e){return 20===e.type},qs=function(e){return 0===e.type},Kr=function(e,A){return L(e)&&e.value===A},Mt=function(e){return 31!==e.type},GA=function(e){return 31!==e.type&&4!==e.type},nA=function(e){var A=[],t=[];return e.forEach(function(r){if(4===r.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return A.push(t),void(t=[])}31!==r.type&&t.push(r)}),t.length&&A.push(t),A},js=function(e,A){return 11===A&&12===e.type||28===A&&29===e.type||2===A&&3===e.type},lA=function(e){return 17===e.type||15===e.type},O=function(e){return 16===e.type||lA(e)},Gt=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},V={type:17,number:0,flags:4},mr={type:16,number:50,flags:4},fA={type:16,number:100,flags:4},ne=function(e,A,t){var r=e[0],B=e[1];return[b(r,A),b(typeof B<"u"?B:r,t)]},b=function(e,A){if(16===e.type)return e.number/100*A;if(Be(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Se_parse=function(e,A){if(15===A.type)switch(A.unit){case"deg":return Math.PI*A.number/180;case"grad":return Math.PI/200*A.number;case"rad":return A.number;case"turn":return 2*Math.PI*A.number}throw new Error("Unsupported angle type")},_t=function(e){return 15===e.type&&("deg"===e.unit||"grad"===e.unit||"rad"===e.unit||"turn"===e.unit)},Jt=function(e){switch(e.filter(L).map(function(t){return t.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[V,V];case"to top":case"bottom":return $(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[V,fA];case"to right":case"left":return $(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[fA,fA];case"to bottom":case"top":return $(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[fA,V];case"to left":case"right":return $(270)}return 0},$=function(e){return Math.PI*e/180},UA_parse=function(e,A){if(18===A.type){var t=zs[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(e,A.values)}if(5===A.type){if(3===A.value.length){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),1)}if(4===A.value.length){r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3);var s=A.value.substring(3,4);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(6===A.value.length)return r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6),hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),1);if(8===A.value.length)return r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6),s=A.value.substring(6,8),hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),parseInt(s,16)/255)}if(20===A.type){var i=QA[A.value.toUpperCase()];if(typeof i<"u")return i}return QA.TRANSPARENT},FA=function(e){return!(255&e)},R=function(e){var A=255&e,t=255&e>>8,r=255&e>>16,B=255&e>>24;return A<255?"rgba("+B+","+r+","+t+","+A/255+")":"rgb("+B+","+r+","+t+")"},hA=function(e,A,t,r){return(e<<24|A<<16|t<<8|Math.round(255*r))>>>0},Pt=function(e,A){if(17===e.type)return e.number;if(16===e.type){var t=3===A?1:255;return 3===A?e.number/100*t:Math.round(e.number/100*t)}return 0},kt=function(e,A){var t=A.filter(GA);if(3===t.length){var r=t.map(Pt);return hA(r[0],r[1],r[2],1)}if(4===t.length){var i=t.map(Pt);return hA(i[0],i[1],i[2],i[3])}return 0};function Lr(e,A,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(A-e)*t*6+e:t<.5?A:t<2/3?6*(A-e)*(2/3-t)+e:e}var Yt=function(e,A){var t=A.filter(GA),r=t[0],B=t[1],n=t[2],s=t[3],i=(17===r.type?$(r.number):Se_parse(e,r))/(2*Math.PI),a=O(B)?B.number/100:0,o=O(n)?n.number/100:0,Q=typeof s<"u"&&O(s)?b(s,1):1;if(0===a)return hA(255*o,255*o,255*o,1);var g=o<=.5?o*(a+1):o+a-o*a,w=2*o-g,f=Lr(w,g,i+1/3),c=Lr(w,g,i),C=Lr(w,g,i-1/3);return hA(255*f,255*c,255*C,Q)},zs={hsl:Yt,hsla:Yt,rgb:kt,rgba:kt},se=function(e,A){return UA_parse(e,Ot.create(A).parseComponentValue())},QA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},$s={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Aa={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Oe=function(e,A){var t=UA_parse(e,A[0]),r=A[1];return r&&O(r)?{color:t,stop:r}:{color:t,stop:null}},Wt=function(e,A){var t=e[0],r=e[e.length-1];null===t.stop&&(t.stop=V),null===r.stop&&(r.stop=fA);for(var B=[],n=0,s=0;sn?a:n),n=a}else B.push(null)}var o=null;for(s=0;ss.optimumDistance)?{optimumCorner:i,optimumDistance:Q}:s},{optimumDistance:B?1/0:-1/0,optimumCorner:null}).optimumCorner},Me=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(0===n){var s=B[0];if(20===s.type&&-1!==["top","left","right","bottom"].indexOf(s.value))return void(t=Jt(B));if(_t(s))return void(t=(Se_parse(e,s)+$(270))%$(360))}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},qt="closest-side",jt="farthest-side",zt="closest-corner",$t="farthest-corner",eB="ellipse",tB="contain",Ge=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(0===i?a=s.reduce(function(Q,g){if(L(g))switch(g.value){case"center":return n.push(mr),!1;case"top":case"left":return n.push(V),!1;case"right":case"bottom":return n.push(fA),!1}else if(O(g)||lA(g))return n.push(g),!1;return Q},a):1===i&&(a=s.reduce(function(Q,g){if(L(g))switch(g.value){case"circle":return t=0,!1;case eB:return t=1,!1;case tB:case qt:return r=0,!1;case jt:return r=1,!1;case zt:return r=2,!1;case"cover":case $t:return r=3,!1}else if(lA(g)||O(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return Q},a)),a){var o=Oe(e,s);B.push(o)}}),{size:r,shape:t,stops:B,position:n,type:2}},Dr_parse=function(e,A){if(22===A.type){var t={url:A.value,type:0};return e.cache.addImage(A.value),t}if(18===A.type){var r=BB[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(e,A.values)}throw new Error("Unsupported image type "+A.type)};for(var BB={"linear-gradient":function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(0===n){var s=B[0];if(20===s.type&&"to"===s.value)return void(t=Jt(B));if(_t(s))return void(t=Se_parse(e,s))}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},"-moz-linear-gradient":Me,"-ms-linear-gradient":Me,"-o-linear-gradient":Me,"-webkit-linear-gradient":Me,"radial-gradient":function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(0===i){var o=!1;a=s.reduce(function(g,w){if(o)if(L(w))switch(w.value){case"center":return n.push(mr),g;case"top":case"left":return n.push(V),g;case"right":case"bottom":return n.push(fA),g}else(O(w)||lA(w))&&n.push(w);else if(L(w))switch(w.value){case"circle":return t=0,!1;case eB:return t=1,!1;case"at":return o=!0,!1;case qt:return r=0,!1;case"cover":case jt:return r=1,!1;case tB:case zt:return r=2,!1;case $t:return r=3,!1}else if(lA(w)||O(w))return Array.isArray(r)||(r=[]),r.push(w),!1;return g},a)}if(a){var Q=Oe(e,s);B.push(Q)}}),{size:r,shape:t,stops:B,position:n,type:2}},"-moz-radial-gradient":Ge,"-ms-radial-gradient":Ge,"-o-radial-gradient":Ge,"-webkit-radial-gradient":Ge,"-webkit-gradient":function(e,A){var t=$(180),r=[],B=1;return nA(A).forEach(function(a,o){var Q=a[0];if(0===o){if(L(Q)&&"linear"===Q.value)return void(B=1);if(L(Q)&&"radial"===Q.value)return void(B=2)}if(18===Q.type)if("from"===Q.name){var g=UA_parse(e,Q.values[0]);r.push({stop:V,color:g})}else if("to"===Q.name)g=UA_parse(e,Q.values[0]),r.push({stop:fA,color:g});else if("color-stop"===Q.name){var w=Q.values.filter(GA);if(2===w.length){g=UA_parse(e,w[1]);var f=w[0];MA(f)&&r.push({stop:{type:16,number:100*f.number,flags:f.flags},color:g})}}}),1===B?{angle:(t+$(180))%$(360),stops:r,type:B}:{size:3,shape:0,stops:r,position:[],type:B}}},Qa={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(0===A.length)return[];var t=A[0];return 20===t.type&&"none"===t.value?[]:A.filter(function(r){return GA(r)&&function oa(e){return!(20===e.type&&"none"===e.value||18===e.type&&!BB[e.name])}(r)}).map(function(r){return Dr_parse(e,r)})}},ga={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},wa={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return nA(A).map(function(t){return t.filter(O)}).map(Gt)}},ca={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(L).map(function(r){return r.value}).join(" ")}).map(Ca)}},Ca=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},ae=function(e){return e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover",e}(ae||{}),ua={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(la)})}},la=function(e){return L(e)||O(e)},Re=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},fa=Re("top"),Ua=Re("right"),Fa=Re("bottom"),ha=Re("left"),Ve=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return Gt(t.filter(O))}}},da=Ve("top-left"),Ea=Ve("top-right"),Ha=Ve("bottom-right"),pa=Ve("bottom-left"),Ne=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ia=Ne("top"),va=Ne("right"),ya=Ne("bottom"),Ka=Ne("left"),Xe=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return Be(t)?t.number:0}}},ma=Xe("top"),La=Xe("right"),Da=Xe("bottom"),ba=Xe("left"),xa={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ta={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){return"rtl"===A?1:0}},Sa={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(L).reduce(function(t,r){return t|Oa(r.value)},0)}},Oa=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ma={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ga={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return 20===A.type&&"normal"===A.value?0:17===A.type||15===A.type?A.number:0}},br=function(e){return e.NORMAL="normal",e.STRICT="strict",e}(br||{}),Ra={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return"strict"===A?br.STRICT:br.NORMAL}},Va={name:"line-height",initialValue:"normal",prefix:!1,type:4},nB=function(e,A){return L(e)&&"normal"===e.value?1.2*A:17===e.type?A*e.number:O(e)?b(e,A):A},Na={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return 20===A.type&&"none"===A.value?null:Dr_parse(e,A)}},Xa={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){return"inside"===A?0:1}},xr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},_e=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},_a=_e("top"),Ja=_e("right"),Pa=_e("bottom"),ka=_e("left"),Ya={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Wa={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return"break-word"===A?"break-word":"normal"}},Je=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Za=Je("top"),qa=Je("right"),ja=Je("bottom"),za=Je("left"),$a={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Ai={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ei={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return 1===A.length&&Kr(A[0],"none")?[]:nA(A).map(function(t){for(var r={color:QA.TRANSPARENT,offsetX:V,offsetY:V,blur:V},B=0,n=0;n"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return t(A.values)}return null}},si={matrix:function(e){var A=e.filter(function(t){return 17===t.type}).map(function(t){return t.number});return 6===A.length?A:null},matrix3d:function(e){var A=e.filter(function(a){return 17===a.type}).map(function(a){return a.number});return 16===A.length?[A[0],A[1],A[4],A[5],A[12],A[13]]:null}},sB={type:16,number:50,flags:4},ai=[sB,sB],ii={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var t=A.filter(O);return 2!==t.length?ai:[t[0],t[1]]}},oi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}},Pe=function(e){return e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all",e}(Pe||{}),Qi={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return Pe.BREAK_ALL;case"keep-all":return Pe.KEEP_ALL;default:return Pe.NORMAL}}},gi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(20===A.type)return{auto:!0,order:0};if(MA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},aB={name:"time",parse:function(e,A){if(15===A.type)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},wi={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return MA(A)?A.number:1}},ci={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ci={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return 0!==t})}},ui={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var t=[],r=[];return A.forEach(function(B){switch(B.type){case 20:case 0:t.push(B.value);break;case 17:t.push(B.number.toString());break;case 4:r.push(t.join(" ")),t.length=0}}),t.length&&r.push(t.join(" ")),r.map(function(B){return-1===B.indexOf(" ")?B:"'"+B+"'"})}},li={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},fi={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){return MA(A)?A.number:L(A)&&"bold"===A.value?700:400}},Ui={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(L).map(function(t){return t.value})}},Fi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},G=function(e,A){return!!(e&A)},hi={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(0===A.length)return[];var t=A[0];return 20===t.type&&"none"===t.value?[]:A}},di={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(0===A.length)return null;var t=A[0];if(20===t.type&&"none"===t.value)return null;for(var r=[],B=A.filter(Mt),n=0;n1?1:0],this.overflowWrap=U(A,Wa,t.overflowWrap),this.paddingTop=U(A,Za,t.paddingTop),this.paddingRight=U(A,qa,t.paddingRight),this.paddingBottom=U(A,ja,t.paddingBottom),this.paddingLeft=U(A,za,t.paddingLeft),this.paintOrder=U(A,vi,t.paintOrder),this.position=U(A,Ai,t.position),this.textAlign=U(A,$a,t.textAlign),this.textDecorationColor=U(A,ci,null!==(r=t.textDecorationColor)&&void 0!==r?r:t.color),this.textDecorationLine=U(A,Ci,null!==(B=t.textDecorationLine)&&void 0!==B?B:t.textDecoration),this.textShadow=U(A,ei,t.textShadow),this.textTransform=U(A,ri,t.textTransform),this.transform=U(A,ti,t.transform),this.transformOrigin=U(A,ii,t.transformOrigin),this.visibility=U(A,oi,t.visibility),this.webkitTextStrokeColor=U(A,yi,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=U(A,Ki,t.webkitTextStrokeWidth),this.wordBreak=U(A,Qi,t.wordBreak),this.zIndex=U(A,gi,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return FA(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return G(this.display,4)||G(this.display,33554432)||G(this.display,268435456)||G(this.display,536870912)||G(this.display,67108864)||G(this.display,134217728)},e}(),Li=function(){return function e(A,t){this.content=U(A,hi,t.content),this.quotes=U(A,pi,t.quotes)}}(),oB=function(){return function e(A,t){this.counterIncrement=U(A,di,t.counterIncrement),this.counterReset=U(A,Ei,t.counterReset)}}(),U=function(e,A,t){var r=new St,B=null!==t&&typeof t<"u"?t.toString():A.initialValue;r.write(B);var n=new Ot(r.read());switch(A.type){case 2:var s=n.parseComponentValue();return A.parse(e,L(s)?s.value:A.initialValue);case 0:return A.parse(e,n.parseComponentValue());case 1:return A.parse(e,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return Se_parse(e,n.parseComponentValue());case"color":return UA_parse(e,n.parseComponentValue());case"image":return Dr_parse(e,n.parseComponentValue());case"length":var i=n.parseComponentValue();return lA(i)?i:V;case"length-percentage":var a=n.parseComponentValue();return O(a)?a:V;case"time":return aB.parse(e,n.parseComponentValue())}}},Tr=function(e,A){var t=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===t||A===t},sA=function(){return function e(A,t){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Tr(t,3),this.styles=new mi(A,window.getComputedStyle(t,null)),Wr(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=ue(this.context,t),Tr(t,4)&&(this.flags|=16)}}(),QB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=typeof Uint8Array>"u"?[]:new Uint8Array(256),ke=0;ke<64;ke++)ie[QB.charCodeAt(ke)]=ke;for(var wB=function(e,A,t){return e.slice?e.slice(A,t):new Uint16Array(Array.prototype.slice.call(e,A,t))},Zi=function(){function e(A,t,r,B,n,s){this.initialValue=A,this.errorValue=t,this.highStart=r,this.highValueIndex=B,this.index=n,this.data=s}return e.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[t=((t=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[t=((t=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A>11)],this.data[t=((t=this.index[t+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),cB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qi=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ye=0;Ye<64;Ye++)qi[cB.charCodeAt(Ye)]=Ye;var lB=8,Vr=9,fB=11,UB=12,Ao=function(){for(var e=[],A=0;A>10),s%1024+56320),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},eo=function(e,A){var t=function(e){var r,n,s,i,a,A=.75*e.length,t=e.length,B=0;"="===e[e.length-1]&&(A--,"="===e[e.length-2]&&A--);var o=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),Q=Array.isArray(o)?o:new Uint8Array(o);for(r=0;r>4,Q[B++]=(15&s)<<4|i>>2,Q[B++]=(3&i)<<6|63&a;return o}(e),r=Array.isArray(t)?function(e){for(var A=e.length,t=[],r=0;r=55296&&B<=56319&&t=t)return{done:!0,value:null};for(var s="\xd7";rs.x||Q.y>s.y;return s=Q,0===o||g});return e.body.removeChild(A),i}(document);return Object.defineProperty(N,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var A=new Image,t=e.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,";try{r.drawImage(A,0,0),t.toDataURL()}catch{return!1}return!0}(document);return Object.defineProperty(N,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var A=e.createElement("canvas"),t=100;A.width=t,A.height=t;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var B=new Image,n=A.toDataURL();B.src=n;var s=Jr(t,t,0,0,B);return r.fillStyle="red",r.fillRect(0,0,t,t),EB(s).then(function(i){r.drawImage(i,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var o=e.createElement("div");return o.style.backgroundImage="url("+n+")",o.style.height=t+"px",dB(a)?EB(Jr(t,t,0,0,o)):Promise.reject(!1)}).then(function(i){return r.drawImage(i,0,0),dB(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(N,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=typeof(new Image).crossOrigin<"u";return Object.defineProperty(N,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(N,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(N,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(N,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},oe=function(){return function e(A,t){this.text=A,this.bounds=t}}(),co=function(e,A){var t=A.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var B=A.parentNode;if(B){B.replaceChild(r,A);var n=ue(e,r);return r.firstChild&&B.replaceChild(r.firstChild,r),n}}return iA.EMPTY},HB=function(e,A,t){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var B=r.createRange();return B.setStart(e,A),B.setEnd(e,A+t),B},Pr=function(e){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(t){return t.segment})}return function(e){for(var r,A=Bo(e),t=[];!(r=A.next()).done;)r.value&&t.push(r.value.slice());return t}(e)},uo=function(e,A){return 0!==A.letterSpacing?Pr(e):function(e,A){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return fo(e,A)}(e,A)},lo=[32,160,4961,65792,65793,4153,4241],fo=function(e,A){for(var B,t=function(e,A){var t=le(e),r=Xn(t,A),B=r[0],n=r[1],s=r[2],i=t.length,a=0,o=0;return{next:function(){if(o>=i)return{done:!0,value:null};for(var Q=I;o0)if(N.SUPPORT_RANGE_BOUNDS){var a=HB(r,s,i.length).getClientRects();if(a.length>1){var o=Pr(i),Q=0;o.forEach(function(w){n.push(new oe(w,iA.fromDOMRectList(e,HB(r,Q+s,w.length).getClientRects()))),Q+=w.length})}else n.push(new oe(i,iA.fromDOMRectList(e,a)))}else{var g=r.splitText(i.length);n.push(new oe(i,co(e,r))),r=g}else N.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));s+=i.length}),n}(A,this.text,r,t)}}(),Fo=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(ho,Eo);case 2:return e.toUpperCase();default:return e}},ho=/(^|\s|:|-|\(|\))([a-z])/g,Eo=function(e,A,t){return e.length>0?A+t.toUpperCase():e},pB=function(e){function A(t,r){var B=e.call(this,t,r)||this;return B.src=r.currentSrc||r.src,B.intrinsicWidth=r.naturalWidth,B.intrinsicHeight=r.naturalHeight,B.context.cache.addImage(B.src),B}return q(A,e),A}(sA),IB=function(e){function A(t,r){var B=e.call(this,t,r)||this;return B.canvas=r,B.intrinsicWidth=r.width,B.intrinsicHeight=r.height,B}return q(A,e),A}(sA),vB=function(e){function A(t,r){var B=e.call(this,t,r)||this,n=new XMLSerializer,s=ue(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),B.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(r)),B.intrinsicWidth=r.width.baseVal.value,B.intrinsicHeight=r.height.baseVal.value,B.context.cache.addImage(B.svg),B}return q(A,e),A}(sA),yB=function(e){function A(t,r){var B=e.call(this,t,r)||this;return B.value=r.value,B}return q(A,e),A}(sA),kr=function(e){function A(t,r){var B=e.call(this,t,r)||this;return B.start=r.start,B.reversed="boolean"==typeof r.reversed&&!0===r.reversed,B}return q(A,e),A}(sA),Ho=[{type:15,flags:0,unit:"px",number:3}],po=[{type:16,flags:0,number:50}],We="checkbox",Ze="radio",yo="password",KB=707406591,Yr=function(e){function A(t,r){var B=e.call(this,t,r)||this;switch(B.type=r.type.toLowerCase(),B.checked=r.checked,B.value=function(e){var A=e.type===yo?new Array(e.value.length+1).join("\u2022"):e.value;return 0===A.length?e.placeholder||"":A}(r),(B.type===We||B.type===Ze)&&(B.styles.backgroundColor=3739148031,B.styles.borderTopColor=B.styles.borderRightColor=B.styles.borderBottomColor=B.styles.borderLeftColor=2779096575,B.styles.borderTopWidth=B.styles.borderRightWidth=B.styles.borderBottomWidth=B.styles.borderLeftWidth=1,B.styles.borderTopStyle=B.styles.borderRightStyle=B.styles.borderBottomStyle=B.styles.borderLeftStyle=1,B.styles.backgroundClip=[0],B.styles.backgroundOrigin=[0],B.bounds=function(e){return e.width>e.height?new iA(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)t.textNodes.push(new Uo(e,B,t.styles));else if(RA(B))if(VB(B)&&B.assignedNodes)B.assignedNodes().forEach(function(i){return qe(e,i,t,r)});else{var s=bB(e,B);s.styles.isVisible()&&(mo(B,s,r)?s.flags|=4:Lo(s.styles)&&(s.flags|=2),-1!==Ko.indexOf(B.tagName)&&(s.flags|=8),t.elements.push(s),B.shadowRoot?qe(e,B.shadowRoot,s,r):!ze(B)&&!SB(B)&&!$e(B)&&qe(e,B,s,r))}},bB=function(e,A){return qr(A)?new pB(e,A):OB(A)?new IB(e,A):SB(A)?new vB(e,A):Do(A)?new yB(e,A):bo(A)?new kr(e,A):xo(A)?new Yr(e,A):$e(A)?new mB(e,A):ze(A)?new LB(e,A):GB(A)?new DB(e,A):new sA(e,A)},xB=function(e,A){var t=bB(e,A);return t.flags|=4,qe(e,A,t,t),t},mo=function(e,A,t){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Zr(e)&&t.styles.isTransparent()},Lo=function(e){return e.isPositioned()||e.isFloating()},TB=function(e){return e.nodeType===Node.TEXT_NODE},RA=function(e){return e.nodeType===Node.ELEMENT_NODE},Wr=function(e){return RA(e)&&typeof e.style<"u"&&!je(e)},je=function(e){return"object"==typeof e.className},Do=function(e){return"LI"===e.tagName},bo=function(e){return"OL"===e.tagName},xo=function(e){return"INPUT"===e.tagName},SB=function(e){return"svg"===e.tagName},Zr=function(e){return"BODY"===e.tagName},OB=function(e){return"CANVAS"===e.tagName},MB=function(e){return"VIDEO"===e.tagName},qr=function(e){return"IMG"===e.tagName},GB=function(e){return"IFRAME"===e.tagName},RB=function(e){return"STYLE"===e.tagName},ze=function(e){return"TEXTAREA"===e.tagName},$e=function(e){return"SELECT"===e.tagName},VB=function(e){return"SLOT"===e.tagName},NB=function(e){return e.tagName.indexOf("-")>0},Oo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(A){return this.counters[A]||[]},e.prototype.pop=function(A){var t=this;A.forEach(function(r){return t.counters[r].pop()})},e.prototype.parse=function(A){var t=this,r=A.counterIncrement,B=A.counterReset,n=!0;null!==r&&r.forEach(function(i){var a=t.counters[i.counter];a&&0!==i.increment&&(n=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=i.increment)});var s=[];return n&&B.forEach(function(i){var a=t.counters[i.counter];s.push(i.counter),a||(a=t.counters[i.counter]=[]),a.push(i.reset)}),s},e}(),XB={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},_B={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Mo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},VA=function(e,A,t,r,B,n){return et?ge(e,B,n.length>0):r.integers.reduce(function(s,i,a){for(;e>=i;)e-=i,s+=r.values[a];return s},"")+n},JB=function(e,A,t,r){var B="";do{t||e--,B=r(e)+B,e/=A}while(e*A>=A);return B},S=function(e,A,t,r,B){var n=t-A+1;return(e<0?"-":"")+(JB(Math.abs(e),n,r,function(s){return T(Math.floor(s%n)+A)})+B)},mA=function(e,A,t){void 0===t&&(t=". ");var r=A.length;return JB(Math.abs(e),r,!1,function(B){return A[Math.floor(B%r)]})+t},gA=function(e,A,t,r,B,n){if(e<-9999||e>9999)return ge(e,4,B.length>0);var s=Math.abs(e),i=B;if(0===s)return A[0]+i;for(var a=0;s>0&&a<=4;a++){var o=s%10;0===o&&G(n,1)&&""!==i?i=A[o]+i:o>1||1===o&&0===a||1===o&&1===a&&G(n,2)||1===o&&1===a&&G(n,4)&&e>100||1===o&&a>1&&G(n,8)?i=A[o]+(a>0?t[a-1]:"")+i:1===o&&a>0&&(i=t[a-1]+i),s=Math.floor(s/10)}return(e<0?r:"")+i},jr="\ub9c8\uc774\ub108\uc2a4",ge=function(e,A,t){var r=t?". ":"",B=t?"\u3001":"",n=t?", ":"",s=t?" ":"";switch(A){case 0:return"\u2022"+s;case 1:return"\u25e6"+s;case 2:return"\u25fe"+s;case 5:var i=S(e,48,57,!0,r);return i.length<4?"0"+i:i;case 4:return mA(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",B);case 6:return VA(e,1,3999,XB,3,r).toLowerCase();case 7:return VA(e,1,3999,XB,3,r);case 8:return S(e,945,969,!1,r);case 9:return S(e,97,122,!1,r);case 10:return S(e,65,90,!1,r);case 11:return S(e,1632,1641,!0,r);case 12:case 49:return VA(e,1,9999,_B,3,r);case 35:return VA(e,1,9999,_B,3,r).toLowerCase();case 13:return S(e,2534,2543,!0,r);case 14:case 30:return S(e,6112,6121,!0,r);case 15:return mA(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",B);case 16:return mA(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",B);case 17:case 48:return gA(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",B,14);case 47:return gA(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",B,15);case 42:return gA(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",B,14);case 41:return gA(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",B,15);case 26:return gA(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",B,0);case 25:return gA(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",B,7);case 31:return gA(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",jr,n,7);case 33:return gA(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",jr,n,0);case 32:return gA(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",jr,n,7);case 18:return S(e,2406,2415,!0,r);case 20:return VA(e,1,19999,Go,3,r);case 21:return S(e,2790,2799,!0,r);case 22:return S(e,2662,2671,!0,r);case 22:return VA(e,1,10999,Mo,3,r);case 23:return mA(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return mA(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return S(e,3302,3311,!0,r);case 28:return mA(e,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",B);case 29:return mA(e,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",B);case 34:return S(e,3792,3801,!0,r);case 37:return S(e,6160,6169,!0,r);case 38:return S(e,4160,4169,!0,r);case 39:return S(e,2918,2927,!0,r);case 40:return S(e,1776,1785,!0,r);case 43:return S(e,3046,3055,!0,r);case 44:return S(e,3174,3183,!0,r);case 45:return S(e,3664,3673,!0,r);case 46:return S(e,3872,3881,!0,r);default:return S(e,48,57,!0,r)}},WB="data-html2canvas-ignore",ZB=function(){function e(A,t,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Oo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,t){var r=this,B=Ro(A,t);if(!B.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,i=B.contentWindow,a=i.document,o=Xo(B).then(function(){return P(r,void 0,void 0,function(){var Q,g;return _(this,function(w){switch(w.label){case 0:return this.scrolledElements.forEach(ko),i&&(i.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==t.top||i.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-t.left,i.scrollY-t.top,0,0))),Q=this.options.onclone,typeof(g=this.clonedReferenceElement)>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:w.sent(),w.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,No(a)]:[3,4];case 3:w.sent(),w.label=4;case 4:return"function"==typeof Q?[2,Promise.resolve().then(function(){return Q(a,g)}).then(function(){return B})]:[2,B]}})})});return a.open(),a.write(Jo(document.doctype)+""),Po(this.referenceElement.ownerDocument,n,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),o},e.prototype.createElementClone=function(A){if(Tr(A,2),OB(A))return this.createCanvasClone(A);if(MB(A))return this.createVideoClone(A);if(RB(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return qr(t)&&(qr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),NB(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return zr(A.style,t),t},e.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(n,s){return s&&"string"==typeof s.cssText?n+s.cssText:n},""),B=A.cloneNode(!1);return B.textContent=r,B}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),"SecurityError"!==n.name)throw n}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var B=A.cloneNode(!1);try{B.width=A.width,B.height=A.height;var n=A.getContext("2d"),s=B.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var i=null!==(t=A.getContext("webgl2"))&&void 0!==t?t:A.getContext("webgl");if(i){var a=i.getContextAttributes();!1===a?.preserveDrawingBuffer&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return B}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return B},e.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var B=A.ownerDocument.createElement("canvas");return B.width=A.offsetWidth,B.height=A.offsetHeight,B},e.prototype.appendChildNode=function(A,t,r){(!RA(t)||!function(e){return"SCRIPT"===e.tagName}(t)&&!t.hasAttribute(WB)&&("function"!=typeof this.options.ignoreElements||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!RA(t)||!RB(t))&&A.appendChild(this.cloneNode(t,r))},e.prototype.cloneChildNodes=function(A,t,r){for(var B=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(RA(n)&&VB(n)&&"function"==typeof n.assignedNodes){var s=n.assignedNodes();s.length&&s.forEach(function(i){return B.appendChildNode(t,i,r)})}else this.appendChildNode(t,n,r)},e.prototype.cloneNode=function(A,t){if(TB(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&RA(A)&&(Wr(A)||je(A))){var B=this.createElementClone(A);B.style.transitionProperty="none";var n=r.getComputedStyle(A),s=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&Wr(B)&&(this.clonedReferenceElement=B),Zr(B)&&Zo(B);var a=this.counters.parse(new oB(this.context,n)),o=this.resolvePseudoContent(A,B,s,Ar.BEFORE);NB(A)&&(t=!0),MB(A)||this.cloneChildNodes(A,B,t),o&&B.insertBefore(o,B.firstChild);var Q=this.resolvePseudoContent(A,B,i,Ar.AFTER);return Q&&B.appendChild(Q),this.counters.pop(a),(n&&(this.options.copyStyles||je(A))&&!GB(A)||t)&&zr(n,B),(0!==A.scrollTop||0!==A.scrollLeft)&&this.scrolledElements.push([B,A.scrollLeft,A.scrollTop]),(ze(A)||$e(A))&&(ze(B)||$e(B))&&(B.value=A.value),B}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,t,r,B){var n=this;if(r){var s=r.content,i=t.ownerDocument;if(i&&s&&"none"!==s&&"-moz-alt-content"!==s&&"none"!==r.display){this.counters.parse(new oB(this.context,r));var a=new Li(this.context,r),o=i.createElement("html2canvaspseudoelement");zr(r,o),a.content.forEach(function(g){if(0===g.type)o.appendChild(i.createTextNode(g.value));else if(22===g.type){var w=i.createElement("img");w.src=g.value,w.style.opacity="1",o.appendChild(w)}else if(18===g.type){if("attr"===g.name){var f=g.values.filter(L);f.length&&o.appendChild(i.createTextNode(A.getAttribute(f[0].value)||""))}else if("counter"===g.name){var c=g.values.filter(GA),H=c[1];if((C=c[0])&&L(C)){var h=n.counters.getCounterValue(C.value),F=H&&L(H)?xr.parse(n.context,H.value):3;o.appendChild(i.createTextNode(ge(h,F,!1)))}}else if("counters"===g.name){var C,K=g.values.filter(GA),p=K[1];if(H=K[2],(C=K[0])&&L(C)){var d=n.counters.getCounterValues(C.value),l=H&&L(H)?xr.parse(n.context,H.value):3,v=p&&0===p.type?p.value:"",y=d.map(function(Y){return ge(Y,l,!1)}).join(v);o.appendChild(i.createTextNode(y))}}}else if(20===g.type)switch(g.value){case"open-quote":o.appendChild(i.createTextNode(iB(a.quotes,n.quoteDepth++,!0)));break;case"close-quote":o.appendChild(i.createTextNode(iB(a.quotes,--n.quoteDepth,!1)));break;default:o.appendChild(i.createTextNode(g.value))}}),o.className=$r+" "+At;var Q=B===Ar.BEFORE?" "+$r:" "+At;return je(t)?t.className.baseValue+=Q:t.className+=Q,o}}},e.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},e}(),Ar=function(e){return e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER",e}(Ar||{}),Ro=function(e,A){var t=e.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute(WB,"true"),e.body.appendChild(t),t},Vo=function(e){return new Promise(function(A){e.complete?A():e.src?(e.onload=A,e.onerror=A):A()})},No=function(e){return Promise.all([].slice.call(e.images,0).map(Vo))},Xo=function(e){return new Promise(function(A,t){var r=e.contentWindow;if(!r)return t("No window assigned for iframe");var B=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){B.body.childNodes.length>0&&"complete"===B.readyState&&(clearInterval(n),A(e))},50)}})},_o=["all","d","content"],zr=function(e,A){for(var t=e.length-1;t>=0;t--){var r=e.item(t);-1===_o.indexOf(r)&&A.style.setProperty(r,e.getPropertyValue(r))}return A},Jo=function(e){var A="";return e&&(A+=""),A},Po=function(e,A,t){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||t!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,t)},ko=function(e){var A=e[0],r=e[2];A.scrollLeft=e[1],A.scrollTop=r},$r="___html2canvas___pseudoelement_before",At="___html2canvas___pseudoelement_after",qB='{\n content: "" !important;\n display: none !important;\n}',Zo=function(e){qo(e,"."+$r+":before"+qB+"\n ."+At+":after"+qB)},qo=function(e,A){var t=e.ownerDocument;if(t){var r=t.createElement("style");r.textContent=A,e.appendChild(r)}},jB=function(){function e(){}return e.getOrigin=function(A){var t=e._link;return t?(t.href=A,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e}(),jo=function(){function e(A,t){this.context=A,this._options=t,this._cache={}}return e.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)||(rt(A)||eQ(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),t},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return P(this,void 0,void 0,function(){var t,r,B,n,s=this;return _(this,function(i){switch(i.label){case 0:return t=jB.isSameOrigin(A),r=!et(A)&&!0===this._options.useCORS&&N.SUPPORT_CORS_IMAGES&&!t,B=!et(A)&&!t&&!rt(A)&&"string"==typeof this._options.proxy&&N.SUPPORT_CORS_XHR&&!r,t||!1!==this._options.allowTaint||et(A)||rt(A)||B||r?(n=A,B?[4,this.proxy(n)]:[3,2]):[2];case 1:n=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(a,o){var Q=new Image;Q.onload=function(){return a(Q)},Q.onerror=o,(rQ(n)||r)&&(Q.crossOrigin="anonymous"),Q.src=n,!0===Q.complete&&setTimeout(function(){return a(Q)},500),s._options.imageTimeout>0&&setTimeout(function(){return o("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var B=A.substring(0,256);return new Promise(function(n,s){var i=N.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if("text"===i)n(a.response);else{var g=new FileReader;g.addEventListener("load",function(){return n(g.result)},!1),g.addEventListener("error",function(w){return s(w)},!1),g.readAsDataURL(a.response)}else s("Failed to proxy resource "+B+" with status code "+a.status)},a.onerror=s;var o=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+o+"url="+encodeURIComponent(A)+"&responseType="+i),"text"!==i&&a instanceof XMLHttpRequest&&(a.responseType=i),t._options.imageTimeout){var Q=t._options.imageTimeout;a.timeout=Q,a.ontimeout=function(){return s("Timed out ("+Q+"ms) proxying "+B)}}a.send()})},e}(),zo=/^data:image\/svg\+xml/i,$o=/^data:image\/.*;base64,/i,AQ=/^data:image\/.*/i,eQ=function(e){return N.SUPPORT_SVG_DRAWING||!tQ(e)},et=function(e){return AQ.test(e)},rQ=function(e){return $o.test(e)},rt=function(e){return"blob"===e.substr(0,4)},tQ=function(e){return"svg"===e.substr(-3).toLowerCase()||zo.test(e)},u=function(){function e(A,t){this.type=0,this.x=A,this.y=t}return e.prototype.add=function(A,t){return new e(this.x+A,this.y+t)},e}(),XA=function(e,A,t){return new u(e.x+(A.x-e.x)*t,e.y+(A.y-e.y)*t)},er=function(){function e(A,t,r,B){this.type=1,this.start=A,this.startControl=t,this.endControl=r,this.end=B}return e.prototype.subdivide=function(A,t){var r=XA(this.start,this.startControl,A),B=XA(this.startControl,this.endControl,A),n=XA(this.endControl,this.end,A),s=XA(r,B,A),i=XA(B,n,A),a=XA(s,i,A);return t?new e(this.start,r,s,a):new e(a,i,n,this.end)},e.prototype.add=function(A,t){return new e(this.start.add(A,t),this.startControl.add(A,t),this.endControl.add(A,t),this.end.add(A,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),eA=function(e){return 1===e.type},BQ=function(){return function e(A){var t=A.styles,r=A.bounds,B=ne(t.borderTopLeftRadius,r.width,r.height),n=B[0],s=B[1],i=ne(t.borderTopRightRadius,r.width,r.height),a=i[0],o=i[1],Q=ne(t.borderBottomRightRadius,r.width,r.height),g=Q[0],w=Q[1],f=ne(t.borderBottomLeftRadius,r.width,r.height),c=f[0],C=f[1],H=[];H.push((n+a)/r.width),H.push((c+g)/r.width),H.push((s+C)/r.height),H.push((o+w)/r.height);var h=Math.max.apply(Math,H);h>1&&(n/=h,s/=h,a/=h,o/=h,g/=h,w/=h,c/=h,C/=h);var F=r.width-a,K=r.height-w,p=r.width-g,d=r.height-C,l=t.borderTopWidth,v=t.borderRightWidth,y=t.borderBottomWidth,E=t.borderLeftWidth,M=b(t.paddingTop,A.bounds.width),Y=b(t.paddingRight,A.bounds.width),z=b(t.paddingBottom,A.bounds.width),D=b(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||s>0?x(r.left+E/3,r.top+l/3,n-E/3,s-l/3,m.TOP_LEFT):new u(r.left+E/3,r.top+l/3),this.topRightBorderDoubleOuterBox=n>0||s>0?x(r.left+F,r.top+l/3,a-v/3,o-l/3,m.TOP_RIGHT):new u(r.left+r.width-v/3,r.top+l/3),this.bottomRightBorderDoubleOuterBox=g>0||w>0?x(r.left+p,r.top+K,g-v/3,w-y/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v/3,r.top+r.height-y/3),this.bottomLeftBorderDoubleOuterBox=c>0||C>0?x(r.left+E/3,r.top+d,c-E/3,C-y/3,m.BOTTOM_LEFT):new u(r.left+E/3,r.top+r.height-y/3),this.topLeftBorderDoubleInnerBox=n>0||s>0?x(r.left+2*E/3,r.top+2*l/3,n-2*E/3,s-2*l/3,m.TOP_LEFT):new u(r.left+2*E/3,r.top+2*l/3),this.topRightBorderDoubleInnerBox=n>0||s>0?x(r.left+F,r.top+2*l/3,a-2*v/3,o-2*l/3,m.TOP_RIGHT):new u(r.left+r.width-2*v/3,r.top+2*l/3),this.bottomRightBorderDoubleInnerBox=g>0||w>0?x(r.left+p,r.top+K,g-2*v/3,w-2*y/3,m.BOTTOM_RIGHT):new u(r.left+r.width-2*v/3,r.top+r.height-2*y/3),this.bottomLeftBorderDoubleInnerBox=c>0||C>0?x(r.left+2*E/3,r.top+d,c-2*E/3,C-2*y/3,m.BOTTOM_LEFT):new u(r.left+2*E/3,r.top+r.height-2*y/3),this.topLeftBorderStroke=n>0||s>0?x(r.left+E/2,r.top+l/2,n-E/2,s-l/2,m.TOP_LEFT):new u(r.left+E/2,r.top+l/2),this.topRightBorderStroke=n>0||s>0?x(r.left+F,r.top+l/2,a-v/2,o-l/2,m.TOP_RIGHT):new u(r.left+r.width-v/2,r.top+l/2),this.bottomRightBorderStroke=g>0||w>0?x(r.left+p,r.top+K,g-v/2,w-y/2,m.BOTTOM_RIGHT):new u(r.left+r.width-v/2,r.top+r.height-y/2),this.bottomLeftBorderStroke=c>0||C>0?x(r.left+E/2,r.top+d,c-E/2,C-y/2,m.BOTTOM_LEFT):new u(r.left+E/2,r.top+r.height-y/2),this.topLeftBorderBox=n>0||s>0?x(r.left,r.top,n,s,m.TOP_LEFT):new u(r.left,r.top),this.topRightBorderBox=a>0||o>0?x(r.left+F,r.top,a,o,m.TOP_RIGHT):new u(r.left+r.width,r.top),this.bottomRightBorderBox=g>0||w>0?x(r.left+p,r.top+K,g,w,m.BOTTOM_RIGHT):new u(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||C>0?x(r.left,r.top+d,c,C,m.BOTTOM_LEFT):new u(r.left,r.top+r.height),this.topLeftPaddingBox=n>0||s>0?x(r.left+E,r.top+l,Math.max(0,n-E),Math.max(0,s-l),m.TOP_LEFT):new u(r.left+E,r.top+l),this.topRightPaddingBox=a>0||o>0?x(r.left+Math.min(F,r.width-v),r.top+l,F>r.width+v?0:Math.max(0,a-v),Math.max(0,o-l),m.TOP_RIGHT):new u(r.left+r.width-v,r.top+l),this.bottomRightPaddingBox=g>0||w>0?x(r.left+Math.min(p,r.width-E),r.top+Math.min(K,r.height-y),Math.max(0,g-v),Math.max(0,w-y),m.BOTTOM_RIGHT):new u(r.left+r.width-v,r.top+r.height-y),this.bottomLeftPaddingBox=c>0||C>0?x(r.left+E,r.top+Math.min(d,r.height-y),Math.max(0,c-E),Math.max(0,C-y),m.BOTTOM_LEFT):new u(r.left+E,r.top+r.height-y),this.topLeftContentBox=n>0||s>0?x(r.left+E+D,r.top+l+M,Math.max(0,n-(E+D)),Math.max(0,s-(l+M)),m.TOP_LEFT):new u(r.left+E+D,r.top+l+M),this.topRightContentBox=a>0||o>0?x(r.left+Math.min(F,r.width+E+D),r.top+l+M,F>r.width+E+D?0:a-E+D,o-(l+M),m.TOP_RIGHT):new u(r.left+r.width-(v+Y),r.top+l+M),this.bottomRightContentBox=g>0||w>0?x(r.left+Math.min(p,r.width-(E+D)),r.top+Math.min(K,r.height+l+M),Math.max(0,g-(v+Y)),w-(y+z),m.BOTTOM_RIGHT):new u(r.left+r.width-(v+Y),r.top+r.height-(y+z)),this.bottomLeftContentBox=c>0||C>0?x(r.left+E+D,r.top+d,Math.max(0,c-(E+D)),C-(y+z),m.BOTTOM_LEFT):new u(r.left+E+D,r.top+r.height-(y+z))}}(),m=function(e){return e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT",e}(m||{}),x=function(e,A,t,r,B){var n=(Math.sqrt(2)-1)/3*4,s=t*n,i=r*n,a=e+t,o=A+r;switch(B){case m.TOP_LEFT:return new er(new u(e,o),new u(e,o-i),new u(a-s,A),new u(a,A));case m.TOP_RIGHT:return new er(new u(e,A),new u(e+s,A),new u(a,o-i),new u(a,o));case m.BOTTOM_RIGHT:return new er(new u(a,A),new u(a,A+i),new u(e+s,o),new u(e,o));default:return new er(new u(a,o),new u(a-s,o),new u(e,A+i),new u(e,A))}},rr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},tr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},sQ=function(){return function e(A,t,r){this.offsetX=A,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}}(),Br=function(){return function e(A,t){this.path=A,this.target=t,this.type=1}}(),aQ=function(){return function e(A){this.opacity=A,this.type=2,this.target=6}}(),zB=function(e){return 1===e.type},$B=function(e,A){return e.length===A.length&&e.some(function(t,r){return t===A[r]})},An=function(){return function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),en=function(){function e(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new BQ(this.container),this.container.styles.opacity<1&&this.effects.push(new aQ(this.container.styles.opacity)),null!==this.container.styles.transform&&this.effects.push(new sQ(this.container.bounds.left+this.container.styles.transformOrigin[0].number,this.container.bounds.top+this.container.styles.transformOrigin[1].number,this.container.styles.transform)),0!==this.container.styles.overflowX){var s=rr(this.curves),i=tr(this.curves);$B(s,i)?this.effects.push(new Br(s,6)):(this.effects.push(new Br(s,2)),this.effects.push(new Br(i,4)))}}return e.prototype.getEffects=function(A){for(var t=-1===[2,3].indexOf(this.container.styles.position),r=this.parent,B=this.effects.slice(0);r;){var n=r.effects.filter(function(a){return!zB(a)});if(t||0!==r.container.styles.position||!r.parent){if(B.unshift.apply(B,n),t=-1===[2,3].indexOf(r.container.styles.position),0!==r.container.styles.overflowX){var s=rr(r.curves),i=tr(r.curves);$B(s,i)||B.unshift(new Br(i,6))}}else B.unshift.apply(B,n);r=r.parent}return B.filter(function(a){return G(a.target,A)})},e}(),tt=function(e,A,t,r){e.container.elements.forEach(function(B){var n=G(B.flags,4),s=G(B.flags,2),i=new en(B,e);G(B.styles.display,2048)&&r.push(i);var a=G(B.flags,8)?[]:r;if(n||s){var o=n||B.styles.isPositioned()?t:A,Q=new An(i);if(B.styles.isPositioned()||B.styles.opacity<1||B.styles.isTransformed()){var g=B.styles.zIndex.order;if(g<0){var w=0;o.negativeZIndex.some(function(c,C){return g>c.element.container.styles.zIndex.order?(w=C,!1):w>0}),o.negativeZIndex.splice(w,0,Q)}else if(g>0){var f=0;o.positiveZIndex.some(function(c,C){return g>=c.element.container.styles.zIndex.order?(f=C+1,!1):f>0}),o.positiveZIndex.splice(f,0,Q)}else o.zeroOrAutoZIndexOrTransformedOrOpacity.push(Q)}else B.styles.isFloating()?o.nonPositionedFloats.push(Q):o.nonPositionedInlineLevel.push(Q);tt(i,Q,n?Q:t,a)}else B.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),tt(i,A,t,a);G(B.flags,8)&&rn(B,a)})},rn=function(e,A){for(var t=e instanceof kr?e.start:1,r=e instanceof kr&&e.reversed,B=0;B"u"?e[0]:t},UQ=function(e,A,t,r,B){var n=A[0],s=A[1],i=t[0],a=t[1];switch(e){case 2:return[new u(Math.round(r.left),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(a+r.top+s)),new u(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new u(Math.round(r.left+n),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.height+r.top)),new u(Math.round(r.left+n),Math.round(r.height+r.top))];case 1:return[new u(Math.round(r.left+n),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s+a)),new u(Math.round(r.left+n),Math.round(r.top+s+a))];default:return[new u(Math.round(B.left),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.height+B.top)),new u(Math.round(B.left),Math.round(B.height+B.top))]}},nn="Hidden Text",hQ=function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,t){var r=this._document.createElement("div"),B=this._document.createElement("img"),n=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),B.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",B.width=1,B.height=1,B.style.margin="0",B.style.padding="0",B.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(nn)),r.appendChild(n),r.appendChild(B);var i=B.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(nn)),r.style.lineHeight="normal",B.style.verticalAlign="super";var a=B.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:i,middle:a}},e.prototype.getMetrics=function(A,t){var r=A+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,t)),this._data[r]},e}(),sn=function(){return function e(A,t){this.context=A,this.options=t}}(),EQ=function(e){function A(t,r){var B=e.call(this,t,r)||this;return B._activeEffects=[],B.canvas=r.canvas?r.canvas:document.createElement("canvas"),B.ctx=B.canvas.getContext("2d"),r.canvas||(B.canvas.width=Math.floor(r.width*r.scale),B.canvas.height=Math.floor(r.height*r.scale),B.canvas.style.width=r.width+"px",B.canvas.style.height=r.height+"px"),B.fontMetrics=new hQ(document),B.ctx.scale(B.options.scale,B.options.scale),B.ctx.translate(-r.x,-r.y),B.ctx.textBaseline="bottom",B._activeEffects=[],B.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),B}return q(A,e),A.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(B){return r.applyEffect(B)})},A.prototype.applyEffect=function(t){this.ctx.save(),function(e){return 2===e.type}(t)&&(this.ctx.globalAlpha=t.opacity),function(e){return 0===e.type}(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),zB(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(t){return P(this,void 0,void 0,function(){return _(this,function(B){switch(B.label){case 0:return t.element.container.styles.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:B.sent(),B.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(t){return P(this,void 0,void 0,function(){return _(this,function(r){switch(r.label){case 0:return G(t.container.flags,16),t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(t,r,B){var n=this;0===r?this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+B):Pr(t.text).reduce(function(i,a){return n.ctx.fillText(a,i,t.bounds.top+B),i+n.ctx.measureText(a).width},t.bounds.left)},A.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return"normal"===s||"small-caps"===s}).join(""),B=yQ(t.fontFamily).join(", "),n=Be(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,n,B].join(" "),B,n]},A.prototype.renderTextNode=function(t,r){return P(this,void 0,void 0,function(){var B,s,i,a,o,Q,g,w=this;return _(this,function(f){return B=this.createFontStyle(r),s=B[1],i=B[2],this.ctx.font=B[0],this.ctx.direction=1===r.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,i),o=a.baseline,Q=a.middle,g=r.paintOrder,t.textBounds.forEach(function(c){g.forEach(function(C){switch(C){case 0:w.ctx.fillStyle=R(r.color),w.renderTextWithLetterSpacing(c,r.letterSpacing,o);var H=r.textShadow;H.length&&c.text.trim().length&&(H.slice(0).reverse().forEach(function(h){w.ctx.shadowColor=R(h.color),w.ctx.shadowOffsetX=h.offsetX.number*w.options.scale,w.ctx.shadowOffsetY=h.offsetY.number*w.options.scale,w.ctx.shadowBlur=h.blur.number,w.renderTextWithLetterSpacing(c,r.letterSpacing,o)}),w.ctx.shadowColor="",w.ctx.shadowOffsetX=0,w.ctx.shadowOffsetY=0,w.ctx.shadowBlur=0),r.textDecorationLine.length&&(w.ctx.fillStyle=R(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(h){switch(h){case 1:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top+o),c.bounds.width,1);break;case 2:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top),c.bounds.width,1);break;case 3:w.ctx.fillRect(c.bounds.left,Math.ceil(c.bounds.top+Q),c.bounds.width,1)}}));break;case 1:r.webkitTextStrokeWidth&&c.text.trim().length&&(w.ctx.strokeStyle=R(r.webkitTextStrokeColor),w.ctx.lineWidth=r.webkitTextStrokeWidth,w.ctx.lineJoin=window.chrome?"miter":"round",w.ctx.strokeText(c.text,c.bounds.left,c.bounds.top+o)),w.ctx.strokeStyle="",w.ctx.lineWidth=0,w.ctx.lineJoin="miter"}})}),[2]})})},A.prototype.renderReplacedElement=function(t,r,B){if(B&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var n=sr(t),s=tr(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(B,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return P(this,void 0,void 0,function(){var r,B,n,s,i,Q,g,w,c,C,H,h,F,K,p,d;return _(this,function(l){switch(l.label){case 0:this.applyEffects(t.getEffects(4)),B=t.curves,n=(r=t.container).styles,s=0,i=r.textNodes,l.label=1;case 1:return s0&&pA>0&&(DA=n.ctx.createRadialGradient(Y+W,z+Z,0,Y+W,z+Z,aA),Wt(Q.stops,2*aA).forEach(function(we){return DA.addColorStop(we.stop,R(we.color))}),n.path(M),n.ctx.fillStyle=DA,aA!==pA?(bA=t.bounds.left+.5*t.bounds.width,wA=t.bounds.top+.5*t.bounds.height,cA=1/(xA=pA/aA),n.ctx.save(),n.ctx.translate(bA,wA),n.ctx.transform(1,0,0,xA,0,0),n.ctx.translate(-bA,-wA),n.ctx.fillRect(Y,cA*(z-wA)+wA,D,X*cA),n.ctx.restore()):n.ctx.fill())):(c=Bt(t,r,[null,null,null]),M=c[0],W=c[1],Z=c[2],C=ra(Q.angle,D=c[3],X=c[4]),H=C[0],h=C[1],F=C[2],K=C[3],p=C[4],(d=document.createElement("canvas")).width=D,d.height=X,l=d.getContext("2d"),v=l.createLinearGradient(h,K,F,p),Wt(Q.stops,H).forEach(function(we){return v.addColorStop(we.stop,R(we.color))}),l.fillStyle=v,l.fillRect(0,0,D,X),D>0&&X>0&&(y=n.ctx.createPattern(d,"repeat"),n.renderRepeat(M,y,W,Z))),PA.label=6;case 6:return r--,[2]}})},n=this,s=0,i=t.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return s0?2!==Q.style?[3,5]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,2)]:[3,11]:[3,13];case 4:return w.sent(),[3,11];case 5:return 3!==Q.style?[3,7]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,3)];case 6:return w.sent(),[3,11];case 7:return 4!==Q.style?[3,9]:[4,this.renderDoubleBorder(Q.color,Q.width,i,t.curves)];case 8:return w.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Q.color,i,t.curves)];case 10:w.sent(),w.label=11;case 11:i++,w.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(t,r,B,n,s){return P(this,void 0,void 0,function(){var i,a,o,Q,g,w,f,c,C,H,h,F,K,p,d,l;return _(this,function(v){return this.ctx.save(),i=function(e,A){switch(A){case 0:return nr(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return nr(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return nr(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return nr(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(n,B),a=tn(n,B),2===s&&(this.path(a),this.ctx.clip()),eA(a[0])?(o=a[0].start.x,Q=a[0].start.y):(o=a[0].x,Q=a[0].y),eA(a[1])?(g=a[1].end.x,w=a[1].end.y):(g=a[1].x,w=a[1].y),f=0===B||2===B?Math.abs(o-g):Math.abs(Q-w),this.ctx.beginPath(),this.formatPath(3===s?i:a.slice(0,2)),c=r<3?3*r:2*r,C=r<3?2*r:r,3===s&&(c=r,C=r),H=!0,f<=2*c?H=!1:f<=2*c+C?(c*=h=f/(2*c+C),C*=h):(F=Math.floor((f+C)/(c+C)),K=(f-F*c)/(F-1),C=(p=(f-(F+1)*c)/F)<=0||Math.abs(C-K){const Le=":";Error;const ve=function(o,...i){if(ve.translate){const f=ve.translate(o,i);o=f[0],i=f[1]}let u=fe(o[0],o.raw[0]);for(let f=1;f{const _e=globalThis;function ue(e){return(_e.__Zone_symbol_prefix||"__zone_symbol__")+e}const Me=Object.getOwnPropertyDescriptor,Ue=Object.defineProperty,Qe=Object.getPrototypeOf,ze=Object.create,St=Array.prototype.slice,et="addEventListener",ct="removeEventListener",tt=ue(et),nt=ue(ct),Te="true",Ee="false",Ae=ue("");function rt(e,r){return Zone.current.wrap(e,r)}function Re(e,r,l,t,a){return Zone.current.scheduleMacroTask(e,r,l,t,a)}const z=ue,xe=typeof window<"u",Pe=xe?window:void 0,ee=xe&&Pe||globalThis,at="removeAttribute";function je(e,r){for(let l=e.length-1;l>=0;l--)"function"==typeof e[l]&&(e[l]=rt(e[l],r+"_"+l));return e}function lt(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Ve=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ge=!("nw"in ee)&&typeof ee.process<"u"&&"[object process]"===ee.process.toString(),Fe=!Ge&&!Ve&&!(!xe||!Pe.HTMLElement),ut=typeof ee.process<"u"&&"[object process]"===ee.process.toString()&&!Ve&&!(!xe||!Pe.HTMLElement),We={},Tt=z("enable_beforeunload"),ft=function(e){if(!(e=e||ee.event))return;let r=We[e.type];r||(r=We[e.type]=z("ON_PROPERTY"+e.type));const l=this||e.target||ee,t=l[r];let a;return Fe&&l===Pe&&"error"===e.type?(a=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===a&&e.preventDefault()):(a=t&&t.apply(this,arguments),"beforeunload"===e.type&&ee[Tt]&&"string"==typeof a?e.returnValue=a:null!=a&&!a&&e.preventDefault()),a};function ot(e,r,l){let t=Me(e,r);if(!t&&l&&Me(l,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const a=z("on"+r+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete t.writable,delete t.value;const _=t.get,y=t.set,k=r.slice(2);let w=We[k];w||(w=We[k]=z("ON_PROPERTY"+k)),t.set=function(M){let m=this;!m&&e===ee&&(m=ee),m&&("function"==typeof m[w]&&m.removeEventListener(k,ft),y&&y.call(m,null),m[w]=M,"function"==typeof M&&m.addEventListener(k,ft,!1))},t.get=function(){let M=this;if(!M&&e===ee&&(M=ee),!M)return null;const m=M[w];if(m)return m;if(_){let O=_.call(this);if(O)return t.set.call(this,O),"function"==typeof M[at]&&M.removeAttribute(r),O}return null},Ue(e,r,t),e[a]=!0}function ht(e,r,l){if(r)for(let t=0;tfunction(y,k){const w=l(y,k);return w.cbIdx>=0&&"function"==typeof k[w.cbIdx]?Re(w.name,k[w.cbIdx],w,a):_.apply(y,k)})}function me(e,r){e[z("OriginalDelegate")]=r}let mt=!1,qe=!1;function Nt(){if(mt)return qe;mt=!0;try{const e=Pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(qe=!0)}catch{}return qe}function pt(e){return"function"==typeof e}function _t(e){return"number"==typeof e}let ve=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ve=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ve=!1}const yt={useG:!0},fe={},kt={},o=new RegExp("^"+Ae+"(\\w+)(true|false)$"),i=z("propagationStopped");function u(e,r){const l=(r?r(e):e)+Ee,t=(r?r(e):e)+Te,a=Ae+l,_=Ae+t;fe[e]={},fe[e][Ee]=a,fe[e][Te]=_}function f(e,r,l,t){const a=t&&t.add||et,_=t&&t.rm||ct,y=t&&t.listeners||"eventListeners",k=t&&t.rmAll||"removeAllListeners",w=z(a),M="."+a+":",m="prependListener",O="."+m+":",B=function(S,T,G){if(S.isRemoved)return;const q=S.callback;let oe;"object"==typeof q&&q.handleEvent&&(S.callback=v=>q.handleEvent(v),S.originalDelegate=q);try{S.invoke(S,T,[G])}catch(v){oe=v}const X=S.options;return X&&"object"==typeof X&&X.once&&T[_].call(T,G.type,S.originalDelegate?S.originalDelegate:S.callback,X),oe};function W(S,T,G){if(!(T=T||e.event))return;const q=S||T.target||e,oe=q[fe[T.type][G?Te:Ee]];if(oe){const X=[];if(1===oe.length){const v=B(oe[0],q,T);v&&X.push(v)}else{const v=oe.slice();for(let Q=0;Q{throw Q})}}}const J=function(S){return W(this,S,!1)},ae=function(S){return W(this,S,!0)};function le(S,T){if(!S)return!1;let G=!0;T&&void 0!==T.useG&&(G=T.useG);const q=T&&T.vh;let oe=!0;T&&void 0!==T.chkDup&&(oe=T.chkDup);let X=!1;T&&void 0!==T.rt&&(X=T.rt);let v=S;for(;v&&!v.hasOwnProperty(a);)v=Qe(v);if(!v&&S[a]&&(v=S),!v||v[w])return!1;const Q=T&&T.eventNameToString,x={},D=v[w]=v[a],I=v[z(_)]=v[_],A=v[z(y)]=v[y],de=v[z(k)]=v[k];let te;T&&T.prepend&&(te=v[z(T.prepend)]=v[T.prepend]);const ne=G?function(c){if(!x.isExisting)return D.call(x.target,x.eventName,x.capture?ae:J,x.options)}:function(c){return D.call(x.target,x.eventName,c.invoke,x.options)},U=G?function(c){if(!c.isRemoved){const d=fe[c.eventName];let N;d&&(N=d[c.capture?Te:Ee]);const L=N&&c.target[N];if(L)for(let b=0;bye.zone.cancelTask(ye);c.call(Ke,"abort",we,{once:!0}),ye.removeAbortListener=()=>Ke.removeEventListener("abort",we)}return x.target=null,st&&(st.taskData=null),Ct&&(x.options.once=!0),!ve&&"boolean"==typeof ye.options||(ye.options=be),ye.target=$,ye.capture=Rt,ye.eventName=H,K&&(ye.originalDelegate=Y),Z?Je.unshift(ye):Je.push(ye),b?$:void 0}};return v[a]=h(D,M,ne,U,X),te&&(v[m]=h(te,O,function(c){return te.call(x.target,x.eventName,c.invoke,x.options)},U,X,!0)),v[_]=function(){const c=this||e;let d=arguments[0];T&&T.transferEventName&&(d=T.transferEventName(d));const N=arguments[2],L=!!N&&("boolean"==typeof N||N.capture),b=arguments[1];if(!b)return I.apply(this,arguments);if(q&&!q(I,b,c,arguments))return;const Z=fe[d];let $;Z&&($=Z[L?Te:Ee]);const H=$&&c[$];if(H)for(let Y=0;Yfunction(a,_){a[i]=!0,t&&t.apply(a,_)})}const F=z("zoneTask");function V(e,r,l,t){let a=null,_=null;l+=t;const y={};function k(M){const m=M.data;m.args[0]=function(){return M.invoke.apply(this,arguments)};const O=a.apply(e,m.args);return _t(O)?m.handleId=O:(m.handle=O,m.isRefreshable=pt(O.refresh)),M}function w(M){const{handle:m,handleId:O}=M.data;return _.call(e,m??O)}a=ke(e,r+=t,M=>function(m,O){if(pt(O[0])){const B={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?O[1]||0:void 0,args:O},W=O[0];O[0]=function(){try{return W.apply(this,arguments)}finally{const{handle:G,handleId:q,isPeriodic:oe,isRefreshable:X}=B;!oe&&!X&&(q?delete y[q]:G&&(G[F]=null))}};const J=Re(r,O[0],B,k,w);if(!J)return J;const{handleId:ae,handle:le,isRefreshable:re,isPeriodic:S}=J.data;if(ae)y[ae]=J;else if(le&&(le[F]=J,re&&!S)){const T=le.refresh;le.refresh=function(){const{zone:G,state:q}=J;return"notScheduled"===q?(J._state="scheduled",G._updateTaskCount(J,1)):"running"===q&&(J._state="scheduling"),T.call(this)}}return le??ae??J}return M.apply(e,O)}),_=ke(e,l,M=>function(m,O){const B=O[0];let W;_t(B)?(W=y[B],delete y[B]):(W=B?.[F],W?B[F]=null:W=B),W?.type?W.cancelFn&&W.zone.cancelTask(W):M.apply(e,O)})}function He(e,r,l){if(!l||0===l.length)return r;const t=l.filter(_=>_.target===e);if(!t||0===t.length)return r;const a=t[0].ignoreProperties;return r.filter(_=>-1===a.indexOf(_))}function Xe(e,r,l,t){e&&ht(e,He(e,r,l),t)}function he(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function bt(e,r,l,t,a){const _=Zone.__symbol__(t);if(r[_])return;const y=r[_]=r[t];r[t]=function(k,w,M){return w&&w.prototype&&a.forEach(function(m){const O=`${l}.${t}::`+m,B=w.prototype;try{if(B.hasOwnProperty(m)){const W=e.ObjectGetOwnPropertyDescriptor(B,m);W&&W.value?(W.value=e.wrapWithCurrentZone(W.value,O),e._redefineProperty(w.prototype,m,W)):B[m]&&(B[m]=e.wrapWithCurrentZone(B[m],O))}else B[m]&&(B[m]=e.wrapWithCurrentZone(B[m],O))}catch{}}),y.call(r,k,w,M)},e.attachOriginToPatched(r[t],y)}const It=function Le(){const e=globalThis,r=!0===e[ue("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function it(){const e=_e.performance;function r(j){e&&e.mark&&e.mark(j)}function l(j,p){e&&e.measure&&e.measure(j,p)}r("Zone");let t=(()=>{class j{static{this.__symbol__=ue}static assertZonePatched(){if(_e.Promise!==x.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 n=j.current;for(;n.parent;)n=n.parent;return n}static get current(){return I.zone}static get currentTask(){return A}static __load_patch(n,s,P=!1){if(x.hasOwnProperty(n)){const C=!0===_e[ue("forceDuplicateZoneCheck")];if(!P&&C)throw Error("Already loaded patch: "+n)}else if(!_e["__Zone_disable_"+n]){const C="Zone:"+n;r(C),x[n]=s(_e,j,D),l(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(n,s){this._parent=n,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new _(this,this._parent&&this._parent._zoneDelegate,s)}get(n){const s=this.getZoneWith(n);if(s)return s._properties[n]}getZoneWith(n){let s=this;for(;s;){if(s._properties.hasOwnProperty(n))return s;s=s._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,s){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const P=this._zoneDelegate.intercept(this,n,s),C=this;return function(){return C.runGuarded(P,this,arguments,s)}}run(n,s,P,C){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,n,s,P,C)}finally{I=I.parent}}runGuarded(n,s=null,P,C){I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,n,s,P,C)}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne}}finally{I=I.parent}}runTask(n,s,P){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||le).name+"; Execution: "+this.name+")");const C=n,{type:ne,data:{isPeriodic:U=!1,isRefreshable:Oe=!1}={}}=n;if(n.state===re&&(ne===Q||ne===v))return;const Se=n.state!=G;Se&&C._transitionTo(G,T);const Ne=A;A=C,I={parent:I,zone:this};try{ne==v&&n.data&&!U&&!Oe&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,C,s,P)}catch(pe){if(this._zoneDelegate.handleError(this,pe))throw pe}}finally{const pe=n.state;if(pe!==re&&pe!==oe)if(ne==Q||U||Oe&&pe===S)Se&&C._transitionTo(T,G,S);else{const g=C._zoneDelegates;this._updateTaskCount(C,-1),Se&&C._transitionTo(re,G,re),Oe&&(C._zoneDelegates=g)}I=I.parent,A=Ne}}scheduleTask(n){if(n.zone&&n.zone!==this){let P=this;for(;P;){if(P===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);P=P.parent}}n._transitionTo(S,re);const s=[];n._zoneDelegates=s,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(P){throw n._transitionTo(oe,S,re),this._zoneDelegate.handleError(this,P),P}return n._zoneDelegates===s&&this._updateTaskCount(n,1),n.state==S&&n._transitionTo(T,S),n}scheduleMicroTask(n,s,P,C){return this.scheduleTask(new y(X,n,s,P,C,void 0))}scheduleMacroTask(n,s,P,C,ne){return this.scheduleTask(new y(v,n,s,P,C,ne))}scheduleEventTask(n,s,P,C,ne){return this.scheduleTask(new y(Q,n,s,P,C,ne))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||le).name+"; Execution: "+this.name+")");if(n.state===T||n.state===G){n._transitionTo(q,T,G);try{this._zoneDelegate.cancelTask(this,n)}catch(s){throw n._transitionTo(oe,q),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(n,-1),n._transitionTo(re,q),n.runCount=-1,n}}_updateTaskCount(n,s){const P=n._zoneDelegates;-1==s&&(n._zoneDelegates=null);for(let C=0;Cj.hasTask(n,s),onScheduleTask:(j,p,n,s)=>j.scheduleTask(n,s),onInvokeTask:(j,p,n,s,P,C)=>j.invokeTask(n,s,P,C),onCancelTask:(j,p,n,s)=>j.cancelTask(n,s)};class _{get zone(){return this._zone}constructor(p,n,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=p,this._parentDelegate=n,this._forkZS=s&&(s&&s.onFork?s:n._forkZS),this._forkDlgt=s&&(s.onFork?n:n._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:n._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:n._interceptZS),this._interceptDlgt=s&&(s.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:n._invokeZS),this._invokeDlgt=s&&(s.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:n._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:n._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:n._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:n._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const P=s&&s.onHasTask;(P||n&&n._hasTaskZS)&&(this._hasTaskZS=P?s:a,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=a,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=a,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=a,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(p,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,n):new t(p,n)}intercept(p,n,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,n,s):n}invoke(p,n,s,P,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,n,s,P,C):n.apply(s,P)}handleError(p,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,n)}scheduleTask(p,n){let s=n;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,n),s||(s=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=X)throw new Error("Task is missing scheduleFn.");J(n)}return s}invokeTask(p,n,s,P){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,n,s,P):n.callback.apply(s,P)}cancelTask(p,n){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");s=n.cancelFn(n)}return s}hasTask(p,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,n)}catch(s){this.handleError(p,s)}}_updateTaskCount(p,n){const s=this._taskCounts,P=s[p],C=s[p]=P+n;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=P&&0!=C||this.hasTask(this._zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:p})}}class y{constructor(p,n,s,P,C,ne){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=n,this.data=P,this.scheduleFn=C,this.cancelFn=ne,!s)throw new Error("callback is not defined");this.callback=s;const U=this;this.invoke=p===Q&&P&&P.useG?y.invokeTask:function(){return y.invokeTask.call(_e,U,this,arguments)}}static invokeTask(p,n,s){p||(p=this),de++;try{return p.runCount++,p.zone.runTask(p,n,s)}finally{1==de&&ae(),de--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(re,S)}_transitionTo(p,n,s){if(this._state!==n&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${n}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=p,p==re&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const k=ue("setTimeout"),w=ue("Promise"),M=ue("then");let B,m=[],O=!1;function W(j){if(B||_e[w]&&(B=_e[w].resolve(0)),B){let p=B[M];p||(p=B.then),p.call(B,j)}else _e[k](j,0)}function J(j){0===de&&0===m.length&&W(ae),j&&m.push(j)}function ae(){if(!O){for(O=!0;m.length;){const j=m;m=[];for(let p=0;pI,onUnhandledError:te,microtaskDrainDone:te,scheduleMicroTask:J,showUncaughtError:()=>!t[ue("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:te,patchMethod:()=>te,bindArguments:()=>[],patchThen:()=>te,patchMacroTask:()=>te,patchEventPrototype:()=>te,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>te,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>te,wrapWithCurrentZone:()=>te,filterProperties:()=>[],attachOriginToPatched:()=>te,_redefineProperty:()=>te,patchCallbacks:()=>te,nativeScheduleMicroTask:W};let I={parent:null,zone:new t(null,null)},A=null,de=0;function te(){}return l("Zone","Zone"),t}(),e.Zone}();(function At(e){(function Be(e){e.__load_patch("ZoneAwarePromise",(r,l,t)=>{const a=Object.getOwnPropertyDescriptor,_=Object.defineProperty,k=t.symbol,w=[],M=!1!==r[k("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],m=k("Promise"),O=k("then"),B="__creationTrace__";t.onUnhandledError=g=>{if(t.showUncaughtError()){const h=g&&g.rejection;h?console.error("Unhandled Promise rejection:",h instanceof Error?h.message:h,"; Zone:",g.zone.name,"; Task:",g.task&&g.task.source,"; Value:",h,h instanceof Error?h.stack:void 0):console.error(g)}},t.microtaskDrainDone=()=>{for(;w.length;){const g=w.shift();try{g.zone.runGuarded(()=>{throw g.throwOriginal?g.rejection:g})}catch(h){J(h)}}};const W=k("unhandledPromiseRejectionHandler");function J(g){t.onUnhandledError(g);try{const h=l[W];"function"==typeof h&&h.call(this,g)}catch{}}function ae(g){return g&&g.then}function le(g){return g}function re(g){return U.reject(g)}const S=k("state"),T=k("value"),G=k("finally"),q=k("parentPromiseValue"),oe=k("parentPromiseState"),X="Promise.then",v=null,Q=!0,x=!1,D=0;function I(g,h){return c=>{try{j(g,h,c)}catch(d){j(g,!1,d)}}}const A=function(){let g=!1;return function(c){return function(){g||(g=!0,c.apply(null,arguments))}}},de="Promise resolved with itself",te=k("currentTaskTrace");function j(g,h,c){const d=A();if(g===c)throw new TypeError(de);if(g[S]===v){let N=null;try{("object"==typeof c||"function"==typeof c)&&(N=c&&c.then)}catch(L){return d(()=>{j(g,!1,L)})(),g}if(h!==x&&c instanceof U&&c.hasOwnProperty(S)&&c.hasOwnProperty(T)&&c[S]!==v)n(c),j(g,c[S],c[T]);else if(h!==x&&"function"==typeof N)try{N.call(c,d(I(g,h)),d(I(g,!1)))}catch(L){d(()=>{j(g,!1,L)})()}else{g[S]=h;const L=g[T];if(g[T]=c,g[G]===G&&h===Q&&(g[S]=g[oe],g[T]=g[q]),h===x&&c instanceof Error){const b=l.currentTask&&l.currentTask.data&&l.currentTask.data[B];b&&_(c,te,{configurable:!0,enumerable:!1,writable:!0,value:b})}for(let b=0;b{try{const Z=g[T],$=!!c&&G===c[G];$&&(c[q]=Z,c[oe]=L);const H=h.run(b,void 0,$&&b!==re&&b!==le?[]:[Z]);j(c,!0,H)}catch(Z){j(c,!1,Z)}},c)}const C=function(){},ne=r.AggregateError;class U{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(h){return h instanceof U?h:j(new this(null),Q,h)}static reject(h){return j(new this(null),x,h)}static withResolvers(){const h={};return h.promise=new U((c,d)=>{h.resolve=c,h.reject=d}),h}static any(h){if(!h||"function"!=typeof h[Symbol.iterator])return Promise.reject(new ne([],"All promises were rejected"));const c=[];let d=0;try{for(let b of h)d++,c.push(U.resolve(b))}catch{return Promise.reject(new ne([],"All promises were rejected"))}if(0===d)return Promise.reject(new ne([],"All promises were rejected"));let N=!1;const L=[];return new U((b,Z)=>{for(let $=0;${N||(N=!0,b(H))},H=>{L.push(H),d--,0===d&&(N=!0,Z(new ne(L,"All promises were rejected")))})})}static race(h){let c,d,N=new this((Z,$)=>{c=Z,d=$});function L(Z){c(Z)}function b(Z){d(Z)}for(let Z of h)ae(Z)||(Z=this.resolve(Z)),Z.then(L,b);return N}static all(h){return U.allWithCallback(h)}static allSettled(h){return(this&&this.prototype instanceof U?this:U).allWithCallback(h,{thenCallback:d=>({status:"fulfilled",value:d}),errorCallback:d=>({status:"rejected",reason:d})})}static allWithCallback(h,c){let d,N,L=new this((H,Y)=>{d=H,N=Y}),b=2,Z=0;const $=[];for(let H of h){ae(H)||(H=this.resolve(H));const Y=Z;try{H.then(K=>{$[Y]=c?c.thenCallback(K):K,b--,0===b&&d($)},K=>{c?($[Y]=c.errorCallback(K),b--,0===b&&d($)):N(K)})}catch(K){N(K)}b++,Z++}return b-=2,0===b&&d($),L}constructor(h){const c=this;if(!(c instanceof U))throw new Error("Must be an instanceof Promise.");c[S]=v,c[T]=[];try{const d=A();h&&h(d(I(c,Q)),d(I(c,x)))}catch(d){j(c,!1,d)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return U}then(h,c){let d=this.constructor?.[Symbol.species];(!d||"function"!=typeof d)&&(d=this.constructor||U);const N=new d(C),L=l.current;return this[S]==v?this[T].push(L,N,h,c):s(this,L,N,h,c),N}catch(h){return this.then(null,h)}finally(h){let c=this.constructor?.[Symbol.species];(!c||"function"!=typeof c)&&(c=U);const d=new c(C);d[G]=G;const N=l.current;return this[S]==v?this[T].push(N,d,h,h):s(this,N,d,h,h),d}}U.resolve=U.resolve,U.reject=U.reject,U.race=U.race,U.all=U.all;const Oe=r[m]=r.Promise;r.Promise=U;const Se=k("thenPatched");function Ne(g){const h=g.prototype,c=a(h,"then");if(c&&(!1===c.writable||!c.configurable))return;const d=h.then;h[O]=d,g.prototype.then=function(N,L){return new U((Z,$)=>{d.call(this,Z,$)}).then(N,L)},g[Se]=!0}return t.patchThen=Ne,Oe&&(Ne(Oe),ke(r,"fetch",g=>function pe(g){return function(h,c){let d=g.apply(h,c);if(d instanceof U)return d;let N=d.constructor;return N[Se]||Ne(N),d}}(g))),Promise[l.__symbol__("uncaughtPromiseErrors")]=w,U})})(e),function vt(e){e.__load_patch("toString",r=>{const l=Function.prototype.toString,t=z("OriginalDelegate"),a=z("Promise"),_=z("Error"),y=function(){if("function"==typeof this){const m=this[t];if(m)return"function"==typeof m?l.call(m):Object.prototype.toString.call(m);if(this===Promise){const O=r[a];if(O)return l.call(O)}if(this===Error){const O=r[_];if(O)return l.call(O)}}return l.call(this)};y[t]=l,Function.prototype.toString=y;const k=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":k.call(this)}})}(e),function wt(e){e.__load_patch("util",(r,l,t)=>{const a=he(r);t.patchOnProperties=ht,t.patchMethod=ke,t.bindArguments=je,t.patchMacroTask=Et;const _=l.__symbol__("BLACK_LISTED_EVENTS"),y=l.__symbol__("UNPATCHED_EVENTS");r[y]&&(r[_]=r[y]),r[_]&&(l[_]=l[y]=r[_]),t.patchEventPrototype=R,t.patchEventTarget=f,t.isIEOrEdge=Nt,t.ObjectDefineProperty=Ue,t.ObjectGetOwnPropertyDescriptor=Me,t.ObjectCreate=ze,t.ArraySlice=St,t.patchClass=Ze,t.wrapWithCurrentZone=rt,t.filterProperties=He,t.attachOriginToPatched=me,t._redefineProperty=Object.defineProperty,t.patchCallbacks=bt,t.getGlobalObjects=()=>({globalSources:kt,zoneSymbolEventNames:fe,eventNames:a,isBrowser:Fe,isMix:ut,isNode:Ge,TRUE_STR:Te,FALSE_STR:Ee,ZONE_SYMBOL_PREFIX:Ae,ADD_EVENT_LISTENER_STR:et,REMOVE_EVENT_LISTENER_STR:ct})})}(e)})(It),function se(e){e.__load_patch("legacy",r=>{const l=r[e.__symbol__("legacyPatch")];l&&l()}),e.__load_patch("timers",r=>{const l="set",t="clear";V(r,l,t,"Timeout"),V(r,l,t,"Interval"),V(r,l,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{V(r,"request","cancel","AnimationFrame"),V(r,"mozRequest","mozCancel","AnimationFrame"),V(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,l)=>{const t=["alert","prompt","confirm"];for(let a=0;afunction(M,m){return l.current.run(y,r,m,w)})}),e.__load_patch("EventTarget",(r,l,t)=>{(function $e(e,r){r.patchEventPrototype(e,r)})(r,t),function Ce(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:l,zoneSymbolEventNames:t,TRUE_STR:a,FALSE_STR:_,ZONE_SYMBOL_PREFIX:y}=r.getGlobalObjects();for(let w=0;w{Ze("MutationObserver"),Ze("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,l,t)=>{Ze("IntersectionObserver")}),e.__load_patch("FileReader",(r,l,t)=>{Ze("FileReader")}),e.__load_patch("on_property",(r,l,t)=>{!function Ye(e,r){if(Ge&&!ut||Zone[e.symbol("patchEvents")])return;const l=r.__Zone_ignore_on_properties;let t=[];if(Fe){const a=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const _=function dt(){try{const e=Pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:a,ignoreProperties:["error"]}]:[];Xe(a,he(a),l&&l.concat(_),Qe(a))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{!function ie(e,r){const{isBrowser:l,isMix:t}=r.getGlobalObjects();(l||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,l)=>{!function M(m){const O=m.XMLHttpRequest;if(!O)return;const B=O.prototype;let J=B[tt],ae=B[nt];if(!J){const D=m.XMLHttpRequestEventTarget;if(D){const I=D.prototype;J=I[tt],ae=I[nt]}}const le="readystatechange",re="scheduled";function S(D){const I=D.data,A=I.target;A[y]=!1,A[w]=!1;const de=A[_];J||(J=A[tt],ae=A[nt]),de&&ae.call(A,le,de);const te=A[_]=()=>{if(A.readyState===A.DONE)if(!I.aborted&&A[y]&&D.state===re){const p=A[l.__symbol__("loadfalse")];if(0!==A.status&&p&&p.length>0){const n=D.invoke;D.invoke=function(){const s=A[l.__symbol__("loadfalse")];for(let P=0;Pfunction(D,I){return D[a]=0==I[2],D[k]=I[1],q.apply(D,I)}),X=z("fetchTaskAborting"),v=z("fetchTaskScheduling"),Q=ke(B,"send",()=>function(D,I){if(!0===l.current[v]||D[a])return Q.apply(D,I);{const A={target:D,url:D[k],isPeriodic:!1,args:I,aborted:!1},de=Re("XMLHttpRequest.send",T,A,S,G);D&&!0===D[w]&&!A.aborted&&de.state===re&&de.invoke()}}),x=ke(B,"abort",()=>function(D,I){const A=function W(D){return D[t]}(D);if(A&&"string"==typeof A.type){if(null==A.cancelFn||A.data&&A.data.aborted)return;A.zone.cancelTask(A)}else if(!0===l.current[X])return x.apply(D,I)})}(r);const t=z("xhrTask"),a=z("xhrSync"),_=z("xhrListener"),y=z("xhrScheduled"),k=z("xhrURL"),w=z("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Ie(e,r){const l=e.constructor.name;for(let t=0;t{const w=function(){return k.apply(this,je(arguments,l+"."+a))};return me(w,k),w})(_)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,l)=>{function t(a){return function(_){E(r,a).forEach(k=>{const w=r.PromiseRejectionEvent;if(w){const M=new w(a,{promise:_.promise,reason:_.rejection});k.invoke(M)}})}}r.PromiseRejectionEvent&&(l[z("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),l[z("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,l,t)=>{!function ce(e,r){r.patchMethod(e,"queueMicrotask",l=>function(t,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}(r,t)})}(It)}},_e=>{_e(_e.s=12523)}]); \ No newline at end of file diff --git a/browser/robots.txt b/robots.txt similarity index 100% rename from browser/robots.txt rename to robots.txt diff --git a/runtime.js b/runtime.js new file mode 100644 index 000000000..3a81e13a1 --- /dev/null +++ b/runtime.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,_={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=_,e=[],r.O=(n,t,i,o)=>{if(!t){var a=1/0;for(f=0;f=o)&&Object.keys(r.O).every(b=>r.O[b](t[s]))?t.splice(s--,1):(l=!1,o0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[t,i,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,i){if(1&i&&(t=this(t)),8&i||"object"==typeof t&&t&&(4&i&&t.__esModule||16&i&&"function"==typeof t.then))return t;var o=Object.create(null);r.r(o);var f={};n=n||[null,e({}),e([]),e(e)];for(var a=2&i&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>f[l]=()=>t[l]);return f.default=()=>t,r.d(o,f),o}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="mifosx-web-app:";r.l=(t,i,o,f)=>{if(e[t])e[t].push(i);else{var a,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(c);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(m=>m(b)),g)return g(b)},c=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={runtime:0};r.f.j=(i,o)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)o.push(f[2]);else if("runtime"!=i){var a=new Promise((u,p)=>f=e[i]=[u,p]);o.push(f[2]=a);var l=r.p+r.u(i),s=new Error;r.l(l,u=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var p=u&&("load"===u.type?"missing":u.type),c=u&&u.target&&u.target.src;s.message="Loading chunk "+i+" failed.\n("+p+": "+c+")",s.name="ChunkLoadError",s.type=p,s.request=c,f[1](s)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,o)=>{var s,d,[f,a,l]=o,u=0;if(f.some(c=>0!==e[c])){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var p=l(r)}for(i&&i(o);u{c.d(m,{z:()=>l});var a=c(21626),i=c(20546),g=c(25558),d=c(54438);let l=(()=>{class u{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){const n=(new a.Nl).set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){const s=(new a.Nl).set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=(new a.Nl).set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){const o=Object.getOwnPropertyNames(e);for(let p=0;p{const o=JSON.stringify({...s,ownerFspId:r.fspId});return this.http.post(`${i.c.vNextApiUrl}${i.c.vNextApiVersion}${i.c.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){const n=new a.Lr({"Content-Type":"application/json"});return this.http.post(`${i.c.vNextApiUrl}${i.c.vNextApiVersion}${i.c.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||u)(d.KVO(a.Qq))}}static{this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()}}]); \ No newline at end of file diff --git a/src_app_collaterals_collaterals_module_ts.js b/src_app_collaterals_collaterals_module_ts.js new file mode 100644 index 000000000..3fbc620e5 --- /dev/null +++ b/src_app_collaterals_collaterals_module_ts.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["src_app_collaterals_collaterals_module_ts"],{10495:(q,E,o)=>{o.r(E),o.d(E,{CollateralsModule:()=>W});var b=o(60177),D=o(13721),v=o(92602),I=o(26044),c=o(74710),T=o(25532),t=o(54438),f=o(21626);let p=(()=>{class a{constructor(e){this.http=e}getFilteredClients(e,n,l,m,F){let d=(new f.Nl).set("displayName",m).set("orphansOnly",l.toString()).set("sortOrder",n).set("orderBy",e);return F&&(d=d.set("officeId",F)),this.http.get("/clients",{params:d})}getClientCollateral(e,n){return this.http.get(`/clients/${e}/collaterals/${n}`)}updateClientCollateral(e,n,l){return this.http.put(`/clients/${e}/collaterals/${n}`,l)}deleteCollateral(e,n){return this.http.delete(`/clients/${e}/collaterals/${n}`)}static{this.\u0275fac=function(n){return new(n||a)(t.KVO(f.Qq))}}static{this.\u0275prov=t.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var $=o(75351),y=o(20060),g=o(88834),u=o(25596),i=o(9159),M=o(94587),R=o(68018),j=o(53468),k=o(56617);const V=()=>["edit"];function P(a,r){1&a&&(t.j41(0,"button",16),t.EFF(1,"\n "),t.nrm(2,"fa-icon",17),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&a&&(t.Y8G("routerLink",t.lJ4(4,V)),t.R7$(3),t.SpI("\n ",t.bMT(4,2,"labels.buttons.Edit"),"\n "))}function L(a,r){if(1&a){const e=t.RV6();t.j41(0,"button",18),t.bIt("click",function(){t.eBV(e);const l=t.XpG();return t.Njj(l.deleteCollateral())}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",19),t.EFF(3),t.nI1(4,"translate"),t.k0s()}2&a&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Delete"),"\n "))}function O(a,r){1&a&&(t.j41(0,"th",20),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.ID")))}function w(a,r){if(1&a&&(t.j41(0,"td",21),t.EFF(1),t.k0s()),2&a){const e=r.$implicit;t.R7$(),t.SpI("\n ",e.loanId,"\n ")}}function x(a,r){1&a&&(t.j41(0,"th",20),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Last Repayment")))}function N(a,r){if(1&a&&(t.j41(0,"td",21),t.EFF(1),t.k0s()),2&a){const e=r.$implicit;t.R7$(),t.JRh(e.lastRepayment)}}function S(a,r){1&a&&(t.j41(0,"th",20),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Remaining Amount")))}function J(a,r){if(1&a&&(t.j41(0,"td",21),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&a){const e=r.$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.remainingAmount))}}function Y(a,r){1&a&&(t.j41(0,"th",20),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Last Repayment Date")))}function G(a,r){if(1&a&&(t.j41(0,"td",21),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&a){const e=r.$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.lastRepaymentDate))}}function U(a,r){1&a&&t.nrm(0,"tr",22)}function X(a,r){1&a&&t.nrm(0,"tr",23)}let B=(()=>{class a{constructor(e,n,l,m){this.route=e,this.collateralsService=n,this.router=l,this.dialog=m,this.collateralColumns=["ID","Last Repayment","Remaining Amount","Last Repayment Date"],this.route.data.subscribe(F=>{this.clientCollateralData=F.clientCollateralData})}deleteCollateral(){this.dialog.open(T.X,{data:{deleteContext:`collateral ${this.clientCollateralData.id}`}}).afterClosed().subscribe(n=>{n.delete&&this.collateralsService.deleteCollateral(this.clientCollateralData.clientId,this.clientCollateralData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}static{this.\u0275fac=function(n){return new(n||a)(t.rXU(c.nX),t.rXU(p),t.rXU(c.Ix),t.rXU($.bZ))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["mifosx-view-collateral"]],decls:78,vars:27,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],[1,"client-collateral-card"],[1,"content"],[1,"tab-container","mat-typography"],[1,"layout-row","gap-32px","group-details-container","m-b-30"],["mat-table","",1,"mat-elevation-z1","m-b-30",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Last Repayment"],["matColumnDef","Remaining Amount"],["matColumnDef","Last Repayment Date"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(n,l){1&n&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.DNE(2,P,5,5,"button",1),t.EFF(3,"\n "),t.DNE(4,L,5,3,"button",2),t.EFF(5,"\n"),t.k0s(),t.EFF(6,"\n\n"),t.j41(7,"mat-card",3),t.EFF(8,"\n "),t.j41(9,"mat-card-content",4),t.EFF(10,"\\\n\n "),t.j41(11,"div",5),t.EFF(12,"\n "),t.j41(13,"h3"),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n\n "),t.j41(17,"div",6),t.EFF(18,"\n "),t.j41(19,"p"),t.EFF(20),t.nI1(21,"translate"),t.nrm(22,"br"),t.EFF(23),t.nI1(24,"translate"),t.nrm(25,"br"),t.EFF(26),t.nI1(27,"translate"),t.nrm(28,"br"),t.EFF(29),t.nI1(30,"translate"),t.nrm(31,"br"),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n\n "),t.j41(35,"h3"),t.EFF(36),t.nI1(37,"translate"),t.k0s(),t.EFF(38,"\n\n "),t.j41(39,"table",7),t.EFF(40,"\n "),t.qex(41,8),t.EFF(42,"\n "),t.DNE(43,O,3,3,"th",9),t.EFF(44,"\n "),t.DNE(45,w,2,1,"td",10),t.EFF(46,"\n "),t.bVm(),t.EFF(47,"\n\n "),t.qex(48,11),t.EFF(49,"\n "),t.DNE(50,x,3,3,"th",9),t.EFF(51,"\n "),t.DNE(52,N,2,1,"td",10),t.EFF(53,"\n "),t.bVm(),t.EFF(54,"\n\n "),t.qex(55,12),t.EFF(56,"\n "),t.DNE(57,S,3,3,"th",9),t.EFF(58,"\n "),t.DNE(59,J,3,3,"td",10),t.EFF(60,"\n "),t.bVm(),t.EFF(61,"\n\n "),t.qex(62,13),t.EFF(63,"\n "),t.DNE(64,Y,3,3,"th",9),t.EFF(65,"\n "),t.DNE(66,G,3,3,"td",10),t.EFF(67,"\n "),t.bVm(),t.EFF(68,"\n\n "),t.EFF(69,"\n "),t.DNE(70,U,1,0,"tr",14),t.EFF(71,"\n "),t.DNE(72,X,1,0,"tr",15),t.EFF(73,"\n "),t.k0s(),t.EFF(74,"\n "),t.k0s(),t.EFF(75,"\n "),t.k0s(),t.EFF(76,"\n"),t.k0s(),t.EFF(77,"\n")),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","UPDATE_CLIENT_COLLATERAL_PRODUCT"),t.R7$(2),t.Y8G("mifosxHasPermission","DELETE_CLIENT_COLLATERAL_PRODUCT"),t.R7$(10),t.JRh(t.bMT(15,15,"labels.heading.Client Collateral Details")),t.R7$(6),t.Lme("\n ",t.bMT(21,17,"labels.inputs.name"),": ",l.clientCollateralData.name,""),t.R7$(3),t.Lme("\n ",t.bMT(24,19,"labels.inputs.Quantity"),": ",l.clientCollateralData.quantity,""),t.R7$(3),t.Lme("\n ",t.bMT(27,21,"labels.inputs.Total Value"),": ",l.clientCollateralData.total,""),t.R7$(3),t.Lme("\n ",t.bMT(30,23,"labels.inputs.Total Collateral Value"),": ",l.clientCollateralData.totalCollateral,""),t.R7$(7),t.JRh(t.bMT(37,25,"labels.heading.Transaction Details")),t.R7$(3),t.Y8G("dataSource",l.clientCollateralData.loanTransactionData),t.R7$(31),t.Y8G("matHeaderRowDef",l.collateralColumns),t.R7$(2),t.Y8G("matRowDefColumns",l.collateralColumns))},dependencies:[c.Wk,y.aY,g.$z,u.RN,u.m2,i.Zl,i.tL,i.ji,i.cC,i.YV,i.iL,i.KS,i.$R,i.YZ,i.NB,M.p,R.D9,j.a,k.p],styles:[".client-collateral-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%;padding:0}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .group-details-container[_ngcontent-%COMP%]{border:1px solid;padding:1%}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.select-row[_ngcontent-%COMP%]:hover, .tab-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return a})(),C=(()=>{class a{constructor(e){this.collateralsService=e}resolve(e){const n=e.parent.paramMap.get("clientId"),l=e.parent.paramMap.get("collateralId");return this.collateralsService.getClientCollateral(n,l)}static{this.\u0275fac=function(n){return new(n||a)(t.KVO(p))}}static{this.\u0275prov=t.jDH({token:a,factory:a.\u0275fac})}}return a})();var s=o(89417),A=o(52864),h=o(32102),H=o(59042);const z=()=>["../../"];function Q(a,r){1&a&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&a&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Quantity")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}const K=[{path:"",data:{title:"Collateral",breadcrumb:"Collateral",routeParamBreadcrumb:!1},children:[{path:":collateralId",data:{title:"Collateral View",routeParamBreadcrumb:"collateralId"},children:[{path:"",component:B,resolve:{clientCollateralData:C}},{path:"edit",data:{title:"edit",routeParamBreadcrumb:"edit"},component:(()=>{class a{constructor(e,n,l,m,F){this.formBuilder=e,this.route=n,this.router=l,this.settingsService=m,this.collateralService=F,this.route.data.subscribe(d=>{this.collateralDetails=d.clientCollateralData}),this.clientId=this.route.parent.snapshot.params.clientId}ngOnInit(){this.createClientCollateralForm()}createClientCollateralForm(){this.clientCollateralForm=this.formBuilder.group({quantity:["",s.k0.required],name:[{value:"",disabled:!0}],total:[{value:"",disabled:!0}],totalCollateral:[{value:"",disabled:!0}]}),this.clientCollateralForm.patchValue({name:this.collateralDetails.name,quantity:this.collateralDetails.quantity,total:this.collateralDetails.total,totalCollateral:this.collateralDetails.totalCollateral})}submit(){this.collateralService.updateClientCollateral(this.clientId,this.collateralDetails.id,{quantity:this.clientCollateralForm.value.quantity,locale:this.settingsService.language.code}).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(n){return new(n||a)(t.rXU(s.ze),t.rXU(c.nX),t.rXU(c.Ix),t.rXU(A.h),t.rXU(p))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["mifosx-edit-collateral"]],decls:67,vars:23,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["matInput","","required","","formControlName","name"],["matInput","","required","","formControlName","quantity"],[4,"ngIf"],["matInput","","required","","formControlName","total"],["matInput","","required","","formControlName","totalCollateral"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(n,l){1&n&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",1),t.bIt("ngSubmit",function(){return l.submit()}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",2),t.EFF(9,"\n "),t.j41(10,"div",2),t.EFF(11,"\n "),t.j41(12,"mat-form-field"),t.EFF(13,"\n "),t.j41(14,"mat-label"),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.EFF(17,"\n "),t.nrm(18,"input",3),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n\n "),t.j41(21,"mat-form-field"),t.EFF(22,"\n "),t.j41(23,"mat-label"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.EFF(26,"\n "),t.nrm(27,"input",4),t.EFF(28,"\n "),t.DNE(29,Q,8,9,"mat-error",5),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n\n "),t.j41(32,"mat-form-field"),t.EFF(33,"\n "),t.j41(34,"mat-label"),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.EFF(37,"\n "),t.nrm(38,"input",6),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n\n "),t.j41(41,"mat-form-field"),t.EFF(42,"\n "),t.j41(43,"mat-label"),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.nrm(47,"input",7),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n "),t.k0s(),t.EFF(51,"\n "),t.k0s(),t.EFF(52,"\n\n "),t.j41(53,"mat-card-actions",8),t.EFF(54,"\n "),t.j41(55,"button",9),t.EFF(56),t.nI1(57,"translate"),t.k0s(),t.EFF(58,"\n "),t.j41(59,"button",10),t.EFF(60),t.nI1(61,"translate"),t.k0s(),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n"),t.k0s(),t.EFF(66,"\n")),2&n&&(t.R7$(4),t.Y8G("formGroup",l.clientCollateralForm),t.R7$(11),t.JRh(t.bMT(16,10,"labels.inputs.name")),t.R7$(9),t.JRh(t.bMT(25,12,"labels.inputs.Quantity")),t.R7$(5),t.Y8G("ngIf",l.clientCollateralForm.controls.quantity.hasError("required")),t.R7$(6),t.JRh(t.bMT(36,14,"labels.inputs.Total")),t.R7$(9),t.JRh(t.bMT(45,16,"labels.inputs.Total Collateral Value")),t.R7$(11),t.Y8G("routerLink",t.lJ4(22,z)),t.R7$(),t.SpI("\n ",t.bMT(57,18,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!l.clientCollateralForm.valid),t.R7$(),t.SpI("\n ",t.bMT(61,20,"labels.buttons.Submit"),"\n "))},dependencies:[b.bT,c.Wk,g.$z,u.RN,u.YY,u.m2,h.rl,h.nJ,h.TL,H.fg,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,R.D9],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return a})(),resolve:{clientCollateralData:C}}]}]}];let Z=(()=>{class a{static{this.\u0275fac=function(n){return new(n||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({providers:[C],imports:[c.iI.forChild(K),c.iI]})}}return a})(),W=(()=>{class a{static{this.\u0275fac=function(n){return new(n||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({imports:[b.MD,Z,v.G,D.h,I.Y]})}}return a})()}}]); \ No newline at end of file diff --git a/src_app_deposits_fixed-deposits_fixed-deposits_module_ts.js b/src_app_deposits_fixed-deposits_fixed-deposits_module_ts.js new file mode 100644 index 000000000..ed1b5b018 --- /dev/null +++ b/src_app_deposits_fixed-deposits_fixed-deposits_module_ts.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["src_app_deposits_fixed-deposits_fixed-deposits_module_ts"],{66278:(Lc,W,m)=>{m.r(W),m.d(W,{FixedDepositsModule:()=>zc});var pt=m(92602),mt=m(26044),dt=m(13721),d=m(74710),B=m(25532),t=m(54438),f=m(75351),h=m(88834),_=m(68018);const Ft=()=>({confirm:!0});let ut=(()=>{class n{constructor(e){this.dialogRef=e}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.CP))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(i,o){1&i&&(t.j41(0,"h1",0),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.EFF(3,"\n"),t.j41(4,"div",1),t.EFF(5,"\n "),t.j41(6,"p"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n"),t.j41(11,"mat-dialog-actions",2),t.EFF(12,"\n "),t.j41(13,"button",3),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.j41(17,"button",4),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n"),t.k0s(),t.EFF(21,"\n")),2&i&&(t.R7$(),t.JRh(t.bMT(2,5,"labels.heading.Calculate Interest")),t.R7$(6),t.SpI("",t.bMT(8,7,"labels.text.Are you sure you want to calculate interest")," ?"),t.R7$(7),t.JRh(t.bMT(15,9,"labels.buttons.Cancel")),t.R7$(3),t.Y8G("mat-dialog-close",t.lJ4(13,Ft)),t.R7$(),t.SpI("\n ",t.bMT(19,11,"labels.buttons.Confirm"),"\n "))},dependencies:[h.$z,f.tx,f.BI,f.E7,f.Yi,_.D9]})}}return n})();const gt=()=>({confirm:!0});let ft=(()=>{class n{constructor(e){this.dialogRef=e}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.CP))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-post-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(i,o){1&i&&(t.j41(0,"h1",0),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.EFF(3,"\n"),t.j41(4,"div",1),t.EFF(5,"\n "),t.j41(6,"p"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n"),t.j41(11,"mat-dialog-actions",2),t.EFF(12,"\n "),t.j41(13,"button",3),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.j41(17,"button",4),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n"),t.k0s(),t.EFF(21,"\n")),2&i&&(t.R7$(),t.JRh(t.bMT(2,5,"labels.heading.Post Interest")),t.R7$(6),t.SpI("",t.bMT(8,7,"labels.text.Are you sure you want to post interest")," ?"),t.R7$(7),t.JRh(t.bMT(15,9,"labels.buttons.Cancel")),t.R7$(3),t.Y8G("mat-dialog-close",t.lJ4(13,gt)),t.R7$(),t.SpI("\n ",t.bMT(19,11,"labels.buttons.Confirm"),"\n "))},dependencies:[h.$z,f.tx,f.BI,f.E7,f.Yi,_.D9]})}}return n})();const _t=()=>({confirm:!0});let K=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.CP),t.rXU(f.Vh))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-toggle-withhold-tax-dialog"]],decls:25,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","",3,"color","mat-dialog-close"]],template:function(i,o){1&i&&(t.j41(0,"h1",0),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s(),t.EFF(4,"\n"),t.j41(5,"div",1),t.EFF(6,"\n "),t.j41(7,"p"),t.EFF(8),t.nI1(9,"translate"),t.nI1(10,"translate"),t.nI1(11,"translate"),t.k0s(),t.EFF(12,"\n"),t.k0s(),t.EFF(13,"\n"),t.j41(14,"mat-dialog-actions",2),t.EFF(15,"\n "),t.j41(16,"button",3),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n "),t.j41(20,"button",4),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.EFF(23,"\n"),t.k0s(),t.EFF(24,"\n")),2&i&&(t.R7$(),t.Lme("\n ",t.bMT(2,9,o.data.isEnable?"labels.heading.Enable":"labels.heading.Disable"),"\n ",t.bMT(3,11,"labels.heading.Withhold Tax"),"\n"),t.R7$(7),t.E5c("\n ",t.bMT(9,13,"labels.text.Are you sure you want to"),"\n ",t.bMT(10,15,o.data.isEnable?"labels.heading.Enable":"labels.heading.Disable"),"\n ",t.bMT(11,17,"labels.text.withhold tax for this account")," ?\n "),t.R7$(9),t.JRh(t.bMT(18,19,"labels.buttons.Cancel")),t.R7$(3),t.FS9("color",o.data.isEnable?"accent":"warn"),t.Y8G("mat-dialog-close",t.lJ4(23,_t)),t.R7$(),t.SpI("\n ",t.bMT(22,21,"labels.buttons.Confirm"),"\n "))},dependencies:[h.$z,f.tx,f.BI,f.E7,f.Yi,_.D9]})}}return n})();class ht{constructor(a){this.setOptions(a),this.setButtons(a)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(a){switch(a){case"Active":this.buttonsArray=[{name:"Premature Close",icon:"fa fa-arrow-left"},{name:"Calculate Interest",icon:"fa fa-table"},{name:"Undo Activation",icon:"fa fa-undo"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right"},{name:"Calculate Interest",icon:"fa fa-table"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-pencil "},{name:"Approve",icon:"fa fa-check"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo"},{name:"Activate",icon:"fa fa-check"}];break;default:this.buttonsArray=[]}}setOptions(a){switch(a){case"Active":case"Matured":this.optionArray=[{name:"Post Interest"},{name:"Add Charge"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject"},{name:"Withdrawn by Client"},{name:"Add Charge"},{name:"Delete"}];break;default:this.optionArray=[]}}addOption(a){this.optionArray.push(a)}}var v=m(21626);let D=(()=>{class n{constructor(e){this.http=e}getFixedDepositsAccountData(e){const i=(new v.Nl).set("associations","all");return this.http.get(`/fixeddepositaccounts/${e}`,{params:i})}deleteFixedDepositsAccount(e){return this.http.delete(`/fixeddepositaccounts/${e}`)}executeFixedDepositsAccountCommand(e,i,o){const s=(new v.Nl).set("command",i);return this.http.post(`/fixeddepositaccounts/${e}`,o,{params:s})}getFixedDepositsAccountTransaction(e,i){return this.http.get(`/fixeddepositaccounts/${e}/transactions/${i}`)}executeFixedDepositsAccountTransactionsCommand(e,i,o,s){const r=(new v.Nl).set("command",i);return this.http.post(`/fixeddepositaccounts/${e}/transactions/${s}`,o,{params:r})}getFixedDepositsAccountClosureTemplate(e){const i=(new v.Nl).set("command","close");return this.http.get(`/fixeddepositaccounts/${e}/template`,{params:i})}getFixedDepositsAccountTransactionTemplate(e){return this.http.get(`/fixeddepositaccounts/${e}/transactions/template`)}getFixedDepositsAccountTemplate(e,i){let o=(new v.Nl).set("clientId",e);return o=i?o.set("productId",i):o,this.http.get("/fixeddepositaccounts/template",{params:o})}getFixedDepositsAccountAndTemplate(e){const i=(new v.Nl).set("associations","charges,+linkedAccount").set("template","true");return this.http.get(`/fixeddepositaccounts/${e}`,{params:i})}createFixedDepositAccount(e){return this.http.post("/fixeddepositaccounts",e)}updateFixedDepositAccount(e,i){return this.http.put(`/fixeddepositaccounts/${e}`,i)}getStandingInstructions(e,i,o,s,r){const p=(new v.Nl).set("clientId",e).set("clientName",i).set("fromAccountId",o).set("fromAccountType","2").set("locale",s).set("dateFormat",r);return this.http.get("/standinginstructions",{params:p})}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(v.Qq))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var j=m(44320),F=m(60177),P=m(20060),g=m(25596),Z=m(99213),$=m(59115),z=m(96850),N=m(14823),bt=m(75620),G=m(94587),Ct=m(67949),R=m(37314);const Et=()=>["./general"],xt=()=>["./interest-rate-chart"],Dt=()=>["./charges"],Tt=()=>["./transactions"],Mt=()=>["./standing-instructions"],Pt=n=>["./datatables",n];function Ot(n,a){if(1&n&&(t.j41(0,"span",33),t.EFF(1,"\n "),t.nrm(2,"mifosx-account-number",18),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.FS9("accountNo",e.fixedDepositsAccountData.clientAccountNo)}}function It(n,a){if(1&n&&(t.j41(0,"div",34),t.EFF(1,"\n "),t.j41(2,"h3",35),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table",36),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td",37),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td",38),t.EFF(17),t.nI1(18,"currency"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"tr"),t.EFF(22,"\n "),t.j41(23,"td",37),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.EFF(26,"\n "),t.j41(27,"td",38),t.EFF(28),t.nI1(29,"currency"),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,5,"labels.heading.Account Overview")),t.R7$(10),t.JRh(t.bMT(14,7,"labels.inputs.Current Balance")),t.R7$(4),t.SpI("\n ",t.ii3(18,9,e.fixedDepositsAccountData.summary.accountBalance,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(7),t.JRh(t.bMT(25,14,"labels.inputs.Deposit Amount")),t.R7$(4),t.SpI("\n ",t.ii3(29,16,e.fixedDepositsAccountData.depositAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}function vt(n,a){if(1&n){const e=t.RV6();t.qex(0),t.EFF(1,"\n "),t.j41(2,"button",39),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.doAction(o.name))}),t.EFF(3,"\n "),t.nrm(4,"i",40),t.EFF(5),t.nI1(6,"translateKey"),t.k0s(),t.EFF(7,"\n "),t.bVm()}if(2&n){const e=a.$implicit;t.R7$(4),t.FS9("ngClass",e.icon),t.R7$(),t.SpI(" ",t.i5U(6,2,e.name,"menus"),"\n ")}}function Rt(n,a){if(1&n){const e=t.RV6();t.j41(0,"span"),t.EFF(1,"\n "),t.j41(2,"button",39),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG(2);return t.Njj(s.doAction(o.name))}),t.EFF(3),t.nI1(4,"translateKey"),t.k0s(),t.EFF(5,"\n "),t.k0s()}if(2&n){const e=a.$implicit;t.R7$(3),t.JRh(t.i5U(4,1,e.name,"menus"))}}function At(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"button",41),t.EFF(3),t.nI1(4,"translateKey"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-menu",null,5),t.EFF(8,"\n "),t.DNE(9,Rt,6,4,"span",27),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.bVm()),2&n){const e=t.sdS(7),i=t.XpG();t.R7$(2),t.Y8G("matMenuTriggerFor",e),t.R7$(),t.JRh(t.i5U(4,3,"More","menus")),t.R7$(6),t.Y8G("ngForOf",i.buttonConfig.options)}}function kt(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.j41(2,"a",31,6),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.k0s()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,Tt))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Transactions"),"\n ")}}function yt(n,a){if(1&n&&(t.j41(0,"a",31,7),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n){const e=t.sdS(1);t.Y8G("routerLink",t.lJ4(5,Mt))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(3,3,"labels.inputs.Standing Instructions"),"\n ")}}function jt(n,a){if(1&n&&(t.j41(0,"a",31,8),t.EFF(2),t.k0s()),2&n){const e=t.sdS(1),i=t.XpG().$implicit;t.Y8G("routerLink",t.eq3(3,Pt,i.registeredTableName))("active",e.isActive),t.R7$(2),t.SpI("\n ",i.registeredTableName,"\n ")}}function St(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,jt,3,5,"a",42),t.EFF(3,"\n "),t.bVm()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission","READ_"+e.registeredTableName)}}let $t=(()=>{class n{constructor(e,i,o,s,r){this.route=e,this.router=i,this.fixedDepositsService=o,this.savingsService=s,this.dialog=r,this.showTransactions=!1,this.route.data.subscribe(p=>{this.fixedDepositsAccountData=p.fixedDepositsAccountData,this.savingsDatatables=p.savingsDatatables,this.currency=this.fixedDepositsAccountData.currency,this.showTransactions=p.fixedDepositsAccountData.status.id>=300}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}ngOnInit(){this.setConditionalButtons()}setConditionalButtons(){const e=this.fixedDepositsAccountData.status.value;this.buttonConfig=new ht(e),this.fixedDepositsAccountData.taxGroup&&"Active"===e&&this.buttonConfig.addOption(this.fixedDepositsAccountData.withHoldTax?{name:"Disable Withhold Tax"}:{name:"Enable Withhold Tax"})}reload(){const i=this.router.url;this.router.navigateByUrl(`/clients/${this.fixedDepositsAccountData.clientId}/fixed-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([i]))}doAction(e){switch(e){case"Approve":case"Reject":case"Activate":case"Close":case"Undo Approval":case"Undo Activation":case"Add Charge":case"Withdrawn by Client":case"Premature Close":this.router.navigate([`actions/${e}`],{relativeTo:this.route});break;case"Modify Application":this.router.navigate(["edit"],{relativeTo:this.route});break;case"Delete":this.deleteFixedDepositsAccount();break;case"Calculate Interest":this.calculateInterest();break;case"Post Interest":this.postInterest();break;case"Enable Withhold Tax":this.enableWithHoldTax();break;case"Disable Withhold Tax":this.disableWithHoldTax()}}deleteFixedDepositsAccount(){this.dialog.open(B.X,{data:{deleteContext:`fixed deposit account with id: ${this.fixedDepositsAccountData.id}`}}).afterClosed().subscribe(i=>{i.delete&&this.fixedDepositsService.deleteFixedDepositsAccount(this.fixedDepositsAccountData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}calculateInterest(){this.dialog.open(ut).afterClosed().subscribe(i=>{i.confirm&&this.fixedDepositsService.executeFixedDepositsAccountCommand(this.fixedDepositsAccountData.id,"calculateInterest",{}).subscribe(()=>{this.reload()})})}postInterest(){this.dialog.open(ft).afterClosed().subscribe(i=>{i.confirm&&this.fixedDepositsService.executeFixedDepositsAccountCommand(this.fixedDepositsAccountData.id,"postInterest",{}).subscribe(()=>{this.reload()})})}enableWithHoldTax(){this.dialog.open(K,{data:{isEnable:!0}}).afterClosed().subscribe(i=>{i.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.fixedDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!0}).subscribe(()=>{this.reload()})})}disableWithHoldTax(){this.dialog.open(K,{data:{isEnable:!1}}).afterClosed().subscribe(i=>{i.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.fixedDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!1}).subscribe(()=>{this.reload()})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX),t.rXU(d.Ix),t.rXU(D),t.rXU(j.J),t.rXU(f.bZ))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-view"]],decls:102,vars:44,consts:[["accountMenu","matMenu"],["general","routerLinkActive"],["IRC","routerLinkActive"],["charges","routerLinkActive"],["tabPanel",""],["More","matMenu"],["transactions","routerLinkActive"],["standingInstructions","routerLinkActive"],["datatable","routerLinkActive"],[1,"account-card"],[1,"header","layout-column"],[1,"header-title-group"],[1,"profile-image-container"],["mat-card-md-image","",1,"profile-image",3,"matTooltip","src"],[1,"mat-typography","account-card-title"],[1,"layout-row","responsive-column"],[1,"flex-60"],[1,"fa","fa-stop",3,"ngClass","matTooltip"],[3,"accountNo"],[1,"account-overview"],[1,"m-r-10"],["class","m-l-10",4,"ngIf"],["class","flex-30",4,"ngIf"],[1,"flex-5"],["mat-icon-button","","aria-label","Fixed Deposit account actions","yPosition","below",3,"matMenuTriggerFor"],["matListIcon","",1,"actions-menu"],["icon","bars","size","sm"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"content"],["mat-tab-nav-bar","",1,"navigation-tabs",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"ngIf"],[1,"m-l-10"],[1,"flex-30"],[1,"flex-100"],[1,"account-overview","flex-100"],[1,"flex-70"],[1,"r-amount","flex-30"],["mat-menu-item","",3,"click"],[3,"ngClass"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"mifosxHasPermission"]],template:function(i,o){if(1&i&&(t.j41(0,"mat-card",9),t.EFF(1,"\n "),t.j41(2,"mat-card-header",10),t.EFF(3,"\n "),t.j41(4,"mat-card-title-group",11),t.EFF(5,"\n "),t.j41(6,"div",12),t.EFF(7,"\n "),t.j41(8,"div"),t.EFF(9,"\n "),t.nrm(10,"img",13),t.nI1(11,"translate"),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n\n "),t.j41(15,"div",14),t.EFF(16,"\n "),t.j41(17,"mat-card-title"),t.EFF(18,"\n "),t.j41(19,"div",15),t.EFF(20,"\n "),t.j41(21,"div",16),t.EFF(22,"\n "),t.j41(23,"h3"),t.EFF(24,"\n "),t.nrm(25,"i",17),t.nI1(26,"statusLookup"),t.EFF(27),t.nI1(28,"translate"),t.nrm(29,"mifosx-account-number",18),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.j41(32,"span",19),t.EFF(33,"\n "),t.j41(34,"span",20),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.EFF(37),t.DNE(38,Ot,4,1,"span",21),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n "),t.k0s(),t.EFF(41,"\n\n "),t.DNE(42,It,34,21,"div",22),t.EFF(43,"\n\n "),t.j41(44,"div",23),t.EFF(45,"\n "),t.j41(46,"button",24),t.EFF(47,"\n "),t.j41(48,"mat-icon",25),t.EFF(49,"\n "),t.nrm(50,"fa-icon",26),t.EFF(51,"\n "),t.k0s(),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n "),t.k0s(),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n\n "),t.j41(58,"mat-menu",null,0),t.EFF(60,"\n "),t.DNE(61,vt,8,5,"ng-container",27),t.EFF(62,"\n\n "),t.DNE(63,At,12,6,"ng-container",28),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n "),t.k0s(),t.EFF(67,"\n\n "),t.j41(68,"mat-card-content",29),t.EFF(69,"\n "),t.j41(70,"nav",30),t.EFF(71,"\n "),t.j41(72,"a",31,1),t.EFF(74),t.nI1(75,"translate"),t.k0s(),t.EFF(76,"\n "),t.j41(77,"a",31,2),t.EFF(79),t.nI1(80,"translate"),t.k0s(),t.EFF(81,"\n "),t.DNE(82,kt,7,6,"span",28),t.EFF(83,"\n "),t.j41(84,"a",31,3),t.EFF(86),t.nI1(87,"translate"),t.k0s(),t.EFF(88,"\n "),t.DNE(89,yt,4,6,"a",32),t.EFF(90,"\n "),t.DNE(91,St,4,1,"ng-container",27),t.EFF(92,"\n "),t.k0s(),t.EFF(93,"\n\n "),t.j41(94,"mat-tab-nav-panel",null,4),t.EFF(96,"\n "),t.nrm(97,"router-outlet"),t.EFF(98,"\n "),t.k0s(),t.EFF(99,"\n "),t.k0s(),t.EFF(100,"\n"),t.k0s(),t.EFF(101,"\n")),2&i){const s=t.sdS(59),r=t.sdS(73),p=t.sdS(78),C=t.sdS(85),I=t.sdS(95);t.R7$(10),t.FS9("matTooltip",t.bMT(11,27,"tooltips.Fixed Deposits Account")),t.Y8G("src","assets/images/fd_account_placeholder.png",t.B4B),t.R7$(15),t.Y8G("ngClass",t.bMT(26,29,o.fixedDepositsAccountData.status.code))("matTooltip",o.fixedDepositsAccountData.status.value),t.R7$(2),t.Lme("\n ",t.bMT(28,31,"labels.inputs.Fixed Deposit Product")," :\n ",o.fixedDepositsAccountData.depositProductName,"\n "),t.R7$(2),t.FS9("accountNo",o.fixedDepositsAccountData.accountNo),t.R7$(6),t.SpI("",t.bMT(36,33,"labels.text."+o.entityType)," :"),t.R7$(2),t.SpI("\n ",o.fixedDepositsAccountData.clientName||o.fixedDepositsAccountData.groupName,"\n "),t.R7$(),t.Y8G("ngIf",o.fixedDepositsAccountData.clientAccountNo),t.R7$(4),t.Y8G("ngIf",!o.fixedDepositsAccountData.status.rejected&&!o.fixedDepositsAccountData.status.submittedAndPendingApproval),t.R7$(4),t.Y8G("matMenuTriggerFor",s),t.R7$(15),t.Y8G("ngForOf",o.buttonConfig.singleButtons),t.R7$(2),t.Y8G("ngIf",o.buttonConfig.options.length),t.R7$(7),t.Y8G("tabPanel",I),t.R7$(2),t.Y8G("routerLink",t.lJ4(41,Et))("active",r.isActive),t.R7$(2),t.SpI("\n ",t.bMT(75,35,"labels.inputs.General"),"\n "),t.R7$(3),t.Y8G("routerLink",t.lJ4(42,xt))("active",p.isActive),t.R7$(2),t.SpI("\n ",t.bMT(80,37,"labels.inputs.Interest Rate Chart"),"\n "),t.R7$(3),t.Y8G("ngIf",o.showTransactions),t.R7$(2),t.Y8G("routerLink",t.lJ4(43,Dt))("active",C.isActive),t.R7$(2),t.SpI("\n ",t.bMT(87,39,"labels.inputs.Charges"),"\n "),t.R7$(3),t.Y8G("ngIf",o.fixedDepositsAccountData.clientId),t.R7$(2),t.Y8G("ngForOf",o.savingsDatatables)}},dependencies:[F.YU,F.Sq,F.bT,P.aY,h.iY,g.RN,g.m2,g.MM,g.hl,g.dh,g.aJ,Z.An,$.kk,$.fb,$.Cp,z.Bu,z.hQ,z.Ql,N.oV,bt.i,G.p,d.n3,d.Wk,d.wQ,F.oe,_.D9,Ct.l,R.D]})}}return n})();var E=m(49969),l=m(9159),Y=m(56617);function wt(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Period")))}function Nt(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.E5c("\n ",e.fromPeriod," - ",e.toPeriod,"\xa0",t.i5U(2,3,e.periodType.value,"catalogs"),"\n ")}}function Gt(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount Range")))}function Yt(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"formatNumber"),t.nI1(3,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.amountRangeFrom)," - ",t.bMT(3,4,e.amountRangeTo),"\n ")}}function Jt(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function Vt(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("",t.bMT(2,1,e.annualInterestRate)," %")}}function Ut(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Description")))}function Xt(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.description)}}function qt(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Bt(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",21),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.View Incentives"),"\n "))}function zt(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",22),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Hide Incentives"),"\n "))}function Lt(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",18),t.EFF(1,"\n "),t.j41(2,"button",19),t.bIt("click",function(){const o=t.eBV(e).dataIndex,s=t.XpG();return t.Njj(s.expandChartSlabIndex=s.expandChartSlabIndex===o?null:o)}),t.EFF(3,"\n "),t.DNE(4,Bt,5,3,"span",20),t.EFF(5,"\n "),t.DNE(6,zt,5,3,"span",20),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.k0s()}if(2&n){const e=a.dataIndex,i=t.XpG();t.R7$(4),t.Y8G("ngIf",i.expandChartSlabIndex!==e),t.R7$(2),t.Y8G("ngIf",i.expandChartSlabIndex===e)}}function Ht(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Entity Type")))}function Wt(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.entityType.value,"\n ")}}function Kt(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Name")))}function Zt(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.attributeName.value,"\n ")}}function Qt(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Condition Type")))}function tn(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.conditionType.value),"\n ")}}function nn(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Value")))}function en(n,a){if(1&n&&(t.j41(0,"td",35),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("ngSwitch",e.attributeName),t.R7$(),t.SpI("\n ",e.attributeValueDesc,"\n ")}}function on(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Incentive Type")))}function an(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.incentiveType.value,"\n ")}}function sn(n,a){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function cn(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.amount),"\n ")}}function rn(n,a){1&n&&t.nrm(0,"tr",36)}function ln(n,a){1&n&&t.nrm(0,"tr",37)}function pn(n,a){if(1&n&&(t.j41(0,"table",27),t.EFF(1,"\n "),t.qex(2,28),t.EFF(3,"\n "),t.DNE(4,Ht,3,3,"th",7),t.EFF(5,"\n "),t.DNE(6,Wt,2,1,"td",8),t.EFF(7,"\n "),t.bVm(),t.EFF(8,"\n\n "),t.qex(9,29),t.EFF(10,"\n "),t.DNE(11,Kt,3,3,"th",7),t.EFF(12,"\n "),t.DNE(13,Zt,2,1,"td",8),t.EFF(14,"\n "),t.bVm(),t.EFF(15,"\n\n "),t.qex(16,30),t.EFF(17,"\n "),t.DNE(18,Qt,3,3,"th",7),t.EFF(19,"\n "),t.DNE(20,tn,3,3,"td",8),t.EFF(21,"\n "),t.bVm(),t.EFF(22,"\n\n "),t.qex(23,31),t.EFF(24,"\n "),t.DNE(25,nn,3,3,"th",7),t.EFF(26,"\n "),t.DNE(27,en,2,2,"td",32),t.EFF(28,"\n "),t.bVm(),t.EFF(29,"\n\n "),t.qex(30,33),t.EFF(31,"\n "),t.DNE(32,on,3,3,"th",7),t.EFF(33,"\n "),t.DNE(34,an,2,1,"td",8),t.EFF(35,"\n "),t.bVm(),t.EFF(36,"\n\n "),t.qex(37,34),t.EFF(38,"\n "),t.DNE(39,sn,3,3,"th",7),t.EFF(40,"\n "),t.DNE(41,cn,3,3,"td",8),t.EFF(42,"\n "),t.bVm(),t.EFF(43,"\n\n "),t.DNE(44,rn,1,0,"tr",14),t.EFF(45,"\n "),t.DNE(46,ln,1,0,"tr",15),t.EFF(47,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG();t.Y8G("dataSource",e.incentives),t.R7$(44),t.Y8G("matHeaderRowDef",i.incentivesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",i.incentivesDisplayedColumns)}}function mn(n,a){if(1&n&&(t.j41(0,"td",18),t.EFF(1,"\n "),t.j41(2,"div",23),t.EFF(3,"\n "),t.j41(4,"mat-card",24),t.EFF(5,"\n "),t.j41(6,"h4",25),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,pn,48,3,"table",26),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=a.$implicit,i=a.dataIndex,o=t.XpG();t.BMQ("colspan",o.chartSlabsDisplayedColumns.length),t.R7$(2),t.Y8G("@expandChartSlab",i===o.expandChartSlabIndex?"expanded":"collapsed"),t.R7$(5),t.SpI("\n ",t.bMT(8,4,"labels.heading.Incentives"),"\n "),t.R7$(3),t.Y8G("ngIf",null==e.incentives?null:e.incentives.length)}}function dn(n,a){1&n&&t.nrm(0,"tr",36)}function Fn(n,a){1&n&&t.nrm(0,"tr",37)}function un(n,a){1&n&&t.nrm(0,"tr",38)}let gn=(()=>{class n{constructor(e){this.route=e,this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.route.parent.data.subscribe(i=>{this.interestRateChartData=i.fixedDepositsAccountData.accountChart.chartSlabs})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-interest-rate-chart-tab"]],decls:66,vars:7,consts:[["chartsTable",""],[1,"tab-container","mat-typography"],[1,"align-start-center"],[1,"m-b-20"],[1,"mat-elevation-z1","m-b-25"],["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-fill","incentives"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(i,o){1&i&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"h3"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n\n "),t.j41(12,"div",4),t.EFF(13,"\n "),t.j41(14,"table",5,0),t.EFF(16,"\n "),t.qex(17,6),t.EFF(18,"\n "),t.DNE(19,wt,3,3,"th",7),t.EFF(20,"\n "),t.DNE(21,Nt,3,6,"td",8),t.EFF(22,"\n "),t.bVm(),t.EFF(23,"\n\n "),t.qex(24,9),t.EFF(25,"\n "),t.DNE(26,Gt,3,3,"th",7),t.EFF(27,"\n "),t.DNE(28,Yt,4,6,"td",8),t.EFF(29,"\n "),t.bVm(),t.EFF(30,"\n\n "),t.qex(31,10),t.EFF(32,"\n "),t.DNE(33,Jt,3,3,"th",7),t.EFF(34,"\n "),t.DNE(35,Vt,3,3,"td",8),t.EFF(36,"\n "),t.bVm(),t.EFF(37,"\n\n "),t.qex(38,11),t.EFF(39,"\n "),t.DNE(40,Ut,3,3,"th",7),t.EFF(41,"\n "),t.DNE(42,Xt,2,1,"td",8),t.EFF(43,"\n "),t.bVm(),t.EFF(44,"\n\n "),t.qex(45,12),t.EFF(46,"\n "),t.DNE(47,qt,3,3,"th",7),t.EFF(48,"\n "),t.DNE(49,Lt,9,2,"td",8),t.EFF(50,"\n "),t.bVm(),t.EFF(51,"\n\n "),t.qex(52,13),t.EFF(53,"\n "),t.DNE(54,mn,14,6,"td",8),t.EFF(55,"\n "),t.bVm(),t.EFF(56,"\n\n "),t.DNE(57,dn,1,0,"tr",14),t.EFF(58,"\n "),t.DNE(59,Fn,1,0,"tr",15),t.EFF(60,"\n "),t.DNE(61,un,1,0,"tr",16),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n"),t.k0s(),t.EFF(65,"\n")),2&i&&(t.R7$(7),t.JRh(t.bMT(8,5,"labels.heading.All Interest Rates")),t.R7$(7),t.Y8G("dataSource",o.interestRateChartData),t.R7$(43),t.Y8G("matHeaderRowDef",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsIncentivesDisplayedColumns))},dependencies:[F.bT,F.ux,P.aY,h.$z,g.RN,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,F.PV,_.D9,Y.p,R.D],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[(0,E.hZ)("expandChartSlab",[(0,E.wk)("collapsed",(0,E.iF)({height:"0px",minHeight:"0"})),(0,E.wk)("expanded",(0,E.iF)({height:"*"})),(0,E.kY)("expanded <=> collapsed",(0,E.i0)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return n})();var c=m(89417),fn=m(96695),_n=m(2042),Q=m(82765),A=m(53468);const hn=n=>["/","journal-entry","view",n];function bn(n,a){if(1&n){const e=t.RV6();t.j41(0,"div",21),t.EFF(1,"\n "),t.j41(2,"mat-checkbox",22),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.hideReversed())}),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-checkbox",22),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.hideAccruals())}),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(2),t.Y8G("formControl",e.hideReversedParam),t.R7$(),t.SpI("\n ",t.bMT(4,4,"labels.inputs.Hide Reversed"),""),t.R7$(3),t.Y8G("formControl",e.hideAccrualsParam),t.R7$(),t.SpI("\n ",t.bMT(8,6,"labels.inputs.Hide Accruals"),"")}}function Cn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1,"#"),t.k0s())}function En(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",24),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=a.index;t.R7$(),t.SpI("\n ",e+1,"\n ")}}function xn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.ID")))}function Dn(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",25),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG();t.Y8G("ngClass",i.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",e.id,"\n ")}}function Tn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Transaction Date")))}function Mn(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",25),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG();t.Y8G("ngClass",i.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",t.bMT(2,2,e.date),"\n ")}}function Pn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Transaction Type")))}function On(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",25),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG();t.Y8G("ngClass",i.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.transactionType.value,"catalogs"),"\n ")}}function In(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Debit")))}function vn(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",25),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG();t.Y8G("ngClass",i.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",i.isDebit(e.transactionType)?t.bMT(2,2,e.amount):"N/A","\n ")}}function Rn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Credit")))}function An(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",25),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG();t.Y8G("ngClass",i.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",i.isDebit(e.transactionType)?"N/A":t.bMT(2,2,e.amount),"\n ")}}function kn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Balance")))}function yn(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",25),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()}if(2&n){const e=a.$implicit,i=t.XpG();t.Y8G("ngClass",i.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",t.bMT(2,2,e.runningBalance),"\n ")}}function jn(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Sn(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.EFF(1,"\n "),t.j41(2,"button",27),t.EFF(3,"\n "),t.j41(4,"mat-icon"),t.EFF(5,"more_vert"),t.k0s(),t.EFF(6,"\n "),t.k0s(),t.EFF(7,"\n "),t.j41(8,"mat-menu",null,0),t.EFF(10,"\n "),t.j41(11,"button",28),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.showTransactions(o))}),t.EFF(12,"\n "),t.j41(13,"mat-icon"),t.nrm(14,"fa-icon",29),t.k0s(),t.EFF(15,"\n "),t.j41(16,"span"),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"button",30),t.bIt("click",function(o){t.eBV(e);const s=t.XpG();return t.Njj(s.routeEdit(o))}),t.EFF(22,"\n "),t.j41(23,"mat-icon"),t.nrm(24,"fa-icon",31),t.k0s(),t.EFF(25,"\n "),t.j41(26,"span"),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.k0s()}if(2&n){const e=a.$implicit,i=t.sdS(9);t.R7$(2),t.Y8G("matMenuTriggerFor",i),t.R7$(15),t.JRh(t.bMT(18,4,"labels.text.View Transaction")),t.R7$(4),t.Y8G("routerLink",t.eq3(8,hn,"S"+e.id)),t.R7$(6),t.JRh(t.bMT(28,6,"tooltips.View Journal Entries"))}}function $n(n,a){1&n&&t.nrm(0,"tr",32)}function wn(n,a){1&n&&t.nrm(0,"tr",33)}let Nn=(()=>{class n{constructor(e,i,o){this.route=e,this.router=i,this.dialog=o,this.displayedColumns=["row","id","transactionDate","transactionType","debit","credit","balance","actions"],this.route.parent.data.subscribe(s=>{this.transactionsData=s.fixedDepositsAccountData.transactions,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId,this.status=s.fixedDepositsAccountData.status.value})}ngOnInit(){this.hideAccrualsParam=new c.hs(!1),this.hideReversedParam=new c.hs(!1),this.dataSource=new l.I6(this.transactionsData)}checkStatus(){return"Active"===this.status||"Closed"===this.status||"Transfer in progress"===this.status||"Transfer on hold"===this.status||"Premature Closed"===this.status||"Matured"===this.status}isDebit(e){return!0===e.withdrawal||!0===e.feeDeduction||!0===e.overdraftInterest||!0===e.withholdTax}showTransactions(e){this.router.navigate(e.transfer?[`account-transfers/account-transfers/${e.transfer.id}`]:[e.id],{relativeTo:this.route})}hideAccruals(){this.filterTransactions(this.hideReversedParam.value,!this.hideAccrualsParam.value)}hideReversed(){this.filterTransactions(!this.hideReversedParam.value,this.hideAccrualsParam.value)}filterTransactions(e,i){let o=this.transactionsData;(i||e)&&(o=this.transactionsData.filter(s=>!(e&&s.reversed||i&&s.transactionType.accrual))),this.dataSource=new l.I6(o),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}savingsTransactionColor(e){return e.reversed?"strike":e.transfer?"transfer":e.transactionType.accrual?"accrual":""}routeEdit(e){e.stopPropagation()}undoTransaction(e){}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX),t.rXU(d.Ix),t.rXU(f.bZ))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-transactions-tab"]],viewQuery:function(i,o){if(1&i&&(t.GBs(fn.iy,7),t.GBs(_n.B4,7)),2&i){let s;t.mGM(s=t.lsd())&&(o.paginator=s.first),t.mGM(s=t.lsd())&&(o.sort=s.first)}},decls:81,vars:7,consts:[["transactionMenu","matMenu"],[1,"tab-container","mat-typography"],[1,"mat-elevation-z1","m-b-25"],[1,"layout-row","align-start"],[1,"m-b-20"],["class","action-button m-b-20 layout-row gap-20px",4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","row"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",3,"ngClass","click",4,"matCellDef"],["matColumnDef","transactionDate"],["matColumnDef","transactionType"],["matColumnDef","debit"],["matColumnDef","credit"],["matColumnDef","balance"],["matColumnDef","actions"],["mat-cell","","class","center",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","select-row",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20","layout-row","gap-20px"],[1,"accruals",3,"click","formControl"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-cell","",3,"click","ngClass"],["mat-cell","",1,"center"],["mat-icon-button","","aria-label","",1,"action-button",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["icon","eye","size","sm"],["mat-menu-item","",3,"click","routerLink"],["icon","table-cells","size","sm"],["mat-header-row",""],["mat-row","",1,"select-row"]],template:function(i,o){1&i&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"div",4),t.EFF(7,"\n "),t.j41(8,"h3"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.DNE(13,bn,10,8,"div",5),t.EFF(14,"\n "),t.k0s(),t.EFF(15,"\n\n "),t.j41(16,"table",6),t.EFF(17,"\n "),t.qex(18,7),t.EFF(19,"\n "),t.DNE(20,Cn,2,0,"th",8),t.EFF(21,"\n "),t.DNE(22,En,2,1,"td",9),t.EFF(23,"\n "),t.bVm(),t.EFF(24,"\n\n "),t.qex(25,10),t.EFF(26,"\n "),t.DNE(27,xn,3,3,"th",8),t.EFF(28,"\n "),t.DNE(29,Dn,2,2,"td",11),t.EFF(30,"\n "),t.bVm(),t.EFF(31,"\n\n "),t.qex(32,12),t.EFF(33,"\n "),t.DNE(34,Tn,3,3,"th",8),t.EFF(35,"\n "),t.DNE(36,Mn,3,4,"td",11),t.EFF(37,"\n "),t.bVm(),t.EFF(38,"\n\n "),t.qex(39,13),t.EFF(40,"\n "),t.DNE(41,Pn,3,3,"th",8),t.EFF(42,"\n "),t.DNE(43,On,3,5,"td",11),t.EFF(44,"\n "),t.bVm(),t.EFF(45,"\n\n "),t.qex(46,14),t.EFF(47,"\n "),t.DNE(48,In,3,3,"th",8),t.EFF(49,"\n "),t.DNE(50,vn,3,4,"td",11),t.EFF(51,"\n "),t.bVm(),t.EFF(52,"\n\n "),t.qex(53,15),t.EFF(54,"\n "),t.DNE(55,Rn,3,3,"th",8),t.EFF(56,"\n "),t.DNE(57,An,3,4,"td",11),t.EFF(58,"\n "),t.bVm(),t.EFF(59,"\n\n "),t.qex(60,16),t.EFF(61,"\n "),t.DNE(62,kn,3,3,"th",8),t.EFF(63,"\n "),t.DNE(64,yn,3,4,"td",11),t.EFF(65,"\n "),t.bVm(),t.EFF(66,"\n\n "),t.qex(67,17),t.EFF(68,"\n "),t.DNE(69,jn,3,3,"th",8),t.EFF(70,"\n "),t.DNE(71,Sn,32,10,"td",18),t.EFF(72,"\n "),t.bVm(),t.EFF(73,"\n\n "),t.DNE(74,$n,1,0,"tr",19),t.EFF(75,"\n "),t.DNE(76,wn,1,0,"tr",20),t.EFF(77,"\n "),t.k0s(),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n"),t.k0s(),t.EFF(80,"\n")),2&i&&(t.R7$(9),t.JRh(t.bMT(10,5,"labels.heading.All Transactions")),t.R7$(4),t.Y8G("ngIf",o.checkStatus()),t.R7$(3),t.Y8G("dataSource",o.dataSource),t.R7$(58),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns))},dependencies:[F.YU,F.bT,P.aY,h.iY,Q.So,Z.An,$.kk,$.fb,$.Cp,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,c.BC,c.l_,d.Wk,_.D9,A.a,Y.p,R.D],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;color:#000}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 0 3px;margin:0 2%;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .linked[_ngcontent-%COMP%]{color:#4461e2}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .accrual[_ngcontent-%COMP%]{color:#999}.select-row[_ngcontent-%COMP%]:hover{cursor:pointer;font-weight:800}"]})}}return n})();var T=m(52864),w=m(64682);const Gn=()=>({confirm:!0});let Yn=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.CP),t.rXU(f.Vh))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-waive-charge-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(i,o){1&i&&(t.j41(0,"h1",0),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.EFF(3,"\n"),t.j41(4,"div",1),t.EFF(5,"\n "),t.j41(6,"p"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n"),t.j41(11,"mat-dialog-actions",2),t.EFF(12,"\n "),t.j41(13,"button",3),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.j41(17,"button",4),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n"),t.k0s(),t.EFF(21,"\n")),2&i&&(t.R7$(),t.JRh(t.bMT(2,6,"labels.heading.Waive Charge")),t.R7$(6),t.Lme("",t.bMT(8,8,"labels.text.Are you sure you want to waive charge with id"),": ",o.data.id," ?"),t.R7$(7),t.JRh(t.bMT(15,10,"labels.buttons.Cancel")),t.R7$(3),t.Y8G("mat-dialog-close",t.lJ4(14,Gn)),t.R7$(),t.SpI("\n ",t.bMT(19,12,"labels.buttons.Confirm"),"\n "))},dependencies:[h.$z,f.tx,f.BI,f.E7,f.Yi,_.D9]})}}return n})();const Jn=()=>({confirm:!0});let Vn=(()=>{class n{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.CP),t.rXU(f.Vh))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-inactivate-charge-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(i,o){1&i&&(t.j41(0,"h1",0),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.EFF(3,"\n"),t.j41(4,"div",1),t.EFF(5,"\n "),t.j41(6,"p"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n"),t.j41(11,"mat-dialog-actions",2),t.EFF(12,"\n "),t.j41(13,"button",3),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.j41(17,"button",4),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n"),t.k0s(),t.EFF(21,"\n")),2&i&&(t.R7$(),t.JRh(t.bMT(2,6,"labels.heading.Inactivate Charge")),t.R7$(6),t.Lme("",t.bMT(8,8,"labels.text.Are you sure you want to inactivate charge with id"),": ",o.data.id," ?"),t.R7$(7),t.JRh(t.bMT(15,10,"labels.buttons.Cancel")),t.R7$(3),t.Y8G("mat-dialog-close",t.lJ4(14,Jn)),t.R7$(),t.SpI("\n ",t.bMT(19,12,"labels.buttons.Confirm"),"\n "))},dependencies:[h.$z,f.tx,f.BI,f.E7,f.Yi,_.D9]})}}return n})();var J=m(6841),tt=m(8979),M=m(6427);const Un=["chargesTable"],Xn=()=>[2e3];function qn(n,a){if(1&n){const e=t.RV6();t.j41(0,"div",22),t.EFF(1,"\n "),t.j41(2,"button",23),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.toggleCharges())}),t.EFF(3),t.k0s(),t.EFF(4,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(3),t.SpI("\n ",e.showInactiveCharges?"View Active Charges":"View Inactive Charges","\n ")}}function Bn(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.name")))}function zn(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.name)}}function Ln(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Fee/Penalty")))}function Hn(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"translateKey"),t.nI1(3,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",!0===e.penalty?t.i5U(2,1,"Penalty","catalogs"):t.i5U(3,4,"Fee","catalogs"),"\n ")}}function Wn(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Payment Due At")))}function Kn(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(t.i5U(2,1,e.chargeTimeType.value,"catalogs"))}}function Zn(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Due As Of")))}function Qn(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.dueDate))}}function te(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Repeats On")))}function ne(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"dateFormat"),t.nI1(3,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.feeOnMonthDay?t.i5U(2,1,t.lJ4(7,Xn).concat(e.feeOnMonthDay),"dd MMMM"):t.i5U(3,4,"Unassigned","inputs"),"\n ")}}function ee(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Calculation Type")))}function oe(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(t.i5U(2,1,e.chargeCalculationType.value,"catalogs"))}}function ie(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Due")))}function ae(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.currency.displaySymbol,"\xa0",t.bMT(2,2,e.amount),"\n ")}}function se(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Paid")))}function ce(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.currency.displaySymbol,"\xa0",t.bMT(2,2,e.amountPaid),"\n ")}}function re(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Waived")))}function le(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.currency.displaySymbol,"\xa0",t.bMT(2,2,e.amountWaived),"\n ")}}function pe(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Outstanding")))}function me(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.currency.displaySymbol,"\xa0",t.bMT(2,2,e.amountOutstanding),"\n ")}}function de(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Fe(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const s=t.XpG(2).$implicit,r=t.XpG();return r.routeEdit(o),t.Njj(r.editCharge(s))}),t.EFF(2,"\n "),t.nrm(3,"i",30),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Edit Charge"))}function ue(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",31),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const s=t.XpG(2).$implicit,r=t.XpG();return r.routeEdit(o),t.Njj(r.deleteCharge(s.id))}),t.EFF(2,"\n "),t.nrm(3,"i",32),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Delete Charge"))}function ge(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,Fe,5,3,"button",27),t.EFF(3,"\n "),t.DNE(4,ue,5,3,"button",28),t.EFF(5,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","UPDATE_SAVINGSACCOUNTCHARGE"),t.R7$(2),t.Y8G("mifosxHasPermission","DELETE_SAVINGSACCOUNTCHARGE"))}function fe(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const s=t.XpG(2).$implicit,r=t.XpG();return r.routeEdit(o),t.Njj(r.payCharge(s.id))}),t.EFF(2,"\n "),t.nrm(3,"i",33),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Pay Charge"))}function _e(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const s=t.XpG(2).$implicit,r=t.XpG();return r.routeEdit(o),t.Njj(r.waiveCharge(s.id))}),t.EFF(2,"\n "),t.nrm(3,"i",34),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Waive Charge"))}function he(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const s=t.XpG(3).$implicit,r=t.XpG();return r.routeEdit(o),t.Njj(r.inactivateCharge(s.id))}),t.EFF(2,"\n "),t.nrm(3,"i",35),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Inactivate Charge"))}function be(n,a){1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,he,5,3,"button",27),t.EFF(3,"\n "),t.bVm()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","INACTIVATE_SAVINGSACCOUNTCHARGE"))}function Ce(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,fe,5,3,"button",27),t.EFF(3,"\n "),t.DNE(4,_e,5,3,"button",27),t.EFF(5,"\n "),t.DNE(6,be,4,1,"ng-container",26),t.EFF(7,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG();t.R7$(2),t.Y8G("mifosxHasPermission","PAY_SAVINGSACCOUNTCHARGE"),t.R7$(2),t.Y8G("mifosxHasPermission","WAIVE_SAVINGSACCOUNTCHARGE"),t.R7$(2),t.Y8G("ngIf",i.isRecurringCharge(e))}}function Ee(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1,"\n "),t.DNE(2,ge,6,2,"span",26),t.EFF(3,"\n "),t.DNE(4,Ce,8,3,"span",26),t.EFF(5,"\n "),t.k0s()),2&n){const e=a.$implicit,i=t.XpG();t.R7$(2),t.Y8G("ngIf","Submitted and pending approval"===i.fixedDepositsAccountData.status.value),t.R7$(2),t.Y8G("ngIf","Active"===i.fixedDepositsAccountData.status.value&&0!==e.amountOutstanding)}}function xe(n,a){1&n&&t.nrm(0,"tr",36)}function De(n,a){1&n&&t.nrm(0,"tr",37)}let Te=(()=>{class n{constructor(e,i,o,s,r,p){this.savingsService=e,this.route=i,this.dateUtils=o,this.router=s,this.dialog=r,this.settingsService=p,this.showInactiveCharges=!1,this.displayedColumns=["name","feeOrPenalty","paymentDueAt","dueAsOf","repeatsOn","calculationType","due","paid","waived","outstanding","actions"],this.route.parent.data.subscribe(C=>{this.fixedDepositsAccountData=C.fixedDepositsAccountData,this.chargesData=this.fixedDepositsAccountData.charges})}ngOnInit(){const e=this.chargesData?this.chargesData.filter(i=>i.isActive):[];this.dataSource=new l.I6(e)}toggleCharges(){if(this.showInactiveCharges=!this.showInactiveCharges,this.showInactiveCharges){const e=this.chargesData.filter(i=>!i.isActive);this.dataSource.data=e}else{const e=this.chargesData.filter(i=>i.isActive);this.dataSource.data=e}this.chargesTableRef.renderRows()}payCharge(e){const i=[new J.O({controlName:"amount",label:"Amount",value:"",type:"number",required:!0}),new tt.U({controlName:"dueDate",label:"Payment Date",value:"",type:"date",required:!0})];this.dialog.open(w.u,{data:{title:`Pay Charge ${e}`,layout:{addButtonText:"Confirm"},formfields:i}}).afterClosed().subscribe(r=>{if(r.data){const p=this.settingsService.language.code,C=this.settingsService.dateFormat,I={...r.data.value,dueDate:this.dateUtils.formatDate(r.data.value.dueDate,C),dateFormat:C,locale:p};this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"paycharge",I,e).subscribe(()=>{this.reload()})}})}waiveCharge(e){this.dialog.open(Yn,{data:{id:e}}).afterClosed().subscribe(o=>{o.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"waive",{},e).subscribe(()=>{this.reload()})})}inactivateCharge(e){this.dialog.open(Vn,{data:{id:e}}).afterClosed().subscribe(o=>{o.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"inactivate",{},e).subscribe(()=>{this.reload()})})}editCharge(e){const i=[new J.O({controlName:"amount",label:"Amount",value:e.amount||e.amountOrPercentage,type:"number",required:!0})];this.dialog.open(w.u,{data:{title:`Edit Charge ${e.id}`,layout:{addButtonText:"Confirm"},formfields:i}}).afterClosed().subscribe(r=>{if(r.data){const I={...r.data.value,dateFormat:this.settingsService.dateFormat,locale:this.settingsService.language.code};this.savingsService.editSavingsAccountCharge(this.fixedDepositsAccountData.id,I,e.id).subscribe(()=>{this.reload()})}})}deleteCharge(e){this.dialog.open(B.X,{data:{deleteContext:`charge id:${e}`}}).afterClosed().subscribe(o=>{o.delete&&this.savingsService.deleteSavingsAccountCharge(this.fixedDepositsAccountData.id,e).subscribe(()=>{this.reload()})})}isRecurringCharge(e){return"Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value}routeEdit(e){e.stopPropagation()}reload(){const i=this.router.url;this.router.navigateByUrl(`/clients/${this.fixedDepositsAccountData.clientId}/fixed-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([i]))}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(j.J),t.rXU(d.nX),t.rXU(M.A),t.rXU(d.Ix),t.rXU(f.bZ),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-charges-tab"]],viewQuery:function(i,o){if(1&i&&t.GBs(Un,7),2&i){let s;t.mGM(s=t.lsd())&&(o.chargesTableRef=s.first)}},decls:103,vars:7,consts:[["chargesTable",""],[1,"tab-container","mat-typography"],[1,"layout-row","align-start"],[1,"m-b-10"],["class","action-button m-b-20",4,"ngIf"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","feeOrPenalty"],["matColumnDef","paymentDueAt"],["matColumnDef","dueAsOf"],["matColumnDef","repeatsOn"],["matColumnDef","calculationType"],["matColumnDef","due"],["matColumnDef","paid"],["matColumnDef","waived"],["matColumnDef","outstanding"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip","click",4,"mifosxHasPermission"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-pencil"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-trash"],[1,"fa","fa-dollar"],[1,"fa","fa-flag"],[1,"fa","fa-ban"],["mat-header-row",""],["mat-row",""]],template:function(i,o){1&i&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"h3"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.DNE(11,qn,5,1,"div",4),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n\n "),t.j41(14,"div",5),t.EFF(15,"\n "),t.j41(16,"table",6,0),t.EFF(18,"\n "),t.qex(19,7),t.EFF(20,"\n "),t.DNE(21,Bn,3,3,"th",8),t.EFF(22,"\n "),t.DNE(23,zn,2,1,"td",9),t.EFF(24,"\n "),t.bVm(),t.EFF(25,"\n\n "),t.qex(26,10),t.EFF(27,"\n "),t.DNE(28,Ln,3,3,"th",8),t.EFF(29,"\n "),t.DNE(30,Hn,4,7,"td",9),t.EFF(31,"\n "),t.bVm(),t.EFF(32,"\n\n "),t.qex(33,11),t.EFF(34,"\n "),t.DNE(35,Wn,3,3,"th",8),t.EFF(36,"\n "),t.DNE(37,Kn,3,4,"td",9),t.EFF(38,"\n "),t.bVm(),t.EFF(39,"\n\n "),t.qex(40,12),t.EFF(41,"\n "),t.DNE(42,Zn,3,3,"th",8),t.EFF(43,"\n "),t.DNE(44,Qn,3,3,"td",9),t.EFF(45,"\n "),t.bVm(),t.EFF(46,"\n\n "),t.qex(47,13),t.EFF(48,"\n "),t.DNE(49,te,3,3,"th",8),t.EFF(50,"\n "),t.DNE(51,ne,4,8,"td",9),t.EFF(52,"\n "),t.bVm(),t.EFF(53,"\n\n "),t.qex(54,14),t.EFF(55,"\n "),t.DNE(56,ee,3,3,"th",8),t.EFF(57,"\n "),t.DNE(58,oe,3,4,"td",9),t.EFF(59,"\n "),t.bVm(),t.EFF(60,"\n\n "),t.qex(61,15),t.EFF(62,"\n "),t.DNE(63,ie,3,3,"th",8),t.EFF(64,"\n "),t.DNE(65,ae,3,4,"td",9),t.EFF(66,"\n "),t.bVm(),t.EFF(67,"\n\n "),t.qex(68,16),t.EFF(69,"\n "),t.DNE(70,se,3,3,"th",8),t.EFF(71,"\n "),t.DNE(72,ce,3,4,"td",9),t.EFF(73,"\n "),t.bVm(),t.EFF(74,"\n\n "),t.qex(75,17),t.EFF(76,"\n "),t.DNE(77,re,3,3,"th",8),t.EFF(78,"\n "),t.DNE(79,le,3,4,"td",9),t.EFF(80,"\n "),t.bVm(),t.EFF(81,"\n\n "),t.qex(82,18),t.EFF(83,"\n "),t.DNE(84,pe,3,3,"th",8),t.EFF(85,"\n "),t.DNE(86,me,3,4,"td",9),t.EFF(87,"\n "),t.bVm(),t.EFF(88,"\n\n "),t.qex(89,19),t.EFF(90,"\n "),t.DNE(91,de,3,3,"th",8),t.EFF(92,"\n "),t.DNE(93,Ee,6,2,"td",9),t.EFF(94,"\n "),t.bVm(),t.EFF(95,"\n\n "),t.DNE(96,xe,1,0,"tr",20),t.EFF(97,"\n "),t.DNE(98,De,1,0,"tr",21),t.EFF(99,"\n "),t.k0s(),t.EFF(100,"\n "),t.k0s(),t.EFF(101,"\n"),t.k0s(),t.EFF(102,"\n")),2&i&&(t.R7$(7),t.JRh(t.bMT(8,5,"labels.heading.All Charges")),t.R7$(4),t.Y8G("ngIf",o.chargesData),t.R7$(5),t.Y8G("dataSource",o.dataSource),t.R7$(80),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns))},dependencies:[F.bT,h.$z,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,N.oV,G.p,_.D9,A.a,Y.p,R.D],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return n})();var Me=m(93088);const Pe=["instructionsTable"];function Oe(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Client")))}function Ie(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.fromClient.displayName,"-",e.fromClient.id,"\n ")}}function ve(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.From Account")))}function Re(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.fromAccount.accountNo," (",e.fromAccountType.value,")\n ")}}function Ae(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Beneficiary")))}function ke(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.toClient.displayName)}}function ye(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.To Account")))}function je(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",e.toAccount.accountNo," (",e.toAccountType.value,")\n ")}}function Se(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount")))}function $e(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("",e.instructionType.value,"/",e.amount,"")}}function we(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Validity")))}function Ne(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.nI1(2,"dateFormat"),t.nI1(3,"dateFormat"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.validFrom)," to ",t.bMT(3,4,e.validTill),"\n ")}}function Ge(n,a){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Ye(n,a){1&n&&(t.j41(0,"button",20),t.nI1(1,"translate"),t.EFF(2,"\n "),t.nrm(3,"i",21),t.EFF(4,"\n "),t.k0s()),2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Edit Standing Instruction"))}function Je(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,Ye,5,3,"button",19),t.EFF(3,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION"))}function Ve(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",23),t.nI1(1,"translate"),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2).$implicit,s=t.XpG();return t.Njj(s.deleteStandingInstruction(o.id))}),t.EFF(2,"\n "),t.nrm(3,"i",24),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Delete Standing Instruction"))}function Ue(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,Ve,5,3,"button",22),t.EFF(3,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","DELETE_STANDINGINSTRUCTION"))}function Xe(n,a){1&n&&(t.j41(0,"button",20),t.nI1(1,"translate"),t.EFF(2,"\n "),t.nrm(3,"i",25),t.EFF(4,"\n "),t.k0s()),2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.View Standing Instruction"))}function qe(n,a){if(1&n&&(t.j41(0,"td",17),t.EFF(1,"\n "),t.DNE(2,Je,4,1,"span",18),t.EFF(3,"\n "),t.DNE(4,Ue,4,1,"span",18),t.EFF(5,"\n "),t.DNE(6,Xe,5,3,"button",19),t.EFF(7,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("ngIf","Deleted"!==e.status.value),t.R7$(2),t.Y8G("ngIf","Deleted"!==e.status.value),t.R7$(2),t.Y8G("mifosxHasPermission","READ_STANDINGINSTRUCTION")}}function Be(n,a){1&n&&t.nrm(0,"tr",26)}function ze(n,a){1&n&&t.nrm(0,"tr",27)}let Le=(()=>{class n{constructor(e,i,o,s,r){this.route=e,this.fixedDepositsService=i,this.dialog=o,this.accountTransfersService=s,this.settingsService=r,this.dataSource=new l.I6,this.displayedColumns=["client","fromAccount","beneficiary","toAccount","amount","validity","actions"],this.route.parent.data.subscribe(p=>{this.fixedDepositsData=p.fixedDepositsAccountData})}ngOnInit(){this.getStandingInstructions()}getStandingInstructions(){this.fixedDepositsService.getStandingInstructions(this.fixedDepositsData.clientId,this.fixedDepositsData.clientName,this.fixedDepositsData.id,this.settingsService.language.code,this.settingsService.dateFormat).subscribe(p=>{this.instructionsData=p.pageItems,this.dataSource.data=this.instructionsData,this.instructionTableRef.renderRows()})}deleteStandingInstruction(e){this.dialog.open(B.X,{data:{deleteContext:`standing instruction id: ${e}`}}).afterClosed().subscribe(o=>{o.delete&&this.accountTransfersService.deleteStandingInstrucions(e).subscribe(()=>{})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX),t.rXU(D),t.rXU(f.bZ),t.rXU(Me.z),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-standing-instructions-tab"]],viewQuery:function(i,o){if(1&i&&t.GBs(Pe,7),2&i){let s;t.mGM(s=t.lsd())&&(o.instructionTableRef=s.first)}},decls:70,vars:6,consts:[["instructionsTable",""],[1,"tab-container","mat-typography"],[1,"m-b-10"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","client"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fromAccount"],["matColumnDef","beneficiary"],["matColumnDef","toAccount"],["matColumnDef","amount"],["matColumnDef","validity"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"matTooltip"],[1,"fa","fa-edit"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-times"],[1,"fa","fa-eye"],["mat-header-row",""],["mat-row",""]],template:function(i,o){1&i&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"h3"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n\n "),t.j41(9,"div",3),t.EFF(10,"\n "),t.j41(11,"table",4,0),t.EFF(13,"\n "),t.qex(14,5),t.EFF(15,"\n "),t.DNE(16,Oe,3,3,"th",6),t.EFF(17,"\n "),t.DNE(18,Ie,2,2,"td",7),t.EFF(19,"\n "),t.bVm(),t.EFF(20,"\n\n "),t.qex(21,8),t.EFF(22,"\n "),t.DNE(23,ve,3,3,"th",6),t.EFF(24,"\n "),t.DNE(25,Re,2,2,"td",7),t.EFF(26,"\n "),t.bVm(),t.EFF(27,"\n\n "),t.qex(28,9),t.EFF(29,"\n "),t.DNE(30,Ae,3,3,"th",6),t.EFF(31,"\n "),t.DNE(32,ke,2,1,"td",7),t.EFF(33,"\n "),t.bVm(),t.EFF(34,"\n\n "),t.qex(35,10),t.EFF(36,"\n "),t.DNE(37,ye,3,3,"th",6),t.EFF(38,"\n "),t.DNE(39,je,2,2,"td",7),t.EFF(40,"\n "),t.bVm(),t.EFF(41,"\n\n "),t.qex(42,11),t.EFF(43,"\n "),t.DNE(44,Se,3,3,"th",6),t.EFF(45,"\n "),t.DNE(46,$e,2,2,"td",7),t.EFF(47,"\n "),t.bVm(),t.EFF(48,"\n\n "),t.qex(49,12),t.EFF(50,"\n "),t.DNE(51,we,3,3,"th",6),t.EFF(52,"\n "),t.DNE(53,Ne,4,6,"td",7),t.EFF(54,"\n "),t.bVm(),t.EFF(55,"\n\n "),t.qex(56,13),t.EFF(57,"\n "),t.DNE(58,Ge,3,3,"th",6),t.EFF(59,"\n "),t.DNE(60,qe,8,3,"td",7),t.EFF(61,"\n "),t.bVm(),t.EFF(62,"\n\n "),t.DNE(63,Be,1,0,"tr",14),t.EFF(64,"\n "),t.DNE(65,ze,1,0,"tr",15),t.EFF(66,"\n "),t.k0s(),t.EFF(67,"\n "),t.k0s(),t.EFF(68,"\n"),t.k0s(),t.EFF(69,"\n")),2&i&&(t.R7$(5),t.JRh(t.bMT(6,4,"labels.heading.All Standing Instructions")),t.R7$(6),t.Y8G("dataSource",o.dataSource),t.R7$(52),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns))},dependencies:[F.bT,h.$z,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,N.oV,G.p,_.D9,A.a],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return n})();var He=m(6471);let We=(()=>{class n{constructor(e){this.route=e,this.entityId=this.route.parent.parent.snapshot.paramMap.get("fixedDepositAccountId"),this.route.data.subscribe(i=>{this.entityDatatable=i.savingsDatatable,this.multiRowDatatableFlag="id"===this.entityDatatable.columnHeaders[0].columnName})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-datatable-tabs"]],decls:6,vars:3,consts:[[1,"tab-container","mat-typography"],["entityType","Fixed Deposit",3,"entityId","multiRowDatatableFlag","entityDatatable"]],template:function(i,o){1&i&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"mifosx-entity-datatable-tab",1),t.EFF(3,"\n "),t.k0s(),t.EFF(4,"\n"),t.k0s(),t.EFF(5,"\n")),2&i&&(t.R7$(2),t.Y8G("entityId",o.entityId)("multiRowDatatableFlag",o.multiRowDatatableFlag)("entityDatatable",o.entityDatatable))},dependencies:[He.S]})}}return n})();var b=m(25084),u=m(32102),O=m(59042),S=m(37403);const Ke=()=>["../../"];function Ze(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Approved On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let Qe=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.fixedDepositsService=i,this.dateUtils=o,this.route=s,this.router=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createApproveFixedDepositsAccountForm()}createApproveFixedDepositsAccountForm(){this.approveFixedDepositsAccountForm=this.formBuilder.group({approvedOnDate:["",c.k0.required],note:[""]})}submit(){const e=this.approveFixedDepositsAccountForm.value,i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.approvedOnDate instanceof Date&&(e.approvedOnDate=this.dateUtils.formatDate(this.approveFixedDepositsAccountForm.value.approvedOnDate,o));const r={...e,dateFormat:o,locale:i};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"approve",r).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(D),t.rXU(M.A),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-approve-fixed-deposits-account"]],decls:51,vars:21,consts:[["approvedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","approvedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(s);const p=t.sdS(21);return t.Njj(p.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,Ze,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"textarea",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"mat-card-actions",9),t.EFF(38,"\n "),t.j41(39,"button",10),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.EFF(42,"\n "),t.j41(43,"button",11),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n"),t.k0s(),t.EFF(50,"\n")}if(2&i){const s=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.approveFixedDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,12,"labels.inputs.Approved On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.approveFixedDepositsAccountForm.controls.approvedOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,14,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(20,Ke)),t.R7$(),t.SpI("\n ",t.bMT(41,16,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.approveFixedDepositsAccountForm),t.R7$(),t.SpI("\n ",t.bMT(45,18,"labels.buttons.Confirm"),"\n ")}},dependencies:[F.bT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,S.xb,c.qT,c.me,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const to=()=>["../../"];function no(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Rejected On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let eo=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.fixedDepositsService=i,this.dateUtils=o,this.route=s,this.router=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createRejectFixedDepositsAccountForm()}createRejectFixedDepositsAccountForm(){this.rejectFixedDepositsAccountForm=this.formBuilder.group({rejectedOnDate:["",c.k0.required],note:[""]})}submit(){const e=this.rejectFixedDepositsAccountForm.value,i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.rejectedOnDate instanceof Date&&(e.rejectedOnDate=this.dateUtils.formatDate(this.rejectFixedDepositsAccountForm.value.rejectedOnDate,o));const r={...e,dateFormat:o,locale:i};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"reject",r).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(D),t.rXU(M.A),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-reject-fixed-deposits-account"]],decls:51,vars:21,consts:[["rejectedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","rejectedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(s);const p=t.sdS(21);return t.Njj(p.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,no,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"textarea",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"mat-card-actions",9),t.EFF(38,"\n "),t.j41(39,"button",10),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.EFF(42,"\n "),t.j41(43,"button",11),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n"),t.k0s(),t.EFF(50,"\n")}if(2&i){const s=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.rejectFixedDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,12,"labels.inputs.Rejected On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.rejectFixedDepositsAccountForm.controls.rejectedOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,14,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(20,to)),t.R7$(),t.SpI("\n ",t.bMT(41,16,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.rejectFixedDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(45,18,"labels.buttons.Confirm"),"\n ")}},dependencies:[F.bT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,S.xb,c.qT,c.me,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const oo=()=>["../../"];function io(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Activated On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let ao=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.savingsService=i,this.dateUtils=o,this.route=s,this.router=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createActivateFixedDepositsAccountForm()}createActivateFixedDepositsAccountForm(){this.activateFixedDepositsAccountForm=this.formBuilder.group({activatedOnDate:["",c.k0.required]})}submit(){const e=this.activateFixedDepositsAccountForm.value,i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.activatedOnDate instanceof Date&&(e.activatedOnDate=this.dateUtils.formatDate(this.activateFixedDepositsAccountForm.value.activatedOnDate,o));const r={...e,dateFormat:o,locale:i};this.savingsService.executeSavingsAccountCommand(this.accountId,"activate",r).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(j.J),t.rXU(M.A),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-activate-fixed-deposits-account"]],decls:39,vars:18,consts:[["activatedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-100",3,"click"],["matInput","","required","","formControlName","activatedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"mat-form-field",3),t.bIt("click",function(){t.eBV(s);const p=t.sdS(19);return t.Njj(p.open())}),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"input",4),t.EFF(15,"\n "),t.nrm(16,"mat-datepicker-toggle",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker",null,0),t.EFF(20,"\n "),t.DNE(21,io,8,9,"mat-error",6),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.j41(25,"mat-card-actions",7),t.EFF(26,"\n "),t.j41(27,"button",8),t.EFF(28),t.nI1(29,"translate"),t.k0s(),t.EFF(30,"\n "),t.j41(31,"button",9),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n"),t.k0s(),t.EFF(38,"\n")}if(2&i){const s=t.sdS(19);t.R7$(4),t.Y8G("formGroup",o.activateFixedDepositsAccountForm),t.R7$(7),t.JRh(t.bMT(12,11,"labels.inputs.Activated On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.activateFixedDepositsAccountForm.controls.activatedOnDate.hasError("required")),t.R7$(6),t.Y8G("routerLink",t.lJ4(17,oo)),t.R7$(),t.SpI("\n ",t.bMT(29,13,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.activateFixedDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(33,15,"labels.buttons.Confirm"),"\n ")}},dependencies:[F.bT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,c.qT,c.me,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const so=()=>["../../"];let co=(()=>{class n{constructor(e,i,o,s,r){this.formBuilder=e,this.savingsService=i,this.fixedDepositsService=o,this.route=s,this.router=r,this.undoCommand="undoapproval",this.undoAction=this.route.snapshot.params.name,"Undo Activation"===this.undoAction&&(this.undoCommand="undoactivate"),this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.createUndoApprovalFixedDepositsAccountForm()}createUndoApprovalFixedDepositsAccountForm(){this.undoApprovalFixedDepositsAccountForm=this.formBuilder.group({note:[""]})}submit(){const e={...this.undoApprovalFixedDepositsAccountForm.value};"Undo Activation"===this.undoAction?this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,this.undoCommand,e).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})}):this.savingsService.executeSavingsAccountCommand(this.accountId,this.undoCommand,e).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(j.J),t.rXU(D),t.rXU(d.nX),t.rXU(d.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-undo-approval-fixed-deposits-account"]],decls:32,vars:13,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-100"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(i,o){1&i&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",1),t.bIt("ngSubmit",function(){return o.submit()}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"mat-form-field",2),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"textarea",3),t.EFF(15,"\n "),t.k0s(),t.EFF(16,"\n "),t.k0s(),t.EFF(17,"\n\n "),t.j41(18,"mat-card-actions",4),t.EFF(19,"\n "),t.j41(20,"button",5),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.EFF(23,"\n "),t.j41(24,"button",6),t.EFF(25),t.nI1(26,"translate"),t.k0s(),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n"),t.k0s(),t.EFF(31,"\n")),2&i&&(t.R7$(4),t.Y8G("formGroup",o.undoApprovalFixedDepositsAccountForm),t.R7$(7),t.JRh(t.bMT(12,6,"labels.inputs.Note")),t.R7$(9),t.Y8G("routerLink",t.lJ4(12,so)),t.R7$(),t.SpI("\n ",t.bMT(22,8,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.undoApprovalFixedDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(26,10,"labels.buttons.Confirm"),"\n "))},dependencies:[h.$z,g.RN,g.YY,g.m2,u.rl,u.nJ,O.fg,S.xb,c.qT,c.me,c.BC,c.cb,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const ro=()=>["../../"];function lo(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Withdrawn On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let po=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.fixedDepositsService=i,this.dateUtils=o,this.route=s,this.router=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createWithdrawFixedDepositsAccountForm()}createWithdrawFixedDepositsAccountForm(){this.withdrawFixedDepositsAccountForm=this.formBuilder.group({withdrawnOnDate:["",c.k0.required],note:[""]})}submit(){const e=this.withdrawFixedDepositsAccountForm.value,i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.withdrawnOnDate instanceof Date&&(e.withdrawnOnDate=this.dateUtils.formatDate(this.withdrawFixedDepositsAccountForm.value.withdrawnOnDate,o));const r={...e,dateFormat:o,locale:i};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"withdrawnByApplicant",r).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(D),t.rXU(M.A),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-withdraw-by-client-fixed-deposits-account"]],decls:51,vars:21,consts:[["withdrawnOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","withdrawnOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(s);const p=t.sdS(21);return t.Njj(p.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,lo,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"textarea",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"mat-card-actions",9),t.EFF(38,"\n "),t.j41(39,"button",10),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.EFF(42,"\n "),t.j41(43,"button",11),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n"),t.k0s(),t.EFF(50,"\n")}if(2&i){const s=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.withdrawFixedDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,12,"labels.inputs.Withdrawn On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.withdrawFixedDepositsAccountForm.controls.withdrawnOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,14,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(20,ro)),t.R7$(),t.SpI("\n ",t.bMT(41,16,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.withdrawFixedDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(45,18,"labels.buttons.Confirm"),"\n ")}},dependencies:[F.bT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,S.xb,c.qT,c.me,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();var k=m(86600),y=m(82798);const mo=()=>["../../"];function Fo(n,a){if(1&n&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name+" ("+e.currency.name+")","\n ")}}function uo(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Charge")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function go(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Amount")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function fo(n,a){if(1&n&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function _o(n,a){if(1&n&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function ho(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Due for collection on")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function bo(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field",17),t.bIt("click",function(){t.eBV(e);const o=t.sdS(11);return t.Njj(o.open())}),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",18),t.EFF(7,"\n "),t.nrm(8,"mat-datepicker-toggle",19),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker",null,0),t.EFF(12,"\n "),t.DNE(13,ho,8,9,"mat-error",7),t.EFF(14,"\n "),t.k0s()}if(2&n){const e=t.sdS(11),i=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,6,"labels.inputs.Due for collection on")),t.R7$(3),t.Y8G("min",i.minDate)("max",i.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(5),t.Y8G("ngIf",i.fixedDepositsChargeForm.controls.dueDate.hasError("required"))}}function Co(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Due Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Eo(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field",17),t.bIt("click",function(){t.eBV(e);const o=t.sdS(11);return t.Njj(o.open())}),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",20),t.EFF(7,"\n "),t.nrm(8,"mat-datepicker-toggle",19),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker",null,1),t.EFF(12,"\n "),t.DNE(13,Co,8,9,"mat-error",7),t.EFF(14,"\n "),t.k0s()}if(2&n){const e=t.sdS(11),i=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,6,"labels.inputs.Due On")),t.R7$(3),t.Y8G("min",i.minDate)("max",i.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(5),t.Y8G("ngIf",i.fixedDepositsChargeForm.controls.feeOnMonthDay.hasError("required"))}}function xo(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",21),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Repeats Every")))}function Do(n,a){if(1&n&&(t.j41(0,"div",4),t.EFF(1,"\n "),t.j41(2,"mat-form-field"),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.nrm(8,"input",13),t.EFF(9,"\n "),t.DNE(10,go,8,9,"mat-error",7),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n\n "),t.j41(13,"mat-form-field"),t.EFF(14,"\n "),t.j41(15,"mat-label"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n "),t.j41(19,"mat-select",14),t.EFF(20,"\n "),t.DNE(21,fo,2,2,"mat-option",6),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.j41(25,"mat-form-field"),t.EFF(26,"\n "),t.j41(27,"mat-label"),t.EFF(28),t.nI1(29,"translate"),t.k0s(),t.EFF(30,"\n "),t.j41(31,"mat-select",15),t.EFF(32,"\n "),t.DNE(33,_o,2,2,"mat-option",6),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.DNE(37,bo,15,8,"mat-form-field",16),t.EFF(38,"\n\n "),t.DNE(39,Eo,15,8,"mat-form-field",16),t.EFF(40,"\n\n "),t.DNE(41,xo,8,3,"mat-form-field",7),t.EFF(42,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(5),t.JRh(t.bMT(6,9,"labels.inputs.Amount")),t.R7$(5),t.Y8G("ngIf",e.fixedDepositsChargeForm.controls.amount.hasError("required")),t.R7$(6),t.JRh(t.bMT(17,11,"labels.inputs.Charge Calculation")),t.R7$(5),t.Y8G("ngForOf",e.chargeDetails.chargeCalculationTypeOptions),t.R7$(7),t.JRh(t.bMT(29,13,"labels.inputs.Charge time type")),t.R7$(5),t.Y8G("ngForOf",e.chargeDetails.chargeTimeTypeOptions),t.R7$(4),t.Y8G("ngIf",e.fixedDepositsChargeForm.contains("dueDate")),t.R7$(2),t.Y8G("ngIf",e.fixedDepositsChargeForm.contains("feeOnMonthDay")),t.R7$(2),t.Y8G("ngIf",e.fixedDepositsChargeForm.contains("feeInterval"))}}let To=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.route=i,this.router=o,this.dateUtils=s,this.savingsService=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(C=>{this.savingsChargeOptions=C.fixedDepositsAccountActionData.chargeOptions}),this.fixedDepositAccountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createFixedDepositsChargeForm(),this.buildDependencies()}buildDependencies(){this.fixedDepositsChargeForm.controls.chargeId.valueChanges.subscribe(e=>{this.savingsService.getChargeTemplate(e).subscribe(i=>{this.chargeDetails=i;const o=i.chargeTimeType.id;("Withdrawal Fee"===i.chargeTimeType.value||"Saving No Activity Fee"===i.chargeTimeType.value)&&(this.chargeDetails.dueDateNotRequired=!0),("Annual Fee"===i.chargeTimeType.value||"Monthly Fee"===i.chargeTimeType.value)&&(this.chargeDetails.chargeTimeTypeAnnualOrMonth=!0),this.chargeDetails.dueDateNotRequired||this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.fixedDepositsChargeForm.removeControl("dueDate"):this.fixedDepositsChargeForm.addControl("dueDate",new c.hs("",c.k0.required)),!this.chargeDetails.dueDateNotRequired&&this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.fixedDepositsChargeForm.addControl("feeOnMonthDay",new c.hs("",c.k0.required)):this.fixedDepositsChargeForm.removeControl("feeOnMonthDay"),"Monthly Fee"===o.value?this.fixedDepositsChargeForm.addControl("feeInterval",new c.hs(i.feeInterval,c.k0.required)):this.fixedDepositsChargeForm.removeControl("feeInterval"),this.fixedDepositsChargeForm.patchValue({amount:i.amount,chargeCalculationType:i.chargeCalculationType.id,chargeTimeType:i.chargeTimeType.id})})})}createFixedDepositsChargeForm(){this.fixedDepositsChargeForm=this.formBuilder.group({chargeId:["",c.k0.required],amount:["",c.k0.required],chargeCalculationType:[{value:"",disabled:!0}],chargeTimeType:[{value:"",disabled:!0}]})}submit(){const e=this.fixedDepositsChargeForm.value;if(e.locale=this.settingsService.language.code,e.feeInterval||(e.feeInterval=this.chargeDetails.feeInterval),!0!==this.chargeDetails.dueDateNotRequired)if(!0===this.chargeDetails.chargeTimeTypeAnnualOrMonth){const i="MMMM-dd";e.monthDayFormat=i,e.feeOnMonthDay&&(e.feeOnMonthDay=this.dateUtils.formatDate(this.fixedDepositsChargeForm.value.feeOnMonthDay,i))}else{const i=this.settingsService.dateFormat;e.dateFormat=i,e.dueDate&&(e.dueDate=this.dateUtils.formatDate(this.fixedDepositsChargeForm.value.dueDate,i))}this.savingsService.createSavingsCharge(this.fixedDepositAccountId,"charges",e).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(M.A),t.rXU(j.J),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-add-charge-fixed-deposits-account"]],decls:42,vars:16,consts:[["dueDatePicker",""],["feeOnMonthDayPicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["required","","formControlName","chargeId"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["class","layout-column",4,"ngIf"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],[3,"value"],["type","number","required","","matInput","","formControlName","amount"],["formControlName","chargeCalculationType"],["formControlName","chargeTimeType"],[3,"click",4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","dueDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","feeOnMonthDay",3,"min","max","matDatepicker"],["matInput","","formControlName","feeInterval"]],template:function(i,o){1&i&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",3),t.bIt("ngSubmit",function(){return o.submit()}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",4),t.EFF(9,"\n "),t.j41(10,"mat-form-field"),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"mat-select",5),t.EFF(17,"\n "),t.DNE(18,Fo,2,2,"mat-option",6),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.DNE(21,uo,8,9,"mat-error",7),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n\n "),t.DNE(24,Do,43,15,"div",8),t.EFF(25,"\n "),t.k0s(),t.EFF(26,"\n\n "),t.j41(27,"mat-card-actions",9),t.EFF(28,"\n "),t.j41(29,"button",10),t.EFF(30),t.nI1(31,"translate"),t.k0s(),t.EFF(32,"\n "),t.j41(33,"button",11),t.EFF(34),t.nI1(35,"translate"),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n"),t.k0s(),t.EFF(41,"\n")),2&i&&(t.R7$(4),t.Y8G("formGroup",o.fixedDepositsChargeForm),t.R7$(9),t.JRh(t.bMT(14,9,"labels.inputs.Charge")),t.R7$(5),t.Y8G("ngForOf",o.savingsChargeOptions),t.R7$(3),t.Y8G("ngIf",o.fixedDepositsChargeForm.controls.chargeId.hasError("required")),t.R7$(3),t.Y8G("ngIf",o.chargeDetails),t.R7$(5),t.Y8G("routerLink",t.lJ4(15,mo)),t.R7$(),t.SpI("\n ",t.bMT(31,11,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.fixedDepositsChargeForm.valid),t.R7$(),t.SpI("\n ",t.bMT(35,13,"labels.buttons.Submit"),"\n "))},dependencies:[F.Sq,F.bT,k.wT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,y.VO,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return n})();const Mo=()=>["../../"];function Po(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Premature Close Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Oo(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",11),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Maturity Amount")))}function Io(n,a){if(1&n&&(t.j41(0,"mat-option",14),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function vo(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Account action")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Ro(n,a){if(1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",12),t.EFF(7,"\n "),t.DNE(8,Io,2,2,"mat-option",13),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.DNE(11,vo,8,9,"mat-error",7),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Action")),t.R7$(5),t.Y8G("ngForOf",e.onAccountClosureOptions),t.R7$(3),t.Y8G("ngIf",e.prematureCloseAccountForm.controls.onAccountClosureId.hasError("required"))}}function Ao(n,a){if(1&n&&(t.j41(0,"mat-option",14),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.accountNo,"\n ")}}function ko(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Transfer to savings account")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function yo(n,a){if(1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",15),t.EFF(7,"\n "),t.DNE(8,Ao,2,2,"mat-option",13),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.DNE(11,ko,8,9,"mat-error",7),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Transfer to Savings")),t.R7$(5),t.Y8G("ngForOf",e.savingsAccountsData),t.R7$(3),t.Y8G("ngIf",e.prematureCloseAccountForm.controls.toSavingsAccountId.hasError("required"))}}function jo(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",16),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Transfer Description")))}function So(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"textarea",17),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Note")))}let $o=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.fixedDepositsService=i,this.dateUtils=o,this.route=s,this.router=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isSubmitted=!1,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createPrematureCloseAccountForm(),this.buildDependencies()}createPrematureCloseAccountForm(){this.prematureCloseAccountForm=this.formBuilder.group({closedOnDate:["",c.k0.required]})}buildDependencies(){this.prematureCloseAccountForm.get("closedOnDate").valueChanges.subscribe(e=>{this.isSubmitted||this.calculatePrematureAmount(e)})}calculatePrematureAmount(e){const i=this.settingsService.language.code,o=this.settingsService.dateFormat,s={closedOnDate:this.dateUtils.formatDate(e,o),dateFormat:o,locale:i};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"calculatePrematureAmount",s).subscribe(r=>{this.savingsAccountsData=r.savingsAccounts,this.onAccountClosureOptions=r.onAccountClosureOptions,this.prematureCloseAccountForm.addControl("maturityAmount",new c.hs({value:"",disabled:!0})),this.prematureCloseAccountForm.addControl("onAccountClosureId",new c.hs("",c.k0.required)),this.prematureCloseAccountForm.addControl("note",new c.hs("")),this.prematureCloseAccountForm.get("maturityAmount").patchValue(r.maturityAmount),this.addTransferDetails()})}addTransferDetails(){this.prematureCloseAccountForm.get("onAccountClosureId").valueChanges.subscribe(e=>{200===e?(this.prematureCloseAccountForm.addControl("toSavingsAccountId",new c.hs("",c.k0.required)),this.prematureCloseAccountForm.addControl("transferDescription",new c.hs(""))):(this.prematureCloseAccountForm.removeControl("toSavingsAccountId"),this.prematureCloseAccountForm.removeControl("transferDescription"))})}submit(){const e=this.prematureCloseAccountForm.value;this.isSubmitted=!0;const i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.closedOnDate instanceof Date&&(e.closedOnDate=this.dateUtils.formatDate(this.prematureCloseAccountForm.value.closedOnDate,o));const r={...e,dateFormat:o,locale:i};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"prematureClose",r).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(D),t.rXU(M.A),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-premature-close-fixed-deposits-account"]],decls:52,vars:23,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"],["type","number","matInput","","formControlName","maturityAmount"],["required","","formControlName","onAccountClosureId"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["required","","formControlName","toSavingsAccountId"],["matInput","","formControlName","transferDescription"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(s);const p=t.sdS(21);return t.Njj(p.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,Po,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.DNE(26,Oo,8,3,"mat-form-field",7),t.EFF(27,"\n\n "),t.DNE(28,Ro,13,5,"mat-form-field",7),t.EFF(29,"\n\n "),t.DNE(30,yo,13,5,"mat-form-field",7),t.EFF(31,"\n\n "),t.DNE(32,jo,8,3,"mat-form-field",7),t.EFF(33,"\n\n "),t.DNE(34,So,8,3,"mat-form-field",7),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n\n "),t.j41(38,"mat-card-actions",8),t.EFF(39,"\n "),t.j41(40,"button",9),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.j41(44,"button",10),t.EFF(45),t.nI1(46,"translate"),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n"),t.k0s(),t.EFF(51,"\n")}if(2&i){const s=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.prematureCloseAccountForm),t.R7$(9),t.JRh(t.bMT(14,16,"labels.inputs.Premature Close Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.prematureCloseAccountForm.controls.closedOnDate.hasError("required")),t.R7$(3),t.Y8G("ngIf",o.prematureCloseAccountForm.controls.maturityAmount),t.R7$(2),t.Y8G("ngIf",o.prematureCloseAccountForm.contains("onAccountClosureId")),t.R7$(2),t.Y8G("ngIf",o.prematureCloseAccountForm.contains("toSavingsAccountId")),t.R7$(2),t.Y8G("ngIf",o.prematureCloseAccountForm.contains("transferDescription")),t.R7$(2),t.Y8G("ngIf",o.prematureCloseAccountForm.contains("note")),t.R7$(6),t.Y8G("routerLink",t.lJ4(22,Mo)),t.R7$(),t.SpI("\n ",t.bMT(42,18,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.prematureCloseAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(46,20,"labels.buttons.Confirm"),"\n ")}},dependencies:[F.Sq,F.bT,k.wT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,S.xb,y.VO,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const wo=()=>["../../"];function No(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Closed On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Go(n,a){if(1&n&&(t.j41(0,"mat-option",15),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function Yo(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Account action")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Jo(n,a){if(1&n&&(t.j41(0,"mat-option",15),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.accountNo,"\n ")}}function Vo(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Transfer to savings account")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Uo(n,a){if(1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",16),t.EFF(7,"\n "),t.DNE(8,Jo,2,2,"mat-option",10),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.DNE(11,Vo,8,9,"mat-error",7),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Transfer to Savings")),t.R7$(5),t.Y8G("ngForOf",e.savingsAccountsData),t.R7$(3),t.Y8G("ngIf",e.closeOnMaturityAccountForm.controls.toSavingsAccountId.hasError("required"))}}function Xo(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",17),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Transfer Description")))}let qo=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.fixedDepositsService=i,this.dateUtils=o,this.route=s,this.router=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(C=>{this.savingsAccountsData=C.fixedDepositsAccountActionData.savingsAccounts,this.onAccountClosureOptions=C.fixedDepositsAccountActionData.onAccountClosureOptions,this.maturityAmount=C.fixedDepositsAccountActionData.maturityAmount}),this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createCloseOnMaturityAccountForm(),this.addTransferDetails()}createCloseOnMaturityAccountForm(){this.closeOnMaturityAccountForm=this.formBuilder.group({closedOnDate:["",c.k0.required],maturityAmount:[{value:this.maturityAmount,disabled:!0}],onAccountClosureId:["",c.k0.required],note:[""]})}addTransferDetails(){this.closeOnMaturityAccountForm.get("onAccountClosureId").valueChanges.subscribe(e=>{200===e?(this.closeOnMaturityAccountForm.addControl("toSavingsAccountId",new c.hs("",c.k0.required)),this.closeOnMaturityAccountForm.addControl("transferDescription",new c.hs(""))):(this.closeOnMaturityAccountForm.removeControl("toSavingsAccountId"),this.closeOnMaturityAccountForm.removeControl("transferDescription"))})}submit(){const e=this.closeOnMaturityAccountForm.value,i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.closedOnDate instanceof Date&&(e.closedOnDate=this.dateUtils.formatDate(this.closeOnMaturityAccountForm.value.closedOnDate,o));const r={...e,dateFormat:o,locale:i};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"close",r).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(D),t.rXU(M.A),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-close-fixed-deposits-account"]],decls:78,vars:31,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["type","number","matInput","","formControlName","maturityAmount"],["required","","formControlName","onAccountClosureId"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"],[3,"value"],["required","","formControlName","toSavingsAccountId"],["matInput","","formControlName","transferDescription"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(s);const p=t.sdS(21);return t.Njj(p.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,No,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"input",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n\n "),t.j41(35,"mat-form-field"),t.EFF(36,"\n "),t.j41(37,"mat-label"),t.EFF(38),t.nI1(39,"translate"),t.k0s(),t.EFF(40,"\n "),t.j41(41,"mat-select",9),t.EFF(42,"\n "),t.DNE(43,Go,2,2,"mat-option",10),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.DNE(46,Yo,8,9,"mat-error",7),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n\n "),t.DNE(49,Uo,13,5,"mat-form-field",7),t.EFF(50,"\n\n "),t.DNE(51,Xo,8,3,"mat-form-field",7),t.EFF(52,"\n\n "),t.j41(53,"mat-form-field"),t.EFF(54,"\n "),t.j41(55,"mat-label"),t.EFF(56),t.nI1(57,"translate"),t.k0s(),t.EFF(58,"\n "),t.nrm(59,"textarea",11),t.EFF(60,"\n "),t.k0s(),t.EFF(61,"\n "),t.k0s(),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n\n "),t.j41(64,"mat-card-actions",12),t.EFF(65,"\n "),t.j41(66,"button",13),t.EFF(67),t.nI1(68,"translate"),t.k0s(),t.EFF(69,"\n "),t.j41(70,"button",14),t.EFF(71),t.nI1(72,"translate"),t.k0s(),t.EFF(73,"\n "),t.k0s(),t.EFF(74,"\n "),t.k0s(),t.EFF(75,"\n "),t.k0s(),t.EFF(76,"\n"),t.k0s(),t.EFF(77,"\n")}if(2&i){const s=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.closeOnMaturityAccountForm),t.R7$(9),t.JRh(t.bMT(14,18,"labels.inputs.Closed On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.closeOnMaturityAccountForm.controls.closedOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,20,"labels.inputs.Maturity Amount")),t.R7$(9),t.JRh(t.bMT(39,22,"labels.inputs.Action")),t.R7$(5),t.Y8G("ngForOf",o.onAccountClosureOptions),t.R7$(3),t.Y8G("ngIf",o.closeOnMaturityAccountForm.controls.onAccountClosureId.hasError("required")),t.R7$(3),t.Y8G("ngIf",o.closeOnMaturityAccountForm.contains("toSavingsAccountId")),t.R7$(2),t.Y8G("ngIf",o.closeOnMaturityAccountForm.contains("transferDescription")),t.R7$(5),t.JRh(t.bMT(57,24,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(30,wo)),t.R7$(),t.SpI("\n ",t.bMT(68,26,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.closeOnMaturityAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(72,28,"labels.buttons.Confirm"),"\n ")}},dependencies:[F.Sq,F.bT,k.wT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,S.xb,y.VO,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,d.Wk,_.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();var Bo=m(30450),nt=m(67398);const zo=()=>["../../transactions"];function Lo(n,a){if(1&n&&(t.j41(0,"h2",20),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Lme("\n ",t.bMT(2,2,"labels.menus."+e.actionName)," ",t.bMT(3,4,"labels.heading.Fixed Deposit Transactions"),"\n ")}}function Ho(n,a){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Transaction Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Wo(n,a){if(1&n&&(t.j41(0,"mat-option",21),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function Ko(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",22),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Account Number")))}function Zo(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",23),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Cheque")))}function Qo(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",24),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Routing Code")))}function ti(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",25),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Receipt Number")))}function ni(n,a){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",26),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Bank")))}let ei=(()=>{class n{constructor(e,i,o,s,r,p){this.formBuilder=e,this.route=i,this.router=o,this.dateUtils=s,this.fixedDepositsService=r,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.paymentTypeOptions=[],this.addPaymentDetailsFlag=!1,this.transactionType={deposit:!1,withdrawal:!1},this.route.data.subscribe(I=>{this.currency=I.fixedDepositsAccountActionData.currency,this.paymentTypeOptions=I.fixedDepositsAccountActionData.paymentTypeOptions}),this.actionName=this.route.snapshot.params.name;const C=this.actionName.toLowerCase();if("deposit"!==C&&"withdrawal"!==C)throw new Error(`Invalid transaction action: ${this.actionName}`);this.transactionCommand=C,this.transactionType[this.transactionCommand]=!0,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createSavingAccountTransactionForm()}createSavingAccountTransactionForm(){this.accountTransactionForm=this.formBuilder.group({transactionDate:[this.settingsService.businessDate,c.k0.required],transactionAmount:[0,c.k0.required],paymentTypeId:[""],note:[""]})}addPaymentDetails(){this.addPaymentDetailsFlag=!this.addPaymentDetailsFlag,this.addPaymentDetailsFlag?(this.accountTransactionForm.addControl("accountNumber",new c.hs("")),this.accountTransactionForm.addControl("checkNumber",new c.hs("")),this.accountTransactionForm.addControl("routingCode",new c.hs("")),this.accountTransactionForm.addControl("receiptNumber",new c.hs("")),this.accountTransactionForm.addControl("bankNumber",new c.hs(""))):(this.accountTransactionForm.removeControl("accountNumber"),this.accountTransactionForm.removeControl("checkNumber"),this.accountTransactionForm.removeControl("routingCode"),this.accountTransactionForm.removeControl("receiptNumber"),this.accountTransactionForm.removeControl("bankNumber"))}submit(){const e=this.accountTransactionForm.value,i=this.settingsService.language.code,o=this.settingsService.dateFormat;e.transactionDate instanceof Date&&(e.transactionDate=this.dateUtils.formatDate(this.accountTransactionForm.value.transactionDate,o));const r={...e,dateFormat:o,locale:i};delete r.note,r.transactionAmount=1*r.transactionAmount,this.fixedDepositsService.executeFixedDepositsAccountTransactionsCommand(this.accountId,this.transactionCommand,r).subscribe(p=>{this.router.navigate(["../../transactions"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(M.A),t.rXU(D),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposits-cash-transaction"]],decls:91,vars:39,consts:[["dueDatePicker",""],[1,"container","mat-elevation-z8"],["mat-title","",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","formControlName","transactionDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[3,"currency","isRequired","inputFormControl","inputLabel"],["required","","formControlName","paymentTypeId"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-fill"],[1,"expandcollapsebutton","m-l-10","m-t-40","flex-75",3,"click"],[3,"className"],[1,"m-l-10"],["formControlName","note","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],["mat-title",""],[3,"value"],["type","number","formControlName","accountNumber","matInput",""],["type","number","formControlName","checkNumber","matInput",""],["formControlName","routingCode","matInput",""],["formControlName","receiptNumber","matInput",""],["formControlName","bankNumber","matInput",""]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.DNE(4,Lo,4,6,"h2",2),t.EFF(5,"\n\n "),t.j41(6,"form",3),t.bIt("ngSubmit",function(){return t.eBV(s),t.Njj(o.submit())}),t.EFF(7,"\n "),t.j41(8,"mat-card-content",4),t.EFF(9,"\n "),t.j41(10,"mat-form-field",5),t.bIt("click",function(){t.eBV(s);const p=t.sdS(21);return t.Njj(p.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",6),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",7),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,Ho,8,9,"mat-error",8),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mifosx-input-amount",9),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"mat-form-field"),t.EFF(30,"\n "),t.j41(31,"mat-label"),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.j41(35,"mat-select",10),t.EFF(36,"\n "),t.DNE(37,Wo,2,2,"mat-option",11),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n\n "),t.j41(41,"div",12),t.EFF(42,"\n "),t.j41(43,"span",13),t.bIt("click",function(){return t.eBV(s),t.Njj(o.addPaymentDetails())}),t.EFF(44,"\n "),t.j41(45,"mat-slide-toggle"),t.EFF(46,"\n "),t.j41(47,"div",14),t.EFF(48,"\n "),t.j41(49,"span",15),t.EFF(50),t.nI1(51,"translate"),t.k0s(),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n "),t.k0s(),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n\n "),t.DNE(57,Ko,8,3,"mat-form-field",8),t.EFF(58,"\n\n "),t.DNE(59,Zo,8,3,"mat-form-field",8),t.EFF(60,"\n\n "),t.DNE(61,Qo,8,3,"mat-form-field",8),t.EFF(62,"\n\n "),t.DNE(63,ti,8,3,"mat-form-field",8),t.EFF(64,"\n\n "),t.DNE(65,ni,8,3,"mat-form-field",8),t.EFF(66,"\n\n "),t.j41(67,"mat-form-field"),t.EFF(68,"\n "),t.j41(69,"mat-label"),t.EFF(70),t.nI1(71,"translate"),t.k0s(),t.EFF(72,"\n "),t.nrm(73,"textarea",16),t.EFF(74,"\n "),t.k0s(),t.EFF(75,"\n\n "),t.j41(76,"mat-card-actions",17),t.EFF(77,"\n "),t.j41(78,"button",18),t.EFF(79),t.nI1(80,"translate"),t.k0s(),t.EFF(81,"\n "),t.j41(82,"button",19),t.EFF(83),t.nI1(84,"translate"),t.k0s(),t.EFF(85,"\n "),t.k0s(),t.EFF(86,"\n "),t.k0s(),t.EFF(87,"\n "),t.k0s(),t.EFF(88,"\n "),t.k0s(),t.EFF(89,"\n"),t.k0s(),t.EFF(90,"\n")}if(2&i){const s=t.sdS(21);t.R7$(4),t.Y8G("ngIf",o.transactionType.withdrawal),t.R7$(2),t.Y8G("formGroup",o.accountTransactionForm),t.R7$(7),t.JRh(t.bMT(14,26,"labels.inputs.Transaction Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",s),t.R7$(2),t.Y8G("for",s),t.R7$(5),t.Y8G("ngIf",o.accountTransactionForm.controls.transactionDate.hasError("required")),t.R7$(3),t.Y8G("currency",o.currency)("isRequired",!0)("inputFormControl",o.accountTransactionForm.controls.transactionAmount)("inputLabel","Transaction Amount"),t.R7$(6),t.JRh(t.bMT(33,28,"labels.inputs.Payment Type")),t.R7$(5),t.Y8G("ngForOf",o.paymentTypeOptions),t.R7$(10),t.Y8G("className",o.addPaymentDetailsFlag?"enabled":"disabled"),t.R7$(3),t.JRh(t.bMT(51,30,"labels.inputs.Show Payment Details")),t.R7$(7),t.Y8G("ngIf",o.addPaymentDetailsFlag),t.R7$(2),t.Y8G("ngIf",o.addPaymentDetailsFlag),t.R7$(2),t.Y8G("ngIf",o.addPaymentDetailsFlag),t.R7$(2),t.Y8G("ngIf",o.addPaymentDetailsFlag),t.R7$(2),t.Y8G("ngIf",o.addPaymentDetailsFlag),t.R7$(5),t.JRh(t.bMT(71,32,"labels.inputs.Notes")),t.R7$(8),t.Y8G("routerLink",t.lJ4(38,zo)),t.R7$(),t.SpI("\n ",t.bMT(80,34,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.accountTransactionForm.valid),t.R7$(),t.SpI("\n ",t.bMT(84,36,"labels.buttons.Submit"),"\n ")}},dependencies:[F.Sq,F.bT,k.wT,h.$z,g.RN,g.YY,g.m2,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,S.xb,y.VO,Bo.sG,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,nt.e,d.Wk,_.D9],styles:[".expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px}.container[_ngcontent-%COMP%]{max-width:37rem}.right-input[_ngcontent-%COMP%]{text-align:right}.right-label[_ngcontent-%COMP%]{padding-right:25px!important}"]})}}return n})();function oi(n,a){1&n&&t.nrm(0,"mifosx-approve-fixed-deposits-account")}function ii(n,a){1&n&&t.nrm(0,"mifosx-reject-fixed-deposits-account")}function ai(n,a){1&n&&t.nrm(0,"mifosx-activate-fixed-deposits-account")}function si(n,a){1&n&&t.nrm(0,"mifosx-undo-approval-fixed-deposits-account")}function ci(n,a){1&n&&t.nrm(0,"mifosx-withdraw-by-client-fixed-deposits-account")}function ri(n,a){1&n&&t.nrm(0,"mifosx-add-charge-fixed-deposits-account")}function li(n,a){1&n&&t.nrm(0,"mifosx-premature-close-fixed-deposits-account")}function pi(n,a){1&n&&t.nrm(0,"mifosx-close-fixed-deposits-account")}function mi(n,a){1&n&&t.nrm(0,"mifosx-fixed-deposits-cash-transaction")}let di=(()=>{class n{constructor(e){this.route=e,this.actions={Approve:!1,Reject:!1,Activate:!1,Close:!1,"Undo Approval":!1,"Undo Activation":!1,"Add Charge":!1,"Premature Close":!1,"Withdrawn by Client":!1,Withdrawal:!1};const i=this.route.snapshot.params.name;i&&i in this.actions&&(this.actions[i]=!0)}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposits-account-actions"]],decls:18,vars:9,consts:[[4,"ngIf"]],template:function(i,o){1&i&&(t.DNE(0,oi,1,0,"mifosx-approve-fixed-deposits-account",0),t.EFF(1,"\n"),t.DNE(2,ii,1,0,"mifosx-reject-fixed-deposits-account",0),t.EFF(3,"\n"),t.DNE(4,ai,1,0,"mifosx-activate-fixed-deposits-account",0),t.EFF(5,"\n"),t.DNE(6,si,1,0,"mifosx-undo-approval-fixed-deposits-account",0),t.EFF(7,"\n"),t.DNE(8,ci,1,0,"mifosx-withdraw-by-client-fixed-deposits-account",0),t.EFF(9,"\n"),t.DNE(10,ri,1,0,"mifosx-add-charge-fixed-deposits-account",0),t.EFF(11,"\n"),t.DNE(12,li,1,0,"mifosx-premature-close-fixed-deposits-account",0),t.EFF(13,"\n"),t.DNE(14,pi,1,0,"mifosx-close-fixed-deposits-account",0),t.EFF(15,"\n"),t.DNE(16,mi,1,0,"mifosx-fixed-deposits-cash-transaction",0),t.EFF(17,"\n")),2&i&&(t.Y8G("ngIf",o.actions.Approve),t.R7$(2),t.Y8G("ngIf",o.actions.Reject),t.R7$(2),t.Y8G("ngIf",o.actions.Activate),t.R7$(2),t.Y8G("ngIf",o.actions["Undo Approval"]||o.actions["Undo Activation"]),t.R7$(2),t.Y8G("ngIf",o.actions["Withdrawn by Client"]),t.R7$(2),t.Y8G("ngIf",o.actions["Add Charge"]),t.R7$(2),t.Y8G("ngIf",o.actions["Premature Close"]),t.R7$(2),t.Y8G("ngIf",o.actions.Close),t.R7$(2),t.Y8G("ngIf",o.actions.Withdrawal))},dependencies:[F.bT,Qe,eo,ao,co,po,To,$o,qo,ei]})}}return n})();var Fi=m(76942),ui=m(8951);const gi=()=>["../"];function fi(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",13),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.undoTransaction())}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",14),t.EFF(3,"Undo\n "),t.k0s()}}function _i(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,fi,4,0,"button",12),t.EFF(3,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","UNDOTRANSACTION_SAVINGSACCOUNT"))}function hi(n,a){1&n&&(t.j41(0,"div",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Note"),"\n "))}function bi(n,a){if(1&n&&(t.j41(0,"div",6),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI("\n ",e.transactionData.note,"\n ")}}function Ci(n,a){if(1&n&&(t.j41(0,"mifosx-transaction-payment-detail",15),t.EFF(1,"\n "),t.k0s()),2&n){const e=t.XpG();t.Y8G("paymentDetailData",e.transactionData.paymentDetailData)}}let Ei=(()=>{class n{constructor(e,i,o,s,r,p){this.savingsService=e,this.route=i,this.dateUtils=o,this.router=s,this.dialog=r,this.settingsService=p,this.route.data.subscribe(C=>{this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId,this.transactionData=C.fixedDepositsAccountTransaction})}transactionColor(){return this.transactionData.manuallyReversed?"undo":"active"}allowUndo(){return!1}undoTransaction(){this.dialog.open(Fi.w).afterClosed().subscribe(i=>{if(i.confirm){const o=this.settingsService.language.code,s=this.settingsService.dateFormat,r={transactionDate:this.dateUtils.formatDate(this.transactionData.date&&new Date(this.transactionData.date),s),transactionAmount:0,dateFormat:s,locale:o};this.savingsService.executeSavingsAccountTransactionsCommand(this.accountId,"undo",r,this.transactionData.id).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(j.J),t.rXU(d.nX),t.rXU(M.A),t.rXU(d.Ix),t.rXU(f.bZ),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-view-transaction"]],decls:69,vars:37,consts:[[1,"container","m-b-20","align-end-center","gap-2percent"],[4,"ngIf"],[1,"container"],[1,"layout-row-wrap"],[1,"flex-100",3,"ngClass"],[1,"flex-50","mat-body-strong"],[1,"flex-50"],["class","flex-50 mat-body-strong",4,"ngIf"],["class","flex-50",4,"ngIf"],[3,"paymentDetailData",4,"ngIf"],[1,"layout-row","layout-align-center","gap-2percent","column-on-mobile"],["type","button","mat-raised-button","","color","primary",3,"routerLink"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click"],["icon","undo",1,"m-r-10"],[3,"paymentDetailData"]],template:function(i,o){1&i&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.DNE(2,_i,4,1,"span",1),t.EFF(3,"\n"),t.k0s(),t.EFF(4,"\n"),t.j41(5,"div",2),t.EFF(6,"\n "),t.j41(7,"mat-card"),t.EFF(8,"\n "),t.j41(9,"mat-card-content"),t.EFF(10,"\n "),t.j41(11,"div",3),t.EFF(12,"\n "),t.nrm(13,"div",4),t.EFF(14,"\n\n "),t.j41(15,"div",5),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n\n "),t.j41(19,"div",6),t.EFF(20),t.k0s(),t.EFF(21,"\n\n "),t.j41(22,"div",5),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"div",6),t.EFF(27),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"div",5),t.EFF(30),t.nI1(31,"translate"),t.k0s(),t.EFF(32,"\n\n "),t.j41(33,"div",6),t.EFF(34),t.nI1(35,"dateFormat"),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"div",5),t.EFF(38),t.nI1(39,"translate"),t.k0s(),t.EFF(40,"\n\n "),t.j41(41,"div",6),t.EFF(42),t.k0s(),t.EFF(43,"\n\n "),t.j41(44,"div",5),t.EFF(45),t.nI1(46,"translate"),t.k0s(),t.EFF(47,"\n\n "),t.j41(48,"div",6),t.EFF(49),t.nI1(50,"currency"),t.k0s(),t.EFF(51,"\n\n "),t.DNE(52,hi,3,3,"div",7),t.EFF(53,"\n\n "),t.DNE(54,bi,2,1,"div",8),t.EFF(55,"\n\n "),t.DNE(56,Ci,2,1,"mifosx-transaction-payment-detail",9),t.EFF(57,"\n "),t.k0s(),t.EFF(58,"\n\n "),t.j41(59,"div",10),t.EFF(60,"\n "),t.j41(61,"button",11),t.EFF(62),t.nI1(63,"translate"),t.k0s(),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n "),t.k0s(),t.EFF(67,"\n"),t.k0s(),t.EFF(68,"\n")),2&i&&(t.R7$(2),t.Y8G("ngIf",o.allowUndo()),t.R7$(11),t.Y8G("ngClass",o.transactionColor()),t.R7$(3),t.SpI("\n ",t.bMT(17,17,"labels.inputs.Transaction Id"),"\n "),t.R7$(4),t.SpI("\n ",o.transactionData.id,"\n "),t.R7$(3),t.SpI("\n ",t.bMT(24,19,"labels.inputs.Type"),"\n "),t.R7$(4),t.SpI("\n ",o.transactionData.transactionType.value,"\n "),t.R7$(3),t.SpI("\n ",t.bMT(31,21,"labels.inputs.Transaction Date"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(35,23,o.transactionData.date),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(39,25,"labels.inputs.Currency"),"\n "),t.R7$(4),t.SpI("\n ",o.transactionData.currency.displayLabel,"\n "),t.R7$(3),t.SpI("\n ",t.bMT(46,27,"labels.inputs.Amount"),"\n "),t.R7$(4),t.SpI("\n ",t.ii3(50,29,o.transactionData.amount,o.transactionData.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(3),t.Y8G("ngIf",o.transactionData.note),t.R7$(2),t.Y8G("ngIf",o.transactionData.note),t.R7$(2),t.Y8G("ngIf",o.transactionData.paymentDetailData),t.R7$(5),t.Y8G("routerLink",t.lJ4(36,gi)),t.R7$(),t.SpI("\n ",t.bMT(63,34,"labels.buttons.Back"),"\n "))},dependencies:[F.YU,F.bT,P.aY,h.$z,g.RN,g.m2,ui.Z,G.p,d.Wk,F.oe,_.D9,A.a],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.container[_ngcontent-%COMP%]{max-width:37rem}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:1rem 0;word-wrap:break-word}.transaction-buttons[_ngcontent-%COMP%]{margin-top:3%}.transaction-relation[_ngcontent-%COMP%]{background-color:#d7dada}.active[_ngcontent-%COMP%]{background-color:#5cb85c;height:4px}.linked[_ngcontent-%COMP%]{background-color:#4461e2;height:4px}.undo[_ngcontent-%COMP%]{background-color:red;height:4px}"]})}}return n})();var x=m(36013);function xi(n,a){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function Di(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field",14),t.bIt("click",function(){t.eBV(e);const o=t.sdS(11);return t.Njj(o.open())}),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",15),t.EFF(7,"\n "),t.nrm(8,"mat-datepicker-toggle",16),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker",null,0),t.EFF(12,"\n "),t.j41(13,"mat-error"),t.EFF(14),t.nI1(15,"translate"),t.nI1(16,"translate"),t.j41(17,"strong"),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.k0s()}if(2&n){const e=t.sdS(11),i=t.XpG();t.R7$(3),t.JRh(t.bMT(4,8,"labels.inputs.Submitted On")),t.R7$(3),t.Y8G("min",i.minDate)("max",i.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(6),t.Lme("\n ",t.bMT(15,10,"labels.inputs.Submission Date")," ",t.bMT(16,12,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(19,14,"labels.commons.required"))}}function Ti(n,a){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.displayName,"\n ")}}function Mi(n,a){if(1&n&&(t.j41(0,"mat-form-field",3),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",17),t.EFF(7,"\n "),t.DNE(8,Ti,2,2,"mat-option",5),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Field Officer")),t.R7$(5),t.Y8G("ngForOf",e.fieldOfficerData)}}function Pi(n,a){1&n&&(t.j41(0,"mat-form-field",3),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",18),t.nI1(7,"translate"),t.EFF(8,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.External id")),t.R7$(3),t.FS9("matTooltip",t.bMT(7,4,"tooltips.Provides an external id")))}let V=(()=>{class n{constructor(e,i,o){this.formBuilder=e,this.fixedDepositsService=i,this.settingsService=o,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isFieldOfficerPatched=!1,this.isProductSelected=!1,this.fixedDepositsAccountProductTemplate=new t.bkB,this.createFixedDepositsAccountDetailsForm()}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.buildDependencies(),this.fixedDepositsAccountTemplate&&(this.productData=this.fixedDepositsAccountTemplate.productOptions,this.fixedDepositsAccountTemplate.depositProductId&&this.fixedDepositAccountDetailsForm.patchValue({productId:this.fixedDepositsAccountTemplate.depositProductId,submittedOnDate:this.fixedDepositsAccountTemplate.timeline.submittedOnDate&&new Date(this.fixedDepositsAccountTemplate.timeline.submittedOnDate),externalId:this.fixedDepositsAccountTemplate.externalId||""}))}createFixedDepositsAccountDetailsForm(){this.fixedDepositAccountDetailsForm=this.formBuilder.group({productId:["",c.k0.required],submittedOnDate:["",c.k0.required],fieldOfficerId:[""],externalId:[""]})}buildDependencies(){const e=this.fixedDepositsAccountTemplate.clientId;this.fixedDepositAccountDetailsForm.get("productId").valueChanges.subscribe(i=>{this.fixedDepositsService.getFixedDepositsAccountTemplate(e,i).subscribe(o=>{this.fixedDepositsAccountProductTemplate.emit(o),this.isProductSelected=!0,this.fieldOfficerData=o.fieldOfficerOptions,!this.isFieldOfficerPatched&&this.fixedDepositsAccountTemplate.fieldOfficerId?(this.fixedDepositAccountDetailsForm.get("fieldOfficerId").patchValue(this.fixedDepositsAccountTemplate.fieldOfficerId),this.isFieldOfficerPatched=!0):this.fixedDepositAccountDetailsForm.get("fieldOfficerId").patchValue("")})})}get fixedDepositAccountDetails(){const e=this.fixedDepositAccountDetailsForm.value;for(const i in e)""===e[i]&&delete e[i];return e}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(D),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-details-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate"},outputs:{fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},decls:48,vars:24,consts:[["submittedOnDatePicker",""],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["formControlName","productId","required",""],[3,"value",4,"ngFor","ngForOf"],["class","flex-48",3,"click",4,"ngIf"],["class","flex-48",4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious","","disabled",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"flex-48",3,"click"],["matInput","","formControlName","submittedOnDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["formControlName","fieldOfficerId"],["matInput","","formControlName","externalId",3,"matTooltip"]],template:function(i,o){if(1&i&&(t.j41(0,"form",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"mat-form-field",3),t.EFF(5,"\n "),t.j41(6,"mat-label"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.j41(10,"mat-select",4),t.EFF(11,"\n "),t.DNE(12,xi,2,2,"mat-option",5),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n "),t.j41(15,"mat-error"),t.EFF(16),t.nI1(17,"translate"),t.nI1(18,"translate"),t.j41(19,"strong"),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.DNE(25,Di,22,16,"mat-form-field",6),t.EFF(26,"\n\n "),t.DNE(27,Mi,11,4,"mat-form-field",7),t.EFF(28,"\n\n "),t.DNE(29,Pi,9,6,"mat-form-field",7),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n\n "),t.j41(32,"div",8),t.EFF(33,"\n "),t.j41(34,"button",9),t.EFF(35,"\n "),t.nrm(36,"fa-icon",10),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.EFF(39,"\n "),t.j41(40,"button",11),t.EFF(41),t.nI1(42,"translate"),t.nrm(43,"fa-icon",12),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n"),t.k0s(),t.EFF(47,"\n")),2&i){let s;t.Y8G("formGroup",o.fixedDepositAccountDetailsForm),t.R7$(7),t.JRh(t.bMT(8,12,"labels.inputs.Product Name")),t.R7$(5),t.Y8G("ngForOf",o.productData),t.R7$(4),t.Lme("\n ",t.bMT(17,14,"labels.inputs.Product Name")," ",t.bMT(18,16,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(21,18,"labels.commons.required")),t.R7$(5),t.Y8G("ngIf",o.isProductSelected),t.R7$(2),t.Y8G("ngIf",o.isProductSelected),t.R7$(2),t.Y8G("ngIf",o.isProductSelected),t.R7$(8),t.SpI("\n ",t.bMT(38,20,"labels.buttons.Previous"),"\n "),t.R7$(3),t.Y8G("disabled",!(null!=(s=o.fixedDepositAccountDetailsForm.get("productId"))&&s.value&&null!=(s=o.fixedDepositAccountDetailsForm.get("submittedOnDate"))&&s.value)),t.R7$(),t.SpI("\n ",t.bMT(42,22,"labels.buttons.Next"),"\n ")}},dependencies:[F.Sq,F.bT,P.aY,k.wT,h.$z,b.Vh,b.bZ,b.bU,u.rl,u.nJ,u.TL,u.yw,O.fg,y.VO,x.F7,x.FR,N.oV,c.qT,c.me,c.BC,c.cb,c.YS,c.j4,c.JD,_.D9],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return n})();var L=m(71997);function Oi(n,a){if(1&n&&(t.j41(0,"mifosx-input-amount",18),t.EFF(1,"\n "),t.k0s()),2&n){const e=t.XpG();t.Y8G("currency",e.currency)("isRequired",!0)("inputFormControl",e.fixedDepositAccountTermsForm.controls.depositAmount)("inputLabel","Deposit Amount")}}function Ii(n,a){if(1&n&&(t.j41(0,"mat-option",19),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function vi(n,a){if(1&n&&(t.j41(0,"mat-option",19),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Ri(n,a){if(1&n&&(t.j41(0,"mat-option",19),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Ai(n,a){if(1&n&&(t.j41(0,"mat-option",19),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function ki(n,a){if(1&n&&(t.j41(0,"mat-option",19),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}let U=(()=>{class n{constructor(e,i){this.formBuilder=e,this.settingsService=i,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.currency=null,this.createFixedDepositsAccountTermsForm()}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.currency=this.fixedDepositsAccountProductTemplate.currency,this.setOptions())}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.fixedDepositsAccountTemplate.id&&this.fixedDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.fixedDepositsAccountTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.fixedDepositsAccountTemplate.interestPostingPeriodType.id,interestCalculationType:this.fixedDepositsAccountTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.fixedDepositsAccountTemplate.interestCalculationDaysInYearType.id,depositAmount:this.fixedDepositsAccountTemplate.depositAmount?this.fixedDepositsAccountTemplate.depositAmount:0,depositPeriod:this.fixedDepositsAccountTemplate.depositPeriod,depositPeriodFrequencyId:this.fixedDepositsAccountTemplate.depositPeriodFrequency.id})}createFixedDepositsAccountTermsForm(){this.fixedDepositAccountTermsForm=this.formBuilder.group({interestCompoundingPeriodType:["",c.k0.required],interestPostingPeriodType:["",c.k0.required],interestCalculationType:["",c.k0.required],interestCalculationDaysInYearType:["",c.k0.required],depositAmount:[0,c.k0.required],depositPeriod:["",c.k0.required],depositPeriodFrequencyId:["",c.k0.required]})}setOptions(){this.interestCompoundingPeriodTypeData=this.fixedDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,this.interestPostingPeriodTypeData=this.fixedDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,this.interestCalculationTypeData=this.fixedDepositsAccountProductTemplate.interestCalculationTypeOptions,this.interestCalculationDaysInYearTypeData=this.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,this.periodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,this.fixedDepositsAccountTemplate.id||this.fixedDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.fixedDepositsAccountProductTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.fixedDepositsAccountProductTemplate.interestPostingPeriodType.id,interestCalculationType:this.fixedDepositsAccountProductTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearType.id,depositAmount:this.fixedDepositsAccountProductTemplate.depositAmount,depositPeriod:this.fixedDepositsAccountProductTemplate.minDepositTerm,depositPeriodFrequencyId:this.fixedDepositsAccountProductTemplate.minDepositTermType.id})}get fixedDepositAccountTerms(){const e=this.fixedDepositAccountTermsForm.value;for(const i in e)""===e[i]&&delete e[i];return e}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-terms-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[t.OA$],decls:150,vars:85,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],["class","flex-48",3,"currency","isRequired","inputFormControl","inputLabel",4,"ngIf"],[1,"flex-48","hide-lt-md"],[1,"flex-48"],["type","number","matInput","","formControlName","depositPeriod","required",""],["formControlName","depositPeriodFrequencyId","required",""],[3,"value",4,"ngFor","ngForOf"],[1,"flex-98"],["formControlName","interestCompoundingPeriodType","required",""],["formControlName","interestPostingPeriodType","required",""],["formControlName","interestCalculationType","required",""],["formControlName","interestCalculationDaysInYearType","required",""],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[1,"flex-48",3,"currency","isRequired","inputFormControl","inputLabel"],[3,"value"]],template:function(i,o){1&i&&(t.j41(0,"form",0),t.EFF(1,"\n "),t.j41(2,"div",1),t.EFF(3,"\n "),t.DNE(4,Oi,2,4,"mifosx-input-amount",2),t.EFF(5,"\n\n "),t.nrm(6,"span",3),t.EFF(7,"\n\n "),t.j41(8,"mat-form-field",4),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"input",5),t.EFF(15,"\n "),t.j41(16,"mat-error"),t.EFF(17),t.nI1(18,"translate"),t.nI1(19,"translate"),t.j41(20,"strong"),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field",4),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.j41(32,"mat-select",6),t.EFF(33,"\n "),t.DNE(34,Ii,3,5,"mat-option",7),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.j41(37,"mat-error"),t.EFF(38),t.nI1(39,"translate"),t.nI1(40,"translate"),t.j41(41,"strong"),t.EFF(42),t.nI1(43,"translate"),t.k0s(),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n\n "),t.nrm(47,"mat-divider",8),t.EFF(48,"\n\n "),t.j41(49,"mat-form-field",4),t.EFF(50,"\n "),t.j41(51,"mat-label"),t.EFF(52),t.nI1(53,"translate"),t.k0s(),t.EFF(54,"\n "),t.j41(55,"mat-select",9),t.EFF(56,"\n "),t.DNE(57,vi,3,5,"mat-option",7),t.EFF(58,"\n "),t.k0s(),t.EFF(59,"\n "),t.j41(60,"mat-error"),t.EFF(61),t.nI1(62,"translate"),t.nI1(63,"translate"),t.j41(64,"strong"),t.EFF(65),t.nI1(66,"translate"),t.k0s(),t.EFF(67,"\n "),t.k0s(),t.EFF(68,"\n "),t.k0s(),t.EFF(69,"\n\n "),t.j41(70,"mat-form-field",4),t.EFF(71,"\n "),t.j41(72,"mat-label"),t.EFF(73),t.nI1(74,"translate"),t.k0s(),t.EFF(75,"\n "),t.j41(76,"mat-select",10),t.EFF(77,"\n "),t.DNE(78,Ri,3,5,"mat-option",7),t.EFF(79,"\n "),t.k0s(),t.EFF(80,"\n "),t.j41(81,"mat-error"),t.EFF(82),t.nI1(83,"translate"),t.nI1(84,"translate"),t.j41(85,"strong"),t.EFF(86),t.nI1(87,"translate"),t.k0s(),t.EFF(88,"\n "),t.k0s(),t.EFF(89,"\n "),t.k0s(),t.EFF(90,"\n\n "),t.j41(91,"mat-form-field",4),t.EFF(92,"\n "),t.j41(93,"mat-label"),t.EFF(94),t.nI1(95,"translate"),t.k0s(),t.EFF(96,"\n "),t.j41(97,"mat-select",11),t.EFF(98,"\n "),t.DNE(99,Ai,3,5,"mat-option",7),t.EFF(100,"\n "),t.k0s(),t.EFF(101,"\n "),t.j41(102,"mat-error"),t.EFF(103),t.nI1(104,"translate"),t.nI1(105,"translate"),t.j41(106,"strong"),t.EFF(107),t.nI1(108,"translate"),t.k0s(),t.EFF(109,"\n "),t.k0s(),t.EFF(110,"\n "),t.k0s(),t.EFF(111,"\n\n "),t.j41(112,"mat-form-field",4),t.EFF(113,"\n "),t.j41(114,"mat-label"),t.EFF(115),t.nI1(116,"translate"),t.k0s(),t.EFF(117,"\n "),t.j41(118,"mat-select",12),t.EFF(119,"\n "),t.DNE(120,ki,3,5,"mat-option",7),t.EFF(121,"\n "),t.k0s(),t.EFF(122,"\n "),t.j41(123,"mat-error"),t.EFF(124),t.nI1(125,"translate"),t.nI1(126,"translate"),t.j41(127,"strong"),t.EFF(128),t.nI1(129,"translate"),t.k0s(),t.EFF(130,"\n "),t.k0s(),t.EFF(131,"\n "),t.k0s(),t.EFF(132,"\n "),t.k0s(),t.EFF(133,"\n\n "),t.j41(134,"div",13),t.EFF(135,"\n "),t.j41(136,"button",14),t.EFF(137,"\n "),t.nrm(138,"fa-icon",15),t.EFF(139),t.nI1(140,"translate"),t.k0s(),t.EFF(141,"\n "),t.j41(142,"button",16),t.EFF(143),t.nI1(144,"translate"),t.nrm(145,"fa-icon",17),t.EFF(146,"\n "),t.k0s(),t.EFF(147,"\n "),t.k0s(),t.EFF(148,"\n"),t.k0s(),t.EFF(149,"\n")),2&i&&(t.Y8G("formGroup",o.fixedDepositAccountTermsForm),t.R7$(4),t.Y8G("ngIf",o.currency),t.R7$(7),t.JRh(t.bMT(12,33,"labels.inputs.Deposit Period")),t.R7$(6),t.Lme("\n ",t.bMT(18,35,"labels.inputs.Deposit Period")," ",t.bMT(19,37,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(22,39,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(30,41,"labels.inputs.Deposit Period Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(4),t.Lme("\n ",t.bMT(39,43,"labels.inputs.Deposit Period Type")," ",t.bMT(40,45,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(43,47,"labels.commons.required")),t.R7$(10),t.JRh(t.bMT(53,49,"labels.inputs.Interest Compounding Period")),t.R7$(5),t.Y8G("ngForOf",o.interestCompoundingPeriodTypeData),t.R7$(4),t.Lme("\n ",t.bMT(62,51,"labels.inputs.Interest Compounding Period")," ",t.bMT(63,53,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(66,55,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(74,57,"labels.inputs.Interest Posting Period")),t.R7$(5),t.Y8G("ngForOf",o.interestPostingPeriodTypeData),t.R7$(4),t.Lme("\n ",t.bMT(83,59,"labels.inputs.Interest Posting Period")," ",t.bMT(84,61,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(87,63,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(95,65,"labels.inputs.Interest Calculated using")),t.R7$(5),t.Y8G("ngForOf",o.interestCalculationTypeData),t.R7$(4),t.Lme("\n ",t.bMT(104,67,"labels.inputs.Interest Calculated using")," ",t.bMT(105,69,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(108,71,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(116,73,"labels.inputs.Days in Year")),t.R7$(5),t.Y8G("ngForOf",o.interestCalculationDaysInYearTypeData),t.R7$(4),t.Lme("\n ",t.bMT(125,75,"labels.inputs.Days in Year")," ",t.bMT(126,77,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(129,79,"labels.commons.required")),t.R7$(11),t.SpI("\n ",t.bMT(140,81,"labels.buttons.Previous"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(144,83,"labels.buttons.Next"),"\n "))},dependencies:[F.Sq,F.bT,P.aY,k.wT,h.$z,L.q,u.rl,u.nJ,u.TL,O.fg,y.VO,x.F7,x.FR,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,nt.e,_.D9,R.D],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return n})();function yi(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function ji(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Si(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function $i(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function wi(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.Lme("\n (",e.accountNo,") ",e.savingsProductName,"\n ")}}function Ni(n,a){if(1&n&&(t.j41(0,"mat-form-field",30),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",31),t.EFF(7,"\n "),t.DNE(8,wi,2,3,"mat-option",6),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.j41(11,"mat-error"),t.EFF(12),t.nI1(13,"translate"),t.nI1(14,"translate"),t.j41(15,"strong"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,5,"labels.inputs.Linked Savings Account")),t.R7$(5),t.Y8G("ngForOf",e.savingsAccountsData),t.R7$(4),t.Lme("\n ",t.bMT(13,7,"labels.inputs.Linked Savings Account")," ",t.bMT(14,9,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(17,11,"labels.commons.required"))}}function Gi(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Yi(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.Lme("\n (",e.accountNo,") ",e.savingsProductName,"\n ")}}function Ji(n,a){if(1&n&&(t.j41(0,"mat-form-field",32),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",33),t.EFF(7,"\n "),t.DNE(8,Yi,2,3,"mat-option",6),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.j41(11,"mat-error"),t.EFF(12),t.nI1(13,"translate"),t.nI1(14,"translate"),t.j41(15,"strong"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,5,"labels.inputs.Transfer to savings account")),t.R7$(5),t.Y8G("ngForOf",e.savingsAccountsData),t.R7$(4),t.Lme("\n ",t.bMT(13,7,"labels.inputs.Transfer to savings account")," ",t.bMT(14,9,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(17,11,"labels.commons.required"))}}function Vi(n,a){if(1&n&&(t.j41(0,"mat-option",29),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Ui(n,a){1&n&&(t.j41(0,"mat-form-field",36),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",37),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Tax Group")))}function Xi(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.nrm(2,"mat-divider",13),t.EFF(3,"\n\n "),t.j41(4,"mat-checkbox",34),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n\n "),t.DNE(8,Ui,8,3,"mat-form-field",35),t.EFF(9,"\n "),t.bVm()),2&n){const e=t.XpG();t.R7$(5),t.SpI("\n ",t.bMT(6,2,"labels.inputs.Is Withhold Tax Applicable"),"?\n "),t.R7$(3),t.Y8G("ngIf",e.fixedDepositAccountSettingsForm.controls.taxGroupId)}}let X=(()=>{class n{constructor(e,i){this.formBuilder=e,this.settingsService=i,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.createFixedDepositAccountSettingsForm(),this.buildDependencies()}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.fixedDepositAccountSettingsForm.patchValue({minDepositTerm:this.fixedDepositsAccountProductTemplate.minDepositTerm,minDepositTermTypeId:this.fixedDepositsAccountProductTemplate.minDepositTermType?this.fixedDepositsAccountProductTemplate.minDepositTermType.id:"",inMultiplesOfDepositTerm:this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm,inMultiplesOfDepositTermTypeId:this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType?this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType.id:"",maxDepositTerm:this.fixedDepositsAccountProductTemplate.maxDepositTerm,maxDepositTermTypeId:this.fixedDepositsAccountProductTemplate.maxDepositTermType?this.fixedDepositsAccountProductTemplate.maxDepositTermType.id:"",preClosurePenalApplicable:this.fixedDepositsAccountProductTemplate.preClosurePenalApplicable,preClosurePenalInterest:this.fixedDepositsAccountProductTemplate.preClosurePenalInterest,preClosurePenalInterestOnTypeId:this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType?this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType.id:"",maturityInstructionId:this.fixedDepositsAccountProductTemplate.maturityInstructionId}),this.fixedDepositsAccountProductTemplate.withHoldTax?(this.fixedDepositAccountSettingsForm.addControl("withHoldTax",new c.hs(!1)),this.fixedDepositAccountSettingsForm.get("withHoldTax").valueChanges.subscribe(e=>{e?(this.fixedDepositAccountSettingsForm.addControl("taxGroupId",new c.hs({value:"",disabled:!0})),this.fixedDepositAccountSettingsForm.get("taxGroupId").patchValue(this.fixedDepositsAccountProductTemplate.taxGroup&&this.fixedDepositsAccountProductTemplate.taxGroup.name)):this.fixedDepositAccountSettingsForm.removeControl("taxGroupId")}),this.fixedDepositAccountSettingsForm.get("withHoldTax").patchValue(this.fixedDepositsAccountTemplate.withHoldTax)):this.fixedDepositAccountSettingsForm.removeControl("withHoldTax"),this.setOptions())}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.fixedDepositsAccountTemplate&&this.fixedDepositAccountSettingsForm.patchValue({lockinPeriodFrequency:this.fixedDepositsAccountTemplate.lockinPeriodFrequency,lockinPeriodFrequencyType:this.fixedDepositsAccountTemplate.lockinPeriodFrequencyType&&this.fixedDepositsAccountTemplate.lockinPeriodFrequencyType.id,transferInterestToSavings:this.fixedDepositsAccountTemplate.transferInterestToSavings})}createFixedDepositAccountSettingsForm(){this.fixedDepositAccountSettingsForm=this.formBuilder.group({lockinPeriodFrequency:[""],lockinPeriodFrequencyType:[""],minDepositTerm:[{value:"",disabled:!0}],minDepositTermTypeId:[{value:"",disabled:!0}],inMultiplesOfDepositTerm:[{value:"",disabled:!0}],inMultiplesOfDepositTermTypeId:[{value:"",disabled:!0}],maxDepositTerm:[{value:"",disabled:!0}],maxDepositTermTypeId:[{value:"",disabled:!0}],transferInterestToSavings:[!1],preClosurePenalApplicable:[{value:"",disabled:!0}],preClosurePenalInterest:[{value:"",disabled:!0}],preClosurePenalInterestOnTypeId:[{value:"",disabled:!0}],maturityInstructionId:[""]})}buildDependencies(){this.fixedDepositAccountSettingsForm.get("transferInterestToSavings").valueChanges.subscribe(e=>{e?(this.fixedDepositAccountSettingsForm.addControl("linkAccountId",new c.hs("",c.k0.required)),this.fixedDepositAccountSettingsForm.get("linkAccountId").patchValue(this.fixedDepositsAccountTemplate.linkedAccount&&this.fixedDepositsAccountTemplate.linkedAccount.id)):this.fixedDepositAccountSettingsForm.removeControl("linkAccountId")}),this.fixedDepositAccountSettingsForm.get("maturityInstructionId").valueChanges.subscribe(e=>{e>100?(this.fixedDepositAccountSettingsForm.addControl("transferToSavingsId",new c.hs("",c.k0.required)),this.fixedDepositAccountSettingsForm.get("transferToSavingsId").patchValue(this.fixedDepositsAccountTemplate.transferToSavingsId&&this.fixedDepositsAccountTemplate.transferToSavingsId.id)):this.fixedDepositAccountSettingsForm.removeControl("transferToSavingsId")})}setOptions(){this.lockinPeriodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,this.periodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,this.savingsAccountsData=this.fixedDepositsAccountProductTemplate.savingsAccounts,this.preClosurePenalInterestOnTypeData=this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnTypeOptions,this.maturityInstructionOptions=this.fixedDepositsAccountProductTemplate.maturityInstructionOptions}get fixedDepositAccountSettings(){const e=this.fixedDepositAccountSettingsForm.getRawValue();for(const i in e)(""===e[i]||"taxGroupId"===i)&&delete e[i];return e}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(c.ze),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-settings-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[t.OA$],decls:200,vars:91,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"mat-h4","flex-98"],[1,"flex-48"],["type","number","matInput","","formControlName","lockinPeriodFrequency"],["formControlName","lockinPeriodFrequencyType"],[3,"value",4,"ngFor","ngForOf"],["type","number","matInput","","formControlName","minDepositTerm","required",""],["formControlName","minDepositTermTypeId","required",""],["type","number","matInput","","formControlName","inMultiplesOfDepositTerm"],["formControlName","inMultiplesOfDepositTermTypeId"],["type","number","matInput","","formControlName","maxDepositTerm"],["formControlName","maxDepositTermTypeId"],[1,"flex-98"],[1,"mat-h3","flex-23"],["labelPosition","before","formControlName","transferInterestToSavings",1,"flex-32","margin-b"],["class","margin-b flex-48",4,"ngIf"],["formControlName","maturityInstructionId"],["class","flex-48 margin-b",4,"ngIf"],[1,"mat-h4","flex-23"],["labelPosition","before","formControlName","preClosurePenalApplicable",1,"flex-73","margin-v"],["type","number","matInput","","formControlName","preClosurePenalInterest"],["formControlName","preClosurePenalInterestOnTypeId"],[4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"margin-b","flex-48"],["formControlName","linkAccountId","required",""],[1,"flex-48","margin-b"],["formControlName","transferToSavingsId","required",""],["labelPosition","before","formControlName","withHoldTax",1,"margin-p","flex-48"],["class","p-b-25 flex-48",4,"ngIf"],[1,"p-b-25","flex-48"],["matInput","","formControlName","taxGroupId"]],template:function(i,o){1&i&&(t.j41(0,"form",0),t.EFF(1,"\n "),t.j41(2,"div",1),t.EFF(3,"\n "),t.j41(4,"h4",2),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n\n "),t.j41(8,"mat-form-field",3),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"input",4),t.EFF(15,"\n "),t.k0s(),t.EFF(16,"\n\n "),t.j41(17,"mat-form-field",3),t.EFF(18,"\n "),t.j41(19,"mat-label"),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n "),t.j41(23,"mat-select",5),t.EFF(24,"\n "),t.DNE(25,yi,3,5,"mat-option",6),t.EFF(26,"\n "),t.k0s(),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"h4",2),t.EFF(30),t.nI1(31,"translate"),t.k0s(),t.EFF(32,"\n\n "),t.j41(33,"mat-form-field",3),t.EFF(34,"\n "),t.j41(35,"mat-label"),t.EFF(36),t.nI1(37,"translate"),t.k0s(),t.EFF(38,"\n "),t.nrm(39,"input",7),t.EFF(40,"\n "),t.j41(41,"mat-error"),t.EFF(42),t.nI1(43,"translate"),t.nI1(44,"translate"),t.j41(45,"strong"),t.EFF(46),t.nI1(47,"translate"),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n\n "),t.j41(51,"mat-form-field",3),t.EFF(52,"\n "),t.j41(53,"mat-label"),t.EFF(54),t.nI1(55,"translate"),t.k0s(),t.EFF(56,"\n "),t.j41(57,"mat-select",8),t.EFF(58,"\n "),t.DNE(59,ji,3,5,"mat-option",6),t.EFF(60,"\n "),t.k0s(),t.EFF(61,"\n "),t.j41(62,"mat-error"),t.EFF(63),t.nI1(64,"translate"),t.nI1(65,"translate"),t.j41(66,"strong"),t.EFF(67),t.nI1(68,"translate"),t.k0s(),t.EFF(69,"\n "),t.k0s(),t.EFF(70,"\n "),t.k0s(),t.EFF(71,"\n\n "),t.j41(72,"h4",2),t.EFF(73),t.nI1(74,"translate"),t.k0s(),t.EFF(75,"\n\n "),t.j41(76,"mat-form-field",3),t.EFF(77,"\n "),t.j41(78,"mat-label"),t.EFF(79),t.nI1(80,"translate"),t.k0s(),t.EFF(81,"\n "),t.nrm(82,"input",9),t.EFF(83,"\n "),t.k0s(),t.EFF(84,"\n\n "),t.j41(85,"mat-form-field",3),t.EFF(86,"\n "),t.j41(87,"mat-label"),t.EFF(88),t.nI1(89,"translate"),t.k0s(),t.EFF(90,"\n "),t.j41(91,"mat-select",10),t.EFF(92,"\n "),t.DNE(93,Si,3,5,"mat-option",6),t.EFF(94,"\n "),t.k0s(),t.EFF(95,"\n "),t.k0s(),t.EFF(96,"\n\n "),t.j41(97,"h4",2),t.EFF(98),t.nI1(99,"translate"),t.k0s(),t.EFF(100,"\n\n "),t.j41(101,"mat-form-field",3),t.EFF(102,"\n "),t.j41(103,"mat-label"),t.EFF(104),t.nI1(105,"translate"),t.k0s(),t.EFF(106,"\n "),t.nrm(107,"input",11),t.EFF(108,"\n "),t.k0s(),t.EFF(109,"\n\n "),t.j41(110,"mat-form-field",3),t.EFF(111,"\n "),t.j41(112,"mat-label"),t.EFF(113),t.nI1(114,"translate"),t.k0s(),t.EFF(115,"\n "),t.j41(116,"mat-select",12),t.EFF(117,"\n "),t.DNE(118,$i,3,5,"mat-option",6),t.EFF(119,"\n "),t.k0s(),t.EFF(120,"\n "),t.k0s(),t.EFF(121,"\n\n "),t.nrm(122,"mat-divider",13),t.EFF(123,"\n\n "),t.j41(124,"h3",14),t.EFF(125),t.nI1(126,"translate"),t.k0s(),t.EFF(127,"\n\n "),t.j41(128,"mat-checkbox",15),t.EFF(129),t.nI1(130,"translate"),t.k0s(),t.EFF(131,"\n\n "),t.DNE(132,Ni,20,13,"mat-form-field",16),t.EFF(133,"\n\n "),t.nrm(134,"mat-divider",13),t.EFF(135,"\n\n "),t.j41(136,"mat-form-field",3),t.EFF(137,"\n "),t.j41(138,"mat-label"),t.EFF(139),t.nI1(140,"translate"),t.k0s(),t.EFF(141,"\n "),t.j41(142,"mat-select",17),t.EFF(143,"\n "),t.DNE(144,Gi,3,5,"mat-option",6),t.EFF(145,"\n "),t.k0s(),t.EFF(146,"\n "),t.k0s(),t.EFF(147,"\n\n "),t.DNE(148,Ji,20,13,"mat-form-field",18),t.EFF(149,"\n\n "),t.nrm(150,"mat-divider",13),t.EFF(151,"\n\n "),t.j41(152,"h4",19),t.EFF(153),t.nI1(154,"translate"),t.k0s(),t.EFF(155,"\n\n "),t.j41(156,"mat-checkbox",20),t.EFF(157),t.nI1(158,"translate"),t.k0s(),t.EFF(159,"\n\n "),t.j41(160,"mat-form-field",3),t.EFF(161,"\n "),t.j41(162,"mat-label"),t.EFF(163),t.nI1(164,"translate"),t.k0s(),t.EFF(165,"\n "),t.nrm(166,"input",21),t.EFF(167,"\n "),t.k0s(),t.EFF(168,"\n\n "),t.j41(169,"mat-form-field",3),t.EFF(170,"\n "),t.j41(171,"mat-label"),t.EFF(172),t.nI1(173,"translate"),t.k0s(),t.EFF(174,"\n "),t.j41(175,"mat-select",22),t.EFF(176,"\n "),t.DNE(177,Vi,3,5,"mat-option",6),t.EFF(178,"\n "),t.k0s(),t.EFF(179,"\n "),t.k0s(),t.EFF(180,"\n\n "),t.DNE(181,Xi,10,4,"ng-container",23),t.EFF(182,"\n "),t.k0s(),t.EFF(183,"\n\n "),t.j41(184,"div",24),t.EFF(185,"\n "),t.j41(186,"button",25),t.EFF(187,"\n "),t.nrm(188,"fa-icon",26),t.EFF(189),t.nI1(190,"translate"),t.k0s(),t.EFF(191,"\n "),t.j41(192,"button",27),t.EFF(193),t.nI1(194,"translate"),t.nrm(195,"fa-icon",28),t.EFF(196,"\n "),t.k0s(),t.EFF(197,"\n "),t.k0s(),t.EFF(198,"\n"),t.k0s(),t.EFF(199,"\n")),2&i&&(t.Y8G("formGroup",o.fixedDepositAccountSettingsForm),t.R7$(5),t.JRh(t.bMT(6,37,"labels.heading.Lock-in Period")),t.R7$(6),t.JRh(t.bMT(12,39,"labels.inputs.Frequency")),t.R7$(9),t.JRh(t.bMT(21,41,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.lockinPeriodFrequencyTypeData),t.R7$(5),t.JRh(t.bMT(31,43,"labels.heading.Minimum Deposit Term")),t.R7$(6),t.JRh(t.bMT(37,45,"labels.inputs.Frequency")),t.R7$(6),t.Lme("\n ",t.bMT(43,47,"labels.inputs.Minimum Deposit Term Frequency")," ",t.bMT(44,49,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(47,51,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(55,53,"labels.inputs.Frequency Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(4),t.Lme("\n ",t.bMT(64,55,"labels.inputs.Minimum Deposit Term Frequency Type")," ",t.bMT(65,57,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(68,59,"labels.commons.required")),t.R7$(6),t.JRh(t.bMT(74,61,"labels.heading.And thereafter, in Multiples of")),t.R7$(6),t.JRh(t.bMT(80,63,"labels.inputs.Frequency")),t.R7$(9),t.JRh(t.bMT(89,65,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(5),t.JRh(t.bMT(99,67,"labels.heading.Maximum Deposit Term")),t.R7$(6),t.JRh(t.bMT(105,69,"labels.inputs.Frequency")),t.R7$(9),t.JRh(t.bMT(114,71,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(7),t.JRh(t.bMT(126,73,"labels.heading.Interest Transfer")),t.R7$(4),t.SpI("\n ",t.bMT(130,75,"labels.inputs.Transfer Interest to Linked Savings Account"),"?\n "),t.R7$(3),t.Y8G("ngIf",o.fixedDepositAccountSettingsForm.contains("linkAccountId")),t.R7$(7),t.JRh(t.bMT(140,77,"labels.inputs.Maturity Instructions")),t.R7$(5),t.Y8G("ngForOf",o.maturityInstructionOptions),t.R7$(4),t.Y8G("ngIf",o.fixedDepositAccountSettingsForm.contains("transferToSavingsId")),t.R7$(5),t.JRh(t.bMT(154,79,"labels.heading.For Pre-mature closure")),t.R7$(4),t.SpI("\n ",t.bMT(158,81,"labels.inputs.Apply Penal Interest (less)"),"\n "),t.R7$(6),t.SpI("",t.bMT(164,83,"labels.inputs.Penal Interest")," (%)"),t.R7$(9),t.JRh(t.bMT(173,85,"labels.inputs.Period")),t.R7$(5),t.Y8G("ngForOf",o.preClosurePenalInterestOnTypeData),t.R7$(4),t.Y8G("ngIf",o.fixedDepositAccountSettingsForm.controls.withHoldTax),t.R7$(8),t.SpI("\n ",t.bMT(190,87,"labels.buttons.Previous"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(194,89,"labels.buttons.Next"),"\n "))},dependencies:[F.Sq,F.bT,P.aY,k.wT,h.$z,Q.So,L.q,u.rl,u.nJ,u.TL,O.fg,y.VO,x.F7,x.FR,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,_.D9,R.D],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-p[_ngcontent-%COMP%]{margin-top:1.7em}"]})}}return n})();const qi=()=>[2e3];function Bi(n,a){if(1&n&&(t.j41(0,"mat-option",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("value",e),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function zi(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.name")))}function Li(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.name+", "+e.currency.displaySymbol,"\n ")}}function Hi(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Type")))}function Wi(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.chargeCalculationType.value,"\n ")}}function Ki(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount")))}function Zi(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.EFF(1),t.j41(2,"button",27),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.editChargeAmount(o))}),t.EFF(3,"\n "),t.nrm(4,"fa-icon",28),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}if(2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.amount,"\n ")}}function Qi(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Collected On")))}function ta(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.chargeTimeType.value,"\n ")}}function na(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Date")))}function ea(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.dueDate)||"Unassigned*","\n ")}}function oa(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",e.feeOnMonthDay?t.i5U(2,1,t.lJ4(4,qi).concat(e.feeOnMonthDay),"dd MMMM"):"Unassigned","\n ")}}function ia(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.N/A"),"\n "))}function aa(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",27),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,s=t.XpG();return t.Njj(s.editChargeDate(o))}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",28),t.EFF(3,"\n "),t.k0s()}}function sa(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1,"\n "),t.DNE(2,ea,3,3,"span",29),t.EFF(3,"\n "),t.DNE(4,oa,3,5,"span",29),t.EFF(5,"\n "),t.DNE(6,ia,3,3,"span",29),t.EFF(7,"\n "),t.DNE(8,aa,4,0,"button",30),t.EFF(9,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("ngIf","Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf","Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf",!("Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value)),t.R7$(2),t.Y8G("ngIf","Weekly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value)}}function ca(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Repayments Every")))}function ra(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",27),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,s=t.XpG();return t.Njj(s.editChargeFeeInterval(o))}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",28),t.EFF(3,"\n "),t.k0s()}}function la(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.DNE(2,ra,4,0,"button",30),t.EFF(3,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.feeInterval||"Not Provided","\n "),t.R7$(),t.Y8G("ngIf","Weekly Fee"===e.chargeTimeType.value||"Monthly Fee"===e.chargeTimeType.value)}}function pa(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function ma(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.EFF(1,"\n "),t.j41(2,"button",31),t.bIt("click",function(){const o=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.deleteCharge(o))}),t.EFF(3,"\n "),t.nrm(4,"fa-icon",32),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}}function da(n,a){1&n&&t.nrm(0,"tr",33)}function Fa(n,a){1&n&&t.nrm(0,"tr",34)}let q=(()=>{class n{constructor(e,i,o){this.dialog=e,this.dateUtils=i,this.settingsService=o,this.currency=null,this.chargesDataSource=[],this.displayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery","action"],this.isChargesPatched=!1,this.pristine=!0}ngOnInit(){this.chargesDataSource=[],this.fixedDepositsAccountTemplate.id&&this.fixedDepositsAccountTemplate.charges&&(this.chargesDataSource=this.fixedDepositsAccountTemplate.charges.map(e=>({...e,id:e.chargeId}))||[])}ngOnChanges(){null==this.currency&&(this.fixedDepositsAccountTemplate.currency?this.currency=this.fixedDepositsAccountTemplate.currency:this.fixedDepositsAccountProductTemplate&&this.fixedDepositsAccountProductTemplate.currency&&(this.currency=this.fixedDepositsAccountProductTemplate.currency)),this.fixedDepositsAccountProductTemplate&&(this.chargeData=this.fixedDepositsAccountProductTemplate.chargeOptions.filter(e=>e.currency.code===this.currency.code))}addCharge(e){this.chargesDataSource=this.chargesDataSource.concat([e.value]),e.value="",this.pristine=!1}editChargeAmount(e){const i=[new J.O({controlName:"amount",label:"Amount",value:e.amount,type:"number",required:!1})];this.dialog.open(w.u,{data:{title:"Edit Charge Amount",layout:{addButtonText:"Confirm"},formfields:i}}).afterClosed().subscribe(r=>{if(r.data){const p={...e,amount:r.data.value.amount};this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1,p),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeDate(e){const i=[new tt.U({controlName:"date",label:"Date",value:e.dueDate||e.feeOnMonthDay||"",type:"datetime-local",required:!1})];this.dialog.open(w.u,{data:{title:"Edit Charge Date",layout:{addButtonText:"Confirm"},formfields:i}}).afterClosed().subscribe(r=>{if(r.data){let p;const I=this.dateUtils.formatDate(r.data.value.date,this.settingsService.dateFormat);switch(e.chargeTimeType.value){case"Specified due date":case"Weekly Fee":p={...e,dueDate:I};break;case"Annual Fee":p={...e,feeOnMonthDay:I}}this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1,p),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeFeeInterval(e){const i=[new J.O({controlName:"feeInterval",label:"Fee Interval",value:e.feeInterval,type:"text",required:!1})];this.dialog.open(w.u,{data:{title:"Edit Charge Fee Interval",layout:{addButtonText:"Confirm"},formfields:i}}).afterClosed().subscribe(r=>{if(r.data){const p={...e,feeInterval:r.data.value.feeInterval};this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1,p),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}deleteCharge(e){this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1),this.chargesDataSource=this.chargesDataSource.concat([]),this.pristine=!1}get fixedDepositAccountCharges(){return{charges:this.chargesDataSource}}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(f.bZ),t.rXU(M.A),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-charges-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate",fixedDepositAccountFormValid:"fixedDepositAccountFormValid"},features:[t.OA$],decls:96,vars:19,consts:[["charge",""],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-48","align-center"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["icon","plus",1,"m-r-10"],["mat-table","",1,"flex-98","mat-elevation-z1",3,"dataSource","hidden"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","chargeCalculationType"],["matColumnDef","amount"],["matColumnDef","chargeTimeType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","color","primary",3,"click"],["icon","pen"],[4,"ngIf"],["mat-icon-button","","color","primary",3,"click",4,"ngIf"],["mat-icon-button","","color","warn",3,"click"],["icon","trash"],["mat-header-row",""],["mat-row",""]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-form-field",2),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.j41(8,"mat-select",null,0),t.EFF(10,"\n "),t.DNE(11,Bi,2,2,"mat-option",3),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n\n "),t.j41(15,"div",4),t.EFF(16,"\n "),t.j41(17,"button",5),t.bIt("click",function(){t.eBV(s);const p=t.sdS(9);return t.Njj(o.addCharge(p))}),t.EFF(18,"\n "),t.nrm(19,"fa-icon",6),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n\n "),t.j41(24,"table",7),t.EFF(25,"\n "),t.qex(26,8),t.EFF(27,"\n "),t.DNE(28,zi,3,3,"th",9),t.EFF(29,"\n "),t.DNE(30,Li,2,1,"td",10),t.EFF(31,"\n "),t.bVm(),t.EFF(32,"\n\n "),t.qex(33,11),t.EFF(34,"\n "),t.DNE(35,Hi,3,3,"th",9),t.EFF(36,"\n "),t.DNE(37,Wi,2,1,"td",10),t.EFF(38,"\n "),t.bVm(),t.EFF(39,"\n\n "),t.qex(40,12),t.EFF(41,"\n "),t.DNE(42,Ki,3,3,"th",9),t.EFF(43,"\n "),t.DNE(44,Zi,7,1,"td",10),t.EFF(45,"\n "),t.bVm(),t.EFF(46,"\n\n "),t.qex(47,13),t.EFF(48,"\n "),t.DNE(49,Qi,3,3,"th",9),t.EFF(50,"\n "),t.DNE(51,ta,2,1,"td",10),t.EFF(52,"\n "),t.bVm(),t.EFF(53,"\n\n "),t.qex(54,14),t.EFF(55,"\n "),t.DNE(56,na,3,3,"th",9),t.EFF(57,"\n "),t.DNE(58,sa,10,4,"td",10),t.EFF(59,"\n "),t.bVm(),t.EFF(60,"\n\n "),t.qex(61,15),t.EFF(62,"\n "),t.DNE(63,ca,3,3,"th",9),t.EFF(64,"\n "),t.DNE(65,la,4,2,"td",10),t.EFF(66,"\n "),t.bVm(),t.EFF(67,"\n\n "),t.qex(68,16),t.EFF(69,"\n "),t.DNE(70,pa,3,3,"th",9),t.EFF(71,"\n "),t.DNE(72,ma,7,0,"td",10),t.EFF(73,"\n "),t.bVm(),t.EFF(74,"\n\n "),t.DNE(75,da,1,0,"tr",17),t.EFF(76,"\n "),t.DNE(77,Fa,1,0,"tr",18),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n"),t.k0s(),t.EFF(80,"\n\n"),t.j41(81,"div",19),t.EFF(82,"\n "),t.j41(83,"button",20),t.EFF(84,"\n "),t.nrm(85,"fa-icon",21),t.EFF(86),t.nI1(87,"translate"),t.k0s(),t.EFF(88,"\n "),t.j41(89,"button",22),t.EFF(90),t.nI1(91,"translate"),t.nrm(92,"fa-icon",23),t.EFF(93,"\n "),t.k0s(),t.EFF(94,"\n"),t.k0s(),t.EFF(95,"\n")}if(2&i){const s=t.sdS(9);t.R7$(5),t.JRh(t.bMT(6,11,"labels.inputs.Charge")),t.R7$(6),t.Y8G("ngForOf",o.chargeData),t.R7$(6),t.Y8G("disabled",!s.value),t.R7$(3),t.SpI("\n ",t.bMT(21,13,"labels.buttons.Add"),"\n "),t.R7$(4),t.Y8G("dataSource",o.chargesDataSource)("hidden",0===o.chargesDataSource.length),t.R7$(51),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns),t.R7$(9),t.SpI("\n ",t.bMT(87,15,"labels.buttons.Previous"),"\n "),t.R7$(3),t.Y8G("disabled",!o.fixedDepositAccountFormValid),t.R7$(),t.SpI("\n ",t.bMT(91,17,"labels.buttons.Next"),"\n ")}},dependencies:[F.Sq,F.bT,P.aY,k.wT,h.$z,h.iY,u.rl,u.nJ,y.VO,x.F7,x.FR,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,_.D9,A.a],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return n})();const ua=["chartsTable"];function ga(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.name"),":"),t.R7$(4),t.JRh(e.fixedDepositsAccountProductTemplate.accountChart.name)}}function fa(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.End Date"),":"),t.R7$(4),t.JRh(t.bMT(8,4,null==e.fixedDepositsAccountProductTemplate?null:e.fixedDepositsAccountProductTemplate.accountChart.endDate))}}function _a(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Description"),":"),t.R7$(4),t.JRh(null==e.fixedDepositsAccountProductTemplate?null:e.fixedDepositsAccountProductTemplate.accountChart.description)}}function ha(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Period")))}function ba(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.E5c("\n ",e.fromPeriod,"-",e.toPeriod,"\xa0",e.periodType.value,"\n ")}}function Ca(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount Range")))}function Ea(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("",e.amountRangeFrom,"-",e.amountRangeTo,"")}}function xa(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function Da(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.annualInterestRate)}}function Ta(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Description")))}function Ma(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.description)}}function Pa(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Oa(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",27),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.View Incentives"),"\n "))}function Ia(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",28),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Hide Incentives"),"\n "))}function va(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",24),t.EFF(1,"\n "),t.j41(2,"button",25),t.bIt("click",function(){const o=t.eBV(e).dataIndex,s=t.XpG();return t.Njj(s.expandChartSlabIndex=s.expandChartSlabIndex===o?null:o)}),t.EFF(3,"\n "),t.DNE(4,Oa,5,3,"span",26),t.EFF(5,"\n "),t.DNE(6,Ia,5,3,"span",26),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.k0s()}if(2&n){const e=a.dataIndex,i=t.XpG();t.R7$(4),t.Y8G("ngIf",i.expandChartSlabIndex!==e),t.R7$(2),t.Y8G("ngIf",i.expandChartSlabIndex===e)}}function Ra(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Entity Type")))}function Aa(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.entityType.value,"\n ")}}function ka(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Name")))}function ya(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.attributeName.value,"\n ")}}function ja(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Condition Type")))}function Sa(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.conditionType.value),"\n ")}}function $a(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Value")))}function wa(n,a){if(1&n&&(t.j41(0,"td",41),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("ngSwitch",e.attributeName),t.R7$(),t.SpI("\n ",e.attributeValueDesc,"\n ")}}function Na(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Incentive Type")))}function Ga(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.incentiveType.value,"\n ")}}function Ya(n,a){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function Ja(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.amount,"\n ")}}function Va(n,a){1&n&&t.nrm(0,"tr",42)}function Ua(n,a){1&n&&t.nrm(0,"tr",43)}function Xa(n,a){if(1&n&&(t.j41(0,"table",33),t.EFF(1,"\n "),t.qex(2,34),t.EFF(3,"\n "),t.DNE(4,Ra,3,3,"th",8),t.EFF(5,"\n "),t.DNE(6,Aa,2,1,"td",9),t.EFF(7,"\n "),t.bVm(),t.EFF(8,"\n\n "),t.qex(9,35),t.EFF(10,"\n "),t.DNE(11,ka,3,3,"th",8),t.EFF(12,"\n "),t.DNE(13,ya,2,1,"td",9),t.EFF(14,"\n "),t.bVm(),t.EFF(15,"\n\n "),t.qex(16,36),t.EFF(17,"\n "),t.DNE(18,ja,3,3,"th",8),t.EFF(19,"\n "),t.DNE(20,Sa,3,3,"td",9),t.EFF(21,"\n "),t.bVm(),t.EFF(22,"\n\n "),t.qex(23,37),t.EFF(24,"\n "),t.DNE(25,$a,3,3,"th",8),t.EFF(26,"\n "),t.DNE(27,wa,2,2,"td",38),t.EFF(28,"\n "),t.bVm(),t.EFF(29,"\n\n "),t.qex(30,39),t.EFF(31,"\n "),t.DNE(32,Na,3,3,"th",8),t.EFF(33,"\n "),t.DNE(34,Ga,2,1,"td",9),t.EFF(35,"\n "),t.bVm(),t.EFF(36,"\n\n "),t.qex(37,40),t.EFF(38,"\n "),t.DNE(39,Ya,3,3,"th",8),t.EFF(40,"\n "),t.DNE(41,Ja,2,1,"td",9),t.EFF(42,"\n "),t.bVm(),t.EFF(43,"\n\n "),t.DNE(44,Va,1,0,"tr",15),t.EFF(45,"\n "),t.DNE(46,Ua,1,0,"tr",16),t.EFF(47,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG();t.Y8G("dataSource",e.incentives),t.R7$(44),t.Y8G("matHeaderRowDef",i.incentivesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",i.incentivesDisplayedColumns)}}function qa(n,a){if(1&n&&(t.j41(0,"td",24),t.EFF(1,"\n "),t.j41(2,"div",29),t.EFF(3,"\n "),t.j41(4,"mat-card",30),t.EFF(5,"\n "),t.j41(6,"h4",31),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,Xa,48,3,"table",32),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=a.$implicit,i=a.dataIndex,o=t.XpG();t.BMQ("colspan",o.chartSlabsDisplayedColumns.length),t.R7$(2),t.Y8G("@expandChartSlab",i===o.expandChartSlabIndex?"expanded":"collapsed"),t.R7$(5),t.SpI("\n ",t.bMT(8,4,"labels.heading.Incentives"),"\n "),t.R7$(3),t.Y8G("ngIf",e.incentives.length)}}function Ba(n,a){1&n&&t.nrm(0,"tr",42)}function za(n,a){1&n&&t.nrm(0,"tr",43)}function La(n,a){1&n&&t.nrm(0,"tr",44)}let et=(()=>{class n{constructor(){this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"]}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.interestRateChartData=this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs,this.chartsTableRef.renderRows())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-interest-rate-chart-step"]],viewQuery:function(i,o){if(1&i&&t.GBs(ua,7),2&i){let s;t.mGM(s=t.lsd())&&(o.chartsTableRef=s.first)}},inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[t.OA$],decls:95,vars:23,consts:[["chartsTable",""],[1,"layout-column","gap-2px"],["class","flex-fill",4,"ngIf"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"incentives","layout-row-wrap","flex-fill"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(i,o){1&i&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.DNE(2,ga,9,4,"div",2),t.EFF(3,"\n\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"span",4),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.j41(10,"span",5),t.EFF(11),t.nI1(12,"dateFormat"),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n\n "),t.DNE(15,fa,10,6,"div",2),t.EFF(16,"\n\n "),t.DNE(17,_a,9,4,"div",2),t.EFF(18,"\n\n "),t.j41(19,"div",3),t.EFF(20,"\n "),t.j41(21,"span",4),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.EFF(24,"\n "),t.j41(25,"span",5),t.EFF(26),t.k0s(),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"table",6,0),t.EFF(31,"\n "),t.qex(32,7),t.EFF(33,"\n "),t.DNE(34,ha,3,3,"th",8),t.EFF(35,"\n "),t.DNE(36,ba,2,3,"td",9),t.EFF(37,"\n "),t.bVm(),t.EFF(38,"\n\n "),t.qex(39,10),t.EFF(40,"\n "),t.DNE(41,Ca,3,3,"th",8),t.EFF(42,"\n "),t.DNE(43,Ea,2,2,"td",9),t.EFF(44,"\n "),t.bVm(),t.EFF(45,"\n\n "),t.qex(46,11),t.EFF(47,"\n "),t.DNE(48,xa,3,3,"th",8),t.EFF(49,"\n "),t.DNE(50,Da,2,1,"td",9),t.EFF(51,"\n "),t.bVm(),t.EFF(52,"\n\n "),t.qex(53,12),t.EFF(54,"\n "),t.DNE(55,Ta,3,3,"th",8),t.EFF(56,"\n "),t.DNE(57,Ma,2,1,"td",9),t.EFF(58,"\n "),t.bVm(),t.EFF(59,"\n\n "),t.qex(60,13),t.EFF(61,"\n "),t.DNE(62,Pa,3,3,"th",8),t.EFF(63,"\n "),t.DNE(64,va,9,2,"td",9),t.EFF(65,"\n "),t.bVm(),t.EFF(66,"\n\n "),t.qex(67,14),t.EFF(68,"\n "),t.DNE(69,qa,14,6,"td",9),t.EFF(70,"\n "),t.bVm(),t.EFF(71,"\n\n "),t.DNE(72,Ba,1,0,"tr",15),t.EFF(73,"\n "),t.DNE(74,za,1,0,"tr",16),t.EFF(75,"\n "),t.DNE(76,La,1,0,"tr",17),t.EFF(77,"\n "),t.k0s(),t.EFF(78,"\n"),t.k0s(),t.EFF(79,"\n\n"),t.j41(80,"div",18),t.EFF(81,"\n "),t.j41(82,"button",19),t.EFF(83,"\n "),t.nrm(84,"fa-icon",20),t.EFF(85),t.nI1(86,"translate"),t.k0s(),t.EFF(87,"\n "),t.j41(88,"button",21),t.EFF(89),t.nI1(90,"translate"),t.nrm(91,"fa-icon",22),t.EFF(92,"\n "),t.k0s(),t.EFF(93,"\n"),t.k0s(),t.EFF(94,"\n")),2&i&&(t.R7$(2),t.Y8G("ngIf",null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.name),t.R7$(5),t.SpI("",t.bMT(8,13,"labels.inputs.Valid from Date"),":"),t.R7$(4),t.JRh(t.bMT(12,15,null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.fromDate)),t.R7$(4),t.Y8G("ngIf",null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.endDate),t.R7$(2),t.Y8G("ngIf",null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.description),t.R7$(5),t.SpI("",t.bMT(23,17,"labels.inputs.Primary Grouping by Amount"),":"),t.R7$(4),t.JRh(null!=o.fixedDepositsAccountProductTemplate&&o.fixedDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount?"Yes":"No"),t.R7$(3),t.Y8G("dataSource",o.interestRateChartData),t.R7$(43),t.Y8G("matHeaderRowDef",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsIncentivesDisplayedColumns),t.R7$(9),t.SpI("\n ",t.bMT(86,19,"labels.buttons.Previous"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(90,21,"labels.buttons.Next"),"\n "))},dependencies:[F.bT,F.ux,P.aY,h.$z,g.RN,x.F7,x.FR,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,F.PV,_.D9,A.a],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:2em}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[(0,E.hZ)("expandChartSlab",[(0,E.wk)("collapsed",(0,E.iF)({height:"0px",minHeight:"0"})),(0,E.wk)("expanded",(0,E.iF)({height:"*"})),(0,E.kY)("expanded <=> collapsed",(0,E.i0)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return n})();var Ha=m(83127),Wa=m(56852);const Ka=()=>["../.."],Za=()=>[2e3];function Qa(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.External Id")),t.R7$(4),t.JRh(e.fixedDepositAccountData.externalId)}}function ts(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"find"),t.nI1(9,"translateKey"),t.k0s(),t.EFF(10,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,3,"labels.inputs.Lock-in Period"),":"),t.R7$(4),t.Lme("",e.fixedDepositAccountData.lockinPeriodFrequency,"\n ",t.i5U(9,10,t.ii3(8,5,e.fixedDepositAccountData.lockinPeriodFrequencyType,e.fixedDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,"id","value"),"catalogs"),"")}}function ns(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,3,"labels.inputs.Minimum Deposit Term"),":"),t.R7$(4),t.Lme("",e.fixedDepositsAccountProductTemplate.minDepositTerm,"\n ",t.i5U(8,5,null==e.fixedDepositsAccountProductTemplate.minDepositTermType?null:e.fixedDepositsAccountProductTemplate.minDepositTermType.value,"catalogs"),"")}}function es(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,3,"labels.inputs.In Multiples Of"),":"),t.R7$(4),t.Lme("",e.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm,"\n ",t.i5U(8,5,null==e.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType?null:e.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType.value,"catalogs"),"")}}function os(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Maximum Deposit Term")),t.R7$(4),t.Lme("",e.fixedDepositsAccountProductTemplate.maxDepositTerm,"\n ",t.i5U(8,5,null==e.fixedDepositsAccountProductTemplate.maxDepositTermType?null:e.fixedDepositsAccountProductTemplate.maxDepositTermType.value,"catalogs"),"")}}function is(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"find"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Linked Savings Account")),t.R7$(4),t.JRh(t.ii3(8,4,e.fixedDepositAccountData.linkAccountId,e.fixedDepositsAccountProductTemplate.savingsAccounts,"id","accountNo"))}}function as(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"find"),t.nI1(9,"translateKey"),t.k0s(),t.EFF(10,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Maturity Instructions")),t.R7$(4),t.JRh(t.i5U(9,9,t.ii3(8,4,e.fixedDepositAccountData.maturityInstructionId,e.fixedDepositsAccountProductTemplate.maturityInstructionOptions,"id","value"),"catalogs"))}}function ss(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Penal Interest")," (%):"),t.R7$(4),t.JRh(e.fixedDepositsAccountProductTemplate.preClosurePenalInterest+"% ("+(null==e.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType?null:e.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType.id)+")")}}function cs(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"yesNo"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Withhold Tax is Applicable"),":"),t.R7$(4),t.JRh(t.bMT(8,4,e.fixedDepositAccountData.withHoldTax))}}function rs(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.name"),":"),t.R7$(4),t.JRh(null==e.fixedDepositsAccountProductTemplate?null:e.fixedDepositsAccountProductTemplate.accountChart.name)}}function ls(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.End Date"),":"),t.R7$(4),t.JRh(t.bMT(8,4,null==e.fixedDepositsAccountProductTemplate?null:e.fixedDepositsAccountProductTemplate.accountChart.endDate))}}function ps(n,a){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Description"),":"),t.R7$(4),t.JRh(null==e.fixedDepositsAccountProductTemplate?null:e.fixedDepositsAccountProductTemplate.accountChart.description)}}function ms(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Period")))}function ds(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.E5c("\n ",e.fromPeriod," - ",e.toPeriod,"\xa0",t.i5U(2,3,e.periodType.value,"catalogs"),"\n ")}}function Fs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount Range")))}function us(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"formatNumber"),t.nI1(3,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.amountRangeFrom)," - ",t.bMT(3,4,e.amountRangeTo),"\n ")}}function gs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function fs(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("",t.bMT(2,1,e.annualInterestRate)," %")}}function _s(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Description")))}function hs(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.description)}}function bs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Cs(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",29),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.View Incentives"),"\n "))}function Es(n,a){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",30),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Hide Incentives"),"\n "))}function xs(n,a){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.EFF(1,"\n "),t.j41(2,"button",27),t.bIt("click",function(){const o=t.eBV(e).dataIndex,s=t.XpG();return t.Njj(s.expandChartSlabIndex=s.expandChartSlabIndex===o?null:o)}),t.EFF(3,"\n "),t.DNE(4,Cs,5,3,"span",28),t.EFF(5,"\n "),t.DNE(6,Es,5,3,"span",28),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.k0s()}if(2&n){const e=a.dataIndex,i=t.XpG();t.R7$(4),t.Y8G("ngIf",i.expandChartSlabIndex!==e),t.R7$(2),t.Y8G("ngIf",i.expandChartSlabIndex===e)}}function Ds(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Entity Type")))}function Ts(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.entityType.value,"\n ")}}function Ms(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Name")))}function Ps(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.attributeName.value,"\n ")}}function Os(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Condition Type")))}function Is(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.conditionType.value),"\n ")}}function vs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Value")))}function Rs(n,a){if(1&n&&(t.j41(0,"td",43),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.Y8G("ngSwitch",e.attributeName),t.R7$(),t.SpI("\n ",e.attributeValueDesc,"\n ")}}function As(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Incentive Type")))}function ks(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.incentiveType.value,"\n ")}}function ys(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function js(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.amount),"\n ")}}function Ss(n,a){1&n&&t.nrm(0,"tr",44)}function $s(n,a){1&n&&t.nrm(0,"tr",45)}function ws(n,a){if(1&n&&(t.j41(0,"table",35),t.EFF(1,"\n "),t.qex(2,36),t.EFF(3,"\n "),t.DNE(4,Ds,3,3,"th",9),t.EFF(5,"\n "),t.DNE(6,Ts,2,1,"td",10),t.EFF(7,"\n "),t.bVm(),t.EFF(8,"\n\n "),t.qex(9,37),t.EFF(10,"\n "),t.DNE(11,Ms,3,3,"th",9),t.EFF(12,"\n "),t.DNE(13,Ps,2,1,"td",10),t.EFF(14,"\n "),t.bVm(),t.EFF(15,"\n\n "),t.qex(16,38),t.EFF(17,"\n "),t.DNE(18,Os,3,3,"th",9),t.EFF(19,"\n "),t.DNE(20,Is,3,3,"td",10),t.EFF(21,"\n "),t.bVm(),t.EFF(22,"\n\n "),t.qex(23,39),t.EFF(24,"\n "),t.DNE(25,vs,3,3,"th",9),t.EFF(26,"\n "),t.DNE(27,Rs,2,2,"td",40),t.EFF(28,"\n "),t.bVm(),t.EFF(29,"\n\n "),t.qex(30,41),t.EFF(31,"\n "),t.DNE(32,As,3,3,"th",9),t.EFF(33,"\n "),t.DNE(34,ks,2,1,"td",10),t.EFF(35,"\n "),t.bVm(),t.EFF(36,"\n\n "),t.qex(37,42),t.EFF(38,"\n "),t.DNE(39,ys,3,3,"th",9),t.EFF(40,"\n "),t.DNE(41,js,3,3,"td",10),t.EFF(42,"\n "),t.bVm(),t.EFF(43,"\n\n "),t.DNE(44,Ss,1,0,"tr",16),t.EFF(45,"\n "),t.DNE(46,$s,1,0,"tr",17),t.EFF(47,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG();t.Y8G("dataSource",e.incentives),t.R7$(44),t.Y8G("matHeaderRowDef",i.incentivesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",i.incentivesDisplayedColumns)}}function Ns(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1,"\n "),t.j41(2,"div",31),t.EFF(3,"\n "),t.j41(4,"mat-card",32),t.EFF(5,"\n "),t.j41(6,"h4",33),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,ws,48,3,"table",34),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=a.$implicit,i=a.dataIndex,o=t.XpG();t.BMQ("colspan",o.chartSlabsDisplayedColumns.length),t.R7$(2),t.Y8G("@expandChartSlab",i===o.expandChartSlabIndex?"expanded":"collapsed"),t.R7$(5),t.SpI("\n ",t.bMT(8,4,"labels.heading.Incentives"),"\n "),t.R7$(3),t.Y8G("ngIf",e.incentives.length)}}function Gs(n,a){1&n&&t.nrm(0,"tr",44)}function Ys(n,a){1&n&&t.nrm(0,"tr",45)}function Js(n,a){1&n&&t.nrm(0,"tr",46)}function Vs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.name")))}function Us(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.name+", "+e.currency.displaySymbol,"\n ")}}function Xs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Type")))}function qs(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.chargeCalculationType.value,"\n ")}}function Bs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount")))}function zs(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.amount,"\n ")}}function Ls(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Date")))}function Hs(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.dueDate)||"Unassigned","\n ")}}function Ws(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",e.feeOnMonthDay?t.i5U(2,1,t.lJ4(4,Za).concat(e.feeOnMonthDay),"dd MMMM"):"Unassigned","\n ")}}function Ks(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.N/A"),"\n "))}function Zs(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1,"\n "),t.DNE(2,Hs,3,3,"span",28),t.EFF(3,"\n "),t.DNE(4,Ws,3,5,"span",28),t.EFF(5,"\n "),t.DNE(6,Ks,3,3,"span",28),t.EFF(7,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("ngIf","Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf","Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf",!("Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value))}}function Qs(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Repayments Every")))}function tc(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.feeInterval||"Not Provided","\n ")}}function nc(n,a){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Collected On")))}function ec(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.SpI("\n ",e.chargeTimeType.value,"\n ")}}function oc(n,a){1&n&&t.nrm(0,"tr",44)}function ic(n,a){1&n&&t.nrm(0,"tr",45)}function ac(n,a){if(1&n&&(t.j41(0,"div",47),t.EFF(1,"\n "),t.j41(2,"h3",1),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.nrm(6,"mat-divider",2),t.EFF(7,"\n "),t.j41(8,"table",35),t.EFF(9,"\n "),t.qex(10,48),t.EFF(11,"\n "),t.DNE(12,Vs,3,3,"th",9),t.EFF(13,"\n "),t.DNE(14,Us,2,1,"td",10),t.EFF(15,"\n "),t.bVm(),t.EFF(16,"\n\n "),t.qex(17,49),t.EFF(18,"\n "),t.DNE(19,Xs,3,3,"th",9),t.EFF(20,"\n "),t.DNE(21,qs,2,1,"td",10),t.EFF(22,"\n "),t.bVm(),t.EFF(23,"\n\n "),t.qex(24,42),t.EFF(25,"\n "),t.DNE(26,Bs,3,3,"th",9),t.EFF(27,"\n "),t.DNE(28,zs,2,1,"td",10),t.EFF(29,"\n "),t.bVm(),t.EFF(30,"\n\n "),t.qex(31,50),t.EFF(32,"\n "),t.DNE(33,Ls,3,3,"th",9),t.EFF(34,"\n "),t.DNE(35,Zs,8,3,"td",10),t.EFF(36,"\n "),t.bVm(),t.EFF(37,"\n\n "),t.qex(38,51),t.EFF(39,"\n "),t.DNE(40,Qs,3,3,"th",9),t.EFF(41,"\n "),t.DNE(42,tc,2,1,"td",10),t.EFF(43,"\n "),t.bVm(),t.EFF(44,"\n\n "),t.qex(45,52),t.EFF(46,"\n "),t.DNE(47,nc,3,3,"th",9),t.EFF(48,"\n "),t.DNE(49,ec,2,1,"td",10),t.EFF(50,"\n "),t.bVm(),t.EFF(51,"\n\n "),t.DNE(52,oc,1,0,"tr",16),t.EFF(53,"\n "),t.DNE(54,ic,1,0,"tr",17),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,4,"labels.heading.Charges")),t.R7$(5),t.Y8G("dataSource",e.fixedDepositAccountData.charges),t.R7$(44),t.Y8G("matHeaderRowDef",e.chargesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",e.chargesDisplayedColumns)}}let ot=(()=>{class n{constructor(){this.chargesDisplayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery"],this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.submitEvent=new t.bkB}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.interestRateChartData=this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-fixed-deposit-account-preview-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate",fixedDepositAccountData:"fixedDepositAccountData"},outputs:{submitEvent:"submitEvent"},features:[t.OA$],decls:304,vars:176,consts:[[1,"layout-row-wrap","responsive-column"],[1,"mat-h3","flex-100"],[1,"flex-100"],[1,"layout-row","flex-100"],[1,"flex-40"],[1,"flex-60"],["class","layout-row flex-100",4,"ngIf"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1","irc-table",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["class","layout-row-wrap responsive-column flex-100",4,"ngIf"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-100","incentives"],[1,"layout-row-wrap","flex-100"],[1,"m-b-10","flex-13"],["class","flex-100 mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-100","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"],[1,"layout-row-wrap","responsive-column","flex-100"],["matColumnDef","name"],["matColumnDef","chargeCalculationType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","chargeTimeType"]],template:function(i,o){1&i&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"h3",1),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.nrm(6,"mat-divider",2),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"span",4),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.j41(14,"span",5),t.EFF(15),t.nI1(16,"find"),t.k0s(),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n\n "),t.j41(19,"div",3),t.EFF(20,"\n "),t.j41(21,"span",4),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.EFF(24,"\n "),t.j41(25,"span",5),t.EFF(26),t.nI1(27,"dateFormat"),t.k0s(),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n\n "),t.DNE(30,Qa,9,4,"div",6),t.EFF(31,"\n\n "),t.j41(32,"div",3),t.EFF(33,"\n "),t.j41(34,"span",4),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.EFF(37,"\n "),t.j41(38,"span",5),t.EFF(39),t.nI1(40,"find"),t.nI1(41,"translateKey"),t.k0s(),t.EFF(42,"\n "),t.k0s(),t.EFF(43,"\n\n "),t.j41(44,"h3",1),t.EFF(45),t.nI1(46,"translate"),t.k0s(),t.EFF(47,"\n\n "),t.nrm(48,"mat-divider",2),t.EFF(49,"\n "),t.j41(50,"div",3),t.EFF(51,"\n "),t.j41(52,"span",4),t.EFF(53),t.nI1(54,"translate"),t.k0s(),t.EFF(55,"\n "),t.j41(56,"span",5),t.EFF(57),t.k0s(),t.EFF(58,"\n "),t.k0s(),t.EFF(59,"\n\n "),t.j41(60,"div",3),t.EFF(61,"\n "),t.j41(62,"span",4),t.EFF(63),t.nI1(64,"translate"),t.k0s(),t.EFF(65,"\n "),t.j41(66,"span",5),t.EFF(67),t.k0s(),t.EFF(68,"\n "),t.k0s(),t.EFF(69,"\n\n "),t.j41(70,"div",3),t.EFF(71,"\n "),t.j41(72,"span",4),t.EFF(73),t.nI1(74,"translate"),t.k0s(),t.EFF(75,"\n "),t.j41(76,"span",5),t.EFF(77),t.k0s(),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n\n "),t.j41(80,"h3",1),t.EFF(81),t.nI1(82,"translate"),t.k0s(),t.EFF(83,"\n\n "),t.nrm(84,"mat-divider",2),t.EFF(85,"\n "),t.j41(86,"div",3),t.EFF(87,"\n "),t.j41(88,"span",4),t.EFF(89),t.nI1(90,"translate"),t.k0s(),t.EFF(91,"\n "),t.j41(92,"span",5),t.EFF(93),t.nI1(94,"currency"),t.k0s(),t.EFF(95,"\n "),t.k0s(),t.EFF(96,"\n\n "),t.j41(97,"div",3),t.EFF(98,"\n "),t.j41(99,"span",4),t.EFF(100),t.nI1(101,"translate"),t.k0s(),t.EFF(102,"\n "),t.j41(103,"span",5),t.EFF(104),t.nI1(105,"find"),t.nI1(106,"translateKey"),t.k0s(),t.EFF(107,"\n "),t.k0s(),t.EFF(108,"\n\n "),t.j41(109,"div",3),t.EFF(110,"\n "),t.j41(111,"span",4),t.EFF(112),t.nI1(113,"translate"),t.k0s(),t.EFF(114,"\n "),t.j41(115,"span",5),t.EFF(116),t.nI1(117,"find"),t.nI1(118,"translateKey"),t.k0s(),t.EFF(119,"\n "),t.k0s(),t.EFF(120,"\n\n "),t.j41(121,"div",3),t.EFF(122,"\n "),t.j41(123,"span",4),t.EFF(124),t.nI1(125,"translate"),t.k0s(),t.EFF(126,"\n "),t.j41(127,"span",5),t.EFF(128),t.nI1(129,"find"),t.nI1(130,"translateKey"),t.k0s(),t.EFF(131,"\n "),t.k0s(),t.EFF(132,"\n\n "),t.j41(133,"div",3),t.EFF(134,"\n "),t.j41(135,"span",4),t.EFF(136),t.nI1(137,"translate"),t.k0s(),t.EFF(138,"\n "),t.j41(139,"span",5),t.EFF(140),t.nI1(141,"find"),t.nI1(142,"translateKey"),t.k0s(),t.EFF(143,"\n "),t.k0s(),t.EFF(144,"\n\n "),t.j41(145,"div",3),t.EFF(146,"\n "),t.j41(147,"span",4),t.EFF(148),t.nI1(149,"translate"),t.k0s(),t.EFF(150,"\n "),t.j41(151,"span",5),t.EFF(152),t.nI1(153,"find"),t.nI1(154,"translateKey"),t.k0s(),t.EFF(155,"\n "),t.k0s(),t.EFF(156,"\n\n "),t.j41(157,"h3",1),t.EFF(158),t.nI1(159,"translate"),t.k0s(),t.EFF(160,"\n\n "),t.nrm(161,"mat-divider",2),t.EFF(162,"\n "),t.DNE(163,ts,11,13,"div",6),t.EFF(164,"\n\n "),t.DNE(165,ns,10,8,"div",6),t.EFF(166,"\n\n "),t.DNE(167,es,10,8,"div",6),t.EFF(168,"\n\n "),t.DNE(169,os,10,8,"div",6),t.EFF(170,"\n\n "),t.j41(171,"div",3),t.EFF(172,"\n "),t.j41(173,"span",4),t.EFF(174),t.nI1(175,"translate"),t.k0s(),t.EFF(176,"\n "),t.j41(177,"span",5),t.EFF(178),t.nI1(179,"yesNo"),t.k0s(),t.EFF(180,"\n "),t.k0s(),t.EFF(181,"\n\n "),t.DNE(182,is,10,9,"div",6),t.EFF(183,"\n\n "),t.DNE(184,as,11,12,"div",6),t.EFF(185,"\n\n "),t.j41(186,"div",3),t.EFF(187,"\n "),t.j41(188,"span",4),t.EFF(189),t.nI1(190,"translate"),t.k0s(),t.EFF(191,"\n "),t.j41(192,"span",5),t.EFF(193),t.nI1(194,"yesNo"),t.k0s(),t.EFF(195,"\n "),t.k0s(),t.EFF(196,"\n\n "),t.DNE(197,ss,9,4,"div",6),t.EFF(198,"\n\n "),t.DNE(199,cs,10,6,"div",6),t.EFF(200,"\n\n "),t.j41(201,"h3",1),t.EFF(202),t.nI1(203,"translate"),t.k0s(),t.EFF(204,"\n\n "),t.nrm(205,"mat-divider",2),t.EFF(206,"\n "),t.DNE(207,rs,9,4,"div",6),t.EFF(208,"\n\n "),t.j41(209,"div",3),t.EFF(210,"\n "),t.j41(211,"span",4),t.EFF(212),t.nI1(213,"translate"),t.k0s(),t.EFF(214,"\n "),t.j41(215,"span",5),t.EFF(216),t.nI1(217,"dateFormat"),t.k0s(),t.EFF(218,"\n "),t.k0s(),t.EFF(219,"\n\n "),t.DNE(220,ls,10,6,"div",6),t.EFF(221,"\n\n "),t.DNE(222,ps,9,4,"div",6),t.EFF(223,"\n\n "),t.j41(224,"div",3),t.EFF(225,"\n "),t.j41(226,"span",4),t.EFF(227),t.nI1(228,"translate"),t.k0s(),t.EFF(229,"\n "),t.j41(230,"span",5),t.EFF(231),t.nI1(232,"yesNo"),t.k0s(),t.EFF(233,"\n "),t.k0s(),t.EFF(234,"\n\n "),t.j41(235,"table",7),t.EFF(236,"\n "),t.qex(237,8),t.EFF(238,"\n "),t.DNE(239,ms,3,3,"th",9),t.EFF(240,"\n "),t.DNE(241,ds,3,6,"td",10),t.EFF(242,"\n "),t.bVm(),t.EFF(243,"\n\n "),t.qex(244,11),t.EFF(245,"\n "),t.DNE(246,Fs,3,3,"th",9),t.EFF(247,"\n "),t.DNE(248,us,4,6,"td",10),t.EFF(249,"\n "),t.bVm(),t.EFF(250,"\n\n "),t.qex(251,12),t.EFF(252,"\n "),t.DNE(253,gs,3,3,"th",9),t.EFF(254,"\n "),t.DNE(255,fs,3,3,"td",10),t.EFF(256,"\n "),t.bVm(),t.EFF(257,"\n\n "),t.qex(258,13),t.EFF(259,"\n "),t.DNE(260,_s,3,3,"th",9),t.EFF(261,"\n "),t.DNE(262,hs,2,1,"td",10),t.EFF(263,"\n "),t.bVm(),t.EFF(264,"\n\n "),t.qex(265,14),t.EFF(266,"\n "),t.DNE(267,bs,3,3,"th",9),t.EFF(268,"\n "),t.DNE(269,xs,9,2,"td",10),t.EFF(270,"\n "),t.bVm(),t.EFF(271,"\n\n "),t.qex(272,15),t.EFF(273,"\n "),t.DNE(274,Ns,14,6,"td",10),t.EFF(275,"\n "),t.bVm(),t.EFF(276,"\n\n "),t.DNE(277,Gs,1,0,"tr",16),t.EFF(278,"\n "),t.DNE(279,Ys,1,0,"tr",17),t.EFF(280,"\n "),t.DNE(281,Js,1,0,"tr",18),t.EFF(282,"\n "),t.k0s(),t.EFF(283,"\n\n "),t.DNE(284,ac,57,6,"div",19),t.EFF(285,"\n"),t.k0s(),t.EFF(286,"\n\n"),t.j41(287,"div",20),t.EFF(288,"\n "),t.j41(289,"button",21),t.EFF(290,"\n "),t.nrm(291,"fa-icon",22),t.EFF(292),t.nI1(293,"translate"),t.k0s(),t.EFF(294,"\n "),t.j41(295,"button",23),t.EFF(296),t.nI1(297,"translate"),t.k0s(),t.EFF(298,"\n "),t.j41(299,"button",24),t.bIt("click",function(){return o.submitEvent.emit()}),t.EFF(300),t.nI1(301,"translate"),t.k0s(),t.EFF(302,"\n"),t.k0s(),t.EFF(303,"\n")),2&i&&(t.R7$(3),t.JRh(t.bMT(4,59,"labels.heading.Details")),t.R7$(8),t.JRh(t.bMT(12,61,"labels.inputs.Product")),t.R7$(4),t.JRh(t.ii3(16,63,o.fixedDepositAccountData.productId,o.fixedDepositsAccountTemplate.productOptions,"id","name")),t.R7$(7),t.JRh(t.bMT(23,68,"labels.inputs.Submitted On")),t.R7$(4),t.JRh(t.bMT(27,70,o.fixedDepositAccountData.submittedOnDate)),t.R7$(4),t.Y8G("ngIf",o.fixedDepositAccountData.externalId),t.R7$(5),t.JRh(t.bMT(36,72,"labels.inputs.Field Officer")),t.R7$(4),t.JRh(t.i5U(41,79,t.ii3(40,74,o.fixedDepositAccountData.fieldOfficerId,o.fixedDepositsAccountProductTemplate.fieldOfficerOptions,"id","displayName")||"Unassigned","inputs")),t.R7$(6),t.JRh(t.bMT(46,82,"labels.heading.Currency")),t.R7$(8),t.JRh(t.bMT(54,84,"labels.inputs.Currency")),t.R7$(4),t.JRh(o.fixedDepositsAccountProductTemplate.currency.code),t.R7$(6),t.JRh(t.bMT(64,86,"labels.inputs.Currency Multiple")),t.R7$(4),t.JRh(o.fixedDepositsAccountProductTemplate.currency.inMultiplesOf),t.R7$(6),t.JRh(t.bMT(74,88,"labels.inputs.Decimal Places")),t.R7$(4),t.JRh(o.fixedDepositsAccountProductTemplate.currency.decimalPlaces),t.R7$(4),t.JRh(t.bMT(82,90,"labels.heading.Terms")),t.R7$(8),t.SpI("",t.bMT(90,92,"labels.inputs.Fixed Deposit Amount"),":"),t.R7$(4),t.JRh(t.ii3(94,94,o.fixedDepositAccountData.depositAmount,o.fixedDepositsAccountProductTemplate.currency.code,"symbol-narrow","1.2-2")),t.R7$(7),t.SpI("",t.bMT(101,99,"labels.inputs.Deposit Period"),":"),t.R7$(4),t.Lme("",o.fixedDepositAccountData.depositPeriod,"\n ",t.i5U(106,106,t.ii3(105,101,o.fixedDepositAccountData.depositPeriodFrequencyId,o.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,"id","value"),"catalogs"),""),t.R7$(8),t.SpI("",t.bMT(113,109,"labels.inputs.Interest Compounding Period"),":"),t.R7$(4),t.JRh(t.i5U(118,116,t.ii3(117,111,o.fixedDepositAccountData.interestCompoundingPeriodType,o.fixedDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,"id","value"),"catalogs")),t.R7$(8),t.SpI("",t.bMT(125,119,"labels.inputs.Interest Posting Period"),":"),t.R7$(4),t.JRh(t.i5U(130,126,t.ii3(129,121,o.fixedDepositAccountData.interestPostingPeriodType,o.fixedDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,"id","value"),"catalogs")),t.R7$(8),t.SpI("",t.bMT(137,129,"labels.inputs.Interest Calculated using"),":"),t.R7$(4),t.JRh(t.i5U(142,136,t.ii3(141,131,o.fixedDepositAccountData.interestCalculationType,o.fixedDepositsAccountProductTemplate.interestCalculationTypeOptions,"id","value"),"catalogs")),t.R7$(8),t.SpI("",t.bMT(149,139,"labels.inputs.Days in Year"),":"),t.R7$(4),t.JRh(t.i5U(154,146,t.ii3(153,141,o.fixedDepositAccountData.interestCalculationDaysInYearType,o.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,"id","value"),"catalogs")),t.R7$(6),t.JRh(t.bMT(159,149,"labels.heading.Settings")),t.R7$(5),t.Y8G("ngIf",o.fixedDepositAccountData.lockinPeriodFrequency),t.R7$(2),t.Y8G("ngIf",o.fixedDepositsAccountProductTemplate.minDepositTerm),t.R7$(2),t.Y8G("ngIf",o.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm),t.R7$(2),t.Y8G("ngIf",o.fixedDepositsAccountProductTemplate.maxDepositTerm),t.R7$(5),t.SpI("",t.bMT(175,151,"labels.inputs.Transfer Interest to Savings Account"),"?"),t.R7$(4),t.JRh(t.bMT(179,153,o.fixedDepositAccountData.transferInterestToSavings)),t.R7$(4),t.Y8G("ngIf",o.fixedDepositAccountData.transferInterestToSavings),t.R7$(2),t.Y8G("ngIf",o.fixedDepositAccountData.maturityInstructionId),t.R7$(5),t.SpI("",t.bMT(190,155,"labels.inputs.Apply Penal Interest (less)"),":"),t.R7$(4),t.JRh(t.bMT(194,157,o.fixedDepositsAccountProductTemplate.preClosurePenalApplicable)),t.R7$(4),t.Y8G("ngIf",o.fixedDepositsAccountProductTemplate.preClosurePenalApplicable),t.R7$(2),t.Y8G("ngIf",o.fixedDepositsAccountProductTemplate.withHoldTax),t.R7$(3),t.JRh(t.bMT(203,159,"labels.heading.Interest Rate Chart")),t.R7$(5),t.Y8G("ngIf",null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.name),t.R7$(5),t.SpI("",t.bMT(213,161,"labels.inputs.Valid from Date"),":"),t.R7$(4),t.JRh(t.bMT(217,163,null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.fromDate)),t.R7$(4),t.Y8G("ngIf",null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.endDate),t.R7$(2),t.Y8G("ngIf",null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.description),t.R7$(5),t.SpI("",t.bMT(228,165,"labels.inputs.Primary Grouping by Amount"),":"),t.R7$(4),t.JRh(t.bMT(232,167,null==o.fixedDepositsAccountProductTemplate?null:o.fixedDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount)),t.R7$(4),t.Y8G("dataSource",o.interestRateChartData),t.R7$(42),t.Y8G("matHeaderRowDef",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsIncentivesDisplayedColumns),t.R7$(3),t.Y8G("ngIf",o.fixedDepositAccountData.charges.length),t.R7$(8),t.SpI("\n ",t.bMT(293,169,"labels.buttons.Previous"),"\n "),t.R7$(3),t.Y8G("routerLink",t.lJ4(175,Ka)),t.R7$(),t.SpI("\n ",t.bMT(297,171,"labels.buttons.Cancel"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(301,173,"labels.buttons.Submit"),"\n "))},dependencies:[F.bT,F.ux,P.aY,h.$z,g.RN,L.q,x.FR,l.Zl,l.tL,l.ji,l.cC,l.YV,l.iL,l.KS,l.$R,l.YZ,l.NB,d.Wk,F.PV,F.oe,_.D9,Ha._,A.a,Y.p,Wa.t,R.D],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-b[_ngcontent-%COMP%]{margin-bottom:.25em}.irc-table[_ngcontent-%COMP%]{width:100%}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[(0,E.hZ)("expandChartSlab",[(0,E.wk)("collapsed",(0,E.iF)({height:"0px",minHeight:"0"})),(0,E.wk)("expanded",(0,E.iF)({height:"*"})),(0,E.kY)("expanded <=> collapsed",(0,E.i0)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return n})();function sc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",14),t.EFF(2,"\n "))}function cc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",14),t.EFF(2,"\n "))}function rc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",15),t.EFF(2,"\n "))}function lc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",16),t.EFF(2,"\n "))}function pc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",17),t.EFF(2,"\n "))}function mc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.DETAILS"))}function dc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.TERMS"))}function Fc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.SETTINGS"))}function uc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.INTEREST RATE CHART"))}function gc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.CHARGES"))}function fc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.PREVIEW"))}function _c(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-step",18),t.EFF(1,"\n "),t.DNE(2,fc,2,3,"ng-template",9),t.EFF(3,"\n\n "),t.j41(4,"mifosx-fixed-deposit-account-preview-step",19),t.bIt("submitEvent",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.submit())}),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",e.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",e.fixedDepositsAccountProductTemplate)("fixedDepositAccountData",e.fixedDepositAccount)}}let hc=(()=>{class n{constructor(e,i,o,s,r){this.route=e,this.router=i,this.dateUtils=o,this.fixedDepositsService=s,this.settingsService=r,this.route.data.subscribe(p=>{this.fixedDepositsAccountTemplate=p.fixedDepositsAccountTemplate})}setTemplate(e){this.fixedDepositsAccountProductTemplate=e}get fixedDepositAccountDetailsForm(){return this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetailsForm}get fixedDepositAccountTermsForm(){return this.fixedDepositAccountTermsStep.fixedDepositAccountTermsForm}get fixedDepositAccountSettingsForm(){return this.fixedDepositAccountSettingsStep.fixedDepositAccountSettingsForm}get fixedDepositAccountFormValid(){return this.fixedDepositAccountDetailsForm.valid&&this.fixedDepositAccountTermsForm.valid&&this.fixedDepositAccountSettingsForm.valid}get fixedDepositAccount(){return{...this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetails,...this.fixedDepositAccountTermsStep.fixedDepositAccountTerms,...this.fixedDepositAccountSettingsStep.fixedDepositAccountSettings,...this.fixedDepositAccountChargesStep.fixedDepositAccountCharges}}submit(){const e=this.settingsService.language.code,i=this.settingsService.dateFormat,o="dd MMMM",s={...this.fixedDepositAccount,clientId:this.fixedDepositsAccountTemplate.clientId,charges:this.fixedDepositAccount.charges.map(r=>({chargeId:r.id,amount:r.amount,dueDate:r.dueDate&&this.dateUtils.formatDate(r.dueDate,i),feeOnMonthDay:r.feeOnMonthDay&&this.dateUtils.formatDate([2e3].concat(r.feeOnMonthDay),o),feeInterval:r.feeInterval})),submittedOnDate:this.dateUtils.formatDate(this.fixedDepositAccount.submittedOnDate,i),charts:[{chartSlabs:this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs}],dateFormat:i,monthDayFormat:o,locale:e};this.fixedDepositsService.createFixedDepositAccount(s).subscribe(r=>{this.router.navigate(["../",r.resourceId],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX),t.rXU(d.Ix),t.rXU(M.A),t.rXU(D),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-create-fixed-deposit-account"]],viewQuery:function(i,o){if(1&i&&(t.GBs(V,7),t.GBs(U,7),t.GBs(X,7),t.GBs(q,7)),2&i){let s;t.mGM(s=t.lsd())&&(o.fixedDepositsAccountDetailsStep=s.first),t.mGM(s=t.lsd())&&(o.fixedDepositAccountTermsStep=s.first),t.mGM(s=t.lsd())&&(o.fixedDepositAccountSettingsStep=s.first),t.mGM(s=t.lsd())&&(o.fixedDepositAccountChargesStep=s.first)}},decls:59,vars:14,consts:[["fixedDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"fixedDepositsAccountProductTemplate","fixedDepositsAccountTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountData"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-horizontal-stepper",2,0),t.EFF(4,"\n "),t.DNE(5,sc,3,0,"ng-template",3),t.EFF(6,"\n\n "),t.DNE(7,cc,3,0,"ng-template",4),t.EFF(8,"\n\n "),t.DNE(9,rc,3,0,"ng-template",5),t.EFF(10,"\n\n "),t.DNE(11,lc,3,0,"ng-template",6),t.EFF(12,"\n\n "),t.DNE(13,pc,3,0,"ng-template",7),t.EFF(14,"\n\n "),t.j41(15,"mat-step",8),t.EFF(16,"\n "),t.DNE(17,mc,2,3,"ng-template",9),t.EFF(18,"\n\n "),t.j41(19,"mifosx-fixed-deposit-account-details-step",10),t.bIt("fixedDepositsAccountProductTemplate",function(p){return t.eBV(s),t.Njj(o.setTemplate(p))}),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.k0s(),t.EFF(22,"\n\n "),t.j41(23,"mat-step",8),t.EFF(24,"\n "),t.DNE(25,dc,2,3,"ng-template",9),t.EFF(26,"\n\n "),t.j41(27,"mifosx-fixed-deposit-account-terms-step",11),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n\n "),t.j41(31,"mat-step",8),t.EFF(32,"\n "),t.DNE(33,Fc,2,3,"ng-template",9),t.EFF(34,"\n\n "),t.j41(35,"mifosx-fixed-deposit-account-settings-step",11),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n\n "),t.j41(39,"mat-step"),t.EFF(40,"\n "),t.DNE(41,uc,2,3,"ng-template",9),t.EFF(42,"\n\n "),t.j41(43,"mifosx-fixed-deposit-account-interest-rate-chart-step",11),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n\n "),t.j41(47,"mat-step"),t.EFF(48,"\n "),t.DNE(49,gc,2,3,"ng-template",9),t.EFF(50,"\n\n "),t.j41(51,"mifosx-fixed-deposit-account-charges-step",12),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n\n "),t.DNE(55,_c,7,3,"mat-step",13),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n"),t.k0s(),t.EFF(58,"\n")}2&i&&(t.R7$(15),t.Y8G("stepControl",o.fixedDepositAccountDetailsForm),t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountTemplate),t.R7$(4),t.Y8G("stepControl",o.fixedDepositAccountTermsForm),t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate),t.R7$(4),t.Y8G("stepControl",o.fixedDepositAccountSettingsForm),t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate),t.R7$(8),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate),t.R7$(8),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate)("fixedDepositAccountFormValid",o.fixedDepositAccountFormValid),t.R7$(4),t.Y8G("ngIf",o.fixedDepositAccountFormValid))},dependencies:[F.bT,P.aY,x.V5,x.Ti,x.M6,x.xJ,V,U,q,X,et,ot,_.D9]})}}return n})();function bc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",14),t.EFF(2,"\n "))}function Cc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",14),t.EFF(2,"\n "))}function Ec(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",15),t.EFF(2,"\n "))}function xc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",16),t.EFF(2,"\n "))}function Dc(n,a){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",17),t.EFF(2,"\n "))}function Tc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.DETAILS"))}function Mc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.TERMS"))}function Pc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.SETTINGS"))}function Oc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.INTEREST RATE CHART"))}function Ic(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.CHARGES"))}function vc(n,a){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.PREVIEW"))}function Rc(n,a){if(1&n){const e=t.RV6();t.j41(0,"mat-step",18),t.EFF(1,"\n "),t.DNE(2,vc,2,3,"ng-template",9),t.EFF(3,"\n\n "),t.j41(4,"mifosx-fixed-deposit-account-preview-step",19),t.bIt("submitEvent",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.submit())}),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",e.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",e.fixedDepositsAccountProductTemplate)("fixedDepositAccountData",e.fixedDepositAccount)}}let Ac=(()=>{class n{constructor(e,i,o,s,r){this.route=e,this.router=i,this.dateUtils=o,this.fixedDepositsService=s,this.settingsService=r,this.route.data.subscribe(p=>{this.fixedDepositsAccountAndTemplate=p.fixedDepositsAccountAndTemplate})}setTemplate(e){this.fixedDepositsAccountProductTemplate=e,this.currency=this.fixedDepositsAccountAndTemplate.currency}get fixedDepositAccountDetailsForm(){return this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetailsForm}get fixedDepositAccountTermsForm(){return this.fixedDepositAccountTermsStep.fixedDepositAccountTermsForm}get fixedDepositAccountSettingsForm(){return this.fixedDepositAccountSettingsStep.fixedDepositAccountSettingsForm}get fixedDepositAccountFormValidAndNotPristine(){return this.fixedDepositAccountDetailsForm.valid&&this.fixedDepositAccountTermsForm.valid&&this.fixedDepositAccountSettingsForm.valid&&(!this.fixedDepositAccountDetailsForm.pristine||!this.fixedDepositAccountTermsForm.pristine||!this.fixedDepositAccountSettingsForm.pristine||!this.fixedDepositAccountChargesStep.pristine)}get fixedDepositAccount(){return{...this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetails,...this.fixedDepositAccountTermsStep.fixedDepositAccountTerms,...this.fixedDepositAccountSettingsStep.fixedDepositAccountSettings,...this.fixedDepositAccountChargesStep?.fixedDepositAccountCharges}}submit(){const e=this.settingsService.language.code,i=this.settingsService.dateFormat,o="dd MMMM",s={...this.fixedDepositAccount,clientId:this.fixedDepositsAccountAndTemplate.clientId,charges:this.fixedDepositAccount.charges.map(r=>({chargeId:r.id,amount:r.amount,dueDate:r.dueDate&&this.dateUtils.formatDate(r.dueDate,i),feeOnMonthDay:r.feeOnMonthDay&&this.dateUtils.formatDate([2e3].concat(r.feeOnMonthDay),o),feeInterval:r.feeInterval})),submittedOnDate:this.dateUtils.formatDate(this.fixedDepositAccount.submittedOnDate,i),charts:[{chartSlabs:this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs}],dateFormat:i,monthDayFormat:o,locale:e};this.fixedDepositsService.updateFixedDepositAccount(this.fixedDepositsAccountAndTemplate.id,s).subscribe(r=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX),t.rXU(d.Ix),t.rXU(M.A),t.rXU(D),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-edit-fixed-deposit-account"]],viewQuery:function(i,o){if(1&i&&(t.GBs(V,7),t.GBs(U,7),t.GBs(X,7),t.GBs(q,7)),2&i){let s;t.mGM(s=t.lsd())&&(o.fixedDepositsAccountDetailsStep=s.first),t.mGM(s=t.lsd())&&(o.fixedDepositAccountTermsStep=s.first),t.mGM(s=t.lsd())&&(o.fixedDepositAccountSettingsStep=s.first),t.mGM(s=t.lsd())&&(o.fixedDepositAccountChargesStep=s.first)}},decls:59,vars:14,consts:[["fixedDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"fixedDepositsAccountProductTemplate","fixedDepositsAccountTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountData"]],template:function(i,o){if(1&i){const s=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-horizontal-stepper",2,0),t.EFF(4,"\n "),t.DNE(5,bc,3,0,"ng-template",3),t.EFF(6,"\n\n "),t.DNE(7,Cc,3,0,"ng-template",4),t.EFF(8,"\n\n "),t.DNE(9,Ec,3,0,"ng-template",5),t.EFF(10,"\n\n "),t.DNE(11,xc,3,0,"ng-template",6),t.EFF(12,"\n\n "),t.DNE(13,Dc,3,0,"ng-template",7),t.EFF(14,"\n\n "),t.j41(15,"mat-step",8),t.EFF(16,"\n "),t.DNE(17,Tc,2,3,"ng-template",9),t.EFF(18,"\n\n "),t.j41(19,"mifosx-fixed-deposit-account-details-step",10),t.bIt("fixedDepositsAccountProductTemplate",function(p){return t.eBV(s),t.Njj(o.setTemplate(p))}),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.k0s(),t.EFF(22,"\n\n "),t.j41(23,"mat-step",8),t.EFF(24,"\n "),t.DNE(25,Mc,2,3,"ng-template",9),t.EFF(26,"\n\n "),t.j41(27,"mifosx-fixed-deposit-account-terms-step",11),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n\n "),t.j41(31,"mat-step",8),t.EFF(32,"\n "),t.DNE(33,Pc,2,3,"ng-template",9),t.EFF(34,"\n\n "),t.j41(35,"mifosx-fixed-deposit-account-settings-step",11),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n\n "),t.j41(39,"mat-step"),t.EFF(40,"\n "),t.DNE(41,Oc,2,3,"ng-template",9),t.EFF(42,"\n\n "),t.j41(43,"mifosx-fixed-deposit-account-interest-rate-chart-step",11),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n\n "),t.j41(47,"mat-step"),t.EFF(48,"\n "),t.DNE(49,Ic,2,3,"ng-template",9),t.EFF(50,"\n\n "),t.j41(51,"mifosx-fixed-deposit-account-charges-step",12),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n\n "),t.DNE(55,Rc,7,3,"mat-step",13),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n"),t.k0s(),t.EFF(58,"\n")}2&i&&(t.R7$(15),t.Y8G("stepControl",o.fixedDepositAccountDetailsForm),t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountAndTemplate),t.R7$(4),t.Y8G("stepControl",o.fixedDepositAccountTermsForm),t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate),t.R7$(4),t.Y8G("stepControl",o.fixedDepositAccountSettingsForm),t.R7$(4),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate),t.R7$(8),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate),t.R7$(8),t.Y8G("fixedDepositsAccountTemplate",o.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",o.fixedDepositsAccountProductTemplate)("fixedDepositAccountFormValid",o.fixedDepositAccountFormValidAndNotPristine),t.R7$(4),t.Y8G("ngIf",o.fixedDepositAccountFormValidAndNotPristine))},dependencies:[F.bT,P.aY,x.V5,x.Ti,x.M6,x.xJ,V,U,q,X,et,ot,_.D9]})}}return n})(),H=(()=>{class n{constructor(e){this.fixedDepositsService=e}resolve(e){const i=e.paramMap.get("fixedDepositAccountId");return this.fixedDepositsService.getFixedDepositsAccountData(i)}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(D))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})();var it=m(37812),at=m(48197);let st=(()=>{class n{constructor(e){this.fixedDepositsService=e}resolve(e){const i=e.parent.paramMap.get("fixedDepositAccountId"),o=e.paramMap.get("id");return this.fixedDepositsService.getFixedDepositsAccountTransaction(i,o)}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(D))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),ct=(()=>{class n{constructor(e,i){this.savingsService=e,this.fixedDepositsService=i}resolve(e){const i=e.paramMap.get("name"),o=e.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId");switch(i){case"Add Charge":return this.savingsService.getSavingsChargeTemplateResource(o);case"Close":return this.fixedDepositsService.getFixedDepositsAccountClosureTemplate(o);case"Withdrawal":return this.fixedDepositsService.getFixedDepositsAccountTransactionTemplate(o);default:return}}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(j.J),t.KVO(D))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),rt=(()=>{class n{constructor(e){this.fixedDepositsService=e}resolve(e){const i=e.parent.parent.paramMap.get("clientId");return this.fixedDepositsService.getFixedDepositsAccountTemplate(i)}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(D))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),lt=(()=>{class n{constructor(e){this.fixedDepositsService=e}resolve(e){const i=e.paramMap.get("fixedDepositAccountId");return this.fixedDepositsService.getFixedDepositsAccountAndTemplate(i)}static{this.\u0275fac=function(i){return new(i||n)(t.KVO(D))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})();var kc=m(6440);function yc(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"mifosx-external-identifier",7),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.FS9("externalId",e.fixedDepositsAccountData.externalId)}}function jc(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Available"),"\n "))}function Sc(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Closed On")),t.R7$(4),t.JRh(t.bMT(8,4,e.fixedDepositsAccountData.timeline.closedOnDate))}}function $c(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Tax Group")),t.R7$(4),t.JRh(e.fixedDepositsAccountData.taxGroup.name)}}function wc(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Maturity Instructions")),t.R7$(4),t.JRh(t.i5U(8,4,e.fixedDepositsAccountData.onAccountClosure.value,"catalogs"))}}function Nc(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Pre-cloure Penal")),t.R7$(4),t.Lme("\n ",e.fixedDepositsAccountData.preClosurePenalInterest," % on\n ",t.i5U(8,5,e.fixedDepositsAccountData.preClosurePenalInterestOnType.value,"catalogs"),"\n ")}}function Gc(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",8),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Total Deposits")),t.R7$(4),t.SpI("\n ",t.ii3(8,4,e.fixedDepositsAccountData.summary.totalDeposits,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}function Yc(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",8),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Total Withdrawals")),t.R7$(4),t.SpI("\n ",t.ii3(8,4,e.fixedDepositsAccountData.summary.totalWithdrawals,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}function Jc(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",8),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Total Interest Earned")),t.R7$(4),t.SpI("\n ",t.ii3(8,4,e.fixedDepositsAccountData.summary.totalInterestEarned,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}function Vc(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"h4",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table"),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td",8),t.EFF(17),t.nI1(18,"currency"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"tr"),t.EFF(22,"\n "),t.j41(23,"td"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.EFF(26,"\n "),t.j41(27,"td",8),t.EFF(28),t.nI1(29,"currency"),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.DNE(32,Gc,10,9,"tr",4),t.EFF(33,"\n "),t.DNE(34,Yc,10,9,"tr",4),t.EFF(35,"\n "),t.DNE(36,Jc,10,9,"tr",4),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,8,"labels.heading.Performance History")),t.R7$(10),t.JRh(t.bMT(14,10,"labels.inputs.Principal Amount")),t.R7$(4),t.SpI("\n ",t.ii3(18,12,e.fixedDepositsAccountData.depositAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(7),t.JRh(t.bMT(25,17,"labels.inputs.Maturity Amount")),t.R7$(4),t.SpI("\n ",t.ii3(29,19,e.fixedDepositsAccountData.maturityAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(4),t.Y8G("ngIf",e.fixedDepositsAccountData.summary.totalDeposits),t.R7$(2),t.Y8G("ngIf",e.fixedDepositsAccountData.summary.totalWithdrawals),t.R7$(2),t.Y8G("ngIf",e.fixedDepositsAccountData.summary.totalInterestEarned>=0)}}function Uc(n,a){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"div"),t.EFF(2,"\n "),t.j41(3,"h4",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.j41(7,"table"),t.EFF(8,"\n "),t.j41(9,"tbody"),t.EFF(10,"\n "),t.j41(11,"tr"),t.EFF(12,"\n "),t.j41(13,"td"),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.j41(17,"td",8),t.EFF(18),t.nI1(19,"currency"),t.k0s(),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.j41(22,"tr"),t.EFF(23,"\n "),t.j41(24,"td"),t.EFF(25),t.nI1(26,"translate"),t.k0s(),t.EFF(27,"\n "),t.j41(28,"td",8),t.EFF(29),t.nI1(30,"currency"),t.k0s(),t.EFF(31,"\n "),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n ")),2&n){const e=t.XpG();t.R7$(4),t.JRh(t.bMT(5,5,"labels.heading.Other Details")),t.R7$(10),t.JRh(t.bMT(15,7,"labels.inputs.Principal Amount")),t.R7$(4),t.SpI("\n ",t.ii3(19,9,e.fixedDepositsAccountData.depositAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(7),t.JRh(t.bMT(26,14,"labels.inputs.Maturity Amount")),t.R7$(4),t.SpI("\n ",t.ii3(30,16,e.fixedDepositsAccountData.maturityAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}const qc=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:hc,resolve:{fixedDepositsAccountTemplate:rt}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:H},children:[{path:"",component:$t,resolve:{fixedDepositsAccountData:H,savingsDatatables:at.B},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:(()=>{class n{constructor(e,i){this.route=e,this.router=i,this.route.parent.data.subscribe(o=>{this.fixedDepositsAccountData=o.fixedDepositsAccountData,this.currency=this.fixedDepositsAccountData.currency}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(d.nX),t.rXU(d.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-general-tab"]],decls:161,vars:78,consts:[["otherDetails",""],[1,"fixed-deposits-account-tables","layout-row","gap-2percent"],[1,"flex-49","layout-column","gap-4percent"],[1,"table-headers"],[4,"ngIf"],[1,"flex-49"],[4,"ngIf","ngIfElse"],["completed","true",3,"externalId"],[1,"r-amount"]],template:function(i,o){if(1&i&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div"),t.EFF(5,"\n "),t.j41(6,"h4",3),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.j41(10,"table"),t.EFF(11,"\n "),t.j41(12,"tbody"),t.EFF(13,"\n "),t.j41(14,"tr"),t.EFF(15,"\n "),t.j41(16,"td"),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n "),t.j41(20,"td"),t.EFF(21,"\n "),t.DNE(22,yc,4,1,"span",4),t.EFF(23,"\n "),t.DNE(24,jc,3,3,"span",4),t.EFF(25,"\n "),t.k0s(),t.EFF(26,"\n "),t.k0s(),t.EFF(27,"\n "),t.j41(28,"tr"),t.EFF(29,"\n "),t.j41(30,"td"),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.EFF(33,"\n "),t.j41(34,"td"),t.EFF(35),t.nI1(36,"dateFormat"),t.nI1(37,"translate"),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.DNE(40,Sc,10,6,"tr",4),t.EFF(41,"\n "),t.j41(42,"tr"),t.EFF(43,"\n "),t.j41(44,"td"),t.EFF(45),t.nI1(46,"translate"),t.k0s(),t.EFF(47,"\n "),t.j41(48,"td"),t.EFF(49),t.nI1(50,"translateKey"),t.k0s(),t.EFF(51,"\n "),t.k0s(),t.EFF(52,"\n "),t.j41(53,"tr"),t.EFF(54,"\n "),t.j41(55,"td"),t.EFF(56),t.nI1(57,"translate"),t.k0s(),t.EFF(58,"\n "),t.j41(59,"td"),t.EFF(60),t.nI1(61,"dateFormat"),t.k0s(),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.j41(64,"tr"),t.EFF(65,"\n "),t.j41(66,"td"),t.EFF(67),t.nI1(68,"translate"),t.k0s(),t.EFF(69,"\n "),t.j41(70,"td"),t.EFF(71),t.nI1(72,"translateKey"),t.k0s(),t.EFF(73,"\n "),t.k0s(),t.EFF(74,"\n "),t.DNE(75,$c,9,4,"tr",4),t.EFF(76,"\n "),t.DNE(77,wc,10,7,"tr",4),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n "),t.k0s(),t.EFF(80,"\n "),t.k0s(),t.EFF(81,"\n\n "),t.j41(82,"div"),t.EFF(83,"\n "),t.j41(84,"h4",3),t.EFF(85),t.nI1(86,"translate"),t.k0s(),t.EFF(87,"\n "),t.j41(88,"table"),t.EFF(89,"\n "),t.j41(90,"tbody"),t.EFF(91,"\n "),t.j41(92,"tr"),t.EFF(93,"\n "),t.j41(94,"td"),t.EFF(95),t.nI1(96,"translate"),t.k0s(),t.EFF(97,"\n "),t.j41(98,"td"),t.EFF(99),t.k0s(),t.EFF(100,"\n "),t.k0s(),t.EFF(101,"\n "),t.j41(102,"tr"),t.EFF(103,"\n "),t.j41(104,"td"),t.EFF(105),t.nI1(106,"translate"),t.k0s(),t.EFF(107,"\n "),t.j41(108,"td"),t.EFF(109),t.nI1(110,"translateKey"),t.k0s(),t.EFF(111,"\n "),t.k0s(),t.EFF(112,"\n "),t.j41(113,"tr"),t.EFF(114,"\n "),t.j41(115,"td"),t.EFF(116),t.nI1(117,"translate"),t.k0s(),t.EFF(118,"\n "),t.j41(119,"td"),t.EFF(120),t.nI1(121,"translateKey"),t.k0s(),t.EFF(122,"\n "),t.k0s(),t.EFF(123,"\n "),t.j41(124,"tr"),t.EFF(125,"\n "),t.j41(126,"td"),t.EFF(127),t.nI1(128,"translate"),t.k0s(),t.EFF(129,"\n "),t.j41(130,"td"),t.EFF(131),t.nI1(132,"translateKey"),t.k0s(),t.EFF(133,"\n "),t.k0s(),t.EFF(134,"\n "),t.j41(135,"tr"),t.EFF(136,"\n "),t.j41(137,"td"),t.EFF(138),t.nI1(139,"translate"),t.k0s(),t.EFF(140,"\n "),t.j41(141,"td"),t.EFF(142),t.nI1(143,"translateKey"),t.k0s(),t.EFF(144,"\n "),t.k0s(),t.EFF(145,"\n "),t.DNE(146,Nc,10,8,"tr",4),t.EFF(147,"\n "),t.k0s(),t.EFF(148,"\n "),t.k0s(),t.EFF(149,"\n "),t.k0s(),t.EFF(150,"\n "),t.k0s(),t.EFF(151,"\n\n "),t.j41(152,"div",5),t.EFF(153,"\n "),t.DNE(154,Vc,40,24,"div",6),t.EFF(155,"\n\n "),t.DNE(156,Uc,36,21,"ng-template",null,0,t.C5r),t.EFF(158,"\n "),t.k0s(),t.EFF(159,"\n"),t.k0s(),t.EFF(160,"\n")),2&i){const s=t.sdS(157);t.R7$(7),t.JRh(t.bMT(8,30,"labels.heading.Fixed Deposit Details")),t.R7$(10),t.JRh(t.bMT(18,32,"labels.inputs.External Id")),t.R7$(5),t.Y8G("ngIf",o.fixedDepositsAccountData.externalId),t.R7$(2),t.Y8G("ngIf",!o.fixedDepositsAccountData.externalId),t.R7$(7),t.JRh(t.bMT(32,34,"labels.inputs.Activated On")),t.R7$(4),t.SpI("\n ",o.fixedDepositsAccountData.timeline.activatedOnDate?t.bMT(36,36,o.fixedDepositsAccountData.timeline.activatedOnDate):t.bMT(37,38,"labels.text.Not Activated"),"\n "),t.R7$(5),t.Y8G("ngIf",o.fixedDepositsAccountData.timeline.closedOnDate),t.R7$(5),t.JRh(t.bMT(46,40,"labels.inputs.Field Officer")),t.R7$(4),t.SpI("\n ",o.fixedDepositsAccountData.fieldOfficerName?o.fixedDepositsAccountData.fieldOfficerName:t.i5U(50,42,"Unassigned","inputs"),"\n "),t.R7$(7),t.JRh(t.bMT(57,45,"labels.inputs.Maturity Date")),t.R7$(4),t.SpI("\n ",o.fixedDepositsAccountData.maturityDate?t.bMT(61,47,o.fixedDepositsAccountData.maturityDate):"N/A","\n "),t.R7$(7),t.JRh(t.bMT(68,49,"labels.inputs.Deposit Period")),t.R7$(4),t.Lme("\n ",o.fixedDepositsAccountData.depositPeriod,"\xa0",t.i5U(72,51,o.fixedDepositsAccountData.depositPeriodFrequency.value,"catalogs"),"\n "),t.R7$(4),t.Y8G("ngIf",o.fixedDepositsAccountData.withHoldTax),t.R7$(2),t.Y8G("ngIf",o.fixedDepositsAccountData.onAccountClosure),t.R7$(8),t.JRh(t.bMT(86,54,"labels.heading.Interest Details")),t.R7$(10),t.JRh(t.bMT(96,56,"labels.inputs.Interest Rate")),t.R7$(4),t.SpI("",o.fixedDepositsAccountData.nominalAnnualInterestRate," %"),t.R7$(6),t.JRh(t.bMT(106,58,"labels.inputs.Interest Compounding Period")),t.R7$(4),t.JRh(t.i5U(110,60,o.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),t.R7$(7),t.JRh(t.bMT(117,63,"labels.inputs.Interest Posting Period")),t.R7$(4),t.JRh(t.i5U(121,65,o.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),t.R7$(7),t.JRh(t.bMT(128,68,"labels.inputs.Interest Calculated Using")),t.R7$(4),t.JRh(t.i5U(132,70,o.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),t.R7$(7),t.JRh(t.bMT(139,73,"labels.inputs.No. of Days in Year")),t.R7$(4),t.JRh(t.i5U(143,75,o.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),t.R7$(4),t.Y8G("ngIf",o.fixedDepositsAccountData.preClosurePenalApplicable),t.R7$(8),t.Y8G("ngIf",!o.fixedDepositsAccountData.status.rejected&&!o.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",s)}},dependencies:[F.bT,kc.k,F.oe,_.D9,A.a,R.D],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return n})(),data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:gn,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:Nn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:Te,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:Le,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:We,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:it.O}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Ac,resolve:{fixedDepositsAccountAndTemplate:lt}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>m.e("default-src_app_account-transfers_account-transfers_module_ts").then(m.bind(m,81170)).then(n=>n.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Ei,resolve:{fixedDepositsAccountTransaction:st}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:di,resolve:{fixedDepositsAccountActionData:ct}}]}]}];let Bc=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({providers:[H,it.O,at.B,st,ct,rt,lt],imports:[d.iI.forChild(qc),d.iI]})}}return n})(),zc=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[pt.G,mt.Y,dt.h,Bc]})}}return n})()}}]); \ No newline at end of file diff --git a/src_app_deposits_recurring-deposits_recurring-deposits_module_ts.js b/src_app_deposits_recurring-deposits_recurring-deposits_module_ts.js new file mode 100644 index 000000000..9beffcb5e --- /dev/null +++ b/src_app_deposits_recurring-deposits_recurring-deposits_module_ts.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["src_app_deposits_recurring-deposits_recurring-deposits_module_ts"],{96702:(uc,W,u)=>{u.r(W),u.d(W,{RecurringDepositsModule:()=>pc});var m=u(74710);class Ft{constructor(i){this.setOptions(i),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(i){switch(i){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;default:this.optionArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}}var G=u(25532),O=u(75351),t=u(54438),f=u(88834),b=u(68018);const gt=()=>({confirm:!0});let j=(()=>{class n{constructor(e,r){this.dialogRef=e,this.data=r}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(O.CP),t.rXU(O.Vh))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,o){1&r&&(t.j41(0,"h1",0),t.EFF(1),t.k0s(),t.EFF(2,"\n"),t.j41(3,"div",1),t.EFF(4,"\n "),t.j41(5,"p"),t.EFF(6),t.k0s(),t.EFF(7,"\n"),t.k0s(),t.EFF(8,"\n"),t.j41(9,"mat-dialog-actions",2),t.EFF(10,"\n "),t.j41(11,"button",3),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.EFF(14,"\n "),t.j41(15,"button",4),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n"),t.k0s(),t.EFF(19,"\n")),2&r&&(t.R7$(),t.JRh(o.data.heading),t.R7$(5),t.JRh(o.data.dialogContext),t.R7$(6),t.JRh(t.bMT(13,5,"labels.buttons.Cancel")),t.R7$(3),t.Y8G("mat-dialog-close",t.lJ4(9,gt)),t.R7$(),t.SpI("\n ",t.bMT(17,7,"labels.buttons.Confirm"),"\n "))},dependencies:[f.$z,O.tx,O.BI,O.E7,O.Yi,b.D9]})}}return n})();var A=u(21626);let E=(()=>{class n{constructor(e){this.http=e}getRecurringDepositsAccountData(e){const r=(new A.Nl).set("associations","all");return this.http.get(`/recurringdepositaccounts/${e}`,{params:r})}getStandingInstructions(e,r,o,a,c){const l=(new A.Nl).set("clientId",e).set("clientName",r).set("fromAccountId",o).set("fromAccountType","2").set("locale",a).set("dateFormat",c);return this.http.get("/standinginstructions",{params:l})}getRecurringDepositsAccountTemplate(e,r){let o=(new A.Nl).set("clientId",e);return o=r?o.set("productId",r):o,this.http.get("/recurringdepositaccounts/template",{params:o})}createRecurringDepositAccount(e){return this.http.post("/recurringdepositaccounts",e)}executeRecurringDepositsAccountCommand(e,r,o){const a=(new A.Nl).set("command",r);return this.http.post("deposit"===r||"withdrawal"===r?`/recurringdepositaccounts/${e}/transactions`:`/recurringdepositaccounts/${e}`,o,{params:a})}deleteRecurringDepositsAccount(e){return this.http.delete(`/recurringdepositaccounts/${e}`)}getRecurringDepositsAccountAndTemplate(e){const r=(new A.Nl).set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${e}`,{params:r})}updateRecurringDepositAccount(e,r){return this.http.put(`/recurringdepositaccounts/${e}`,r)}getRecurringDepositAccountActionResource(e,r){const o=(new A.Nl).set("command",r);return this.http.get(`/recurringdepositaccounts/${e}/template`,{params:o})}getRecurringDepositAccountTransactionTemplateResource(e,r){const o=(new A.Nl).set("command",r);return this.http.get(`/recurringdepositaccounts/${e}/transactions/template`,{params:o})}getRecurringDepositsAccountTransaction(e,r){return this.http.get(`/recurringdepositaccounts/${e}/transactions/${r}`)}getRecurringDepositsAccountTransactionTemplate(e,r){const o=(new A.Nl).set("template","true");return this.http.get(`/recurringdepositaccounts/${e}/transactions/${r}`,{params:o})}executeRecurringDepositsAccountTransactionsCommand(e,r,o,a){const c=(new A.Nl).set("command",r);return this.http.post(`/recurringdepositaccounts/${e}/transactions/${a}`,o,{params:c})}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(A.Qq))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Y=u(44320),g=u(60177),P=u(20060),d=u(25596),K=u(99213),$=u(59115),L=u(96850),J=u(14823),dt=u(75620),V=u(94587),_t=u(67949);const ht=()=>["./general"],bt=()=>["./interest-rate-chart"],ft=()=>["./charges"],Et=()=>["./transactions"],Dt=()=>["./standing-instructions-tab"],Ct=n=>["./datatables",n];function Tt(n,i){if(1&n&&(t.j41(0,"span",31),t.EFF(1,"\n "),t.nrm(2,"mifosx-account-number",18),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.FS9("accountNo",e.recurringDepositsAccountData.clientAccountNo)}}function Rt(n,i){if(1&n&&(t.j41(0,"div",32),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table",19),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td",33),t.EFF(17),t.nI1(18,"currency"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"tr"),t.EFF(22,"\n "),t.j41(23,"td"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.EFF(26,"\n "),t.j41(27,"td",33),t.EFF(28),t.nI1(29,"currency"),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.j41(32,"tr"),t.EFF(33,"\n "),t.j41(34,"td"),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.EFF(37,"\n "),t.j41(38,"td",33),t.EFF(39),t.nI1(40,"number"),t.k0s(),t.EFF(41,"\n "),t.k0s(),t.EFF(42,"\n "),t.k0s(),t.EFF(43,"\n "),t.k0s(),t.EFF(44,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,7,"labels.heading.Account Overview")),t.R7$(10),t.JRh(t.bMT(14,9,"labels.inputs.Current Balance")),t.R7$(4),t.SpI("\n ",t.ii3(18,11,e.recurringDepositsAccountData.summary.accountBalance,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(7),t.JRh(t.bMT(25,16,"labels.inputs.Deposit Amount")),t.R7$(4),t.SpI("\n ",t.ii3(29,18,e.recurringDepositsAccountData.depositAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(7),t.JRh(t.bMT(36,23,"labels.inputs.Deposit Period")),t.R7$(4),t.JRh(t.bMT(40,25,e.recurringDepositsAccountData.depositPeriod))}}function Mt(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",35),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,a=t.XpG();return t.Njj(a.doAction(o.name))}),t.EFF(1,"\n "),t.nrm(2,"i",36),t.EFF(3),t.nI1(4,"translate"),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.R7$(2),t.FS9("ngClass",e.icon),t.R7$(),t.SpI(" ",t.bMT(4,2,"labels.menus."+e.name),"\n ")}}function Pt(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,Mt,5,4,"button",34),t.EFF(3,"\n "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission",e.taskPermissionName)}}function It(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",35),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.doAction(o.name))}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.menus."+e.name),"\n ")}}function Ot(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,It,3,3,"button",34),t.EFF(3,"\n "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission",e.taskPermissionName)}}function At(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"button",37),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-menu",null,5),t.EFF(8,"\n "),t.DNE(9,Ot,4,1,"span",26),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.bVm()),2&n){const e=t.sdS(7),r=t.XpG();t.R7$(2),t.Y8G("matMenuTriggerFor",e),t.R7$(),t.JRh(t.bMT(4,3,"labels.menus.More")),t.R7$(6),t.Y8G("ngForOf",r.buttonConfig.options)}}function xt(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",30,6),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,Et))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Transactions"),"\n ")}}function kt(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",30,7),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,Dt))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Standing Instructions"),"\n ")}}function vt(n,i){if(1&n&&(t.j41(0,"a",30,8),t.EFF(2),t.k0s()),2&n){const e=t.sdS(1),r=t.XpG().$implicit;t.Y8G("routerLink",t.eq3(3,Ct,r.registeredTableName))("active",e.isActive),t.R7$(2),t.SpI("\n ",r.registeredTableName,"\n ")}}function yt(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,vt,3,5,"a",38),t.EFF(3,"\n "),t.bVm()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission","READ_"+e.registeredTableName)}}let jt=(()=>{class n{constructor(e,r,o,a,c,l){this.route=e,this.router=r,this.recurringDepositsService=o,this.savingsService=a,this.dialog=c,this.translateService=l,this.showTransactions=!1,this.route.data.subscribe(h=>{this.recurringDepositsAccountData=h.recurringDepositsAccountData,this.charges=this.recurringDepositsAccountData.charges,this.savingsDatatables=h.savingsDatatables,this.currency=this.recurringDepositsAccountData.currency,this.isprematureAllowed=null!=h.recurringDepositsAccountData.maturityDate,this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center"),this.showTransactions=h.recurringDepositsAccountData.status.id>=300})}ngOnInit(){this.setConditionalButtons()}setConditionalButtons(){this.buttonConfig=new Ft(this.recurringDepositsAccountData.status.value),this.recurringDepositsAccountData.clientId&&"Matured"===this.recurringDepositsAccountData.status.value&&this.buttonConfig.addOption({name:"Transfer Funds",taskPermissionName:"CREATE_ACCOUNTTRANSFER"}),this.recurringDepositsAccountData.charges&&"Matured"===this.recurringDepositsAccountData.status.value&&this.charges.forEach(r=>{"Annual fee - INR"===r.name&&this.buttonConfig.addOption({name:"Apply Annual Fees",taskPermissionName:"APPLYANNUALFEE_SAVINGSACCOUNT"})}),this.recurringDepositsAccountData.clientId&&"Active"===this.recurringDepositsAccountData.status.value&&(!0===this.recurringDepositsAccountData.allowWithdrawal&&this.buttonConfig.addOption({name:"Withdrawal",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"}),this.recurringDepositsAccountData.charges&&this.charges.forEach(r=>{"Annual fee - INR"===r.name&&this.buttonConfig.addOption({name:"Apply Annual Fees",taskPermissionName:"APPLYANNUALFEE_SAVINGSACCOUNT"})}),this.isprematureAllowed||this.buttonConfig.addButton({name:"Close",icon:"arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"}),this.recurringDepositsAccountData.taxGroup&&this.buttonConfig.addOption(this.recurringDepositsAccountData.withHoldTax?{name:"Disable Withhold Tax",taskPermissionName:"UPDATEWITHHOLDTAX_SAVINGSACCOUNT"}:{name:"Enable Withhold Tax",taskPermissionName:"UPDATEWITHHOLDTAX_SAVINGSACCOUNT"}))}reload(){const r=this.router.url;this.router.navigateByUrl(`/clients/${this.recurringDepositsAccountData.clientId}/recurring-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([r]))}doAction(e){switch(e){case"Activate":case"Undo Activation":case"Approve":case"Reject":case"Undo Approval":case"Add Charge":case"Withdrawn by Client":case"Premature Close":case"Close":case"Deposit":case"Withdrawal":this.router.navigate([`actions/${e}`],{relativeTo:this.route});break;case"Modify Application":this.router.navigate(["edit-recurring-deposit-account"],{relativeTo:this.route});break;case"Delete":this.deleteRecurringDepositsAccount();break;case"Calculate Interest":this.calculateInterest();break;case"Post Interest":this.postInterest();break;case"Enable Withhold Tax":this.enableWithHoldTax();break;case"Disable Withhold Tax":this.disableWithHoldTax()}}deleteRecurringDepositsAccount(){this.dialog.open(G.X,{data:{deleteContext:`Recurring deposit account with id: ${this.recurringDepositsAccountData.id}`}}).afterClosed().subscribe(r=>{r.delete&&this.recurringDepositsService.deleteRecurringDepositsAccount(this.recurringDepositsAccountData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}calculateInterest(){this.dialog.open(j,{data:{heading:this.translateService.instant("labels.heading.Calculate Interest"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want to calculate interest ?")}}).afterClosed().subscribe(r=>{r.confirm&&this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.recurringDepositsAccountData.id,"calculateInterest",{}).subscribe(()=>{this.reload()})})}postInterest(){this.dialog.open(j,{data:{heading:this.translateService.instant("labels.heading.Post Interest"),dialogContext:this.translateService.instant("labels.text.Are you sure you want to post interest")+" ?"}}).afterClosed().subscribe(r=>{r.confirm&&this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.recurringDepositsAccountData.id,"postInterest",{}).subscribe(()=>{this.reload()})})}enableWithHoldTax(){this.dialog.open(j,{data:{heading:this.translateService.instant("labels.heading.Enable Withhold Tax"),dialogContext:this.translateService.instant("labels.dialogContext.Enable withhold tax for this account ?")}}).afterClosed().subscribe(r=>{r.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.recurringDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!0}).subscribe(()=>{this.reload()})})}disableWithHoldTax(){this.dialog.open(j,{data:{heading:this.translateService.instant("labels.heading.Disable Withhold Tax"),dialogContext:this.translateService.instant("labels.dialogContext.Disable withhold tax for this account ?")}}).afterClosed().subscribe(r=>{r.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.recurringDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!1}).subscribe(()=>{this.reload()})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(m.Ix),t.rXU(E),t.rXU(Y.J),t.rXU(O.bZ),t.rXU(b.c$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-view"]],decls:100,vars:47,consts:[["accountMenu","matMenu"],["general","routerLinkActive"],["IRC","routerLinkActive"],["charges","routerLinkActive"],["tabPanel",""],["More","matMenu"],["transactions","routerLinkActive"],["standingInstructions","routerLinkActive"],["datatable","routerLinkActive"],[1,"account-card"],[1,"header","layout-column"],[1,"header-title-group"],[1,"profile-image-container"],["mat-card-md-image","",1,"profile-image",3,"matTooltip","src"],[1,"mat-typography","account-card-title"],[1,"layout-row","responsive-column"],[1,"flex-60"],[1,"fa","fa-stop",3,"ngClass","matTooltip"],[3,"accountNo"],[1,"account-overview"],["class","m-l-10",4,"ngIf"],["class","flex-30",4,"ngIf"],[1,"flex-5"],["mat-icon-button","","aria-label","Loan account actions","yPosition","below",3,"matMenuTriggerFor"],["matListIcon","",1,"actions-menu"],["icon","bars","size","sm"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"content"],["mat-tab-nav-bar","",1,"navigation-tabs",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active"],[1,"m-l-10"],[1,"flex-30"],[1,"r-amount"],["mat-menu-item","",3,"click",4,"mifosxHasPermission"],["mat-menu-item","",3,"click"],[3,"ngClass"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"mifosxHasPermission"]],template:function(r,o){if(1&r&&(t.j41(0,"mat-card",9),t.EFF(1,"\n "),t.j41(2,"mat-card-header",10),t.EFF(3,"\n "),t.j41(4,"mat-card-title-group",11),t.EFF(5,"\n "),t.j41(6,"div",12),t.EFF(7,"\n "),t.j41(8,"div"),t.EFF(9,"\n "),t.nrm(10,"img",13),t.nI1(11,"translate"),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n\n "),t.j41(15,"div",14),t.EFF(16,"\n "),t.j41(17,"mat-card-title"),t.EFF(18,"\n "),t.j41(19,"div",15),t.EFF(20,"\n "),t.j41(21,"div",16),t.EFF(22,"\n "),t.j41(23,"h3"),t.EFF(24,"\n "),t.nrm(25,"i",17),t.nI1(26,"statusLookup"),t.EFF(27),t.nI1(28,"translate"),t.nrm(29,"mifosx-account-number",18),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.j41(32,"span",19),t.EFF(33),t.nI1(34,"translate"),t.nI1(35,"translate"),t.DNE(36,Tt,4,1,"span",20),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n\n "),t.DNE(40,Rt,45,27,"div",21),t.EFF(41,"\n\n "),t.j41(42,"div",22),t.EFF(43,"\n "),t.j41(44,"button",23),t.EFF(45,"\n "),t.j41(46,"mat-icon",24),t.EFF(47,"\n "),t.nrm(48,"fa-icon",25),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n "),t.k0s(),t.EFF(51,"\n "),t.k0s(),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n "),t.k0s(),t.EFF(55,"\n\n "),t.j41(56,"mat-menu",null,0),t.EFF(58,"\n "),t.DNE(59,Pt,4,1,"ng-container",26),t.EFF(60,"\n\n "),t.DNE(61,At,12,5,"ng-container",27),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n\n "),t.j41(66,"mat-card-content",28),t.EFF(67,"\n "),t.j41(68,"nav",29),t.EFF(69,"\n "),t.j41(70,"a",30,1),t.EFF(72),t.nI1(73,"translate"),t.k0s(),t.EFF(74,"\n "),t.j41(75,"a",30,2),t.EFF(77),t.nI1(78,"translate"),t.k0s(),t.EFF(79,"\n "),t.DNE(80,xt,7,6,"ng-container",27),t.EFF(81,"\n "),t.j41(82,"a",30,3),t.EFF(84),t.nI1(85,"translate"),t.k0s(),t.EFF(86,"\n "),t.DNE(87,kt,7,6,"ng-container",27),t.EFF(88,"\n "),t.DNE(89,yt,4,1,"ng-container",26),t.EFF(90,"\n "),t.k0s(),t.EFF(91,"\n "),t.j41(92,"mat-tab-nav-panel",null,4),t.EFF(94,"\n "),t.nrm(95,"router-outlet"),t.EFF(96,"\n "),t.k0s(),t.EFF(97,"\n "),t.k0s(),t.EFF(98,"\n"),t.k0s(),t.EFF(99,"\n")),2&r){const a=t.sdS(57),c=t.sdS(71),l=t.sdS(76),h=t.sdS(83),M=t.sdS(93);t.R7$(10),t.FS9("matTooltip",t.bMT(11,28,"tooltips.Recurring Deposits Account")),t.Y8G("src","assets/images/recurring-deposits_account_placeholder.png",t.B4B),t.R7$(15),t.Y8G("ngClass",t.bMT(26,30,o.recurringDepositsAccountData.status.code))("matTooltip",o.recurringDepositsAccountData.status.value),t.R7$(2),t.Lme("\n ",t.bMT(28,32,"labels.inputs.Recurring Deposit")," :\n ",o.recurringDepositsAccountData.depositProductName,"\n "),t.R7$(2),t.FS9("accountNo",o.recurringDepositsAccountData.accountNo),t.R7$(4),t.E5c("\n ",t.bMT(34,34,"labels.text."+o.entityType)," ",t.bMT(35,36,"labels.inputs.name"),":\n ",o.recurringDepositsAccountData.clientName||o.recurringDepositsAccountData.groupName,"\n "),t.R7$(3),t.Y8G("ngIf",o.recurringDepositsAccountData.clientAccountNo),t.R7$(4),t.Y8G("ngIf",!o.recurringDepositsAccountData.status.rejected&&!o.recurringDepositsAccountData.status.submittedAndPendingApproval),t.R7$(4),t.Y8G("matMenuTriggerFor",a),t.R7$(15),t.Y8G("ngForOf",o.buttonConfig.singleButtons),t.R7$(2),t.Y8G("ngIf",o.buttonConfig.options.length),t.R7$(7),t.Y8G("tabPanel",M),t.R7$(2),t.Y8G("routerLink",t.lJ4(44,ht))("active",c.isActive),t.R7$(2),t.SpI("\n ",t.bMT(73,38,"labels.inputs.General"),"\n "),t.R7$(3),t.Y8G("routerLink",t.lJ4(45,bt))("active",l.isActive),t.R7$(2),t.SpI("\n ",t.bMT(78,40,"labels.inputs.Interest Rate Chart"),"\n "),t.R7$(3),t.Y8G("ngIf",o.showTransactions),t.R7$(2),t.Y8G("routerLink",t.lJ4(46,ft))("active",h.isActive),t.R7$(2),t.SpI("\n ",t.bMT(85,42,"labels.inputs.Charges"),"\n "),t.R7$(3),t.Y8G("ngIf",o.recurringDepositsAccountData.clientId),t.R7$(2),t.Y8G("ngForOf",o.savingsDatatables)}},dependencies:[g.YU,g.Sq,g.bT,P.aY,f.iY,d.RN,d.m2,d.MM,d.hl,d.dh,d.aJ,K.An,$.kk,$.fb,$.Cp,L.Bu,L.hQ,L.Ql,J.oV,dt.i,V.p,m.n3,m.Wk,m.wQ,g.QX,g.oe,b.D9,_t.l]})}}return n})();var D=u(49969),p=u(9159),S=u(56617),y=u(37314);function $t(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Period")))}function St(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.E5c("\n ",e.fromPeriod," - ",e.toPeriod,"\xa0",t.i5U(2,3,e.periodType.value,"catalogs"),"\n ")}}function wt(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount Range")))}function Nt(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"formatNumber"),t.nI1(3,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.amountRangeFrom)," - ",t.bMT(3,4,e.amountRangeTo),"\n ")}}function Gt(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function Yt(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("",t.bMT(2,1,e.annualInterestRate)," %")}}function Jt(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Description")))}function Vt(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.description)}}function Ut(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function Xt(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",21),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.View Incentives"),"\n "))}function qt(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",22),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Hide Incentives"),"\n "))}function Bt(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",18),t.EFF(1,"\n "),t.j41(2,"button",19),t.bIt("click",function(){const o=t.eBV(e).dataIndex,a=t.XpG();return t.Njj(a.expandChartSlabIndex=a.expandChartSlabIndex===o?null:o)}),t.EFF(3,"\n "),t.DNE(4,Xt,5,3,"span",20),t.EFF(5,"\n "),t.DNE(6,qt,5,3,"span",20),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.k0s()}if(2&n){const e=i.dataIndex,r=t.XpG();t.R7$(4),t.Y8G("ngIf",r.expandChartSlabIndex!==e),t.R7$(2),t.Y8G("ngIf",r.expandChartSlabIndex===e)}}function zt(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Entity Type")))}function Lt(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.entityType.value,"\n ")}}function Ht(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Name")))}function Wt(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.attributeName.value,"\n ")}}function Kt(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Condition Type")))}function Zt(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.conditionType.value),"\n ")}}function Qt(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Value")))}function tn(n,i){if(1&n&&(t.j41(0,"td",35),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("ngSwitch",e.attributeName),t.R7$(),t.SpI("\n ",e.attributeValueDesc,"\n ")}}function nn(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Incentive Type")))}function en(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.incentiveType.value,"\n ")}}function on(n,i){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function rn(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.amount),"\n ")}}function an(n,i){1&n&&t.nrm(0,"tr",36)}function sn(n,i){1&n&&t.nrm(0,"tr",37)}function cn(n,i){if(1&n&&(t.j41(0,"table",27),t.EFF(1,"\n "),t.qex(2,28),t.EFF(3,"\n "),t.DNE(4,zt,3,3,"th",7),t.EFF(5,"\n "),t.DNE(6,Lt,2,1,"td",8),t.EFF(7,"\n "),t.bVm(),t.EFF(8,"\n\n "),t.qex(9,29),t.EFF(10,"\n "),t.DNE(11,Ht,3,3,"th",7),t.EFF(12,"\n "),t.DNE(13,Wt,2,1,"td",8),t.EFF(14,"\n "),t.bVm(),t.EFF(15,"\n\n "),t.qex(16,30),t.EFF(17,"\n "),t.DNE(18,Kt,3,3,"th",7),t.EFF(19,"\n "),t.DNE(20,Zt,3,3,"td",8),t.EFF(21,"\n "),t.bVm(),t.EFF(22,"\n\n "),t.qex(23,31),t.EFF(24,"\n "),t.DNE(25,Qt,3,3,"th",7),t.EFF(26,"\n "),t.DNE(27,tn,2,2,"td",32),t.EFF(28,"\n "),t.bVm(),t.EFF(29,"\n\n "),t.qex(30,33),t.EFF(31,"\n "),t.DNE(32,nn,3,3,"th",7),t.EFF(33,"\n "),t.DNE(34,en,2,1,"td",8),t.EFF(35,"\n "),t.bVm(),t.EFF(36,"\n\n "),t.qex(37,34),t.EFF(38,"\n "),t.DNE(39,on,3,3,"th",7),t.EFF(40,"\n "),t.DNE(41,rn,3,3,"td",8),t.EFF(42,"\n "),t.bVm(),t.EFF(43,"\n\n "),t.DNE(44,an,1,0,"tr",14),t.EFF(45,"\n "),t.DNE(46,sn,1,0,"tr",15),t.EFF(47,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,r=t.XpG();t.Y8G("dataSource",e.incentives),t.R7$(44),t.Y8G("matHeaderRowDef",r.incentivesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",r.incentivesDisplayedColumns)}}function pn(n,i){if(1&n&&(t.j41(0,"td",18),t.EFF(1,"\n "),t.j41(2,"div",23),t.EFF(3,"\n "),t.j41(4,"mat-card",24),t.EFF(5,"\n "),t.j41(6,"h4",25),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,cn,48,3,"table",26),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=i.$implicit,r=i.dataIndex,o=t.XpG();t.BMQ("colspan",o.chartSlabsDisplayedColumns.length),t.R7$(2),t.Y8G("@expandChartSlab",r===o.expandChartSlabIndex?"expanded":"collapsed"),t.R7$(5),t.SpI("\n ",t.bMT(8,4,"labels.heading.Incentives"),"\n "),t.R7$(3),t.Y8G("ngIf",null==e.incentives?null:e.incentives.length)}}function ln(n,i){1&n&&t.nrm(0,"tr",36)}function un(n,i){1&n&&t.nrm(0,"tr",37)}function mn(n,i){1&n&&t.nrm(0,"tr",38)}let Fn=(()=>{class n{constructor(e){this.route=e,this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.route.parent.data.subscribe(r=>{this.interestRateChartData=r.recurringDepositsAccountData.accountChart.chartSlabs})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-interest-rate-chart-tab"]],decls:66,vars:7,consts:[["chartsTable",""],[1,"tab-container","mat-typography"],[1,"align-start"],[1,"m-b-20"],[1,"mat-elevation-z1","m-b-25"],["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-fill","incentives"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(r,o){1&r&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"h3"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n\n "),t.j41(12,"div",4),t.EFF(13,"\n "),t.j41(14,"table",5,0),t.EFF(16,"\n "),t.qex(17,6),t.EFF(18,"\n "),t.DNE(19,$t,3,3,"th",7),t.EFF(20,"\n "),t.DNE(21,St,3,6,"td",8),t.EFF(22,"\n "),t.bVm(),t.EFF(23,"\n\n "),t.qex(24,9),t.EFF(25,"\n "),t.DNE(26,wt,3,3,"th",7),t.EFF(27,"\n "),t.DNE(28,Nt,4,6,"td",8),t.EFF(29,"\n "),t.bVm(),t.EFF(30,"\n\n "),t.qex(31,10),t.EFF(32,"\n "),t.DNE(33,Gt,3,3,"th",7),t.EFF(34,"\n "),t.DNE(35,Yt,3,3,"td",8),t.EFF(36,"\n "),t.bVm(),t.EFF(37,"\n\n "),t.qex(38,11),t.EFF(39,"\n "),t.DNE(40,Jt,3,3,"th",7),t.EFF(41,"\n "),t.DNE(42,Vt,2,1,"td",8),t.EFF(43,"\n "),t.bVm(),t.EFF(44,"\n\n "),t.qex(45,12),t.EFF(46,"\n "),t.DNE(47,Ut,3,3,"th",7),t.EFF(48,"\n "),t.DNE(49,Bt,9,2,"td",8),t.EFF(50,"\n "),t.bVm(),t.EFF(51,"\n\n "),t.qex(52,13),t.EFF(53,"\n "),t.DNE(54,pn,14,6,"td",8),t.EFF(55,"\n "),t.bVm(),t.EFF(56,"\n\n "),t.DNE(57,ln,1,0,"tr",14),t.EFF(58,"\n "),t.DNE(59,un,1,0,"tr",15),t.EFF(60,"\n "),t.DNE(61,mn,1,0,"tr",16),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n"),t.k0s(),t.EFF(65,"\n")),2&r&&(t.R7$(7),t.JRh(t.bMT(8,5,"labels.heading.All Interest Rates")),t.R7$(7),t.Y8G("dataSource",o.interestRateChartData),t.R7$(43),t.Y8G("matHeaderRowDef",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsIncentivesDisplayedColumns))},dependencies:[g.bT,g.ux,P.aY,f.$z,d.RN,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,g.PV,b.D9,S.p,y.D],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[(0,D.hZ)("expandChartSlab",[(0,D.wk)("collapsed",(0,D.iF)({height:"0px",minHeight:"0"})),(0,D.wk)("expanded",(0,D.iF)({height:"*"})),(0,D.kY)("expanded <=> collapsed",(0,D.i0)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return n})();var s=u(89417),gn=u(96695),dn=u(2042),Z=u(82765),x=u(53468);const _n=n=>["/","journal-entry","view",n];function hn(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",23),t.EFF(1,"\n "),t.j41(2,"mat-checkbox",24),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.hideReversed())}),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-checkbox",24),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.hideAccruals())}),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(2),t.Y8G("formControl",e.hideReversedParam),t.R7$(),t.SpI("\n ",t.bMT(4,4,"labels.inputs.Hide Reversed"),""),t.R7$(3),t.Y8G("formControl",e.hideAccrualsParam),t.R7$(),t.SpI("\n ",t.bMT(8,6,"labels.inputs.Hide Accruals"),"")}}function bn(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1,"#"),t.k0s())}function fn(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=i.index;t.R7$(),t.SpI("\n ",e+1,"\n ")}}function En(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.ID")))}function Dn(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",27),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=i.$implicit,r=t.XpG();t.Y8G("ngClass",r.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",e.id,"\n ")}}function Cn(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Transaction Date")))}function Tn(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",27),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()}if(2&n){const e=i.$implicit,r=t.XpG();t.Y8G("ngClass",r.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",t.bMT(2,2,e.date),"\n ")}}function Rn(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Transaction Type")))}function Mn(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",27),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=i.$implicit,r=t.XpG();t.Y8G("ngClass",r.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",e.transactionType.value,"\n ")}}function Pn(n,i){1&n&&(t.j41(0,"th",28),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Debit")))}function In(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",29),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=i.$implicit,r=t.XpG();t.Y8G("ngClass",r.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",r.isDebit(e.transactionType)?e.amount:"N/A","\n ")}}function On(n,i){1&n&&(t.j41(0,"th",28),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Credit")))}function An(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",29),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.k0s()}if(2&n){const e=i.$implicit,r=t.XpG();t.Y8G("ngClass",r.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",r.isDebit(e.transactionType)?"N/A":e.amount,"\n ")}}function xn(n,i){1&n&&(t.j41(0,"th",28),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Balance")))}function kn(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",29),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()}if(2&n){const e=i.$implicit,r=t.XpG();t.Y8G("ngClass",r.savingsTransactionColor(e)),t.R7$(),t.SpI("\n ",t.bMT(2,2,e.runningBalance),"\n ")}}function vn(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function yn(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",30),t.EFF(1,"\n "),t.j41(2,"button",31),t.EFF(3,"\n "),t.j41(4,"mat-icon"),t.EFF(5,"more_vert"),t.k0s(),t.EFF(6,"\n "),t.k0s(),t.EFF(7,"\n "),t.j41(8,"mat-menu",null,0),t.EFF(10,"\n "),t.j41(11,"button",32),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.showTransactions(o))}),t.EFF(12,"\n "),t.j41(13,"mat-icon"),t.nrm(14,"fa-icon",33),t.k0s(),t.EFF(15,"\n "),t.j41(16,"span"),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"button",34),t.bIt("click",function(o){t.eBV(e);const a=t.XpG();return t.Njj(a.routeEdit(o))}),t.EFF(22,"\n "),t.j41(23,"mat-icon"),t.nrm(24,"fa-icon",35),t.k0s(),t.EFF(25,"\n "),t.j41(26,"span"),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.k0s()}if(2&n){const e=i.$implicit,r=t.sdS(9);t.R7$(2),t.Y8G("matMenuTriggerFor",r),t.R7$(15),t.JRh(t.bMT(18,4,"labels.text.View Transaction")),t.R7$(4),t.Y8G("routerLink",t.eq3(8,_n,"S"+e.id)),t.R7$(6),t.JRh(t.bMT(28,6,"tooltips.View Journal Entries"))}}function jn(n,i){1&n&&t.nrm(0,"tr",36)}function $n(n,i){1&n&&t.nrm(0,"tr",37)}let Sn=(()=>{class n{constructor(e,r){this.route=e,this.router=r,this.displayedColumns=["row","id","transactionDate","transactionType","debit","credit","balance","actions"],this.route.parent.data.subscribe(o=>{this.transactionsData=o.recurringDepositsAccountData.transactions,this.status=o.recurringDepositsAccountData.status.value})}ngOnInit(){this.dataSource=new p.I6(this.transactionsData),this.hideAccrualsParam=new s.hs(!1),this.hideReversedParam=new s.hs(!1)}isDebit(e){return!0===e.withdrawal||!0===e.feeDeduction||!0===e.overdraftInterest||!0===e.withholdTax}hideAccruals(){this.filterTransactions(this.hideReversedParam.value,!this.hideAccrualsParam.value)}hideReversed(){this.filterTransactions(!this.hideReversedParam.value,this.hideAccrualsParam.value)}filterTransactions(e,r){let o=this.transactionsData;(r||e)&&(o=this.transactionsData.filter(a=>!(e&&a.reversed||r&&a.transactionType.accrual))),this.dataSource=new p.I6(o),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}savingsTransactionColor(e){return e.reversed?"strike":e.transfer?"transfer":e.transactionType.accrual?"accrual":""}checkStatus(){return"Active"===this.status||"Closed"===this.status||"Transfer in progress"===this.status||"Transfer on hold"===this.status||"Premature Closed"===this.status||"Matured"===this.status}showTransactions(e){this.router.navigate(e.transfer?[`../transfer-funds/account-transfers/${e.transfer.id}`]:[e.id],{relativeTo:this.route})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(m.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-transactions-tab"]],viewQuery:function(r,o){if(1&r&&(t.GBs(gn.iy,7),t.GBs(dn.B4,7)),2&r){let a;t.mGM(a=t.lsd())&&(o.paginator=a.first),t.mGM(a=t.lsd())&&(o.sort=a.first)}},decls:81,vars:7,consts:[["transactionMenu","matMenu"],[1,"tab-container","mat-typography"],[1,"mat-elevation-z1","m-b-25"],[1,"layout-row","align-start"],[1,"m-b-20"],["class","action-button m-b-20 layout-row gap-20px",4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","row"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",3,"ngClass","click",4,"matCellDef"],["matColumnDef","transactionDate"],["matColumnDef","transactionType"],["matColumnDef","debit"],["mat-header-cell","","class","center",4,"matHeaderCellDef"],["mat-cell","","class","r-amount",3,"ngClass","click",4,"matCellDef"],["matColumnDef","credit"],["matColumnDef","balance"],["matColumnDef","actions"],["mat-cell","","class","center",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","select-row",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20","layout-row","gap-20px"],[1,"accruals",3,"click","formControl"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-cell","",3,"click","ngClass"],["mat-header-cell","",1,"center"],["mat-cell","",1,"r-amount",3,"click","ngClass"],["mat-cell","",1,"center"],["mat-icon-button","","aria-label","",1,"action-button",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["icon","eye","size","sm"],["mat-menu-item","",3,"click","routerLink"],["icon","table-cells","size","sm"],["mat-header-row",""],["mat-row","",1,"select-row"]],template:function(r,o){1&r&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"div",4),t.EFF(7,"\n "),t.j41(8,"h3"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.DNE(13,hn,10,8,"div",5),t.EFF(14,"\n "),t.k0s(),t.EFF(15,"\n\n "),t.j41(16,"table",6),t.EFF(17,"\n "),t.qex(18,7),t.EFF(19,"\n "),t.DNE(20,bn,2,0,"th",8),t.EFF(21,"\n "),t.DNE(22,fn,2,1,"td",9),t.EFF(23,"\n "),t.bVm(),t.EFF(24,"\n\n "),t.qex(25,10),t.EFF(26,"\n "),t.DNE(27,En,3,3,"th",8),t.EFF(28,"\n "),t.DNE(29,Dn,2,2,"td",11),t.EFF(30,"\n "),t.bVm(),t.EFF(31,"\n\n "),t.qex(32,12),t.EFF(33,"\n "),t.DNE(34,Cn,3,3,"th",8),t.EFF(35,"\n "),t.DNE(36,Tn,3,4,"td",11),t.EFF(37,"\n "),t.bVm(),t.EFF(38,"\n\n "),t.qex(39,13),t.EFF(40,"\n "),t.DNE(41,Rn,3,3,"th",8),t.EFF(42,"\n "),t.DNE(43,Mn,2,2,"td",11),t.EFF(44,"\n "),t.bVm(),t.EFF(45,"\n\n "),t.qex(46,14),t.EFF(47,"\n "),t.DNE(48,Pn,3,3,"th",15),t.EFF(49,"\n "),t.DNE(50,In,2,2,"td",16),t.EFF(51,"\n "),t.bVm(),t.EFF(52,"\n\n "),t.qex(53,17),t.EFF(54,"\n "),t.DNE(55,On,3,3,"th",15),t.EFF(56,"\n "),t.DNE(57,An,2,2,"td",16),t.EFF(58,"\n "),t.bVm(),t.EFF(59,"\n\n "),t.qex(60,18),t.EFF(61,"\n "),t.DNE(62,xn,3,3,"th",15),t.EFF(63,"\n "),t.DNE(64,kn,3,4,"td",16),t.EFF(65,"\n "),t.bVm(),t.EFF(66,"\n\n "),t.qex(67,19),t.EFF(68,"\n "),t.DNE(69,vn,3,3,"th",8),t.EFF(70,"\n "),t.DNE(71,yn,32,10,"td",20),t.EFF(72,"\n "),t.bVm(),t.EFF(73,"\n\n "),t.DNE(74,jn,1,0,"tr",21),t.EFF(75,"\n "),t.DNE(76,$n,1,0,"tr",22),t.EFF(77,"\n "),t.k0s(),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n"),t.k0s(),t.EFF(80,"\n")),2&r&&(t.R7$(9),t.JRh(t.bMT(10,5,"labels.heading.All Transactions")),t.R7$(4),t.Y8G("ngIf",o.checkStatus()),t.R7$(3),t.Y8G("dataSource",o.dataSource),t.R7$(58),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns))},dependencies:[g.YU,g.bT,P.aY,f.iY,Z.So,K.An,$.kk,$.fb,$.Cp,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,s.BC,s.l_,m.Wk,b.D9,x.a,S.p],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 0 3px;margin:0 10%;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%] .accruals[_ngcontent-%COMP%]{padding-top:1%}.select-row[_ngcontent-%COMP%]:hover{cursor:pointer;font-weight:800}"]})}}return n})();var wn=u(93088),T=u(52864);const Nn=["instructionsTable"],Gn=n=>["../","standing-instructions",n,"edit"],Yn=n=>["../","standing-instructions",n,"view"];function Jn(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Client")))}function Vn(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",e.fromClient.displayName,"-",e.fromClient.id,"\n ")}}function Un(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.From Account")))}function Xn(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",e.fromAccount.accountNo," (",e.fromAccountType.value,")\n ")}}function qn(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Beneficiary")))}function Bn(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.toClient.displayName)}}function zn(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.To Account")))}function Ln(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",e.toAccount.accountNo," (",e.toAccountType.value,")\n ")}}function Hn(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount")))}function Wn(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("",e.instructionType.value,"/",e.amount,"")}}function Kn(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Validity")))}function Zn(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1),t.nI1(2,"dateFormat"),t.nI1(3,"dateFormat"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.validFrom)," to ",t.bMT(3,4,e.validTill),"\n ")}}function Qn(n,i){1&n&&(t.j41(0,"th",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function te(n,i){if(1&n&&(t.j41(0,"button",20),t.nI1(1,"translate"),t.EFF(2,"\n "),t.nrm(3,"i",21),t.EFF(4,"\n "),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.FS9("matTooltip",t.bMT(1,2,"tooltips.Edit Standing Instruction")),t.Y8G("routerLink",t.eq3(4,Gn,e.id))}}function ne(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,te,5,6,"button",19),t.EFF(3,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION"))}function ee(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",23),t.nI1(1,"translate"),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2).$implicit,a=t.XpG();return t.Njj(a.deleteStandingInstruction(o.id))}),t.EFF(2,"\n "),t.nrm(3,"i",24),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Delete Standing Instruction"))}function oe(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,ee,5,3,"button",22),t.EFF(3,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","DELETE_STANDINGINSTRUCTION"))}function ie(n,i){if(1&n&&(t.j41(0,"button",20),t.nI1(1,"translate"),t.EFF(2,"\n "),t.nrm(3,"i",25),t.EFF(4,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit;t.FS9("matTooltip",t.bMT(1,2,"tooltips.View Standing Instruction")),t.Y8G("routerLink",t.eq3(4,Yn,e.id))}}function re(n,i){if(1&n&&(t.j41(0,"td",17),t.EFF(1,"\n "),t.DNE(2,ne,4,1,"span",18),t.EFF(3,"\n "),t.DNE(4,oe,4,1,"span",18),t.EFF(5,"\n "),t.DNE(6,ie,5,6,"button",19),t.EFF(7,"\n "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf","Deleted"!==e.status.value),t.R7$(2),t.Y8G("ngIf","Deleted"!==e.status.value),t.R7$(2),t.Y8G("mifosxHasPermission","READ_STANDINGINSTRUCTION")}}function ae(n,i){1&n&&t.nrm(0,"tr",26)}function se(n,i){1&n&&t.nrm(0,"tr",27)}let ce=(()=>{class n{constructor(e,r,o,a,c){this.route=e,this.recurringDepositsService=r,this.dialog=o,this.accountTransfersService=a,this.settingsService=c,this.dataSource=new p.I6,this.displayedColumns=["client","fromAccount","beneficiary","toAccount","amount","validity","actions"],this.route.parent.data.subscribe(l=>{this.recurringDepositsData=l.recurringDepositsAccountData})}ngOnInit(){this.getStandingInstructions()}getStandingInstructions(){this.recurringDepositsService.getStandingInstructions(this.recurringDepositsData.clientId,this.recurringDepositsData.clientName,this.recurringDepositsData.id,this.settingsService.language.code,this.settingsService.dateFormat).subscribe(l=>{this.instructionsData=l.pageItems,this.dataSource.data=this.instructionsData,this.instructionTableRef.renderRows()})}deleteStandingInstruction(e){this.dialog.open(G.X,{data:{deleteContext:`standing instruction id: ${e}`}}).afterClosed().subscribe(o=>{o.delete&&this.accountTransfersService.deleteStandingInstrucions(e).subscribe(()=>{})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(E),t.rXU(O.bZ),t.rXU(wn.z),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-standing-instructions-tab"]],viewQuery:function(r,o){if(1&r&&t.GBs(Nn,7),2&r){let a;t.mGM(a=t.lsd())&&(o.instructionTableRef=a.first)}},decls:70,vars:6,consts:[["instructionsTable",""],[1,"tab-container","mat-typography"],[1,"m-b-10"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","client"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fromAccount"],["matColumnDef","beneficiary"],["matColumnDef","toAccount"],["matColumnDef","amount"],["matColumnDef","validity"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip","routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"matTooltip","routerLink"],[1,"fa","fa-edit"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-times"],[1,"fa","fa-eye"],["mat-header-row",""],["mat-row",""]],template:function(r,o){1&r&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"h3"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n\n "),t.j41(9,"div",3),t.EFF(10,"\n "),t.j41(11,"table",4,0),t.EFF(13,"\n "),t.qex(14,5),t.EFF(15,"\n "),t.DNE(16,Jn,3,3,"th",6),t.EFF(17,"\n "),t.DNE(18,Vn,2,2,"td",7),t.EFF(19,"\n "),t.bVm(),t.EFF(20,"\n\n "),t.qex(21,8),t.EFF(22,"\n "),t.DNE(23,Un,3,3,"th",6),t.EFF(24,"\n "),t.DNE(25,Xn,2,2,"td",7),t.EFF(26,"\n "),t.bVm(),t.EFF(27,"\n\n "),t.qex(28,9),t.EFF(29,"\n "),t.DNE(30,qn,3,3,"th",6),t.EFF(31,"\n "),t.DNE(32,Bn,2,1,"td",7),t.EFF(33,"\n "),t.bVm(),t.EFF(34,"\n\n "),t.qex(35,10),t.EFF(36,"\n "),t.DNE(37,zn,3,3,"th",6),t.EFF(38,"\n "),t.DNE(39,Ln,2,2,"td",7),t.EFF(40,"\n "),t.bVm(),t.EFF(41,"\n\n "),t.qex(42,11),t.EFF(43,"\n "),t.DNE(44,Hn,3,3,"th",6),t.EFF(45,"\n "),t.DNE(46,Wn,2,2,"td",7),t.EFF(47,"\n "),t.bVm(),t.EFF(48,"\n\n "),t.qex(49,12),t.EFF(50,"\n "),t.DNE(51,Kn,3,3,"th",6),t.EFF(52,"\n "),t.DNE(53,Zn,4,6,"td",7),t.EFF(54,"\n "),t.bVm(),t.EFF(55,"\n\n "),t.qex(56,13),t.EFF(57,"\n "),t.DNE(58,Qn,3,3,"th",6),t.EFF(59,"\n "),t.DNE(60,re,8,3,"td",7),t.EFF(61,"\n "),t.bVm(),t.EFF(62,"\n\n "),t.DNE(63,ae,1,0,"tr",14),t.EFF(64,"\n "),t.DNE(65,se,1,0,"tr",15),t.EFF(66,"\n "),t.k0s(),t.EFF(67,"\n "),t.k0s(),t.EFF(68,"\n"),t.k0s(),t.EFF(69,"\n")),2&r&&(t.R7$(5),t.JRh(t.bMT(6,4,"labels.heading.All Standing Instructions")),t.R7$(6),t.Y8G("dataSource",o.dataSource),t.R7$(52),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns))},dependencies:[g.bT,f.$z,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,J.oV,V.p,m.Wk,b.D9,x.a],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return n})();var N=u(64682),U=u(6841),Q=u(8979),R=u(6427);const pe=["chargesTable"],le=()=>[2e3];function ue(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.name")))}function me(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.name)}}function Fe(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Fee/Penalty")))}function ge(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(!0===e.penalty?"Penalty":"Fee")}}function de(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Payment Due At")))}function _e(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.chargeTimeType.value)}}function he(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Due As Of")))}function be(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.dueDate))}}function fe(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Repeats On")))}function Ee(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.feeOnMonthDay?t.i5U(2,1,t.lJ4(4,le).concat(e.feeOnMonthDay),"dd MMMM"):"Unassigned","\n ")}}function De(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Calculation Type")))}function Ce(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.chargeCalculationType.value)}}function Te(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Due")))}function Re(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("",e.currency.displaySymbol,"\xa0",e.amount,"")}}function Me(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Paid")))}function Pe(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("",e.currency.displaySymbol,"\xa0",e.amountPaid,"")}}function Ie(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Waived")))}function Oe(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("",e.currency.displaySymbol,"\xa0",e.amountWaived,"")}}function Ae(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Outstanding")))}function xe(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",e.currency.displaySymbol,"\xa0",e.amountOutstanding,"\n ")}}function ke(n,i){1&n&&(t.j41(0,"th",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function ve(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",26),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const a=t.XpG(2).$implicit,c=t.XpG();return c.routeEdit(o),t.Njj(c.editCharge(a))}),t.EFF(2,"\n "),t.nrm(3,"i",27),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Edit Charge"))}function ye(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",28),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const a=t.XpG(2).$implicit,c=t.XpG();return c.routeEdit(o),t.Njj(c.deleteCharge(a.id))}),t.EFF(2,"\n "),t.nrm(3,"i",29),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Delete Charge"))}function je(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,ve,5,3,"button",24),t.EFF(3,"\n "),t.DNE(4,ye,5,3,"button",25),t.EFF(5,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","UPDATE_SAVINGSACCOUNTCHARGE"),t.R7$(2),t.Y8G("mifosxHasPermission","DELETE_SAVINGSACCOUNTCHARGE"))}function $e(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",26),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const a=t.XpG(3).$implicit,c=t.XpG();return c.routeEdit(o),t.Njj(c.payCharge(a.id))}),t.EFF(2,"\n "),t.nrm(3,"i",30),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Pay Charge"))}function Se(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",26),t.nI1(1,"translate"),t.bIt("click",function(o){t.eBV(e);const a=t.XpG(3).$implicit,c=t.XpG();return c.routeEdit(o),t.Njj(c.waiveCharge(a.id))}),t.EFF(2,"\n "),t.nrm(3,"i",31),t.EFF(4,"\n "),t.k0s()}2&n&&t.FS9("matTooltip",t.bMT(1,1,"tooltips.Waive Charge"))}function we(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,$e,5,3,"button",24),t.EFF(3,"\n "),t.DNE(4,Se,5,3,"button",24),t.EFF(5,"\n "),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","PAY_SAVINGSACCOUNTCHARGE"),t.R7$(2),t.Y8G("mifosxHasPermission","WAIVE_SAVINGSACCOUNTCHARGE"))}function Ne(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,we,6,2,"span",23),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("ngIf","Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value)}}function Ge(n,i){if(1&n&&(t.j41(0,"td",22),t.EFF(1,"\n "),t.DNE(2,je,6,2,"span",23),t.EFF(3,"\n "),t.DNE(4,Ne,4,1,"span",23),t.EFF(5,"\n "),t.k0s()),2&n){const e=i.$implicit,r=t.XpG();t.R7$(2),t.Y8G("ngIf","Submitted and pending approval"===r.recurringDepositsAccountData.status.value),t.R7$(2),t.Y8G("ngIf","Submitted and pending approval"!==r.recurringDepositsAccountData.status.value&&0!==e.amountOutstanding)}}function Ye(n,i){1&n&&t.nrm(0,"tr",32)}function Je(n,i){1&n&&t.nrm(0,"tr",33)}let Ve=(()=>{class n{constructor(e,r,o,a,c,l,h){this.route=e,this.savingsService=r,this.dateUtils=o,this.router=a,this.dialog=c,this.translateService=l,this.settingsService=h,this.showInactiveCharges=!1,this.displayedColumns=["name","feeOrPenalty","paymentDueAt","dueAsOf","repeatsOn","calculationType","due","paid","waived","outstanding","actions"],this.route.parent.data.subscribe(M=>{this.recurringDepositsAccountData=M.recurringDepositsAccountData,this.chargesData=this.recurringDepositsAccountData.charges})}ngOnInit(){const e=this.chargesData?this.chargesData.filter(r=>r.isActive):[];this.dataSource=new p.I6(e)}payCharge(e){const r=[new U.O({controlName:"amount",label:"Amount",value:"",type:"number",required:!0}),new Q.U({controlName:"dueDate",label:"Payment Date",value:"",type:"date",required:!0})];this.dialog.open(N.u,{data:{title:`Pay Charge ${e}`,layout:{addButtonText:"Confirm"},formfields:r}}).afterClosed().subscribe(c=>{if(c.data){const l=this.settingsService.language.code,h=this.settingsService.dateFormat,M={...c.data.value,dueDate:this.dateUtils.formatDate(c.data.value.dueDate,h),dateFormat:h,locale:l};this.savingsService.executeSavingsAccountChargesCommand(this.recurringDepositsAccountData.id,"paycharge",M,e).subscribe(()=>{this.reload()})}})}waiveCharge(e){this.dialog.open(j,{data:{heading:this.translateService.instant("labels.heading.Waive Charge"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want to waive charge with id: ")+`${e} ?`}}).afterClosed().subscribe(o=>{o.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.recurringDepositsAccountData.id,"waive",{},e).subscribe(()=>{this.reload()})})}editCharge(e){const r=[new U.O({controlName:"amount",label:"Amount",value:e.amount||e.amountOrPercentage,type:"number",required:!0})];this.dialog.open(N.u,{data:{title:`Edit Charge ${e.id}`,layout:{addButtonText:"Confirm"},formfields:r}}).afterClosed().subscribe(c=>{if(c.data){const M={...c.data.value,dateFormat:"dd MMMM yyyy",locale:"en"};this.savingsService.editSavingsAccountCharge(this.recurringDepositsAccountData.id,M,e.id).subscribe(()=>{this.reload()})}})}deleteCharge(e){this.dialog.open(G.X,{data:{deleteContext:`charge id:${e}`}}).afterClosed().subscribe(o=>{o.delete&&this.savingsService.deleteSavingsAccountCharge(this.recurringDepositsAccountData.id,e).subscribe(()=>{this.reload()})})}routeEdit(e){e.stopPropagation()}reload(){const r=this.router.url;this.router.navigateByUrl(`/clients/${this.recurringDepositsAccountData.clientId}/recurring-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([r]))}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(Y.J),t.rXU(R.A),t.rXU(m.Ix),t.rXU(O.bZ),t.rXU(b.c$),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-charges-tab"]],viewQuery:function(r,o){if(1&r&&t.GBs(pe,7),2&r){let a;t.mGM(a=t.lsd())&&(o.chargesTableRef=a.first)}},decls:101,vars:6,consts:[["chargesTable",""],[1,"tab-container","mat-typography"],[1,"layout-row","align-start"],[1,"m-b-10"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","feeOrPenalty"],["matColumnDef","paymentDueAt"],["matColumnDef","dueAsOf"],["matColumnDef","repeatsOn"],["matColumnDef","calculationType"],["matColumnDef","due"],["matColumnDef","paid"],["matColumnDef","waived"],["matColumnDef","outstanding"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip","click",4,"mifosxHasPermission"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-pencil"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-trash"],[1,"fa","fa-dollar"],[1,"fa","fa-flag"],["mat-header-row",""],["mat-row",""]],template:function(r,o){1&r&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"h3"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n\n "),t.j41(12,"div",4),t.EFF(13,"\n "),t.j41(14,"table",5,0),t.EFF(16,"\n "),t.qex(17,6),t.EFF(18,"\n "),t.DNE(19,ue,3,3,"th",7),t.EFF(20,"\n "),t.DNE(21,me,2,1,"td",8),t.EFF(22,"\n "),t.bVm(),t.EFF(23,"\n\n "),t.qex(24,9),t.EFF(25,"\n "),t.DNE(26,Fe,3,3,"th",7),t.EFF(27,"\n "),t.DNE(28,ge,2,1,"td",8),t.EFF(29,"\n "),t.bVm(),t.EFF(30,"\n\n "),t.qex(31,10),t.EFF(32,"\n "),t.DNE(33,de,3,3,"th",7),t.EFF(34,"\n "),t.DNE(35,_e,2,1,"td",8),t.EFF(36,"\n "),t.bVm(),t.EFF(37,"\n\n "),t.qex(38,11),t.EFF(39,"\n "),t.DNE(40,he,3,3,"th",7),t.EFF(41,"\n "),t.DNE(42,be,3,3,"td",8),t.EFF(43,"\n "),t.bVm(),t.EFF(44,"\n\n "),t.qex(45,12),t.EFF(46,"\n "),t.DNE(47,fe,3,3,"th",7),t.EFF(48,"\n "),t.DNE(49,Ee,3,5,"td",8),t.EFF(50,"\n "),t.bVm(),t.EFF(51,"\n\n "),t.qex(52,13),t.EFF(53,"\n "),t.DNE(54,De,3,3,"th",7),t.EFF(55,"\n "),t.DNE(56,Ce,2,1,"td",8),t.EFF(57,"\n "),t.bVm(),t.EFF(58,"\n\n "),t.qex(59,14),t.EFF(60,"\n "),t.DNE(61,Te,3,3,"th",7),t.EFF(62,"\n "),t.DNE(63,Re,2,2,"td",8),t.EFF(64,"\n "),t.bVm(),t.EFF(65,"\n\n "),t.qex(66,15),t.EFF(67,"\n "),t.DNE(68,Me,3,3,"th",7),t.EFF(69,"\n "),t.DNE(70,Pe,2,2,"td",8),t.EFF(71,"\n "),t.bVm(),t.EFF(72,"\n\n "),t.qex(73,16),t.EFF(74,"\n "),t.DNE(75,Ie,3,3,"th",7),t.EFF(76,"\n "),t.DNE(77,Oe,2,2,"td",8),t.EFF(78,"\n "),t.bVm(),t.EFF(79,"\n\n "),t.qex(80,17),t.EFF(81,"\n "),t.DNE(82,Ae,3,3,"th",7),t.EFF(83,"\n "),t.DNE(84,xe,2,2,"td",8),t.EFF(85,"\n "),t.bVm(),t.EFF(86,"\n\n "),t.qex(87,18),t.EFF(88,"\n "),t.DNE(89,ke,3,3,"th",7),t.EFF(90,"\n "),t.DNE(91,Ge,6,2,"td",8),t.EFF(92,"\n "),t.bVm(),t.EFF(93,"\n\n "),t.DNE(94,Ye,1,0,"tr",19),t.EFF(95,"\n "),t.DNE(96,Je,1,0,"tr",20),t.EFF(97,"\n "),t.k0s(),t.EFF(98,"\n "),t.k0s(),t.EFF(99,"\n"),t.k0s(),t.EFF(100,"\n")),2&r&&(t.R7$(7),t.JRh(t.bMT(8,4,"labels.heading.All Charges")),t.R7$(7),t.Y8G("dataSource",o.dataSource),t.R7$(80),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns))},dependencies:[g.bT,f.$z,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,J.oV,V.p,b.D9,x.a],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return n})();var Ue=u(6471);let Xe=(()=>{class n{constructor(e){this.route=e,this.entityId=this.route.parent.parent.snapshot.paramMap.get("recurringDepositAccountId"),this.route.data.subscribe(r=>{this.entityDatatable=r.savingsDatatable,this.multiRowDatatableFlag="id"===this.entityDatatable.columnHeaders[0].columnName})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-datatable-tabs"]],decls:6,vars:3,consts:[[1,"tab-container","mat-typography"],["entityType","Recurring Deposit",3,"entityId","multiRowDatatableFlag","entityDatatable"]],template:function(r,o){1&r&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"mifosx-entity-datatable-tab",1),t.EFF(3,"\n "),t.k0s(),t.EFF(4,"\n"),t.k0s(),t.EFF(5,"\n")),2&r&&(t.R7$(2),t.Y8G("entityId",o.entityId)("multiRowDatatableFlag",o.multiRowDatatableFlag)("entityDatatable",o.entityDatatable))},dependencies:[Ue.S]})}}return n})();var k=u(86600),_=u(25084),F=u(32102),I=u(59042),v=u(82798),C=u(36013);function qe(n,i){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function Be(n,i){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field",14),t.bIt("click",function(){t.eBV(e);const o=t.sdS(11);return t.Njj(o.open())}),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",15),t.EFF(7,"\n "),t.nrm(8,"mat-datepicker-toggle",16),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker",null,0),t.EFF(12,"\n "),t.j41(13,"mat-error"),t.EFF(14),t.nI1(15,"translate"),t.nI1(16,"translate"),t.j41(17,"strong"),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.k0s()}if(2&n){const e=t.sdS(11),r=t.XpG();t.R7$(3),t.JRh(t.bMT(4,8,"labels.inputs.Submitted On")),t.R7$(3),t.Y8G("min",r.minDate)("max",r.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(6),t.Lme("\n ",t.bMT(15,10,"labels.inputs.Submission Date")," ",t.bMT(16,12,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(19,14,"labels.commons.required"))}}function ze(n,i){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.displayName,"\n ")}}function Le(n,i){if(1&n&&(t.j41(0,"mat-form-field",3),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-select",17),t.EFF(7,"\n "),t.DNE(8,ze,2,2,"mat-option",5),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Field Officer")),t.R7$(5),t.Y8G("ngForOf",e.fieldOfficerData)}}function He(n,i){1&n&&(t.j41(0,"mat-form-field",3),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",18),t.nI1(7,"translate"),t.EFF(8,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.External id")),t.R7$(3),t.FS9("matTooltip",t.bMT(7,4,"tooltips.Provides an external id")))}let X=(()=>{class n{constructor(e,r,o){this.formBuilder=e,this.recurringDepositsService=r,this.settingsService=o,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isFieldOfficerPatched=!1,this.isProductSelected=!1,this.recurringDepositsAccountProductTemplate=new t.bkB,this.createRecurringDepositsAccountDetailsForm()}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.buildDependencies(),this.recurringDepositsAccountTemplate&&(this.productData=this.recurringDepositsAccountTemplate.productOptions,this.recurringDepositsAccountTemplate.depositProductId&&this.recurringDepositAccountDetailsForm.patchValue({productId:this.recurringDepositsAccountTemplate.depositProductId,submittedOnDate:this.recurringDepositsAccountTemplate.timeline.submittedOnDate&&new Date(this.recurringDepositsAccountTemplate.timeline.submittedOnDate),externalId:this.recurringDepositsAccountTemplate.externalId}))}createRecurringDepositsAccountDetailsForm(){this.recurringDepositAccountDetailsForm=this.formBuilder.group({productId:["",s.k0.required],submittedOnDate:["",s.k0.required],fieldOfficerId:[""],externalId:[""]})}buildDependencies(){const e=this.recurringDepositsAccountTemplate.clientId;this.recurringDepositAccountDetailsForm.get("productId").valueChanges.subscribe(r=>{this.recurringDepositsService.getRecurringDepositsAccountTemplate(e,r).subscribe(o=>{this.recurringDepositsAccountProductTemplate.emit(o),this.fieldOfficerData=o.fieldOfficerOptions,this.isProductSelected=!0,!this.isFieldOfficerPatched&&this.recurringDepositsAccountTemplate.fieldOfficerId?(this.recurringDepositAccountDetailsForm.get("fieldOfficerId").patchValue(this.recurringDepositsAccountTemplate.fieldOfficerId),this.isFieldOfficerPatched=!0):this.recurringDepositAccountDetailsForm.get("fieldOfficerId").patchValue("")})})}get recurringDepositAccountDetails(){return this.recurringDepositAccountDetailsForm.value}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-details-step"]],inputs:{recurringDepositsAccountTemplate:"recurringDepositsAccountTemplate"},outputs:{recurringDepositsAccountProductTemplate:"recurringDepositsAccountProductTemplate"},decls:48,vars:24,consts:[["submittedOnDatePicker",""],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["formControlName","productId","required",""],[3,"value",4,"ngFor","ngForOf"],["class","flex-48",3,"click",4,"ngIf"],["class","flex-48",4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious","","disabled",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"flex-48",3,"click"],["matInput","","formControlName","submittedOnDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["formControlName","fieldOfficerId"],["matInput","","formControlName","externalId",3,"matTooltip"]],template:function(r,o){if(1&r&&(t.j41(0,"form",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"mat-form-field",3),t.EFF(5,"\n "),t.j41(6,"mat-label"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.j41(10,"mat-select",4),t.EFF(11,"\n "),t.DNE(12,qe,2,2,"mat-option",5),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n "),t.j41(15,"mat-error"),t.EFF(16),t.nI1(17,"translate"),t.nI1(18,"translate"),t.j41(19,"strong"),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.DNE(25,Be,22,16,"mat-form-field",6),t.EFF(26,"\n\n "),t.DNE(27,Le,11,4,"mat-form-field",7),t.EFF(28,"\n\n "),t.DNE(29,He,9,6,"mat-form-field",7),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n\n "),t.j41(32,"div",8),t.EFF(33,"\n "),t.j41(34,"button",9),t.EFF(35,"\n "),t.nrm(36,"fa-icon",10),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.EFF(39,"\n "),t.j41(40,"button",11),t.EFF(41),t.nI1(42,"translate"),t.nrm(43,"fa-icon",12),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n"),t.k0s(),t.EFF(47,"\n")),2&r){let a;t.Y8G("formGroup",o.recurringDepositAccountDetailsForm),t.R7$(7),t.JRh(t.bMT(8,12,"labels.inputs.Product Name")),t.R7$(5),t.Y8G("ngForOf",o.productData),t.R7$(4),t.Lme("\n ",t.bMT(17,14,"labels.inputs.Product Name")," ",t.bMT(18,16,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(21,18,"labels.commons.required")),t.R7$(5),t.Y8G("ngIf",o.isProductSelected),t.R7$(2),t.Y8G("ngIf",o.isProductSelected),t.R7$(2),t.Y8G("ngIf",o.isProductSelected),t.R7$(8),t.SpI("\n ",t.bMT(38,20,"labels.buttons.Previous"),"\n "),t.R7$(3),t.Y8G("disabled",!(null!=(a=o.recurringDepositAccountDetailsForm.get("productId"))&&a.value&&null!=(a=o.recurringDepositAccountDetailsForm.get("submittedOnDate"))&&a.value)),t.R7$(),t.SpI("\n ",t.bMT(42,22,"labels.buttons.Next"),"\n ")}},dependencies:[g.Sq,g.bT,P.aY,k.wT,f.$z,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,v.VO,C.F7,C.FR,J.oV,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,b.D9],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return n})();function We(n,i){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Ke(n,i){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Ze(n,i){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function Qe(n,i){if(1&n&&(t.j41(0,"mat-option",13),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}let q=(()=>{class n{constructor(e,r){this.formBuilder=e,this.settingsService=r,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.createRecurringDepositsAccountTermsForm()}ngOnChanges(){this.recurringDepositsAccountProductTemplate&&this.setOptions()}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.recurringDepositsAccountTemplate.id&&this.recurringDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.recurringDepositsAccountTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.recurringDepositsAccountTemplate.interestPostingPeriodType.id,interestCalculationType:this.recurringDepositsAccountTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.recurringDepositsAccountTemplate.interestCalculationDaysInYearType.id})}createRecurringDepositsAccountTermsForm(){this.recurringDepositAccountTermsForm=this.formBuilder.group({interestCompoundingPeriodType:["",s.k0.required],interestPostingPeriodType:["",s.k0.required],interestCalculationType:["",s.k0.required],interestCalculationDaysInYearType:["",s.k0.required]})}setOptions(){this.interestCompoundingPeriodTypeData=this.recurringDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,this.interestPostingPeriodTypeData=this.recurringDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,this.interestCalculationTypeData=this.recurringDepositsAccountProductTemplate.interestCalculationTypeOptions,this.interestCalculationDaysInYearTypeData=this.recurringDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,this.recurringDepositsAccountTemplate.id||this.recurringDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.recurringDepositsAccountProductTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.recurringDepositsAccountProductTemplate.interestPostingPeriodType.id,interestCalculationType:this.recurringDepositsAccountProductTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.recurringDepositsAccountProductTemplate.interestCalculationDaysInYearType.id})}get recurringDepositAccountTerms(){return this.recurringDepositAccountTermsForm.value}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-terms-step"]],inputs:{recurringDepositsAccountTemplate:"recurringDepositsAccountTemplate",recurringDepositsAccountProductTemplate:"recurringDepositsAccountProductTemplate"},features:[t.OA$],decls:105,vars:59,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["formControlName","interestCompoundingPeriodType","required",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","interestPostingPeriodType","required",""],["formControlName","interestCalculationType","required",""],["formControlName","interestCalculationDaysInYearType","required",""],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[3,"value"]],template:function(r,o){1&r&&(t.j41(0,"form",0),t.EFF(1,"\n "),t.j41(2,"div",1),t.EFF(3,"\n "),t.j41(4,"mat-form-field",2),t.EFF(5,"\n "),t.j41(6,"mat-label"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.j41(10,"mat-select",3),t.EFF(11,"\n "),t.DNE(12,We,3,5,"mat-option",4),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n "),t.j41(15,"mat-error"),t.EFF(16),t.nI1(17,"translate"),t.nI1(18,"translate"),t.j41(19,"strong"),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.j41(25,"mat-form-field",2),t.EFF(26,"\n "),t.j41(27,"mat-label"),t.EFF(28),t.nI1(29,"translate"),t.k0s(),t.EFF(30,"\n "),t.j41(31,"mat-select",5),t.EFF(32,"\n "),t.DNE(33,Ke,3,5,"mat-option",4),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.j41(36,"mat-error"),t.EFF(37),t.nI1(38,"translate"),t.nI1(39,"translate"),t.j41(40,"strong"),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.k0s(),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n\n "),t.j41(46,"mat-form-field",2),t.EFF(47,"\n "),t.j41(48,"mat-label"),t.EFF(49),t.nI1(50,"translate"),t.k0s(),t.EFF(51,"\n "),t.j41(52,"mat-select",6),t.EFF(53,"\n "),t.DNE(54,Ze,3,5,"mat-option",4),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n "),t.j41(57,"mat-error"),t.EFF(58),t.nI1(59,"translate"),t.nI1(60,"translate"),t.j41(61,"strong"),t.EFF(62),t.nI1(63,"translate"),t.k0s(),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n\n "),t.j41(67,"mat-form-field",2),t.EFF(68,"\n "),t.j41(69,"mat-label"),t.EFF(70),t.nI1(71,"translate"),t.k0s(),t.EFF(72,"\n "),t.j41(73,"mat-select",7),t.EFF(74,"\n "),t.DNE(75,Qe,3,5,"mat-option",4),t.EFF(76,"\n "),t.k0s(),t.EFF(77,"\n "),t.j41(78,"mat-error"),t.EFF(79),t.nI1(80,"translate"),t.nI1(81,"translate"),t.j41(82,"strong"),t.EFF(83),t.nI1(84,"translate"),t.k0s(),t.EFF(85,"\n "),t.k0s(),t.EFF(86,"\n "),t.k0s(),t.EFF(87,"\n "),t.k0s(),t.EFF(88,"\n\n "),t.j41(89,"div",8),t.EFF(90,"\n "),t.j41(91,"button",9),t.EFF(92,"\n "),t.nrm(93,"fa-icon",10),t.EFF(94),t.nI1(95,"translate"),t.k0s(),t.EFF(96,"\n "),t.j41(97,"button",11),t.EFF(98),t.nI1(99,"translate"),t.nrm(100,"fa-icon",12),t.EFF(101,"\n "),t.k0s(),t.EFF(102,"\n "),t.k0s(),t.EFF(103,"\n"),t.k0s(),t.EFF(104,"\n")),2&r&&(t.Y8G("formGroup",o.recurringDepositAccountTermsForm),t.R7$(7),t.JRh(t.bMT(8,23,"labels.inputs.Interest Compounding Period")),t.R7$(5),t.Y8G("ngForOf",o.interestCompoundingPeriodTypeData),t.R7$(4),t.Lme("\n ",t.bMT(17,25,"labels.inputs.Interest Compounding Period")," ",t.bMT(18,27,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(21,29,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(29,31,"labels.inputs.Interest Posting Period")),t.R7$(5),t.Y8G("ngForOf",o.interestPostingPeriodTypeData),t.R7$(4),t.Lme("\n ",t.bMT(38,33,"labels.inputs.Interest Posting Period")," ",t.bMT(39,35,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(42,37,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(50,39,"labels.inputs.Interest Calculated using")),t.R7$(5),t.Y8G("ngForOf",o.interestCalculationTypeData),t.R7$(4),t.Lme("\n ",t.bMT(59,41,"labels.inputs.Interest Calculated using")," ",t.bMT(60,43,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(63,45,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(71,47,"labels.inputs.Days in Year")),t.R7$(5),t.Y8G("ngForOf",o.interestCalculationDaysInYearTypeData),t.R7$(4),t.Lme("\n ",t.bMT(80,49,"labels.inputs.Days in Year")," ",t.bMT(81,51,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(84,53,"labels.commons.required")),t.R7$(11),t.SpI("\n ",t.bMT(95,55,"labels.buttons.Previous"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(99,57,"labels.buttons.Next"),"\n "))},dependencies:[g.Sq,P.aY,k.wT,f.$z,F.rl,F.nJ,F.TL,v.VO,C.F7,C.FR,s.qT,s.BC,s.cb,s.YS,s.j4,s.JD,b.D9,y.D]})}}return n})();var tt=u(71997),H=u(67398);function to(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function no(n,i){if(1&n&&(t.j41(0,"mifosx-input-amount",33),t.EFF(1,"\n "),t.k0s()),2&n){const e=t.XpG();t.Y8G("currency",e.currency)("isRequired",!0)("inputFormControl",e.recurringDepositAccountSettingsForm.controls.mandatoryRecommendedDepositAmount)("inputLabel","Recurring Deposit Amount")}}function eo(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function oo(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function io(n,i){if(1&n){const e=t.RV6();t.qex(0),t.EFF(1,"\n "),t.j41(2,"mat-form-field",34),t.bIt("click",function(){t.eBV(e);const o=t.sdS(13);return t.Njj(o.open())}),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.nrm(8,"input",35),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker-toggle",36),t.EFF(11,"\n "),t.nrm(12,"mat-datepicker",null,0),t.EFF(14,"\n "),t.k0s(),t.EFF(15,"\n\n "),t.j41(16,"h4",6),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n\n "),t.j41(20,"mat-form-field",7),t.EFF(21,"\n "),t.j41(22,"mat-label"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.nrm(26,"input",37),t.EFF(27,"\n "),t.j41(28,"mat-error"),t.EFF(29),t.nI1(30,"translate"),t.nI1(31,"translate"),t.j41(32,"strong"),t.EFF(33),t.nI1(34,"translate"),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n\n "),t.j41(38,"mat-form-field",7),t.EFF(39,"\n "),t.j41(40,"mat-label"),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.j41(44,"mat-select",38),t.EFF(45,"\n "),t.DNE(46,oo,3,5,"mat-option",10),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.j41(49,"mat-error"),t.EFF(50),t.nI1(51,"translate"),t.nI1(52,"translate"),t.j41(53,"strong"),t.EFF(54),t.nI1(55,"translate"),t.k0s(),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n "),t.k0s(),t.EFF(58,"\n "),t.bVm()}if(2&n){const e=t.sdS(13),r=t.XpG();t.R7$(5),t.JRh(t.bMT(6,15,"labels.inputs.Deposit Start Date")),t.R7$(3),t.Y8G("min",r.minDate)("max",r.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(7),t.JRh(t.bMT(18,17,"labels.heading.Deposit Frequency")),t.R7$(6),t.JRh(t.bMT(24,19,"labels.inputs.Deposit Frequency")),t.R7$(6),t.Lme("\n ",t.bMT(30,21,"labels.inputs.Deposit Frequency")," ",t.bMT(31,23,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(34,25,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(42,27,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",r.periodFrequencyTypeData),t.R7$(4),t.Lme("\n ",t.bMT(51,29,"labels.inputs.Deposit Frequency Type")," ",t.bMT(52,31,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(55,33,"labels.commons.required"))}}function ro(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function ao(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function so(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function co(n,i){if(1&n&&(t.j41(0,"mat-option",32),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",t.i5U(2,2,e.value,"catalogs"),"\n ")}}function po(n,i){1&n&&(t.j41(0,"mat-form-field",7),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",41),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Tax Group")))}function lo(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"h4",6),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.j41(6,"mat-checkbox",39),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,po,8,3,"mat-form-field",40),t.EFF(11,"\n "),t.bVm()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.heading.Tax Group")),t.R7$(4),t.SpI("\n ",t.bMT(8,5,"labels.inputs.Is Withhold Tax Applicable"),"?\n "),t.R7$(3),t.Y8G("ngIf",e.recurringDepositAccountSettingsForm.controls.taxGroupId)}}let B=(()=>{class n{constructor(e,r){this.formBuilder=e,this.settingsService=r,this.isNew=!0,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.currency=null,this.createRecurringDepositAccountSettingsForm(),this.buildDependencies()}ngOnChanges(){const e=this.isNew?this.recurringDepositsAccountProductTemplate:this.recurringDepositsAccountTemplate;e&&(this.currency=e.currency,this.recurringDepositAccountSettingsForm.patchValue({isMandatoryDeposit:e.isMandatoryDeposit,adjustAdvanceTowardsFuturePayments:e.adjustAdvanceTowardsFuturePayments,allowWithdrawal:e.allowWithdrawal,lockinPeriodFrequency:e.lockinPeriodFrequency,lockinPeriodFrequencyType:e.lockinPeriodFrequencyType?e.lockinPeriodFrequencyType.id:"",minDepositTerm:e.minDepositTerm,minDepositTermTypeId:e.minDepositTermType?e.minDepositTermType.id:"",inMultiplesOfDepositTerm:e.inMultiplesOfDepositTerm,inMultiplesOfDepositTermTypeId:e.inMultiplesOfDepositTermType?e.inMultiplesOfDepositTermType.id:"",maxDepositTerm:e.maxDepositTerm,maxDepositTermTypeId:e.maxDepositTermType?e.maxDepositTermType.id:"",preClosurePenalApplicable:e.preClosurePenalApplicable,preClosurePenalInterest:e.preClosurePenalInterest,preClosurePenalInterestOnTypeId:e.preClosurePenalInterestOnType?e.preClosurePenalInterestOnType.id:"",minBalanceForInterestCalculation:e.minBalanceForInterestCalculation,depositPeriod:e.minDepositTerm,depositPeriodFrequencyId:e.minDepositTermType.id,expectedFirstDepositOnDate:e.expectedFirstDepositOnDate&&new Date(e.expectedFirstDepositOnDate),recurringFrequency:e.recurringFrequency,recurringFrequencyType:e.recurringFrequencyType?e.recurringFrequencyType.id:""}),e.withHoldTax?(this.recurringDepositAccountSettingsForm.addControl("withHoldTax",new s.hs(!1)),this.recurringDepositAccountSettingsForm.get("withHoldTax").valueChanges.subscribe(r=>{r?(this.recurringDepositAccountSettingsForm.addControl("taxGroupId",new s.hs({value:"",disabled:!0})),this.recurringDepositAccountSettingsForm.get("taxGroupId").patchValue(e.taxGroup&&e.taxGroup.name)):this.recurringDepositAccountSettingsForm.removeControl("taxGroupId")}),this.recurringDepositAccountSettingsForm.get("withHoldTax").patchValue(this.recurringDepositsAccountTemplate.withHoldTax)):this.recurringDepositAccountSettingsForm.removeControl("withHoldTax"),this.taxGroup=e.taxGroup,this.setOptions(e))}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.recurringDepositsAccountTemplate&&this.recurringDepositAccountSettingsForm.patchValue({lockinPeriodFrequency:this.recurringDepositsAccountTemplate.lockinPeriodFrequency,lockinPeriodFrequencyType:this.recurringDepositsAccountTemplate.lockinPeriodFrequencyType&&this.recurringDepositsAccountTemplate.lockinPeriodFrequencyType.id,mandatoryRecommendedDepositAmount:this.recurringDepositsAccountTemplate.mandatoryRecommendedDepositAmount})}createRecurringDepositAccountSettingsForm(){this.recurringDepositAccountSettingsForm=this.formBuilder.group({isMandatoryDeposit:[""],adjustAdvanceTowardsFuturePayments:[""],allowWithdrawal:[""],lockinPeriodFrequency:[""],lockinPeriodFrequencyType:[""],mandatoryRecommendedDepositAmount:["",s.k0.required],depositPeriod:["",s.k0.required],depositPeriodFrequencyId:["",s.k0.required],isCalendarInherited:[""],expectedFirstDepositOnDate:[""],recurringFrequency:["",s.k0.required],recurringFrequencyType:["",s.k0.required],minDepositTerm:[{value:"",disabled:!0}],minDepositTermTypeId:[{value:"",disabled:!0}],inMultiplesOfDepositTerm:[{value:"",disabled:!0}],inMultiplesOfDepositTermTypeId:[{value:"",disabled:!0}],maxDepositTerm:[{value:"",disabled:!0}],maxDepositTermTypeId:[{value:"",disabled:!0}],preClosurePenalApplicable:[{value:"",disabled:!0}],preClosurePenalInterest:[{value:"",disabled:!0}],preClosurePenalInterestOnTypeId:[{value:"",disabled:!0}],minBalanceForInterestCalculation:[{value:"",disabled:!0}]})}setOptions(e){this.lockinPeriodFrequencyTypeData=e.lockinPeriodFrequencyTypeOptions,this.periodFrequencyTypeData=e.periodFrequencyTypeOptions,this.preClosurePenalInterestOnTypeData=e.preClosurePenalInterestOnTypeOptions}buildDependencies(){this.recurringDepositAccountSettingsForm.get("isCalendarInherited").valueChanges.subscribe(e=>{e?(this.recurringDepositAccountSettingsForm.removeControl("expectedFirstDepositOnDate"),this.recurringDepositAccountSettingsForm.removeControl("recurringFrequency"),this.recurringDepositAccountSettingsForm.removeControl("recurringFrequencyType")):(this.recurringDepositAccountSettingsForm.addControl("expectedFirstDepositOnDate",new s.hs),this.recurringDepositAccountSettingsForm.addControl("recurringFrequency",new s.hs("")),this.recurringDepositAccountSettingsForm.addControl("recurringFrequencyType",new s.hs("")))})}get recurringDepositAccountSettings(){return this.recurringDepositAccountSettingsForm.value}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-settings-step"]],inputs:{isNew:"isNew",recurringDepositsAccountTemplate:"recurringDepositsAccountTemplate",recurringDepositsAccountProductTemplate:"recurringDepositsAccountProductTemplate"},features:[t.OA$],decls:233,vars:109,consts:[["expectedFirstDepositOnDatePicker",""],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],["labelPosition","before","formControlName","isMandatoryDeposit",1,"margin-v","flex-48"],["labelPosition","before","formControlName","adjustAdvanceTowardsFuturePayments",1,"flex-48","margin-v"],["labelPosition","before","formControlName","allowWithdrawal",1,"margin-v","flex-48"],[1,"mat-h4","flex-98"],[1,"flex-48"],["type","number","matInput","","formControlName","lockinPeriodFrequency"],["formControlName","lockinPeriodFrequencyType"],[3,"value",4,"ngFor","ngForOf"],["class","flex-48",3,"currency","isRequired","inputFormControl","inputLabel",4,"ngIf"],["type","number","matInput","","formControlName","depositPeriod","required",""],["formControlName","depositPeriodFrequencyId","required",""],["labelPosition","before","formControlName","isCalendarInherited",1,"margin-v","flex-48"],[4,"ngIf"],[1,"flex-98"],["type","number","matInput","","formControlName","minDepositTerm","required",""],["formControlName","minDepositTermTypeId","required",""],["type","number","matInput","","formControlName","inMultiplesOfDepositTerm"],["formControlName","inMultiplesOfDepositTermTypeId"],["type","number","matInput","","formControlName","maxDepositTerm"],["formControlName","maxDepositTermTypeId"],["labelPosition","before","formControlName","preClosurePenalApplicable",1,"flex-73","margin-v"],["type","number","matInput","","formControlName","preClosurePenalInterest"],["formControlName","preClosurePenalInterestOnTypeId"],["type","number","matInput","","formControlName","minBalanceForInterestCalculation"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"flex-48",3,"currency","isRequired","inputFormControl","inputLabel"],[1,"flex-48",3,"click"],["matInput","","formControlName","expectedFirstDepositOnDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["type","number","matInput","","formControlName","recurringFrequency","required",""],["formControlName","recurringFrequencyType","required",""],["labelPosition","before","formControlName","withHoldTax",1,"margin-v","flex-48"],["class","flex-48",4,"ngIf"],["type","text","matInput","","formControlName","taxGroupId"]],template:function(r,o){1&r&&(t.j41(0,"form",1),t.EFF(1,"\n "),t.j41(2,"div",2),t.EFF(3,"\n "),t.j41(4,"mat-checkbox",3),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n\n "),t.j41(8,"mat-checkbox",4),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.EFF(11,"\n\n "),t.j41(12,"mat-checkbox",5),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n\n "),t.j41(16,"h4",6),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n\n "),t.j41(20,"mat-form-field",7),t.EFF(21,"\n "),t.j41(22,"mat-label"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.nrm(26,"input",8),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"mat-form-field",7),t.EFF(30,"\n "),t.j41(31,"mat-label"),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.j41(35,"mat-select",9),t.EFF(36,"\n "),t.DNE(37,to,3,5,"mat-option",10),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n\n "),t.j41(41,"h4",6),t.EFF(42),t.nI1(43,"translate"),t.k0s(),t.EFF(44,"\n "),t.DNE(45,no,2,4,"mifosx-input-amount",11),t.EFF(46,"\n\n "),t.j41(47,"h4",6),t.EFF(48),t.nI1(49,"translate"),t.k0s(),t.EFF(50,"\n\n "),t.j41(51,"mat-form-field",7),t.EFF(52,"\n "),t.j41(53,"mat-label"),t.EFF(54),t.nI1(55,"translate"),t.k0s(),t.EFF(56,"\n "),t.nrm(57,"input",12),t.EFF(58,"\n "),t.k0s(),t.EFF(59,"\n\n "),t.j41(60,"mat-form-field",7),t.EFF(61,"\n "),t.j41(62,"mat-label"),t.EFF(63),t.nI1(64,"translate"),t.k0s(),t.EFF(65,"\n "),t.j41(66,"mat-select",13),t.EFF(67,"\n "),t.DNE(68,eo,3,5,"mat-option",10),t.EFF(69,"\n "),t.k0s(),t.EFF(70,"\n "),t.k0s(),t.EFF(71,"\n\n "),t.j41(72,"mat-checkbox",14),t.EFF(73),t.nI1(74,"translate"),t.k0s(),t.EFF(75,"\n\n "),t.DNE(76,io,59,35,"ng-container",15),t.EFF(77,"\n\n "),t.nrm(78,"mat-divider",16),t.EFF(79,"\n\n "),t.j41(80,"h4",6),t.EFF(81),t.nI1(82,"translate"),t.k0s(),t.EFF(83,"\n\n "),t.j41(84,"mat-form-field",7),t.EFF(85,"\n "),t.j41(86,"mat-label"),t.EFF(87),t.nI1(88,"translate"),t.k0s(),t.EFF(89,"\n "),t.nrm(90,"input",17),t.EFF(91,"\n "),t.j41(92,"mat-error"),t.EFF(93),t.nI1(94,"translate"),t.nI1(95,"translate"),t.j41(96,"strong"),t.EFF(97),t.nI1(98,"translate"),t.k0s(),t.EFF(99,"\n "),t.k0s(),t.EFF(100,"\n "),t.k0s(),t.EFF(101,"\n\n "),t.j41(102,"mat-form-field",7),t.EFF(103,"\n "),t.j41(104,"mat-label"),t.EFF(105),t.nI1(106,"translate"),t.k0s(),t.EFF(107,"\n "),t.j41(108,"mat-select",18),t.EFF(109,"\n "),t.DNE(110,ro,3,5,"mat-option",10),t.EFF(111,"\n "),t.k0s(),t.EFF(112,"\n "),t.j41(113,"mat-error"),t.EFF(114),t.nI1(115,"translate"),t.nI1(116,"translate"),t.j41(117,"strong"),t.EFF(118),t.nI1(119,"translate"),t.k0s(),t.EFF(120,"\n "),t.k0s(),t.EFF(121,"\n "),t.k0s(),t.EFF(122,"\n\n "),t.j41(123,"h4",6),t.EFF(124),t.nI1(125,"translate"),t.k0s(),t.EFF(126,"\n\n "),t.j41(127,"mat-form-field",7),t.EFF(128,"\n "),t.j41(129,"mat-label"),t.EFF(130),t.nI1(131,"translate"),t.k0s(),t.EFF(132,"\n "),t.nrm(133,"input",19),t.EFF(134,"\n "),t.k0s(),t.EFF(135,"\n\n "),t.j41(136,"mat-form-field",7),t.EFF(137,"\n "),t.j41(138,"mat-label"),t.EFF(139),t.nI1(140,"translate"),t.k0s(),t.EFF(141,"\n "),t.j41(142,"mat-select",20),t.EFF(143,"\n "),t.DNE(144,ao,3,5,"mat-option",10),t.EFF(145,"\n "),t.k0s(),t.EFF(146,"\n "),t.k0s(),t.EFF(147,"\n\n "),t.j41(148,"h4",6),t.EFF(149),t.nI1(150,"translate"),t.k0s(),t.EFF(151,"\n\n "),t.j41(152,"mat-form-field",7),t.EFF(153,"\n "),t.j41(154,"mat-label"),t.EFF(155),t.nI1(156,"translate"),t.k0s(),t.EFF(157,"\n "),t.nrm(158,"input",21),t.EFF(159,"\n "),t.k0s(),t.EFF(160,"\n\n "),t.j41(161,"mat-form-field",7),t.EFF(162,"\n "),t.j41(163,"mat-label"),t.EFF(164),t.nI1(165,"translate"),t.k0s(),t.EFF(166,"\n "),t.j41(167,"mat-select",22),t.EFF(168,"\n "),t.DNE(169,so,3,5,"mat-option",10),t.EFF(170,"\n "),t.k0s(),t.EFF(171,"\n "),t.k0s(),t.EFF(172,"\n\n "),t.nrm(173,"mat-divider",16),t.EFF(174,"\n\n "),t.j41(175,"h4",6),t.EFF(176),t.nI1(177,"translate"),t.k0s(),t.EFF(178,"\n\n "),t.j41(179,"mat-checkbox",23),t.EFF(180),t.nI1(181,"translate"),t.k0s(),t.EFF(182,"\n\n "),t.j41(183,"mat-form-field",7),t.EFF(184,"\n "),t.j41(185,"mat-label"),t.EFF(186),t.nI1(187,"translate"),t.k0s(),t.EFF(188,"\n "),t.nrm(189,"input",24),t.EFF(190,"\n "),t.k0s(),t.EFF(191,"\n\n "),t.j41(192,"mat-form-field",7),t.EFF(193,"\n "),t.j41(194,"mat-label"),t.EFF(195),t.nI1(196,"translate"),t.k0s(),t.EFF(197,"\n "),t.j41(198,"mat-select",25),t.EFF(199,"\n "),t.DNE(200,co,3,5,"mat-option",10),t.EFF(201,"\n "),t.k0s(),t.EFF(202,"\n "),t.k0s(),t.EFF(203,"\n\n "),t.EFF(204,"\n\n "),t.j41(205,"mat-form-field",7),t.EFF(206,"\n "),t.j41(207,"mat-label"),t.EFF(208),t.nI1(209,"translate"),t.k0s(),t.EFF(210,"\n "),t.nrm(211,"input",26),t.EFF(212,"\n "),t.k0s(),t.EFF(213,"\n\n "),t.DNE(214,lo,12,7,"ng-container",15),t.EFF(215,"\n "),t.k0s(),t.EFF(216,"\n\n "),t.j41(217,"div",27),t.EFF(218,"\n "),t.j41(219,"button",28),t.EFF(220,"\n "),t.nrm(221,"fa-icon",29),t.EFF(222),t.nI1(223,"translate"),t.k0s(),t.EFF(224,"\n "),t.j41(225,"button",30),t.EFF(226),t.nI1(227,"translate"),t.nrm(228,"fa-icon",31),t.EFF(229,"\n "),t.k0s(),t.EFF(230,"\n "),t.k0s(),t.EFF(231,"\n"),t.k0s(),t.EFF(232,"\n")),2&r&&(t.Y8G("formGroup",o.recurringDepositAccountSettingsForm),t.R7$(5),t.SpI("\n ",t.bMT(6,43,"labels.inputs.Is Mandatory Deposit"),"?\n "),t.R7$(4),t.SpI("\n ",t.bMT(10,45,"labels.inputs.Adjust advance payments toward future installments"),"?\n "),t.R7$(4),t.SpI("\n ",t.bMT(14,47,"labels.inputs.Allow Withdrawals"),"?\n "),t.R7$(4),t.JRh(t.bMT(18,49,"labels.heading.Lock-in Period")),t.R7$(6),t.JRh(t.bMT(24,51,"labels.inputs.Frequency")),t.R7$(9),t.JRh(t.bMT(33,53,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.lockinPeriodFrequencyTypeData),t.R7$(5),t.JRh(t.bMT(43,55,"labels.heading.Recurring Deposit Details")),t.R7$(3),t.Y8G("ngIf",o.currency),t.R7$(3),t.JRh(t.bMT(49,57,"labels.heading.Deposit Period")),t.R7$(6),t.JRh(t.bMT(55,59,"labels.inputs.Deposit Period")),t.R7$(9),t.JRh(t.bMT(64,61,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(5),t.SpI("\n ",t.bMT(74,63,"labels.inputs.Deposit Frequency Same as Group/Center meeting"),"\n "),t.R7$(3),t.Y8G("ngIf",!o.recurringDepositAccountSettingsForm.value.isCalendarInherited),t.R7$(5),t.JRh(t.bMT(82,65,"labels.heading.Minimum Deposit Term")),t.R7$(6),t.JRh(t.bMT(88,67,"labels.inputs.Frequency")),t.R7$(6),t.Lme("\n ",t.bMT(94,69,"labels.inputs.Minimum Deposit Term Frequency")," ",t.bMT(95,71,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(98,73,"labels.commons.required")),t.R7$(8),t.JRh(t.bMT(106,75,"labels.inputs.Frequency Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(4),t.Lme("\n ",t.bMT(115,77,"labels.inputs.Minimum Deposit Term Frequency Type")," ",t.bMT(116,79,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(119,81,"labels.commons.required")),t.R7$(6),t.JRh(t.bMT(125,83,"labels.heading.And thereafter, in Multiples of")),t.R7$(6),t.JRh(t.bMT(131,85,"labels.inputs.Frequency")),t.R7$(9),t.JRh(t.bMT(140,87,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(5),t.JRh(t.bMT(150,89,"labels.heading.Maximum Deposit Term")),t.R7$(6),t.JRh(t.bMT(156,91,"labels.inputs.Frequency")),t.R7$(9),t.JRh(t.bMT(165,93,"labels.inputs.Type")),t.R7$(5),t.Y8G("ngForOf",o.periodFrequencyTypeData),t.R7$(7),t.JRh(t.bMT(177,95,"labels.heading.For Pre-mature closure")),t.R7$(4),t.SpI("\n ",t.bMT(181,97,"labels.inputs.Apply Penal Interest (less)"),"\n "),t.R7$(6),t.SpI("",t.bMT(187,99,"labels.inputs.Penal Interest")," (%)"),t.R7$(9),t.JRh(t.bMT(196,101,"labels.inputs.Period")),t.R7$(5),t.Y8G("ngForOf",o.preClosurePenalInterestOnTypeData),t.R7$(8),t.JRh(t.bMT(209,103,"labels.inputs.Minimum Balance For Interest Calculation")),t.R7$(6),t.Y8G("ngIf",o.taxGroup),t.R7$(8),t.SpI("\n ",t.bMT(223,105,"labels.buttons.Previous"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(227,107,"labels.buttons.Next"),"\n "))},dependencies:[g.Sq,g.bT,P.aY,k.wT,f.$z,Z.So,_.Vh,_.bZ,_.bU,tt.q,F.rl,F.nJ,F.TL,F.yw,I.fg,v.VO,C.F7,C.FR,s.qT,s.me,s.Q0,s.BC,s.cb,s.YS,s.j4,s.JD,H.e,b.D9,y.D],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return n})();function uo(n,i){if(1&n&&(t.j41(0,"mat-option",24),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function mo(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.name")))}function Fo(n,i){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.name+", "+e.currency.displaySymbol,"\n ")}}function go(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Type")))}function _o(n,i){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.i5U(2,1,e.chargeCalculationType.value,"catalogs"),"\n ")}}function ho(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount")))}function bo(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.EFF(1),t.nI1(2,"formatNumber"),t.j41(3,"button",27),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.editChargeAmount(o))}),t.EFF(4,"\n "),t.nrm(5,"fa-icon",28),t.EFF(6,"\n "),t.k0s(),t.EFF(7,"\n "),t.k0s()}if(2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.amount),"\n ")}}function fo(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Collected On")))}function Eo(n,i){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.i5U(2,1,e.chargeTimeType.value,"catalogs"),"\n ")}}function Do(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Date")))}function Co(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.dueDate)||"Unassigned","\n ")}}function To(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.feeOnMonthDay)||"Unassigned","\n ")}}function Ro(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.N/A"),"\n "))}function Mo(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",27),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,a=t.XpG();return t.Njj(a.editChargeDate(o))}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",28),t.EFF(3,"\n "),t.k0s()}}function Po(n,i){if(1&n&&(t.j41(0,"td",26),t.EFF(1,"\n "),t.DNE(2,Co,3,3,"span",29),t.EFF(3,"\n "),t.DNE(4,To,3,3,"span",29),t.EFF(5,"\n "),t.DNE(6,Ro,3,3,"span",29),t.EFF(7,"\n "),t.DNE(8,Mo,4,0,"button",30),t.EFF(9,"\n "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf","Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf","Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf",!("Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value)),t.R7$(2),t.Y8G("ngIf","Weekly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value)}}function Io(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Repayments Every")))}function Oo(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",27),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,a=t.XpG();return t.Njj(a.editChargeFeeInterval(o))}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",28),t.EFF(3,"\n "),t.k0s()}}function Ao(n,i){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.DNE(2,Oo,4,0,"button",30),t.EFF(3,"\n "),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.feeInterval||"Not Provided","\n "),t.R7$(),t.Y8G("ngIf","Weekly Fee"===e.chargeTimeType.value||"Monthly Fee"===e.chargeTimeType.value)}}function xo(n,i){1&n&&(t.j41(0,"th",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function ko(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",26),t.EFF(1,"\n "),t.j41(2,"button",31),t.bIt("click",function(){const o=t.eBV(e).$implicit,a=t.XpG();return t.Njj(a.deleteCharge(o))}),t.EFF(3,"\n "),t.nrm(4,"fa-icon",32),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}}function vo(n,i){1&n&&t.nrm(0,"tr",33)}function yo(n,i){1&n&&t.nrm(0,"tr",34)}let z=(()=>{class n{constructor(e,r,o){this.dialog=e,this.dateUtils=r,this.settingsService=o,this.chargesDataSource=[],this.displayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery","action"],this.pristine=!0,this.isChargesPatched=!1,this.currency=null}ngOnInit(){this.chargesDataSource=[],this.recurringDepositsAccountTemplate.id&&this.recurringDepositsAccountTemplate.charges&&(this.chargesDataSource=this.recurringDepositsAccountTemplate.charges.map(e=>({...e,id:e.chargeId}))||[])}ngOnChanges(){null==this.currency&&(this.recurringDepositsAccountTemplate.currency?this.currency=this.recurringDepositsAccountTemplate.currency:this.recurringDepositsAccountProductTemplate&&this.recurringDepositsAccountProductTemplate.currency&&(this.currency=this.recurringDepositsAccountProductTemplate.currency)),this.recurringDepositsAccountProductTemplate&&(this.chargeData=this.recurringDepositsAccountProductTemplate.chargeOptions.filter(e=>e.currency.code===this.currency.code))}addCharge(e){this.chargesDataSource=this.chargesDataSource.concat([e.value]),e.value="",this.pristine=!1}editChargeAmount(e){const r=[new U.O({controlName:"amount",label:"Amount",value:e.amount,type:"number",required:!1})];this.dialog.open(N.u,{data:{title:"Edit Charge Amount",layout:{addButtonText:"Confirm"},formfields:r}}).afterClosed().subscribe(c=>{if(c.data){const l={...e,amount:c.data.value.amount};this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1,l),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeDate(e){const r=[new Q.U({controlName:"date",label:"Date",value:e.dueDate||e.feeOnMonthDay||"",type:"datetime-local",required:!1})];this.dialog.open(N.u,{data:{title:"Edit Charge Date",layout:{addButtonText:"Confirm"},formfields:r}}).afterClosed().subscribe(c=>{if(c.data){let l;const M=this.dateUtils.formatDate(c.data.value.date,this.settingsService.dateFormat);switch(e.chargeTimeType.value){case"Specified due date":case"Weekly Fee":l={...e,dueDate:M};break;case"Annual Fee":l={...e,feeOnMonthDay:M}}this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1,l),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeFeeInterval(e){const r=[new U.O({controlName:"feeInterval",label:"Fee Interval",value:e.feeInterval,type:"text",required:!1})];this.dialog.open(N.u,{data:{title:"Edit Charge Fee Interval",layout:{addButtonText:"Confirm"},formfields:r}}).afterClosed().subscribe(c=>{if(c.data){const l={...e,feeInterval:c.data.value.feeInterval};this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1,l),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}deleteCharge(e){this.dialog.open(G.X,{data:{deleteContext:`charge ${e.name}`}}).afterClosed().subscribe(o=>{o.delete&&(this.chargesDataSource.splice(this.chargesDataSource.indexOf(e),1),this.chargesDataSource=this.chargesDataSource.concat([]),this.pristine=!1)})}get recurringDepositAccountCharges(){return{charges:this.chargesDataSource}}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(O.bZ),t.rXU(R.A),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-charges-step"]],inputs:{recurringDepositsAccountTemplate:"recurringDepositsAccountTemplate",recurringDepositsAccountProductTemplate:"recurringDepositsAccountProductTemplate",currencyCode:"currencyCode",recurringDepositAccountFormValid:"recurringDepositAccountFormValid"},features:[t.OA$],decls:96,vars:19,consts:[["charge",""],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-48","align-center"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["icon","plus",1,"m-r-10"],["mat-table","",1,"flex-98","mat-elevation-z1",3,"dataSource","hidden"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","chargeCalculationType"],["matColumnDef","amount"],["matColumnDef","chargeTimeType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","color","primary",3,"click"],["icon","pen"],[4,"ngIf"],["mat-icon-button","","color","primary",3,"click",4,"ngIf"],["mat-icon-button","","color","warn",3,"click"],["icon","trash"],["mat-header-row",""],["mat-row",""]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-form-field",2),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.j41(8,"mat-select",null,0),t.EFF(10,"\n "),t.DNE(11,uo,2,2,"mat-option",3),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n\n "),t.j41(15,"div",4),t.EFF(16,"\n "),t.j41(17,"button",5),t.bIt("click",function(){t.eBV(a);const l=t.sdS(9);return t.Njj(o.addCharge(l))}),t.EFF(18,"\n "),t.nrm(19,"fa-icon",6),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n\n "),t.j41(24,"table",7),t.EFF(25,"\n "),t.qex(26,8),t.EFF(27,"\n "),t.DNE(28,mo,3,3,"th",9),t.EFF(29,"\n "),t.DNE(30,Fo,2,1,"td",10),t.EFF(31,"\n "),t.bVm(),t.EFF(32,"\n\n "),t.qex(33,11),t.EFF(34,"\n "),t.DNE(35,go,3,3,"th",9),t.EFF(36,"\n "),t.DNE(37,_o,3,4,"td",10),t.EFF(38,"\n "),t.bVm(),t.EFF(39,"\n\n "),t.qex(40,12),t.EFF(41,"\n "),t.DNE(42,ho,3,3,"th",9),t.EFF(43,"\n "),t.DNE(44,bo,8,3,"td",10),t.EFF(45,"\n "),t.bVm(),t.EFF(46,"\n\n "),t.qex(47,13),t.EFF(48,"\n "),t.DNE(49,fo,3,3,"th",9),t.EFF(50,"\n "),t.DNE(51,Eo,3,4,"td",10),t.EFF(52,"\n "),t.bVm(),t.EFF(53,"\n\n "),t.qex(54,14),t.EFF(55,"\n "),t.DNE(56,Do,3,3,"th",9),t.EFF(57,"\n "),t.DNE(58,Po,10,4,"td",10),t.EFF(59,"\n "),t.bVm(),t.EFF(60,"\n\n "),t.qex(61,15),t.EFF(62,"\n "),t.DNE(63,Io,3,3,"th",9),t.EFF(64,"\n "),t.DNE(65,Ao,4,2,"td",10),t.EFF(66,"\n "),t.bVm(),t.EFF(67,"\n\n "),t.qex(68,16),t.EFF(69,"\n "),t.DNE(70,xo,3,3,"th",9),t.EFF(71,"\n "),t.DNE(72,ko,7,0,"td",10),t.EFF(73,"\n "),t.bVm(),t.EFF(74,"\n\n "),t.DNE(75,vo,1,0,"tr",17),t.EFF(76,"\n "),t.DNE(77,yo,1,0,"tr",18),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n"),t.k0s(),t.EFF(80,"\n\n"),t.j41(81,"div",19),t.EFF(82,"\n "),t.j41(83,"button",20),t.EFF(84,"\n "),t.nrm(85,"fa-icon",21),t.EFF(86),t.nI1(87,"translate"),t.k0s(),t.EFF(88,"\n "),t.j41(89,"button",22),t.EFF(90),t.nI1(91,"translate"),t.nrm(92,"fa-icon",23),t.EFF(93,"\n "),t.k0s(),t.EFF(94,"\n"),t.k0s(),t.EFF(95,"\n")}if(2&r){const a=t.sdS(9);t.R7$(5),t.JRh(t.bMT(6,11,"labels.inputs.Charge")),t.R7$(6),t.Y8G("ngForOf",o.chargeData),t.R7$(6),t.Y8G("disabled",!a.value),t.R7$(3),t.SpI("\n ",t.bMT(21,13,"labels.buttons.Add"),"\n "),t.R7$(4),t.Y8G("dataSource",o.chargesDataSource)("hidden",0===o.chargesDataSource.length),t.R7$(51),t.Y8G("matHeaderRowDef",o.displayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.displayedColumns),t.R7$(9),t.SpI("\n ",t.bMT(87,15,"labels.buttons.Previous"),"\n "),t.R7$(3),t.Y8G("disabled",!o.recurringDepositAccountFormValid),t.R7$(),t.SpI("\n ",t.bMT(91,17,"labels.buttons.Next"),"\n ")}},dependencies:[g.Sq,g.bT,P.aY,k.wT,f.$z,f.iY,F.rl,F.nJ,v.VO,C.F7,C.FR,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,b.D9,x.a,S.p,y.D],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return n})();var nt=u(56852);const jo=["chartsTable"];function $o(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.name"),":"),t.R7$(4),t.JRh(e.recurringDepositsAccountProductTemplate.accountChart.name)}}function So(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.End Date"),":"),t.R7$(4),t.JRh(t.bMT(8,4,null==e.recurringDepositsAccountProductTemplate?null:e.recurringDepositsAccountProductTemplate.accountChart.endDate))}}function wo(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Description"),":"),t.R7$(4),t.JRh(null==e.recurringDepositsAccountProductTemplate?null:e.recurringDepositsAccountProductTemplate.accountChart.description)}}function No(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Period")))}function Go(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.E5c("\n ",e.fromPeriod," - ",e.toPeriod,"\xa0",t.i5U(2,3,e.periodType.value,"catalogs"),"\n ")}}function Yo(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount Range")))}function Jo(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.nI1(2,"formatNumber"),t.nI1(3,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.amountRangeFrom)," - ",t.bMT(3,4,e.amountRangeTo),"\n ")}}function Vo(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function Uo(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("",t.bMT(2,1,e.annualInterestRate)," %")}}function Xo(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Description")))}function qo(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.description)}}function Bo(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function zo(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",27),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.View Incentives"),"\n "))}function Lo(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",28),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Hide Incentives"),"\n "))}function Ho(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",24),t.EFF(1,"\n "),t.j41(2,"button",25),t.bIt("click",function(){const o=t.eBV(e).dataIndex,a=t.XpG();return t.Njj(a.expandChartSlabIndex=a.expandChartSlabIndex===o?null:o)}),t.EFF(3,"\n "),t.DNE(4,zo,5,3,"span",26),t.EFF(5,"\n "),t.DNE(6,Lo,5,3,"span",26),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.k0s()}if(2&n){const e=i.dataIndex,r=t.XpG();t.R7$(4),t.Y8G("ngIf",r.expandChartSlabIndex!==e),t.R7$(2),t.Y8G("ngIf",r.expandChartSlabIndex===e)}}function Wo(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Entity Type")))}function Ko(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.entityType.value,"\n ")}}function Zo(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Name")))}function Qo(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.attributeName.value,"\n ")}}function ti(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Condition Type")))}function ni(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.conditionType.value),"\n ")}}function ei(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Value")))}function oi(n,i){if(1&n&&(t.j41(0,"td",41),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("ngSwitch",e.attributeName),t.R7$(),t.SpI("\n ",e.attributeValueDesc,"\n ")}}function ii(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Incentive Type")))}function ri(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.incentiveType.value,"\n ")}}function ai(n,i){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function si(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.amount),"\n ")}}function ci(n,i){1&n&&t.nrm(0,"tr",42)}function pi(n,i){1&n&&t.nrm(0,"tr",43)}function li(n,i){if(1&n&&(t.j41(0,"table",33),t.EFF(1,"\n "),t.qex(2,34),t.EFF(3,"\n "),t.DNE(4,Wo,3,3,"th",8),t.EFF(5,"\n "),t.DNE(6,Ko,2,1,"td",9),t.EFF(7,"\n "),t.bVm(),t.EFF(8,"\n\n "),t.qex(9,35),t.EFF(10,"\n "),t.DNE(11,Zo,3,3,"th",8),t.EFF(12,"\n "),t.DNE(13,Qo,2,1,"td",9),t.EFF(14,"\n "),t.bVm(),t.EFF(15,"\n\n "),t.qex(16,36),t.EFF(17,"\n "),t.DNE(18,ti,3,3,"th",8),t.EFF(19,"\n "),t.DNE(20,ni,3,3,"td",9),t.EFF(21,"\n "),t.bVm(),t.EFF(22,"\n\n "),t.qex(23,37),t.EFF(24,"\n "),t.DNE(25,ei,3,3,"th",8),t.EFF(26,"\n "),t.DNE(27,oi,2,2,"td",38),t.EFF(28,"\n "),t.bVm(),t.EFF(29,"\n\n "),t.qex(30,39),t.EFF(31,"\n "),t.DNE(32,ii,3,3,"th",8),t.EFF(33,"\n "),t.DNE(34,ri,2,1,"td",9),t.EFF(35,"\n "),t.bVm(),t.EFF(36,"\n\n "),t.qex(37,40),t.EFF(38,"\n "),t.DNE(39,ai,3,3,"th",8),t.EFF(40,"\n "),t.DNE(41,si,3,3,"td",9),t.EFF(42,"\n "),t.bVm(),t.EFF(43,"\n\n "),t.DNE(44,ci,1,0,"tr",15),t.EFF(45,"\n "),t.DNE(46,pi,1,0,"tr",16),t.EFF(47,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,r=t.XpG();t.Y8G("dataSource",e.incentives),t.R7$(44),t.Y8G("matHeaderRowDef",r.incentivesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",r.incentivesDisplayedColumns)}}function ui(n,i){if(1&n&&(t.j41(0,"td",24),t.EFF(1,"\n "),t.j41(2,"div",29),t.EFF(3,"\n "),t.j41(4,"mat-card",30),t.EFF(5,"\n "),t.j41(6,"h4",31),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,li,48,3,"table",32),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=i.$implicit,r=i.dataIndex,o=t.XpG();t.BMQ("colspan",o.chartSlabsDisplayedColumns.length),t.R7$(2),t.Y8G("@expandChartSlab",r===o.expandChartSlabIndex?"expanded":"collapsed"),t.R7$(5),t.SpI("\n ",t.bMT(8,4,"labels.heading.Incentives"),"\n "),t.R7$(3),t.Y8G("ngIf",e.incentives.length)}}function mi(n,i){1&n&&t.nrm(0,"tr",42)}function Fi(n,i){1&n&&t.nrm(0,"tr",43)}function gi(n,i){1&n&&t.nrm(0,"tr",44)}let et=(()=>{class n{constructor(){this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"]}ngOnChanges(){this.recurringDepositsAccountProductTemplate&&(this.interestRateChartData=this.recurringDepositsAccountProductTemplate.accountChart.chartSlabs)}ngOnInit(){this.interestRateChartData=[]}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-interest-rate-chart-step"]],viewQuery:function(r,o){if(1&r&&t.GBs(jo,7),2&r){let a;t.mGM(a=t.lsd())&&(o.chartsTableRef=a.first)}},inputs:{recurringDepositsAccountTemplate:"recurringDepositsAccountTemplate",recurringDepositsAccountProductTemplate:"recurringDepositsAccountProductTemplate"},features:[t.OA$],decls:96,vars:25,consts:[["chartsTable",""],[1,"layout-column","gap-2px"],["class","flex-fill",4,"ngIf"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"incentives","flex-fill","layout-row","flex-wrap"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","mat-elevation-z1 flex-fill","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"mat-elevation-z1","flex-fill",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(r,o){1&r&&(t.j41(0,"div",1),t.EFF(1,"\n "),t.DNE(2,$o,9,4,"div",2),t.EFF(3,"\n\n "),t.j41(4,"div",3),t.EFF(5,"\n "),t.j41(6,"span",4),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n "),t.j41(10,"span",5),t.EFF(11),t.nI1(12,"dateFormat"),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n\n "),t.DNE(15,So,10,6,"div",2),t.EFF(16,"\n\n "),t.DNE(17,wo,9,4,"div",2),t.EFF(18,"\n\n "),t.j41(19,"div",3),t.EFF(20,"\n "),t.j41(21,"span",4),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.EFF(24,"\n "),t.j41(25,"span",5),t.EFF(26),t.nI1(27,"yesNo"),t.k0s(),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n\n "),t.j41(30,"table",6,0),t.EFF(32,"\n "),t.qex(33,7),t.EFF(34,"\n "),t.DNE(35,No,3,3,"th",8),t.EFF(36,"\n "),t.DNE(37,Go,3,6,"td",9),t.EFF(38,"\n "),t.bVm(),t.EFF(39,"\n\n "),t.qex(40,10),t.EFF(41,"\n "),t.DNE(42,Yo,3,3,"th",8),t.EFF(43,"\n "),t.DNE(44,Jo,4,6,"td",9),t.EFF(45,"\n "),t.bVm(),t.EFF(46,"\n\n "),t.qex(47,11),t.EFF(48,"\n "),t.DNE(49,Vo,3,3,"th",8),t.EFF(50,"\n "),t.DNE(51,Uo,3,3,"td",9),t.EFF(52,"\n "),t.bVm(),t.EFF(53,"\n\n "),t.qex(54,12),t.EFF(55,"\n "),t.DNE(56,Xo,3,3,"th",8),t.EFF(57,"\n "),t.DNE(58,qo,2,1,"td",9),t.EFF(59,"\n "),t.bVm(),t.EFF(60,"\n\n "),t.qex(61,13),t.EFF(62,"\n "),t.DNE(63,Bo,3,3,"th",8),t.EFF(64,"\n "),t.DNE(65,Ho,9,2,"td",9),t.EFF(66,"\n "),t.bVm(),t.EFF(67,"\n\n "),t.qex(68,14),t.EFF(69,"\n "),t.DNE(70,ui,14,6,"td",9),t.EFF(71,"\n "),t.bVm(),t.EFF(72,"\n\n "),t.DNE(73,mi,1,0,"tr",15),t.EFF(74,"\n "),t.DNE(75,Fi,1,0,"tr",16),t.EFF(76,"\n "),t.DNE(77,gi,1,0,"tr",17),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n"),t.k0s(),t.EFF(80,"\n\n"),t.j41(81,"div",18),t.EFF(82,"\n "),t.j41(83,"button",19),t.EFF(84,"\n "),t.nrm(85,"fa-icon",20),t.EFF(86),t.nI1(87,"translate"),t.k0s(),t.EFF(88,"\n "),t.j41(89,"button",21),t.EFF(90),t.nI1(91,"translate"),t.nrm(92,"fa-icon",22),t.EFF(93,"\n "),t.k0s(),t.EFF(94,"\n"),t.k0s(),t.EFF(95,"\n")),2&r&&(t.R7$(2),t.Y8G("ngIf",null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.name),t.R7$(5),t.SpI("",t.bMT(8,13,"labels.inputs.Valid from Date"),":"),t.R7$(4),t.JRh(t.bMT(12,15,null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.fromDate)),t.R7$(4),t.Y8G("ngIf",null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.endDate),t.R7$(2),t.Y8G("ngIf",null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.description),t.R7$(5),t.SpI("",t.bMT(23,17,"labels.inputs.Primary Grouping by Amount"),":"),t.R7$(4),t.JRh(t.bMT(27,19,null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount)),t.R7$(4),t.Y8G("dataSource",o.interestRateChartData),t.R7$(43),t.Y8G("matHeaderRowDef",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsIncentivesDisplayedColumns),t.R7$(9),t.SpI("\n ",t.bMT(87,21,"labels.buttons.Previous"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(91,23,"labels.buttons.Next"),"\n "))},dependencies:[g.bT,g.ux,P.aY,f.$z,d.RN,C.F7,C.FR,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,g.PV,b.D9,x.a,S.p,nt.t,y.D],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:2em}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[(0,D.hZ)("expandChartSlab",[(0,D.wk)("collapsed",(0,D.iF)({height:"0px",minHeight:"0"})),(0,D.wk)("expanded",(0,D.iF)({height:"*"})),(0,D.kY)("expanded <=> collapsed",(0,D.i0)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return n})();var di=u(83127);const _i=()=>["../.."];function hi(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"find"),t.nI1(9,"translateKey"),t.k0s(),t.EFF(10,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,3,"labels.inputs.Lock-in Period"),":"),t.R7$(4),t.Lme("",e.recurringDepositAccountData.lockinPeriodFrequency,"\n ",t.i5U(9,10,t.ii3(8,5,e.recurringDepositAccountData.lockinPeriodFrequencyType,e.recurringDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,"id","value"),"catalogs"),"")}}function bi(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"formatNumber"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Recurring Deposit Amount"),":"),t.R7$(4),t.JRh(t.bMT(8,4,e.recurringDepositAccountData.mandatoryRecommendedDepositAmount))}}function fi(n,i){if(1&n&&(t.j41(0,"span",5),t.EFF(1),t.nI1(2,"find"),t.nI1(3,"translateKey"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme("",e.recurringDepositAccountData.recurringFrequency,"\n ",t.i5U(3,7,t.ii3(2,2,e.recurringDepositAccountData.recurringFrequencyType,e.recurringDepositsAccountProductTemplate.periodFrequencyTypeOptions,"id","value"),"catalogs"),"")}}function Ei(n,i){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"div",3),t.EFF(3,"\n "),t.j41(4,"span",4),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.j41(8,"span",5),t.EFF(9),t.nI1(10,"dateFormat"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n\n "),t.j41(13,"div",3),t.EFF(14,"\n "),t.j41(15,"span",4),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n "),t.DNE(19,fi,4,10,"span",26),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.bVm()),2&n){const e=t.XpG();t.R7$(5),t.SpI("",t.bMT(6,4,"labels.inputs.Deposit Start Date"),":"),t.R7$(4),t.JRh(t.bMT(10,6,e.recurringDepositAccountData.expectedFirstDepositOnDate)),t.R7$(7),t.SpI("",t.bMT(17,8,"labels.inputs.Deposit Frequency"),":"),t.R7$(3),t.Y8G("ngIf",e.recurringDepositAccountData.recurringFrequency)}}function Di(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.name"),":"),t.R7$(4),t.JRh(null==e.recurringDepositsAccountProductTemplate?null:e.recurringDepositsAccountProductTemplate.accountChart.name)}}function Ci(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.End Date"),":"),t.R7$(4),t.JRh(t.bMT(8,4,null==e.recurringDepositsAccountProductTemplate?null:e.recurringDepositsAccountProductTemplate.accountChart.endDate))}}function Ti(n,i){if(1&n&&(t.j41(0,"div",3),t.EFF(1,"\n "),t.j41(2,"span",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",5),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Description"),":"),t.R7$(4),t.JRh(null==e.recurringDepositsAccountProductTemplate?null:e.recurringDepositsAccountProductTemplate.accountChart.description)}}function Ri(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Period")))}function Mi(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.E5c("\n ",e.fromPeriod," - ",e.toPeriod,"\xa0",t.i5U(2,3,e.periodType.value,"catalogs"),"\n ")}}function Pi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount Range")))}function Ii(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.nI1(2,"formatNumber"),t.nI1(3,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.Lme("\n ",t.bMT(2,2,e.amountRangeFrom)," - ",t.bMT(3,4,e.amountRangeTo),"\n ")}}function Oi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function Ai(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("",t.bMT(2,1,e.annualInterestRate)," %")}}function xi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Description")))}function ki(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e.description)}}function vi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Actions")))}function yi(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",30),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.View Incentives"),"\n "))}function ji(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"fa-icon",31),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.R7$(3),t.SpI("\n ",t.bMT(4,1,"labels.buttons.Hide Incentives"),"\n "))}function $i(n,i){if(1&n){const e=t.RV6();t.j41(0,"td",28),t.EFF(1,"\n "),t.j41(2,"button",29),t.bIt("click",function(){const o=t.eBV(e).dataIndex,a=t.XpG();return t.Njj(a.expandChartSlabIndex=a.expandChartSlabIndex===o?null:o)}),t.EFF(3,"\n "),t.DNE(4,yi,5,3,"span",7),t.EFF(5,"\n "),t.DNE(6,ji,5,3,"span",7),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.k0s()}if(2&n){const e=i.dataIndex,r=t.XpG();t.R7$(4),t.Y8G("ngIf",r.expandChartSlabIndex!==e),t.R7$(2),t.Y8G("ngIf",r.expandChartSlabIndex===e)}}function Si(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Entity Type")))}function wi(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.entityType.value,"\n ")}}function Ni(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Name")))}function Gi(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.attributeName.value,"\n ")}}function Yi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Condition Type")))}function Ji(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.conditionType.value),"\n ")}}function Vi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Attribute Value")))}function Ui(n,i){if(1&n&&(t.j41(0,"td",44),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("ngSwitch",e.attributeName),t.R7$(),t.SpI("\n ",e.attributeValueDesc,"\n ")}}function Xi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Incentive Type")))}function qi(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.incentiveType.value,"\n ")}}function Bi(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Interest")))}function zi(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.amount,"\n ")}}function Li(n,i){1&n&&t.nrm(0,"tr",45)}function Hi(n,i){1&n&&t.nrm(0,"tr",46)}function Wi(n,i){if(1&n&&(t.j41(0,"table",36),t.EFF(1,"\n "),t.qex(2,37),t.EFF(3,"\n "),t.DNE(4,Si,3,3,"th",10),t.EFF(5,"\n "),t.DNE(6,wi,2,1,"td",11),t.EFF(7,"\n "),t.bVm(),t.EFF(8,"\n\n "),t.qex(9,38),t.EFF(10,"\n "),t.DNE(11,Ni,3,3,"th",10),t.EFF(12,"\n "),t.DNE(13,Gi,2,1,"td",11),t.EFF(14,"\n "),t.bVm(),t.EFF(15,"\n\n "),t.qex(16,39),t.EFF(17,"\n "),t.DNE(18,Yi,3,3,"th",10),t.EFF(19,"\n "),t.DNE(20,Ji,3,3,"td",11),t.EFF(21,"\n "),t.bVm(),t.EFF(22,"\n\n "),t.qex(23,40),t.EFF(24,"\n "),t.DNE(25,Vi,3,3,"th",10),t.EFF(26,"\n "),t.DNE(27,Ui,2,2,"td",41),t.EFF(28,"\n "),t.bVm(),t.EFF(29,"\n\n "),t.qex(30,42),t.EFF(31,"\n "),t.DNE(32,Xi,3,3,"th",10),t.EFF(33,"\n "),t.DNE(34,qi,2,1,"td",11),t.EFF(35,"\n "),t.bVm(),t.EFF(36,"\n\n "),t.qex(37,43),t.EFF(38,"\n "),t.DNE(39,Bi,3,3,"th",10),t.EFF(40,"\n "),t.DNE(41,zi,2,1,"td",11),t.EFF(42,"\n "),t.bVm(),t.EFF(43,"\n\n "),t.DNE(44,Li,1,0,"tr",17),t.EFF(45,"\n "),t.DNE(46,Hi,1,0,"tr",18),t.EFF(47,"\n "),t.k0s()),2&n){const e=t.XpG().$implicit,r=t.XpG();t.Y8G("dataSource",e.incentives),t.R7$(44),t.Y8G("matHeaderRowDef",r.incentivesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",r.incentivesDisplayedColumns)}}function Ki(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1,"\n "),t.j41(2,"div",32),t.EFF(3,"\n "),t.j41(4,"mat-card",33),t.EFF(5,"\n "),t.j41(6,"h4",34),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.EFF(9,"\n\n "),t.DNE(10,Wi,48,3,"table",35),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=i.$implicit,r=i.dataIndex,o=t.XpG();t.BMQ("colspan",o.chartSlabsDisplayedColumns.length),t.R7$(2),t.Y8G("@expandChartSlab",r===o.expandChartSlabIndex?"expanded":"collapsed"),t.R7$(5),t.SpI("\n ",t.bMT(8,4,"labels.heading.Incentives"),"\n "),t.R7$(3),t.Y8G("ngIf",e.incentives.length)}}function Zi(n,i){1&n&&t.nrm(0,"tr",45)}function Qi(n,i){1&n&&t.nrm(0,"tr",46)}function tr(n,i){1&n&&t.nrm(0,"tr",47)}function nr(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.name")))}function er(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.name+", "+e.currency.displaySymbol,"\n ")}}function or(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Type")))}function ir(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.nI1(2,"translateKey"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.i5U(2,1,e.chargeCalculationType.value,"catalogs"),"\n ")}}function rr(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Amount")))}function ar(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.nI1(2,"formatNumber"),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.amount),"\n ")}}function sr(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Date")))}function cr(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.dueDate)||"Unassigned","\n ")}}function pr(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,e.feeOnMonthDay)||"Unassigned","\n ")}}function lr(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.N/A"),"\n "))}function ur(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1,"\n "),t.DNE(2,cr,3,3,"span",7),t.EFF(3,"\n "),t.DNE(4,pr,3,3,"span",7),t.EFF(5,"\n "),t.DNE(6,lr,3,3,"span",7),t.EFF(7,"\n "),t.k0s()),2&n){const e=i.$implicit;t.R7$(2),t.Y8G("ngIf","Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf","Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value),t.R7$(2),t.Y8G("ngIf",!("Monthly Fee"===e.chargeTimeType.value||"Annual Fee"===e.chargeTimeType.value||"Specified due date"===e.chargeTimeType.value||"Weekly Fee"===e.chargeTimeType.value))}}function mr(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Repayments Every")))}function Fr(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.feeInterval||"Not Provided","\n ")}}function gr(n,i){1&n&&(t.j41(0,"th",27),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Collected On")))}function dr(n,i){if(1&n&&(t.j41(0,"td",28),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.SpI("\n ",e.chargeTimeType.value,"\n ")}}function _r(n,i){1&n&&t.nrm(0,"tr",45)}function hr(n,i){1&n&&t.nrm(0,"tr",46)}function br(n,i){if(1&n&&(t.j41(0,"div",48),t.EFF(1,"\n "),t.j41(2,"h3",1),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.nrm(6,"mat-divider",2),t.EFF(7,"\n "),t.j41(8,"table",36),t.EFF(9,"\n "),t.qex(10,49),t.EFF(11,"\n "),t.DNE(12,nr,3,3,"th",10),t.EFF(13,"\n "),t.DNE(14,er,2,1,"td",11),t.EFF(15,"\n "),t.bVm(),t.EFF(16,"\n\n "),t.qex(17,50),t.EFF(18,"\n "),t.DNE(19,or,3,3,"th",10),t.EFF(20,"\n "),t.DNE(21,ir,3,4,"td",11),t.EFF(22,"\n "),t.bVm(),t.EFF(23,"\n\n "),t.qex(24,43),t.EFF(25,"\n "),t.DNE(26,rr,3,3,"th",10),t.EFF(27,"\n "),t.DNE(28,ar,3,3,"td",11),t.EFF(29,"\n "),t.bVm(),t.EFF(30,"\n\n "),t.qex(31,51),t.EFF(32,"\n "),t.DNE(33,sr,3,3,"th",10),t.EFF(34,"\n "),t.DNE(35,ur,8,3,"td",11),t.EFF(36,"\n "),t.bVm(),t.EFF(37,"\n\n "),t.qex(38,52),t.EFF(39,"\n "),t.DNE(40,mr,3,3,"th",10),t.EFF(41,"\n "),t.DNE(42,Fr,2,1,"td",11),t.EFF(43,"\n "),t.bVm(),t.EFF(44,"\n\n "),t.qex(45,53),t.EFF(46,"\n "),t.DNE(47,gr,3,3,"th",10),t.EFF(48,"\n "),t.DNE(49,dr,2,1,"td",11),t.EFF(50,"\n "),t.bVm(),t.EFF(51,"\n\n "),t.DNE(52,_r,1,0,"tr",17),t.EFF(53,"\n "),t.DNE(54,hr,1,0,"tr",18),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,4,"labels.heading.Charges")),t.R7$(5),t.Y8G("dataSource",e.recurringDepositAccountData.charges),t.R7$(44),t.Y8G("matHeaderRowDef",e.chargesDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",e.chargesDisplayedColumns)}}let ot=(()=>{class n{constructor(){this.submitEvent=new t.bkB,this.chargesDisplayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery"],this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"]}ngOnChanges(){this.recurringDepositsAccountProductTemplate&&(this.interestRateChartData=this.recurringDepositsAccountProductTemplate.accountChart.chartSlabs)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-preview-step"]],inputs:{recurringDepositsAccountTemplate:"recurringDepositsAccountTemplate",recurringDepositsAccountProductTemplate:"recurringDepositsAccountProductTemplate",recurringDepositAccountData:"recurringDepositAccountData"},outputs:{submitEvent:"submitEvent"},features:[t.OA$],decls:302,vars:176,consts:[[1,"layout-row-wrap","responsive-column"],[1,"mat-h3","flex-100"],[1,"flex-100"],[1,"layout-row","flex-100"],[1,"flex-40"],[1,"flex-60"],["class","layout-row flex-100",4,"ngIf"],[4,"ngIf"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1","irc-table",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["class","layout-row-wrap responsive-column flex-100",4,"ngIf"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"click"],["class","flex-60",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-100","incentives"],[1,"layout-row-wrap","flex-100"],[1,"m-b-10","flex-13"],["class","flex-100 mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-100","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"],[1,"layout-row-wrap","responsive-column","flex-100"],["matColumnDef","name"],["matColumnDef","chargeCalculationType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","chargeTimeType"]],template:function(r,o){1&r&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"h3",1),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.nrm(6,"mat-divider",2),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"span",4),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.j41(14,"span",5),t.EFF(15),t.nI1(16,"find"),t.k0s(),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n\n "),t.j41(19,"div",3),t.EFF(20,"\n "),t.j41(21,"span",4),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.EFF(24,"\n "),t.j41(25,"span",5),t.EFF(26),t.nI1(27,"dateFormat"),t.k0s(),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n\n "),t.j41(30,"div",3),t.EFF(31,"\n "),t.j41(32,"span",4),t.EFF(33),t.nI1(34,"translate"),t.k0s(),t.EFF(35,"\n "),t.j41(36,"span",5),t.EFF(37),t.nI1(38,"find"),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n\n "),t.j41(41,"h3",1),t.EFF(42),t.nI1(43,"translate"),t.k0s(),t.EFF(44,"\n\n "),t.nrm(45,"mat-divider",2),t.EFF(46,"\n "),t.j41(47,"div",3),t.EFF(48,"\n "),t.j41(49,"span",4),t.EFF(50),t.nI1(51,"translate"),t.k0s(),t.EFF(52,"\n "),t.j41(53,"span",5),t.EFF(54),t.k0s(),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n\n "),t.j41(57,"div",3),t.EFF(58,"\n "),t.j41(59,"span",4),t.EFF(60),t.nI1(61,"translate"),t.k0s(),t.EFF(62,"\n "),t.j41(63,"span",5),t.EFF(64),t.k0s(),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n\n "),t.j41(67,"div",3),t.EFF(68,"\n "),t.j41(69,"span",4),t.EFF(70),t.nI1(71,"translate"),t.k0s(),t.EFF(72,"\n "),t.j41(73,"span",5),t.EFF(74),t.k0s(),t.EFF(75,"\n "),t.k0s(),t.EFF(76,"\n\n "),t.j41(77,"h3",1),t.EFF(78),t.nI1(79,"translate"),t.k0s(),t.EFF(80,"\n "),t.nrm(81,"mat-divider",2),t.EFF(82,"\n "),t.j41(83,"div",3),t.EFF(84,"\n "),t.j41(85,"span",4),t.EFF(86),t.nI1(87,"translate"),t.k0s(),t.EFF(88,"\n "),t.j41(89,"span",5),t.EFF(90),t.nI1(91,"find"),t.nI1(92,"translateKey"),t.k0s(),t.EFF(93,"\n "),t.k0s(),t.EFF(94,"\n\n "),t.j41(95,"div",3),t.EFF(96,"\n "),t.j41(97,"span",4),t.EFF(98),t.nI1(99,"translate"),t.k0s(),t.EFF(100,"\n "),t.j41(101,"span",5),t.EFF(102),t.nI1(103,"find"),t.nI1(104,"translateKey"),t.k0s(),t.EFF(105,"\n "),t.k0s(),t.EFF(106,"\n\n "),t.j41(107,"div",3),t.EFF(108,"\n "),t.j41(109,"span",4),t.EFF(110),t.nI1(111,"translate"),t.k0s(),t.EFF(112,"\n "),t.j41(113,"span",5),t.EFF(114),t.nI1(115,"find"),t.nI1(116,"translateKey"),t.k0s(),t.EFF(117,"\n "),t.k0s(),t.EFF(118,"\n\n "),t.j41(119,"div",3),t.EFF(120,"\n "),t.j41(121,"span",4),t.EFF(122),t.nI1(123,"translate"),t.k0s(),t.EFF(124,"\n "),t.j41(125,"span",5),t.EFF(126),t.nI1(127,"find"),t.nI1(128,"translateKey"),t.k0s(),t.EFF(129,"\n "),t.k0s(),t.EFF(130,"\n\n "),t.j41(131,"h3",1),t.EFF(132),t.nI1(133,"translate"),t.k0s(),t.EFF(134,"\n\n "),t.nrm(135,"mat-divider",2),t.EFF(136,"\n "),t.DNE(137,hi,11,13,"div",6),t.EFF(138,"\n\n "),t.DNE(139,bi,10,6,"div",6),t.EFF(140,"\n\n "),t.j41(141,"div",3),t.EFF(142,"\n "),t.j41(143,"span",4),t.EFF(144),t.nI1(145,"translate"),t.k0s(),t.EFF(146,"\n "),t.j41(147,"span",5),t.EFF(148),t.nI1(149,"find"),t.nI1(150,"translateKey"),t.k0s(),t.EFF(151,"\n "),t.k0s(),t.EFF(152,"\n\n "),t.j41(153,"div",3),t.EFF(154,"\n "),t.j41(155,"span",4),t.EFF(156),t.nI1(157,"translate"),t.k0s(),t.EFF(158,"\n "),t.j41(159,"span",5),t.EFF(160),t.nI1(161,"yesNo"),t.k0s(),t.EFF(162,"\n "),t.k0s(),t.EFF(163,"\n\n "),t.DNE(164,Ei,22,10,"ng-container",7),t.EFF(165,"\n\n "),t.j41(166,"div",3),t.EFF(167,"\n "),t.j41(168,"span",4),t.EFF(169),t.nI1(170,"translate"),t.k0s(),t.EFF(171,"\n "),t.j41(172,"span",5),t.EFF(173),t.nI1(174,"translateKey"),t.k0s(),t.EFF(175,"\n "),t.k0s(),t.EFF(176,"\n\n "),t.j41(177,"div",3),t.EFF(178,"\n "),t.j41(179,"span",4),t.EFF(180),t.nI1(181,"translate"),t.k0s(),t.EFF(182,"\n "),t.j41(183,"span",5),t.EFF(184),t.nI1(185,"translateKey"),t.k0s(),t.EFF(186,"\n "),t.k0s(),t.EFF(187,"\n\n "),t.j41(188,"div",3),t.EFF(189,"\n "),t.j41(190,"span",4),t.EFF(191),t.nI1(192,"translate"),t.k0s(),t.EFF(193,"\n "),t.j41(194,"span",5),t.EFF(195),t.nI1(196,"translateKey"),t.k0s(),t.EFF(197,"\n "),t.k0s(),t.EFF(198,"\n\n "),t.j41(199,"h3",1),t.EFF(200),t.nI1(201,"translate"),t.k0s(),t.EFF(202,"\n\n "),t.nrm(203,"mat-divider",2),t.EFF(204,"\n "),t.DNE(205,Di,9,4,"div",6),t.EFF(206,"\n\n "),t.j41(207,"div",3),t.EFF(208,"\n "),t.j41(209,"span",4),t.EFF(210),t.nI1(211,"translate"),t.k0s(),t.EFF(212,"\n "),t.j41(213,"span",5),t.EFF(214),t.nI1(215,"dateFormat"),t.k0s(),t.EFF(216,"\n "),t.k0s(),t.EFF(217,"\n\n "),t.DNE(218,Ci,10,6,"div",6),t.EFF(219,"\n\n "),t.DNE(220,Ti,9,4,"div",6),t.EFF(221,"\n\n "),t.j41(222,"div",3),t.EFF(223,"\n "),t.j41(224,"span",4),t.EFF(225),t.nI1(226,"translate"),t.k0s(),t.EFF(227,"\n "),t.j41(228,"span",5),t.EFF(229),t.nI1(230,"yesNo"),t.k0s(),t.EFF(231,"\n "),t.k0s(),t.EFF(232,"\n\n "),t.j41(233,"table",8),t.EFF(234,"\n "),t.qex(235,9),t.EFF(236,"\n "),t.DNE(237,Ri,3,3,"th",10),t.EFF(238,"\n "),t.DNE(239,Mi,3,6,"td",11),t.EFF(240,"\n "),t.bVm(),t.EFF(241,"\n\n "),t.qex(242,12),t.EFF(243,"\n "),t.DNE(244,Pi,3,3,"th",10),t.EFF(245,"\n "),t.DNE(246,Ii,4,6,"td",11),t.EFF(247,"\n "),t.bVm(),t.EFF(248,"\n\n "),t.qex(249,13),t.EFF(250,"\n "),t.DNE(251,Oi,3,3,"th",10),t.EFF(252,"\n "),t.DNE(253,Ai,3,3,"td",11),t.EFF(254,"\n "),t.bVm(),t.EFF(255,"\n\n "),t.qex(256,14),t.EFF(257,"\n "),t.DNE(258,xi,3,3,"th",10),t.EFF(259,"\n "),t.DNE(260,ki,2,1,"td",11),t.EFF(261,"\n "),t.bVm(),t.EFF(262,"\n\n "),t.qex(263,15),t.EFF(264,"\n "),t.DNE(265,vi,3,3,"th",10),t.EFF(266,"\n "),t.DNE(267,$i,9,2,"td",11),t.EFF(268,"\n "),t.bVm(),t.EFF(269,"\n\n "),t.qex(270,16),t.EFF(271,"\n "),t.DNE(272,Ki,14,6,"td",11),t.EFF(273,"\n "),t.bVm(),t.EFF(274,"\n\n "),t.DNE(275,Zi,1,0,"tr",17),t.EFF(276,"\n "),t.DNE(277,Qi,1,0,"tr",18),t.EFF(278,"\n "),t.DNE(279,tr,1,0,"tr",19),t.EFF(280,"\n "),t.k0s(),t.EFF(281,"\n\n "),t.DNE(282,br,57,6,"div",20),t.EFF(283,"\n"),t.k0s(),t.EFF(284,"\n\n"),t.j41(285,"div",21),t.EFF(286,"\n "),t.j41(287,"button",22),t.EFF(288,"\n "),t.nrm(289,"fa-icon",23),t.EFF(290),t.nI1(291,"translate"),t.k0s(),t.EFF(292,"\n "),t.j41(293,"button",24),t.EFF(294),t.nI1(295,"translate"),t.k0s(),t.EFF(296,"\n "),t.j41(297,"button",25),t.bIt("click",function(){return o.submitEvent.emit()}),t.EFF(298),t.nI1(299,"translate"),t.k0s(),t.EFF(300,"\n"),t.k0s(),t.EFF(301,"\n")),2&r&&(t.R7$(3),t.JRh(t.bMT(4,58,"labels.heading.Details")),t.R7$(8),t.JRh(t.bMT(12,60,"labels.inputs.Product")),t.R7$(4),t.JRh(t.ii3(16,62,o.recurringDepositAccountData.productId,o.recurringDepositsAccountTemplate.productOptions,"id","name")),t.R7$(7),t.JRh(t.bMT(23,67,"labels.inputs.Submitted On")),t.R7$(4),t.JRh(t.bMT(27,69,o.recurringDepositAccountData.submittedOnDate)),t.R7$(7),t.JRh(t.bMT(34,71,"labels.inputs.Field Officer")),t.R7$(4),t.JRh(t.ii3(38,73,o.recurringDepositAccountData.fieldOfficerId,o.recurringDepositsAccountProductTemplate.fieldOfficerOptions,"id","displayName")),t.R7$(5),t.JRh(t.bMT(43,78,"labels.heading.Currency")),t.R7$(8),t.JRh(t.bMT(51,80,"labels.inputs.Currency")),t.R7$(4),t.JRh(o.recurringDepositsAccountProductTemplate.currency.code),t.R7$(6),t.JRh(t.bMT(61,82,"labels.inputs.Decimal Places")),t.R7$(4),t.JRh(o.recurringDepositsAccountProductTemplate.currency.decimalPlaces),t.R7$(6),t.JRh(t.bMT(71,84,"labels.inputs.Currency In Multiples Of")),t.R7$(4),t.JRh(o.recurringDepositsAccountProductTemplate.currency.inMultiplesOf),t.R7$(4),t.JRh(t.bMT(79,86,"labels.heading.Terms")),t.R7$(8),t.SpI("",t.bMT(87,88,"labels.inputs.Interest Compounding Period"),":"),t.R7$(4),t.JRh(t.i5U(92,95,t.ii3(91,90,o.recurringDepositAccountData.interestCompoundingPeriodType,o.recurringDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,"id","value"),"catalogs")),t.R7$(8),t.SpI("",t.bMT(99,98,"labels.inputs.Interest Posting Period"),":"),t.R7$(4),t.JRh(t.i5U(104,105,t.ii3(103,100,o.recurringDepositAccountData.interestPostingPeriodType,o.recurringDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,"id","value"),"catalogs")),t.R7$(8),t.SpI("",t.bMT(111,108,"labels.inputs.Interest Calculated using"),":"),t.R7$(4),t.JRh(t.i5U(116,115,t.ii3(115,110,o.recurringDepositAccountData.interestCalculationType,o.recurringDepositsAccountProductTemplate.interestCalculationTypeOptions,"id","value"),"catalogs")),t.R7$(8),t.SpI("",t.bMT(123,118,"labels.inputs.Days in Year"),":"),t.R7$(4),t.JRh(t.i5U(128,125,t.ii3(127,120,o.recurringDepositAccountData.interestCalculationDaysInYearType,o.recurringDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,"id","value"),"catalogs")),t.R7$(6),t.JRh(t.bMT(133,128,"labels.heading.Settings")),t.R7$(5),t.Y8G("ngIf",o.recurringDepositAccountData.lockinPeriodFrequency),t.R7$(2),t.Y8G("ngIf",o.recurringDepositAccountData.mandatoryRecommendedDepositAmount),t.R7$(5),t.SpI("",t.bMT(145,130,"labels.inputs.Deposit Period"),":"),t.R7$(4),t.Lme("",o.recurringDepositAccountData.depositPeriod,"\n ",t.i5U(150,137,t.ii3(149,132,o.recurringDepositAccountData.depositPeriodFrequencyId,o.recurringDepositsAccountProductTemplate.periodFrequencyTypeOptions,"id","value"),"catalogs"),""),t.R7$(8),t.SpI("",t.bMT(157,140,"labels.inputs.Deposit Frequency Same as Group/Center meeting"),":"),t.R7$(4),t.JRh(t.bMT(161,142,o.recurringDepositsAccountProductTemplate.isCalendarInherited)),t.R7$(4),t.Y8G("ngIf",!o.recurringDepositsAccountProductTemplate.isCalendarInherited),t.R7$(5),t.SpI("",t.bMT(170,144,"labels.inputs.Minimum Deposit Term"),":"),t.R7$(4),t.Lme("",o.recurringDepositsAccountProductTemplate.minDepositTerm?o.recurringDepositsAccountProductTemplate.minDepositTerm:"","\n ",t.i5U(174,146,o.recurringDepositsAccountProductTemplate.minDepositTermType?o.recurringDepositsAccountProductTemplate.minDepositTermType.value:"","catalogs"),""),t.R7$(7),t.SpI("",t.bMT(181,149,"labels.inputs.In Multiples Of"),":"),t.R7$(4),t.Lme("",o.recurringDepositsAccountProductTemplate.inMultiplesOfDepositTerm?o.recurringDepositsAccountProductTemplate.inMultiplesOfDepositTerm:"","\n ",t.i5U(185,151,o.recurringDepositsAccountProductTemplate.inMultiplesOfDepositTermType?o.recurringDepositsAccountProductTemplate.inMultiplesOfDepositTermType.value:"","catalogs"),""),t.R7$(7),t.JRh(t.bMT(192,154,"labels.inputs.Maximum Deposit Term")),t.R7$(4),t.Lme("",o.recurringDepositsAccountProductTemplate.maxDepositTerm?o.recurringDepositsAccountProductTemplate.maxDepositTerm:"","\n ",t.i5U(196,156,o.recurringDepositsAccountProductTemplate.maxDepositTermType?o.recurringDepositsAccountProductTemplate.maxDepositTermType.value:"","catalogs"),""),t.R7$(5),t.JRh(t.bMT(201,159,"labels.inputs.Interest Rate Chart")),t.R7$(5),t.Y8G("ngIf",null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.name),t.R7$(5),t.SpI("",t.bMT(211,161,"labels.inputs.Valid from Date"),":"),t.R7$(4),t.JRh(t.bMT(215,163,null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.fromDate)),t.R7$(4),t.Y8G("ngIf",null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.endDate),t.R7$(2),t.Y8G("ngIf",null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.description),t.R7$(5),t.SpI("",t.bMT(226,165,"labels.inputs.Primary Grouping by Amount"),":"),t.R7$(4),t.JRh(t.bMT(230,167,null==o.recurringDepositsAccountProductTemplate?null:o.recurringDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount)),t.R7$(4),t.Y8G("dataSource",o.interestRateChartData),t.R7$(42),t.Y8G("matHeaderRowDef",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsDisplayedColumns),t.R7$(2),t.Y8G("matRowDefColumns",o.chartSlabsIncentivesDisplayedColumns),t.R7$(3),t.Y8G("ngIf",o.recurringDepositAccountData.charges.length),t.R7$(8),t.SpI("\n ",t.bMT(291,169,"labels.buttons.Previous"),"\n "),t.R7$(3),t.Y8G("routerLink",t.lJ4(175,_i)),t.R7$(),t.SpI("\n ",t.bMT(295,171,"labels.buttons.Cancel"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(299,173,"labels.buttons.Submit"),"\n "))},dependencies:[g.bT,g.ux,P.aY,f.$z,d.RN,tt.q,C.FR,p.Zl,p.tL,p.ji,p.cC,p.YV,p.iL,p.KS,p.$R,p.YZ,p.NB,m.Wk,g.PV,b.D9,di._,x.a,S.p,nt.t,y.D],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-b[_ngcontent-%COMP%]{margin-bottom:.25em}.irc-table[_ngcontent-%COMP%]{width:100%}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[(0,D.hZ)("expandChartSlab",[(0,D.wk)("collapsed",(0,D.iF)({height:"0px",minHeight:"0"})),(0,D.wk)("expanded",(0,D.iF)({height:"*"})),(0,D.kY)("expanded <=> collapsed",(0,D.i0)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return n})();function fr(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",14),t.EFF(2,"\n "))}function Er(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",14),t.EFF(2,"\n "))}function Dr(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",15),t.EFF(2,"\n "))}function Cr(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",16),t.EFF(2,"\n "))}function Tr(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",17),t.EFF(2,"\n "))}function Rr(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.DETAILS"))}function Mr(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.TERMS"))}function Pr(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.SETTINGS"))}function Ir(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.INTEREST RATE CHART"))}function Or(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.CHARGES"))}function Ar(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.PREVIEW"))}function xr(n,i){if(1&n){const e=t.RV6();t.j41(0,"mat-step",18),t.EFF(1,"\n "),t.DNE(2,Ar,2,3,"ng-template",9),t.EFF(3,"\n\n "),t.j41(4,"mifosx-recurring-deposits-account-preview-step",19),t.bIt("submitEvent",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.submit())}),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",e.recurringDepositsAccountTemplate)("recurringDepositsAccountProductTemplate",e.recurringDepositsAccountProductTemplate)("recurringDepositAccountData",e.recurringDepositAccountData)}}let kr=(()=>{class n{constructor(e,r,o,a,c){this.route=e,this.router=r,this.dateUtils=o,this.recurringDepositsService=a,this.settingsService=c,this.route.data.subscribe(l=>{this.recurringDepositsAccountTemplate=l.recurringDepositsAccountTemplate})}setTemplate(e){this.recurringDepositsAccountProductTemplate=e}get recurringDepositAccountDetailsForm(){return this.recurringDepositsAccountDetailsStep.recurringDepositAccountDetailsForm}get recurringDepositAccountTermsForm(){return this.recurringDepositAccountTermsStep.recurringDepositAccountTermsForm}get recurringDepositAccountSettingsForm(){return this.recurringDepositAccountSettingsStep.recurringDepositAccountSettingsForm}get recurringDepositAccountFormValid(){return this.recurringDepositAccountDetailsForm.valid&&this.recurringDepositAccountTermsForm.valid&&this.recurringDepositAccountSettingsForm.valid}get recurringDepositAccountData(){return{...this.recurringDepositsAccountDetailsStep.recurringDepositAccountDetails,...this.recurringDepositAccountTermsStep.recurringDepositAccountTerms,...this.recurringDepositAccountSettingsStep.recurringDepositAccountSettings,...this.recurringDepositAccountChargesStep.recurringDepositAccountCharges}}get recurringDepositAccount(){return{...this.recurringDepositsAccountDetailsStep.recurringDepositAccountDetails,...this.recurringDepositAccountTermsStep.recurringDepositAccountTerms,...this.recurringDepositAccountSettingsStep.recurringDepositAccountSettings,...this.recurringDepositAccountChargesStep.recurringDepositAccountCharges}}submit(){const e=this.settingsService.language.code,r=this.settingsService.dateFormat,a={...this.recurringDepositAccount,clientId:this.recurringDepositsAccountTemplate.clientId,charges:this.recurringDepositAccount.charges.map(c=>({chargeId:c.id,amount:c.amount,dueDate:c.dueDate&&this.dateUtils.formatDate(c.dueDate,r),feeOnMonthDay:c.feeOnMonthDay,feeInterval:c.feeInterval})),isCalendarInherited:!!this.recurringDepositAccount.recurringDepositAccount&&this.recurringDepositAccount.recurringDepositAccount,submittedOnDate:this.dateUtils.formatDate(this.recurringDepositAccount.submittedOnDate,r),expectedFirstDepositOnDate:this.dateUtils.formatDate(this.recurringDepositAccount.expectedFirstDepositOnDate,r),dateFormat:r,monthDayFormat:"dd MMMM",locale:e};this.recurringDepositsService.createRecurringDepositAccount(a).subscribe(c=>{this.router.navigate(["../",c.resourceId],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(m.Ix),t.rXU(R.A),t.rXU(E),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-create-recurring-deposits-account"]],viewQuery:function(r,o){if(1&r&&(t.GBs(X,7),t.GBs(q,7),t.GBs(B,7),t.GBs(z,7)),2&r){let a;t.mGM(a=t.lsd())&&(o.recurringDepositsAccountDetailsStep=a.first),t.mGM(a=t.lsd())&&(o.recurringDepositAccountTermsStep=a.first),t.mGM(a=t.lsd())&&(o.recurringDepositAccountSettingsStep=a.first),t.mGM(a=t.lsd())&&(o.recurringDepositAccountChargesStep=a.first)}},decls:59,vars:14,consts:[["recurringDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"recurringDepositsAccountProductTemplate","recurringDepositsAccountTemplate"],[3,"recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate"],[3,"recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate","recurringDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate","recurringDepositAccountData"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-horizontal-stepper",2,0),t.EFF(4,"\n "),t.DNE(5,fr,3,0,"ng-template",3),t.EFF(6,"\n\n "),t.DNE(7,Er,3,0,"ng-template",4),t.EFF(8,"\n\n "),t.DNE(9,Dr,3,0,"ng-template",5),t.EFF(10,"\n\n "),t.DNE(11,Cr,3,0,"ng-template",6),t.EFF(12,"\n\n "),t.DNE(13,Tr,3,0,"ng-template",7),t.EFF(14,"\n\n "),t.j41(15,"mat-step",8),t.EFF(16,"\n "),t.DNE(17,Rr,2,3,"ng-template",9),t.EFF(18,"\n\n "),t.j41(19,"mifosx-recurring-deposits-account-details-step",10),t.bIt("recurringDepositsAccountProductTemplate",function(l){return t.eBV(a),t.Njj(o.setTemplate(l))}),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.k0s(),t.EFF(22,"\n\n "),t.j41(23,"mat-step",8),t.EFF(24,"\n "),t.DNE(25,Mr,2,3,"ng-template",9),t.EFF(26,"\n\n "),t.j41(27,"mifosx-recurring-deposits-account-terms-step",11),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n\n "),t.j41(31,"mat-step",8),t.EFF(32,"\n "),t.DNE(33,Pr,2,3,"ng-template",9),t.EFF(34,"\n\n "),t.j41(35,"mifosx-recurring-deposits-account-settings-step",11),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n\n "),t.j41(39,"mat-step"),t.EFF(40,"\n "),t.DNE(41,Ir,2,3,"ng-template",9),t.EFF(42,"\n\n "),t.j41(43,"mifosx-recurring-deposits-account-interest-rate-chart-step",11),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n\n "),t.j41(47,"mat-step"),t.EFF(48,"\n "),t.DNE(49,Or,2,3,"ng-template",9),t.EFF(50,"\n\n "),t.j41(51,"mifosx-recurring-deposits-account-charges-step",12),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n\n "),t.DNE(55,xr,7,3,"mat-step",13),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n"),t.k0s(),t.EFF(58,"\n")}2&r&&(t.R7$(15),t.Y8G("stepControl",o.recurringDepositAccountDetailsForm),t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountTemplate),t.R7$(4),t.Y8G("stepControl",o.recurringDepositAccountTermsForm),t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate),t.R7$(4),t.Y8G("stepControl",o.recurringDepositAccountSettingsForm),t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate),t.R7$(8),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate),t.R7$(8),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate)("recurringDepositAccountFormValid",o.recurringDepositAccountFormValid),t.R7$(4),t.Y8G("ngIf",o.recurringDepositAccountFormValid))},dependencies:[g.bT,P.aY,C.V5,C.Ti,C.M6,C.xJ,X,q,B,et,z,ot,b.D9]})}}return n})();const vr=()=>["../../"];function yr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Activated On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let jr=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.recurringDepositsService=r,this.dateUtils=o,this.route=a,this.router=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createActivateRecurringDepositsAccountForm()}createActivateRecurringDepositsAccountForm(){this.activateRecurringDepositsAccountForm=this.formBuilder.group({activatedOnDate:["",s.k0.required]})}submit(){const e=this.activateRecurringDepositsAccountForm.value,r=this.settingsService.language.code,o=this.settingsService.dateFormat;e.activatedOnDate instanceof Date&&(e.activatedOnDate=this.dateUtils.formatDate(this.activateRecurringDepositsAccountForm.value.activatedOnDate,o));const c={...e,dateFormat:o,locale:r};this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"activate",c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(R.A),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-activate-recurring-deposits-account"]],decls:39,vars:18,consts:[["activatedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-100",3,"click"],["matInput","","required","","formControlName","activatedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"mat-form-field",3),t.bIt("click",function(){t.eBV(a);const l=t.sdS(19);return t.Njj(l.open())}),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"input",4),t.EFF(15,"\n "),t.nrm(16,"mat-datepicker-toggle",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker",null,0),t.EFF(20,"\n "),t.DNE(21,yr,8,9,"mat-error",6),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.j41(25,"mat-card-actions",7),t.EFF(26,"\n "),t.j41(27,"button",8),t.EFF(28),t.nI1(29,"translate"),t.k0s(),t.EFF(30,"\n "),t.j41(31,"button",9),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n"),t.k0s(),t.EFF(38,"\n")}if(2&r){const a=t.sdS(19);t.R7$(4),t.Y8G("formGroup",o.activateRecurringDepositsAccountForm),t.R7$(7),t.JRh(t.bMT(12,11,"labels.inputs.Activated On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.activateRecurringDepositsAccountForm.controls.activatedOnDate.hasError("required")),t.R7$(6),t.Y8G("routerLink",t.lJ4(17,vr)),t.R7$(),t.SpI("\n ",t.bMT(29,13,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.activateRecurringDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(33,15,"labels.buttons.Confirm"),"\n ")}},dependencies:[g.bT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();var w=u(37403);const $r=()=>["../../"];let Sr=(()=>{class n{constructor(e,r,o,a){this.formBuilder=e,this.recurringDepositsService=r,this.route=o,this.router=a,this.undoCommand="undoapproval",this.undoAction=this.route.snapshot.params.name,"Undo Activation"===this.undoAction&&(this.undoCommand="undoactivate"),this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.createUndoApprovalRecurringDepositsAccountForm()}createUndoApprovalRecurringDepositsAccountForm(){this.undoApprovalRecurringDepositsAccountForm=this.formBuilder.group({note:[""]})}submit(){const e={...this.undoApprovalRecurringDepositsAccountForm.value};"Undo Activation"===this.undoAction?this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,this.undoCommand,e).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})}):this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"undoapproval",e).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(m.nX),t.rXU(m.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-undo-approval-recurring-deposits-account"]],decls:32,vars:13,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-100"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(r,o){1&r&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",1),t.bIt("ngSubmit",function(){return o.submit()}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"mat-form-field",2),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"textarea",3),t.EFF(15,"\n "),t.k0s(),t.EFF(16,"\n "),t.k0s(),t.EFF(17,"\n\n "),t.j41(18,"mat-card-actions",4),t.EFF(19,"\n "),t.j41(20,"button",5),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.EFF(23,"\n "),t.j41(24,"button",6),t.EFF(25),t.nI1(26,"translate"),t.k0s(),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n"),t.k0s(),t.EFF(31,"\n")),2&r&&(t.R7$(4),t.Y8G("formGroup",o.undoApprovalRecurringDepositsAccountForm),t.R7$(7),t.JRh(t.bMT(12,6,"labels.inputs.Note")),t.R7$(9),t.Y8G("routerLink",t.lJ4(12,$r)),t.R7$(),t.SpI("\n ",t.bMT(22,8,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.undoApprovalRecurringDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(26,10,"labels.buttons.Confirm"),"\n "))},dependencies:[f.$z,d.RN,d.YY,d.m2,F.rl,F.nJ,I.fg,w.xb,s.qT,s.me,s.BC,s.cb,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const wr=()=>["../../"];function Nr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Approved On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let Gr=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.recurringDepositsService=r,this.dateUtils=o,this.route=a,this.router=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createApproveRecurringDepositsAccountForm()}createApproveRecurringDepositsAccountForm(){this.approveRecurringDepositsAccountForm=this.formBuilder.group({approvedOnDate:["",s.k0.required],note:[""]})}submit(){const e=this.approveRecurringDepositsAccountForm.value,r=this.settingsService.language.code,o=this.settingsService.dateFormat;e.approvedOnDate instanceof Date&&(e.approvedOnDate=this.dateUtils.formatDate(this.approveRecurringDepositsAccountForm.value.approvedOnDate,o));const c={...e,dateFormat:o,locale:r};this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"approve",c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(R.A),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-approve-recurring-deposits-account"]],decls:51,vars:21,consts:[["approvedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","approvedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(a);const l=t.sdS(21);return t.Njj(l.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,Nr,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"textarea",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"mat-card-actions",9),t.EFF(38,"\n "),t.j41(39,"button",10),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.EFF(42,"\n "),t.j41(43,"button",11),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n"),t.k0s(),t.EFF(50,"\n")}if(2&r){const a=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.approveRecurringDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,12,"labels.inputs.Approved On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.approveRecurringDepositsAccountForm.controls.approvedOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,14,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(20,wr)),t.R7$(),t.SpI("\n ",t.bMT(41,16,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.approveRecurringDepositsAccountForm),t.R7$(),t.SpI("\n ",t.bMT(45,18,"labels.buttons.Confirm"),"\n ")}},dependencies:[g.bT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,w.xb,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const Yr=()=>["../../"];function Jr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Rejected On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let Vr=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.recurringDepositsService=r,this.dateUtils=o,this.route=a,this.router=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createRejectRecurringDepositsAccountForm()}createRejectRecurringDepositsAccountForm(){this.rejectRecurringDepositsAccountForm=this.formBuilder.group({rejectedOnDate:["",s.k0.required],note:[""]})}submit(){const e=this.rejectRecurringDepositsAccountForm.value,r=this.settingsService.language.code,o=this.settingsService.dateFormat;e.rejectedOnDate instanceof Date&&(e.rejectedOnDate=this.dateUtils.formatDate(this.rejectRecurringDepositsAccountForm.value.rejectedOnDate,o));const c={...e,dateFormat:o,locale:r};this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"reject",c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(R.A),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-reject-recurring-deposits-account"]],decls:51,vars:21,consts:[["rejectedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","rejectedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(a);const l=t.sdS(21);return t.Njj(l.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,Jr,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"textarea",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"mat-card-actions",9),t.EFF(38,"\n "),t.j41(39,"button",10),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.EFF(42,"\n "),t.j41(43,"button",11),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n"),t.k0s(),t.EFF(50,"\n")}if(2&r){const a=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.rejectRecurringDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,12,"labels.inputs.Rejected On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.rejectRecurringDepositsAccountForm.controls.rejectedOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,14,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(20,Yr)),t.R7$(),t.SpI("\n ",t.bMT(41,16,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.rejectRecurringDepositsAccountForm),t.R7$(),t.SpI("\n ",t.bMT(45,18,"labels.buttons.Confirm"),"\n ")}},dependencies:[g.bT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,w.xb,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const Ur=()=>["../../"];function Xr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Withdrawn On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let qr=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.recurringDepositsService=r,this.dateUtils=o,this.route=a,this.router=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createWithdrawRecurringDepositsAccountForm()}createWithdrawRecurringDepositsAccountForm(){this.withdrawRecurringDepositsAccountForm=this.formBuilder.group({withdrawnOnDate:["",s.k0.required],note:[""]})}submit(){const e=this.withdrawRecurringDepositsAccountForm.value,r=this.settingsService.language.code,o=this.settingsService.dateFormat;e.withdrawnOnDate instanceof Date&&(e.withdrawnOnDate=this.dateUtils.formatDate(this.withdrawRecurringDepositsAccountForm.value.withdrawnOnDate,o));const c={...e,dateFormat:o,locale:r};this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"withdrawnByApplicant",c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(R.A),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-withdraw-by-client-recurring-deposits-account"]],decls:51,vars:21,consts:[["withdrawnOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","withdrawnOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(a);const l=t.sdS(21);return t.Njj(l.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,Xr,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"mat-form-field"),t.EFF(27,"\n "),t.j41(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.EFF(31,"\n "),t.nrm(32,"textarea",8),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.j41(37,"mat-card-actions",9),t.EFF(38,"\n "),t.j41(39,"button",10),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.EFF(42,"\n "),t.j41(43,"button",11),t.EFF(44),t.nI1(45,"translate"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n"),t.k0s(),t.EFF(50,"\n")}if(2&r){const a=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.withdrawRecurringDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,12,"labels.inputs.Withdrawn On Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.withdrawRecurringDepositsAccountForm.controls.withdrawnOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(30,14,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(20,Ur)),t.R7$(),t.SpI("\n ",t.bMT(41,16,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.withdrawRecurringDepositsAccountForm.valid),t.R7$(),t.SpI("\n ",t.bMT(45,18,"labels.buttons.Confirm"),"\n ")}},dependencies:[g.bT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,w.xb,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const Br=()=>["../../"];function zr(n,i){if(1&n&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name+" ("+e.currency.name+")","\n ")}}function Lr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Charge")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Hr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Amount")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Wr(n,i){if(1&n&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function Kr(n,i){if(1&n&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function Zr(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Due for collection on")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Qr(n,i){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field",17),t.bIt("click",function(){t.eBV(e);const o=t.sdS(11);return t.Njj(o.open())}),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",18),t.EFF(7,"\n "),t.nrm(8,"mat-datepicker-toggle",19),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker",null,0),t.EFF(12,"\n "),t.DNE(13,Zr,8,9,"mat-error",7),t.EFF(14,"\n "),t.k0s()}if(2&n){const e=t.sdS(11),r=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,6,"labels.inputs.Due for collection on")),t.R7$(3),t.Y8G("min",r.minDate)("max",r.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(5),t.Y8G("ngIf",r.recurringDepositsChargeForm.controls.dueDate.hasError("required"))}}function ta(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Due Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function na(n,i){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field",17),t.bIt("click",function(){t.eBV(e);const o=t.sdS(11);return t.Njj(o.open())}),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",20),t.EFF(7,"\n "),t.nrm(8,"mat-datepicker-toggle",19),t.EFF(9,"\n "),t.nrm(10,"mat-datepicker",null,1),t.EFF(12,"\n "),t.DNE(13,ta,8,9,"mat-error",7),t.EFF(14,"\n "),t.k0s()}if(2&n){const e=t.sdS(11),r=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,6,"labels.inputs.Due On")),t.R7$(3),t.Y8G("min",r.minDate)("max",r.maxDate)("matDatepicker",e),t.R7$(2),t.Y8G("for",e),t.R7$(5),t.Y8G("ngIf",r.recurringDepositsChargeForm.controls.feeOnMonthDay.hasError("required"))}}function ea(n,i){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",21),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Repeats Every")))}function oa(n,i){if(1&n&&(t.j41(0,"div",4),t.EFF(1,"\n "),t.j41(2,"mat-form-field"),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.nrm(8,"input",13),t.EFF(9,"\n "),t.DNE(10,Hr,8,9,"mat-error",7),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n\n "),t.j41(13,"mat-form-field"),t.EFF(14,"\n "),t.j41(15,"mat-label"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n "),t.j41(19,"mat-select",14),t.EFF(20,"\n "),t.DNE(21,Wr,2,2,"mat-option",6),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.k0s(),t.EFF(24,"\n\n "),t.j41(25,"mat-form-field"),t.EFF(26,"\n "),t.j41(27,"mat-label"),t.EFF(28),t.nI1(29,"translate"),t.k0s(),t.EFF(30,"\n "),t.j41(31,"mat-select",15),t.EFF(32,"\n "),t.DNE(33,Kr,2,2,"mat-option",6),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n\n "),t.DNE(37,Qr,15,8,"mat-form-field",16),t.EFF(38,"\n\n "),t.DNE(39,na,15,8,"mat-form-field",16),t.EFF(40,"\n\n "),t.DNE(41,ea,8,3,"mat-form-field",7),t.EFF(42,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(5),t.JRh(t.bMT(6,9,"labels.inputs.Amount")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsChargeForm.controls.amount.hasError("required")),t.R7$(6),t.JRh(t.bMT(17,11,"labels.inputs.Charge Calculation")),t.R7$(5),t.Y8G("ngForOf",e.chargeDetails.chargeCalculationTypeOptions),t.R7$(7),t.JRh(t.bMT(29,13,"labels.inputs.Charge time type")),t.R7$(5),t.Y8G("ngForOf",e.chargeDetails.chargeTimeTypeOptions),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsChargeForm.contains("dueDate")),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsChargeForm.contains("feeOnMonthDay")),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsChargeForm.contains("feeInterval"))}}let ia=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.route=r,this.router=o,this.dateUtils=a,this.savingsService=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(h=>{this.savingsChargeOptions=h.recurringDepositsAccountActionData.chargeOptions}),this.recurringDepositAccountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createRecurringDepositsChargeForm(),this.buildDependencies()}buildDependencies(){this.recurringDepositsChargeForm.controls.chargeId.valueChanges.subscribe(e=>{this.savingsService.getChargeTemplate(e).subscribe(r=>{this.chargeDetails=r;const o=r.chargeTimeType.id;("Withdrawal Fee"===r.chargeTimeType.value||"Saving No Activity Fee"===r.chargeTimeType.value)&&(this.chargeDetails.dueDateNotRequired=!0),("Annual Fee"===r.chargeTimeType.value||"Monthly Fee"===r.chargeTimeType.value)&&(this.chargeDetails.chargeTimeTypeAnnualOrMonth=!0),this.chargeDetails.dueDateNotRequired||this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.recurringDepositsChargeForm.removeControl("dueDate"):this.recurringDepositsChargeForm.addControl("dueDate",new s.hs("",s.k0.required)),!this.chargeDetails.dueDateNotRequired&&this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.recurringDepositsChargeForm.addControl("feeOnMonthDay",new s.hs("",s.k0.required)):this.recurringDepositsChargeForm.removeControl("feeOnMonthDay"),"Monthly Fee"===o.value?this.recurringDepositsChargeForm.addControl("feeInterval",new s.hs(r.feeInterval,s.k0.required)):this.recurringDepositsChargeForm.removeControl("feeInterval"),this.recurringDepositsChargeForm.patchValue({amount:r.amount,chargeCalculationType:r.chargeCalculationType.id,chargeTimeType:r.chargeTimeType.id})})})}createRecurringDepositsChargeForm(){this.recurringDepositsChargeForm=this.formBuilder.group({chargeId:["",s.k0.required],amount:["",s.k0.required],chargeCalculationType:[{value:"",disabled:!0}],chargeTimeType:[{value:"",disabled:!0}]})}submit(){const e=this.recurringDepositsChargeForm.value;if(e.locale=this.settingsService.language.code,e.feeInterval||(e.feeInterval=this.chargeDetails.feeInterval),!0!==this.chargeDetails.dueDateNotRequired)if(!0===this.chargeDetails.chargeTimeTypeAnnualOrMonth){const r="MMMM-dd";e.monthDayFormat=r,e.feeOnMonthDay&&(e.feeOnMonthDay=this.dateUtils.formatDate(this.recurringDepositsChargeForm.value.feeOnMonthDay,r))}else{const r=this.settingsService.dateFormat;e.dateFormat=r,e.dueDate&&(e.dueDate=this.dateUtils.formatDate(this.recurringDepositsChargeForm.value.dueDate,r))}this.savingsService.createSavingsCharge(this.recurringDepositAccountId,"charges",e).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(R.A),t.rXU(Y.J),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-add-charge-recurring-deposits-account"]],decls:42,vars:16,consts:[["dueDatePicker",""],["feeOnMonthDayPicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["required","","formControlName","chargeId"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["class","layout-column",4,"ngIf"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],[3,"value"],["type","number","required","","matInput","","formControlName","amount"],["formControlName","chargeCalculationType"],["formControlName","chargeTimeType"],[3,"click",4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","dueDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","feeOnMonthDay",3,"min","max","matDatepicker"],["matInput","","formControlName","feeInterval"]],template:function(r,o){1&r&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",3),t.bIt("ngSubmit",function(){return o.submit()}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",4),t.EFF(9,"\n "),t.j41(10,"mat-form-field"),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"mat-select",5),t.EFF(17,"\n "),t.DNE(18,zr,2,2,"mat-option",6),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.DNE(21,Lr,8,9,"mat-error",7),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n\n "),t.DNE(24,oa,43,15,"div",8),t.EFF(25,"\n "),t.k0s(),t.EFF(26,"\n\n "),t.j41(27,"mat-card-actions",9),t.EFF(28,"\n "),t.j41(29,"button",10),t.EFF(30),t.nI1(31,"translate"),t.k0s(),t.EFF(32,"\n "),t.j41(33,"button",11),t.EFF(34),t.nI1(35,"translate"),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n"),t.k0s(),t.EFF(41,"\n")),2&r&&(t.R7$(4),t.Y8G("formGroup",o.recurringDepositsChargeForm),t.R7$(9),t.JRh(t.bMT(14,9,"labels.inputs.Charge")),t.R7$(5),t.Y8G("ngForOf",o.savingsChargeOptions),t.R7$(3),t.Y8G("ngIf",o.recurringDepositsChargeForm.controls.chargeId.hasError("required")),t.R7$(3),t.Y8G("ngIf",o.chargeDetails),t.R7$(5),t.Y8G("routerLink",t.lJ4(15,Br)),t.R7$(),t.SpI("\n ",t.bMT(31,11,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.recurringDepositsChargeForm.valid),t.R7$(),t.SpI("\n ",t.bMT(35,13,"labels.buttons.Submit"),"\n "))},dependencies:[g.Sq,g.bT,k.wT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,v.VO,s.qT,s.me,s.Q0,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return n})();const ra=()=>["../../"];function aa(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Closed On Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}let sa=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.recurringDepositsService=r,this.dateUtils=o,this.route=a,this.router=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createprematureCloseRecurringDepositsAccountForm()}createprematureCloseRecurringDepositsAccountForm(){this.prematureCloseRecurringDepositsAccountForm=this.formBuilder.group({closedOnDate:["",s.k0.required]})}submit(){const e=this.prematureCloseRecurringDepositsAccountForm.value,r=this.settingsService.language.code,o=this.settingsService.dateFormat;e.closedOnDate instanceof Date&&(e.closedOnDate=this.dateUtils.formatDate(this.prematureCloseRecurringDepositsAccountForm.value.closedOnDate,o));const c={...e,dateFormat:o,locale:r};this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"prematureClose",c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(E),t.rXU(R.A),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-premature-close-recurring-deposit-account"]],decls:42,vars:18,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"mat-form-field",4),t.bIt("click",function(){t.eBV(a);const l=t.sdS(21);return t.Njj(l.open())}),t.EFF(11,"\n "),t.j41(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.nrm(16,"input",5),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker-toggle",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker",null,0),t.EFF(22,"\n "),t.DNE(23,aa,8,9,"mat-error",7),t.EFF(24,"\n "),t.k0s(),t.EFF(25,"\n "),t.k0s(),t.EFF(26,"\n "),t.k0s(),t.EFF(27,"\n\n "),t.j41(28,"mat-card-actions",8),t.EFF(29,"\n "),t.j41(30,"button",9),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.EFF(33,"\n "),t.j41(34,"button",10),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n"),t.k0s(),t.EFF(41,"\n")}if(2&r){const a=t.sdS(21);t.R7$(4),t.Y8G("formGroup",o.prematureCloseRecurringDepositsAccountForm),t.R7$(9),t.JRh(t.bMT(14,11,"labels.inputs.Closed On")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.prematureCloseRecurringDepositsAccountForm.controls.closedOnDate.hasError("required")),t.R7$(7),t.Y8G("routerLink",t.lJ4(17,ra)),t.R7$(),t.SpI("\n ",t.bMT(32,13,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.prematureCloseRecurringDepositsAccountForm),t.R7$(),t.SpI("\n ",t.bMT(36,15,"labels.buttons.Confirm"),"\n ")}},dependencies:[g.bT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return n})();const ca=()=>["../general"];function pa(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Closed On")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function la(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Maturity Amount")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function ua(n,i){if(1&n&&(t.j41(0,"mat-option",21),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.value,"\n ")}}function ma(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Action")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Fa(n,i){if(1&n&&(t.j41(0,"mat-option",21),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function ga(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Payment Type")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function da(n,i){1&n&&(t.j41(0,"button",22),t.EFF(1,"\n "),t.nrm(2,"i",23),t.EFF(3,"\n "),t.k0s())}function _a(n,i){1&n&&(t.j41(0,"button",22),t.EFF(1,"\n "),t.nrm(2,"i",24),t.EFF(3,"\n "),t.k0s())}function ha(n,i){1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"mat-form-field"),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.nrm(8,"input",25),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n\n "),t.j41(11,"mat-form-field"),t.EFF(12,"\n "),t.j41(13,"mat-label"),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.nrm(17,"input",26),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n\n "),t.j41(20,"mat-form-field"),t.EFF(21,"\n "),t.j41(22,"mat-label"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.nrm(26,"input",27),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"mat-form-field"),t.EFF(30,"\n "),t.j41(31,"mat-label"),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.nrm(35,"input",28),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n\n "),t.j41(38,"mat-form-field"),t.EFF(39,"\n "),t.j41(40,"mat-label"),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.nrm(44,"input",29),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n "),t.bVm()),2&n&&(t.R7$(5),t.SpI(" ",t.bMT(6,5,"labels.inputs.Account")," #"),t.R7$(9),t.SpI("",t.bMT(15,7,"labels.inputs.Cheque")," #"),t.R7$(9),t.JRh(t.bMT(24,9,"labels.inputs.Routing Code")),t.R7$(9),t.SpI("",t.bMT(33,11,"labels.inputs.Reciept")," #"),t.R7$(9),t.SpI("",t.bMT(42,13,"labels.inputs.Bank")," #"))}let ba=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.route=r,this.router=o,this.dateUtils=a,this.recurringDepositsService=c,this.settingsService=l,this.showPaymentDetails=!1,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(h=>{this.maturityAmount=h.recurringDepositsAccountActionData.maturityAmount,this.onAccountClosureOptions=h.recurringDepositsAccountActionData.onAccountClosureOptions,this.paymentTypes=h.recurringDepositsAccountActionData.paymentTypeOptions,this.title=h.recurringDepositsAccountActionData.maturityAmount?"Recurring Deposit Closure on Maturity":"Recurring Deposit Closure"}),this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createcloseRecurringDepositForm()}createcloseRecurringDepositForm(){this.closeRecurringDepositForm=this.formBuilder.group({closedOnDate:[new Date,s.k0.required],maturityAmount:[{value:this.maturityAmount,disabled:!0}],onAccountClosureId:["",s.k0.required],paymentTypeId:["",s.k0.required],accountNumber:"",chequeNumber:"",routingCode:"",receiptNumber:"",bankNumber:"",note:""})}toggleDisplay(){this.showPaymentDetails=!this.showPaymentDetails}submit(){const e=this.closeRecurringDepositForm.value,o=this.settingsService.dateFormat,a=this.settingsService.language.code;e.closedOnDate instanceof Date&&(e.closedOnDate=this.dateUtils.formatDate(this.closeRecurringDepositForm.value.closedOnDate,o));const c={...e,dateFormat:o,locale:a};this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,"close",c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(R.A),t.rXU(E),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-close-recurring-deposits-account"]],decls:109,vars:42,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[1,"mat-h3","flex-fill"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","required","","formControlName","maturityAmount"],["formControlName","onAccountClosureId","required",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","paymentTypeId","required",""],[1,"flex-fill"],[1,"flex-25"],[1,"expandcollapsebutton","flex-75",3,"click"],["mat-raised-button","","color","primary",4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],[3,"value"],["mat-raised-button","","color","primary"],[1,"fa","fa-minus"],[1,"fa","fa-plus"],["matInput","","formControlName","accountNumber"],["matInput","","formControlName","chequeNumber"],["matInput","","formControlName","routingCode"],["matInput","","formControlName","receiptNumber"],["matInput","","formControlName","bankNumber"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",3),t.EFF(9,"\n "),t.j41(10,"h3",4),t.EFF(11),t.k0s(),t.EFF(12,"\n\n "),t.j41(13,"mat-form-field",5),t.bIt("click",function(){t.eBV(a);const l=t.sdS(24);return t.Njj(l.open())}),t.EFF(14,"\n "),t.j41(15,"mat-label"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.EFF(18,"\n "),t.nrm(19,"input",6),t.EFF(20,"\n "),t.nrm(21,"mat-datepicker-toggle",7),t.EFF(22,"\n "),t.nrm(23,"mat-datepicker",null,0),t.EFF(25,"\n "),t.DNE(26,pa,8,9,"mat-error",8),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"mat-form-field"),t.EFF(30,"\n "),t.j41(31,"mat-label"),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.nrm(35,"input",9),t.EFF(36,"\n "),t.DNE(37,la,8,9,"mat-error",8),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n\n "),t.j41(40,"mat-form-field"),t.EFF(41,"\n "),t.j41(42,"mat-label"),t.EFF(43),t.nI1(44,"translate"),t.k0s(),t.EFF(45,"\n "),t.j41(46,"mat-select",10),t.EFF(47,"\n "),t.DNE(48,ua,2,2,"mat-option",11),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n "),t.DNE(51,ma,8,9,"mat-error",8),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n\n "),t.j41(54,"mat-form-field"),t.EFF(55,"\n "),t.j41(56,"mat-label"),t.EFF(57),t.nI1(58,"translate"),t.k0s(),t.EFF(59,"\n "),t.j41(60,"mat-select",12),t.EFF(61,"\n "),t.DNE(62,Fa,2,2,"mat-option",11),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n "),t.DNE(65,ga,8,9,"mat-error",8),t.EFF(66,"\n "),t.k0s(),t.EFF(67,"\n\n "),t.j41(68,"div",13),t.EFF(69,"\n "),t.j41(70,"span",14),t.EFF(71),t.nI1(72,"translate"),t.k0s(),t.EFF(73,"\n "),t.j41(74,"span",15),t.bIt("click",function(){return t.eBV(a),t.Njj(o.toggleDisplay())}),t.EFF(75,"\n "),t.DNE(76,da,4,0,"button",16),t.EFF(77,"\n "),t.DNE(78,_a,4,0,"button",16),t.EFF(79,"\n "),t.k0s(),t.EFF(80,"\n "),t.k0s(),t.EFF(81,"\n\n "),t.DNE(82,ha,47,15,"ng-container",8),t.EFF(83,"\n\n "),t.j41(84,"mat-form-field"),t.EFF(85,"\n "),t.j41(86,"mat-label"),t.EFF(87),t.nI1(88,"translate"),t.k0s(),t.EFF(89,"\n "),t.nrm(90,"textarea",17),t.EFF(91,"\n "),t.k0s(),t.EFF(92,"\n "),t.k0s(),t.EFF(93,"\n "),t.k0s(),t.EFF(94,"\n\n "),t.j41(95,"mat-card-actions",18),t.EFF(96,"\n "),t.j41(97,"button",19),t.EFF(98),t.nI1(99,"translate"),t.k0s(),t.EFF(100,"\n "),t.j41(101,"button",20),t.EFF(102),t.nI1(103,"translate"),t.k0s(),t.EFF(104,"\n "),t.k0s(),t.EFF(105,"\n "),t.k0s(),t.EFF(106,"\n "),t.k0s(),t.EFF(107,"\n"),t.k0s(),t.EFF(108,"\n")}if(2&r){const a=t.sdS(24);t.R7$(4),t.Y8G("formGroup",o.closeRecurringDepositForm),t.R7$(7),t.JRh(o.title),t.R7$(5),t.JRh(t.bMT(17,25,"labels.inputs.Closed On")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.closeRecurringDepositForm.controls.closedOnDate.hasError("required")),t.R7$(6),t.JRh(t.bMT(33,27,"labels.inputs.Maturity Amount")),t.R7$(5),t.Y8G("ngIf",o.closeRecurringDepositForm.controls.maturityAmount.hasError("required")),t.R7$(6),t.JRh(t.bMT(44,29,"labels.inputs.Action")),t.R7$(5),t.Y8G("ngForOf",o.onAccountClosureOptions),t.R7$(3),t.Y8G("ngIf",o.closeRecurringDepositForm.controls.onAccountClosureId.hasError("required")),t.R7$(6),t.JRh(t.bMT(58,31,"labels.inputs.Payment Type Id")),t.R7$(5),t.Y8G("ngForOf",o.paymentTypes),t.R7$(3),t.Y8G("ngIf",o.closeRecurringDepositForm.controls.paymentTypeId.hasError("required")),t.R7$(6),t.SpI(" ",t.bMT(72,33,"labels.inputs.Show Payment Details"),""),t.R7$(5),t.Y8G("ngIf",o.showPaymentDetails),t.R7$(2),t.Y8G("ngIf",!o.showPaymentDetails),t.R7$(4),t.Y8G("ngIf",o.showPaymentDetails),t.R7$(5),t.JRh(t.bMT(88,35,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(41,ca)),t.R7$(),t.SpI("\n ",t.bMT(99,37,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.closeRecurringDepositForm.valid),t.R7$(),t.SpI("\n ",t.bMT(103,39,"labels.buttons.Submit"),"\n ")}},dependencies:[g.Sq,g.bT,k.wT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,w.xb,v.VO,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}.expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px;margin-left:2%}"]})}}return n})();var it=u(30450);const fa=()=>["../../general"];function Ea(n,i){if(1&n&&(t.j41(0,"h2",20),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Lme("\n ",t.bMT(2,2,"labels.menus."+e.actionName)," ",t.bMT(3,4,"labels.heading.Recurring Deposit Transactions"),"\n ")}}function Da(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Transaction Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Ca(n,i){if(1&n&&(t.j41(0,"mat-option",21),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function Ta(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Payment Type")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function Ra(n,i){1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"mat-form-field"),t.EFF(3,"\n "),t.j41(4,"mat-label"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.nrm(8,"input",22),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n\n "),t.j41(11,"mat-form-field"),t.EFF(12,"\n "),t.j41(13,"mat-label"),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.EFF(16,"\n "),t.nrm(17,"input",23),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n\n "),t.j41(20,"mat-form-field"),t.EFF(21,"\n "),t.j41(22,"mat-label"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.nrm(26,"input",24),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n\n "),t.j41(29,"mat-form-field"),t.EFF(30,"\n "),t.j41(31,"mat-label"),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.EFF(34,"\n "),t.nrm(35,"input",25),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n\n "),t.j41(38,"mat-form-field"),t.EFF(39,"\n "),t.j41(40,"mat-label"),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.nrm(44,"input",26),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n "),t.bVm()),2&n&&(t.R7$(5),t.SpI(" ",t.bMT(6,5,"labels.inputs.Account")," #"),t.R7$(9),t.SpI("",t.bMT(15,7,"labels.inputs.Cheque")," #"),t.R7$(9),t.JRh(t.bMT(24,9,"labels.inputs.Routing Code")),t.R7$(9),t.SpI("",t.bMT(33,11,"labels.inputs.Reciept")," #"),t.R7$(9),t.SpI("",t.bMT(42,13,"labels.inputs.Bank")," #"))}let Ma=(()=>{class n{constructor(e,r,o,a,c,l){if(this.formBuilder=e,this.route=r,this.router=o,this.dateUtils=a,this.recurringDepositsService=c,this.settingsService=l,this.showPaymentDetails=!1,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.transactionType={deposit:!1,withdrawal:!1},this.route.data.subscribe(h=>{this.transactionAmount=h.recurringDepositsAccountActionData.amount,this.paymentTypes=h.recurringDepositsAccountActionData.paymentTypeOptions,h.recurringDepositsAccountActionData.outstandingChargeAmount&&h.recurringDepositsAccountActionData.outstandingChargeAmount>0&&(this.outstandingChargeAmount=h.recurringDepositsAccountActionData.outstandingChargeAmount,this.transactionAmount+=this.outstandingChargeAmount)}),this.actionName=this.route.snapshot.params.name,this.action=this.actionName.toLowerCase(),"deposit"!==this.action&&"withdrawal"!==this.action)throw new Error(`Invalid transaction action: ${this.actionName}`);this.transactionCommand=this.action,this.transactionType[this.transactionCommand]=!0,this.accountId=this.route.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createdepositRecurringDepositForm()}createdepositRecurringDepositForm(){this.depositRecurringDepositForm=this.formBuilder.group({transactionDate:[new Date,s.k0.required],transactionAmount:[0,s.k0.required],paymentTypeId:["",s.k0.required],note:""})}addPaymentDetails(){this.showPaymentDetails=!this.showPaymentDetails,this.showPaymentDetails?(this.depositRecurringDepositForm.addControl("accountNumber",new s.hs("")),this.depositRecurringDepositForm.addControl("checkNumber",new s.hs("")),this.depositRecurringDepositForm.addControl("routingCode",new s.hs("")),this.depositRecurringDepositForm.addControl("receiptNumber",new s.hs("")),this.depositRecurringDepositForm.addControl("bankNumber",new s.hs(""))):(this.depositRecurringDepositForm.removeControl("accountNumber"),this.depositRecurringDepositForm.removeControl("checkNumber"),this.depositRecurringDepositForm.removeControl("routingCode"),this.depositRecurringDepositForm.removeControl("receiptNumber"),this.depositRecurringDepositForm.removeControl("bankNumber"))}toggleDisplay(){this.showPaymentDetails=!this.showPaymentDetails}submit(){const e=this.depositRecurringDepositForm.value,r=this.settingsService.dateFormat,o=this.settingsService.language.code;e.transactionDate instanceof Date&&(e.transactionDate=this.dateUtils.formatDate(this.depositRecurringDepositForm.value.transactionDate,r));const c={...e,dateFormat:r,locale:o};delete c.note,c.transactionAmount=1*c.transactionAmount,this.recurringDepositsService.executeRecurringDepositsAccountCommand(this.accountId,this.action,c).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(R.A),t.rXU(E),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-deposit-recurring-deposits-account"]],inputs:{currency:"currency"},decls:88,vars:36,consts:[["transactionDatePicker",""],[1,"container"],["mat-title","",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","transactionDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[3,"currency","isRequired","inputFormControl","inputLabel"],["formControlName","paymentTypeId","required",""],[3,"value",4,"ngFor","ngForOf"],[1,"flex-fill"],[1,"expandcollapsebutton","m-l-10","m-t-40","flex-75",3,"click"],[3,"className"],[1,"m-l-10"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],["mat-title",""],[3,"value"],["matInput","","formControlName","accountNumber"],["matInput","","formControlName","checkNumber"],["matInput","","formControlName","routingCode"],["matInput","","formControlName","receiptNumber"],["matInput","","formControlName","bankNumber"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.DNE(4,Ea,4,6,"h2",2),t.EFF(5,"\n\n "),t.j41(6,"form",3),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(7,"\n "),t.j41(8,"mat-card-content"),t.EFF(9,"\n "),t.j41(10,"div",4),t.EFF(11,"\n "),t.j41(12,"mat-form-field",5),t.bIt("click",function(){t.eBV(a);const l=t.sdS(23);return t.Njj(l.open())}),t.EFF(13,"\n "),t.j41(14,"mat-label"),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.EFF(17,"\n "),t.nrm(18,"input",6),t.EFF(19,"\n "),t.nrm(20,"mat-datepicker-toggle",7),t.EFF(21,"\n "),t.nrm(22,"mat-datepicker",null,0),t.EFF(24,"\n "),t.DNE(25,Da,8,9,"mat-error",8),t.EFF(26,"\n "),t.k0s(),t.EFF(27,"\n\n "),t.j41(28,"mifosx-input-amount",9),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n\n "),t.j41(31,"mat-form-field"),t.EFF(32,"\n "),t.j41(33,"mat-label"),t.EFF(34),t.nI1(35,"translate"),t.k0s(),t.EFF(36,"\n "),t.j41(37,"mat-select",10),t.EFF(38,"\n "),t.DNE(39,Ca,2,2,"mat-option",11),t.EFF(40,"\n "),t.k0s(),t.EFF(41,"\n "),t.DNE(42,Ta,8,9,"mat-error",8),t.EFF(43,"\n "),t.k0s(),t.EFF(44,"\n\n "),t.j41(45,"div",12),t.EFF(46,"\n "),t.j41(47,"span",13),t.bIt("click",function(){return t.eBV(a),t.Njj(o.addPaymentDetails())}),t.EFF(48,"\n "),t.j41(49,"mat-slide-toggle"),t.EFF(50,"\n "),t.j41(51,"div",14),t.EFF(52,"\n "),t.j41(53,"span",15),t.EFF(54),t.nI1(55,"translate"),t.k0s(),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n "),t.k0s(),t.EFF(58,"\n "),t.k0s(),t.EFF(59,"\n "),t.k0s(),t.EFF(60,"\n\n "),t.DNE(61,Ra,47,15,"ng-container",8),t.EFF(62,"\n\n "),t.j41(63,"mat-form-field"),t.EFF(64,"\n "),t.j41(65,"mat-label"),t.EFF(66),t.nI1(67,"translate"),t.k0s(),t.EFF(68,"\n "),t.nrm(69,"textarea",16),t.EFF(70,"\n "),t.k0s(),t.EFF(71,"\n "),t.k0s(),t.EFF(72,"\n "),t.k0s(),t.EFF(73,"\n\n "),t.j41(74,"mat-card-actions",17),t.EFF(75,"\n "),t.j41(76,"button",18),t.EFF(77),t.nI1(78,"translate"),t.k0s(),t.EFF(79,"\n "),t.j41(80,"button",19),t.EFF(81),t.nI1(82,"translate"),t.k0s(),t.EFF(83,"\n "),t.k0s(),t.EFF(84,"\n "),t.k0s(),t.EFF(85,"\n "),t.k0s(),t.EFF(86,"\n"),t.k0s(),t.EFF(87,"\n")}if(2&r){const a=t.sdS(23);t.R7$(4),t.Y8G("ngIf",o.transactionType.withdrawal),t.R7$(2),t.Y8G("formGroup",o.depositRecurringDepositForm),t.R7$(9),t.JRh(t.bMT(16,23,"labels.inputs.Transaction Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.depositRecurringDepositForm.controls.transactionDate.hasError("required")),t.R7$(3),t.Y8G("currency",o.currency)("isRequired",!0)("inputFormControl",o.depositRecurringDepositForm.controls.transactionAmount)("inputLabel","Transaction Amount"),t.R7$(6),t.JRh(t.bMT(35,25,"labels.inputs.Payment Type Id")),t.R7$(5),t.Y8G("ngForOf",o.paymentTypes),t.R7$(3),t.Y8G("ngIf",o.depositRecurringDepositForm.controls.paymentTypeId.hasError("required")),t.R7$(9),t.Y8G("className",o.showPaymentDetails?"enabled":"disabled"),t.R7$(3),t.JRh(t.bMT(55,27,"labels.inputs.Show Payment Details")),t.R7$(7),t.Y8G("ngIf",o.showPaymentDetails),t.R7$(5),t.JRh(t.bMT(67,29,"labels.inputs.Note")),t.R7$(10),t.Y8G("routerLink",t.lJ4(35,fa)),t.R7$(),t.SpI("\n ",t.bMT(78,31,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.depositRecurringDepositForm.valid),t.R7$(),t.SpI("\n ",t.bMT(82,33,"labels.buttons.Submit"),"\n ")}},dependencies:[g.Sq,g.bT,k.wT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,w.xb,v.VO,it.sG,s.qT,s.me,s.BC,s.cb,s.YS,s.j4,s.JD,H.e,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}.expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px;margin-left:2%}.right-input[_ngcontent-%COMP%]{text-align:right}.right-label[_ngcontent-%COMP%]{padding-right:25px!important}"]})}}return n})();function Pa(n,i){1&n&&t.nrm(0,"mifosx-activate-recurring-deposits-account")}function Ia(n,i){1&n&&t.nrm(0,"mifosx-undo-approval-recurring-deposits-account")}function Oa(n,i){1&n&&t.nrm(0,"mifosx-approve-recurring-deposits-account")}function Aa(n,i){1&n&&t.nrm(0,"mifosx-reject-recurring-deposits-account")}function xa(n,i){1&n&&t.nrm(0,"mifosx-withdraw-by-client-recurring-deposits-account")}function ka(n,i){1&n&&t.nrm(0,"mifosx-add-charge-recurring-deposits-account")}function va(n,i){1&n&&t.nrm(0,"mifosx-premature-close-recurring-deposit-account")}function ya(n,i){1&n&&t.nrm(0,"mifosx-close-recurring-deposits-account")}function ja(n,i){if(1&n&&t.nrm(0,"mifosx-deposit-recurring-deposits-account",2),2&n){const e=t.XpG();t.Y8G("currency",e.currency)}}let $a=(()=>{class n{constructor(e){this.route=e,this.actions={Activate:!1,"Undo Activation":!1,"Undo Approval":!1,Approve:!1,Reject:!1,"Withdrawn by Client":!1,"Add Charge":!1,"Premature Close":!1,Close:!1,Deposit:!1,Withdrawal:!1},this.route.data.subscribe(o=>{o.recurringDepositsAccountActionData&&(this.currency=o.recurringDepositsAccountActionData.currency)});const r=this.route.snapshot.params.name;r&&r in this.actions&&(this.actions[r]=!0)}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-recurring-deposits-account-actions"]],decls:18,vars:9,consts:[[4,"ngIf"],[3,"currency",4,"ngIf"],[3,"currency"]],template:function(r,o){1&r&&(t.DNE(0,Pa,1,0,"mifosx-activate-recurring-deposits-account",0),t.EFF(1,"\n"),t.DNE(2,Ia,1,0,"mifosx-undo-approval-recurring-deposits-account",0),t.EFF(3,"\n"),t.DNE(4,Oa,1,0,"mifosx-approve-recurring-deposits-account",0),t.EFF(5,"\n"),t.DNE(6,Aa,1,0,"mifosx-reject-recurring-deposits-account",0),t.EFF(7,"\n"),t.DNE(8,xa,1,0,"mifosx-withdraw-by-client-recurring-deposits-account",0),t.EFF(9,"\n"),t.DNE(10,ka,1,0,"mifosx-add-charge-recurring-deposits-account",0),t.EFF(11,"\n"),t.DNE(12,va,1,0,"mifosx-premature-close-recurring-deposit-account",0),t.EFF(13,"\n"),t.DNE(14,ya,1,0,"mifosx-close-recurring-deposits-account",0),t.EFF(15,"\n"),t.DNE(16,ja,1,1,"mifosx-deposit-recurring-deposits-account",1),t.EFF(17,"\n")),2&r&&(t.Y8G("ngIf",o.actions.Activate),t.R7$(2),t.Y8G("ngIf",o.actions["Undo Approval"]||o.actions["Undo Activation"]),t.R7$(2),t.Y8G("ngIf",o.actions.Approve),t.R7$(2),t.Y8G("ngIf",o.actions.Reject),t.R7$(2),t.Y8G("ngIf",o.actions["Withdrawn by Client"]),t.R7$(2),t.Y8G("ngIf",o.actions["Add Charge"]),t.R7$(2),t.Y8G("ngIf",o.actions["Premature Close"]),t.R7$(2),t.Y8G("ngIf",o.actions.Close),t.R7$(2),t.Y8G("ngIf",o.actions.Deposit||o.actions.Withdrawal))},dependencies:[g.bT,jr,Sr,Gr,Vr,qr,ia,sa,ba,Ma]})}}return n})();var Sa=u(8951);function wa(n,i){1&n&&(t.j41(0,"button",15),t.EFF(1,"\n "),t.nrm(2,"fa-icon",16),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.Y8G("routerLink","edit"),t.R7$(3),t.SpI("",t.bMT(4,2,"labels.buttons.Edit"),"\n "))}function Na(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,wa,5,4,"button",14),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",!("Transfer"===e.transactionData.transactionType.value||"true"===e.transactionData.reversed))}}function Ga(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.undoTransaction())}),t.EFF(1,"\n "),t.nrm(2,"fa-icon",18),t.EFF(3),t.nI1(4,"translate"),t.k0s()}2&n&&(t.R7$(3),t.SpI("",t.bMT(4,1,"labels.buttons.Undo"),"\n "))}function Ya(n,i){1&n&&(t.j41(0,"div",11),t.EFF(1,"\n "),t.DNE(2,Na,4,1,"span",12),t.EFF(3,"\n "),t.DNE(4,Ga,5,3,"button",13),t.EFF(5,"\n"),t.k0s()),2&n&&(t.R7$(2),t.Y8G("mifosxHasPermission","ADJUSTTRANSACTION_SAVINGSACCOUNT"),t.R7$(2),t.Y8G("mifosxHasPermission","UNDOTRANSACTION_SAVINGSACCOUNT"))}function Ja(n,i){1&n&&(t.j41(0,"div",4),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Note"),"\n "))}function Va(n,i){if(1&n&&(t.j41(0,"div",5),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI("\n ",e.transactionData.note,"\n ")}}function Ua(n,i){if(1&n&&(t.j41(0,"mifosx-transaction-payment-detail",19),t.EFF(1,"\n "),t.k0s()),2&n){const e=t.XpG();t.Y8G("paymentDetailData",e.transactionData.paymentDetailData)}}let Xa=(()=>{class n{constructor(e,r,o,a,c,l,h,M){this.recurringDepositsService=e,this.route=r,this.location=o,this.dateUtils=a,this.router=c,this.dialog=l,this.translateService=h,this.settingsService=M,this.route.data.subscribe(lc=>{this.transactionData=lc.recurringDepositsAccountTransaction})}undoTransaction(){const e=this.route.parent.snapshot.params.recurringDepositAccountId;this.dialog.open(j,{data:{heading:this.translateService.instant("labels.heading.Undo Transaction"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want to undo this transaction ?")}}).afterClosed().subscribe(o=>{if(o.confirm){const a=this.settingsService.language.code,c=this.settingsService.dateFormat,l={transactionDate:this.dateUtils.formatDate(this.transactionData.date&&new Date(this.transactionData.date),c),transactionAmount:0,dateFormat:c,locale:a};this.recurringDepositsService.executeRecurringDepositsAccountTransactionsCommand(e,"undo",l,this.transactionData.id).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}})}transactionColor(){return this.transactionData.reversed?"undo":"active"}goBack(){this.location.back()}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(E),t.rXU(m.nX),t.rXU(g.aZ),t.rXU(R.A),t.rXU(m.Ix),t.rXU(O.bZ),t.rXU(b.c$),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-view-transaction"]],decls:66,vars:35,consts:[["class","container m-b-20 align-end gap-2percent",4,"ngIf"],[1,"container"],[1,"layout-row-wrap"],[1,"flex-100",3,"ngClass"],[1,"flex-50","mat-body-strong"],[1,"flex-50"],["class","flex-50 mat-body-strong",4,"ngIf"],["class","flex-50",4,"ngIf"],[3,"paymentDetailData",4,"ngIf"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px","m-b-20"],["type","button","color","primary","mat-raised-button","",3,"click"],[1,"container","m-b-20","align-end","gap-2percent"],[4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",3,"click"],["icon","undo",1,"m-r-10"],[3,"paymentDetailData"]],template:function(r,o){1&r&&(t.DNE(0,Ya,6,2,"div",0),t.EFF(1,"\n\n"),t.j41(2,"div",1),t.EFF(3,"\n "),t.j41(4,"mat-card"),t.EFF(5,"\n "),t.j41(6,"mat-card-content"),t.EFF(7,"\n "),t.j41(8,"div",2),t.EFF(9,"\n "),t.nrm(10,"div",3),t.EFF(11,"\n\n "),t.j41(12,"div",4),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n\n "),t.j41(16,"div",5),t.EFF(17),t.k0s(),t.EFF(18,"\n\n "),t.j41(19,"div",4),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.EFF(22,"\n\n "),t.j41(23,"div",5),t.EFF(24),t.k0s(),t.EFF(25,"\n\n "),t.j41(26,"div",4),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.EFF(29,"\n\n "),t.j41(30,"div",5),t.EFF(31),t.nI1(32,"dateFormat"),t.k0s(),t.EFF(33,"\n\n "),t.j41(34,"div",4),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.EFF(37,"\n\n "),t.j41(38,"div",5),t.EFF(39),t.k0s(),t.EFF(40,"\n\n "),t.j41(41,"div",4),t.EFF(42),t.nI1(43,"translate"),t.k0s(),t.EFF(44,"\n\n "),t.j41(45,"div",5),t.EFF(46),t.nI1(47,"currency"),t.k0s(),t.EFF(48,"\n\n "),t.DNE(49,Ja,3,3,"div",6),t.EFF(50,"\n\n "),t.DNE(51,Va,2,1,"div",7),t.EFF(52,"\n\n "),t.DNE(53,Ua,2,1,"mifosx-transaction-payment-detail",8),t.EFF(54,"\n "),t.k0s(),t.EFF(55,"\n "),t.k0s(),t.EFF(56,"\n\n "),t.j41(57,"mat-card-actions",9),t.EFF(58,"\n "),t.j41(59,"button",10),t.bIt("click",function(){return o.goBack()}),t.EFF(60),t.nI1(61,"translate"),t.k0s(),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n"),t.k0s(),t.EFF(65,"\n")),2&r&&(t.Y8G("ngIf",!o.transactionData.reversed),t.R7$(10),t.Y8G("ngClass",o.transactionColor()),t.R7$(3),t.SpI("\n ",t.bMT(14,16,"labels.inputs.Transaction Id"),"\n "),t.R7$(4),t.SpI("\n ",o.transactionData.id,"\n "),t.R7$(3),t.SpI("\n ",t.bMT(21,18,"labels.inputs.Type"),"\n "),t.R7$(4),t.SpI("\n ",o.transactionData.transactionType.value,"\n "),t.R7$(3),t.SpI("\n ",t.bMT(28,20,"labels.inputs.Transaction Date"),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(32,22,o.transactionData.date),"\n "),t.R7$(4),t.SpI("\n ",t.bMT(36,24,"labels.inputs.Currency"),"\n "),t.R7$(4),t.SpI("\n ",o.transactionData.currency.displayLabel,"\n "),t.R7$(3),t.SpI("\n ",t.bMT(43,26,"labels.inputs.Amount"),"\n "),t.R7$(4),t.SpI("\n ",t.ii3(47,28,o.transactionData.amount,o.transactionData.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(3),t.Y8G("ngIf",o.transactionData.note),t.R7$(2),t.Y8G("ngIf",o.transactionData.note),t.R7$(2),t.Y8G("ngIf",o.transactionData.paymentDetailData),t.R7$(7),t.SpI("\n ",t.bMT(61,33,"labels.buttons.Back"),"\n "))},dependencies:[g.YU,g.bT,P.aY,f.$z,d.RN,d.YY,d.m2,Sa.Z,V.p,m.Wk,g.oe,b.D9,x.a],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.container[_ngcontent-%COMP%]{max-width:37rem}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:1rem 0;word-wrap:break-word}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mifosx-transaction-payment-detail[_ngcontent-%COMP%]{width:100%;margin-bottom:20px}.active[_ngcontent-%COMP%]{background-color:#5cb85c;height:4px}.linked[_ngcontent-%COMP%]{background-color:#4461e2;height:4px}.undo[_ngcontent-%COMP%]{background-color:red;height:4px}"]})}}return n})();const qa=()=>["../"];function Ba(n,i){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.j41(4,"strong"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(),t.Lme("\n ",t.bMT(2,3,"labels.inputs.Transaction Date")," ",t.bMT(3,5,"labels.commons.is"),"\n "),t.R7$(4),t.JRh(t.bMT(6,7,"labels.commons.required")))}function za(n,i){if(1&n&&(t.j41(0,"mat-option",18),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI("\n ",e.name,"\n ")}}function La(n,i){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",19),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Account Number")))}function Ha(n,i){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",20),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Cheque")))}function Wa(n,i){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",21),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Routing Code")))}function Ka(n,i){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",22),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Receipt Number")))}function Za(n,i){1&n&&(t.j41(0,"mat-form-field"),t.EFF(1,"\n "),t.j41(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.nrm(6,"input",23),t.EFF(7,"\n "),t.k0s()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"labels.inputs.Bank")))}let Qa=(()=>{class n{constructor(e,r,o,a,c,l){this.formBuilder=e,this.route=r,this.router=o,this.dateUtils=a,this.recurringDepositsService=c,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.addPaymentDetailsFlag=!1,this.currency=null,this.route.data.subscribe(h=>{this.transactionTemplateData=h.recurringDepositsAccountTransactionTemplate,this.transactionTemplateData.currency&&(this.currency=this.transactionTemplateData.currency),this.paymentTypeOptions=this.transactionTemplateData.paymentTypeOptions}),this.recurringDepositAccountId=this.route.parent.parent.snapshot.params.recurringDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createEditTransactionForm(),this.editTransactionForm.patchValue({transactionDate:this.transactionTemplateData.date&&new Date(this.transactionTemplateData.date),transactionAmount:this.transactionTemplateData.amount,paymentTypeId:this.transactionTemplateData.paymentTypeId})}createEditTransactionForm(){this.editTransactionForm=this.formBuilder.group({transactionDate:["",s.k0.required],transactionAmount:["",s.k0.required],paymentTypeId:[""]})}addPaymentDetails(){this.addPaymentDetailsFlag=!this.addPaymentDetailsFlag,this.addPaymentDetailsFlag?(this.editTransactionForm.addControl("accountNumber",new s.hs("")),this.editTransactionForm.addControl("checkNumber",new s.hs("")),this.editTransactionForm.addControl("routingCode",new s.hs("")),this.editTransactionForm.addControl("receiptNumber",new s.hs("")),this.editTransactionForm.addControl("bankNumber",new s.hs(""))):(this.editTransactionForm.removeControl("accountNumber"),this.editTransactionForm.removeControl("checkNumber"),this.editTransactionForm.removeControl("routingCode"),this.editTransactionForm.removeControl("receiptNumber"),this.editTransactionForm.removeControl("bankNumber"))}submit(){const e=this.editTransactionForm.value,r=this.settingsService.language.code,o=this.settingsService.dateFormat;e.transactionDate instanceof Date&&(e.transactionDate=this.dateUtils.formatDate(this.editTransactionForm.value.transactionDate,o));const c={...e,dateFormat:o,locale:r};c.transactionAmount=1*c.transactionAmount,this.recurringDepositsService.executeRecurringDepositsAccountTransactionsCommand(this.recurringDepositAccountId,"modify",c,this.transactionTemplateData.id).subscribe(l=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(s.ze),t.rXU(m.nX),t.rXU(m.Ix),t.rXU(R.A),t.rXU(E),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-edit-transaction"]],decls:80,vars:35,consts:[["dueDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","formControlName","transactionDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[3,"currency","isRequired","inputFormControl","inputLabel"],["formControlName","paymentTypeId"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-fill"],[1,"expandcollapsebutton","m-l-10","m-t-40","flex-75",3,"click"],[3,"className"],[1,"m-l-10"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],[3,"value"],["type","number","formControlName","accountNumber","matInput",""],["type","number","formControlName","checkNumber","matInput",""],["formControlName","routingCode","matInput",""],["formControlName","receiptNumber","matInput",""],["formControlName","bankNumber","matInput",""]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-card"),t.EFF(3,"\n "),t.j41(4,"form",2),t.bIt("ngSubmit",function(){return t.eBV(a),t.Njj(o.submit())}),t.EFF(5,"\n "),t.j41(6,"mat-card-content",3),t.EFF(7,"\n "),t.j41(8,"mat-form-field",4),t.bIt("click",function(){t.eBV(a);const l=t.sdS(19);return t.Njj(l.open())}),t.EFF(9,"\n "),t.j41(10,"mat-label"),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.nrm(14,"input",5),t.EFF(15,"\n "),t.nrm(16,"mat-datepicker-toggle",6),t.EFF(17,"\n "),t.nrm(18,"mat-datepicker",null,0),t.EFF(20,"\n "),t.DNE(21,Ba,8,9,"mat-error",7),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n\n "),t.j41(24,"mifosx-input-amount",8),t.EFF(25,"\n "),t.k0s(),t.EFF(26,"\n\n "),t.j41(27,"mat-form-field"),t.EFF(28,"\n "),t.j41(29,"mat-label"),t.EFF(30),t.nI1(31,"translate"),t.k0s(),t.EFF(32,"\n "),t.j41(33,"mat-select",9),t.EFF(34,"\n "),t.DNE(35,za,2,2,"mat-option",10),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n\n "),t.j41(39,"div",11),t.EFF(40,"\n "),t.j41(41,"span",12),t.bIt("click",function(){return t.eBV(a),t.Njj(o.addPaymentDetails())}),t.EFF(42,"\n "),t.j41(43,"mat-slide-toggle"),t.EFF(44,"\n "),t.j41(45,"div",13),t.EFF(46,"\n "),t.j41(47,"span",14),t.EFF(48),t.nI1(49,"translate"),t.k0s(),t.EFF(50,"\n "),t.k0s(),t.EFF(51,"\n "),t.k0s(),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n\n "),t.DNE(55,La,8,3,"mat-form-field",7),t.EFF(56,"\n\n "),t.DNE(57,Ha,8,3,"mat-form-field",7),t.EFF(58,"\n\n "),t.DNE(59,Wa,8,3,"mat-form-field",7),t.EFF(60,"\n\n "),t.DNE(61,Ka,8,3,"mat-form-field",7),t.EFF(62,"\n\n "),t.DNE(63,Za,8,3,"mat-form-field",7),t.EFF(64,"\n\n "),t.j41(65,"mat-card-actions",15),t.EFF(66,"\n "),t.j41(67,"button",16),t.EFF(68),t.nI1(69,"translate"),t.k0s(),t.EFF(70,"\n "),t.j41(71,"button",17),t.EFF(72),t.nI1(73,"translate"),t.k0s(),t.EFF(74,"\n "),t.k0s(),t.EFF(75,"\n "),t.k0s(),t.EFF(76,"\n "),t.k0s(),t.EFF(77,"\n "),t.k0s(),t.EFF(78,"\n"),t.k0s(),t.EFF(79,"\n")}if(2&r){const a=t.sdS(19);t.R7$(4),t.Y8G("formGroup",o.editTransactionForm),t.R7$(7),t.JRh(t.bMT(12,24,"labels.inputs.Transaction Date")),t.R7$(3),t.Y8G("min",o.minDate)("max",o.maxDate)("matDatepicker",a),t.R7$(2),t.Y8G("for",a),t.R7$(5),t.Y8G("ngIf",o.editTransactionForm.controls.transactionDate.hasError("required")),t.R7$(3),t.Y8G("currency",o.currency)("isRequired",!0)("inputFormControl",o.editTransactionForm.controls.transactionAmount)("inputLabel","Transaction Amount"),t.R7$(6),t.JRh(t.bMT(31,26,"labels.inputs.Payment Type")),t.R7$(5),t.Y8G("ngForOf",o.paymentTypeOptions),t.R7$(10),t.Y8G("className",o.addPaymentDetailsFlag?"enabled":"disabled"),t.R7$(3),t.JRh(t.bMT(49,28,"labels.inputs.Show Payment Details")),t.R7$(7),t.Y8G("ngIf",o.editTransactionForm.controls.accountNumber),t.R7$(2),t.Y8G("ngIf",o.editTransactionForm.controls.checkNumber),t.R7$(2),t.Y8G("ngIf",o.editTransactionForm.controls.routingCode),t.R7$(2),t.Y8G("ngIf",o.editTransactionForm.controls.receiptNumber),t.R7$(2),t.Y8G("ngIf",o.editTransactionForm.controls.bankNumber),t.R7$(4),t.Y8G("routerLink",t.lJ4(34,qa)),t.R7$(),t.SpI("\n ",t.bMT(69,30,"labels.buttons.Cancel"),"\n "),t.R7$(3),t.Y8G("disabled",!o.editTransactionForm.valid),t.R7$(),t.SpI("\n ",t.bMT(73,32,"labels.buttons.Submit"),"\n ")}},dependencies:[g.Sq,g.bT,k.wT,f.$z,d.RN,d.YY,d.m2,_.Vh,_.bZ,_.bU,F.rl,F.nJ,F.TL,F.yw,I.fg,v.VO,it.sG,s.qT,s.me,s.Q0,s.BC,s.cb,s.YS,s.j4,s.JD,H.e,m.Wk,b.D9],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return n})(),ts=(()=>{class n{constructor(e){this.recurringDepositsService=e}resolve(e){const r=e.paramMap.get("recurringDepositAccountId");return this.recurringDepositsService.getRecurringDepositsAccountData(r)}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),rt=(()=>{class n{constructor(e){this.recurringDepositsService=e}resolve(e){const r=e.parent.paramMap.get("recurringDepositAccountId");return this.recurringDepositsService.getRecurringDepositsAccountData(r)}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})();var at=u(37812),st=u(48197);let ct=(()=>{class n{constructor(e){this.recurringDepositsService=e}resolve(e){const r=e.parent.parent.paramMap.get("clientId");return this.recurringDepositsService.getRecurringDepositsAccountTemplate(r)}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),pt=(()=>{class n{constructor(e,r){this.savingsService=e,this.recurringDepositsService=r}resolve(e){const r=e.paramMap.get("name"),o=e.paramMap.get("recurringDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId");switch(r){case"Add Charge":return this.savingsService.getSavingsChargeTemplateResource(o);case"Close":return this.recurringDepositsService.getRecurringDepositAccountActionResource(o,"close");case"Deposit":case"Withdrawal":return this.recurringDepositsService.getRecurringDepositAccountTransactionTemplateResource(o,r.toLocaleLowerCase());default:return}}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(Y.J),t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})();function ns(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",15),t.EFF(2,"\n "))}function es(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",15),t.EFF(2,"\n "))}function os(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",16),t.EFF(2,"\n "))}function is(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",17),t.EFF(2,"\n "))}function rs(n,i){1&n&&(t.EFF(0,"\n "),t.nrm(1,"fa-icon",18),t.EFF(2,"\n "))}function as(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.DETAILS"))}function ss(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.TERMS"))}function cs(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.SETTINGS"))}function ps(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.INTEREST RATE CHART"))}function ls(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.CHARGES"))}function us(n,i){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.JRh(t.bMT(1,1,"labels.inputs.PREVIEW"))}function ms(n,i){if(1&n){const e=t.RV6();t.j41(0,"mat-step",19),t.EFF(1,"\n "),t.DNE(2,us,2,3,"ng-template",9),t.EFF(3,"\n\n "),t.j41(4,"mifosx-recurring-deposits-account-preview-step",20),t.bIt("submitEvent",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.submit())}),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()}if(2&n){const e=t.XpG();t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",e.recurringDepositsAccountAndTemplate)("recurringDepositsAccountProductTemplate",e.recurringDepositsAccountProductTemplate)("recurringDepositAccountData",e.recurringDepositAccountData)}}let Fs=(()=>{class n{constructor(e,r,o,a,c){this.route=e,this.router=r,this.dateUtils=o,this.recurringDepositsService=a,this.settingsService=c,this.route.data.subscribe(l=>{this.recurringDepositsAccountAndTemplate=l.recurringDepositsAccountAndTemplate})}setTemplate(e){this.recurringDepositsAccountProductTemplate=e}get recurringDepositAccountDetailsForm(){return this.recurringDepositsAccountDetailsStep.recurringDepositAccountDetailsForm}get recurringDepositAccountTermsForm(){return this.recurringDepositAccountTermsStep.recurringDepositAccountTermsForm}get recurringDepositAccountSettingsForm(){return this.recurringDepositAccountSettingsStep.recurringDepositAccountSettingsForm}get recurringDepositAccountFormValidAndNotPristine(){return this.recurringDepositAccountDetailsForm.valid&&this.recurringDepositAccountTermsForm.valid&&this.recurringDepositAccountSettingsForm.valid&&(!this.recurringDepositAccountDetailsForm.pristine||!this.recurringDepositAccountTermsForm.pristine||!this.recurringDepositAccountSettingsForm.pristine||!this.recurringDepositAccountChargesStep.pristine)}get recurringDepositAccountData(){return{...this.recurringDepositsAccountDetailsStep.recurringDepositAccountDetails,...this.recurringDepositAccountTermsStep.recurringDepositAccountTerms,...this.recurringDepositAccountSettingsStep.recurringDepositAccountSettings,...this.recurringDepositAccountChargesStep.recurringDepositAccountCharges}}get recurringDepositAccount(){return{...this.recurringDepositsAccountDetailsStep.recurringDepositAccountDetails,...this.recurringDepositAccountTermsStep.recurringDepositAccountTerms,...this.recurringDepositAccountSettingsStep.recurringDepositAccountSettings,...this.recurringDepositAccountChargesStep.recurringDepositAccountCharges}}submit(){const e=this.settingsService.language.code,r=this.settingsService.dateFormat,a={...this.recurringDepositAccount,clientId:this.recurringDepositsAccountAndTemplate.clientId,charges:this.recurringDepositAccount.charges.map(c=>({chargeId:c.id,amount:c.amount,dueDate:c.dueDate&&this.dateUtils.formatDate(c.dueDate,r),feeOnMonthDay:c.feeOnMonthDay,feeInterval:c.feeInterval})),isCalendarInherited:!!this.recurringDepositAccount.recurringDepositAccount&&this.recurringDepositAccount.recurringDepositAccount,submittedOnDate:this.dateUtils.formatDate(this.recurringDepositAccount.submittedOnDate,r),expectedFirstDepositOnDate:this.dateUtils.formatDate(this.recurringDepositAccount.expectedFirstDepositOnDate,r),dateFormat:r,monthDayFormat:"dd MMMM",locale:e};this.recurringDepositsService.updateRecurringDepositAccount(this.recurringDepositsAccountAndTemplate.id,a).subscribe(c=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(m.Ix),t.rXU(R.A),t.rXU(E),t.rXU(T.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-edit-recurring-deposit-account"]],viewQuery:function(r,o){if(1&r&&(t.GBs(X,7),t.GBs(q,7),t.GBs(B,7),t.GBs(z,7)),2&r){let a;t.mGM(a=t.lsd())&&(o.recurringDepositsAccountDetailsStep=a.first),t.mGM(a=t.lsd())&&(o.recurringDepositAccountTermsStep=a.first),t.mGM(a=t.lsd())&&(o.recurringDepositAccountSettingsStep=a.first),t.mGM(a=t.lsd())&&(o.recurringDepositAccountChargesStep=a.first)}},decls:59,vars:15,consts:[["recurringDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"recurringDepositsAccountProductTemplate","recurringDepositsAccountTemplate"],[3,"recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate"],[3,"isNew","recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate"],[3,"recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate","recurringDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","recurringDepositsAccountTemplate","recurringDepositsAccountProductTemplate","recurringDepositAccountData"]],template:function(r,o){if(1&r){const a=t.RV6();t.j41(0,"div",1),t.EFF(1,"\n "),t.j41(2,"mat-horizontal-stepper",2,0),t.EFF(4,"\n "),t.DNE(5,ns,3,0,"ng-template",3),t.EFF(6,"\n\n "),t.DNE(7,es,3,0,"ng-template",4),t.EFF(8,"\n\n "),t.DNE(9,os,3,0,"ng-template",5),t.EFF(10,"\n\n "),t.DNE(11,is,3,0,"ng-template",6),t.EFF(12,"\n\n "),t.DNE(13,rs,3,0,"ng-template",7),t.EFF(14,"\n\n "),t.j41(15,"mat-step",8),t.EFF(16,"\n "),t.DNE(17,as,2,3,"ng-template",9),t.EFF(18,"\n\n "),t.j41(19,"mifosx-recurring-deposits-account-details-step",10),t.bIt("recurringDepositsAccountProductTemplate",function(l){return t.eBV(a),t.Njj(o.setTemplate(l))}),t.EFF(20,"\n "),t.k0s(),t.EFF(21,"\n "),t.k0s(),t.EFF(22,"\n\n "),t.j41(23,"mat-step",8),t.EFF(24,"\n "),t.DNE(25,ss,2,3,"ng-template",9),t.EFF(26,"\n\n "),t.j41(27,"mifosx-recurring-deposits-account-terms-step",11),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n\n "),t.j41(31,"mat-step",8),t.EFF(32,"\n "),t.DNE(33,cs,2,3,"ng-template",9),t.EFF(34,"\n\n "),t.j41(35,"mifosx-recurring-deposits-account-settings-step",12),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n\n "),t.j41(39,"mat-step"),t.EFF(40,"\n "),t.DNE(41,ps,2,3,"ng-template",9),t.EFF(42,"\n\n "),t.j41(43,"mifosx-recurring-deposits-account-interest-rate-chart-step",11),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n\n "),t.j41(47,"mat-step"),t.EFF(48,"\n "),t.DNE(49,ls,2,3,"ng-template",9),t.EFF(50,"\n\n "),t.j41(51,"mifosx-recurring-deposits-account-charges-step",13),t.EFF(52,"\n "),t.k0s(),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n\n "),t.DNE(55,ms,7,3,"mat-step",14),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n"),t.k0s(),t.EFF(58,"\n")}2&r&&(t.R7$(15),t.Y8G("stepControl",o.recurringDepositAccountDetailsForm),t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountAndTemplate),t.R7$(4),t.Y8G("stepControl",o.recurringDepositAccountTermsForm),t.R7$(4),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountAndTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate),t.R7$(4),t.Y8G("stepControl",o.recurringDepositAccountSettingsForm),t.R7$(4),t.Y8G("isNew",!1)("recurringDepositsAccountTemplate",o.recurringDepositsAccountAndTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate),t.R7$(8),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountAndTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate),t.R7$(8),t.Y8G("recurringDepositsAccountTemplate",o.recurringDepositsAccountAndTemplate)("recurringDepositsAccountProductTemplate",o.recurringDepositsAccountProductTemplate)("recurringDepositAccountFormValid",o.recurringDepositAccountFormValidAndNotPristine),t.R7$(4),t.Y8G("ngIf",o.recurringDepositAccountFormValidAndNotPristine))},dependencies:[g.bT,P.aY,C.V5,C.Ti,C.M6,C.xJ,X,q,B,et,z,ot,b.D9]})}}return n})(),lt=(()=>{class n{constructor(e){this.recurringDepositsService=e}resolve(e){const r=e.paramMap.get("recurringDepositAccountId");return this.recurringDepositsService.getRecurringDepositsAccountAndTemplate(r)}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),ut=(()=>{class n{constructor(e){this.recurringDepositsService=e}resolve(e){const r=e.parent.paramMap.get("recurringDepositAccountId"),o=e.paramMap.get("id");return this.recurringDepositsService.getRecurringDepositsAccountTransaction(r,o)}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})(),mt=(()=>{class n{constructor(e){this.recurringDepositsService=e}resolve(e){const r=e.parent.paramMap.get("recurringDepositAccountId"),o=e.paramMap.get("id");return this.recurringDepositsService.getRecurringDepositsAccountTransactionTemplate(r,o)}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(E))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})();var gs=u(6440);function ds(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"mifosx-external-identifier",6),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.FS9("externalId",e.recurringDepositsAccountData.externalId)}}function _s(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Available"),"\n "))}function hs(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Unassigned")))}function bs(n,i){1&n&&(t.j41(0,"td"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Closed on Date"),"\n "))}function fs(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.DNE(2,bs,3,3,"td",4),t.EFF(3,"\n "),t.j41(4,"td"),t.EFF(5,"\n "),t.j41(6,"span"),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",e.recurringDepositsAccountData.timeline.closedOnDate),t.R7$(5),t.JRh(t.bMT(8,2,e.recurringDepositsAccountData.timeline.closedOnDate))}}function Es(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Balance Required for Interest Calculation")),t.R7$(6),t.JRh(e.recurringDepositsAccountData.minBalanceForInterestCalculation)}}function Ds(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Witdhold Tax Group")),t.R7$(6),t.JRh(e.recurringDepositsAccountData.taxGroup.name)}}function Cs(n,i){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"h4",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table"),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td"),t.EFF(17,"\n "),t.DNE(18,ds,4,1,"span",4),t.EFF(19,"\n "),t.DNE(20,_s,3,3,"span",4),t.EFF(21,"\n "),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.j41(24,"tr"),t.EFF(25,"\n "),t.j41(26,"td"),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.EFF(29,"\n "),t.j41(30,"td"),t.EFF(31),t.DNE(32,hs,3,3,"span",4),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.j41(36,"tr"),t.EFF(37,"\n "),t.j41(38,"td"),t.EFF(39),t.nI1(40,"translate"),t.k0s(),t.EFF(41,"\n "),t.j41(42,"td"),t.EFF(43),t.nI1(44,"dateFormat"),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n "),t.j41(47,"tr"),t.EFF(48,"\n "),t.j41(49,"td"),t.EFF(50),t.nI1(51,"translate"),t.k0s(),t.EFF(52,"\n "),t.j41(53,"td"),t.EFF(54,"\n "),t.j41(55,"span"),t.EFF(56),t.nI1(57,"dateFormat"),t.k0s(),t.EFF(58,"\n "),t.k0s(),t.EFF(59,"\n "),t.k0s(),t.EFF(60,"\n "),t.DNE(61,fs,11,4,"tr",4),t.EFF(62,"\n "),t.nrm(63,"tr"),t.EFF(64,"\n "),t.j41(65,"tr"),t.EFF(66,"\n "),t.j41(67,"td"),t.EFF(68),t.nI1(69,"translate"),t.k0s(),t.EFF(70,"\n "),t.j41(71,"td"),t.EFF(72,"\n "),t.j41(73,"span",5),t.EFF(74),t.k0s(),t.EFF(75),t.nI1(76,"translateKey"),t.k0s(),t.EFF(77,"\n "),t.k0s(),t.EFF(78,"\n "),t.DNE(79,Es,12,4,"tr",4),t.EFF(80,"\n "),t.DNE(81,Ds,12,4,"tr",4),t.EFF(82,"\n "),t.k0s(),t.EFF(83,"\n "),t.k0s(),t.EFF(84,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,17,"labels.inputs.Account Details")),t.R7$(10),t.JRh(t.bMT(14,19,"labels.inputs.External Id")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.externalId),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.externalId),t.R7$(7),t.JRh(t.bMT(28,21,"labels.inputs.Field Officer")),t.R7$(4),t.SpI("\n ",e.recurringDepositsAccountData.fieldOfficerName,""),t.R7$(),t.Y8G("ngIf",!e.recurringDepositsAccountData.fieldOfficerName),t.R7$(7),t.JRh(t.bMT(40,23,"labels.inputs.Activation date")),t.R7$(4),t.JRh(t.bMT(44,25,e.recurringDepositsAccountData.timeline.activatedOnDate)),t.R7$(7),t.JRh(t.bMT(51,27,"labels.inputs.Maturity Date")),t.R7$(6),t.JRh(t.bMT(57,29,e.recurringDepositsAccountData.maturityDate)),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.timeline.closedOnDate||e.recurringDepositsAccountData.summary.totalWitddrawals),t.R7$(7),t.JRh(t.bMT(69,31,"labels.inputs.Deposit Frequency")),t.R7$(6),t.JRh(e.recurringDepositsAccountData.recurringFrequency),t.R7$(),t.SpI("\n ",t.i5U(76,33,e.recurringDepositsAccountData.recurringFrequencyType.value,"catalogs"),"\n "),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsAccountData.minBalanceForInterestCalculation),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsAccountData.witdHoldTax)}}function Ts(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,e.recurringDepositsAccountData.summary.totalDeposits,e.currency.code,"symbol-narrow","1.2-2"))}}function Rs(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,0,e.currency.code,"symbol-narrow","1.2-2"))}}function Ms(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,e.recurringDepositsAccountData.summary.totalWithdrawals,e.currency.code,"symbol-narrow","1.2-2"))}}function Ps(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,0,e.currency.code,"symbol-narrow","1.2-2"))}}function Is(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",7),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"currency"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Interest Earned")),t.R7$(6),t.JRh(t.ii3(10,4,e.recurringDepositsAccountData.summary.totalInterestEarned,e.currency.code,"symbol-narrow","1.2-2"))}}function Os(n,i){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"h4",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table"),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td",7),t.EFF(17,"\n "),t.j41(18,"span"),t.EFF(19),t.nI1(20,"currency"),t.k0s(),t.EFF(21,"\n "),t.k0s(),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.j41(24,"tr"),t.EFF(25,"\n "),t.j41(26,"td"),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.EFF(29,"\n "),t.j41(30,"td",7),t.EFF(31,"\n "),t.j41(32,"span"),t.EFF(33),t.nI1(34,"currency"),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.j41(38,"tr"),t.EFF(39,"\n "),t.j41(40,"td"),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.j41(44,"td",7),t.EFF(45,"\n "),t.j41(46,"span"),t.EFF(47),t.nI1(48,"currency"),t.k0s(),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n "),t.k0s(),t.EFF(51,"\n "),t.j41(52,"tr"),t.EFF(53,"\n "),t.j41(54,"td"),t.EFF(55),t.nI1(56,"translate"),t.k0s(),t.EFF(57,"\n "),t.j41(58,"td",7),t.EFF(59,"\n "),t.DNE(60,Ts,3,6,"span",4),t.EFF(61,"\n "),t.DNE(62,Rs,3,6,"span",4),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n "),t.j41(66,"tr"),t.EFF(67,"\n "),t.j41(68,"td"),t.EFF(69),t.nI1(70,"translate"),t.k0s(),t.EFF(71,"\n "),t.j41(72,"td",7),t.EFF(73,"\n "),t.DNE(74,Ms,3,6,"span",4),t.EFF(75,"\n "),t.DNE(76,Ps,3,6,"span",4),t.EFF(77,"\n "),t.k0s(),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n\n "),t.DNE(80,Is,13,9,"tr",4),t.EFF(81,"\n "),t.k0s(),t.EFF(82,"\n "),t.k0s(),t.EFF(83,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,14,"labels.heading.Performance History")),t.R7$(10),t.JRh(t.bMT(14,16,"labels.inputs.Principal Amount")),t.R7$(6),t.JRh(t.ii3(20,18,e.recurringDepositsAccountData.depositAmount,e.currency.code,"symbol-narrow","1.2-2")),t.R7$(8),t.JRh(t.bMT(28,23,"labels.inputs.Maturity Amount")),t.R7$(6),t.JRh(t.ii3(34,25,e.recurringDepositsAccountData.maturityAmount,e.currency.code,"symbol-narrow","1.2-2")),t.R7$(8),t.JRh(t.bMT(42,30,"labels.inputs.Recurring Deposit Amount")),t.R7$(6),t.JRh(t.ii3(48,32,null==e.recurringDepositsAccountData?null:e.recurringDepositsAccountData.mandatoryRecommendedDepositAmount,e.currency.code,"symbol-narrow","1.2-2")),t.R7$(8),t.JRh(t.bMT(56,37,"labels.inputs.Deposits till Date")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalDeposits),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.summary.totalDeposits),t.R7$(7),t.JRh(t.bMT(70,39,"labels.inputs.Withdrwals till Date")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalWithdrawals),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.summary.totalWithdrawals),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalInterestEarned>=0)}}function As(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"mifosx-external-identifier",6),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.FS9("externalId",e.recurringDepositsAccountData.externalId)}}function xs(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Available"),"\n "))}function ks(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Not Activated")))}function vs(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.DNE(3,ks,3,3,"span",4),t.EFF(4,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI("",t.bMT(2,2,e.recurringDepositsAccountData.timeline.activatedOnDate),"\n "),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.timeline.activatedOnDate)}}function ys(n,i){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Not Activated")))}function js(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.DNE(3,ys,3,3,"span",4),t.EFF(4,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI("",t.bMT(2,2,e.recurringDepositsAccountData.expectedFirstDepositOnDate),"\n "),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.expectedFirstDepositOnDate)}}function $s(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"dateFormat"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Maturity Date")),t.R7$(6),t.JRh(t.bMT(10,4,e.recurringDepositsAccountData.maturityDate))}}function Ss(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,e.recurringDepositsAccountData.summary.totalDeposits,e.currency.code,"symbol-narrow","1.2-2"))}}function ws(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,0,e.currency.code,"symbol-narrow","1.2-2"))}}function Ns(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Interests Earned")),t.R7$(6),t.Lme("",e.recurringDepositsAccountData.currency.displaySymbol,"\xa0",e.recurringDepositsAccountData.summary.totalInterestEarned,"")}}function Gs(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",7),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"currency"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Total Withdrawls")),t.R7$(6),t.JRh(t.ii3(10,4,e.recurringDepositsAccountData.summary.totalWithdrawals,e.currency.code,"symbol-narrow","1.2-2"))}}function Ys(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",7),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"number"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Balance Required for Interest Calculation")),t.R7$(6),t.JRh(t.bMT(10,4,e.recurringDepositsAccountData.minBalanceForInterestCalculation))}}function Js(n,i){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"table"),t.EFF(3,"\n "),t.j41(4,"tbody"),t.EFF(5,"\n "),t.j41(6,"tr"),t.EFF(7,"\n "),t.j41(8,"td"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13,"\n "),t.DNE(14,As,4,1,"span",4),t.EFF(15,"\n "),t.DNE(16,xs,3,3,"span",4),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n "),t.j41(20,"tr"),t.EFF(21,"\n "),t.j41(22,"td"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.j41(26,"td"),t.EFF(27,"\n "),t.DNE(28,vs,5,4,"span",4),t.EFF(29,"\n "),t.DNE(30,js,5,4,"span",4),t.EFF(31,"\n "),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.j41(34,"tr"),t.EFF(35,"\n "),t.j41(36,"td"),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.EFF(39,"\n "),t.j41(40,"td"),t.EFF(41,"\n "),t.j41(42,"span"),t.EFF(43),t.k0s(),t.EFF(44,"\n "),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n "),t.DNE(47,$s,13,6,"tr",4),t.EFF(48,"\n "),t.j41(49,"tr"),t.EFF(50,"\n "),t.j41(51,"td"),t.EFF(52),t.nI1(53,"translate"),t.k0s(),t.EFF(54,"\n "),t.j41(55,"td",7),t.EFF(56,"\n "),t.DNE(57,Ss,3,6,"span",4),t.EFF(58,"\n "),t.DNE(59,ws,3,6,"span",4),t.EFF(60,"\n "),t.k0s(),t.EFF(61,"\n "),t.k0s(),t.EFF(62,"\n "),t.j41(63,"tr"),t.EFF(64,"\n "),t.j41(65,"td"),t.EFF(66),t.nI1(67,"translate"),t.k0s(),t.EFF(68,"\n "),t.j41(69,"td",7),t.EFF(70),t.nI1(71,"currency"),t.k0s(),t.EFF(72,"\n "),t.k0s(),t.EFF(73,"\n "),t.j41(74,"tr"),t.EFF(75,"\n "),t.j41(76,"td"),t.EFF(77),t.nI1(78,"translate"),t.k0s(),t.EFF(79,"\n "),t.j41(80,"td",7),t.EFF(81),t.nI1(82,"currency"),t.k0s(),t.EFF(83,"\n "),t.k0s(),t.EFF(84,"\n "),t.DNE(85,Ns,12,5,"tr",4),t.EFF(86,"\n "),t.DNE(87,Gs,13,9,"tr",4),t.EFF(88,"\n "),t.DNE(89,Ys,13,6,"tr",4),t.EFF(90,"\n "),t.k0s(),t.EFF(91,"\n "),t.k0s(),t.EFF(92,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(9),t.JRh(t.bMT(10,20,"labels.inputs.External Id")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.externalId),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.externalId),t.R7$(7),t.JRh(t.bMT(24,22,"labels.inputs.Date of Deposit")),t.R7$(5),t.Y8G("ngIf",!e.recurringDepositsAccountData.expectedFirstDepositOnDate),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsAccountData.expectedFirstDepositOnDate),t.R7$(7),t.JRh(t.bMT(38,24,"labels.inputs.Period")),t.R7$(6),t.Lme("",e.recurringDepositsAccountData.depositPeriod,"\xa0",e.recurringDepositsAccountData.depositPeriodFrequency.value,""),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsAccountData.maturityDate),t.R7$(5),t.JRh(t.bMT(53,26,"labels.inputs.Total Deposits")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalDeposits),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.summary.totalDeposits),t.R7$(7),t.JRh(t.bMT(67,28,"labels.inputs.Actual Available Balance")),t.R7$(4),t.SpI("\n ",t.ii3(71,30,e.recurringDepositsAccountData.summary.accountBalance,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(7),t.JRh(t.bMT(78,35,"labels.inputs.Recurring Deposit Amount")),t.R7$(4),t.SpI("\n ",t.ii3(82,37,e.recurringDepositsAccountData.mandatoryRecommendedDepositAmount,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalInterestEarned),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalWithdrawals),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsAccountData.minBalanceForInterestCalculation)}}function Vs(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,e.recurringDepositsAccountData.depositAmount,e.currency.code,"symbol-narrow","1.2-2"))}}function Us(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,0,e.currency.code,"symbol-narrow","1.2-2"))}}function Xs(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",7),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"currency"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Maturity Amount")),t.R7$(6),t.JRh(t.ii3(10,4,e.recurringDepositsAccountData.maturityAmount,e.currency.code,"symbol-narrow","1.2-2"))}}function qs(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,e.recurringDepositsAccountData.summary.totalWithdrawals,e.currency.code,"symbol-narrow","1.2-2"))}}function Bs(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(t.ii3(2,1,0,e.currency.code,"symbol-narrow","1.2-2"))}}function zs(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Closed on Date")),t.R7$(4),t.SpI("\n ",t.bMT(8,4,e.recurringDepositsAccountData.timeline.closedOnDate),"\n ")}}function Ls(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.JRh(t.ii3(2,1,e.recurringDepositsAccountData.summary.totalInterestPosted,e.currency.code,"symbol-narrow","1.2-2"))}}function Hs(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.JRh(t.ii3(2,1,0,e.currency.code,"symbol-narrow","1.2-2"))}}function Ws(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",7),t.EFF(7,"\n "),t.DNE(8,Ls,3,6,"span",4),t.EFF(9,"\n "),t.DNE(10,Hs,3,6,"span",4),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Interests Posted")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalInterestPosted),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.summary.totalInterestPosted)}}function Ks(n,i){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"table"),t.EFF(3,"\n "),t.j41(4,"tbody"),t.EFF(5,"\n "),t.j41(6,"tr"),t.EFF(7,"\n "),t.j41(8,"td"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.EFF(11,"\n "),t.j41(12,"td",7),t.EFF(13,"\n "),t.DNE(14,Vs,3,6,"span",4),t.EFF(15,"\n "),t.DNE(16,Us,3,6,"span",4),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n "),t.j41(20,"tr"),t.EFF(21,"\n "),t.j41(22,"td"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.j41(26,"td",7),t.EFF(27,"\n "),t.j41(28,"span"),t.EFF(29),t.nI1(30,"formatNumber"),t.k0s(),t.EFF(31,"\n "),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.DNE(34,Xs,13,9,"tr",4),t.EFF(35,"\n "),t.j41(36,"tr"),t.EFF(37,"\n "),t.j41(38,"td"),t.EFF(39),t.nI1(40,"translate"),t.k0s(),t.EFF(41,"\n "),t.j41(42,"td",7),t.EFF(43,"\n "),t.DNE(44,qs,3,6,"span",4),t.EFF(45,"\n "),t.DNE(46,Bs,3,6,"span",4),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n "),t.DNE(50,zs,10,6,"tr",4),t.EFF(51,"\n "),t.j41(52,"tr"),t.EFF(53,"\n "),t.j41(54,"td"),t.EFF(55),t.nI1(56,"translate"),t.k0s(),t.EFF(57,"\n "),t.j41(58,"td"),t.EFF(59),t.nI1(60,"translateKey"),t.k0s(),t.EFF(61,"\n "),t.k0s(),t.EFF(62,"\n "),t.DNE(63,Ws,13,5,"tr",4),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(9),t.JRh(t.bMT(10,14,"labels.inputs.Principal Amount")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.depositAmount),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.depositAmount),t.R7$(7),t.JRh(t.bMT(24,16,"labels.inputs.Rate of Interest")),t.R7$(6),t.SpI("",t.bMT(30,18,e.recurringDepositsAccountData.nominalAnnualInterestRate)," %"),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.maturityDate),t.R7$(5),t.JRh(t.bMT(40,20,"labels.inputs.Total Withdrawls")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalWithdrawals),t.R7$(2),t.Y8G("ngIf",!e.recurringDepositsAccountData.summary.totalWithdrawals),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsAccountData.timeline.closedOnDate),t.R7$(5),t.JRh(t.bMT(56,22,"labels.inputs.Deposits Frequency")),t.R7$(4),t.Lme("\n ",e.recurringDepositsAccountData.recurringFrequency,"\xa0",t.i5U(60,24,e.recurringDepositsAccountData.recurringFrequencyType.value,"catalogs"),"\n "),t.R7$(4),t.Y8G("ngIf",e.recurringDepositsAccountData.summary.totalInterestEarned)}}function Zs(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"translateKey"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Pre-closure penal Interest (less)")),t.R7$(6),t.Lme("",e.recurringDepositsAccountData.preClosurePenalInterest," % on\n ",t.i5U(10,5,e.recurringDepositsAccountData.preClosurePenalInterestOnType.value,"catalogs"),"")}}function Qs(n,i){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"h4",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table"),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td",7),t.EFF(17),t.nI1(18,"formatNumber"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"tr"),t.EFF(22,"\n "),t.j41(23,"td"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.EFF(26,"\n "),t.j41(27,"td"),t.EFF(28,"\n "),t.j41(29,"span"),t.EFF(30),t.nI1(31,"translateKey"),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.j41(35,"tr"),t.EFF(36,"\n "),t.j41(37,"td"),t.EFF(38),t.nI1(39,"translate"),t.k0s(),t.EFF(40,"\n "),t.j41(41,"td"),t.EFF(42,"\n "),t.j41(43,"span"),t.EFF(44),t.nI1(45,"translateKey"),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.j41(49,"tr"),t.EFF(50,"\n "),t.j41(51,"td"),t.EFF(52),t.nI1(53,"translate"),t.k0s(),t.EFF(54,"\n "),t.j41(55,"td"),t.EFF(56,"\n "),t.j41(57,"span"),t.EFF(58),t.nI1(59,"translateKey"),t.k0s(),t.EFF(60,"\n "),t.k0s(),t.EFF(61,"\n "),t.k0s(),t.EFF(62,"\n "),t.j41(63,"tr"),t.EFF(64,"\n "),t.j41(65,"td"),t.EFF(66),t.nI1(67,"translate"),t.k0s(),t.EFF(68,"\n "),t.j41(69,"td"),t.EFF(70,"\n "),t.j41(71,"span"),t.EFF(72),t.nI1(73,"translateKey"),t.k0s(),t.EFF(74,"\n "),t.k0s(),t.EFF(75,"\n "),t.k0s(),t.EFF(76,"\n "),t.DNE(77,Zs,13,8,"tr",4),t.EFF(78,"\n "),t.k0s(),t.EFF(79,"\n "),t.k0s(),t.EFF(80,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,12,"labels.heading.Interest Details")),t.R7$(10),t.JRh(t.bMT(14,14,"labels.inputs.Interest Rate")),t.R7$(4),t.SpI("",t.bMT(18,16,e.recurringDepositsAccountData.nominalAnnualInterestRate)," %"),t.R7$(7),t.JRh(t.bMT(25,18,"labels.inputs.Interest Compounding Period")),t.R7$(6),t.JRh(t.i5U(31,20,e.recurringDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),t.R7$(8),t.JRh(t.bMT(39,23,"labels.inputs.Interest Posting Period")),t.R7$(6),t.JRh(t.i5U(45,25,e.recurringDepositsAccountData.interestPostingPeriodType.value,"catalogs")),t.R7$(8),t.JRh(t.bMT(53,28,"labels.inputs.Interest calculated using")),t.R7$(6),t.JRh(t.i5U(59,30,e.recurringDepositsAccountData.interestCalculationType.value,"catalogs")),t.R7$(8),t.JRh(t.bMT(67,33,"labels.inputs.Days in Year")),t.R7$(6),t.JRh(t.i5U(73,35,e.recurringDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.preClosurePenalApplicable)}}function tc(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.nI1(10,"translateKey"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Pre-closure penal Interest (less)")),t.R7$(6),t.Lme("",e.recurringDepositsAccountData.preClosurePenalInterest," % on\n ",t.i5U(10,5,e.recurringDepositsAccountData.preClosurePenalInterestOnType.value,"catalogs"),"")}}function nc(n,i){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span"),t.EFF(9),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Witdhold Tax Group")),t.R7$(6),t.JRh(e.recurringDepositsAccountData.taxGroup.name)}}function ec(n,i){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"table"),t.EFF(3,"\n "),t.j41(4,"tbody"),t.EFF(5,"\n "),t.j41(6,"tr"),t.EFF(7,"\n "),t.j41(8,"td"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13,"\n "),t.j41(14,"span"),t.EFF(15),t.nI1(16,"translateKey"),t.k0s(),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n "),t.j41(20,"tr"),t.EFF(21,"\n "),t.j41(22,"td"),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.EFF(25,"\n "),t.j41(26,"td"),t.EFF(27,"\n "),t.j41(28,"span"),t.EFF(29),t.nI1(30,"translateKey"),t.k0s(),t.EFF(31,"\n "),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.j41(34,"tr"),t.EFF(35,"\n "),t.j41(36,"td"),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.EFF(39,"\n "),t.j41(40,"td"),t.EFF(41,"\n "),t.j41(42,"span"),t.EFF(43),t.nI1(44,"translateKey"),t.k0s(),t.EFF(45,"\n "),t.k0s(),t.EFF(46,"\n "),t.k0s(),t.EFF(47,"\n "),t.j41(48,"tr"),t.EFF(49,"\n "),t.j41(50,"td"),t.EFF(51),t.nI1(52,"translate"),t.k0s(),t.EFF(53,"\n "),t.j41(54,"td"),t.EFF(55,"\n "),t.j41(56,"span"),t.EFF(57),t.nI1(58,"translateKey"),t.k0s(),t.EFF(59,"\n "),t.k0s(),t.EFF(60,"\n "),t.k0s(),t.EFF(61,"\n "),t.DNE(62,tc,13,8,"tr",4),t.EFF(63,"\n "),t.DNE(64,nc,12,4,"tr",4),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n "),t.k0s(),t.EFF(67,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(9),t.JRh(t.bMT(10,10,"labels.inputs.Interest Compounding Period")),t.R7$(6),t.JRh(t.i5U(16,12,e.recurringDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),t.R7$(8),t.JRh(t.bMT(24,15,"labels.inputs.Interest Posting Period")),t.R7$(6),t.JRh(t.i5U(30,17,e.recurringDepositsAccountData.interestPostingPeriodType.value,"catalogs")),t.R7$(8),t.JRh(t.bMT(38,20,"labels.inputs.Interest calculated using")),t.R7$(6),t.JRh(t.i5U(44,22,e.recurringDepositsAccountData.interestCalculationType.value,"catalogs")),t.R7$(8),t.JRh(t.bMT(52,25,"labels.inputs.Days in Year")),t.R7$(6),t.JRh(t.i5U(58,27,e.recurringDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),t.R7$(5),t.Y8G("ngIf",e.recurringDepositsAccountData.preClosurePenalApplicable),t.R7$(2),t.Y8G("ngIf",e.recurringDepositsAccountData.witdHoldTax)}}const ic=[{path:"",data:{title:"Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:"create-recurring-deposits-account",data:{title:"Create Recurring Deposits Account",breadcrumb:"Create Recurring Deposits Account"},component:kr,resolve:{recurringDepositsAccountTemplate:ct}},{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"",component:jt,resolve:{recurringDepositsAccountData:rt,savingsDatatables:st.B},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:(()=>{class n{constructor(e,r){this.route=e,this.router=r,this.isprematureAllowed=!1,this.route.parent.data.subscribe(o=>{this.recurringDepositsAccountData=o.recurringDepositsAccountData,this.currency=this.recurringDepositsAccountData.currency,this.isprematureAllowed=null!=o.recurringDepositsAccountData.maturityDate,this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(m.nX),t.rXU(m.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-general-tab"]],decls:18,vars:6,consts:[[1,"recurring-deposits-account-tables","layout-row","gap-2percent"],["class","flex-49",4,"ngIf"],[1,"flex-49"],[1,"table-headers"],[4,"ngIf"],[1,"m-r-5"],["completed","true",3,"externalId"],[1,"r-amount"]],template:function(r,o){1&r&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.DNE(2,Cs,85,36,"div",1),t.EFF(3,"\n\n "),t.DNE(4,Os,84,41,"div",1),t.EFF(5,"\n\n "),t.DNE(6,Js,93,42,"div",1),t.EFF(7,"\n\n "),t.DNE(8,Ks,67,27,"div",1),t.EFF(9,"\n"),t.k0s(),t.EFF(10,"\n\n"),t.j41(11,"div",0),t.EFF(12,"\n "),t.DNE(13,Qs,81,38,"div",1),t.EFF(14,"\n\n "),t.DNE(15,ec,68,30,"div",1),t.EFF(16,"\n"),t.k0s(),t.EFF(17,"\n")),2&r&&(t.R7$(2),t.Y8G("ngIf",!o.recurringDepositsAccountData.status.rejected&&!o.recurringDepositsAccountData.status.submittedAndPendingApproval),t.R7$(2),t.Y8G("ngIf",!o.recurringDepositsAccountData.status.rejected&&!o.recurringDepositsAccountData.status.submittedAndPendingApproval),t.R7$(2),t.Y8G("ngIf",o.recurringDepositsAccountData.status.rejected||o.recurringDepositsAccountData.status.submittedAndPendingApproval),t.R7$(2),t.Y8G("ngIf",o.recurringDepositsAccountData.status.rejected||o.recurringDepositsAccountData.status.submittedAndPendingApproval),t.R7$(5),t.Y8G("ngIf",!o.recurringDepositsAccountData.status.rejected&&!o.recurringDepositsAccountData.status.submittedAndPendingApproval),t.R7$(2),t.Y8G("ngIf",o.recurringDepositsAccountData.status.rejected||o.recurringDepositsAccountData.status.submittedAndPendingApproval))},dependencies:[g.bT,gs.k,g.QX,g.oe,b.D9,x.a,S.p,y.D],styles:[".recurring-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return n})(),data:{title:"Recurring Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:Fn,data:{title:"Recurring Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:Sn,data:{title:"Recurring Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:Ve,data:{title:"Recurring Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions-tab",component:ce,data:{title:"Recurring Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:Xe,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:at.O}}]}]},{path:"edit-recurring-deposit-account",data:{title:"Edit Recurring Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Fs,resolve:{recurringDepositsAccountAndTemplate:lt}},{path:"transactions",data:{title:"Recurring Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Xa,resolve:{recurringDepositsAccountTransaction:ut}},{path:"edit",component:Qa,resolve:{recurringDepositsAccountTransactionTemplate:mt}}]}]},{path:"actions/:name",data:{title:"Recurring Deposits Account Actions",routeParamBreadcrumb:"name"},component:$a,resolve:{recurringDepositsAccountActionData:pt}}]},{path:":recurringDepositAccountId/transfer-funds",loadChildren:()=>u.e("default-src_app_account-transfers_account-transfers_module_ts").then(u.bind(u,81170)).then(n=>n.AccountTransfersModule)}]},{path:"",data:{title:"All Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"standing-instructions",loadChildren:()=>u.e("default-src_app_account-transfers_account-transfers_module_ts").then(u.bind(u,81170)).then(n=>n.AccountTransfersModule)}]}]}];let rc=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({providers:[ts,rt,at.O,st.B,ct,pt,lt,ut,mt],imports:[m.iI.forChild(ic),m.iI]})}}return n})();var ac=u(92602),sc=u(26044),cc=u(13721);let pc=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[ac.G,sc.Y,cc.h,rc]})}}return n})()}}]); \ No newline at end of file diff --git a/src_app_loans_loans_module_ts.js b/src_app_loans_loans_module_ts.js new file mode 100644 index 000000000..7c2775cfd --- /dev/null +++ b/src_app_loans_loans_module_ts.js @@ -0,0 +1,129 @@ +"use strict";(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["src_app_loans_loans_module_ts"],{58047:(Wm,Dr,Mt)=>{Mt.r(Dr),Mt.d(Dr,{LoansModule:()=>p6});var ji=Mt(13721),tt=Mt(74710),Gt=Mt(83552);class Zm{constructor(a,e){this.setOptions(a,e),this.setButtons(a)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(a){switch(a){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(a,e){switch(a){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(e)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(a){this.optionArray.push(a)}addButton(a){this.buttonsArray.push(a)}isContractTermination(a){return null!=a&&"loanSubStatus.loanSubStatusType.contractTermination"===a.code}}var ba=Mt(97486),Ea=Mt(25532),t=Mt(54438),Nt=Mt(68018),_n=Mt(75351),xt=Mt(60177),Bn=Mt(20060),Xt=Mt(88834),Dt=Mt(25596),Mc=Mt(99213),$o=Mt(59115),Us=Mt(96850),Ue=Mt(14823),Km=Mt(75620);let Qm=(()=>{class n{constructor(){}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-svg-icon"]],inputs:{iconFile:"iconFile",iconName:"iconName",iconClass:"iconClass",iconWidth:"iconWidth"},decls:5,vars:4,consts:[["preserveAspectRatio","xMidYMid meet",1,"icon",3,"ngClass"]],template:function(o,i){1&o&&(t.qSk(),t.j41(0,"svg",0),t.EFF(1,"\n "),t.nrm(2,"use"),t.EFF(3,"\n"),t.k0s(),t.EFF(4,"\n")),2&o&&(t.xc7("width",i.iconWidth,"px"),t.Y8G("ngClass",i.iconClass),t.R7$(2),t.BMQ("href","assets/images/icons_"+i.iconFile+".svg#"+i.iconName,null,"xlink"))},dependencies:[xt.YU],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}mat-card-title[_ngcontent-%COMP%]{font-weight:600;font-size:x-large;padding-left:20px;padding-top:20px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.icon[_ngcontent-%COMP%]{flex:1}.chargeoff[_ngcontent-%COMP%]{color:#ffa726}"]})}}return n})();var Oc=Mt(26216),bn=Mt(94587),kc=Mt(67949),ae=Mt(53468),pe=Mt(56617);const tp=()=>["./general"],np=()=>["./accountdetail"],ep=()=>["./repayment-schedule"],ap=()=>["./loan-documents"],op=()=>["./original-schedule"],ip=()=>["./transactions"],rp=()=>["./delinquencytags"],sp=()=>["./loan-collateral"],lp=()=>["./loan-tranche-details"],cp=()=>["./term-variations"],up=()=>["./overdue-charges"],mp=()=>["./floating-interest-rates"],pp=()=>["./charges"],dp=()=>["./loan-reschedules"],fp=()=>["./notes"],hp=()=>["./standing-instruction"],Fp=()=>["./external-asset-owner"],gp=n=>["./datatables",n];function _p(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7,"\n "),t.j41(8,"span",47),t.nrm(9,"i",48),t.k0s(),t.EFF(10),t.k0s(),t.EFF(11,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,3,"labels.inputs.Delinquency Classification")," :"),t.R7$(6),t.Y8G("ngClass",e.loanDelinquencyClassificationStyle),t.R7$(),t.SpI("\n ",null==e.loanDetailsData?null:e.loanDetailsData.delinquencyRange.classification,"\n ")}}function bp(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"formatNumber"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Past Due Days")," :"),t.R7$(4),t.JRh(t.bMT(8,4,null==e.loanDetailsData?null:e.loanDetailsData.delinquent.pastDueDays))}}function Ep(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"formatNumber"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Delinquent Days")," :"),t.R7$(4),t.JRh(t.bMT(8,4,null==e.loanDetailsData?null:e.loanDetailsData.delinquent.delinquentDays))}}function Cp(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"table",46),t.EFF(3,"\n "),t.j41(4,"tbody"),t.EFF(5,"\n "),t.DNE(6,_p,12,5,"tr",37),t.EFF(7,"\n "),t.DNE(8,bp,10,6,"tr",37),t.EFF(9,"\n "),t.DNE(10,Ep,10,6,"tr",37),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(6),t.Y8G("ngIf",e.loanDetailsData.delinquencyRange),t.R7$(2),t.Y8G("ngIf",e.loanDetailsData.delinquent&&e.loanDetailsData.delinquent.pastDueDays>0),t.R7$(2),t.Y8G("ngIf",e.loanDetailsData.delinquent&&e.loanDetailsData.delinquent.delinquentDays>0&&e.loanDetailsData.delinquent.pastDueDays!==e.loanDetailsData.delinquent.delinquentDays)}}function vp(n,a){if(1&n&&(t.j41(0,"td",50),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.loanDetailsData.summary.totalOverdue,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}function yp(n,a){1&n&&(t.j41(0,"td"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Provided"),"\n "))}function Tp(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.DNE(6,vp,3,6,"td",51),t.EFF(7,"\n "),t.DNE(8,yp,3,3,"td",37),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"labels.inputs.Arrears By")),t.R7$(3),t.Y8G("ngIf",e.loanDetailsData.summary.totalOverdue>=0),t.R7$(2),t.Y8G("ngIf",!(e.loanDetailsData.summary.totalOverdue>=0))}}function Dp(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td"),t.EFF(7),t.nI1(8,"dateFormat"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Arrears Since")),t.R7$(4),t.JRh(t.bMT(8,4,e.loanDetailsData.summary.overdueSinceDate))}}function xp(n,a){if(1&n&&(t.j41(0,"tr"),t.EFF(1,"\n "),t.j41(2,"td"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",50),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,2,"labels.inputs.Overpaid By")),t.R7$(4),t.SpI("\n ",t.ii3(8,4,e.loanDetailsData.totalOverpaid,e.currency.code,"symbol-narrow","1.2-2"),"\n ")}}function Pp(n,a){if(1&n&&(t.j41(0,"div",49),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table",46),t.EFF(7,"\n "),t.j41(8,"tbody"),t.EFF(9,"\n "),t.j41(10,"tr"),t.EFF(11,"\n "),t.j41(12,"td"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.j41(16,"td",50),t.EFF(17),t.nI1(18,"currency"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.DNE(21,Tp,10,5,"tr",37),t.EFF(22,"\n "),t.DNE(23,Dp,10,6,"tr",37),t.EFF(24,"\n "),t.DNE(25,xp,10,9,"tr",37),t.EFF(26,"\n "),t.k0s(),t.EFF(27,"\n "),t.k0s(),t.EFF(28,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,6,"labels.heading.Account Overview")),t.R7$(10),t.JRh(t.bMT(14,8,"labels.inputs.Current Balance")),t.R7$(4),t.SpI("\n ",t.ii3(18,10,e.loanDetailsData.summary.totalOutstanding,e.currency.code,"symbol-narrow","1.2-2"),"\n "),t.R7$(4),t.Y8G("ngIf",e.loanDisplayArrearsDelinquency<2),t.R7$(2),t.Y8G("ngIf",e.loanDetailsData.inArrears),t.R7$(2),t.Y8G("ngIf",e.loanDetailsData.totalOverpaid&&e.loanDetailsData.totalOverpaid>0)}}function Mp(n,a){if(1&n&&(t.j41(0,"button",52),t.EFF(1,"\n "),t.j41(2,"mat-icon",53),t.EFF(3,"\n "),t.nrm(4,"fa-icon",54),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.k0s()),2&n){t.XpG();const e=t.sdS(66);t.Y8G("matMenuTriggerFor",e)}}function Op(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",56),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,r=t.XpG();return t.Njj(r.loanAction(i.name))}),t.EFF(1,"\n "),t.j41(2,"mat-icon",57),t.EFF(3,"\n "),t.nrm(4,"fa-icon",58),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "),t.j41(7,"span"),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.EFF(10,"\n "),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.R7$(4),t.FS9("icon",e.icon),t.R7$(4),t.JRh(t.bMT(9,2,"labels.menus."+e.name))}}function kp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,Op,11,4,"button",55),t.EFF(3,"\n "),t.bVm()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission",e.taskPermissionName)}}function Rp(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",56),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,r=t.XpG(2);return t.Njj(r.loanAction(i.name))}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.menus."+e.name),"\n ")}}function Ip(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,Rp,3,3,"button",55),t.EFF(3,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission",e.taskPermissionName)}}function wp(n,a){if(1&n&&(t.qex(0,59),t.EFF(1,"\n "),t.j41(2,"button",60),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-menu",null,6),t.EFF(8,"\n "),t.DNE(9,Ip,4,1,"span",41),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.bVm()),2&n){const e=t.sdS(7),o=t.XpG();t.R7$(2),t.Y8G("matMenuTriggerFor",e),t.R7$(),t.JRh(t.bMT(4,3,"labels.menus.Payments")),t.R7$(6),t.Y8G("ngForOf",o.buttonConfig.optionsPayment)}}function Ap(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",56),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,r=t.XpG(2);return t.Njj(r.loanAction(i.name))}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.menus."+e.name),"\n ")}}function Sp(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.DNE(2,Ap,3,3,"button",55),t.EFF(3,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission",e.taskPermissionName)}}function jp(n,a){if(1&n&&(t.qex(0,59),t.EFF(1,"\n "),t.j41(2,"button",60),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"mat-menu",null,7),t.EFF(8,"\n "),t.DNE(9,Sp,4,1,"span",41),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.bVm()),2&n){const e=t.sdS(7),o=t.XpG();t.R7$(2),t.Y8G("matMenuTriggerFor",e),t.R7$(),t.JRh(t.bMT(4,3,"labels.menus.More")),t.R7$(6),t.Y8G("ngForOf",o.buttonConfig.options)}}function Np(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,8),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,op))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Original Schedule"),"\n ")}}function Lp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,9),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,ip))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Transactions"),"\n ")}}function $p(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,10),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,rp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Delinquency Tags"),"\n ")}}function Gp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,11),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,sp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Loan Collateral Details"),"\n ")}}function qp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,12),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,lp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Loan Tranche Details"),"\n ")}}function Bp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,13),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,cp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Term Variations"),"\n ")}}function Yp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,14),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,up))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Overdue Charges"),"\n ")}}function Vp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,15),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,mp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Floating Interest Rates"),"\n ")}}function zp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,16),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,pp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Charges"),"\n ")}}function Up(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,17),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,dp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Loan Reschedules"),"\n ")}}function Xp(n,a){if(1&n&&(t.j41(0,"a",44,18),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n){const e=t.sdS(1);t.Y8G("routerLink",t.lJ4(5,fp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(3,3,"labels.inputs.Notes"),"\n ")}}function Jp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,19),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,hp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.Standing Instruction"),"\n ")}}function Hp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"a",44,20),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6,"\n "),t.bVm()),2&n){const e=t.sdS(3);t.R7$(2),t.Y8G("routerLink",t.lJ4(5,Fp))("active",e.isActive),t.R7$(2),t.SpI("\n ",t.bMT(5,3,"labels.inputs.External Asset Owner"),"\n ")}}function Wp(n,a){if(1&n&&(t.j41(0,"a",44,21),t.EFF(2),t.k0s()),2&n){const e=t.sdS(1),o=t.XpG().$implicit;t.Y8G("routerLink",t.eq3(3,gp,o.registeredTableName))("active",e.isActive),t.R7$(2),t.SpI("\n ",o.registeredTableName,"\n ")}}function Zp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,Wp,3,5,"a",45),t.EFF(3,"\n "),t.bVm()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("mifosxHasPermission","READ_"+e.registeredTableName)}}let Kp=(()=>{class n{constructor(e,o,i,r,s){this.route=e,this.router=o,this.loansService=i,this.translateService=r,this.dialog=s,this.disburseTransactionNo=0,this.loanDelinquencyClassificationStyle="",this.loanSubStatus=null,this.loanReAged=!1,this.loanReAmortized=!1,this.route.data.subscribe(c=>{this.loanDetailsData=c.loanDetailsData,this.loanDatatables=c.loanDatatables,this.loanDisplayArrearsDelinquency=c.loanArrearsDelinquencyConfig.value||0,this.loanStatus=this.loanDetailsData.status,this.loanSubStatus=void 0===this.loanDetailsData.subStatus?null:this.loanDetailsData.subStatus,this.currency=this.loanDetailsData.currency,i.saveLoanDisbursementDetailsData(this.loanDetailsData.disbursementDetails),this.loanStatus.active&&this.loanDetailsData.transactions.forEach(m=>{m.manuallyReversed||(m.type.reAge?this.loanReAged=!0:m.type.reAmortize&&(this.loanReAmortized=!0))}),this.setConditionalButtons()}),this.loanId=this.route.snapshot.params.loanId,this.clientId=this.loanDetailsData.clientId}ngOnInit(){this.route.params.subscribe(e=>{this.loanId!=e.loanId&&(this.loanId=e.loanId,this.reload())}),this.recalculateInterest=this.loanDetailsData.recalculateInterest||!0,this.status=this.loanDetailsData.status.value,this.loanStatus=this.loanDetailsData.status,this.loanSubStatus=void 0===this.loanDetailsData.subStatus?null:this.loanDetailsData.subStatus,this.loanStatus.active&&this.loanDetailsData.multiDisburseLoan&&this.loanDetailsData&&this.loanDetailsData.transactions&&this.loanDetailsData.transactions.forEach(e=>{e.type.disbursement&&this.disburseTransactionNo++}),this.setConditionalButtons(),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center"),this.loanDelinquencyClassification()}setConditionalButtons(){this.buttonConfig=new Zm(this.status,this.loanSubStatus),"Submitted and pending approval"===this.status?(this.buttonConfig.addOption({name:this.loanDetailsData.loanOfficerName?"Change Loan Officer":"Assign Loan Officer",icon:"user-tie",taskPermissionName:"DISBURSE_LOAN"}),this.loanDetailsData.isVariableInstallmentsAllowed&&this.buttonConfig.addOption({name:"Edit Repayment Schedule",icon:"edit",taskPermissionName:"ADJUST_REPAYMENT_SCHEDULE"})):"Approved"===this.status?this.buttonConfig.addButton({name:this.loanDetailsData.loanOfficerName?"Change Loan Officer":"Assign Loan Officer",icon:"user-tie",taskPermissionName:"DISBURSE_LOAN"}):"Active"===this.status&&(this.loanDetailsData.enableIncomeCapitalization&&this.buttonConfig.addButton({name:"Capitalized Income",icon:"coins",taskPermissionName:"CAPITALIZED_INCOME_LOAN"}),(this.loanDetailsData.canDisburse||this.loanDetailsData.multiDisburseLoan)&&this.buttonConfig.addButton({name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"}),this.loanDetailsData.canDisburse&&this.buttonConfig.addButton({name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"}),this.loanDetailsData.multiDisburseLoan&&this.disburseTransactionNo>1&&this.buttonConfig.addButton({name:"Undo Last Disbursal",icon:"undo",taskPermissionName:"DISBURSALLASTUNDO_LOAN"}),this.recalculateInterest&&this.buttonConfig.addButton({name:"Add Interest Pause",icon:"calendar",taskPermissionName:"CREATE_INTEREST_PAUSE"}),this.loanDetailsData.loanOfficerName||this.buttonConfig.addButton({name:"Assign Loan Officer",icon:"user-tie",taskPermissionName:"UPDATELOANOFFICER_LOAN"}),this.recalculateInterest&&this.buttonConfig.addButton({name:"Prepay Loan",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"}),this.buttonConfig.addButton(this.loanDetailsData.chargedOff?{name:"Undo Charge-Off",icon:"undo",taskPermissionName:"UNDOCHARGEOFF_LOAN"}:{name:"Charge-Off",icon:"coins",taskPermissionName:"CHARGEOFF_LOAN"}),this.buttonConfig.addButton(this.loanReAged?{name:"Undo Re-Age",icon:"undo",taskPermissionName:"UNDO_REAGE_LOAN"}:{name:"Re-Age",icon:"calendar",taskPermissionName:"REAGE_LOAN"}),this.buttonConfig.addButton(this.loanReAmortized?{name:"Undo Re-Amortize",icon:"undo",taskPermissionName:"UNDO_REAMORTIZE_LOAN"}:{name:"Re-Amortize",icon:"calendar-alt",taskPermissionName:"REAMORTIZE_LOAN"}))}loanAction(e){switch(e){case"Recover From Guarantor":this.recoverFromGuarantor();break;case"Delete":this.deleteLoanAccount();break;case"Modify Application":this.router.navigate(["edit-loans-account"],{relativeTo:this.route});break;case"Transfer Funds":this.router.navigate(["transfer-funds/make-account-transfer"],{relativeTo:this.route,queryParams:{loanId:this.loanId,accountType:"fromloans"}});break;case"Undo Re-Age":case"Undo Re-Amortize":case"Undo Charge-Off":this.undoLoanAction(e);break;default:this.router.navigate(["actions",e],{relativeTo:this.route,state:{data:this.loanDetailsData}})}}recoverFromGuarantor(){this.dialog.open(ba.D,{data:{heading:this.translateService.instant("labels.heading.Recover from Guarantor"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want recover from Guarantor"),type:"Mild"}}).afterClosed().subscribe(o=>{o.confirm&&this.loansService.loanActionButtons(this.loanId,"recoverGuarantees").subscribe(()=>{this.reload()})})}loanDelinquencyClassification(){this.loanDelinquencyClassificationStyle="",this.loanDetailsData.delinquent&&this.loanDetailsData.delinquent.delinquencyPausePeriods&&this.loanDetailsData.delinquent.delinquencyPausePeriods.some(e=>{e.active&&(this.loanDelinquencyClassificationStyle="fa fa-stop status-pending")})}undoLoanAction(e){e=e.replace("Undo ",""),this.dialog.open(ba.D,{data:{heading:this.translateService.instant("labels.heading.Undo Transaction"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want undo the transaction type")+" "+this.translateService.instant("labels.menus."+e)}}).afterClosed().subscribe(i=>{if(i.confirm){let r="";switch(e){case"Re-Age":r="undoReAge";break;case"Re-Amortize":r="undoReAmortize";break;case"Charge-Off":r="undo-charge-off"}this.loansService.executeLoansAccountTransactionsCommand(String(this.loanId),r,{}).subscribe(()=>{this.reload()})}})}iconLoanStatusColor(){return this.loanDetailsData.chargedOff?"loanStatusType.chargeoff":this.isContractTermination(this.loanSubStatus)?"loanSubStatusType.contractTermination":this.loanDetailsData.inArrears?"loanStatusType.activeOverdue":this.loanDetailsData.status.code}loanStatusTooltip(){return this.loanDetailsData.chargedOff?"Chargeoff":this.loanDetailsData.inArrears?"activeOverdue":this.loanDetailsData.status.code}loanSubStatusTooltip(){return this.isContractTermination(this.loanSubStatus)?"contractTermination":""}deleteLoanAccount(){this.dialog.open(Ea.X,{data:{deleteContext:`with loan id: ${this.loanId}`}}).afterClosed().subscribe(o=>{o.delete&&this.loansService.deleteLoanAccount(this.loanId).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}reload(){const o=this.router.url;this.router.navigateByUrl(`/clients/${this.clientId}/loans-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([o]))}isContractTermination(e){return null!=e&&"loanSubStatus.loanSubStatusType.contractTermination"===e.code}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(tt.nX),t.rXU(tt.Ix),t.rXU(Gt.F),t.rXU(Nt.c$),t.rXU(_n.bZ))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-loans-view"]],decls:138,vars:67,consts:[["accountMenu","matMenu"],["general","routerLinkActive"],["accountdetail","routerLinkActive"],["repaymentSchedule","routerLinkActive"],["loanDocuments","routerLinkActive"],["tabPanel",""],["Payments","matMenu"],["More","matMenu"],["originalSchedule","routerLinkActive"],["transactions","routerLinkActive"],["delinquencytags","routerLinkActive"],["loanCollateralDetails","routerLinkActive"],["loanTrancheDetails","routerLinkActive"],["termVariations","routerLinkActive"],["overduecharges","routerLinkActive"],["floatingInterestRates","routerLinkActive"],["charges","routerLinkActive"],["loanReschedules","routerLinkActive"],["notes","routerLinkActive"],["standingInstruction","routerLinkActive"],["externalAssetOwner","routerLinkActive"],["datatable","routerLinkActive"],[1,"account-card"],[1,"header","layout-column"],[1,"header-title-group"],[1,"profile-image-container"],["iconFile","account_placeholder","iconName","LOAN_ACCOUNT","iconWidth","210",3,"iconClass","matTooltip"],[1,"mat-typography","account-card-title"],[1,"layout-row","responsive-column"],[1,"flex-60"],[1,"fa","fa-stop",3,"matTooltip","ngClass"],[1,"m-r-5"],[3,"textValue"],["display","left",3,"accountNo"],[1,"loans-overview"],[1,"m-r-10"],[1,"m-l-5"],[4,"ngIf"],["class","loans-overview mat-typography flex-30",4,"ngIf"],[1,"flex-5"],["mat-icon-button","","aria-label","Loan account actions","yPosition","below",3,"matMenuTriggerFor",4,"ngIf"],[4,"ngFor","ngForOf"],["class","loan-span",4,"ngIf"],["mat-tab-nav-bar","",1,"navigation-tabs",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"mifosxHasPermission"],[1,"account-overview"],[1,"m-r-3"],[3,"ngClass"],[1,"loans-overview","mat-typography","flex-30"],[1,"r-amount"],["class","r-amount",4,"ngIf"],["mat-icon-button","","aria-label","Loan account actions","yPosition","below",3,"matMenuTriggerFor"],["matListIcon","",1,"actions-menu"],["icon","bars","size","sm"],["mat-menu-item","",3,"click",4,"mifosxHasPermission"],["mat-menu-item","",3,"click"],["matListIcon",""],["size","sm",3,"icon"],[1,"loan-span"],["mat-menu-item","",3,"matMenuTriggerFor"]],template:function(o,i){if(1&o&&(t.j41(0,"mat-card",22),t.EFF(1,"\n "),t.j41(2,"mat-card-header",23),t.EFF(3,"\n "),t.j41(4,"mat-card-title-group",24),t.EFF(5,"\n "),t.j41(6,"div",25),t.EFF(7,"\n "),t.j41(8,"div"),t.EFF(9,"\n "),t.j41(10,"mifosx-svg-icon",26),t.nI1(11,"translate"),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n "),t.k0s(),t.EFF(15,"\n\n "),t.j41(16,"div",27),t.EFF(17,"\n "),t.j41(18,"mat-card-title"),t.EFF(19,"\n "),t.j41(20,"div",28),t.EFF(21,"\n "),t.j41(22,"div",29),t.EFF(23,"\n "),t.j41(24,"h3"),t.EFF(25,"\n "),t.nrm(26,"i",30),t.nI1(27,"translate"),t.nI1(28,"statusLookup"),t.EFF(29,"\n "),t.j41(30,"span",31),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.EFF(33,"\n "),t.j41(34,"span",31),t.nrm(35,"mifosx-long-text",32),t.k0s(),t.EFF(36,"\n "),t.nrm(37,"mifosx-account-number",33),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.j41(40,"span",34),t.EFF(41,"\n "),t.j41(42,"span",35),t.EFF(43),t.nI1(44,"translate"),t.nI1(45,"translate"),t.k0s(),t.EFF(46),t.j41(47,"span",36),t.EFF(48),t.k0s(),t.nrm(49,"br"),t.EFF(50,"\n "),t.k0s(),t.EFF(51,"\n "),t.DNE(52,Cp,14,3,"div",37),t.EFF(53,"\n "),t.k0s(),t.EFF(54,"\n\n "),t.DNE(55,Pp,29,15,"div",38),t.EFF(56,"\n\n "),t.j41(57,"div",39),t.EFF(58,"\n "),t.DNE(59,Mp,7,1,"button",40),t.EFF(60,"\n "),t.k0s(),t.EFF(61,"\n "),t.k0s(),t.EFF(62,"\n "),t.k0s(),t.EFF(63,"\n "),t.k0s(),t.EFF(64,"\n\n "),t.j41(65,"mat-menu",null,0),t.EFF(67,"\n "),t.DNE(68,kp,4,1,"ng-container",41),t.EFF(69,"\n\n "),t.DNE(70,wp,12,5,"ng-container",42),t.EFF(71,"\n\n "),t.DNE(72,jp,12,5,"ng-container",42),t.EFF(73,"\n "),t.k0s(),t.EFF(74,"\n "),t.k0s(),t.EFF(75,"\n "),t.k0s(),t.EFF(76,"\n\n "),t.j41(77,"mat-card-content"),t.EFF(78,"\n "),t.j41(79,"nav",43),t.EFF(80,"\n "),t.j41(81,"a",44,1),t.EFF(83),t.nI1(84,"translate"),t.k0s(),t.EFF(85,"\n "),t.j41(86,"a",44,2),t.EFF(88),t.nI1(89,"translate"),t.k0s(),t.EFF(90,"\n "),t.DNE(91,Np,7,6,"ng-container",37),t.EFF(92,"\n "),t.j41(93,"a",44,3),t.EFF(95),t.nI1(96,"translate"),t.k0s(),t.EFF(97,"\n "),t.DNE(98,Lp,7,6,"ng-container",37),t.EFF(99,"\n "),t.DNE(100,$p,7,6,"ng-container",37),t.EFF(101,"\n "),t.DNE(102,Gp,7,6,"ng-container",37),t.EFF(103,"\n "),t.DNE(104,qp,7,6,"ng-container",37),t.EFF(105,"\n "),t.DNE(106,Bp,7,6,"ng-container",37),t.EFF(107,"\n "),t.DNE(108,Yp,7,6,"ng-container",37),t.EFF(109,"\n "),t.DNE(110,Vp,7,6,"ng-container",37),t.EFF(111,"\n "),t.DNE(112,zp,7,6,"ng-container",37),t.EFF(113,"\n "),t.DNE(114,Up,7,6,"ng-container",37),t.EFF(115,"\n "),t.j41(116,"a",44,4),t.EFF(118),t.nI1(119,"translate"),t.k0s(),t.EFF(120,"\n "),t.DNE(121,Xp,4,6,"a",45),t.EFF(122,"\n "),t.DNE(123,Jp,7,6,"ng-container",37),t.EFF(124,"\n "),t.DNE(125,Hp,7,6,"ng-container",37),t.EFF(126,"\n "),t.DNE(127,Zp,4,1,"ng-container",41),t.EFF(128,"\n "),t.k0s(),t.EFF(129,"\n "),t.j41(130,"mat-tab-nav-panel",null,5),t.EFF(132,"\n "),t.nrm(133,"router-outlet"),t.EFF(134,"\n "),t.k0s(),t.EFF(135,"\n "),t.k0s(),t.EFF(136,"\n"),t.k0s(),t.EFF(137,"\n")),2&o){const r=t.sdS(82),s=t.sdS(87),c=t.sdS(94),m=t.sdS(117),d=t.sdS(131);t.R7$(10),t.FS9("matTooltip",t.bMT(11,43,"tooltips.Loan Account")),t.R7$(16),t.FS9("matTooltip",t.bMT(27,45,"labels.status."+i.loanDetailsData.status.value)),t.Y8G("ngClass",t.bMT(28,47,i.iconLoanStatusColor())),t.R7$(5),t.SpI("",t.bMT(32,49,"labels.heading.Loan Product")," :"),t.R7$(4),t.FS9("textValue",i.loanDetailsData.loanProductName),t.R7$(2),t.FS9("accountNo",i.loanDetailsData.accountNo),t.R7$(6),t.Lme("",t.bMT(44,51,"labels.text."+i.entityType)," ",t.bMT(45,53,"labels.inputs.name")," :"),t.R7$(3),t.SpI("\n ",i.loanDetailsData.clientName||i.loanDetailsData.group.name,""),t.R7$(2),t.SpI("(",i.loanDetailsData.clientAccountNo||i.loanDetailsData.group.accountNo,")"),t.R7$(4),t.Y8G("ngIf",1!==i.loanDisplayArrearsDelinquency),t.R7$(3),t.Y8G("ngIf",i.loanDetailsData.summary),t.R7$(4),t.Y8G("ngIf",i.buttonConfig.singleButtons.length>0),t.R7$(9),t.Y8G("ngForOf",i.buttonConfig.singleButtons),t.R7$(2),t.Y8G("ngIf",i.buttonConfig.optionsPayment.length),t.R7$(2),t.Y8G("ngIf",i.buttonConfig.options.length),t.R7$(7),t.Y8G("tabPanel",d),t.R7$(2),t.Y8G("routerLink",t.lJ4(63,tp))("active",r.isActive),t.R7$(2),t.SpI("\n ",t.bMT(84,55,"labels.inputs.General"),"\n "),t.R7$(3),t.Y8G("routerLink",t.lJ4(64,np))("active",s.isActive),t.R7$(2),t.SpI("\n ",t.bMT(89,57,"labels.inputs.Account Details"),"\n "),t.R7$(3),t.Y8G("ngIf",i.loanDetailsData.originalSchedule),t.R7$(2),t.Y8G("routerLink",t.lJ4(65,ep))("active",c.isActive),t.R7$(2),t.SpI("\n ",t.bMT(96,59,"labels.inputs.Repayment Schedule"),"\n "),t.R7$(3),t.Y8G("ngIf",i.loanDetailsData.transactions),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.status.active),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.collateral),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.multiDisburseLoan),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.loanTermVariations),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.overdueCharges.length>0),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.isLoanProductLinkedToFloatingRate),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.charges),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.status.active),t.R7$(2),t.Y8G("routerLink",t.lJ4(66,ap))("active",m.isActive),t.R7$(2),t.SpI("\n ",t.bMT(119,61,"labels.inputs.Loan Documents"),"\n "),t.R7$(3),t.Y8G("mifosxHasPermission","READ_LOANNOTE"),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.clientId),t.R7$(2),t.Y8G("ngIf",i.loanDetailsData.status.active),t.R7$(2),t.Y8G("ngForOf",i.loanDatatables)}},dependencies:[xt.YU,xt.Sq,xt.bT,Bn.aY,Xt.iY,Dt.RN,Dt.m2,Dt.MM,Dt.dh,Dt.aJ,Mc.An,$o.kk,$o.fb,$o.Cp,Us.Bu,Us.hQ,Us.Ql,Ue.oV,Km.i,Qm,Oc.h,bn.p,tt.n3,tt.Wk,tt.wQ,xt.oe,Nt.D9,kc.l,ae.a,pe.p],styles:[".loans-overview[_ngcontent-%COMP%]{font-size:14px}.account-overview[_ngcontent-%COMP%]{min-width:80%;font-weight:400}"]})}}return n})();var G=Mt(9159),Go=Mt(6440);function Qp(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"div",2),t.EFF(7,"\n "),t.j41(8,"table"),t.EFF(9,"\n "),t.j41(10,"tbody"),t.EFF(11,"\n "),t.j41(12,"tr"),t.EFF(13,"\n "),t.j41(14,"td",3),t.EFF(15,"\n "),t.j41(16,"b"),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.j41(21,"td",4),t.EFF(22),t.nI1(23,"formatNumber"),t.k0s(),t.EFF(24,"\n "),t.j41(25,"td",3),t.EFF(26,"\n "),t.j41(27,"b"),t.EFF(28),t.nI1(29,"translate"),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.j41(32,"td",4),t.EFF(33),t.nI1(34,"dateFormat"),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.bVm()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,5,"labels.heading.Performance History")),t.R7$(14),t.SpI("",t.bMT(18,7,"labels.inputs.Number of Repayments")," :"),t.R7$(5),t.SpI("\n ",t.bMT(23,9,null==e.loanDetails?null:e.loanDetails.numberOfRepayments),"\n "),t.R7$(6),t.SpI("",t.bMT(29,11,"labels.inputs.Maturity Date")," :"),t.R7$(5),t.SpI("\n ",t.bMT(34,13,null==e.loanDetails?null:e.loanDetails.timeline.expectedMaturityDate),"\n ")}}function t1(n,a){1&n&&t.nrm(0,"th",22)}function n1(n,a){if(1&n&&(t.j41(0,"td",23),t.EFF(1),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(e.property)}}function e1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Original")))}function a1(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.original,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function o1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Paid")))}function i1(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.paid,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function r1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Credit Adjustments")))}function s1(n,a){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.adjustment,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function l1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Waived")))}function c1(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.waived,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function u1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Written Off")))}function m1(n,a){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.writtenOff,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function p1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Outstanding")))}function d1(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.outstanding,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function f1(n,a){1&n&&(t.j41(0,"th",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs.Over Due")))}function h1(n,a){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"currency"),t.k0s()),2&n){const e=a.$implicit,o=t.XpG(2);t.R7$(),t.SpI("\n ",t.ii3(2,1,e.overdue,o.currencyCode,"symbol-narrow","1.2-2"),"\n ")}}function F1(n,a){1&n&&t.nrm(0,"tr",28)}function g1(n,a){1&n&&t.nrm(0,"tr",29)}function _1(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.j41(6,"table",5),t.EFF(7,"\n "),t.qex(8,6),t.EFF(9,"\n "),t.DNE(10,t1,1,0,"th",7),t.EFF(11,"\n "),t.DNE(12,n1,2,1,"td",8),t.EFF(13,"\n "),t.bVm(),t.EFF(14,"\n\n "),t.qex(15,9),t.EFF(16,"\n "),t.DNE(17,e1,3,3,"th",10),t.EFF(18,"\n "),t.DNE(19,a1,3,6,"td",11),t.EFF(20,"\n "),t.bVm(),t.EFF(21,"\n\n "),t.qex(22,12),t.EFF(23,"\n "),t.DNE(24,o1,3,3,"th",10),t.EFF(25,"\n "),t.DNE(26,i1,3,6,"td",13),t.EFF(27,"\n "),t.bVm(),t.EFF(28,"\n\n "),t.qex(29,14),t.EFF(30,"\n "),t.DNE(31,r1,3,3,"th",10),t.EFF(32,"\n "),t.DNE(33,s1,3,6,"td",15),t.EFF(34,"\n "),t.bVm(),t.EFF(35,"\n\n "),t.qex(36,16),t.EFF(37,"\n "),t.DNE(38,l1,3,3,"th",10),t.EFF(39,"\n "),t.DNE(40,c1,3,6,"td",13),t.EFF(41,"\n "),t.bVm(),t.EFF(42,"\n\n "),t.qex(43,17),t.EFF(44,"\n "),t.DNE(45,u1,3,3,"th",10),t.EFF(46,"\n "),t.DNE(47,m1,3,6,"td",13),t.EFF(48,"\n "),t.bVm(),t.EFF(49,"\n\n "),t.qex(50,18),t.EFF(51,"\n "),t.DNE(52,p1,3,3,"th",10),t.EFF(53,"\n "),t.DNE(54,d1,3,6,"td",11),t.EFF(55,"\n "),t.bVm(),t.EFF(56,"\n\n "),t.qex(57,19),t.EFF(58,"\n "),t.DNE(59,f1,3,3,"th",10),t.EFF(60,"\n "),t.DNE(61,h1,3,6,"td",11),t.EFF(62,"\n "),t.bVm(),t.EFF(63,"\n\n "),t.DNE(64,F1,1,0,"tr",20),t.EFF(65,"\n "),t.DNE(66,g1,1,0,"tr",21),t.EFF(67,"\n "),t.k0s(),t.EFF(68,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,4,"labels.heading.Loan Summary")),t.R7$(3),t.Y8G("dataSource",e.dataSource),t.R7$(58),t.Y8G("matHeaderRowDef",e.loanSummaryColumns),t.R7$(2),t.Y8G("matRowDefColumns",e.loanSummaryColumns)}}function b1(n,a){if(1&n&&(t.j41(0,"td",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs."+e.key))}}function E1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.SpI("\n ",t.bMT(2,1,e.loanDetails.timeline.actualDisbursementDate),"\n ")}}function C1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Available"),"\n "))}function v1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,E1,3,3,"span",1),t.EFF(3,"\n "),t.DNE(4,C1,3,3,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",e.loanDetails.timeline.actualDisbursementDate),t.R7$(2),t.Y8G("ngIf",!e.loanDetails.timeline.actualDisbursementDate)}}function y1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.SpI(" ",e.loanDetails.loanPurposeName," ")}}function T1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"labels.inputs.Not Available")," "))}function D1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,y1,2,1,"span",1),t.EFF(3,"\n "),t.DNE(4,T1,3,3,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",e.loanDetails.loanPurposeName),t.R7$(2),t.Y8G("ngIf",!e.loanDetails.loanPurposeName)}}function x1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"labels.inputs.Unassigned")," "))}function P1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1," "),t.k0s())}function M1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.DNE(2,P1,2,0,"span",1),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.SpI("\n ",e.loanDetails.loanOfficerName," \xa0\n "),t.R7$(),t.Y8G("ngIf",e.loanDetails.loanOfficerName)}}function O1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,x1,3,3,"span",1),t.EFF(3,"\n "),t.DNE(4,M1,4,2,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",!e.loanDetails.loanOfficerName),t.R7$(2),t.Y8G("ngIf",e.loanDetails.loanOfficerName)}}function k1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"span"),t.EFF(3),t.k0s(),t.EFF(4,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(3),t.Lme(" ",e.loanDetails.currency.name," ",e.loanDetails.currency.code," ")}}function R1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"mifosx-external-identifier",32),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(4);t.R7$(2),t.FS9("externalId",e.loanDetails.externalId)}}function I1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"labels.inputs.Not Available")," "))}function w1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,R1,4,1,"span",1),t.EFF(3,"\n "),t.DNE(4,I1,3,3,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",e.loanDetails.externalId),t.R7$(2),t.Y8G("ngIf",!e.loanDetails.externalId)}}function A1(n,a){if(1&n&&(t.qex(0),t.EFF(1),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\n ",e.value,"\n ")}}function S1(n,a){if(1&n&&(t.j41(0,"td",23),t.EFF(1,"\n "),t.DNE(2,v1,6,2,"ng-container",1),t.EFF(3,"\n\n "),t.DNE(4,D1,6,2,"ng-container",1),t.EFF(5,"\n\n "),t.DNE(6,O1,6,2,"ng-container",1),t.EFF(7,"\n\n "),t.DNE(8,k1,5,2,"ng-container",1),t.EFF(9,"\n\n "),t.DNE(10,w1,6,2,"ng-container",1),t.EFF(11,"\n\n "),t.DNE(12,A1,2,1,"ng-container",1),t.EFF(13,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("ngIf","Disbursement Date"===e.key),t.R7$(2),t.Y8G("ngIf","Loan Purpose"===e.key),t.R7$(2),t.Y8G("ngIf","Loan Officer"===e.key),t.R7$(2),t.Y8G("ngIf","Currency"===e.key),t.R7$(2),t.Y8G("ngIf","External Id"===e.key),t.R7$(2),t.Y8G("ngIf","Proposed Amount"===e.key||"Approved Amount"===e.key||"Disburse Amount"===e.key)}}function j1(n,a){1&n&&t.nrm(0,"tr",29)}function N1(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table",5),t.EFF(7,"\n "),t.qex(8,30),t.EFF(9,"\n "),t.DNE(10,b1,3,3,"td",8),t.EFF(11,"\n "),t.bVm(),t.EFF(12,"\n\n "),t.qex(13,31),t.EFF(14,"\n "),t.DNE(15,S1,14,6,"td",8),t.EFF(16,"\n "),t.bVm(),t.EFF(17,"\n\n "),t.DNE(18,j1,1,0,"tr",21),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.heading.Loan Details")),t.R7$(3),t.Y8G("dataSource",e.detailsDataSource),t.R7$(12),t.Y8G("matRowDefColumns",e.loanDetailsColumns)}}function L1(n,a){if(1&n&&(t.j41(0,"td",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=a.$implicit;t.R7$(),t.JRh(t.bMT(2,1,"labels.inputs."+e.key))}}function $1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.SpI("\n ",t.bMT(2,1,e.loanDetails.timeline.actualDisbursementDate),"\n ")}}function G1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Available"),"\n "))}function q1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,$1,3,3,"span",1),t.EFF(3,"\n "),t.DNE(4,G1,3,3,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",e.loanDetails.timeline.actualDisbursementDate),t.R7$(2),t.Y8G("ngIf",!e.loanDetails.timeline.actualDisbursementDate)}}function B1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"labels.inputs.Unassigned")," "))}function Y1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1," "),t.k0s())}function V1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.DNE(2,Y1,2,0,"span",1),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.SpI("\n ",e.loanDetails.loanOfficerName," \xa0\n "),t.R7$(),t.Y8G("ngIf",e.loanDetails.loanOfficerName)}}function z1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,B1,3,3,"span",1),t.EFF(3,"\n "),t.DNE(4,V1,4,2,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",!e.loanDetails.loanOfficerName),t.R7$(2),t.Y8G("ngIf",e.loanDetails.loanOfficerName)}}function U1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.j41(2,"span"),t.EFF(3),t.k0s(),t.EFF(4,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(3),t.Lme(" ",e.loanDetails.currency.name," ",e.loanDetails.currency.code," ")}}function X1(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.nrm(2,"mifosx-external-identifier",32),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG(4);t.R7$(2),t.FS9("externalId",e.loanDetails.externalId)}}function J1(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"labels.inputs.Not Available")," "))}function H1(n,a){if(1&n&&(t.qex(0),t.EFF(1,"\n "),t.DNE(2,X1,4,1,"span",1),t.EFF(3,"\n "),t.DNE(4,J1,3,3,"span",1),t.EFF(5,"\n "),t.bVm()),2&n){const e=t.XpG(3);t.R7$(2),t.Y8G("ngIf",e.loanDetails.externalId),t.R7$(2),t.Y8G("ngIf",!e.loanDetails.externalId)}}function W1(n,a){if(1&n&&(t.j41(0,"td",23),t.EFF(1,"\n "),t.DNE(2,q1,6,2,"ng-container",1),t.EFF(3,"\n\n "),t.DNE(4,z1,6,2,"ng-container",1),t.EFF(5,"\n\n "),t.DNE(6,U1,5,2,"ng-container",1),t.EFF(7,"\n\n "),t.DNE(8,H1,6,2,"ng-container",1),t.EFF(9,"\n "),t.k0s()),2&n){const e=a.$implicit;t.R7$(2),t.Y8G("ngIf","Disbursement Date"===e.key),t.R7$(2),t.Y8G("ngIf","Loan Officer"===e.key),t.R7$(2),t.Y8G("ngIf","Currency"===e.key),t.R7$(2),t.Y8G("ngIf","External Id"===e.key)}}function Z1(n,a){1&n&&t.nrm(0,"tr",29)}function K1(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"table",5),t.EFF(7,"\n "),t.qex(8,30),t.EFF(9,"\n "),t.DNE(10,L1,3,3,"td",8),t.EFF(11,"\n "),t.bVm(),t.EFF(12,"\n\n "),t.qex(13,31),t.EFF(14,"\n "),t.DNE(15,W1,10,4,"td",8),t.EFF(16,"\n "),t.bVm(),t.EFF(17,"\n\n "),t.DNE(18,Z1,1,0,"tr",21),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,3,"labels.heading.Loan Details")),t.R7$(3),t.Y8G("dataSource",e.detailsDataSource),t.R7$(12),t.Y8G("matRowDefColumns",e.loanDetailsColumns)}}function Q1(n,a){if(1&n&&(t.j41(0,"span",36),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI("\n ",e.loanDetails.loanPurposeName,"\n ")}}function td(n,a){1&n&&(t.j41(0,"span",36),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("\n ",t.bMT(2,1,"labels.inputs.Not Provided"),"\n "))}function nd(n,a){if(1&n&&(t.j41(0,"div",35),t.EFF(1,"\n "),t.j41(2,"span",36),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",36),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Approved Amount"),":"),t.R7$(4),t.JRh(t.ii3(8,4,e.loanDetails.approvedPrincipal,e.currencyCode,"symbol-narrow","1.2-2"))}}function ed(n,a){if(1&n&&(t.j41(0,"div",35),t.EFF(1,"\n "),t.j41(2,"span",36),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",36),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Disburse Amount"),":"),t.R7$(4),t.JRh(t.ii3(8,4,e.loanDetails.principal,e.currencyCode,"symbol-narrow","1.2-2"))}}function ad(n,a){if(1&n&&(t.j41(0,"div",35),t.EFF(1,"\n "),t.j41(2,"span",36),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",36),t.EFF(7),t.nI1(8,"currency"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,2,"labels.inputs.Balloon Repayment Amount"),":"),t.R7$(4),t.JRh(t.ii3(8,4,e.loanDetails.balloonRepaymentAmount,e.currencyCode,"symbol-narrow","1.2-2"))}}function od(n,a){if(1&n&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"div",33),t.EFF(7,"\n "),t.j41(8,"div",34),t.EFF(9,"\n "),t.j41(10,"div",35),t.EFF(11,"\n "),t.j41(12,"span",36),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.EFF(15,"\n "),t.DNE(16,Q1,2,1,"span",37),t.EFF(17,"\n "),t.DNE(18,td,3,3,"span",37),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n\n "),t.j41(21,"div",35),t.EFF(22,"\n "),t.j41(23,"span",36),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.EFF(26,"\n "),t.j41(27,"span",36),t.EFF(28),t.nI1(29,"currency"),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n\n "),t.DNE(32,nd,10,9,"div",38),t.EFF(33,"\n\n "),t.DNE(34,ed,10,9,"div",38),t.EFF(35,"\n\n "),t.DNE(36,ad,10,9,"div",38),t.EFF(37,"\n\n "),t.j41(38,"div",35),t.EFF(39,"\n "),t.j41(40,"span",36),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.EFF(43,"\n "),t.j41(44,"span",36),t.EFF(45),t.nI1(46,"translate"),t.k0s(),t.EFF(47,"\n "),t.k0s(),t.EFF(48,"\n "),t.k0s(),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,11,"labels.heading.Loan Purpose")),t.R7$(10),t.SpI("",t.bMT(14,13,"labels.inputs.Loan Purpose"),":"),t.R7$(3),t.Y8G("ngIf",e.loanDetails.loanPurposeName),t.R7$(2),t.Y8G("ngIf",!e.loanDetails.loanPurposeName),t.R7$(6),t.SpI("",t.bMT(25,15,"labels.inputs.Proposed Amount"),":"),t.R7$(4),t.JRh(t.ii3(29,17,e.loanDetails.proposedPrincipal,e.currencyCode,"symbol-narrow","1.2-2")),t.R7$(4),t.Y8G("ngIf",e.showApprovedAmountBasedOnStatus()),t.R7$(2),t.Y8G("ngIf",e.showDisbursedAmountBasedOnStatus()),t.R7$(2),t.Y8G("ngIf",e.loanDetails.balloonRepaymentAmount>0),t.R7$(5),t.SpI("",t.bMT(42,22,"labels.inputs.Arrears By"),":"),t.R7$(4),t.JRh(t.bMT(46,24,"labels.inputs.Not Provided"))}}let id=(()=>{class n{constructor(e){this.route=e,this.loanSummaryColumns=["Empty","Original","Paid","Waived","Written Off","Outstanding","Over Due"],this.loanDetailsColumns=["Key","Value"],this.showDisbursedAmountBasedOnStatus=function(){return!("Submitted and pending approval"===this.status||"Withdrawn by applicant"===this.status||"Rejected"===this.status||"Approved"===this.status)},this.route.parent.data.subscribe(o=>{this.loanDetails=o.loanDetailsData,this.currencyCode=this.loanDetails.currency.code,this.loanDetails.transactions&&this.loanDetails.transactions.some(i=>{"loanTransactionType.chargeback"!==i.type.code||(this.loanSummaryColumns=["Empty","Original","Adjustments","Paid","Waived","Written Off","Outstanding","Over Due"])})})}ngOnInit(){this.status=this.loanDetails.value,this.loanDetails.summary?(this.setloanSummaryTableData(),this.setloanDetailsTableData()):this.setloanNonDetailsTableData()}setloanSummaryTableData(){this.loanSummaryTableData=[{property:"Principal",original:this.loanDetails.summary.totalPrincipal,adjustment:this.loanDetails.summary.principalAdjustments||0,paid:this.loanDetails.summary.principalPaid,waived:this.loanDetails.summary.principalWaived||0,writtenOff:this.loanDetails.summary.principalWrittenOff,outstanding:this.loanDetails.summary.principalOutstanding,overdue:this.loanDetails.summary.principalOverdue},{property:"Interest",original:this.loanDetails.summary.interestCharged,adjustment:"0",paid:this.loanDetails.summary.interestPaid,waived:this.loanDetails.summary.interestWaived,writtenOff:this.loanDetails.summary.interestWrittenOff,outstanding:this.loanDetails.summary.interestOutstanding,overdue:this.loanDetails.summary.interestOverdue},{property:"Fees",original:this.loanDetails.summary.feeChargesCharged,adjustment:"0",paid:this.loanDetails.summary.feeChargesPaid,waived:this.loanDetails.summary.feeChargesWaived,writtenOff:this.loanDetails.summary.feeChargesWrittenOff,outstanding:this.loanDetails.summary.feeChargesOutstanding,overdue:this.loanDetails.summary.feeChargesOverdue},{property:"Penalties",original:this.loanDetails.summary.penaltyChargesCharged,adjustment:"0",paid:this.loanDetails.summary.penaltyChargesPaid,waived:this.loanDetails.summary.penaltyChargesWaived,writtenOff:this.loanDetails.summary.penaltyChargesWrittenOff,outstanding:this.loanDetails.summary.penaltyChargesOutstanding,overdue:this.loanDetails.summary.penaltyChargesOverdue},{property:"Total",original:this.loanDetails.summary.totalExpectedRepayment,adjustment:this.loanDetails.summary.principalAdjustments||0,paid:this.loanDetails.summary.totalRepayment,waived:this.loanDetails.summary.totalWaived,writtenOff:this.loanDetails.summary.totalWrittenOff,outstanding:this.loanDetails.summary.totalOutstanding,overdue:this.loanDetails.summary.totalOverdue}],this.dataSource=new G.I6(this.loanSummaryTableData)}setloanDetailsTableData(){this.loanDetailsTableData=[{key:"Disbursement Date"},{key:"Loan Purpose"},{key:"Loan Officer"},{key:"Currency"},{key:"External Id"},{key:"Proposed Amount",value:this.loanDetails.proposedPrincipal},{key:"Approved Amount",value:this.loanDetails.approvedPrincipal},{key:"Disburse Amount",value:this.loanDetails.principal}],this.detailsDataSource=new G.I6(this.loanDetailsTableData)}setloanNonDetailsTableData(){this.loanDetailsTableData=[{key:"Disbursement Date"},{key:"Currency"},{key:"Loan Officer"},{key:"External Id"}],this.detailsDataSource=new G.I6(this.loanDetailsTableData)}showApprovedAmountBasedOnStatus(){return!("Submitted and pending approval"===this.status||"Withdrawn by applicant"===this.status||"Rejected"===this.status)}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(tt.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-general-tab"]],decls:13,vars:5,consts:[[1,"tab-container","mat-typography"],[4,"ngIf"],[1,"layout-row","gap-32px","performance-history-container"],[1,"flex-25"],[1,"flex-25","left"],["mat-table","",3,"dataSource"],["matColumnDef","Empty"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Original"],["mat-header-cell","","class","r-amount",4,"matHeaderCellDef"],["mat-cell","","class","r-amount",4,"matCellDef"],["matColumnDef","Paid"],["mat-cell","","class","r-amount amount-minus",4,"matCellDef"],["matColumnDef","Adjustments"],["mat-cell","","class","r-amount amount-plus",4,"matCellDef"],["matColumnDef","Waived"],["matColumnDef","Written Off"],["matColumnDef","Outstanding"],["matColumnDef","Over Due"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","",1,"r-amount"],["mat-cell","",1,"r-amount"],["mat-cell","",1,"r-amount","amount-minus"],["mat-cell","",1,"r-amount","amount-plus"],["mat-header-row",""],["mat-row",""],["matColumnDef","Key"],["matColumnDef","Value"],["completed","true",3,"externalId"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"flex-contents"],[1,"flex-50"],["class","flex-50",4,"ngIf"],["class","flex-contents",4,"ngIf"]],template:function(o,i){1&o&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.DNE(2,Qp,40,15,"ng-container",1),t.EFF(3,"\n\n "),t.DNE(4,_1,69,6,"div",1),t.EFF(5,"\n\n "),t.DNE(6,N1,21,5,"div",1),t.EFF(7,"\n\n "),t.DNE(8,K1,21,5,"div",1),t.EFF(9,"\n\n "),t.DNE(10,od,51,26,"div",1),t.EFF(11,"\n"),t.k0s(),t.EFF(12,"\n")),2&o&&(t.R7$(2),t.Y8G("ngIf",i.loanDetails.summary),t.R7$(2),t.Y8G("ngIf",i.loanDetails.summary),t.R7$(2),t.Y8G("ngIf",i.loanDetails.summary),t.R7$(2),t.Y8G("ngIf",!i.loanDetails.summary),t.R7$(2),t.Y8G("ngIf",!i.loanDetails.summary))},dependencies:[xt.bT,G.Zl,G.tL,G.ji,G.cC,G.YV,G.iL,G.KS,G.$R,G.YZ,G.NB,Go.k,xt.oe,Nt.D9,ae.a,pe.p],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .performance-history-container[_ngcontent-%COMP%]{border:1px solid;padding:1%;margin-bottom:20px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;margin-bottom:20px}span[_ngcontent-%COMP%]{margin:.5em 0}"]})}}return n})();var Xs=Mt(56852),Ni=Mt(37314);function rd(n,a){if(1&n&&(t.j41(0,"span"),t.EFF(1,"\n "),t.j41(2,"span",7),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5),t.j41(6,"span",7),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"labels.commons.on")),t.R7$(2),t.SpI("",null==e.loanDetails.repaymentFrequencyNthDayType?null:e.loanDetails.repaymentFrequencyNthDayType.value,"\n "),t.R7$(2),t.JRh(t.i5U(8,5,null==e.loanDetails.repaymentFrequencyDayOfWeekType?null:e.loanDetails.repaymentFrequencyDayOfWeekType.value,"catalogs"))}}function sd(n,a){if(1&n&&(t.j41(0,"span",7),t.EFF(1,"\n "),t.DNE(2,rd,10,8,"span",8),t.EFF(3,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("ngIf",e.loanDetails.repaymentFrequencyDayOfWeekType)}}function ld(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,3,"labels.inputs.Fixed Length")," "),t.R7$(4),t.Lme("\n ",e.loanDetails.fixedLength," ",t.i5U(8,5,e.loanDetails.repaymentFrequencyType.value,"catalogs"),"")}}function cd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"formatNumber"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Principal Percentage Per Installment")," "),t.R7$(4),t.SpI(" ",t.bMT(8,4,e.loanDetails.fixedPrincipalPercentagePerInstallment)," %")}}function ud(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Income capitalization calculation type"),""),t.R7$(4),t.SpI("\n ",t.i5U(8,4,null==e.loanDetails.capitalizedIncomeCalculationType?null:e.loanDetails.capitalizedIncomeCalculationType.value,"catalogs"),"\n ")}}function md(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Income capitalization strategy"),""),t.R7$(4),t.SpI(" ",t.i5U(8,4,null==e.loanDetails.capitalizedIncomeStrategy?null:e.loanDetails.capitalizedIncomeStrategy.value,"catalogs")," ")}}function pd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Income capitalization type"),""),t.R7$(4),t.SpI(" ",t.i5U(8,4,null==e.loanDetails.capitalizedIncomeType?null:e.loanDetails.capitalizedIncomeType.value,"catalogs")," ")}}function dd(n,a){if(1&n&&(t.j41(0,"span",3),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI(" ",e.loanDetails.fundName," ")}}function fd(n,a){1&n&&(t.j41(0,"span",3),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"labels.inputs.Unassigned")," "))}function hd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"formatNumber"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Fixed EMI amount"),""),t.R7$(4),t.SpI(" ",t.bMT(8,4,e.loanDetails.fixedEmiAmount)," ")}}function Fd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"yesNo"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Is Topup Loan"),"?"),t.R7$(4),t.SpI(" ",t.bMT(8,4,e.loanDetails.isTopup)," ")}}function gd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7,"\n "),t.j41(8,"a",9),t.EFF(9),t.k0s(),t.EFF(10,"\n "),t.k0s(),t.EFF(11,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Loan closed with Topup")," "),t.R7$(6),t.JRh(e.loanDetails.closureLoanAccountNo)}}function _d(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"formatNumber"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Topup closure amount"),""),t.R7$(4),t.SpI(" ",t.bMT(8,4,e.loanDetails.topupAmount)," ")}}function bd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Interest recalculation compounding on"),""),t.R7$(4),t.SpI("\n ",t.i5U(8,4,e.loanDetails.interestRecalculationData.interestRecalculationCompoundingType.value,"catalogs"),"\n ")}}function Ed(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"translateKey"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Advance payments adjustment type"),""),t.R7$(4),t.SpI("\n ",t.i5U(8,4,e.loanDetails.interestRecalculationData.rescheduleStrategyType.value,"catalogs"),"\n ")}}function Cd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Frequency for recalculate Outstanding Principal"),""),t.R7$(4),t.SpI(" ",e.loanDetails.interestRecalculationData.calendarData.humanReadable," ")}}function vd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Frequency for compounding"),""),t.R7$(4),t.SpI(" ",e.loanDetails.interestRecalculationData.compoundingCalendarData.humanReadable," ")}}function yd(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"yesNo"),t.k0s(),t.EFF(9,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,2,"labels.inputs.Variable Installments Allowed"),""),t.R7$(4),t.SpI(" ",t.bMT(8,4,e.loanDetails.isVariableInstallmentsAllowed)," ")}}function Td(n,a){if(1&n&&(t.j41(0,"div",2),t.EFF(1,"\n "),t.j41(2,"span",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",3),t.EFF(7),t.nI1(8,"formatNumber"),t.nI1(9,"translate"),t.nI1(10,"formatNumber"),t.nI1(11,"translate"),t.k0s(),t.EFF(12,"\n "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,5,"labels.inputs.Gap between Installments"),""),t.R7$(4),t.LHq("\n ",t.bMT(8,7,e.loanDetails.minimumGap),"\xa0",t.bMT(9,9,"labels.text.Days"),"\xa0, Max:",t.bMT(10,11,e.loanDetails.maximumGap),"\xa0",t.bMT(11,13,"labels.text.Days"),"\n ")}}let Dd=(()=>{class n{constructor(e){this.route=e,this.route.parent.data.subscribe(o=>{this.loanDetails=o.loanDetailsData})}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(tt.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-account-details"]],decls:315,vars:177,consts:[[1,"container","p-b-20"],[1,"responsive-column"],[1,"flex-fill","layout-row"],[1,"flex-50"],["class","m-l-10",4,"ngIf"],["class","flex-fill layout-row",4,"ngIf"],["class","flex-50",4,"ngIf"],[1,"m-l-10"],[4,"ngIf"],["href","#"]],template:function(o,i){1&o&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.j41(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5,"\n\n "),t.j41(6,"div",1),t.EFF(7,"\n "),t.j41(8,"div",2),t.EFF(9,"\n "),t.j41(10,"span",3),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.EFF(13,"\n "),t.j41(14,"span",3),t.EFF(15),t.nI1(16,"translateKey"),t.k0s(),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n\n "),t.j41(19,"div",2),t.EFF(20,"\n "),t.j41(21,"span",3),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.EFF(24,"\n "),t.j41(25,"span",3),t.EFF(26),t.nI1(27,"translateKey"),t.DNE(28,sd,4,1,"span",4),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n\n "),t.DNE(32,ld,10,8,"div",5),t.EFF(33,"\n\n "),t.j41(34,"div",2),t.EFF(35,"\n "),t.j41(36,"span",3),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.EFF(39,"\n "),t.j41(40,"span",3),t.EFF(41),t.nI1(42,"translateKey"),t.k0s(),t.EFF(43,"\n "),t.k0s(),t.EFF(44,"\n\n "),t.DNE(45,cd,10,6,"div",5),t.EFF(46,"\n\n "),t.j41(47,"div",2),t.EFF(48,"\n "),t.j41(49,"span",3),t.EFF(50),t.nI1(51,"translate"),t.k0s(),t.EFF(52,"\n "),t.j41(53,"span",3),t.EFF(54),t.nI1(55,"yesNo"),t.k0s(),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n\n "),t.j41(58,"div",2),t.EFF(59,"\n "),t.j41(60,"span",3),t.EFF(61),t.nI1(62,"translate"),t.k0s(),t.EFF(63,"\n "),t.j41(64,"span",3),t.EFF(65),t.nI1(66,"formatNumber"),t.nI1(67,"translate"),t.nI1(68,"translateKey"),t.k0s(),t.EFF(69,"\n "),t.k0s(),t.EFF(70,"\n\n "),t.j41(71,"div",2),t.EFF(72,"\n "),t.j41(73,"span",3),t.EFF(74),t.nI1(75,"translate"),t.k0s(),t.EFF(76,"\n "),t.j41(77,"span",3),t.EFF(78),t.nI1(79,"translate"),t.k0s(),t.EFF(80,"\n "),t.k0s(),t.EFF(81,"\n\n "),t.j41(82,"div",2),t.EFF(83,"\n "),t.j41(84,"span",3),t.EFF(85),t.nI1(86,"translate"),t.k0s(),t.EFF(87,"\n "),t.j41(88,"span",3),t.EFF(89),t.nI1(90,"yesNo"),t.k0s(),t.EFF(91,"\n "),t.k0s(),t.EFF(92,"\n\n "),t.j41(93,"div",2),t.EFF(94,"\n "),t.j41(95,"span",3),t.EFF(96),t.nI1(97,"translate"),t.k0s(),t.EFF(98,"\n "),t.j41(99,"span",3),t.EFF(100),t.nI1(101,"translateKey"),t.k0s(),t.EFF(102,"\n "),t.k0s(),t.EFF(103,"\n\n "),t.j41(104,"div",2),t.EFF(105,"\n "),t.j41(106,"span",3),t.EFF(107),t.nI1(108,"translate"),t.k0s(),t.EFF(109,"\n "),t.j41(110,"span",3),t.EFF(111),t.nI1(112,"yesNo"),t.k0s(),t.EFF(113,"\n "),t.k0s(),t.EFF(114,"\n\n "),t.DNE(115,ud,10,7,"div",5),t.EFF(116,"\n\n "),t.DNE(117,md,10,7,"div",5),t.EFF(118,"\n\n "),t.DNE(119,pd,10,7,"div",5),t.EFF(120,"\n\n "),t.j41(121,"div",2),t.EFF(122,"\n "),t.j41(123,"span",3),t.EFF(124),t.nI1(125,"translate"),t.k0s(),t.EFF(126,"\n "),t.j41(127,"span",3),t.EFF(128),t.k0s(),t.EFF(129,"\n "),t.k0s(),t.EFF(130,"\n\n "),t.j41(131,"div",2),t.EFF(132,"\n "),t.j41(133,"span",3),t.EFF(134),t.nI1(135,"translate"),t.k0s(),t.EFF(136,"\n "),t.j41(137,"span",3),t.EFF(138),t.k0s(),t.EFF(139,"\n "),t.k0s(),t.EFF(140,"\n\n "),t.j41(141,"div",2),t.EFF(142,"\n "),t.j41(143,"span",3),t.EFF(144),t.nI1(145,"translate"),t.k0s(),t.EFF(146,"\n "),t.j41(147,"span",3),t.EFF(148),t.k0s(),t.EFF(149,"\n "),t.k0s(),t.EFF(150,"\n\n "),t.j41(151,"div",2),t.EFF(152,"\n "),t.j41(153,"span",3),t.EFF(154),t.nI1(155,"translate"),t.k0s(),t.EFF(156,"\n "),t.j41(157,"span",3),t.EFF(158),t.nI1(159,"yesNo"),t.k0s(),t.EFF(160,"\n "),t.k0s(),t.EFF(161,"\n\n "),t.j41(162,"div",2),t.EFF(163,"\n "),t.j41(164,"span",3),t.EFF(165),t.nI1(166,"translate"),t.k0s(),t.EFF(167,"\n "),t.DNE(168,dd,2,1,"span",6),t.EFF(169,"\n "),t.DNE(170,fd,3,3,"span",6),t.EFF(171,"\n "),t.k0s(),t.EFF(172,"\n\n "),t.j41(173,"div",2),t.EFF(174,"\n "),t.j41(175,"span",3),t.EFF(176),t.nI1(177,"translate"),t.k0s(),t.EFF(178,"\n "),t.j41(179,"span",3),t.EFF(180),t.k0s(),t.EFF(181,"\n "),t.k0s(),t.EFF(182,"\n\n "),t.j41(183,"div",2),t.EFF(184,"\n "),t.j41(185,"span",3),t.EFF(186),t.nI1(187,"translate"),t.k0s(),t.EFF(188,"\n "),t.j41(189,"span",3),t.EFF(190),t.nI1(191,"translateKey"),t.k0s(),t.EFF(192,"\n "),t.k0s(),t.EFF(193,"\n\n "),t.j41(194,"div",2),t.EFF(195,"\n "),t.j41(196,"span",3),t.EFF(197),t.nI1(198,"translate"),t.k0s(),t.EFF(199,"\n "),t.j41(200,"span",3),t.EFF(201),t.nI1(202,"yesNo"),t.k0s(),t.EFF(203,"\n "),t.k0s(),t.EFF(204,"\n\n "),t.j41(205,"div",2),t.EFF(206,"\n "),t.j41(207,"span",3),t.EFF(208),t.nI1(209,"translate"),t.k0s(),t.EFF(210,"\n "),t.j41(211,"span",3),t.EFF(212),t.nI1(213,"yesNo"),t.k0s(),t.EFF(214,"\n "),t.k0s(),t.EFF(215,"\n\n "),t.j41(216,"div",2),t.EFF(217,"\n "),t.j41(218,"span",3),t.EFF(219),t.nI1(220,"translate"),t.k0s(),t.EFF(221,"\n "),t.j41(222,"span",3),t.EFF(223),t.nI1(224,"dateFormat"),t.k0s(),t.EFF(225,"\n "),t.k0s(),t.EFF(226,"\n\n "),t.j41(227,"div",2),t.EFF(228,"\n "),t.j41(229,"span",3),t.EFF(230),t.nI1(231,"translate"),t.k0s(),t.EFF(232,"\n "),t.j41(233,"span",3),t.EFF(234),t.nI1(235,"dateFormat"),t.k0s(),t.EFF(236,"\n "),t.k0s(),t.EFF(237,"\n\n "),t.j41(238,"div",2),t.EFF(239,"\n "),t.j41(240,"span",3),t.EFF(241),t.nI1(242,"translate"),t.k0s(),t.EFF(243,"\n "),t.j41(244,"span",3),t.EFF(245),t.nI1(246,"dateFormat"),t.k0s(),t.EFF(247,"\n "),t.k0s(),t.EFF(248,"\n\n "),t.j41(249,"div",2),t.EFF(250,"\n "),t.j41(251,"span",3),t.EFF(252),t.nI1(253,"translate"),t.k0s(),t.EFF(254,"\n "),t.j41(255,"span",3),t.EFF(256),t.nI1(257,"dateFormat"),t.k0s(),t.EFF(258,"\n "),t.k0s(),t.EFF(259,"\n\n "),t.DNE(260,hd,10,6,"div",5),t.EFF(261,"\n\n "),t.DNE(262,Fd,10,6,"div",5),t.EFF(263,"\n\n "),t.DNE(264,gd,12,4,"div",5),t.EFF(265,"\n\n "),t.DNE(266,_d,10,6,"div",5),t.EFF(267,"\n\n "),t.j41(268,"div",2),t.EFF(269,"\n "),t.j41(270,"span",3),t.EFF(271),t.nI1(272,"translate"),t.k0s(),t.EFF(273,"\n "),t.j41(274,"span",3),t.EFF(275),t.nI1(276,"yesNo"),t.k0s(),t.EFF(277,"\n "),t.k0s(),t.EFF(278,"\n\n "),t.j41(279,"div",2),t.EFF(280,"\n "),t.j41(281,"span",3),t.EFF(282),t.nI1(283,"translate"),t.k0s(),t.EFF(284,"\n "),t.j41(285,"span",3),t.EFF(286),t.nI1(287,"translateKey"),t.k0s(),t.EFF(288,"\n "),t.k0s(),t.EFF(289,"\n\n "),t.j41(290,"div",2),t.EFF(291,"\n "),t.j41(292,"span",3),t.EFF(293),t.nI1(294,"translate"),t.k0s(),t.EFF(295,"\n "),t.j41(296,"span",3),t.EFF(297),t.nI1(298,"translateKey"),t.k0s(),t.EFF(299,"\n "),t.k0s(),t.EFF(300,"\n\n "),t.DNE(301,bd,10,7,"div",5),t.EFF(302,"\n\n "),t.DNE(303,Ed,10,7,"div",5),t.EFF(304,"\n\n "),t.DNE(305,Cd,9,4,"div",5),t.EFF(306,"\n\n "),t.DNE(307,vd,9,4,"div",5),t.EFF(308,"\n\n "),t.DNE(309,yd,10,6,"div",5),t.EFF(310,"\n\n "),t.DNE(311,Td,13,15,"div",5),t.EFF(312,"\n "),t.k0s(),t.EFF(313,"\n"),t.k0s(),t.EFF(314,"\n")),2&o&&(t.R7$(3),t.JRh(t.bMT(4,73,"labels.heading.Loan Details")),t.R7$(8),t.JRh(t.bMT(12,75,"labels.inputs.Repayment Strategy")),t.R7$(4),t.JRh(t.i5U(16,77,i.loanDetails.transactionProcessingStrategyName,"catalogs")),t.R7$(7),t.JRh(t.bMT(23,80,"labels.inputs.Repayments")),t.R7$(4),t.E5c("",i.loanDetails.numberOfRepayments," every ",i.loanDetails.repaymentEvery,"\xa0",t.i5U(27,82,i.loanDetails.repaymentFrequencyType.value,"catalogs"),"\n "),t.R7$(2),t.Y8G("ngIf",2===(null==i.loanDetails.repaymentFrequencyType?null:i.loanDetails.repaymentFrequencyType.id)&&0!==(null==i.loanDetails.repaymentFrequencyNthDayType?null:i.loanDetails.repaymentFrequencyNthDayType.id)&&0!==(null==i.loanDetails.repaymentFrequencyDayOfWeekType?null:i.loanDetails.repaymentFrequencyDayOfWeekType.id)),t.R7$(4),t.Y8G("ngIf",i.loanDetails.fixedLength),t.R7$(5),t.SpI(" ",t.bMT(38,85,"labels.inputs.Amortization")," "),t.R7$(4),t.SpI(" ",t.i5U(42,87,i.loanDetails.amortizationType.value,"catalogs")," "),t.R7$(4),t.Y8G("ngIf",i.loanDetails.fixedPrincipalPercentagePerInstallment),t.R7$(5),t.SpI(" ",t.bMT(51,90,"labels.inputs.Equal Amortization")," "),t.R7$(4),t.SpI(" ",t.bMT(55,92,i.loanDetails.isEqualAmortization)," "),t.R7$(7),t.SpI(" ",t.bMT(62,94,"labels.inputs.Interest")," "),t.R7$(4),t.LHq("\n ",t.bMT(66,96,i.loanDetails.annualInterestRate)," % ",t.bMT(67,98,"labels.text.per annum")," (",i.loanDetails.interestRatePerPeriod,"\n %\xa0 ",t.i5U(68,100,i.loanDetails.interestRateFrequencyType.value,"catalogs"),")\n "),t.R7$(9),t.SpI(" ",t.bMT(75,103,"labels.inputs.Interest Type")," "),t.R7$(4),t.SpI(" ",t.bMT(79,105,"labels.text."+i.loanDetails.interestType.value)," "),t.R7$(7),t.SpI("",t.bMT(86,107,"labels.inputs.Enable Down Payments"),":"),t.R7$(4),t.JRh(t.bMT(90,109,i.loanDetails.enableDownPayment)),t.R7$(7),t.SpI("",t.bMT(97,111,"labels.inputs.Loan Charge-off behaviour"),":"),t.R7$(4),t.JRh(t.i5U(101,113,i.loanDetails.chargeOffBehaviour.value,"catalogs")),t.R7$(7),t.SpI(" ",t.bMT(108,116,"labels.inputs.Enable income capitalization"),""),t.R7$(4),t.SpI(" ",t.bMT(112,118,i.loanDetails.enableIncomeCapitalization)," "),t.R7$(4),t.Y8G("ngIf",i.loanDetails.enableIncomeCapitalization),t.R7$(2),t.Y8G("ngIf",i.loanDetails.enableIncomeCapitalization),t.R7$(2),t.Y8G("ngIf",i.loanDetails.enableIncomeCapitalization),t.R7$(5),t.SpI(" ",t.bMT(125,120,"labels.inputs.Grace: On Principal Payment"),""),t.R7$(4),t.SpI(" ",i.loanDetails.graceOnPrincipalPayment," "),t.R7$(6),t.SpI(" ",t.bMT(135,122,"labels.inputs.Grace: On Interest Payment"),""),t.R7$(4),t.SpI(" ",i.loanDetails.graceOnInterestPayment," "),t.R7$(6),t.SpI(" ",t.bMT(145,124,"labels.inputs.Grace on Arrears Ageing"),""),t.R7$(4),t.SpI(" ",i.loanDetails.graceOnArrearsAgeing," "),t.R7$(6),t.SpI(" ",t.bMT(155,126,"labels.inputs.Enable installment level Delinquency")," "),t.R7$(4),t.SpI(" ",t.bMT(159,128,i.loanDetails.enableInstallmentLevelDelinquency)," "),t.R7$(7),t.SpI(" ",t.bMT(166,130,"labels.inputs.Fund Source")," "),t.R7$(3),t.Y8G("ngIf",i.loanDetails.fundName),t.R7$(2),t.Y8G("ngIf",!i.loanDetails.fundName),t.R7$(6),t.SpI(" ",t.bMT(177,132,"labels.inputs.Interest Free Period"),""),t.R7$(4),t.SpI(" ",i.loanDetails.graceOnInterestCharged," "),t.R7$(6),t.SpI(" ",t.bMT(187,134,"labels.inputs.Interest Calculation Period"),""),t.R7$(4),t.SpI(" ",t.i5U(191,136,i.loanDetails.interestCalculationPeriodType.value,"catalogs")," "),t.R7$(7),t.SpI("\n ",t.bMT(198,139,"labels.inputs.Allow Partial Interest Calculation with same as repayment"),""),t.R7$(4),t.SpI(" ",t.bMT(202,141,i.loanDetails.allowPartialPeriodInterestCalculation)," "),t.R7$(7),t.SpI("",t.bMT(209,143,"labels.inputs.Is interest recognition on disbursement date?"),":"),t.R7$(4),t.JRh(t.bMT(213,145,i.loanDetails.interestRecognitionOnDisbursementDate)),t.R7$(7),t.SpI(" ",t.bMT(220,147,"labels.inputs.Submitted on"),""),t.R7$(4),t.SpI(" ",t.bMT(224,149,i.loanDetails.timeline.submittedOnDate)," "),t.R7$(7),t.SpI(" ",t.bMT(231,151,"labels.inputs.Approved on"),""),t.R7$(4),t.SpI(" ",t.bMT(235,153,i.loanDetails.timeline.approvedOnDate)," "),t.R7$(7),t.SpI(" ",t.bMT(242,155,"labels.inputs.Disbursed on"),""),t.R7$(4),t.SpI(" ",t.bMT(246,157,i.loanDetails.timeline.actualDisbursementDate)," "),t.R7$(7),t.SpI(" ",t.bMT(253,159,"labels.inputs.Matures on"),""),t.R7$(4),t.SpI(" ",t.bMT(257,161,i.loanDetails.timeline.expectedMaturityDate)," "),t.R7$(4),t.Y8G("ngIf",i.loanDetails.canDefineInstallmentAmount),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isTopup),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isTopup),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isTopup),t.R7$(5),t.SpI(" ",t.bMT(272,163,"labels.inputs.Recalculate Interest based on new terms"),""),t.R7$(4),t.SpI(" ",t.bMT(276,165,i.loanDetails.isInterestRecalculationEnabled)," "),t.R7$(7),t.SpI(" ",t.bMT(283,167,"labels.inputs.Days in year"),""),t.R7$(4),t.SpI(" ",t.i5U(287,169,i.loanDetails.daysInYearType.value,"catalogs")," "),t.R7$(7),t.SpI(" ",t.bMT(294,172,"labels.inputs.Days in month"),""),t.R7$(4),t.SpI(" ",t.i5U(298,174,i.loanDetails.daysInMonthType.value,"catalogs")," "),t.R7$(4),t.Y8G("ngIf",i.loanDetails.isInterestRecalculationEnabled),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isInterestRecalculationEnabled),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isInterestRecalculationEnabled),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isInterestRecalculationEnabled&&0!==i.loanDetails.interestRecalculationData.interestRecalculationCompoundingType.id),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isVariableInstallmentsAllowed),t.R7$(2),t.Y8G("ngIf",i.loanDetails.isVariableInstallmentsAllowed))},dependencies:[xt.bT,Nt.D9,ae.a,pe.p,Xs.t,Ni.D],styles:["table[_ngcontent-%COMP%]{width:100%}span[_ngcontent-%COMP%]{margin:.5em 0}"]})}}return n})();var xd=Mt(47044),Pd=Mt(91505);let Md=(()=>{class n{constructor(e,o,i){this.route=e,this.loansService=o,this.authenticationService=i;const r=this.authenticationService.getCredentials();this.username=r.username,this.entityId=this.route.parent.snapshot.params.loanId,this.route.data.subscribe(s=>{this.entityNotes=s.loanNotes})}ngOnInit(){this.route.parent.params.subscribe(e=>{this.entityId=e.loanId})}addNote(e){this.loansService.createLoanNote(this.entityId,e).subscribe(o=>{this.entityNotes.push({id:o.resourceId,createdByUsername:this.username,createdOn:new Date,note:e.note})})}editNote(e,o,i){this.loansService.editLoanNote(this.entityId,e,o).subscribe(()=>{this.entityNotes[i].note=o.note})}deleteNote(e,o){this.loansService.deleteLoanNote(this.entityId,e).subscribe(()=>{this.entityNotes.splice(o,1)})}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(tt.nX),t.rXU(Gt.F),t.rXU(xd.k))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mifosx-notes-tab"]],decls:3,vars:5,consts:[[3,"entityId","entityNotes","callbackAdd","callbackEdit","callbackDelete"]],template:function(o,i){1&o&&(t.j41(0,"mifosx-entity-notes-tab",0),t.EFF(1,"\n"),t.k0s(),t.EFF(2,"\n")),2&o&&t.Y8G("entityId",i.entityId)("entityNotes",i.entityNotes)("callbackAdd",i.addNote)("callbackEdit",i.editNote)("callbackDelete",i.deleteNote)},dependencies:[Pd.x]})}}return n})();var fn=Mt(6427),an=Mt(52864),ve=Mt(64682),Ca=Mt(8979),Xe=Mt(6841),An=Mt(82284),On=Uint8Array,ke=Uint16Array,Li=Int32Array,qo=new On([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Bo=new On([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),$i=new On([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ic=function(n,a){for(var e=new ke(31),o=0;o<31;++o)e[o]=a+=1<>1|(21845&Gn)<<1;Gi[Gn]=((65280&(Ka=(61680&(Ka=(52428&Ka)>>2|(13107&Ka)<<2))>>4|(3855&Ka)<<4))>>8|(255&Ka)<<8)>>1}var Je=function(n,a,e){for(var o=n.length,i=0,r=new ke(a);i>m]=d}else for(c=new ke(o),i=0;i>15-n[i]);return c},Na=new On(288);for(Gn=0;Gn<144;++Gn)Na[Gn]=8;for(Gn=144;Gn<256;++Gn)Na[Gn]=9;for(Gn=256;Gn<280;++Gn)Na[Gn]=7;for(Gn=280;Gn<288;++Gn)Na[Gn]=8;var Yo=new On(32);for(Gn=0;Gn<32;++Gn)Yo[Gn]=5;var jc=Je(Na,9,0),Nc=Je(Na,9,1),Lc=Je(Yo,5,0),$c=Je(Yo,5,1),Pr=function(n){for(var a=n[0],e=1;ea&&(a=n[e]);return a},He=function(n,a,e){var o=a/8|0;return(n[o]|n[o+1]<<8)>>(7&a)&e},Mr=function(n,a){var e=a/8|0;return(n[e]|n[e+1]<<8|n[e+2]<<16)>>(7&a)},qi=function(n){return(n+7)/8|0},Qa=function(n,a,e){return(null==a||a<0)&&(a=0),(null==e||e>n.length)&&(e=n.length),new On(n.subarray(a,e))},Gc=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Cn=function(n,a,e){var o=new Error(a||Gc[n]);if(o.code=n,Error.captureStackTrace&&Error.captureStackTrace(o,Cn),!e)throw o;return o},va=function(n,a,e){var o=a/8|0;n[o]|=e<<=7&a,n[o+1]|=e>>8},Vo=function(n,a,e){var o=a/8|0;n[o]|=e<<=7&a,n[o+1]|=e>>8,n[o+2]|=e>>16},kr=function(n,a){for(var e=[],o=0;oE&&(E=r[o].s);var h=new ke(E+1),R=Rr(e[F-1],h,0);if(R>a){o=0;var O=0,w=R-a,x=1<a))break;O+=x-(1<>=w;O>0;){var V=r[o].s;h[V]=0&&O;--o){var K=r[o].s;h[K]==a&&(--h[K],++O)}R=a}return{t:new On(h),l:R}},Rr=function(n,a,e){return-1==n.s?Math.max(Rr(n.l,a,e+1),Rr(n.r,a,e+1)):a[n.s]=e},Ws=function(n){for(var a=n.length;a&&!n[--a];);for(var e=new ke(++a),o=0,i=n[0],r=1,s=function(m){e[o++]=m},c=1;c<=a;++c)if(n[c]==i&&c!=a)++r;else{if(!i&&r>2){for(;r>138;r-=138)s(32754);r>2&&(s(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(s(i),--r;r>6;r-=6)s(8304);r>2&&(s(r-3<<5|8208),r=0)}for(;r--;)s(i);r=1,i=n[c]}return{c:e.subarray(0,o),n:a}},zo=function(n,a){for(var e=0,o=0;o>8,n[i+2]=255^n[i],n[i+3]=255^n[i+1];for(var r=0;r4&&!gt[$i[I-1]];--I);var st,ft,ot,ht,J=d+5<<3,B=zo(i,Na)+zo(r,Yo)+s,mt=zo(i,E)+zo(r,O)+s+14+3*I+zo(nt,gt)+2*nt[16]+3*nt[17]+7*nt[18];if(m>=0&&J<=B&&J<=mt)return Zs(a,F,n.subarray(m,m+d));if(va(a,F,1+(mt15&&(va(a,F,j[q]>>5&127),F+=j[q]>>12)}}else st=jc,ft=Na,ot=Lc,ht=Yo;for(q=0;q255){var L;Vo(a,F,st[257+(L=z>>18&31)]),F+=ft[L+257],L>7&&(va(a,F,z>>23&31),F+=qo[L]);var Z=31&z;Vo(a,F,ot[Z]),F+=ht[Z],Z>3&&(Vo(a,F,z>>5&8191),F+=Bo[Z])}else Vo(a,F,st[z]),F+=ft[z]}return Vo(a,F,st[256]),F+ft[256]},qc=new Li([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Qs=new On(0),tl=function(){var n=1,a=0;return{p:function(e){for(var o=n,i=a,r=0|e.length,s=0;s!=r;){for(var c=Math.min(s+2655,r);s>16),i=(65535&i)+15*(i>>16)}n=o,a=i},d:function(){return(255&(n%=65521))<<24|(65280&n)<<8|(255&(a%=65521))<<8|a>>8}}},wr=function(n,a,e,o,i){if(!i&&(i={l:1},a.dictionary)){var r=a.dictionary.subarray(-32768),s=new On(r.length+n.length);s.set(r),s.set(n,r.length),n=s,i.w=r.length}return function(n,a,e,o,i,r){var s=r.z||n.length,c=new On(o+s+5*(1+Math.ceil(s/7e3))+i),m=c.subarray(o,c.length-i),d=r.l,F=7&(r.r||0);if(a){F&&(m[0]=r.r>>3);for(var _=qc[a-1],E=_>>13,h=8191&_,R=(1<7e3||gt>24576)&&(st>423||!d)){F=Ks(n,m,0,K,ut,yt,q,gt,I,it-I,F),gt=nt=q=0,I=it;for(var ft=0;ft<286;++ft)ut[ft]=0;for(ft=0;ft<30;++ft)yt[ft]=0}var ot=2,ht=0,_t=h,qt=B-mt&32767;if(st>2&&J==V(it-qt))for(var D=Math.min(E,st)-1,j=Math.min(32767,it),L=Math.min(258,st);qt<=j&&--_t&&B!=mt;){if(n[it+ot]==n[it+ot-qt]){for(var z=0;zot){if(ot=z,ht=qt,z>D)break;var Z=Math.min(qt,z-2),rt=0;for(ft=0;ftrt&&(rt=Rt,mt=lt)}}}qt+=(B=mt)-(mt=O[B])&32767}if(ht){K[gt++]=268435456|xr[ot]<<18|Hs[ht];var kt=31&xr[ot],$t=31&Hs[ht];q+=qo[kt]+Bo[$t],++ut[257+kt],++yt[$t],k=it+ot,++nt}else K[gt++]=n[it],++ut[n[it]]}}for(it=Math.max(it,k);it=s&&(m[F/8|0]=d,St=s),F=Zs(m,F+1,n.subarray(it,St))}r.i=s}return Qa(c,0,o+qi(F)+i)}(n,null==a.level?6:a.level,null==a.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(n.length)))):20:12+a.mem,e,o,i)},Yn=function(n,a,e){for(;e;++a)n[a]=e,e>>>=8};function Yi(n,a){a||(a={});var e=tl();e.p(n);var o=wr(n,a,a.dictionary?6:2,4);return function(n,a){var e=a.level,o=0==e?0:e<6?1:9==e?3:2;if(n[0]=120,n[1]=o<<6|(a.dictionary&&32),n[1]|=31-(n[0]<<8|n[1])%31,a.dictionary){var i=tl();i.p(a.dictionary),Yn(n,2,i.d())}}(o,a),Yn(o,o.length-4,e.d()),o}function Nr(n,a){return function(n,a,e,o){var i=n.length,r=o?o.length:0;if(!i||a.f&&!a.l)return e||new On(0);var s=!e,c=s||2!=a.i,m=a.i;s&&(e=new On(3*i));var d=function(kt){var $t=e.length;if(kt>$t){var St=new On(Math.max(2*$t,kt));St.set(e),e=St}},F=a.f||0,_=a.p||0,E=a.b||0,h=a.l,R=a.d,O=a.m,w=a.n,x=8*i;do{if(!h){F=He(n,_,1);var S=He(n,_+1,3);if(_+=3,!S){var K=n[(V=qi(_)+4)-4]|n[V-3]<<8,ut=V+K;if(ut>i){m&&Cn(0);break}c&&d(E+K),e.set(n.subarray(V,ut),E),a.b=E+=K,a.p=_=8*ut,a.f=F;continue}if(1==S)h=Nc,R=$c,O=9,w=5;else if(2==S){var yt=He(n,_,31)+257,nt=He(n,_+10,15)+4,q=yt+He(n,_+5,31)+1;_+=14;for(var it=new On(q),gt=new On(19),k=0;k>4)<16)it[k++]=V;else{var st=0,ft=0;for(16==V?(ft=3+He(n,_,3),_+=2,st=it[k-1]):17==V?(ft=3+He(n,_,7),_+=3):18==V&&(ft=11+He(n,_,127),_+=7);ft--;)it[k++]=st}}var ot=it.subarray(0,yt),ht=it.subarray(yt);O=Pr(ot),w=Pr(ht),h=Je(ot,O,1),R=Je(ht,w,1)}else Cn(1);if(_>x){m&&Cn(0);break}}c&&d(E+131072);for(var _t=(1<>4;if((_+=15&st)>x){m&&Cn(0);break}if(st||Cn(2),j<256)e[E++]=j;else{if(256==j){D=_,h=null;break}var L=j-254;j>264&&(L=He(n,_,(1<<(z=qo[k=j-257]))-1)+Js[k],_+=z);var Z=R[Mr(n,_)&qt],rt=Z>>4;if(Z||Cn(3),_+=15&Z,ht=Sc[rt],rt>3){var z=Bo[rt];ht+=Mr(n,_)&(1<x){m&&Cn(0);break}c&&d(E+131072);var lt=E+L;if(E>4>7||(n[0]<<8|n[1])%31)&&Cn(6,"invalid zlib data"),(n[1]>>5&1)==+!a&&Cn(6,"invalid zlib data: "+(32&n[1]?"need":"unexpected")+" dictionary"),2+(n[1]>>3&4)}(n,a&&a.dictionary),-4),{i:2},a&&a.out,a&&a.dictionary)}var sl=typeof TextDecoder<"u"&&new TextDecoder;try{sl.decode(Qs,{stream:!0})}catch{}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;var tn=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function ll(){tn.console&&"function"==typeof tn.console.log&&tn.console.log.apply(tn.console,arguments)}var Sn={log:ll,warn:function(n){tn.console&&("function"==typeof tn.console.warn?tn.console.warn.apply(tn.console,arguments):ll.call(null,arguments))},error:function(n){tn.console&&("function"==typeof tn.console.error?tn.console.error.apply(tn.console,arguments):ll(n))}};function cl(n,a,e){var o=new XMLHttpRequest;o.open("GET",n),o.responseType="blob",o.onload=function(){bo(o.response,a,e)},o.onerror=function(){Sn.error("could not download file")},o.send()}function ou(n){var a=new XMLHttpRequest;a.open("HEAD",n,!1);try{a.send()}catch{}return a.status>=200&&a.status<=299}function qr(n){try{n.dispatchEvent(new MouseEvent("click"))}catch{var a=document.createEvent("MouseEvents");a.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),n.dispatchEvent(a)}}var zi,ul,bo=tn.saveAs||("object"!==(typeof window>"u"?"undefined":(0,An.A)(window))||window!==tn?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(n,a,e){var o=tn.URL||tn.webkitURL,i=document.createElement("a");i.download=a=a||n.name||"download",i.rel="noopener","string"==typeof n?(i.href=n,i.origin!==location.origin?ou(i.href)?cl(n,a,e):qr(i,i.target="_blank"):qr(i)):(i.href=o.createObjectURL(n),setTimeout(function(){o.revokeObjectURL(i.href)},4e4),setTimeout(function(){qr(i)},0))}:"msSaveOrOpenBlob"in navigator?function(n,a,e){if(a=a||n.name||"download","string"==typeof n)if(ou(n))cl(n,a,e);else{var o=document.createElement("a");o.href=n,o.target="_blank",setTimeout(function(){qr(o)})}else navigator.msSaveOrOpenBlob((i=n,void 0===(r=e)?r={autoBom:!1}:"object"!==(0,An.A)(r)&&(Sn.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\ufeff",i],{type:i.type}):i),a);var i,r}:function(n,a,e,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof n)return cl(n,a,e);var i="application/octet-stream"===n.type,r=/constructor/i.test(tn.HTMLElement)||tn.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&r)&&"object"===(typeof FileReader>"u"?"undefined":(0,An.A)(FileReader))){var c=new FileReader;c.onloadend=function(){var F=c.result;F=s?F:F.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=F:location=F,o=null},c.readAsDataURL(n)}else{var m=tn.URL||tn.webkitURL,d=m.createObjectURL(n);o?o.location=d:location.href=d,o=null,setTimeout(function(){m.revokeObjectURL(d)},4e4)}});function iu(n){var a;n=n||"",this.ok=!1,"#"==n.charAt(0)&&(n=n.substr(1,6)),n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[n=(n=n.replace(/ /g,"")).toLowerCase()]||n;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]}}],o=0;o255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var c=this.r.toString(16),m=this.g.toString(16),d=this.b.toString(16);return 1==c.length&&(c="0"+c),1==m.length&&(m="0"+m),1==d.length&&(d="0"+d),"#"+c+m+d}}function ml(n,a){var e=n[0],o=n[1],i=n[2],r=n[3];e=ye(e,o,i,r,a[0],7,-680876936),r=ye(r,e,o,i,a[1],12,-389564586),i=ye(i,r,e,o,a[2],17,606105819),o=ye(o,i,r,e,a[3],22,-1044525330),e=ye(e,o,i,r,a[4],7,-176418897),r=ye(r,e,o,i,a[5],12,1200080426),i=ye(i,r,e,o,a[6],17,-1473231341),o=ye(o,i,r,e,a[7],22,-45705983),e=ye(e,o,i,r,a[8],7,1770035416),r=ye(r,e,o,i,a[9],12,-1958414417),i=ye(i,r,e,o,a[10],17,-42063),o=ye(o,i,r,e,a[11],22,-1990404162),e=ye(e,o,i,r,a[12],7,1804603682),r=ye(r,e,o,i,a[13],12,-40341101),i=ye(i,r,e,o,a[14],17,-1502002290),e=Te(e,o=ye(o,i,r,e,a[15],22,1236535329),i,r,a[1],5,-165796510),r=Te(r,e,o,i,a[6],9,-1069501632),i=Te(i,r,e,o,a[11],14,643717713),o=Te(o,i,r,e,a[0],20,-373897302),e=Te(e,o,i,r,a[5],5,-701558691),r=Te(r,e,o,i,a[10],9,38016083),i=Te(i,r,e,o,a[15],14,-660478335),o=Te(o,i,r,e,a[4],20,-405537848),e=Te(e,o,i,r,a[9],5,568446438),r=Te(r,e,o,i,a[14],9,-1019803690),i=Te(i,r,e,o,a[3],14,-187363961),o=Te(o,i,r,e,a[8],20,1163531501),e=Te(e,o,i,r,a[13],5,-1444681467),r=Te(r,e,o,i,a[2],9,-51403784),i=Te(i,r,e,o,a[7],14,1735328473),e=De(e,o=Te(o,i,r,e,a[12],20,-1926607734),i,r,a[5],4,-378558),r=De(r,e,o,i,a[8],11,-2022574463),i=De(i,r,e,o,a[11],16,1839030562),o=De(o,i,r,e,a[14],23,-35309556),e=De(e,o,i,r,a[1],4,-1530992060),r=De(r,e,o,i,a[4],11,1272893353),i=De(i,r,e,o,a[7],16,-155497632),o=De(o,i,r,e,a[10],23,-1094730640),e=De(e,o,i,r,a[13],4,681279174),r=De(r,e,o,i,a[0],11,-358537222),i=De(i,r,e,o,a[3],16,-722521979),o=De(o,i,r,e,a[6],23,76029189),e=De(e,o,i,r,a[9],4,-640364487),r=De(r,e,o,i,a[12],11,-421815835),i=De(i,r,e,o,a[15],16,530742520),e=xe(e,o=De(o,i,r,e,a[2],23,-995338651),i,r,a[0],6,-198630844),r=xe(r,e,o,i,a[7],10,1126891415),i=xe(i,r,e,o,a[14],15,-1416354905),o=xe(o,i,r,e,a[5],21,-57434055),e=xe(e,o,i,r,a[12],6,1700485571),r=xe(r,e,o,i,a[3],10,-1894986606),i=xe(i,r,e,o,a[10],15,-1051523),o=xe(o,i,r,e,a[1],21,-2054922799),e=xe(e,o,i,r,a[8],6,1873313359),r=xe(r,e,o,i,a[15],10,-30611744),i=xe(i,r,e,o,a[6],15,-1560198380),o=xe(o,i,r,e,a[13],21,1309151649),e=xe(e,o,i,r,a[4],6,-145523070),r=xe(r,e,o,i,a[11],10,-1120210379),i=xe(i,r,e,o,a[2],15,718787259),o=xe(o,i,r,e,a[9],21,-343485551),n[0]=no(e,n[0]),n[1]=no(o,n[1]),n[2]=no(i,n[2]),n[3]=no(r,n[3])}function Br(n,a,e,o,i,r){return a=no(no(a,n),no(o,r)),no(a<>>32-i,e)}function ye(n,a,e,o,i,r,s){return Br(a&e|~a&o,n,a,i,r,s)}function Te(n,a,e,o,i,r,s){return Br(a&o|e&~o,n,a,i,r,s)}function De(n,a,e,o,i,r,s){return Br(a^e^o,n,a,i,r,s)}function xe(n,a,e,o,i,r,s){return Br(e^(a|~o),n,a,i,r,s)}function ru(n){var a,e=n.length,o=[1732584193,-271733879,-1732584194,271733878];for(a=64;a<=n.length;a+=64)ml(o,Bd(n.substring(a-64,a)));n=n.substring(a-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(a=0;a>2]|=n.charCodeAt(a)<<(a%4<<3);if(i[a>>2]|=128<<(a%4<<3),a>55)for(ml(o,i),a=0;a<16;a++)i[a]=0;return i[14]=8*e,ml(o,i),o}function Bd(n){var a,e=[];for(a=0;a<64;a+=4)e[a>>2]=n.charCodeAt(a)+(n.charCodeAt(a+1)<<8)+(n.charCodeAt(a+2)<<16)+(n.charCodeAt(a+3)<<24);return e}zi=tn.atob.bind(tn),ul=tn.btoa.bind(tn);var su="0123456789abcdef".split("");function Yd(n){for(var a="",e=0;e<4;e++)a+=su[n>>8*e+4&15]+su[n>>8*e&15];return a}function Vd(n){return String.fromCharCode(255&n,(65280&n)>>8,(16711680&n)>>16,(4278190080&n)>>24)}function pl(n){return ru(n).map(Vd).join("")}var zd="5d41402abc4b2a76b9719d911017c592"!=function(n){for(var a=0;a>16)+(a>>16)+(e>>16)<<16|65535&e}return n+a&4294967295}function dl(n,a){var e,o,i;if(n!==e){for(var s=(i=n,new Array(1+(256/n.length|0)+1).join(i)),c=[],m=0;m<256;m++)c[m]=m;var d=0;for(m=0;m<256;m++){var F=c[m];d=(d+F+s.charCodeAt(m))%256,c[m]=c[d],c[d]=F}e=n,o=c}else c=o;var _=a.length,E=0,h=0,R="";for(m=0;m<_;m++)h=(h+(F=c[E=(E+1)%256]))%256,c[E]=c[h],c[h]=F,s=c[(c[E]+c[h])%256],R+=String.fromCharCode(a.charCodeAt(m)^s);return R}var lu={print:4,modify:8,copy:16,"annot-forms":32};function Xo(n,a,e,o){this.v=1,this.r=2;var i=192;n.forEach(function(c){if(void 0!==lu.perm)throw new Error("Invalid permission: "+c);i+=lu[c]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var r=(a+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(r,s),this.P=-(1+(255^i)),this.encryptionKey=pl(r+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(o)).substr(0,5),this.U=dl(this.encryptionKey,this.padding)}function Jo(n){if(/[^\u0000-\u00ff]/.test(n))throw new Error("Invalid PDF Name Object: "+n+", Only accept ASCII characters.");for(var a="",e=n.length,o=0;o126?"#"+("0"+i.toString(16)).slice(-2):n[o]}return a}function cu(n){if("object"!==(0,An.A)(n))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var a={};this.subscribe=function(e,o,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof o||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");a.hasOwnProperty(e)||(a[e]={});var r=Math.random().toString(35);return a[e][r]=[o,!!i],r},this.unsubscribe=function(e){for(var o in a)if(a[o][e])return delete a[o][e],0===Object.keys(a[o]).length&&delete a[o],!0;return!1},this.publish=function(e){if(a.hasOwnProperty(e)){var o=Array.prototype.slice.call(arguments,1),i=[];for(var r in a[e]){var s=a[e][r];try{s[0].apply(n,o)}catch(c){tn.console&&Sn.error("jsPDF PubSub Error",c.message,c)}s[1]&&i.push(r)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return a}}function Yr(n){if(!(this instanceof Yr))return new Yr(n);var a="opacity,stroke-opacity".split(",");for(var e in n)n.hasOwnProperty(e)&&a.indexOf(e)>=0&&(this[e]=n[e]);this.id="",this.objectNumber=-1}function uu(n,a){this.gState=n,this.matrix=a,this.id="",this.objectNumber=-1}function Eo(n,a,e,o,i){if(!(this instanceof Eo))return new Eo(n,a,e,o,i);this.type="axial"===n?2:3,this.coords=a,this.colors=e,uu.call(this,o,i)}function Ho(n,a,e,o,i){if(!(this instanceof Ho))return new Ho(n,a,e,o,i);this.boundingBox=n,this.xStep=a,this.yStep=e,this.stream="",this.cloneIndex=0,uu.call(this,o,i)}function Kt(n){var a,e="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],r=arguments[3],s=[],c=1,m=16,d="S",F=null;"object"===(0,An.A)(n=n||{})&&(e=n.orientation,o=n.unit||o,i=n.format||i,r=n.compress||n.compressPdf||r,null!==(F=n.encryption||null)&&(F.userPassword=F.userPassword||"",F.ownerPassword=F.ownerPassword||"",F.userPermissions=F.userPermissions||[]),c="number"==typeof n.userUnit?Math.abs(n.userUnit):1,void 0!==n.precision&&(a=n.precision),void 0!==n.floatPrecision&&(m=n.floatPrecision),d=n.defaultPathOperation||"S"),s=n.filters||(!0===r?["FlateEncode"]:s),o=o||"mm",e=(""+(e||"P")).toLowerCase();var _=n.putOnlyUsedFonts||!1,E={},h={internal:{},__private__:{}};h.__private__.PubSub=cu;var R="1.3",O=h.__private__.getPdfVersion=function(){return R};h.__private__.setPdfVersion=function(p){R=p};var w={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return w};var x=h.__private__.getPageFormat=function(p){return w[p]};i=i||"a4";var V="compat";function K(){this.saveGraphicsState(),$(new Qt(Yt,0,0,-Yt,0,ro()*Yt).toString()+" cm"),this.setFontSize(this.getFontSize()/Yt),d="n",V="advanced"}function ut(){this.restoreGraphicsState(),d="S",V="compat"}var yt=h.__private__.combineFontStyleAndFontWeight=function(p,v){if("bold"==p&&"normal"==v||"bold"==p&&400==v||"normal"==p&&"italic"==v||"bold"==p&&"italic"==v)throw new Error("Invalid Combination of fontweight and fontstyle");return v&&(p=400==v||"normal"===v?"italic"===p?"italic":"normal":700!=v&&"bold"!==v||"normal"!==p?(700==v?"bold":v)+""+p:"bold"),p};h.advancedAPI=function(p){var v="compat"===V;return v&&K.call(this),"function"!=typeof p||(p(this),v&&ut.call(this)),this},h.compatAPI=function(p){var v="advanced"===V;return v&&ut.call(this),"function"!=typeof p||(p(this),v&&K.call(this)),this},h.isAdvancedAPI=function(){return"advanced"===V};var nt,q=function(p){if("advanced"!==V)throw new Error(p+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},it=h.roundToPrecision=h.__private__.roundToPrecision=function(p,v){var N=a||v;if(isNaN(p)||isNaN(N))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return p.toFixed(N).replace(/0+$/,"")};nt=h.hpf=h.__private__.hpf="number"==typeof m?function(p){if(isNaN(p))throw new Error("Invalid argument passed to jsPDF.hpf");return it(p,m)}:"smart"===m?function(p){if(isNaN(p))throw new Error("Invalid argument passed to jsPDF.hpf");return it(p,p>-1&&p<1?16:5)}:function(p){if(isNaN(p))throw new Error("Invalid argument passed to jsPDF.hpf");return it(p,16)};var gt=h.f2=h.__private__.f2=function(p){if(isNaN(p))throw new Error("Invalid argument passed to jsPDF.f2");return it(p,2)},k=h.__private__.f3=function(p){if(isNaN(p))throw new Error("Invalid argument passed to jsPDF.f3");return it(p,3)},I=h.scale=h.__private__.scale=function(p){if(isNaN(p))throw new Error("Invalid argument passed to jsPDF.scale");return"compat"===V?p*Yt:"advanced"===V?p:void 0},B=function(p){return I(function(p){return"compat"===V?ro()-p:"advanced"===V?p:void 0}(p))};h.__private__.setPrecision=h.setPrecision=function(p){"number"==typeof parseInt(p,10)&&(a=parseInt(p,10))};var mt,st="00000000000000000000000000000000",ft=h.__private__.getFileId=function(){return st},ot=h.__private__.setFileId=function(p){return st=void 0!==p&&/^[a-fA-F0-9]{32}$/.test(p)?p.toUpperCase():st.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==F&&(Me=new Xo(F.userPermissions,F.userPassword,F.ownerPassword,st)),st};h.setFileId=function(p){return ot(p),this},h.getFileId=function(){return ft()};var ht=h.__private__.convertDateToPDFDate=function(p){var v=p.getTimezoneOffset(),N=v<0?"+":"-",Y=Math.floor(Math.abs(v/60)),Q=Math.abs(v%60),Ft=[N,L(Y),"'",L(Q),"'"].join("");return["D:",p.getFullYear(),L(p.getMonth()+1),L(p.getDate()),L(p.getHours()),L(p.getMinutes()),L(p.getSeconds()),Ft].join("")},_t=h.__private__.convertPDFDateToDate=function(p){var v=parseInt(p.substr(2,4),10),N=parseInt(p.substr(6,2),10)-1,Y=parseInt(p.substr(8,2),10),Q=parseInt(p.substr(10,2),10),Ft=parseInt(p.substr(12,2),10),Pt=parseInt(p.substr(14,2),10);return new Date(v,N,Y,Q,Ft,Pt,0)},qt=h.__private__.setCreationDate=function(p){var v;if(void 0===p&&(p=new Date),p instanceof Date)v=ht(p);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(p))throw new Error("Invalid argument passed to jsPDF.setCreationDate");v=p}return mt=v},D=h.__private__.getCreationDate=function(p){var v=mt;return"jsDate"===p&&(v=_t(mt)),v};h.setCreationDate=function(p){return qt(p),this},h.getCreationDate=function(p){return D(p)};var j,L=h.__private__.padd2=function(p){return("0"+parseInt(p)).slice(-2)},z=h.__private__.padd2Hex=function(p){return("00"+(p=p.toString())).substr(p.length)},Z=0,rt=[],lt=[],ct=0,Rt=[],kt=[],$t=!1,St=lt;h.__private__.setCustomOutputDestination=function(p){$t=!0,St=p};var bt=function(p){$t||(St=p)};h.__private__.resetCustomOutputDestination=function(){$t=!1,St=lt};var $=h.__private__.out=function(p){return p=p.toString(),ct+=p.length+1,St.push(p),St},un=h.__private__.write=function(p){return $(1===arguments.length?p.toString():Array.prototype.join.call(arguments," "))},Jt=h.__private__.getArrayBuffer=function(p){for(var v=p.length,N=new ArrayBuffer(v),Y=new Uint8Array(N);v--;)Y[v]=p.charCodeAt(v);return N},Ot=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return Ot};var wt=n.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(p){return wt="advanced"===V?p/Yt:p,this};var Bt,Lt=h.__private__.getFontSize=h.getFontSize=function(){return"compat"===V?wt:wt*Yt},Ht=n.R2L||!1;h.__private__.setR2L=h.setR2L=function(p){return Ht=p,this},h.__private__.getR2L=h.getR2L=function(){return Ht};var sn,dn=h.__private__.setZoomMode=function(p){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(p))Bt=p;else if(isNaN(p)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(p))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+p+'" is not recognized.');Bt=p}else Bt=parseInt(p,10)};h.__private__.getZoomMode=function(){return Bt};var hn,yn=h.__private__.setPageMode=function(p){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(p))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+p+'" is not recognized.');sn=p};h.__private__.getPageMode=function(){return sn};var In=h.__private__.setLayoutMode=function(p){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(p))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+p+'" is not recognized.');hn=p};h.__private__.getLayoutMode=function(){return hn},h.__private__.setDisplayMode=h.setDisplayMode=function(p,v,N){return dn(p),In(v),yn(N),this};var en={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(p){if(-1===Object.keys(en).indexOf(p))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return en[p]},h.__private__.getDocumentProperties=function(){return en},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(p){for(var v in en)en.hasOwnProperty(v)&&p[v]&&(en[v]=p[v]);return this},h.__private__.setDocumentProperty=function(p,v){if(-1===Object.keys(en).indexOf(p))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return en[p]=v};var Fn,Yt,Pe,Dn,la,jn={},Vn={},Pa=[],Pn={},xo={},Xn={},ca={},qa=null,Jn=0,ln=[],Mn=new cu(h),Po=n.hotfixes||[],be={},Ma={},Oa=[],Qt=function p(v,N,Y,Q,Ft,Pt){if(!(this instanceof p))return new p(v,N,Y,Q,Ft,Pt);isNaN(v)&&(v=1),isNaN(N)&&(N=0),isNaN(Y)&&(Y=0),isNaN(Q)&&(Q=1),isNaN(Ft)&&(Ft=0),isNaN(Pt)&&(Pt=0),this._matrix=[v,N,Y,Q,Ft,Pt]};Object.defineProperty(Qt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(p){this._matrix[0]=p}}),Object.defineProperty(Qt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(p){this._matrix[1]=p}}),Object.defineProperty(Qt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(p){this._matrix[2]=p}}),Object.defineProperty(Qt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(p){this._matrix[3]=p}}),Object.defineProperty(Qt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(p){this._matrix[4]=p}}),Object.defineProperty(Qt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(p){this._matrix[5]=p}}),Object.defineProperty(Qt.prototype,"a",{get:function(){return this._matrix[0]},set:function(p){this._matrix[0]=p}}),Object.defineProperty(Qt.prototype,"b",{get:function(){return this._matrix[1]},set:function(p){this._matrix[1]=p}}),Object.defineProperty(Qt.prototype,"c",{get:function(){return this._matrix[2]},set:function(p){this._matrix[2]=p}}),Object.defineProperty(Qt.prototype,"d",{get:function(){return this._matrix[3]},set:function(p){this._matrix[3]=p}}),Object.defineProperty(Qt.prototype,"e",{get:function(){return this._matrix[4]},set:function(p){this._matrix[4]=p}}),Object.defineProperty(Qt.prototype,"f",{get:function(){return this._matrix[5]},set:function(p){this._matrix[5]=p}}),Object.defineProperty(Qt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Qt.prototype.join=function(p){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(nt).join(p)},Qt.prototype.multiply=function(p){return new Qt(p.sx*this.sx+p.shy*this.shx,p.sx*this.shy+p.shy*this.sy,p.shx*this.sx+p.sy*this.shx,p.shx*this.shy+p.sy*this.sy,p.tx*this.sx+p.ty*this.shx+this.tx,p.tx*this.shy+p.ty*this.sy+this.ty)},Qt.prototype.decompose=function(){var p=this.sx,v=this.shy,N=this.shx,Y=this.sy,Q=this.tx,Ft=this.ty,Pt=Math.sqrt(p*p+v*v),Vt=(p/=Pt)*N+(v/=Pt)*Y;N-=p*Vt,Y-=v*Vt;var Wt=Math.sqrt(N*N+Y*Y);return Vt/=Wt,p*(Y/=Wt)>16&255,Y=Wt>>8&255,Q=255&Wt}if(void 0===Y||void 0===Ft&&N===Y&&Y===Q)v="string"==typeof N?N+" "+Pt[0]:2===p.precision?gt(N/255)+" "+Pt[0]:k(N/255)+" "+Pt[0];else if(void 0===Ft||"object"===(0,An.A)(Ft)){if(Ft&&!isNaN(Ft.a)&&0===Ft.a)return["1.","1.","1.",Pt[1]].join(" ");v="string"==typeof N?[N,Y,Q,Pt[1]].join(" "):2===p.precision?[gt(N/255),gt(Y/255),gt(Q/255),Pt[1]].join(" "):[k(N/255),k(Y/255),k(Q/255),Pt[1]].join(" ")}else v="string"==typeof N?[N,Y,Q,Ft,Pt[2]].join(" "):2===p.precision?[gt(N),gt(Y),gt(Q),gt(Ft),Pt[2]].join(" "):[k(N),k(Y),k(Q),k(Ft),Pt[2]].join(" ");return v},Ra=h.__private__.getFilters=function(){return s},We=h.__private__.putStream=function(p){var v=(p=p||{}).data||"",N=p.filters||Ra(),Y=p.alreadyAppliedFilters||[],Q=p.addLength1||!1,Ft=v.length,Pt=p.objectId,Vt=function(Oe){return Oe};if(null!==F&&void 0===Pt)throw new Error("ObjectId must be passed to putStream for file encryption");null!==F&&(Vt=Me.encryptor(Pt,0));var Wt={};!0===N&&(N=["FlateEncode"]);var mn=p.additionalKeyValues||[],cn=(Wt=void 0!==Kt.API.processDataByFilters?Kt.API.processDataByFilters(v,N):{data:v,reverseChain:[]}).reverseChain+(Array.isArray(Y)?Y.join(" "):Y.toString());if(0!==Wt.data.length&&(mn.push({key:"Length",value:Wt.data.length}),!0===Q&&mn.push({key:"Length1",value:Ft})),0!=cn.length)if(cn.split("/").length-1==1)mn.push({key:"Filter",value:cn});else{mn.push({key:"Filter",value:"["+cn+"]"});for(var vn=0;vn>"),0!==Wt.data.length&&($("stream"),$(Vt(Wt.data)),$("endstream"))},Ia=h.__private__.putPage=function(p){var v=p.number,N=p.data,Y=p.objId,Q=p.contentsObjId;qe(Y,!0),$("<>"),$("endobj");var Ft=N.join("\n");return"advanced"===V&&(Ft+="\nQ"),qe(Q,!0),We({data:Ft,filters:Ra(),objectId:Q}),$("endobj"),Y},Mo=h.__private__.putPages=function(){var p,v,N=[];for(p=1;p<=Jn;p++)ln[p].objId=re(),ln[p].contentsObjId=re();for(p=1;p<=Jn;p++)N.push(Ia({number:p,data:kt[p],objId:ln[p].objId,contentsObjId:ln[p].contentsObjId,mediaBox:ln[p].mediaBox,cropBox:ln[p].cropBox,bleedBox:ln[p].bleedBox,trimBox:ln[p].trimBox,artBox:ln[p].artBox,userUnit:ln[p].userUnit,rootDictionaryObjId:Ba,resourceDictionaryObjId:ma}));qe(Ba,!0),$("<>"),$("endobj"),Mn.publish("postPutPages")},li=function(p){Mn.publish("putFont",{font:p,out:$,newObject:ue,putStream:We}),!0!==p.isAlreadyPutted&&(p.objectNumber=ue(),$("<<"),$("/Type /Font"),$("/BaseFont /"+Jo(p.postScriptName)),$("/Subtype /Type1"),"string"==typeof p.encoding&&$("/Encoding /"+p.encoding),$("/FirstChar 32"),$("/LastChar 255"),$(">>"),$("endobj"))},ui=function(p){p.objectNumber=ue();var v=[];v.push({key:"Type",value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[nt(p.x),nt(p.y),nt(p.x+p.width),nt(p.y+p.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+p.matrix.toString()+"]"});var N=p.pages[1].join("\n");We({data:N,additionalKeyValues:v,objectId:p.objectNumber}),$("endobj")},Gl=function(p,v){v||(v=21);var N=ue(),Y=function(p,v){var N,Y=[],Q=1/(v-1);for(N=0;N<1;N+=Q)Y.push(N);Y.push(1),0!=p[0].offset&&p.unshift({offset:0,color:p[0].color}),1!=p[p.length-1].offset&&p.push({offset:1,color:p[p.length-1].color});for(var Vt="",Wt=0,mn=0;mnp[Wt+1].offset;)Wt++;var cn=p[Wt].offset,vn=(N-cn)/(p[Wt+1].offset-cn),zn=p[Wt].color,Hn=p[Wt+1].color;Vt+=z(Math.round((1-vn)*zn[0]+vn*Hn[0]).toString(16))+z(Math.round((1-vn)*zn[1]+vn*Hn[1]).toString(16))+z(Math.round((1-vn)*zn[2]+vn*Hn[2]).toString(16))}return Vt.trim()}(p.colors,v),Q=[];Q.push({key:"FunctionType",value:"0"}),Q.push({key:"Domain",value:"[0.0 1.0]"}),Q.push({key:"Size",value:"["+v+"]"}),Q.push({key:"BitsPerSample",value:"8"}),Q.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Q.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),We({data:Y,additionalKeyValues:Q,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:N}),$("endobj"),p.objectNumber=ue(),$("<< /ShadingType "+p.type),$("/ColorSpace /DeviceRGB");var Ft="/Coords ["+nt(parseFloat(p.coords[0]))+" "+nt(parseFloat(p.coords[1]))+" ";Ft+=2===p.type?nt(parseFloat(p.coords[2]))+" "+nt(parseFloat(p.coords[3])):nt(parseFloat(p.coords[2]))+" "+nt(parseFloat(p.coords[3]))+" "+nt(parseFloat(p.coords[4]))+" "+nt(parseFloat(p.coords[5])),$(Ft+="]"),p.matrix&&$("/Matrix ["+p.matrix.toString()+"]"),$("/Function "+N+" 0 R"),$("/Extend [true true]"),$(">>"),$("endobj")},ql=function(p,v){var N=re(),Y=ue();v.push({resourcesOid:N,objectOid:Y}),p.objectNumber=Y;var Q=[];Q.push({key:"Type",value:"/Pattern"}),Q.push({key:"PatternType",value:"1"}),Q.push({key:"PaintType",value:"1"}),Q.push({key:"TilingType",value:"1"}),Q.push({key:"BBox",value:"["+p.boundingBox.map(nt).join(" ")+"]"}),Q.push({key:"XStep",value:nt(p.xStep)}),Q.push({key:"YStep",value:nt(p.yStep)}),Q.push({key:"Resources",value:N+" 0 R"}),p.matrix&&Q.push({key:"Matrix",value:"["+p.matrix.toString()+"]"}),We({data:p.stream,additionalKeyValues:Q,objectId:p.objectNumber}),$("endobj")},as=function(p){for(var v in p.objectNumber=ue(),$("<<"),p)switch(v){case"opacity":$("/ca "+gt(p[v]));break;case"stroke-opacity":$("/CA "+gt(p[v]))}$(">>"),$("endobj")},te=function(p){qe(p.resourcesOid,!0),$("<<"),$("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var p in $("/Font <<"),jn)jn.hasOwnProperty(p)&&(!1===_||!0===_&&E.hasOwnProperty(p))&&$("/"+p+" "+jn[p].objectNumber+" 0 R");$(">>")}(),function(){if(Object.keys(Pn).length>0){for(var p in $("/Shading <<"),Pn)Pn.hasOwnProperty(p)&&Pn[p]instanceof Eo&&Pn[p].objectNumber>=0&&$("/"+p+" "+Pn[p].objectNumber+" 0 R");Mn.publish("putShadingPatternDict"),$(">>")}}(),function(p){if(Object.keys(Pn).length>0){for(var v in $("/Pattern <<"),Pn)Pn.hasOwnProperty(v)&&Pn[v]instanceof h.TilingPattern&&Pn[v].objectNumber>=0&&Pn[v].objectNumber>")}}(p.objectOid),function(){if(Object.keys(Xn).length>0){var p;for(p in $("/ExtGState <<"),Xn)Xn.hasOwnProperty(p)&&Xn[p].objectNumber>=0&&$("/"+p+" "+Xn[p].objectNumber+" 0 R");Mn.publish("putGStateDict"),$(">>")}}(),function(){for(var p in $("/XObject <<"),be)be.hasOwnProperty(p)&&be[p].objectNumber>=0&&$("/"+p+" "+be[p].objectNumber+" 0 R");Mn.publish("putXobjectDict"),$(">>")}(),$(">>"),$("endobj")},ss=function(p){Vn[p.fontName]=Vn[p.fontName]||{},Vn[p.fontName][p.fontStyle]=p.id},Wi=function(p,v,N,Y,Q){var Ft={id:"F"+(Object.keys(jn).length+1).toString(10),postScriptName:p,fontName:v,fontStyle:N,encoding:Y,isStandardFont:Q||!1,metadata:{}};return Mn.publish("addFont",{font:Ft,instance:this}),jn[Ft.id]=Ft,ss(Ft),Ft.id},je=h.__private__.pdfEscape=h.pdfEscape=function(p,v){return function(p,v){var N,Y,Q,Ft,Pt,Vt,Wt,mn,cn;if(Q=(v=v||{}).sourceEncoding||"Unicode",Pt=v.outputEncoding,(v.autoencode||Pt)&&jn[Fn].metadata&&jn[Fn].metadata[Q]&&jn[Fn].metadata[Q].encoding&&(Ft=jn[Fn].metadata[Q].encoding,!Pt&&jn[Fn].encoding&&(Pt=jn[Fn].encoding),!Pt&&Ft.codePages&&(Pt=Ft.codePages[0]),"string"==typeof Pt&&(Pt=Ft[Pt]),Pt)){for(Wt=!1,Vt=[],N=0,Y=p.length;N>8&&(Wt=!0);p=Vt.join("")}for(N=p.length;void 0===Wt&&0!==N;)p.charCodeAt(N-1)>>8&&(Wt=!0),N--;if(!Wt)return p;for(Vt=v.noBOM?[]:[254,255],N=0,Y=p.length;N>8)>>8)throw new Error("Character at position "+N+" of string '"+p+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Vt.push(cn),Vt.push(mn-(cn<<8))}return String.fromCharCode.apply(void 0,Vt)}(p,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Zi=h.__private__.beginPage=function(p){kt[++Jn]=[],ln[Jn]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(p[0]),topRightY:Number(p[1])}},cs(Jn),bt(kt[j])},ls=function(p,v){var N,Y,Q;switch(e=v||e,"string"==typeof p&&(N=x(p.toLowerCase()),Array.isArray(N)&&(Y=N[0],Q=N[1])),Array.isArray(p)&&(Y=p[0]*Yt,Q=p[1]*Yt),isNaN(Y)&&(Y=i[0],Q=i[1]),(Y>14400||Q>14400)&&(Sn.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Y=Math.min(14400,Y),Q=Math.min(14400,Q)),i=[Y,Q],e.substr(0,1)){case"l":Q>Y&&(i=[Q,Y]);break;case"p":Y>Q&&(i=[Q,Y])}Zi(i),hs(nr),$(ha),0!==ar&&$(ar+" J"),0!==or&&$(or+" j"),Mn.publish("addPage",{pageNumber:Jn})},Xl=function(p){p>0&&p<=Jn&&(kt.splice(p,1),ln.splice(p,1),Jn--,j>Jn&&(j=Jn),this.setPage(j))},cs=function(p){p>0&&p<=Jn&&(j=p)},Jl=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return kt.length-1},us=function(p,v,N){var Y,Q=void 0;return N=N||{},v=void 0!==v?v:jn[Fn].fontStyle,Y=(p=void 0!==p?p:jn[Fn].fontName).toLowerCase(),void 0!==Vn[Y]&&void 0!==Vn[Y][v]?Q=Vn[Y][v]:void 0!==Vn[p]&&void 0!==Vn[p][v]?Q=Vn[p][v]:!1===N.disableWarning&&Sn.warn("Unable to look up font label for font '"+p+"', '"+v+"'. Refer to getFontList() for available fonts."),Q||N.noFallback||null==(Q=Vn.times[v])&&(Q=Vn.times.normal),Q},Hl=h.__private__.putInfo=function(){var p=ue(),v=function(Y){return Y};for(var N in null!==F&&(v=Me.encryptor(p,0)),$("<<"),$("/Producer ("+je(v("jsPDF "+Kt.version))+")"),en)en.hasOwnProperty(N)&&en[N]&&$("/"+N.substr(0,1).toUpperCase()+N.substr(1)+" ("+je(v(en[N]))+")");$("/CreationDate ("+je(v(mt))+")"),$(">>"),$("endobj")},Ki=h.__private__.putCatalog=function(p){var v=(p=p||{}).rootDictionaryObjId||Ba;switch(ue(),$("<<"),$("/Type /Catalog"),$("/Pages "+v+" 0 R"),Bt||(Bt="fullwidth"),Bt){case"fullwidth":$("/OpenAction [3 0 R /FitH null]");break;case"fullheight":$("/OpenAction [3 0 R /FitV null]");break;case"fullpage":$("/OpenAction [3 0 R /Fit]");break;case"original":$("/OpenAction [3 0 R /XYZ null null 1]");break;default:var N=""+Bt;"%"===N.substr(N.length-1)&&(Bt=parseInt(Bt)/100),"number"==typeof Bt&&$("/OpenAction [3 0 R /XYZ null null "+gt(Bt)+"]")}switch(hn||(hn="continuous"),hn){case"continuous":$("/PageLayout /OneColumn");break;case"single":$("/PageLayout /SinglePage");break;case"two":case"twoleft":$("/PageLayout /TwoColumnLeft");break;case"tworight":$("/PageLayout /TwoColumnRight")}sn&&$("/PageMode /"+sn),Mn.publish("putCatalog"),$(">>"),$("endobj")},Wl=h.__private__.putTrailer=function(){$("trailer"),$("<<"),$("/Size "+(Z+1)),$("/Root "+Z+" 0 R"),$("/Info "+(Z-1)+" 0 R"),null!==F&&$("/Encrypt "+Me.oid+" 0 R"),$("/ID [ <"+st+"> <"+st+"> ]"),$(">>")},Zl=h.__private__.putHeader=function(){$("%PDF-"+R),$("%\xba\xdf\xac\xe0")},Kl=h.__private__.putXRef=function(){var p="0000000000";$("xref"),$("0 "+(Z+1)),$("0000000000 65535 f ");for(var v=1;v<=Z;v++)$("function"==typeof rt[v]?(p+rt[v]()).slice(-10)+" 00000 n ":void 0!==rt[v]?(p+rt[v]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},Ya=h.__private__.buildDocument=function(){Z=0,ct=0,lt=[],rt=[],Rt=[],Ba=re(),ma=re(),bt(lt),Mn.publish("buildDocument"),Zl(),Mo(),function(){Mn.publish("putAdditionalObjects");for(var p=0;p"),$("/O <"+Me.toHexString(Me.O)+">"),$("/P "+Me.P),$(">>"),$("endobj")),Hl(),Ki();var p=ct;return Kl(),Wl(),$("startxref"),$(""+p),$("%%EOF"),bt(kt[j]),lt.join("\n")},hi=h.__private__.getBlob=function(p){return new Blob([Jt(p)],{type:"application/pdf"})},Fi=h.output=h.__private__.output=((p=function(p,v){switch("string"==typeof(v=v||{})?v={filename:v}:v.filename=v.filename||"generated.pdf",p){case void 0:return Ya();case"save":h.save(v.filename);break;case"arraybuffer":return Jt(Ya());case"blob":return hi(Ya());case"bloburi":case"bloburl":if(void 0!==tn.URL&&"function"==typeof tn.URL.createObjectURL)return tn.URL&&tn.URL.createObjectURL(hi(Ya()))||void 0;Sn.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var N="",Y=Ya();try{N=ul(Y)}catch{N=ul(unescape(encodeURIComponent(Y)))}return"data:application/pdf;filename="+v.filename+";base64,"+N;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(tn)){var Q="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Ft=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';v.pdfObjectUrl&&(Q=v.pdfObjectUrl,Ft="");var Pt='