From 28233c1888ae2887f99d31b36751b5042bfafdbf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:16:26 +0000 Subject: [PATCH] Deploy to GitHub pages --- 3rdpartylicenses.txt | 1043 +++++++++++++++++++++++++++++++++ 404.html | 15 + assets/github.svg | 6 + assets/logo.svg | 1 + favicon.ico | Bin 0 -> 15086 bytes index.html | 15 + main.25acb2babfd8adae.js | 32 + polyfills.7ef5cb68fba64374.js | 1 + runtime.d599c23de0356b38.js | 1 + styles.0d6149e6913522b1.css | 1 + 10 files changed, 1115 insertions(+) create mode 100644 3rdpartylicenses.txt create mode 100644 404.html create mode 100644 assets/github.svg create mode 100644 assets/logo.svg create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 main.25acb2babfd8adae.js create mode 100644 polyfills.7ef5cb68fba64374.js create mode 100644 runtime.d599c23de0356b38.js create mode 100644 styles.0d6149e6913522b1.css diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt new file mode 100644 index 00000000..337a9991 --- /dev/null +++ b/3rdpartylicenses.txt @@ -0,0 +1,1043 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/localize +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@apollo/client +MIT +The MIT License (MIT) + +Copyright (c) 2022 Apollo Graph, Inc. (Formerly Meteor Development Group, 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. + + + +@apollo/client/cache + +@apollo/client/core + +@apollo/client/errors + +@apollo/client/link/core + +@apollo/client/link/http + +@apollo/client/link/utils + +@apollo/client/utilities + +@apollo/client/utilities/globals + +@ecodev/natural +MIT + +@ecodev/natural-editor +MIT + +@ngbracket/ngx-layout +MIT + +@wry/context +MIT +MIT License + +Copyright (c) 2019-2021 Ben Newman + +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. + + +@wry/equality +MIT +MIT License + +Copyright (c) 2019 Ben Newman + +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. + + +@wry/trie +MIT +MIT License + +Copyright (c) 2019-2021 Ben Newman + +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. + + +apollo-angular +MIT +The MIT License (MIT) + +Copyright (c) 2015 - 2020 Kamil Kisiela + +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. + + +crelt +MIT +Copyright (C) 2020 by Marijn Haverbeke + +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. + + +graphql +MIT +MIT License + +Copyright (c) GraphQL 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. + + +graphql-tag +MIT +The MIT License (MIT) + +Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, 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. + + +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. + + +optimism +MIT +MIT License + +Copyright (c) 2016 Ben Newman + +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. + + +orderedmap +MIT +Copyright (C) 2016 by Marijn Haverbeke and others + +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. + + +prosemirror-commands +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-dropcursor +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-gapcursor +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-history +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-inputrules +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-keymap +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-menu +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-model +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-schema-basic +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-schema-list +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-state +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-tables +MIT +Copyright (C) 2015-2016 by Marijn Haverbeke and others + +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. + + +prosemirror-transform +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-view +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +rope-sequence +MIT +Copyright (C) 2016 by Marijn Haverbeke + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +ts-invariant +MIT +MIT License + +Copyright (c) 2019 Apollo GraphQL + +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. + + +ts-invariant/process + +w3c-keyname +MIT +Copyright (C) 2016 by Marijn Haverbeke and others + +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. + + +zen-observable-ts +MIT +The MIT License (MIT) + +Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, 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. + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2023 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/404.html b/404.html new file mode 100644 index 00000000..65282fd3 --- /dev/null +++ b/404.html @@ -0,0 +1,15 @@ + + + + + @ecodev/natural + + + + + + + + + + diff --git a/assets/github.svg b/assets/github.svg new file mode 100644 index 00000000..49884fa6 --- /dev/null +++ b/assets/github.svg @@ -0,0 +1,6 @@ + + GitHub icon + + diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 00000000..6bad313b --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1 @@ +Logo \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..385abf38520299f18bd2e0ea28e6c1f8689e1a19 GIT binary patch literal 15086 zcmeHOd0dp`+8)D`-|29u&M&`|GG<{LS=>V05Jg}Bl`s>O9R_j3C0oo?L^cr-WmjA} zE(w%L7FlTvWvJ-M%%u!@5nfK`cfLAxJf~ARg52Nryvy(ojzCTSeBaOcb@$9W!#nr& z+|TvQyzhNos#F71cB+vhRT$N(Y8RDitV*R)tEJ-yRH_!d_5eoq{=$JORWAO(9e;yU zREY@oy6|uohr9p3TYMR))LK+UJB3zDQ4^yMeI-U6_G+x!7h$KY-|pez z>ixRti2b@41RJ~K0A6G9vMx5_APeW%h$`o}SqN9Nx0>C`D376^>a{tCKrwgfMozqBeHC zs!r)Tq)w?mtWF)I{G4C&9GD{!KOl$&a1(F~0o(-K1l$DN1l)8OQ5&zxQ0B@BaWrlp z6+j1_k`YN%g^@)yqDE~bU`C`6aML06e0mLWSd;pFttQn^`8mJlIWRjQ-tH%EdOco4 zM-nt&ypgDJlJjMUK5Q)Tcc%l|SOK$j+$l0{0&aR;vw)6h7VN0gEVAID{F%RGM7^UK zS9+0H@%@*NN;KveqEfSZmcYw7J|ZR0ye?O>Le;m-~oLRzXbZy7gzkgB8l1%_*vuyKSl>Vo&xSgjNjJkt;9|5J1?UToR^=kcV6LW>m0Bz-NEl`Z-L|Bx4GU{ zaMMQ%o$16PXF9pqr8{FZs5thbDt8eN~GGp^6mS=Uu{pSr#92V3WWeK{5UzHY7FO5Ep`yVCg; zZgk;kH>yq0NZ92$45j@(!NC1A<9F}4-BuBB(>b>n{(atUb+E1Yf&KU3NiE~|Nr@+o zih9eqKL_rME8XbwGwyU2>rfQ_h6+0BU;9oesyV&G^N=;7G5G38zyo z&oO>?^TaxCy5zo=F6-BQ`=x%}I9u@p_x<4a2Qu!@z!SONGVU*d`zzqS`n;aFReJgi zd@7u2xdx?Eyy+A7CF>mFO@fO;nZcZYx*T(O3`8Ms?s z&{ON`;naqB71!6 znPn?}c0TyM5qY#!5!AYN1ic)iu~>sV!!UY(R03T_ ztyw5|BG+4qn>g<*;znd&;YMbwZJh&ftAYDUH*USa6ISnT+}^-GlKAvd)V_WUonGNd zo5C#DV6Wdqx;%UheI@d{H{1l=#Er`7;zsAJv=u))AN`BDu_)+^te|m4}NWyiU#dlHd zq#6CiP29wM;`}!M#7*8DVKe^pQTKx12l$NMar3$U#OF?-_PnWdWy54Do8A3;z}BER zNKY4hR#D3s@WTfj7kQ$rw~U*Bn>hah;-(bTasgX@Z}S{Bj130A|1H*gJh(CuToLOn z~_<$e2h;E)pxKZs(;r zRGaZ7R34Y(;b9>;<3q;LD-27$(@tZ@5F9;)k%XF$;I1>1W znAagU#PQaL{>JZGCKhyYepc(P#7&%G8v*;@xv-+gZ9}h8@i~(p1iw$1>zz04j=1?P zGpK!QIGx`RM1@a0X1+Gf4tcng8d9b&FG!_60l6TkHd;MTGm#{1PH^6TPe(&H*7*BfQjz!Hy-29G2;wzJ>eW#JGmd4Zed3wqWdbk_^tTHF; z%P%B;%RC|QM6S1tn}D0R#NEUt?S7jx?s2er4y93ksQ35X^}Zc9Uuh(MXA1GV=2QFb z1$69%Ahrf({K6W{smPG{-4|}+lJ^j>|A4T$Ux&RpsI4rfx~)96tF0ogqpc#oqiuU) zN8661j<(8Vgt4P-=X`VUyHY#8D2~1P%HnYr*Y((!depla{Jsf(o4^y3#1j*jxXXlk zn}FK{%yQhs^JBKwpPm2J)+pDeZF6Te70ruiDvFM1DvpV0Dv6C~Dvd)V+!kMz#z!>f z%u*|JV{h64yDzYZ0edL0hk`4i;7Ta4hXSj$u(?;K#Blfd-3t6)s{jcPm8!2%HK=|7 zkxG?eXC85mN>y)HFOCE1RqJuwDvv7h_&P>^ynbCZMH*EqCmi2Eq2%#?9CzYa9tYvL z3&-+khhzMwlE(q;I0L?>9wYlBs>dJ7<9a-8#j!m4IHAB^aK zG5Z=C;34@_FDWhFLS8NAdr9_)DDo2W%6k7sc2ZW@;LyU!o~DD^c)<&z%qx3W;Quha zsa-VJB1sJ5(wg69zNy3Unl@p+mU#)fFCB-c;ll;aE1{nl;AJosO&Ue7nY|3m?_$mi zU3v)}(=Gkaaow^|bAmpeR7I-?ypfTb7$XUg&(bEaK5*Xt6(o2Z9%& zPO}(Zl|{^}BIjkE33v~d(}&J0s-SY|j z$6Ksd#=HQv!()+mxjbJvub_!ax?(xB&wlG|A1=@ZLZkf`^H0cm1)WpUIGN75CldW4 z=x7YXo^k%H&erlW&6{b*fBnpDwU<1{zDBI^eaL%+%~zRM*0PzV%D9jR4Tj|}2-MNB z;VBmSuauXNSJ1^Sy06LUE3fi>f)-&z?l9ZQeY_d+pLtCp~=mHHyT!U@X z+^NB1DfG)1h50J-GQCySbe`=kXV3RAUnAz*DddH=C+n#E8m2{h(bd&nv}3l&1J-*! z;xh}{<2rf1%DhZ(WO~dwXc|L$=DE``@(#g#&zbWwO-|Ag1uZUP3>{yn7y31f2jx?} z>4L}ebX6~Cw4#P3<`p%G(K(&att{?q@04499lG(ef)=RAD`-2=8QP(bTv_WwrB8}A zU|RC~J~7nd0e#XkudJ7$C%>_t8=u$jD|0+T}q!w+ag&1 zcnC2q_r$pQ-TFy)UP4}3dpH8UpuZK{qN8hm-_jV1_Awn z^*Gzm53e?g{a4iBr*{Hk4!8Ih-Z1ySMU8~z75lI=ioZe6oBdOZem#);Ui7uA#GW>^ z4=JzQgKsaMO=s2zQT`0(lN$2#u3+EfYty!!HTSN&^NPK8v0q)p#qGphMgJbqTtfMR z>Hpyi(f@~T!FvDZelB`+tOva>QQ(0oE9Acot-+-$74uc*C2qFRYi?tGq5fqD54X&) zN8Y17^NKy>Xlh3fwjn(Pze|spG7W*{=f%9NPb~IZV=8g?*8d0Q zI~V;_lh~7Fy=&G-m3n&ULvm$tv^&nzlo2>sxb8yVbfeHWy*)3X_UM)Fx`h5wzkiqb zk~x3Ed>btCqIb*hNJ07(>8Q~u1y#Qd|%N1&(wwPLJ*lyEhq1A>GNlo{z{V>j@t@Q^Gex-OLhga+`(>hc zcAAT=Y(U?v0sX!PE_rtY^0GLIsQxASFXTTt@M6JJ4i^g|9WHK(a=5s49wOQtUlzwX z0E7Ad3q8Ag(X+Eht?kjTvqzuN9yyiq$6u2F|Ks0^{Q{|LumYWu6@w^a{JzG?D0ussHy;0XBG20SIL{yFeFHDJ-~q>d&foq# z_mR}1iKG5;NNZ&037&3v=bPa@*Y*4i+#}u#5B7fMVP+m++$S)9Z$0kC{#oTYTks?^ z&pPwO!h3Ahw~q6IaUc5w^9r-;dtB>xYQyC$zqP~%?6iQe%_6z(~gmk-zco$!*S_B@{*>ftBan7562!{Dttl;lEN0-fp85zFDR z6Fh3nyK{r{*=SVt$Ym#&rSg zH~gO`1D4gd1a9jRv|Fa_hnMb$wtw4wG|toE`lDIUR-t3Ju;1V$uYc4A%}#BZUh+3+ zcTAIJn%6h@4)(W-p?FT7pb6sllWBmbv%+;}Iqbau1!jy8R{#J2 literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 00000000..65282fd3 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + @ecodev/natural + + + + + + + + + + diff --git a/main.25acb2babfd8adae.js b/main.25acb2babfd8adae.js new file mode 100644 index 00000000..0df90528 --- /dev/null +++ b/main.25acb2babfd8adae.js @@ -0,0 +1,32 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{845:()=>{function vt(n){return"function"==typeof n}function bh(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Rm=bh(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Yc(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class We{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(vt(i))try{i()}catch(o){t=o instanceof Rm?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{ZM(o)}catch(a){t=t??[],a instanceof Rm?t=[...t,...a.errors]:t.push(a)}}if(t)throw new Rm(t)}}add(t){var e;if(t&&t!==this)if(this.closed)ZM(t);else{if(t instanceof We){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Yc(e,t)}remove(t){const{_finalizers:e}=this;e&&Yc(e,t),t instanceof We&&t._removeParent(this)}}We.EMPTY=(()=>{const n=new We;return n.closed=!0,n})();const XM=We.EMPTY;function JM(n){return n instanceof We||n&&"closed"in n&&vt(n.remove)&&vt(n.add)&&vt(n.unsubscribe)}function ZM(n){vt(n)?n():n.unsubscribe()}const Tl={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Nm={setTimeout(n,t,...e){const{delegate:i}=Nm;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=Nm;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function eT(n){Nm.setTimeout(()=>{const{onUnhandledError:t}=Tl;if(!t)throw n;t(n)})}function vh(){}const rj=b0("C",void 0,void 0);function b0(n,t,e){return{kind:n,value:t,error:e}}let Al=null;function Fm(n){if(Tl.useDeprecatedSynchronousErrorHandling){const t=!Al;if(t&&(Al={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Al;if(Al=null,e)throw i}}else n()}class v0 extends We{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,JM(t)&&t.add(this)):this.destination=uj}static create(t,e,i){return new yh(t,e,i)}next(t){this.isStopped?C0(function aj(n){return b0("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?C0(function oj(n){return b0("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?C0(rj,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const lj=Function.prototype.bind;function y0(n,t){return lj.call(n,t)}class cj{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Pm(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Pm(i)}else Pm(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Pm(e)}}}class yh extends v0{constructor(t,e,i){let r;if(super(),vt(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Tl.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&y0(t.next,o),error:t.error&&y0(t.error,o),complete:t.complete&&y0(t.complete,o)}):r=t}this.destination=new cj(r)}}function Pm(n){Tl.useDeprecatedSynchronousErrorHandling?function sj(n){Tl.useDeprecatedSynchronousErrorHandling&&Al&&(Al.errorThrown=!0,Al.error=n)}(n):eT(n)}function C0(n,t){const{onStoppedNotification:e}=Tl;e&&Nm.setTimeout(()=>e(n,t))}const uj={closed:!0,next:vh,error:function dj(n){throw n},complete:vh},Lm="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ea(n){return n}function tT(n){return 0===n.length?Ea:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let it=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function pj(n){return n&&n instanceof v0||function fj(n){return n&&vt(n.next)&&vt(n.error)&&vt(n.complete)}(n)&&JM(n)}(e)?e:new yh(e,i,r);return Fm(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=nT(i))((r,o)=>{const a=new yh({next:s=>{try{e(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Lm](){return this}pipe(...e){return tT(e)(this)}toPromise(e){return new(e=nT(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function nT(n){var t;return null!==(t=n??Tl.Promise)&&void 0!==t?t:Promise}const mj=bh(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let q=(()=>{class n extends it{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new iT(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new mj}next(e){Fm(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Fm(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Fm(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?XM:(this.currentObservers=null,o.push(e),new We(()=>{this.currentObservers=null,Yc(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new it;return e.source=this,e}}return n.create=(t,e)=>new iT(t,e),n})();class iT extends q{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:XM}}class ft extends q{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function rT(n){return vt(n?.lift)}function qt(n){return t=>{if(rT(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Vt(n,t,e,i,r){return new gj(n,t,e,i,r)}class gj extends v0{constructor(t,e,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){t.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ue(n,t){return qt((e,i)=>{let r=0;e.subscribe(Vt(i,o=>{i.next(n.call(t,o,r++))}))})}var w0=function(n,t){return(w0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])})(n,t)};function Il(n,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=n}w0(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}var oe=function(){return oe=Object.assign||function(t){for(var e,i=1,r=arguments.length;i0&&o[o.length-1])&&(6===c[0]||2===c[0])){e=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(a){return new Promise(function(s,l){!function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}(s,l,(a=n[o](a)).done,a.value)})}}}const S0=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function cT(n){return vt(n?.then)}function dT(n){return vt(n[Lm])}function uT(n){return Symbol.asyncIterator&&vt(n?.[Symbol.asyncIterator])}function hT(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const fT=function Ij(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function pT(n){return vt(n?.[fT])}function mT(n){return function sT(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(h){i[h]&&(r[h]=function(p){return new Promise(function(v,y){o.push([h,p,v,y])>1||s(h,p)})})}function s(h,p){try{!function l(h){h.value instanceof ys?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](p))}catch(v){u(o[0][3],v)}}function c(h){s("next",h)}function d(h){s("throw",h)}function u(h,p){h(p),o.shift(),o.length&&s(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield ys(e.read());if(r)return yield ys(void 0);yield yield ys(i)}}finally{e.releaseLock()}})}function gT(n){return vt(n?.getReader)}function ni(n){if(n instanceof it)return n;if(null!=n){if(dT(n))return function Oj(n){return new it(t=>{const e=n[Lm]();if(vt(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(S0(n))return function Rj(n){return new it(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,eT)})}(n);if(uT(n))return _T(n);if(pT(n))return function Fj(n){return new it(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(gT(n))return function Pj(n){return _T(mT(n))}(n)}throw hT(n)}function _T(n){return new it(t=>{(function Lj(n,t){var e,i,r,o;return Vo(this,void 0,void 0,function*(){try{for(e=lT(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Ta(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Gn(n,t,e=1/0){return vt(t)?Gn((i,r)=>ue((o,a)=>t(i,o,r,a))(ni(n(i,r))),e):("number"==typeof t&&(e=t),qt((i,r)=>function Bj(n,t,e,i,r,o,a,s){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&t.complete()},p=y=>c{o&&t.next(y),c++;let w=!1;ni(e(y,d++)).subscribe(Vt(t,k=>{r?.(k),o?p(k):t.next(k)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&cv(k)):v(k)}h()}catch(k){t.error(k)}}))};return n.subscribe(Vt(t,p,()=>{u=!0,h()})),()=>{s?.()}}(i,r,n,e)))}function Bm(n=1/0){return Gn(Ea,n)}const vn=new it(n=>n.complete());function bT(n){return n&&vt(n.schedule)}function k0(n){return n[n.length-1]}function vT(n){return vt(k0(n))?n.pop():void 0}function Kc(n){return bT(k0(n))?n.pop():void 0}function E0(n,t=0){return qt((e,i)=>{e.subscribe(Vt(i,r=>Ta(i,n,()=>i.next(r),t),()=>Ta(i,n,()=>i.complete(),t),r=>Ta(i,n,()=>i.error(r),t)))})}function yT(n,t=0){return qt((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function CT(n,t){if(!n)throw new Error("Iterable cannot be null");return new it(e=>{Ta(e,t,()=>{const i=n[Symbol.asyncIterator]();Ta(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function yn(n,t){return t?function qj(n,t){if(null!=n){if(dT(n))return function Hj(n,t){return ni(n).pipe(yT(t),E0(t))}(n,t);if(S0(n))return function jj(n,t){return new it(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(cT(n))return function $j(n,t){return ni(n).pipe(yT(t),E0(t))}(n,t);if(uT(n))return CT(n,t);if(pT(n))return function Uj(n,t){return new it(e=>{let i;return Ta(e,t,()=>{i=n[fT](),Ta(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>vt(i?.return)&&i.return()})}(n,t);if(gT(n))return function Gj(n,t){return CT(mT(n),t)}(n,t)}throw hT(n)}(n,t):ni(n)}function dt(...n){const t=Kc(n),e=function zj(n,t){return"number"==typeof k0(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?ni(i[0]):Bm(e)(yn(i,t)):vn}function ee(...n){return yn(n,Kc(n))}function Vm(n={}){const{connector:t=(()=>new q),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let a,s,l,c=0,d=!1,u=!1;const h=()=>{s?.unsubscribe(),s=void 0},p=()=>{h(),a=l=void 0,d=u=!1},v=()=>{const y=a;p(),y?.unsubscribe()};return qt((y,w)=>{c++,!u&&!d&&h();const k=l=l??t();w.add(()=>{c--,0===c&&!u&&!d&&(s=M0(v,r))}),k.subscribe(w),!a&&c>0&&(a=new yh({next:D=>k.next(D),error:D=>{u=!0,h(),s=M0(p,e,D),k.error(D)},complete:()=>{d=!0,h(),s=M0(p,i),k.complete()}}),ni(y).subscribe(a))})(o)}}function M0(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new yh({next:()=>{i.unsubscribe(),n()}});return ni(t(...e)).subscribe(i)}function xt(n,t){return qt((e,i)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&i.complete();e.subscribe(Vt(i,l=>{r?.unsubscribe();let c=0;const d=o++;ni(n(l,d)).subscribe(r=Vt(i,u=>i.next(t?t(l,u,d,c++):u),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Cs(n,t=Ea){return n=n??Wj,qt((e,i)=>{let r,o=!0;e.subscribe(Vt(i,a=>{const s=t(a);(o||!n(r,s))&&(o=!1,r=s,i.next(a))}))})}function Wj(n,t){return n===t}function Pt(n){for(let t in n)if(n[t]===Pt)return t;throw Error("Could not find renamed property on target object.")}function zm(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function qn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(qn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function T0(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const Yj=Pt({__forward_ref__:Pt});function st(n){return n.__forward_ref__=st,n.toString=function(){return qn(this())},n}function Ge(n){return A0(n)?n():n}function A0(n){return"function"==typeof n&&n.hasOwnProperty(Yj)&&n.__forward_ref__===st}function I0(n){return n&&!!n.\u0275providers}const wT="https://g.co/ng/security#xss";class z extends Error{constructor(t,e){super(function Hm(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}function Ye(n){return"string"==typeof n?n:null==n?"":String(n)}function $m(n,t){throw new z(-201,!1)}function Nt(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}function P(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Oe(n){return{providers:n.providers||[],imports:n.imports||[]}}function jm(n){return xT(n,Um)||xT(n,ST)}function xT(n,t){return n.hasOwnProperty(t)?n[t]:null}function DT(n){return n&&(n.hasOwnProperty(O0)||n.hasOwnProperty(nU))?n[O0]:null}const Um=Pt({\u0275prov:Pt}),O0=Pt({\u0275inj:Pt}),ST=Pt({ngInjectableDef:Pt}),nU=Pt({ngInjectorDef:Pt});var Fe=(()=>((Fe=Fe||{})[Fe.Default=0]="Default",Fe[Fe.Host=1]="Host",Fe[Fe.Self=2]="Self",Fe[Fe.SkipSelf=4]="SkipSelf",Fe[Fe.Optional=8]="Optional",Fe))();let R0;function kT(){return R0}function nr(n){const t=R0;return R0=n,t}function ET(n,t,e){const i=jm(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Fe.Optional?null:void 0!==t?t:void $m(qn(n))}const Wt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ch={},N0="__NG_DI_FLAG__",Gm="ngTempTokenPath",rU=/\n/gm,MT="__source";let Qc;function xs(n){const t=Qc;return Qc=n,t}function sU(n,t=Fe.Default){if(void 0===Qc)throw new z(-203,!1);return null===Qc?ET(n,void 0,t):Qc.get(n,t&Fe.Optional?null:void 0,t)}function A(n,t=Fe.Default){return(kT()||sU)(Ge(n),t)}function ne(n,t=Fe.Default){return A(n,qm(t))}function qm(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function F0(n){const t=[];for(let e=0;e((zo=zo||{})[zo.OnPush=0]="OnPush",zo[zo.Default=1]="Default",zo))(),ir=(()=>{return(n=ir||(ir={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",ir;var n})();const Ho={},Mt=[],Wm=Pt({\u0275cmp:Pt}),P0=Pt({\u0275dir:Pt}),L0=Pt({\u0275pipe:Pt}),AT=Pt({\u0275mod:Pt}),Ia=Pt({\u0275fac:Pt}),xh=Pt({__NG_ELEMENT_ID__:Pt}),IT=Pt({__NG_ENV_ID__:Pt});function OT(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}function B0(n,t,e){let i=0;for(;it){a=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const p=8&i?h:null;if(p&&-1!==OT(p,c,0)||2&i&&c!==h){if(co(i))return!1;a=!0}}}}else{if(!a&&!co(i)&&!co(l))return!1;if(a&&co(l))continue;a=!1,i=l|1&i}}return co(i)||a}function co(n){return 0==(1&n)}function pU(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!co(a)&&(t+=VT(o,r),r=""),i=a,o=o||!co(i);e++}return""!==r&&(t+=VT(o,r)),t}function $(n){return Aa(()=>{const t=HT(n),e={...t,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===zo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||ir.Emulated,styles:n.styles||Mt,_:null,schemas:n.schemas||null,tView:null,id:""};$T(e);const i=n.dependencies;return e.directiveDefs=Ym(i,!1),e.pipeDefs=Ym(i,!0),e.id=function EU(n){let t=0;const e=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(e),e})}function xU(n){return At(n)||bi(n)}function DU(n){return null!==n}function Re(n){return Aa(()=>({type:n.type,bootstrap:n.bootstrap||Mt,declarations:n.declarations||Mt,imports:n.imports||Mt,exports:n.exports||Mt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function zT(n,t){if(null==n)return Ho;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}function R(n){return Aa(()=>{const t=HT(n);return $T(t),t})}function $i(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function At(n){return n[Wm]||null}function bi(n){return n[P0]||null}function rr(n){return n[L0]||null}function xr(n,t){const e=n[AT]||null;if(!e&&!0===t)throw new Error(`Type ${qn(n)} does not have '\u0275mod' property.`);return e}function HT(n){const t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:n.inputs||Ho,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||Mt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zT(n.inputs,t),outputs:zT(n.outputs)}}function $T(n){n.features?.forEach(t=>t(n))}function Ym(n,t){if(!n)return null;const e=t?rr:xU;return()=>("function"==typeof n?n():n).map(i=>e(i)).filter(DU)}const Wn=0,ve=1,Qe=2,dn=3,uo=4,Sh=5,vi=6,Jc=7,On=8,Zc=9,Rl=10,Xe=11,kh=12,jT=13,ed=14,Rn=15,Eh=16,td=17,$o=18,Mh=19,UT=20,Ds=21,Oa=22,Km=23,Qm=24,pt=25,V0=1,GT=2,jo=7,nd=9,yi=11;function Dr(n){return Array.isArray(n)&&"object"==typeof n[V0]}function or(n){return Array.isArray(n)&&!0===n[V0]}function z0(n){return 0!=(4&n.flags)}function Nl(n){return n.componentOffset>-1}function Jm(n){return 1==(1&n.flags)}function ho(n){return!!n.template}function H0(n){return 0!=(512&n[Qe])}function Fl(n,t){return n.hasOwnProperty(Ia)?n[Ia]:null}let RU=Wt.WeakRef??class OU{constructor(t){this.ref=t}deref(){return this.ref}},FU=0,Uo=null,Zm=!1;function ii(n){const t=Uo;return Uo=n,t}class QT{constructor(){this.id=FU++,this.ref=function NU(n){return new RU(n)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,e]of this.producers){const i=e.producerNode.deref();if(void 0!==i&&e.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(e.seenValueVersion))return!0}else this.producers.delete(t),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Zm;Zm=!0;try{for(const[e,i]of this.consumers){const r=i.consumerNode.deref();void 0!==r&&r.trackingVersion===i.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(e),r?.producers.delete(this.id))}}finally{Zm=t}}producerAccessed(){if(Zm)throw new Error("");if(null===Uo)return;let t=Uo.producers.get(this.id);void 0===t?(t={consumerNode:Uo.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Uo.trackingVersion},Uo.producers.set(this.id,t),this.consumers.set(Uo.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Uo.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Uo?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let XT=null;function JT(n){const t=ii(null);try{return n()}finally{ii(t)}}const ZT=()=>{};class VU extends QT{constructor(t,e,i){super(),this.watch=t,this.schedule=e,this.dirty=!1,this.cleanupFn=ZT,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=ii(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=ZT,this.watch(this.registerOnCleanup)}finally{ii(t)}}cleanup(){this.cleanupFn()}}class zU{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Je(){return eA}function eA(n){return n.type.prototype.ngOnChanges&&(n.setInput=$U),HU}function HU(){const n=nA(this),t=n?.current;if(t){const e=n.previous;if(e===Ho)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function $U(n,t,e,i){const r=this.declaredInputs[e],o=nA(n)||function jU(n,t){return n[tA]=t}(n,{previous:Ho,current:null}),a=o.current||(o.current={}),s=o.previous,l=s[r];a[r]=new zU(l&&l.currentValue,t,s===Ho),n[i]=t}Je.ngInherit=!0;const tA="__ngSimpleChanges__";function nA(n){return n[tA]||null}const Go=function(n,t,e){},iA="svg";function Jt(n){for(;Array.isArray(n);)n=n[Wn];return n}function ng(n,t){return Jt(t[n])}function ar(n,t){return Jt(t[n.index])}function oA(n,t){return n.data[t]}function id(n,t){return n[t]}function Sr(n,t){const e=t[n];return Dr(e)?e:e[Wn]}function Ss(n,t){return null==t?null:n[t]}function aA(n){n[td]=0}function QU(n){1024&n[Qe]||(n[Qe]|=1024,lA(n,1))}function sA(n){1024&n[Qe]&&(n[Qe]&=-1025,lA(n,-1))}function lA(n,t){let e=n[dn];if(null===e)return;e[Sh]+=t;let i=e;for(e=e[dn];null!==e&&(1===t&&1===i[Sh]||-1===t&&0===i[Sh]);)e[Sh]+=t,i=e,e=e[dn]}function cA(n,t){if(256==(256&n[Qe]))throw new z(911,!1);null===n[Ds]&&(n[Ds]=[]),n[Ds].push(t)}const je={lFrame:vA(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function uA(){return je.bindingsEnabled}function rd(){return null!==je.skipHydrationRootTNode}function K(){return je.lFrame.lView}function Ct(){return je.lFrame.tView}function B(n){return je.lFrame.contextLView=n,n[On]}function V(n){return je.lFrame.contextLView=null,n}function ci(){let n=hA();for(;null!==n&&64===n.type;)n=n.parent;return n}function hA(){return je.lFrame.currentTNode}function Ah(){const n=je.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function qo(n,t){const e=je.lFrame;e.currentTNode=n,e.isParent=t}function W0(){return je.lFrame.isParent}function Y0(){je.lFrame.isParent=!1}function ji(){const n=je.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Ra(){return je.lFrame.bindingIndex}function od(){return je.lFrame.bindingIndex++}function Na(n){const t=je.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function mA(n){je.lFrame.inI18n=n}function lG(n,t){const e=je.lFrame;e.bindingIndex=e.bindingRootIndex=n,K0(t)}function K0(n){je.lFrame.currentDirectiveIndex=n}function Q0(n){const t=je.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function gA(){return je.lFrame.currentQueryIndex}function X0(n){je.lFrame.currentQueryIndex=n}function dG(n){const t=n[ve];return 2===t.type?t.declTNode:1===t.type?n[vi]:null}function _A(n,t,e){if(e&Fe.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&Fe.Host||(r=dG(o),null===r||(o=o[ed],10&r.type))););if(null===r)return!1;t=r,n=o}const i=je.lFrame=bA();return i.currentTNode=t,i.lView=n,!0}function J0(n){const t=bA(),e=n[ve];je.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function bA(){const n=je.lFrame,t=null===n?null:n.child;return null===t?vA(n):t}function vA(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function yA(){const n=je.lFrame;return je.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const CA=yA;function Z0(){const n=yA();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Ui(){return je.lFrame.selectedIndex}function Pl(n){je.lFrame.selectedIndex=n}function un(){const n=je.lFrame;return oA(n.tView,n.selectedIndex)}function Ci(){je.lFrame.currentNamespace=iA}function ks(){!function pG(){je.lFrame.currentNamespace=null}()}let xA=!0;function ig(){return xA}function Es(n){xA=n}function rg(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[td]+=65536),(s>13>16&&(3&n[Qe])===t&&(n[Qe]+=8192,SA(s,o)):SA(s,o)}const ad=-1;class Ih{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function kA(n){return n!==ad}function sg(n){return 32767&n}function lg(n,t){let e=function yG(n){return n>>16}(n),i=t;for(;e>0;)i=i[ed],e--;return i}let nC=!0;function cg(n){const t=nC;return nC=n,t}const EA=255,MA=5;let CG=0;const Wo={};function dg(n,t){const e=TA(n,t);if(-1!==e)return e;const i=t[ve];i.firstCreatePass&&(n.injectorIndex=t.length,iC(i.data,n),iC(t,null),iC(i.blueprint,null));const r=rC(n,t),o=n.injectorIndex;if(kA(r)){const a=sg(r),s=lg(r,t),l=s[ve].data;for(let c=0;c<8;c++)t[o+c]=s[a+c]|l[a+c]}return t[o+8]=r,o}function iC(n,t){n.push(0,0,0,0,0,0,0,0,t)}function TA(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function rC(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=PA(r),null===i)return ad;if(e++,r=r[ed],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return ad}function oC(n,t,e){!function wG(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(xh)&&(i=e[xh]),null==i&&(i=e[xh]=CG++);const r=i&EA;t.data[n+(r>>MA)]|=1<=0?t&EA:kG:t}(e);if("function"==typeof o){if(!_A(t,n,i))return i&Fe.Host?AA(r,0,i):IA(t,e,i,r);try{const a=o(i);if(null!=a||i&Fe.Optional)return a;$m()}finally{CA()}}else if("number"==typeof o){let a=null,s=TA(n,t),l=ad,c=i&Fe.Host?t[Rn][vi]:null;for((-1===s||i&Fe.SkipSelf)&&(l=-1===s?rC(n,t):t[s+8],l!==ad&&FA(i,!1)?(a=t[ve],s=sg(l),t=lg(l,t)):s=-1);-1!==s;){const d=t[ve];if(NA(o,s,d.data)){const u=DG(s,t,e,a,i,c);if(u!==Wo)return u}l=t[s+8],l!==ad&&FA(i,t[ve].data[s+8]===c)&&NA(o,s,t)?(a=d,s=sg(l),t=lg(l,t)):s=-1}}return r}function DG(n,t,e,i,r,o){const a=t[ve],s=a.data[n+8],d=ug(s,a,e,null==i?Nl(s)&&nC:i!=a&&0!=(3&s.type),r&Fe.Host&&o===s);return null!==d?Ll(t,a,d,s):Wo}function ug(n,t,e,i,r){const o=n.providerIndexes,a=t.data,s=1048575&o,l=n.directiveStart,d=o>>20,h=r?s+d:n.directiveEnd;for(let p=i?s:s+d;p=l&&v.type===e)return p}if(r){const p=a[l];if(p&&ho(p)&&p.type===e)return l}return null}function Ll(n,t,e,i){let r=n[e];const o=t.data;if(function _G(n){return n instanceof Ih}(r)){const a=r;a.resolving&&function Kj(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new z(-200,`Circular dependency in DI detected for ${n}${e}`)}(function Rt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Ye(n)}(o[e]));const s=cg(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?nr(a.injectImpl):null;_A(n,i,Fe.Default);try{r=n[e]=a.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function mG(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=eA(t);(e.preOrderHooks??=[]).push(n,a),(e.preOrderCheckHooks??=[]).push(n,a)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}(e,o[e],t)}finally{null!==l&&nr(l),cg(s),a.resolving=!1,CA()}}return r}function NA(n,t,e){return!!(e[t+(n>>MA)]&1<{const t=n.prototype.constructor,e=t[Ia]||aC(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Ia]||aC(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function aC(n){return A0(n)?()=>{const t=aC(Ge(n));return t&&t()}:Fl(n)}function PA(n){const t=n[ve],e=t.type;return 2===e?t.declTNode:1===e?n[vi]:null}function wi(n){return function xG(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function sC(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return s.annotation=a,s;function s(l,c,d){const u=l.hasOwnProperty(cd)?l[cd]:Object.defineProperty(l,cd,{value:[]})[cd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function Nh(n,t){n.forEach(e=>Array.isArray(e)?Nh(e,t):t(e))}function BA(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function hg(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Fh(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function OG(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function lC(n,t){const e=hd(n,t);if(e>=0)return n[1|e]}function hd(n,t){return function VA(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=n[o<t?r=o:i=o+1}return~(r<((sr=sr||{})[sr.Important=1]="Important",sr[sr.DashCase=2]="DashCase",sr))();const ZG=/^>|^->||--!>|)/,tq="\u200b$1\u200b";const pC=new Map;let nq=0;const gC="__ngContext__";function xi(n,t){Dr(t)?(n[gC]=t[Mh],function rq(n){pC.set(n[Mh],n)}(t)):n[gC]=t}let _C;function bC(n,t){return _C(n,t)}function Bh(n){const t=n[dn];return or(t)?t[dn]:t}function oI(n){return sI(n[kh])}function aI(n){return sI(n[uo])}function sI(n){for(;null!==n&&!or(n);)n=n[uo];return n}function md(n,t,e,i,r){if(null!=i){let o,a=!1;or(i)?o=i:Dr(i)&&(a=!0,i=i[Wn]);const s=Jt(i);0===n&&null!==e?null==r?hI(t,e,s):Bl(t,e,s,r||null,!0):1===n&&null!==e?Bl(t,e,s,r||null,!0):2===n?xg(t,s,a):3===n&&t.destroyNode(s),null!=o&&function kq(n,t,e,i,r){const o=e[jo];o!==Jt(e)&&md(t,n,i,o,r);for(let s=yi;st.replace(eq,tq))}(t))}function yg(n,t,e){return n.createElement(t,e)}function cI(n,t){const e=n[nd],i=e.indexOf(t);sA(t),e.splice(i,1)}function yC(n,t){if(n.length<=yi)return;const e=yi+t,i=n[e];if(i){const r=i[Eh];null!==r&&r!==n&&cI(r,i),t>0&&(n[e-1][uo]=i[uo]);const o=hg(n,yi+t);!function mq(n,t){zh(n,t,t[Xe],2,null,null),t[Wn]=null,t[vi]=null}(i[ve],i);const a=o[$o];null!==a&&a.detachView(o[ve]),i[dn]=null,i[uo]=null,i[Qe]&=-129}return i}function dI(n,t){if(!(256&t[Qe])){const e=t[Xe];t[Km]?.destroy(),t[Qm]?.destroy(),e.destroyNode&&zh(n,t,e,3,null,null),function bq(n){let t=n[kh];if(!t)return CC(n[ve],n);for(;t;){let e=null;if(Dr(t))e=t[kh];else{const i=t[yi];i&&(e=i)}if(!e){for(;t&&!t[uo]&&t!==n;)Dr(t)&&CC(t[ve],t),t=t[dn];null===t&&(t=n),Dr(t)&&CC(t[ve],t),e=t&&t[uo]}t=e}}(t)}}function CC(n,t){if(!(256&t[Qe])){t[Qe]&=-129,t[Qe]|=256,function wq(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[a]():i[-a].unsubscribe(),o+=2}else e[o].call(i[e[o+1]]);null!==i&&(t[Jc]=null);const r=t[Ds];if(null!==r){t[Ds]=null;for(let o=0;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===ir.None||o===ir.Emulated)return null}return ar(i,e)}}function Bl(n,t,e,i,r){n.insertBefore(t,e,i,r)}function hI(n,t,e){n.appendChild(t,e)}function fI(n,t,e,i,r){null!==i?Bl(n,t,e,i,r):hI(n,t,e)}function Cg(n,t){return n.parentNode(t)}function pI(n,t,e){return gI(n,t,e)}function mI(n,t,e){return 40&n.type?ar(n,e):null}let xC,Dg,EC,Sg,gI=mI;function _I(n,t){gI=n,xC=t}function wg(n,t,e,i){const r=wC(n,i,t),o=t[Xe],s=pI(i.parent||t[vi],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;ln,createScript:n=>n,createScriptURL:n=>n})}catch{}return Dg}()?.createHTML(n)||n}function Hh(){if(void 0!==EC)return EC;if(typeof document<"u")return document;throw new z(210,!1)}function MC(){if(void 0===Sg&&(Sg=null,Wt.trustedTypes))try{Sg=Wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Sg}function xI(n){return MC()?.createHTML(n)||n}function SI(n){return MC()?.createScriptURL(n)||n}class Vl{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wT})`}}class Rq extends Vl{getTypeName(){return"HTML"}}class Nq extends Vl{getTypeName(){return"Style"}}class Fq extends Vl{getTypeName(){return"Script"}}class Pq extends Vl{getTypeName(){return"URL"}}class Lq extends Vl{getTypeName(){return"ResourceURL"}}function Er(n){return n instanceof Vl?n.changingThisBreaksApplicationSecurity:n}function Yo(n,t){const e=function Bq(n){return n instanceof Vl&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${wT})`)}return e===t}function kI(n){const t=new Gq(n);return function qq(){try{return!!(new window.DOMParser).parseFromString(gd(""),"text/html")}catch{return!1}}()?new Uq(t):t}class Uq{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(gd(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Gq{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=gd(t),e}}const Wq=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function kg(n){return(n=String(n)).match(Wq)?n:"unsafe:"+n}function Pa(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function $h(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const EI=Pa("area,br,col,hr,img,wbr"),MI=Pa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),TI=Pa("rp,rt"),TC=$h(EI,$h(MI,Pa("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")),$h(TI,Pa("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")),$h(TI,MI)),AC=Pa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),AI=$h(AC,Pa("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"),Pa("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")),Yq=Pa("script,style,template");class Kq{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;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)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!TC.hasOwnProperty(e))return this.sanitizedSomething=!0,!Yq.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();TC.hasOwnProperty(e)&&!EI.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(II(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Qq=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xq=/([^\#-~ |!])/g;function II(n){return n.replace(/&/g,"&").replace(Qq,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Xq,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Eg;function OI(n,t){let e=null;try{Eg=Eg||kI(n);let i=t?String(t):"";e=Eg.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Eg.getInertBodyElement(i)}while(i!==o);return gd((new Kq).sanitizeChildren(IC(e)||e))}finally{if(e){const i=IC(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function IC(n){return"content"in n&&function Jq(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var It=(()=>((It=It||{})[It.NONE=0]="NONE",It[It.HTML=1]="HTML",It[It.STYLE=2]="STYLE",It[It.SCRIPT=3]="SCRIPT",It[It.URL=4]="URL",It[It.RESOURCE_URL=5]="RESOURCE_URL",It))();function OC(n){const t=jh();return t?xI(t.sanitize(It.HTML,n)||""):Yo(n,"HTML")?xI(Er(n)):OI(Hh(),Ye(n))}function Ko(n){const t=jh();return t?t.sanitize(It.URL,n)||"":Yo(n,"URL")?Er(n):kg(Ye(n))}function RI(n){const t=jh();if(t)return SI(t.sanitize(It.RESOURCE_URL,n)||"");if(Yo(n,"ResourceURL"))return SI(Er(n));throw new z(904,!1)}function jh(){const n=K();return n&&n[Rl].sanitizer}class F{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=P({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Uh=new F("ENVIRONMENT_INITIALIZER"),FI=new F("INJECTOR",-1),PI=new F("INJECTOR_DEF_TYPES");class LI{get(t,e=Ch){if(e===Ch){const i=new Error(`NullInjectorError: No provider for ${qn(t)}!`);throw i.name="NullInjectorError",i}return e}}function Mg(n){return{\u0275providers:n}}function RC(...n){return{\u0275providers:BI(0,n),\u0275fromNgModule:!0}}function BI(n,...t){const e=[],i=new Set;let r;return Nh(t,o=>{const a=o;NC(a,e,[],i)&&(r||=[],r.push(a))}),void 0!==r&&VI(r,e),e}function VI(n,t){for(let e=0;e{t.push(o)})}}function NC(n,t,e,i){if(!(n=Ge(n)))return!1;let r=null,o=DT(n);const a=!o&&At(n);if(o||a){if(a&&!a.standalone)return!1;r=n}else{const l=n.ngModule;if(o=DT(l),!o)return!1;r=l}const s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){const l="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const c of l)NC(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let c;i.add(r);try{Nh(o.imports,d=>{NC(d,t,e,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&VI(c,t)}if(!s){const c=Fl(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:Mt},{provide:PI,useValue:r,multi:!0},{provide:Uh,useValue:()=>A(r),multi:!0})}const l=o.providers;null==l||s||FC(l,d=>{t.push(d)})}}return r!==n&&void 0!==n.providers}function FC(n,t){for(let e of n)I0(e)&&(e=e.\u0275providers),Array.isArray(e)?FC(e,t):t(e)}const rW=Pt({provide:String,useValue:Pt});function PC(n){return null!==n&&"object"==typeof n&&rW in n}function zl(n){return"function"==typeof n}const LC=new F("Set Injector scope."),Tg={},aW={};let BC;function Ag(){return void 0===BC&&(BC=new LI),BC}class Qo{}class VC extends Qo{get destroyed(){return this._destroyed}constructor(t,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,HC(t,a=>this.processProvider(a)),this.records.set(FI,_d(void 0,this)),r.has("environment")&&this.records.set(Qo,_d(void 0,this));const o=this.records.get(LC);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(PI.multi,Mt,Fe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=xs(this),i=nr(void 0);try{return t()}finally{xs(e),nr(i)}}get(t,e=Ch,i=Fe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(IT))return t[IT](this);i=qm(i);const r=xs(this),o=nr(void 0);try{if(!(i&Fe.SkipSelf)){let s=this.records.get(t);if(void 0===s){const l=function uW(n){return"function"==typeof n||"object"==typeof n&&n instanceof F}(t)&&jm(t);s=l&&this.injectableDefInScope(l)?_d(zC(t),Tg):null,this.records.set(t,s)}if(null!=s)return this.hydrate(t,s)}return(i&Fe.Self?Ag():this.parent).get(t,e=i&Fe.Optional&&e===Ch?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Gm]=a[Gm]||[]).unshift(qn(t)),r)throw a;return function cU(n,t,e,i){const r=n[Gm];throw t[MT]&&r.unshift(t[MT]),n.message=function dU(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=qn(t);if(Array.isArray(t))r=t.map(qn).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):qn(s)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(rU,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Gm]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{nr(o),xs(r)}}resolveInjectorInitializers(){const t=xs(this),e=nr(void 0);try{const i=this.get(Uh.multi,Mt,Fe.Self);for(const r of i)r()}finally{xs(t),nr(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(qn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(t){let e=zl(t=Ge(t))?t:Ge(t&&t.provide);const i=function lW(n){return PC(n)?_d(void 0,n.useValue):_d($I(n),Tg)}(t);if(zl(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=_d(void 0,Tg,!0),r.factory=()=>F0(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Tg&&(e.value=aW,e.value=e.factory()),"object"==typeof e.value&&e.value&&function dW(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Ge(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function zC(n){const t=jm(n),e=null!==t?t.factory:Fl(n);if(null!==e)return e;if(n instanceof F)throw new z(204,!1);if(n instanceof Function)return function sW(n){const t=n.length;if(t>0)throw Fh(t,"?"),new z(204,!1);const e=function tU(n){return n&&(n[Um]||n[ST])||null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new z(204,!1)}function $I(n,t,e){let i;if(zl(n)){const r=Ge(n);return Fl(r)||zC(r)}if(PC(n))i=()=>Ge(n.useValue);else if(function HI(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...F0(n.deps||[]));else if(function zI(n){return!(!n||!n.useExisting)}(n))i=()=>A(Ge(n.useExisting));else{const r=Ge(n&&(n.useClass||n.provide));if(!function cW(n){return!!n.deps}(n))return Fl(r)||zC(r);i=()=>new r(...F0(n.deps))}return i}function _d(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function HC(n,t){for(const e of n)Array.isArray(e)?HC(e,t):e&&I0(e)?HC(e.\u0275providers,t):t(e)}const Ig=new F("AppId",{providedIn:"root",factory:()=>hW}),hW="ng",jI=new F("Platform Initializer"),Hr=new F("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ot=new F("AnimationModuleType"),$C=new F("CSP nonce",{providedIn:"root",factory:()=>Hh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let GI=(n,t)=>null;function qI(n,t){return GI(n,t)}class CW{}class KI{}class xW{resolveComponentFactory(t){throw function wW(n){const t=Error(`No component factory found for ${qn(n)}.`);return t.ngComponent=n,t}(t)}}let Ms=(()=>{class n{}return n.NULL=new xW,n})();function DW(){return bd(ci(),K())}function bd(n,t){return new W(ar(n,t))}let W=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=DW,n})();function SW(n){return n instanceof W?n.nativeElement:n}class Yh{}let La=(()=>{class n{constructor(){this.destroyNode=null}}return n.__NG_ELEMENT_ID__=()=>function kW(){const n=K(),e=Sr(ci().index,n);return(Dr(e)?e:n)[Xe]}(),n})(),EW=(()=>{class n{}return n.\u0275prov=P({token:n,providedIn:"root",factory:()=>null}),n})();class Hl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const MW=new Hl("16.1.2"),ZC={};function Kh(n){for(;n;){n[Qe]|=64;const t=Bh(n);if(H0(n)&&!t)return n;n=t}return null}function ew(n){return n.ngOriginalError}class $r{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&ew(t);for(;e&&ew(e);)e=ew(e);return e||null}}const ZI=new F("",{providedIn:"root",factory:()=>!1});function Ba(n){return n instanceof Function?n():n}class rO extends QT{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Kh(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,e,i){const r=ii(this);this.trackingVersion++;try{t(e,i)}finally{ii(r)}}destroy(){this.trackingVersion++}}let Lg=null;function oO(){return Lg??=new rO,Lg}function aO(n,t){return n[t]??oO()}function sO(n,t){const e=oO();e.hasReadASignal&&(n[t]=Lg,e.lView=n,Lg=new rO)}const Ze={};function b(n){lO(Ct(),K(),Ui()+n,!1)}function lO(n,t,e,i){if(!i)if(3==(3&t[Qe])){const o=n.preOrderCheckHooks;null!==o&&og(t,o,e)}else{const o=n.preOrderHooks;null!==o&&ag(t,o,0,e)}Pl(e)}function fO(n,t=null,e=null,i){const r=pO(n,t,e,i);return r.resolveInjectorInitializers(),r}function pO(n,t=null,e=null,i,r=new Set){const o=[e||Mt,RC(n)];return i=i||("object"==typeof n?void 0:qn(n)),new VC(o,t||Ag(),i||null,r)}let Yt=(()=>{class n{static create(e,i){if(Array.isArray(e))return fO({name:""},i,e,"");{const r=e.name??"";return fO({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Ch,n.NULL=new LI,n.\u0275prov=P({token:n,providedIn:"any",factory:()=>A(FI)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,t=Fe.Default){const e=K();return null===e?A(n,t):OA(ci(),e,Ge(n),t)}function Mr(){throw new Error("invalid")}function Bg(n,t,e,i,r,o,a,s,l,c,d){const u=t.blueprint.slice();return u[Wn]=r,u[Qe]=140|i,(null!==c||n&&2048&n[Qe])&&(u[Qe]|=2048),aA(u),u[dn]=u[ed]=n,u[On]=e,u[Rl]=a||n&&n[Rl],u[Xe]=s||n&&n[Xe],u[Zc]=l||n&&n[Zc]||null,u[vi]=o,u[Mh]=function iq(){return nq++}(),u[Oa]=d,u[UT]=c,u[Rn]=2==t.type?n[Rn]:u,u}function yd(n,t,e,i,r){let o=n.data[t];if(null===o)o=tw(n,t,e,i,r),function sG(){return je.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const a=Ah();o.injectorIndex=null===a?-1:a.injectorIndex}return qo(o,!0),o}function tw(n,t,e,i,r){const o=hA(),a=W0(),l=n.data[t]=function KW(n,t,e,i,r,o){let a=t?t.injectorIndex:-1,s=0;return rd()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,e,t,i,r);return null===n.firstChild&&(n.firstChild=l),null!==o&&(a?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}function Qh(n,t,e,i){if(0===e)return-1;const r=t.length;for(let o=0;opt&&lO(n,t,pt,!1),Go(s?2:0,r),s)o.runInContext(e,i,r);else{const c=ii(null);try{e(i,r)}finally{ii(c)}}}finally{s&&null===t[Km]&&sO(t,Km),Pl(a),Go(s?3:1,r)}}function nw(n,t,e){if(z0(t)){const i=ii(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;anull;function bO(n,t,e,i){for(let r in n)if(n.hasOwnProperty(r)){e=null===e?{}:e;const o=n[r];null===i?vO(e,t,r,o):i.hasOwnProperty(r)&&vO(e,t,i[r],o)}return e}function vO(n,t,e,i){n.hasOwnProperty(e)?n[e].push(t,i):n[e]=[t,i]}function Tr(n,t,e,i,r,o,a,s){const l=ar(t,e);let d,c=t.inputs;!s&&null!=c&&(d=c[i])?(dw(n,e,d,i,r),Nl(t)&&function JW(n,t){const e=Sr(t,n);16&e[Qe]||(e[Qe]|=64)}(e,t.index)):3&t.type&&(i=function XW(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=a?a(r,t.value||"",i):r,o.setProperty(l,i,r))}function aw(n,t,e,i){if(uA()){const r=null===i?null:{"":-1},o=function rY(n,t){const e=n.directiveRegistry;let i=null,r=null;if(e)for(let o=0;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,i,o)}}(n,t,i,Qh(n,e,r.hostVars,Ze),r)}function lw(n,t,e,i,r,o,a){if(null==o)n.removeAttribute(t,r,e);else{const s=null==a?Ye(o):a(o,i||"",r);n.setAttribute(t,r,s,e)}}function dY(n,t,e,i,r,o){const a=o[t];if(null!==a)for(let s=0;s{class n{}return n.__NG_ELEMENT_ID__=gY,n.__NG_ENV_ID__=t=>t,n})();class mY extends hw{constructor(t){super(),this._lView=t}onDestroy(t){return cA(this._lView,t),()=>function XU(n,t){if(null===n[Ds])return;const e=n[Ds].indexOf(t);-1!==e&&n[Ds].splice(e,1)}(this._lView,t)}}function gY(){return new mY(K())}let TO=(()=>{class n{constructor(){this.all=new Set,this.queue=new Map}create(e,i,r){const o=typeof Zone>"u"?null:Zone.current,a=new VU(e,c=>{this.all.has(c)&&this.queue.set(c,o)},r);let s;this.all.add(a),a.notify();const l=()=>{a.cleanup(),s?.(),this.all.delete(a),this.queue.delete(a)};return s=i?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}}return n.\u0275prov=P({token:n,providedIn:"root",factory:()=>new n}),n})();function zg(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(null!==t)for(let a=0;a0){IO(n,1);const r=n[ve].components;null!==r&&RO(n,r,1)}}function RO(n,t,e){for(let i=0;i-1&&(yC(t,i),hg(e,i))}this._attachedToViewContainer=!1}dI(this._lView[ve],this._lView)}onDestroy(t){cA(this._lView,t)}markForCheck(){Kh(this._cdRefInjectingView||this._lView)}detach(){this._lView[Qe]&=-129}reattach(){this._lView[Qe]|=128}detectChanges(){Hg(this._lView[ve],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function _q(n,t){zh(n,t,t[Xe],2,null,null)}(this._lView[ve],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=t}}class CY extends Jh{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Hg(t[ve],t,t[On],!1)}checkNoChanges(){}get context(){return null}}class NO extends Ms{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=At(t);return new Zh(e,this.ngModule)}}function FO(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class xY{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=qm(i);const r=this.injector.get(t,ZC,i);return r!==ZC||e===ZC?r:this.parentInjector.get(t,e,i)}}class Zh extends KI{get inputs(){return FO(this.componentDef.inputs)}get outputs(){return FO(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function yU(n){return n.map(vU).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Qo?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new xY(t,o):t,s=a.get(Yh,null);if(null===s)throw new z(407,!1);const d={rendererFactory:s,sanitizer:a.get(EW,null),effectManager:a.get(TO,null)},u=s.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function UW(n,t,e,i){const o=i.get(ZI,!1)||e===ir.ShadowDom,a=n.selectRootElement(t,o);return function GW(n){_O(n)}(a),a}(u,i,this.componentDef.encapsulation,a):yg(u,h,function wY(n){const t=n.toLowerCase();return"svg"===t?iA:"math"===t?"math":null}(h)),w=this.componentDef.signals?4608:this.componentDef.onPush?576:528,k=ow(0,null,null,1,0,null,null,null,null,null,null),D=Bg(null,k,null,w,null,null,d,u,a,null,null);let M,I;J0(D);try{const O=this.componentDef;let he,L=null;O.findHostDirectiveDefs?(he=[],L=new Map,O.findHostDirectiveDefs(O,he,L),he.push(O)):he=[O];const le=function SY(n,t){const e=n[ve],i=pt;return n[i]=t,yd(e,i,2,"#host",null)}(D,p),Ve=function kY(n,t,e,i,r,o,a){const s=r[ve];!function EY(n,t,e,i){for(const r of n)t.mergedAttrs=Dh(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(zg(t,t.mergedAttrs,!0),null!==e&&wI(i,e,t))}(i,n,t,a);let l=null;null!==t&&(l=qI(t,r[Zc]));const c=o.rendererFactory.createRenderer(t,e);let d=16;e.signals?d=4096:e.onPush&&(d=64);const u=Bg(r,gO(e),null,d,r[n.index],n,o,c,null,null,l);return s.firstCreatePass&&sw(s,n,i.length-1),Vg(r,u),r[n.index]=u}(le,p,O,he,D,d,u);I=oA(k,pt),p&&function TY(n,t,e,i){if(i)B0(n,e,["ng-version",MW.full]);else{const{attrs:r,classes:o}=function CU(n){const t=[],e=[];let i=1,r=2;for(;i0&&CI(n,e,o.join(" "))}}(u,O,p,i),void 0!==e&&function AY(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Dh(r.hostAttrs,e=Dh(e,r.hostAttrs))}}(i)}function $g(n){return n===Ho?{}:n===Mt?[]:n}function RY(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function NY(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function FY(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function zO(n){const t=n.inputConfig,e={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[2]&&(e[i]=r[2])}n.inputTransforms=e}function jg(n){return!!fw(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function fw(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Jo(n,t,e){return n[t]=e}function Di(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function $l(n,t,e,i){const r=Di(n,t,e);return Di(n,t+1,i)||r}function jr(n,t,e,i,r,o){const a=$l(n,t,e,i);return $l(n,t+2,r,o)||a}function ie(n,t,e,i){const r=K();return Di(r,od(),t)&&(Ct(),function Xo(n,t,e,i,r,o){const a=ar(n,t);lw(t[Xe],a,o,n.value,e,i,r)}(un(),r,n,t,e,i)),ie}function wd(n,t,e,i){return Di(n,od(),e)?t+Ye(e)+i:Ze}function S(n,t,e,i,r,o,a,s){const l=K(),c=Ct(),d=n+pt,u=c.firstCreatePass?function aK(n,t,e,i,r,o,a,s,l){const c=t.consts,d=yd(t,n,4,a||null,Ss(c,s));aw(t,e,d,Ss(c,l)),rg(t,d);const u=d.tView=ow(2,d,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,c,l,t,e,i,r,o,a):c.data[d];qo(u,!1);const h=ZO(c,l,u,n);ig()&&wg(c,l,h,u),xi(h,l),Vg(l,l[d]=xO(h,l,h,u)),Jm(u)&&iw(c,l,u),null!=a&&rw(l,u,s)}let ZO=function eR(n,t,e,i){return Es(!0),t[Xe].createComment("")};function mt(n){return id(function aG(){return je.lFrame.contextLView}(),pt+n)}function _(n,t,e){const i=K();return Di(i,od(),t)&&Tr(Ct(),un(),i,n,t,i[Xe],e,!1),_}function vw(n,t,e,i,r){const a=r?"class":"style";dw(n,e,t.inputs[a],a,i)}function f(n,t,e,i){const r=K(),o=Ct(),a=pt+n,s=r[Xe],l=o.firstCreatePass?function dK(n,t,e,i,r,o){const a=t.consts,l=yd(t,n,2,i,Ss(a,r));return aw(t,e,l,Ss(a,o)),null!==l.attrs&&zg(l,l.attrs,!1),null!==l.mergedAttrs&&zg(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(a,o,r,t,e,i):o.data[a],c=tR(o,r,l,s,t,n);r[a]=c;const d=Jm(l);return qo(l,!0),wI(s,c,l),32!=(32&l.flags)&&ig()&&wg(o,r,c,l),0===function JU(){return je.lFrame.elementDepthCount}()&&xi(c,r),function ZU(){je.lFrame.elementDepthCount++}(),d&&(iw(o,r,l),nw(o,l,r)),null!==i&&rw(r,l),f}function m(){let n=ci();W0()?Y0():(n=n.parent,qo(n,!1));const t=n;(function tG(n){return je.skipHydrationRootTNode===n})(t)&&function oG(){je.skipHydrationRootTNode=null}(),function eG(){je.lFrame.elementDepthCount--}();const e=Ct();return e.firstCreatePass&&(rg(e,n),z0(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function bG(n){return 0!=(8&n.flags)}(t)&&vw(e,t,K(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vG(n){return 0!=(16&n.flags)}(t)&&vw(e,t,K(),t.stylesWithoutHost,!1),m}function T(n,t,e,i){return f(n,t,e,i),m(),T}let tR=(n,t,e,i,r,o)=>(Es(!0),yg(i,r,function wA(){return je.lFrame.currentNamespace}()));function Dt(n,t,e){const i=K(),r=Ct(),o=n+pt,a=r.firstCreatePass?function fK(n,t,e,i,r){const o=t.consts,a=Ss(o,i),s=yd(t,n,8,"ng-container",a);return null!==a&&zg(s,a,!0),aw(t,e,s,Ss(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,e):r.data[o];qo(a,!0);const s=nR(r,i,a,n);return i[o]=s,ig()&&wg(r,i,s,a),xi(s,i),Jm(a)&&(iw(r,i,a),nw(r,a,i)),null!=e&&rw(i,a),Dt}function St(){let n=ci();const t=Ct();return W0()?Y0():(n=n.parent,qo(n,!1)),t.firstCreatePass&&(rg(t,n),z0(n)&&t.queries.elementEnd(n)),St}function Gi(n,t,e){return Dt(n,t,e),St(),Gi}let nR=(n,t,e,i)=>(Es(!0),vC(t[Xe],""));function Y(){return K()}function af(n){return!!n&&"function"==typeof n.then}function iR(n){return!!n&&"function"==typeof n.subscribe}function E(n,t,e,i){const r=K(),o=Ct(),a=ci();return rR(o,r,r[Xe],a,n,t,i),E}function sf(n,t){const e=ci(),i=K(),r=Ct();return rR(r,i,EO(Q0(r.data),e,i),e,n,t),sf}function rR(n,t,e,i,r,o,a){const s=Jm(i),c=n.firstCreatePass&&kO(n),d=t[On],u=SO(t);let h=!0;if(3&i.type||a){const y=ar(i,t),w=a?a(y):y,k=u.length,D=a?I=>a(Jt(I[i.index])):i.index;let M=null;if(!a&&s&&(M=function gK(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?s[l]:null}"string"==typeof a&&(o+=2)}return null}(n,t,r,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=o,M.__ngLastListenerFn__=o,h=!1;else{o=aR(i,t,d,o,!1);const I=e.listen(w,r,o);u.push(o,I),c&&c.push(r,D,k,k+1)}}else o=aR(i,t,d,o,!1);const p=i.outputs;let v;if(h&&null!==p&&(v=p[r])){const y=v.length;if(y)for(let w=0;w-1?Sr(n.index,t):t);let l=oR(t,e,i,a),c=o.__ngNextListenerFn__;for(;c;)l=oR(t,e,c,a)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&a.preventDefault(),l}}function x(n=1){return function uG(n){return(je.lFrame.contextLView=function hG(n,t){for(;n>0;)t=t[ed],n--;return t}(n,je.lFrame.contextLView))[On]}(n)}function _K(n,t){let e=null;const i=function mU(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function Cw(n){return 2|n}function jl(n){return(131068&n)>>2}function ww(n,t){return-131069&n|t<<2}function xw(n){return 1|n}function mR(n,t,e,i,r){const o=n[e+1],a=null===t;let s=i?Ts(o):jl(o),l=!1;for(;0!==s&&(!1===l||a);){const d=n[s+1];xK(n[s],t)&&(l=!0,n[s+1]=i?xw(d):Cw(d)),s=i?Ts(d):jl(d)}l&&(n[e+1]=i?Cw(o):xw(o))}function xK(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&hd(n,t)>=0}const Kn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gR(n){return n.substring(Kn.key,Kn.keyEnd)}function DK(n){return n.substring(Kn.value,Kn.valueEnd)}function _R(n,t){const e=Kn.textEnd;return e===t?-1:(t=Kn.keyEnd=function EK(n,t,e){for(;t32;)t++;return t}(n,Kn.key=t,e),Ad(n,t,e))}function bR(n,t){const e=Kn.textEnd;let i=Kn.key=Ad(n,t,e);return e===i?-1:(i=Kn.keyEnd=function MK(n,t,e){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(n,i,e),i=yR(n,i,e),i=Kn.value=Ad(n,i,e),i=Kn.valueEnd=function TK(n,t,e){let i=-1,r=-1,o=-1,a=t,s=a;for(;a32&&(s=a),o=r,r=i,i=-33&l}return s}(n,i,e),yR(n,i,e))}function vR(n){Kn.key=0,Kn.keyEnd=0,Kn.value=0,Kn.valueEnd=0,Kn.textEnd=n.length}function Ad(n,t,e){for(;t=0;e=bR(t,e))SR(n,gR(t),DK(t))}function Zo(n,t){for(let e=function SK(n){return vR(n),_R(n,Ad(n,0,Kn.textEnd))}(t);e>=0;e=_R(t,e))kr(n,gR(t),!0)}function po(n,t,e,i){const r=K(),o=Ct(),a=Na(2);o.firstUpdatePass&&DR(o,n,a,i),t!==Ze&&Di(r,a,t)&&kR(o,o.data[Ui()],r,r[Xe],n,r[a+1]=function BK(n,t){return null==n||""===n||("string"==typeof t?n+=t:"object"==typeof n&&(n=qn(Er(n)))),n}(t,e),i,a)}function mo(n,t,e,i){const r=Ct(),o=Na(2);r.firstUpdatePass&&DR(r,null,o,i);const a=K();if(e!==Ze&&Di(a,o,e)){const s=r.data[Ui()];if(MR(s,i)&&!xR(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(e=T0(l,e||"")),vw(r,s,a,e,i)}else!function LK(n,t,e,i,r,o,a,s){r===Ze&&(r=Mt);let l=0,c=0,d=0=n.expandoStartIndex}function DR(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Ui()],a=xR(n,e);MR(o,i)&&null===t&&!a&&(t=!1),t=function IK(n,t,e,i){const r=Q0(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=lf(e=Dw(null,n,t,e,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||n[a]!==r)if(e=Dw(r,n,t,e,i),null===o){let l=function OK(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==jl(i))return n[Ts(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Dw(null,n,t,l[1],i),l=lf(l,t.attrs,i),function RK(n,t,e,i){n[Ts(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function NK(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)):d=e,r)if(0!==l){const h=Ts(n[s+1]);n[i+1]=Kg(h,s),0!==h&&(n[h+1]=ww(n[h+1],i)),n[s+1]=function vK(n,t){return 131071&n|t<<17}(n[s+1],i)}else n[i+1]=Kg(s,0),0!==s&&(n[s+1]=ww(n[s+1],i)),s=i;else n[i+1]=Kg(l,0),0===s?s=i:n[l+1]=ww(n[l+1],i),l=i;c&&(n[i+1]=Cw(n[i+1])),mR(n,d,i,!0),mR(n,d,i,!1),function wK(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&hd(o,t)>=0&&(e[i+1]=xw(e[i+1]))}(t,d,n,i,o),a=Kg(s,l),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,i)}}function Dw(n,t,e,i,r){let o=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=e[r+1];h===Ze&&(h=u?Mt:void 0);let p=u?lC(h,i):d===i?h:void 0;if(c&&!Qg(p)&&(p=lC(l,i)),Qg(p)&&(s=p,a))return s;const v=n[r+1];r=a?Ts(v):jl(v)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(s=lC(l,i))}return s}function Qg(n){return void 0!==n}function MR(n,t){return 0!=(n.flags&(t?8:16))}function C(n,t=""){const e=K(),i=Ct(),r=n+pt,o=i.firstCreatePass?yd(i,r,1,t,null):i.data[r],a=TR(i,e,o,t,n);e[r]=a,ig()&&wg(i,e,a,o),qo(o,!1)}let TR=(n,t,e,i,r)=>(Es(!0),vg(t[Xe],i));function xe(n){return me("",n,""),xe}function me(n,t,e){const i=K(),r=wd(i,n,t,e);return r!==Ze&&Va(i,Ui(),r),me}function Sw(n,t,e,i,r){const o=K(),a=function xd(n,t,e,i,r,o){const s=$l(n,Ra(),e,r);return Na(2),s?t+Ye(e)+i+Ye(r)+o:Ze}(o,n,t,e,i,r);return a!==Ze&&Va(o,Ui(),a),Sw}function As(n,t,e,i,r,o,a,s,l){const c=K(),d=function Sd(n,t,e,i,r,o,a,s,l,c){const u=jr(n,Ra(),e,r,a,l);return Na(4),u?t+Ye(e)+i+Ye(r)+o+Ye(a)+s+Ye(l)+c:Ze}(c,n,t,e,i,r,o,a,s,l);return d!==Ze&&Va(c,Ui(),d),As}function go(n,t,e,i,r,o,a,s,l,c,d){const u=K(),h=function kd(n,t,e,i,r,o,a,s,l,c,d,u){const h=Ra();let p=jr(n,h,e,r,a,l);return p=Di(n,h+4,d)||p,Na(5),p?t+Ye(e)+i+Ye(r)+o+Ye(a)+s+Ye(l)+c+Ye(d)+u:Ze}(u,n,t,e,i,r,o,a,s,l,c,d);return h!==Ze&&Va(u,Ui(),h),go}function kw(n,t,e,i,r,o,a,s,l,c,d,u,h){const p=K(),v=function Ed(n,t,e,i,r,o,a,s,l,c,d,u,h,p){const v=Ra();let y=jr(n,v,e,r,a,l);return y=$l(n,v+4,d,h)||y,Na(6),y?t+Ye(e)+i+Ye(r)+o+Ye(a)+s+Ye(l)+c+Ye(d)+u+Ye(h)+p:Ze}(p,n,t,e,i,r,o,a,s,l,c,d,u,h);return v!==Ze&&Va(p,Ui(),v),kw}function Si(n,t,e){const i=K();return Di(i,od(),t)&&Tr(Ct(),un(),i,n,t,i[Xe],e,!0),Si}function cf(n,t,e){const i=K();if(Di(i,od(),t)){const o=Ct(),a=un();Tr(o,a,i,n,t,EO(Q0(o.data),a,i),e,!0)}return cf}const Ul=void 0;var oQ=["en",[["a","p"],["AM","PM"],Ul],[["AM","PM"],Ul,Ul],[["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"]],Ul,[["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"]],Ul,[["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}",Ul,"{1} 'at' {0}",Ul],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rQ(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Id={};function UR(n){return function qi(n){const t=function aQ(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=GR(t);if(e)return e;const i=t.split("-")[0];if(e=GR(i),e)return e;if("en"===i)return oQ;throw new z(701,!1)}(n)[_e.PluralCase]}function GR(n){return n in Id||(Id[n]=Wt.ng&&Wt.ng.common&&Wt.ng.common.locales&&Wt.ng.common.locales[n]),Id[n]}var _e=(()=>((_e=_e||{})[_e.LocaleId=0]="LocaleId",_e[_e.DayPeriodsFormat=1]="DayPeriodsFormat",_e[_e.DayPeriodsStandalone=2]="DayPeriodsStandalone",_e[_e.DaysFormat=3]="DaysFormat",_e[_e.DaysStandalone=4]="DaysStandalone",_e[_e.MonthsFormat=5]="MonthsFormat",_e[_e.MonthsStandalone=6]="MonthsStandalone",_e[_e.Eras=7]="Eras",_e[_e.FirstDayOfWeek=8]="FirstDayOfWeek",_e[_e.WeekendRange=9]="WeekendRange",_e[_e.DateFormat=10]="DateFormat",_e[_e.TimeFormat=11]="TimeFormat",_e[_e.DateTimeFormat=12]="DateTimeFormat",_e[_e.NumberSymbols=13]="NumberSymbols",_e[_e.NumberFormats=14]="NumberFormats",_e[_e.CurrencyCode=15]="CurrencyCode",_e[_e.CurrencySymbol=16]="CurrencySymbol",_e[_e.CurrencyName=17]="CurrencyName",_e[_e.Currencies=18]="Currencies",_e[_e.Directionality=19]="Directionality",_e[_e.PluralCase=20]="PluralCase",_e[_e.ExtraData=21]="ExtraData",_e))();const sQ=["zero","one","two","few","many"],Od="en-US",Xg={marker:"element"},Jg={marker:"ICU"};var Cn=(()=>((Cn=Cn||{})[Cn.SHIFT=2]="SHIFT",Cn[Cn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Cn[Cn.COMMENT=2]="COMMENT",Cn))();let qR=Od;function WR(n){(function Vr(n,t){null==n&&Nt(t,n,null,"!=")})(n,"Expected localeId to be defined"),"string"==typeof n&&(qR=n.toLowerCase().replace(/_/g,"-"))}function YR(n,t,e){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?mI(n,0,e):Jt(e[r])}function KR(n,t,e,i,r){const o=t.insertBeforeIndex;if(Array.isArray(o)){let a=i,s=null;if(3&t.type||(s=a,a=r),null!==a&&-1===t.componentOffset)for(let l=1;l1)for(let e=n.length-2;e>=0;e--){const i=n[e];XR(i)||uQ(i,t)&&null===hQ(i)&&fQ(i,t.index)}}function XR(n){return!(64&n.type)}function uQ(n,t){return XR(t)||n.index>t.index}function hQ(n){const t=n.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function fQ(n,t){const e=n.insertBeforeIndex;Array.isArray(e)?e[0]=t:(_I(YR,KR),n.insertBeforeIndex=t)}function df(n,t){const e=n.data[t];return null===e||"string"==typeof e?null:e.hasOwnProperty("currentCaseLViewIndex")?e:e.value}function gQ(n,t,e){const i=tw(n,e,64,null,null);return QR(t,i),i}function Zg(n,t){const e=t[n.currentCaseLViewIndex];return null===e?e:e<0?~e:e}function JR(n){return n>>>17}function ZR(n){return(131070&n)>>>1}let uf=0,hf=0;function t2(n,t,e,i){const r=e[Xe];let a,o=null;for(let s=0;s>>1,e),null,null,p,v,null)}else switch(l){case Jg:const c=t[++s],d=t[++s];null===e[d]&&xi(e[d]=vC(r,c),e);break;case Xg:const u=t[++s],h=t[++s];null===e[h]&&xi(e[h]=yg(r,u,null),e)}}}function n2(n,t,e,i,r){for(let o=0;o>>2;switch(3&d){case 1:const h=e[++c],p=e[++c],v=n.data[u];"string"==typeof v?lw(t[Xe],t[u],null,v,h,l,p):Tr(n,v,t,h,l,t[Xe],p,!1);break;case 0:const y=t[u];null!==y&&lI(t[Xe],y,l);break;case 2:CQ(n,df(n,u),t,l);break;case 3:r2(n,df(n,u),i,t)}}}}else{const l=e[o+1];if(l>0&&3==(3&l)){const d=df(n,l>>>2);t[d.currentCaseLViewIndex]<0&&r2(n,d,i,t)}}o+=s}}function r2(n,t,e,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let o=uf;r<0&&(r=i[t.currentCaseLViewIndex]=~r,o=-1),n2(n,i,t.update[r],e,o)}}function CQ(n,t,e,i){const r=function wQ(n,t){let e=n.cases.indexOf(t);if(-1===e)switch(n.type){case 1:{const i=function lQ(n,t){const e=UR(t)(parseInt(n,10)),i=sQ[e];return void 0!==i?i:"other"}(t,function dQ(){return qR}());e=n.cases.indexOf(i),-1===e&&"other"!==i&&(e=n.cases.indexOf("other"));break}case 0:e=n.cases.indexOf("other")}return-1===e?null:e}(t,i);if(Zg(t,e)!==r&&(o2(n,t,e),e[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const a=e[t.anchorIdx];a&&t2(n,t.create[r],e,a)}}function o2(n,t,e){let i=Zg(t,e);if(null!==i){const r=t.remove[i];for(let o=0;o0){const s=ng(a,e);null!==s&&xg(e[Xe],s)}else o2(n,df(n,~a),e)}}}function xQ(){const n=[];let e,i,t=-1;function o(s,l){t=0;const c=Zg(s,l);i=null!==c?s.remove[c]:Mt}function a(){if(t0?e[s]:(n.push(t,i),o(e[ve].data[~s],e),a())}return 0===n.length?null:(i=n.pop(),t=n.pop(),a())}return function r(s,l){for(e=l;n.length;)n.pop();return o(s.value,l),a}}const e_=/\ufffd(\d+):?\d*\ufffd/gi,SQ=/\ufffd(\d+)\ufffd/,s2=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ff="\ufffd",kQ=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,EQ=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,MQ=/\uE500/g;function l2(n,t,e,i,r,o,a){const s=Qh(n,i,1,null);let l=s<e.length&&e.push(l)}return{type:i,mainBinding:r,cases:t,values:e}}function Ew(n){if(!n)return[];let t=0;const e=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(n);){const s=o.index;if("}"==o[0]){if(e.pop(),0==e.length){const l=n.substring(t,s);s2.test(l)?i.push(PQ(l)):i.push(l),t=s+1}}else{if(0==e.length){const l=n.substring(t,s);i.push(l),t=s+1}e.push("{")}}const a=n.substring(t);return i.push(a),i}function LQ(n,t,e,i,r,o,a,s){const l=[],c=[],d=[];t.cases.push(o),t.create.push(l),t.remove.push(c),t.update.push(d);const h=kI(Hh()).getInertBodyElement(a),p=IC(h)||h;return p?h2(n,t,e,i,l,c,d,p,r,s,0):0}function h2(n,t,e,i,r,o,a,s,l,c,d){let u=0,h=s.firstChild;for(;h;){const p=Qh(n,e,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const v=h,y=v.tagName.toLowerCase();if(TC.hasOwnProperty(y)){Mw(r,Xg,y,l,p),n.data[p]=y;const M=v.attributes;for(let I=0;I>>Cn.SHIFT;let u=n[d];null===u&&(u=n[d]=(a&Cn.COMMENT)===Cn.COMMENT?r.createComment(s):vg(r,s)),c&&null!==e&&Bl(r,e,u,i,!1)}})(r,l.create,d,s&&8&s.type?r[s.index]:null),mA(!0)}function Ce(n,t,e){m2(n,t,e),function g2(){mA(!1)}()}function Tw(n){return function bQ(n){n&&(uf|=1<>20;if(zl(n)||!n.multi){const p=new Ih(l,r,g),v=Ow(s,t,r?d:d+h,u);-1===v?(oC(dg(c,a),o,s),Iw(o,n,t.length),t.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(p),a.push(p)):(e[v]=p,a[v]=p)}else{const p=Ow(s,t,d+h,u),v=Ow(s,t,d,d+h),w=v>=0&&e[v];if(r&&!w||!r&&!(p>=0&&e[p])){oC(dg(c,a),o,s);const k=function tX(n,t,e,i,r){const o=new Ih(n,e,g);return o.multi=[],o.index=t,o.componentProviders=0,b2(o,r,i&&!e),o}(r?eX:ZQ,e.length,r,i,l);!r&&w&&(e[v].providerFactory=k),Iw(o,n,t.length,0),t.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(k),a.push(k)}else Iw(o,n,p>-1?p:v,b2(e[r?v:p],l,!r&&i));!r&&i&&w&&e[v].componentProviders++}}}function Iw(n,t,e,i){const r=zl(t),o=function oW(n){return!!n.useClass}(t);if(r||o){const l=(o?Ge(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const d=c.indexOf(e);-1===d?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function b2(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Ow(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function JQ(n,t,e){const i=Ct();if(i.firstCreatePass){const r=ho(n);Aw(e,i.data,i.blueprint,r,!0),Aw(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Rd{}class v2{}class Nw extends Rd{constructor(t,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new NO(this);const r=xr(t);this._bootstrapComponents=Ba(r.bootstrap),this._r3Injector=pO(t,e,[{provide:Rd,useValue:this},{provide:Ms,useValue:this.componentFactoryResolver},...i],qn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Fw extends v2{constructor(t){super(),this.moduleType=t}create(t){return new Nw(this.moduleType,t,[])}}class y2 extends Rd{constructor(t){super(),this.componentFactoryResolver=new NO(this),this.instance=null;const e=new VC([...t.providers,{provide:Rd,useValue:this},{provide:Ms,useValue:this.componentFactoryResolver}],t.parent||Ag(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Pw(n,t,e=null){return new y2({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}let rX=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=BI(0,e.type),r=i.length>0?Pw([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=P({token:n,providedIn:"environment",factory:()=>new n(A(Qo))}),n})();function Se(n){n.getStandaloneInjector=t=>t.get(rX).getOrCreateStandaloneInjector(n)}function wn(n,t,e){const i=ji()+n,r=K();return r[i]===Ze?Jo(r,i,e?t.call(e):t()):function ef(n,t){return n[t]}(r,i)}function Is(n,t,e,i){return E2(K(),ji(),n,t,e,i)}function t_(n,t,e,i,r){return function M2(n,t,e,i,r,o,a){const s=t+e;return $l(n,s,r,o)?Jo(n,s+2,a?i.call(a,r,o):i(r,o)):mf(n,s+2)}(K(),ji(),n,t,e,i,r)}function mf(n,t){const e=n[t];return e===Ze?void 0:e}function E2(n,t,e,i,r,o){const a=t+e;return Di(n,a,r)?Jo(n,a+1,o?i.call(o,r):i(r)):mf(n,a+1)}function Q(n,t){const e=Ct();let i;const r=n+pt;e.firstCreatePass?(i=function yX(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Fl(i.type)),a=nr(g);try{const s=cg(!1),l=o();return cg(s),function cK(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,K(),r,l),l}finally{nr(a)}}function X(n,t,e){const i=n+pt,r=K(),o=id(r,i);return function gf(n,t){return n[ve].data[t].pure}(r,i)?E2(r,ji(),t,o.transform,e,o):o.transform(e)}function Bw(n){return t=>{setTimeout(n,void 0,t)}}const j=class SX extends q{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),a=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=Bw(o),r&&(r=Bw(r)),a&&(a=Bw(a)));const s=super.subscribe({next:r,error:o,complete:a});return t instanceof We&&t.add(s),s}};function kX(){return this._results[Symbol.iterator]()}class ea{get changes(){return this._changes||(this._changes=new j)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=ea.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=kX)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function zr(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function AG(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=TX,n})();const EX=kt,MX=class extends EX{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e,null)}createEmbeddedViewImpl(t,e,i){const a=this._declarationTContainer.tView,s=Bg(this._declarationLView,a,t,4096&this._declarationLView[Qe]?4096:16,null,a.declTNode,null,null,null,e||null,i||null);s[Eh]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[$o];return null!==c&&(s[$o]=c.createEmbeddedView(a)),uw(a,s,t),new Jh(s)}};function TX(){return n_(ci(),K())}function n_(n,t){return 4&n.type?new MX(t,n,bd(n,t)):null}let Ft=(()=>{class n{}return n.__NG_ELEMENT_ID__=PX,n})();function PX(){return L2(ci(),K())}const LX=Ft,F2=class extends LX{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return bd(this._hostTNode,this._hostLView)}get injector(){return new sd(this._hostTNode,this._hostLView)}get parentInjector(){const t=rC(this._hostTNode,this._hostLView);if(kA(t)){const e=lg(t,this._hostLView),i=sg(t);return new sd(e[ve].data[i+8],e)}return new sd(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=P2(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-yi}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(s,r,false),s}createComponent(t,e,i,r,o){const a=t&&!function Rh(n){return"function"==typeof n}(t);let s;if(a)s=e;else{const y=e||{};s=y.index,i=y.injector,r=y.projectableNodes,o=y.environmentInjector||y.ngModuleRef}const l=a?t:new Zh(At(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const w=(a?c:this.parentInjector).get(Qo,null);w&&(o=w)}At(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,s,false),p}insert(t,e){return this.insertImpl(t,e,!1)}insertImpl(t,e,i){const r=t._lView,o=r[ve];if(function KU(n){return or(n[dn])}(r)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=r[dn],d=new F2(c,c[vi],c[dn]);d.detach(d.indexOf(t))}}const a=this._adjustIndex(e),s=this._lContainer;if(function vq(n,t,e,i){const r=yi+i,o=e.length;i>0&&(e[r-1][uo]=t),i0)i.push(a[s/2]);else{const c=o[s+1],d=t[-l];for(let u=yi;u{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=ne(Xw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const r of this.appInits){const o=r();if(af(o))e.push(o);else if(iR(o)){const a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),sN=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const bo=new F("LocaleId",{providedIn:"root",factory:()=>ne(bo,Fe.Optional|Fe.SkipSelf)||function fJ(){return typeof $localize<"u"&&$localize.locale||Od}()});let Zw=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ft(!1)}add(){this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class mJ{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let gJ=(()=>{class n{compileModuleSync(e){return new Fw(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Ba(xr(e).declarations).reduce((a,s)=>{const l=At(s);return l&&a.push(new Zh(l)),a},[]);return new mJ(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function dN(...n){}class de{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new j(!1),this.onMicrotaskEmpty=new j(!1),this.onStable=new j(!1),this.onError=new j(!1),typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function vJ(){let n=Wt.requestAnimationFrame,t=Wt.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function wJ(n){const t=()=>{!function CJ(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Wt,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,tx(n),n.isCheckStableRunning=!0,ex(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),tx(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,a,s)=>{try{return uN(n),e.invokeTask(r,o,a,s)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),hN(n)}},onInvoke:(e,i,r,o,a,s,l)=>{try{return uN(n),e.invoke(r,o,a,s,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),hN(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,tx(n),ex(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!de.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(de.isInAngularZone())throw new z(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,yJ,dN,dN);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const yJ={};function ex(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function tx(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function uN(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function hN(n){n._nesting--,ex(n)}const fN=new F("",{providedIn:"root",factory:pN});function pN(){const n=ne(de);let t=!0;return dt(new it(r=>{t=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{r.next(t),r.complete()})}),new it(r=>{let o;n.runOutsideAngular(()=>{o=n.onStable.subscribe(()=>{de.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const a=n.onUnstable.subscribe(()=>{de.assertInAngularZone(),t&&(t=!1,n.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}}).pipe(Vm()))}const mN=new F("");let Os=null;const ox=new F("PlatformDestroyListeners"),o_=new F("appBootstrapListener");function TJ(n){try{const{rootComponent:t,appProviders:e,platformProviders:i}=n,r=function MJ(n=[]){if(Os)return Os;const t=function vN(n=[],t){return Yt.create({name:t,providers:[{provide:LC,useValue:"platform"},{provide:ox,useValue:new Set([()=>Os=null])},...n]})}(n);return Os=t,function _N(){!function LU(n){XT=n}(()=>{throw new z(600,!1)})}(),function bN(n){n.get(jI,null)?.forEach(e=>e())}(t),t}(i),o=[NJ(),...e||[]],s=new y2({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=s.get(de);return l.run(()=>{s.resolveInjectorInitializers();const c=s.get($r,null);let d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:p=>{c.handleError(p)}})});const u=()=>s.destroy(),h=r.get(ox);return h.add(u),s.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),function wN(n,t,e){try{const i=e();return af(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(c,l,()=>{const p=s.get(Jw);return p.runInitializers(),p.donePromise.then(()=>{WR(s.get(bo,Od)||Od);const y=s.get(za);return void 0!==t&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}let za=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ne(SN),this.zoneIsStable=ne(fN),this.componentTypes=[],this.components=[],this.isStable=ne(Zw).hasPendingTasks.pipe(xt(e=>e?ee(!1):this.zoneIsStable),Cs(),Vm()),this._injector=ne(Qo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof KI;if(!this._injector.get(Jw).done)throw!r&&function Xc(n){const t=At(n)||bi(n)||rr(n);return null!==t&&t.standalone}(e),new z(405,!1);let a;a=r?e:this._injector.get(Ms).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function kJ(n){return n.isBoundToModule}(a)?void 0:this._injector.get(Rd),c=a.create(Yt.NULL,[],i||a.selector,s),d=c.location.nativeElement,u=c.injector.get(mN,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),a_(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new z(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;a_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(o_,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>a_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new z(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function a_(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const SN=new F("",{providedIn:"root",factory:()=>ne($r).handleError.bind(void 0)});function OJ(){const n=ne(de),t=ne($r);return e=>n.runOutsideAngular(()=>t.handleError(e))}let RJ=(()=>{class n{constructor(){this.zone=ne(de),this.applicationRef=ne(za)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function kN(n){return[{provide:de,useFactory:n},{provide:Uh,multi:!0,useFactory:()=>{const t=ne(RJ,{optional:!0});return()=>t.initialize()}},{provide:SN,useFactory:OJ},{provide:fN,useFactory:pN}]}function NJ(n){return Mg([[],kN(()=>new de(function CN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}(n)))])}let ze=(()=>{class n{}return n.__NG_ELEMENT_ID__=FJ,n})();function FJ(n){return function PJ(n,t,e){if(Nl(n)&&!e){const i=Sr(n.index,t);return new Jh(i,i)}return 47&n.type?new Jh(t[Rn],t):null}(ci(),K(),16==(16&n))}class AN{constructor(){}supports(t){return jg(t)}create(t){return new $J(t)}}const HJ=(n,t)=>t;class $J{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||HJ}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(r,s),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new jJ(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new IN),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new IN),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class jJ{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class UJ{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class IN{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new UJ,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ON(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new qJ(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class qJ{constructor(t){this.key=t,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 NN(){return new Gr([new AN])}let Gr=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||NN()),deps:[[n,new Fa,new fo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new z(901,!1)}}return n.\u0275prov=P({token:n,providedIn:"root",factory:NN}),n})();function FN(){return new bf([new RN])}let bf=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||FN()),deps:[[n,new Fa,new fo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new z(901,!1)}}return n.\u0275prov=P({token:n,providedIn:"root",factory:FN}),n})();function Pd(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function vf(n,t){return vt(t)?Gn(n,t,1):Gn(n,1)}function Pe(n,t){return qt((e,i)=>{let r=0;e.subscribe(Vt(i,o=>n.call(t,o,r++)&&i.next(o)))})}function yo(n){return qt((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}let fx=null;function Ha(){return fx}class aZ{}const ge=new F("DocumentToken");let $N=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return ne(sZ)},providedIn:"platform"}),n})(),sZ=(()=>{class n extends $N{constructor(){super(),this._doc=ne(ge),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ha().getBaseHref(this._doc)}onPopState(e){const i=Ha().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Ha().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}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return new n},providedIn:"platform"}),n})();function jN(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function UN(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function ql(n){return n&&"?"!==n[0]?"?"+n:n}let d_=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return ne(cZ)},providedIn:"root"}),n})();const lZ=new F("appBaseHref");let cZ=(()=>{class n extends d_{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ne(ge).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 jN(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+ql(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+ql(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+ql(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(A($N),A(lZ,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yf=(()=>{class n{constructor(e){this._subject=new j,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function hZ(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(UN(GN(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+ql(i))}normalize(e){return n.stripTrailingSlash(function uZ(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,GN(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+ql(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ql(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=ql,n.joinWithSlash=jN,n.stripTrailingSlash=UN,n.\u0275fac=function(e){return new(e||n)(A(d_))},n.\u0275prov=P({token:n,factory:function(){return function dZ(){return new yf(A(d_))}()},providedIn:"root"}),n})();function GN(n){return n.replace(/\/index.html$/,"")}function eF(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const xx=/\s+/,tF=[];let Yr=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=tF,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(xx):tF}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(xx):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(xx).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(g(Gr),g(bf),g(W),g(La))},n.\u0275dir=R({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class QZ{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zt=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new QZ(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const s=i.get(o);i.move(s,a),iF(s,r)}});for(let r=0,o=i.length;r{iF(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt),g(Gr))},n.\u0275dir=R({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function iF(n,t){n.context.$implicit=t.item}let Be=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new XZ,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){rF("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){rF("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt))},n.\u0275dir=R({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class XZ{constructor(){this.$implicit=null,this.ngIf=null}}function rF(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${qn(t)}'.`)}class Dx{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Wl=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),xf=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Dx(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt),g(Wl,9))},n.\u0275dir=R({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),oF=(()=>{class n{constructor(e,i,r){r._addDefault(new Dx(e,i))}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt),g(Wl,9))},n.\u0275dir=R({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),sF=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,o]=e.split("."),a=-1===r.indexOf("-")?void 0:sr.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(bf),g(La))},n.\u0275dir=R({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})(),Ld=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(g(Ft))},n.\u0275dir=R({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Je]}),n})();function wo(n,t){return new z(2100,!1)}class ZZ{createSubscription(t,e){return JT(()=>t.subscribe({next:e,error:i=>{throw i}}))}dispose(t){JT(()=>t.unsubscribe())}}class eee{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const tee=new eee,nee=new ZZ;let Df=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(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(af(e))return tee;if(iR(e))return nee;throw wo()}_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._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(ze,16))},n.\u0275pipe=$i({name:"async",type:n,pure:!1,standalone:!0}),n})(),lF=(()=>{class n{transform(e){if(null==e)return null;if("string"!=typeof e)throw wo();return e.toUpperCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=$i({name:"uppercase",type:n,pure:!0,standalone:!0}),n})(),Kr=(()=>{class n{transform(e){return JSON.stringify(e,null,2)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=$i({name:"json",type:n,pure:!1,standalone:!0}),n})(),ke=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const dF="browser";function Yl(n){return n===dF}function Ex(n){return"server"===n}class hF{}class w_{}class x_{}class xo{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof xo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new xo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof xo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===o.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(t,e){const i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Uee{encodeKey(t){return _F(t)}encodeValue(t){return _F(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const qee=/%(\d[a-f0-9])/gi,Wee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _F(n){return encodeURIComponent(n).replace(qee,(t,e)=>Wee[e]??t)}function D_(n){return`${n}`}class Rs{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Uee,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Gee(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,s]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(D_):[D_(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Rs({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(D_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(D_(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Yee{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function bF(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function vF(n){return typeof Blob<"u"&&n instanceof Blob}function yF(n){return typeof FormData<"u"&&n instanceof FormData}class kf{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Kee(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new xo),this.context||(this.context=new Yee),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":su.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((u,h)=>u.set(h,t.setParams[h]),c)),new kf(e,i,o,{params:c,headers:l,context:d,reportProgress:s,responseType:r,withCredentials:a})}}var Pn=(()=>((Pn=Pn||{})[Pn.Sent=0]="Sent",Pn[Pn.UploadProgress=1]="UploadProgress",Pn[Pn.ResponseHeader=2]="ResponseHeader",Pn[Pn.DownloadProgress=3]="DownloadProgress",Pn[Pn.Response=4]="Response",Pn[Pn.User=5]="User",Pn))();class Ax{constructor(t,e=200,i="OK"){this.headers=t.headers||new xo,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Ix extends Ax{constructor(t={}){super(t),this.type=Pn.ResponseHeader}clone(t={}){return new Ix({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Bd extends Ax{constructor(t={}){super(t),this.type=Pn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Bd({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class CF extends Ax{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Ox(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Ef=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof kf)o=e;else{let l,c;l=r.headers instanceof xo?r.headers:new xo(r.headers),r.params&&(c=r.params instanceof Rs?r.params:new Rs({fromObject:r.params})),o=new kf(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=ee(o).pipe(vf(l=>this.handler.handle(l)));if(e instanceof kf||"events"===r.observe)return a;const s=a.pipe(Pe(l=>l instanceof Bd));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(ue(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return s.pipe(ue(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return s.pipe(ue(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return s.pipe(ue(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 Rs).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,Ox(r,i))}post(e,i,r={}){return this.request("POST",e,Ox(r,i))}put(e,i,r={}){return this.request("PUT",e,Ox(r,i))}}return n.\u0275fac=function(e){return new(e||n)(A(w_))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();function DF(n,t){return t(n)}const Mf=new F(""),SF=new F("");let kF=(()=>{class n extends w_{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=ne(Zw)}handle(e){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Mf),...this.injector.get(SF,[])]));this.chain=r.reduceRight((o,a)=>function Zee(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(o,a,this.injector),DF)}const i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(yo(()=>this.pendingTasks.remove(i)))}}return n.\u0275fac=function(e){return new(e||n)(A(x_),A(Qo))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const ote=/^\)\]\}',?\n/;let MF=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new z(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?yn(i.\u0275loadImpl()):ee(null)).pipe(xt(()=>new it(o=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((y,w)=>a.setRequestHeader(y,w.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&a.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();a.responseType="json"!==y?y:"text"}const s=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const y=a.statusText||"OK",w=new xo(a.getAllResponseHeaders()),k=function ate(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(a)||e.url;return l=new Ix({headers:w,status:a.status,statusText:y,url:k}),l},d=()=>{let{headers:y,status:w,statusText:k,url:D}=c(),M=null;204!==w&&(M=typeof a.response>"u"?a.responseText:a.response),0===w&&(w=M?200:0);let I=w>=200&&w<300;if("json"===e.responseType&&"string"==typeof M){const O=M;M=M.replace(ote,"");try{M=""!==M?JSON.parse(M):null}catch(he){M=O,I&&(I=!1,M={error:he,text:M})}}I?(o.next(new Bd({body:M,headers:y,status:w,statusText:k,url:D||void 0})),o.complete()):o.error(new CF({error:M,headers:y,status:w,statusText:k,url:D||void 0}))},u=y=>{const{url:w}=c(),k=new CF({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:w||void 0});o.error(k)};let h=!1;const p=y=>{h||(o.next(c()),h=!0);let w={type:Pn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),"text"===e.responseType&&a.responseText&&(w.partialText=a.responseText),o.next(w)},v=y=>{let w={type:Pn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return a.addEventListener("load",d),a.addEventListener("error",u),a.addEventListener("timeout",u),a.addEventListener("abort",u),e.reportProgress&&(a.addEventListener("progress",p),null!==s&&a.upload&&a.upload.addEventListener("progress",v)),a.send(s),o.next({type:Pn.Sent}),()=>{a.removeEventListener("error",u),a.removeEventListener("abort",u),a.removeEventListener("load",d),a.removeEventListener("timeout",u),e.reportProgress&&(a.removeEventListener("progress",p),null!==s&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}}return n.\u0275fac=function(e){return new(e||n)(A(hF))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const Rx=new F("XSRF_ENABLED"),TF=new F("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),AF=new F("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class IF{}let Nx,cte=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=eF(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(A(ge),A(Hr),A(TF))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();function dte(n,t){const e=n.url.toLowerCase();if(!ne(Rx)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=ne(IF).getToken(),r=ne(AF);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}try{Nx=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Nx=!1}let Vd,yt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Yl(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&&!Nx)&&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}}return n.\u0275fac=function(e){return new(e||n)(A(Hr))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const RF=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function NF(){if(Vd)return Vd;if("object"!=typeof document||!document)return Vd=new Set(RF),Vd;let n=document.createElement("input");return Vd=new Set(RF.filter(t=>(n.setAttribute("type",t),n.type===t))),Vd}let Tf,k_,Ql,Fx;function Do(n){return function _te(){if(null==Tf&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Tf=!0}))}finally{Tf=Tf||!1}return Tf}()?n:!!n.capture}function FF(){if(null==Ql){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ql=!1,Ql;if("scrollBehavior"in document.documentElement.style)Ql=!0;else{const n=Element.prototype.scrollTo;Ql=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Ql}function Af(){if("object"!=typeof document||!document)return 0;if(null==k_){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),k_=0,0===n.scrollLeft&&(n.scrollLeft=1,k_=0===n.scrollLeft?1:2),n.remove()}return k_}function zd(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function ja(n){return n.composedPath?n.composedPath()[0]:n.target}function Px(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function on(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function Ht(n,t,e){const i=vt(n)||t||e?{next:n,error:t,complete:e}:n;return i?qt((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;r.subscribe(Vt(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;s=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;s=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;s&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Ea}class Tte extends We{constructor(t,e){super()}schedule(t,e=0){return this}}const A_={setInterval(n,t,...e){const{delegate:i}=A_;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=A_;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class I_ extends Tte{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return A_.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&A_.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Yc(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const Vx={now:()=>(Vx.delegate||Date).now(),delegate:void 0};class Rf{constructor(t,e=Rf.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Rf.now=Vx.now;class O_ extends Rf{constructor(t,e=Rf.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Hd=new O_(I_),Ate=Hd;function Ps(n,t=Hd){return qt((e,i)=>{let r=null,o=null,a=null;const s=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=a+n,d=t.now();if(d{o=c,a=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function lt(n){return n<=0?()=>vn:qt((t,e)=>{let i=0;t.subscribe(Vt(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function zx(n){return Pe((t,e)=>n<=e)}function se(n){return qt((t,e)=>{ni(n).subscribe(Vt(e,()=>e.complete(),vh)),!e.closed&&t.subscribe(e)})}function te(n){return null!=n&&"false"!=`${n}`}function fn(n,t=0){return PF(n)?Number(n):t}function PF(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function R_(n){return Array.isArray(n)?n:[n]}function Ln(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Ua(n){return n instanceof W?n.nativeElement:n}function LF(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}let BF=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ite=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Ua(e);return new it(r=>{const a=this._observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new q,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(A(BF))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hx=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=fn(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new j,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Ps(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(Ite),g(W),g(de))},n.\u0275dir=R({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),N_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[BF]}),n})();const{isArray:Ote}=Array,{getPrototypeOf:Rte,prototype:Nte,keys:Fte}=Object;function VF(n){if(1===n.length){const t=n[0];if(Ote(t))return{args:t,keys:null};if(function Pte(n){return n&&"object"==typeof n&&Rte(n)===Nte}(t)){const e=Fte(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:Lte}=Array;function $x(n){return ue(t=>function Bte(n,t){return Lte(t)?n(...t):n(t)}(n,t))}function zF(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function Ls(...n){const t=Kc(n),e=vT(n),{args:i,keys:r}=VF(n);if(0===i.length)return yn([],t);const o=new it(function Vte(n,t,e=Ea){return i=>{HF(t,()=>{const{length:r}=n,o=new Array(r);let a=r,s=r;for(let l=0;l{const c=yn(n[l],t);let d=!1;c.subscribe(Vt(i,u=>{o[l]=u,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,t,r?a=>zF(r,a):Ea));return e?o.pipe($x(e)):o}function HF(n,t,e){n?Ta(e,n,t):t()}function $F(){return Bm(1)}function $d(...n){return $F()(yn(n,Kc(n)))}function zt(...n){const t=Kc(n);return qt((e,i)=>{(t?$d(n,e,t):$d(n,e)).subscribe(i)})}const jF=new Set;let Xl,zte=(()=>{class n{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$te}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Hte(n,t){if(!jF.has(n))try{Xl||(Xl=document.createElement("style"),t&&(Xl.nonce=t),Xl.setAttribute("type","text/css"),document.head.appendChild(Xl)),Xl.sheet&&(Xl.sheet.insertRule(`@media ${n} {body{ }}`,0),jF.add(n))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(A(yt),A($C,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $te(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Nf=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new q}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return UF(R_(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Ls(UF(R_(e)).map(a=>this._registerQuery(a).observable));return o=$d(o.pipe(lt(1)),o.pipe(zx(1),Ps(0))),o.pipe(ue(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new it(a=>{const s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(zt(i),ue(({matches:a})=>({query:e,matches:a})),se(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(A(zte),A(de))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function UF(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function Ux(n,t,e){const i=F_(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))}function Ff(n,t,e){const r=F_(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}function F_(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const qF="cdk-describedby-message",P_="cdk-describedby-host";let Gx=0,WF=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Gx++,this._document=e,this._id=ne(Ig)+"-"+Gx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=qx(i,r);"string"!=typeof i?(YF(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=qx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${P_}="${this._id}"]`);for(let i=0;i0!=r.indexOf(qF));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);Ux(e,"aria-describedby",r.messageElement.id),e.setAttribute(P_,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,Ff(e,"aria-describedby",r.messageElement.id),e.removeAttribute(P_)}_isElementDescribedByMessage(e,i){const r=F_(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=r.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(A(ge),A(yt))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function qx(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function YF(n,t){n.id||(n.id=`${qF}-${t}-${Gx++}`)}class KF{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new q,this._typeaheadSubscription=We.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new q,this.change=new q,t instanceof ea&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ht(e=>this._pressedLetters.push(e)),Ps(t),Pe(()=>this._pressedLetters.length>0),ue(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof ea?this._items.toArray():this._items}}class QF extends KF{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Pf extends KF{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let jd=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Ute(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function jte(n){try{return n.frameElement}catch{return null}}(function Jte(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===JF(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=JF(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function Qte(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function Xte(n){return!function qte(n){return function Yte(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Gte(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function Wte(n){return function Kte(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||XF(n))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(A(yt))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function XF(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function JF(n){if(!XF(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class ZF{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,i,r,o=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(lt(1)).subscribe(t)}}let Lf=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new ZF(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(A(jd),A(de),A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zte=(()=>{class n{get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=te(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=te(e)}constructor(e,i,r){this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,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.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=zd(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Lf),g(ge))},n.\u0275dir=R({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Je]}),n})();class ene extends ZF{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(t,e,i,r,o,a,s){super(t,e,i,r,s.defer),this._focusTrapManager=o,this._inertStrategy=a,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const tne=new F("FOCUS_TRAP_INERT_STRATEGY");class nne{constructor(){this._listener=null}preventFocus(t){this._listener&&t._document.removeEventListener("focus",this._listener,!0),this._listener=e=>this._trapFocus(t,e),t._ngZone.runOutsideAngular(()=>{t._document.addEventListener("focus",this._listener,!0)})}allowFocus(t){this._listener&&(t._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(t,e){const i=e.target,r=t._element;i&&!r.contains(i)&&!i.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{t.enabled&&!r.contains(t._document.activeElement)&&t.focusFirstTabbableElement()})}}let ine=(()=>{class n{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(r=>r!==e);let i=this._focusTrapStack;i.length&&i[i.length-1]._disable(),i.push(e),e._enable()}deregister(e){e._disable();const i=this._focusTrapStack,r=i.indexOf(e);-1!==r&&(i.splice(r,1),i.length&&i[i.length-1]._enable())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rne=(()=>{class n{constructor(e,i,r,o,a){this._checker=e,this._ngZone=i,this._focusTrapManager=r,this._document=o,this._inertStrategy=a||new nne}create(e,i={defer:!1}){let r;return r="boolean"==typeof i?{defer:i}:i,new ene(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,r)}}return n.\u0275fac=function(e){return new(e||n)(A(jd),A(de),A(ine),A(ge),A(tne,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Wx(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Yx(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const one=new F("cdk-input-modality-detector-options"),ane={ignoreKeys:[18,17,224,91,16]},Ud=Do({passive:!0,capture:!0});let sne=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new ft(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ja(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Wx(a)?"keyboard":"mouse"),this._mostRecentTarget=ja(a))},this._onTouchstart=a=>{Yx(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ja(a))},this._options={...ane,...o},this.modalityDetected=this._modality.pipe(zx(1)),this.modalityChanged=this.modalityDetected.pipe(Cs()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ud),r.addEventListener("mousedown",this._onMousedown,Ud),r.addEventListener("touchstart",this._onTouchstart,Ud)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ud),document.removeEventListener("mousedown",this._onMousedown,Ud),document.removeEventListener("touchstart",this._onTouchstart,Ud))}}return n.\u0275fac=function(e){return new(e||n)(A(yt),A(de),A(ge),A(one,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lne=new F("liveAnnouncerElement",{providedIn:"root",factory:function cne(){return null}}),dne=new F("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let une=0,Kx=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==a&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),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,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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 e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new q,this._rootNodeFocusAndBlurListener=s=>{for(let c=ja(s);c;c=c.parentElement)"focus"===s.type?this._onFocus(s,c):this._onBlur(s,c)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const r=Ua(e);if(!this._platform.isBrowser||1!==r.nodeType)return ee(null);const o=function vte(n){if(function bte(){if(null==Fx){const n=typeof document<"u"?document.head:null;Fx=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Fx}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const s={checkChildren:i,subject:new q,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const i=Ua(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Ua(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.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 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=ja(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,L_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,L_)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(se(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,L_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,L_),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){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new j}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(dr))},n.\u0275dir=R({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),n})();const nP="cdk-high-contrast-black-on-white",iP="cdk-high-contrast-white-on-black",Qx="cdk-high-contrast-active";let rP=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ne(Nf).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Qx,nP,iP),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Qx,nP):2===i&&e.add(Qx,iP)}}}return n.\u0275fac=function(e){return new(e||n)(A(yt),A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),B_=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(A(rP))},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[N_]}),n})();const fne=new F("cdk-dir-doc",{providedIn:"root",factory:function pne(){return ne(ge)}}),mne=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Qt=(()=>{class n{constructor(e){this.value="ltr",this.change=new j,e&&(this.value=function gne(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?mne.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(A(fne,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const _ne=["text"];function bne(n,t){if(1&n&&T(0,"mat-pseudo-checkbox",6),2&n){const e=x();_("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function vne(n,t){1&n&&T(0,"mat-pseudo-checkbox",7),2&n&&_("disabled",x().disabled)}function yne(n,t){if(1&n&&(f(0,"span",8),C(1),m()),2&n){const e=x();b(1),me("(",e.group.label,")")}}const Cne=[[["mat-icon"]],"*"],wne=["mat-icon","*"];let xne=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),Dne=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const kne=new F("mat-sanity-checks",{providedIn:"root",factory:function Sne(){return!0}});let Ue=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Px()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(A(rP),A(kne,8),A(ge))},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Gd,Gd]}),n})();function ko(n){return class extends n{get disabled(){return this._disabled}set disabled(t){this._disabled=te(t)}constructor(...t){super(...t),this._disabled=!1}}}function Bs(n,t){return class extends n{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function Vs(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=te(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function Jl(n,t=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?fn(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function Xx(n){return class extends n{updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}function sP(n){return class extends n{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new it(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const Ene=new F("MAT_DATE_LOCALE",{providedIn:"root",factory:function Mne(){return ne(bo)}});class Bn{constructor(){this._localeChanges=new q,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),r=this.isValid(e);return i&&r?!this.compareDate(t,e):i==r}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const Ga=new F("mat-date-formats"),Tne=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Jx(n,t){const e=Array(n);for(let i=0;i{class n extends Bn{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Jx(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Jx(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Jx(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){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 o=this._createDateWithOverflow(e,i,r);return o.getMonth(),o}today(){return new Date}parse(e,i){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,{...i,timeZone:"utc"});return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}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("string"==typeof e){if(!e)return null;if(Tne.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){const o=new Date;return o.setFullYear(e,i,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const 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)}}return n.\u0275fac=function(e){return new(e||n)(A(Ene,8),A(yt))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const Ane={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 Ine=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[{provide:Bn,useClass:lP}]}),n})(),One=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[{provide:Ga,useValue:Ane}],imports:[Ine]}),n})(),Bf=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Rne{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const cP=Do({passive:!0,capture:!0});class Nne{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=ja(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,cP)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,cP)))}}const dP={enterDuration:225,exitDuration:150},uP=Do({passive:!0,capture:!0}),hP=["mousedown","touchstart"],fP=["mouseup","mouseleave","touchend","touchcancel"];class Zl{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ua(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...dP,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=i.radius||function Pne(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),s=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=s-a+"px",d.style.top=l-a+"px",d.style.height=2*a+"px",d.style.width=2*a+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),p=u.transitionDuration,v="none"===u.transitionProperty||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,y=new Rne(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",y.state=0,i.persistent||(this._mostRecentTransientRipple=y);let w=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const k=()=>this._finishRippleTransition(y),D=()=>this._destroyRipple(y);d.addEventListener("transitionend",k),d.addEventListener("transitioncancel",D),w={onTransitionEnd:k,onTransitionCancel:D}}),this._activeRipples.set(y,w),(v||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...dP,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Ua(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,hP.forEach(i=>{Zl._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{fP.forEach(e=>{this._triggerElement.addEventListener(e,this,uP)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=Wx(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(hP.forEach(e=>Zl._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&fP.forEach(e=>t.removeEventListener(e,this,uP)))}}Zl._eventManager=new Nne;const ec=new F("mat-ripple-global-options");let Ei=(()=>{class n{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,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Zl(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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(yt),g(ec,8),g(Ot,8))},n.\u0275dir=R({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Eo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})(),Lne=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return n.\u0275fac=function(e){return new(e||n)(g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&ce("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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}),n})(),pP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue]}),n})();const Zx=new F("MAT_OPTION_PARENT_COMPONENT"),e1=new F("MatOptgroup");let Bne=0;class mP{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let Vne=(()=>{class n{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=te(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Bne++,this.onSelectionChange=new j,this._stateChanges=new q}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&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){(13===e.keyCode||32===e.keyCode)&&!on(e)&&(this._selectViaInteraction(),e.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 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 mP(this,e))}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&ye(_ne,7),2&e){let r;U(r=G())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),ia=(()=>{class n extends Vne{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(Zx,8),g(e1,8))},n.\u0275cmp=$({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,i){1&e&&E("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Si("id",i.id),ie("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),ce("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[N],ngContentSelectors:wne,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(qe(Cne),S(0,bne,1,2,"mat-pseudo-checkbox",0),re(1),f(2,"span",1,2),re(4,1),m(),S(5,vne,1,1,"mat-pseudo-checkbox",3),S(6,yne,2,1,"span",4),T(7,"div",5)),2&e&&(_("ngIf",i.multiple),b(5),_("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),b(1),_("ngIf",i.group&&i.group._inert),b(1),_("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Ei,Be,Lne],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;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mdc-list-item{align-items:center}.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-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();function gP(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,n-i+t):e}let Mo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Eo,ke,Ue,pP]}),n})();const bP=["mat-button",""],V_=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],z_=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],t1=".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}",Hne=["mat-fab",""],vP=["mat-icon-button",""],$ne=["*"],yP={capture:!0},CP=["focus","click","mouseenter","touchstart"],zf="mat-button-ripple-uninitialized";let Une=(()=>{class n{constructor(){this._document=ne(ge,{optional:!0}),this._animationMode=ne(Ot,{optional:!0}),this._globalRippleOptions=ne(ec,{optional:!0}),this._platform=ne(yt),this._ngZone=ne(de),this._onInteraction=e=>{if(e.target===this._document)return;const r=e.target.closest(`[${zf}]`);r&&(r.removeAttribute(zf),this._appendRipple(r))},this._ngZone.runOutsideAngular(()=>{for(const e of CP)this._document?.addEventListener(e,this._onInteraction,yP)})}ngOnDestroy(){for(const e of CP)this._document?.removeEventListener(e,this._onInteraction,yP)}_appendRipple(e){if(!this._document)return;const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const r=new Gne(e,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);r.rippleConfig.centered=e.hasAttribute("mat-icon-button"),new Zl(r,this._ngZone,i,this._platform).setupTriggerEvents(e),e.append(i)}_createMatRipple(e){if(!this._document)return;e.querySelector(".mat-mdc-button-ripple")?.remove(),e.removeAttribute(zf);const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const r=new Ei(new W(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,e.append(i),r}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Gne{constructor(t,e,i){this._button=t,this._globalRippleOptions=e,this._setRippleConfig(e,i)}_setRippleConfig(t,e){this.rippleConfig=t||{},"NoopAnimations"===e&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const qne=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Wne=Bs(ko(Vs(class{constructor(n){this._elementRef=n}})));let H_=(()=>{class n extends Wne{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(e){this._ripple=e}constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=ne(dr),this._rippleLoader=ne(Une),this._isFab=!1;const a=e.nativeElement.classList;for(const s of qne)this._hasHostAttributes(s.selector)&&s.mdcClasses.forEach(l=>{a.add(l)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N,Je]}),n})(),wP=(()=>{class n extends H_{constructor(e,i,r,o){super(e,i,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N]}),n})(),en=(()=>{class n extends H_{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(de),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[N],attrs:bP,ngContentSelectors:z_,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(e,i){1&e&&(qe(V_),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&ce("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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}),n})(),tc=(()=>{class n extends wP{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(de),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[N],attrs:bP,ngContentSelectors:z_,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(e,i){1&e&&(qe(V_),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&ce("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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)}',t1],encapsulation:2,changeDetection:0}),n})();const Kne=new F("mat-mdc-fab-default-options",{providedIn:"root",factory:xP});function xP(){return{color:"accent"}}const DP=xP();let Qne=(()=>{class n extends H_{get extended(){return this._extended}set extended(e){this._extended=te(e)}constructor(e,i,r,o,a){super(e,i,r,o),this._options=a,this._isFab=!0,this._options=this._options||DP,this.color=this.defaultColor=this._options.color||DP.color}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(de),g(Ot,8),g(Kne,8))},n.\u0275cmp=$({type:n,selectors:[["button","mat-fab",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:11,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[N],attrs:Hne,ngContentSelectors:z_,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(e,i){1&e&&(qe(V_),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&ce("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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-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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@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)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);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);color:var(--mat-mdc-fab-color, inherit);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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.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-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.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 .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}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),n})(),Ar=(()=>{class n extends H_{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(de),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[N],attrs:vP,ngContentSelectors:$ne,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(e,i){1&e&&(qe(),T(0,"span",0),re(1),T(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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.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{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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}',t1],encapsulation:2,changeDetection:0}),n})(),n1=(()=>{class n extends wP{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(de),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["a","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[N],attrs:vP,ngContentSelectors:z_,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(e,i){1&e&&(qe(V_),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&ce("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.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{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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}',t1],encapsulation:2,changeDetection:0}),n})(),ct=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Eo,Ue]}),n})();const Xne=["addListener","removeListener"],Jne=["addEventListener","removeEventListener"],Zne=["on","off"];function To(n,t,e,i){if(vt(e)&&(i=e,e=void 0),i)return To(n,t,e).pipe($x(i));const[r,o]=function nie(n){return vt(n.addEventListener)&&vt(n.removeEventListener)}(n)?Jne.map(a=>s=>n[a](t,s,e)):function eie(n){return vt(n.addListener)&&vt(n.removeListener)}(n)?Xne.map(SP(n,t)):function tie(n){return vt(n.on)&&vt(n.off)}(n)?Zne.map(SP(n,t)):[];if(!r&&S0(n))return Gn(a=>To(a,t,e))(ni(n));if(!r)throw new TypeError("Invalid event target");return new it(a=>{const s=(...l)=>a.next(1o(s)})}function SP(n,t){return e=>i=>n[e](t,i)}const Hf={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Hf;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new We(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=Hf;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=Hf;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class rie extends O_{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class iie extends I_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Hf.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Hf.cancelAnimationFrame(e),t._scheduled=void 0)}});let r1,aie=1;const $_={};function kP(n){return n in $_&&(delete $_[n],!0)}const sie={setImmediate(n){const t=aie++;return $_[t]=!0,r1||(r1=Promise.resolve()),r1.then(()=>kP(t)&&n()),t},clearImmediate(n){kP(n)}},{setImmediate:lie,clearImmediate:cie}=sie,j_={setImmediate(...n){const{delegate:t}=j_;return(t?.setImmediate||lie)(...n)},clearImmediate(n){const{delegate:t}=j_;return(t?.clearImmediate||cie)(n)},delegate:void 0},U_=new class uie extends O_{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class die extends I_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=j_.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(j_.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}});function nc(n=0,t,e=Ate){let i=-1;return null!=t&&(bT(t)?e=t:i=t),new it(r=>{let o=function fie(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function EP(n,t=Hd){return function hie(n){return qt((t,e)=>{let i=!1,r=null,o=null,a=!1;const s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};t.subscribe(Vt(e,c=>{i=!0,r=c,o||ni(n(c)).subscribe(o=Vt(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>nc(n,t))}let $f=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new q,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new it(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(EP(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ee()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Pe(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Ua(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>To(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(A(de),A(yt),A(ge,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jf=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new q,this._elementScrolled=new it(a=>this.ngZone.runOutsideAngular(()=>To(this.elementRef.nativeElement,"scroll").pipe(se(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=Af()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Af()?e.left=e.right:1==Af()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;FF()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:i:"end"==e&&(e=a?i:r),a&&2==Af()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==Af()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(g(W),g($f),g(de),g(Qt,8))},n.\u0275dir=R({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),qa=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new q,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(EP(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(A(yt),A(de),A(ge,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})(),o1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Gd,Wa,Gd,Wa]}),n})();function MP(n,t=!1){return qt((e,i)=>{let r=0;e.subscribe(Vt(i,o=>{const a=n(o,r++);(a||t)&&i.next(o),!a&&i.complete()}))})}class a1{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class ra extends a1{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class oa extends a1{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class gie extends a1{constructor(t){super(),this.element=t instanceof W?t.nativeElement:t}}class Uf{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof ra?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof oa?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof gie?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class TP extends Uf{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=a=>{const s=a.element,l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Yt.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=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let _ie=(()=>{class n extends oa{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Ft))},n.\u0275dir=R({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[N]}),n})(),Ir=(()=>{class n extends Uf{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new j,this.attachDomPortal=o=>{const a=o.element,s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,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);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const 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(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(g(Ms),g(Ft),g(ge))},n.\u0275dir=R({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[N]}),n})(),Ya=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const AP=FF();class bie{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ln(-this._previousScrollPosition.left),t.style.top=Ln(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),AP&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),AP&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class vie{constructor(t,e,i,r){this._scrollDispatcher=t,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(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(Pe(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=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class IP{enable(){}disable(){}attach(){}}function s1(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function OP(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class yie{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();s1(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Cie=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new IP,this.close=a=>new vie(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new bie(this._viewportRuler,this._document),this.reposition=a=>new yie(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(A($f),A(qa),A(de),A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class zs{constructor(t){if(this.scrollStrategy=new IP,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class wie{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let RP=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xie=(()=>{class n extends RP{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const s=o[a]._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)}}return n.\u0275fac=function(e){return new(e||n)(A(ge),A(de,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Die=(()=>{class n extends RP{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=ja(o)},this._clickListener=o=>{const a=ja(o),s="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(s))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(A(ge),A(yt),A(de,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),G_=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Px()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new q,this._outsidePointerEvents=new q,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(lt(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 e?.onDestroy&&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();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ln(this._config.width),t.height=Ln(this._config.height),t.minWidth=Ln(this._config.minWidth),t.minHeight=Ln(this._config.minHeight),t.maxWidth=Ln(this._config.maxWidth),t.maxHeight=Ln(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=R_(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(se(dt(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const NP="cdk-overlay-connected-position-bounding-box",Sie=/([A-Za-z%]+)$/;class FP{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,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 q,this._resizeSubscription=We.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(NP),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,r,s),c=this._getOverlayPoint(l,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!a||a.overlayFit.visibleAreal&&(l=d,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ic(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(NP),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;r="start"==i.originX?a:s}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=LP(e);let{x:a,y:s}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let h=0-s,p=s+o.height-i.height,v=this._subtractOverflows(o.width,0-a,a+o.width-i.width),y=this._subtractOverflows(o.height,h,p),w=v*y;return{visibleArea:w,isCompletelyWithinViewport:o.width*o.height===w,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=PP(this._overlayRef.getConfig().minHeight),s=PP(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=r)&&(t.fitsInViewportHorizontally||null!=s&&s<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=LP(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),s=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let d=0,u=0;return d=r.width<=o.width?c||-a:t.xv&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-v/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=t.x,d=i.right-t.x;else{const p=Math.min(i.right-t.x+i.left,t.x),v=this._lastBoundingBoxSize.width;d=2*p,u=t.x-p,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-v/2)}return{top:a,left:u,bottom:s,right:h,width:d,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Ln(i.height),r.top=Ln(i.top),r.bottom=Ln(i.bottom),r.width=Ln(i.width),r.left=Ln(i.left),r.right=Ln(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ln(o)),a&&(r.maxWidth=Ln(a))}this._lastBoundingBoxSize=i,ic(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ic(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ic(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();ic(i,this._getExactOverlayY(e,t,d)),ic(i,this._getExactOverlayX(e,t,d))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=Ln(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Ln(a.maxWidth):o&&(i.maxWidth="")),ic(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ln(o.y),r}_getExactOverlayX(t,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ln(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:OP(t,i),isOriginOutsideView:s1(t,i),isOverlayClipped:OP(e,i),isOverlayOutsideView:s1(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=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+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&R_(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof W)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function ic(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function PP(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(Sie);return e&&"px"!==e?null:parseFloat(t)}return n||null}function LP(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const BP="cdk-global-overlay-wrapper";class kie{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(BP),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==o&&"100vh"!==o||s&&"100%"!==s&&"100vh"!==s),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",v="",y="";l?y="flex-start":"center"===d?(y="center",h?v=u:p=u):h?"left"===d||"end"===d?(y="flex-end",p=u):("right"===d||"start"===d)&&(y="flex-start",v=u):"left"===d||"start"===d?(y="flex-start",p=u):("right"===d||"end"===d)&&(y="flex-end",v=u),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":v,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(BP),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Eie=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new kie}flexibleConnectedTo(e){return new FP(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(A(qa),A(ge),A(yt),A(G_))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Mie=0,Jn=(()=>{class n{constructor(e,i,r,o,a,s,l,c,d,u,h,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new zs(e);return a.direction=a.direction||this._directionality.value,new Gf(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Mie++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(za)),new TP(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(A(Cie),A(G_),A(Ms),A(Eie),A(xie),A(Yt),A(de),A(ge),A(Qt),A(yf),A(Die),A(Ot,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Tie=[{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"}],VP=new F("cdk-connected-overlay-scroll-strategy");let l1=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),n})(),zP=(()=>{class n{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 hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=te(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=te(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=te(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=te(e)}get push(){return this._push}set push(e){this._push=te(e)}constructor(e,i,r,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=We.EMPTY,this._attachSubscription=We.EMPTY,this._detachSubscription=We.EMPTY,this._positionSubscription=We.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new j,this.positionChange=new j,this.attach=new j,this.detach=new j,this.overlayKeydown=new j,this.overlayOutsideClick=new j,this._templatePortal=new oa(i,r),this._scrollStrategyFactory=o,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=Tie);const 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),27===i.keyCode&&!this.disableClose&&!on(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new zs({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const 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._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof l1?this.origin.elementRef:this.origin}_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(MP(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(kt),g(Ft),g(VP),g(Qt,8))},n.\u0275dir=R({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Je]}),n})();const Iie={provide:VP,deps:[Jn],useFactory:function Aie(n){return()=>n.scrollStrategies.reposition()}};let Hs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Jn,Iie],imports:[Gd,Ya,o1,o1]}),n})();class HP extends q{constructor(t=1/0,e=1/0,i=Vx){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(t),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;anew HP(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}class Oie{constructor(t){this._box=t,this._destroyed=new q,this._resizeSubject=new q,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new it(e=>{const i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(Pe(e=>e.some(i=>i.target===t)),c1({bufferSize:1,refCount:!0}),se(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Rie=(()=>{class n{constructor(){this._observers=new Map,this._ngZone=ne(de)}ngOnDestroy(){for(const[,e]of this._observers)e.destroy();this._observers.clear()}observe(e,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Oie(r)),this._observers.get(r).observe(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class $P{}class Nie{}const Ka="*";function pn(n,t){return{type:7,name:n,definitions:t,options:{}}}function rt(n,t=null){return{type:4,styles:t,timings:n}}function q_(n,t=null){return{type:3,steps:n,options:t}}function d1(n,t=null){return{type:2,steps:n,options:t}}function be(n){return{type:6,styles:n,offset:null}}function gt(n,t,e){return{type:0,name:n,styles:t,options:e}}function qd(n){return{type:5,steps:n}}function ot(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function W_(n=null){return{type:9,options:n}}function Wd(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}class qf{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class jP{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const Fie=["notch"],Pie=["matFormFieldNotchedOutline",""],Lie=["*"],Bie=["textField"],Vie=["iconPrefixContainer"],zie=["textPrefixContainer"];function Hie(n,t){1&n&&T(0,"span",19)}function $ie(n,t){if(1&n&&(f(0,"label",17),re(1,1),S(2,Hie,1,0,"span",18),m()),2&n){const e=x(2);_("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ie("for",e._control.id)("aria-owns",e._control.id),b(2),_("ngIf",!e.hideRequiredMarker&&e._control.required)}}function jie(n,t){1&n&&S(0,$ie,3,6,"label",16),2&n&&_("ngIf",x()._hasFloatingLabel())}function Uie(n,t){1&n&&T(0,"div",20)}function Gie(n,t){}function qie(n,t){1&n&&S(0,Gie,0,0,"ng-template",22),2&n&&(x(2),_("ngTemplateOutlet",mt(1)))}function Wie(n,t){if(1&n&&(f(0,"div",21),S(1,qie,1,1,"ng-template",9),m()),2&n){const e=x();_("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),b(1),_("ngIf",!e._forceDisplayInfixLabel())}}function Yie(n,t){1&n&&(f(0,"div",23,24),re(2,2),m())}function Kie(n,t){1&n&&(f(0,"div",25,26),re(2,3),m())}function Qie(n,t){}function Xie(n,t){1&n&&S(0,Qie,0,0,"ng-template",22),2&n&&(x(),_("ngTemplateOutlet",mt(1)))}function Jie(n,t){1&n&&(f(0,"div",27),re(1,4),m())}function Zie(n,t){1&n&&(f(0,"div",28),re(1,5),m())}function ere(n,t){1&n&&T(0,"div",29)}function tre(n,t){1&n&&(f(0,"div",30),re(1,6),m()),2&n&&_("@transitionMessages",x()._subscriptAnimationState)}function nre(n,t){if(1&n&&(f(0,"mat-hint",34),C(1),m()),2&n){const e=x(2);_("id",e._hintLabelId),b(1),xe(e.hintLabel)}}function ire(n,t){if(1&n&&(f(0,"div",31),S(1,nre,2,2,"mat-hint",32),re(2,7),T(3,"div",33),re(4,8),m()),2&n){const e=x();_("@transitionMessages",e._subscriptAnimationState),b(1),_("ngIf",e.hintLabel)}}const rre=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ore=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let En=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["mat-label"]]}),n})(),are=0;const UP=new F("MatError");let Qr=(()=>{class n{constructor(e,i){this.id="mat-mdc-error-"+are++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(wi("aria-live"),g(W))},n.\u0275dir=R({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&Si("id",i.id)},inputs:{id:"id"},features:[ae([{provide:UP,useExisting:n}])]}),n})(),sre=0,rc=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+sre++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Si("id",i.id),ie("align",null),ce("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const GP=new F("MatPrefix");let Y_=(()=>{class n{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[ae([{provide:GP,useExisting:n}])]}),n})();const qP=new F("MatSuffix");let oc=(()=>{class n{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[ae([{provide:qP,useExisting:n}])]}),n})();const WP=new F("FloatingLabelParent");let YP=(()=>{class n{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=ne(Rie),this._ngZone=ne(de),this._parent=ne(WP),this._resizeSubscription=new We}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function lre(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(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())})}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),n})();const KP="mdc-line-ripple--active",K_="mdc-line-ripple--deactivating";let QP=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,a=o.contains(K_);"opacity"===r.propertyName&&a&&o.remove(KP,K_)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(K_),e.add(KP)}deactivate(){this._elementRef.nativeElement.classList.add(K_)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de))},n.\u0275dir=R({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),XP=(()=>{class n{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){this._notch.nativeElement.style.width=this.open&&e?`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de))},n.\u0275cmp=$({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(e,i){if(1&e&&ye(Fie,5),2&e){let r;U(r=G())&&(i._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mdc-notched-outline--notched",i.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Pie,ngContentSelectors:Lie,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(qe(),T(0,"div",0),f(1,"div",1,2),re(3),m(),T(4,"div",3))},encapsulation:2,changeDetection:0}),n})();const cre={transitionMessages:pn("transitionMessages",[gt("enter",be({opacity:1,transform:"translateY(0%)"})),ot("void => enter",[be({opacity:0,transform:"translateY(-5px)"}),rt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Q_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n}),n})();const Yd=new F("MatFormField"),dre=new F("MAT_FORM_FIELD_DEFAULT_OPTIONS");let JP=0,Mn=(()=>{class n{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=te(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}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,o,a,s,l,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=l,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-"+JP++,this._hintLabelId="mat-mdc-hint-"+JP++,this._subscriptAnimationState="",this._destroyed=new q,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,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._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 e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(se(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(),dt(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(se(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(se(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(e){const 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(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(de),g(Qt),g(yt),g(dre,8),g(Ot,8),g(ge))},n.\u0275cmp=$({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,En,5),Ee(r,En,7),Ee(r,Q_,5),Ee(r,GP,5),Ee(r,qP,5),Ee(r,UP,5),Ee(r,rc,5)),2&e){let o;U(o=G())&&(i._labelChildNonStatic=o.first),U(o=G())&&(i._labelChildStatic=o.first),U(o=G())&&(i._formFieldControl=o.first),U(o=G())&&(i._prefixChildren=o),U(o=G())&&(i._suffixChildren=o),U(o=G())&&(i._errorChildren=o),U(o=G())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(ye(Bie,5),ye(Vie,5),ye(zie,5),ye(YP,5),ye(XP,5),ye(QP,5)),2&e){let r;U(r=G())&&(i._textField=r.first),U(r=G())&&(i._iconPrefixContainer=r.first),U(r=G())&&(i._textPrefixContainer=r.first),U(r=G())&&(i._floatingLabel=r.first),U(r=G())&&(i._notchedOutline=r.first),U(r=G())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&ce("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ae([{provide:Yd,useExisting:n},{provide:WP,useExisting:n}])],ngContentSelectors:ore,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(qe(rre),S(0,jie,1,1,"ng-template",null,0,_o),f(2,"div",1,2),E("click",function(o){return i._control.onContainerClick(o)}),S(4,Uie,1,0,"div",3),f(5,"div",4),S(6,Wie,2,2,"div",5),S(7,Yie,3,0,"div",6),S(8,Kie,3,0,"div",7),f(9,"div",8),S(10,Xie,1,1,"ng-template",9),re(11),m(),S(12,Jie,2,0,"div",10),S(13,Zie,2,0,"div",11),m(),S(14,ere,1,0,"div",12),m(),f(15,"div",13),S(16,tre,2,1,"div",14),S(17,ire,5,2,"div",15),m()),2&e&&(b(2),ce("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),b(2),_("ngIf",!i._hasOutline()&&!i._control.disabled),b(2),_("ngIf",i._hasOutline()),b(1),_("ngIf",i._hasIconPrefix),b(1),_("ngIf",i._hasTextPrefix),b(2),_("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),b(2),_("ngIf",i._hasTextSuffix),b(1),_("ngIf",i._hasIconSuffix),b(1),_("ngIf",!i._hasOutline()),b(1),ce("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),_("ngSwitch",i._getDisplayedMessages()),b(1),_("ngSwitchCase","error"),b(1),_("ngSwitchCase","hint"))},dependencies:[Be,Ld,Wl,xf,rc,YP,XP,QP],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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-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{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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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-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,.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-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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}.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-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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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:[cre.transitionMessages]},changeDetection:0}),n})(),mn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,ke,N_,Ue]}),n})();function h1(){return qt((n,t)=>{let e=null;n._refCount++;const i=Vt(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class f1 extends it{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,rT(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new We;const e=this.getSubject();t.add(this.source.subscribe(Vt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=We.EMPTY)}return t}refCount(){return h1()(this)}}class p1{}function X_(n){return n&&"function"==typeof n.connect&&!(n instanceof f1)}class tL{applyChanges(t,e,i,r,o){t.forEachOperation((a,s,l)=>{let c,d;if(null==a.previousIndex){const u=i(a,s,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=1}else null==l?(e.remove(s),d=3):(c=e.get(s),e.move(c,l),d=2);o&&o({context:c?.context,operation:d,record:a})})}detach(){}}class ac{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new q,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}let iL=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Wf=new F("_ViewRepeater");function Ao(...n){const t=vT(n),{args:e,keys:i}=VF(n),r=new it(o=>{const{length:a}=e;if(!a)return void o.complete();const s=new Array(a);let l=a,c=a;for(let d=0;d{u||(u=!0,c--),s[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?zF(i,s):s),o.complete())}))}});return t?r.pipe($x(t)):r}let rL=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(g(La),g(W))},n.\u0275dir=R({type:n}),n})(),sc=(()=>{class n extends rL{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,features:[N]}),n})();const Mi=new F("NgValueAccessor"),pre={provide:Mi,useExisting:st(()=>di),multi:!0},gre=new F("CompositionEventMode");let di=(()=>{class n extends rL{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mre(){const n=Ha()?Ha().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(g(La),g(W),g(gre,8))},n.\u0275dir=R({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&E("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[ae([pre]),N]}),n})();function $s(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function aL(n){return null!=n&&"number"==typeof n.length}const ri=new F("NgValidators"),js=new F("NgAsyncValidators"),_re=/^(?=.{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 $t{static min(t){return function sL(n){return t=>{if($s(t.value)||$s(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if($s(t.value)||$s(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return cL(t)}static requiredTrue(t){return function dL(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function uL(n){return $s(n.value)||_re.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function hL(n){return t=>$s(t.value)||!aL(t.value)?null:t.value.lengthaL(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function pL(n){if(!n)return J_;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if($s(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return yL(t)}static composeAsync(t){return CL(t)}}function cL(n){return $s(n.value)?{required:!0}:null}function J_(n){return null}function mL(n){return null!=n}function gL(n){return af(n)?yn(n):n}function _L(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function bL(n,t){return t.map(e=>e(n))}function vL(n){return n.map(t=>function bre(n){return!n.validate}(t)?t:e=>t.validate(e))}function yL(n){if(!n)return null;const t=n.filter(mL);return 0==t.length?null:function(e){return _L(bL(e,t))}}function m1(n){return null!=n?yL(vL(n)):null}function CL(n){if(!n)return null;const t=n.filter(mL);return 0==t.length?null:function(e){return Ao(bL(e,t).map(gL)).pipe(ue(_L))}}function g1(n){return null!=n?CL(vL(n)):null}function wL(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function xL(n){return n._rawValidators}function DL(n){return n._rawAsyncValidators}function _1(n){return n?Array.isArray(n)?n:[n]:[]}function Z_(n,t){return Array.isArray(n)?n.includes(t):n===t}function SL(n,t){const e=_1(t);return _1(n).forEach(r=>{Z_(e,r)||e.push(r)}),e}function kL(n,t){return _1(t).filter(e=>!Z_(n,e))}class EL{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(t){this._rawValidators=t||[],this._composedValidatorFn=m1(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=g1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Yi extends EL{get formDirective(){return null}get path(){return null}}class Ki extends EL{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ML{constructor(t){this._cd=t}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 jt=(()=>{class n extends ML{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,2))},n.\u0275dir=R({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&ce("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[N]}),n})(),oi=(()=>{class n extends ML{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(g(Yi,10))},n.\u0275dir=R({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&ce("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[N]}),n})();const Yf="VALID",tb="INVALID",Kd="PENDING",Kf="DISABLED";function y1(n){return(nb(n)?n.validators:n)||null}function C1(n,t){return(nb(t)?t.asyncValidators:n)||null}function nb(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function AL(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new z(1e3,"");if(!i[e])throw new z(1001,"")}function IL(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new z(1002,"")})}class w1{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Yf}get invalid(){return this.status===tb}get pending(){return this.status==Kd}get disabled(){return this.status===Kf}get enabled(){return this.status!==Kf}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(SL(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(SL(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(kL(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(kL(t,this._rawAsyncValidators))}hasValidator(t){return Z_(this._rawValidators,t)}hasAsyncValidator(t){return Z_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Kd,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Kf,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Yf,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yf||this.status===Kd)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Kf:Yf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Kd,this._hasOwnPendingAsyncValidator=!0;const e=gL(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Kf:this.errors?tb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Kd)?Kd:this._anyControlsHaveStatus(tb)?tb:Yf}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){nb(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function wre(n){return Array.isArray(n)?m1(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function xre(n){return Array.isArray(n)?g1(n):n||null}(this._rawAsyncValidators)}}class Vn extends w1{constructor(t,e,i){super(y1(e),C1(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){IL(this,0,t),Object.keys(t).forEach(i=>{AL(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const x1=Vn,lc=new F("CallSetDisabledState",{providedIn:"root",factory:()=>Qf}),Qf="always";function ib(n,t){return[...t.path,n]}function Xf(n,t,e=Qf){D1(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function kre(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&OL(n,t)})}(n,t),function Mre(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function Ere(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&OL(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Sre(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function rb(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),ab(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ob(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function D1(n,t){const e=xL(n);null!==t.validator?n.setValidators(wL(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=DL(n);null!==t.asyncValidator?n.setAsyncValidators(wL(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();ob(t._rawValidators,r),ob(t._rawAsyncValidators,r)}function ab(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=xL(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=DL(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return ob(t._rawValidators,i),ob(t._rawAsyncValidators,i),e}function OL(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function RL(n,t){D1(n,t)}function k1(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function NL(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function E1(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===di?e=o:function Ire(n){return Object.getPrototypeOf(n.constructor)===sc}(o)?i=o:r=o}),r||i||e||null}const Rre={provide:Yi,useExisting:st(()=>Qd)},Jf=(()=>Promise.resolve())();let Qd=(()=>{class n extends Yi{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new j,this.form=new Vn({},m1(e),g1(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Jf.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Xf(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Jf.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Jf.then(()=>{const i=this._findContainer(e.path),r=new Vn({});RL(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Jf.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Jf.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,NL(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(g(ri,10),g(js,10),g(lc,8))},n.\u0275dir=R({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&E("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ae([Rre]),N]}),n})();function FL(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function PL(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const wt=class extends w1{constructor(t=null,e,i){super(y1(e),C1(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nb(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=PL(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){FL(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){FL(this._onDisabledChange,t)}_forEachChild(t){}_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(t){PL(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},sb=wt;let LL=(()=>{class n extends Yi{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ib(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,features:[N]}),n})();const Pre={provide:Ki,useExisting:st(()=>Us)},VL=(()=>Promise.resolve())();let Us=(()=>{class n extends Ki{constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this.control=new wt,this._registered=!1,this.name="",this.update=new j,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=E1(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),k1(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Xf(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){VL.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&Pd(i);VL.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ib(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(g(Yi,9),g(ri,10),g(js,10),g(Mi,10),g(ze,8),g(lc,8))},n.\u0275dir=R({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ae([Pre]),N,Je]}),n})(),cc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const Lre={provide:Mi,useExisting:st(()=>M1),multi:!0};let M1=(()=>{class n extends sc{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&E("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[ae([Lre]),N]}),n})(),zL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const T1=new F("NgModelWithFormControlWarning"),Hre={provide:Ki,useExisting:st(()=>an)};let an=(()=>{class n extends Ki{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new j,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=E1(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&rb(i,this,!1),Xf(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}k1(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&rb(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")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(g(ri,10),g(js,10),g(Mi,10),g(T1,8),g(lc,8))},n.\u0275dir=R({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ae([Hre]),N,Je]}),n})();const $re={provide:Yi,useExisting:st(()=>gn)};let gn=(()=>{class n extends Yi{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new j,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&&(ab(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Xf(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){rb(e.control||null,e,!1),function Ore(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,NL(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(rb(i||null,e),(n=>n instanceof wt)(r)&&(Xf(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);RL(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function Tre(n,t){return ab(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){D1(this.form,this),this._oldForm&&ab(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(g(ri,10),g(js,10),g(lc,8))},n.\u0275dir=R({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&E("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ae([$re]),N,Je]}),n})();const jre={provide:Yi,useExisting:st(()=>lb)};let lb=(()=>{class n extends LL{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){jL(this._parent)}}return n.\u0275fac=function(e){return new(e||n)(g(Yi,13),g(ri,10),g(js,10))},n.\u0275dir=R({type:n,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[ae([jre]),N]}),n})();const Ure={provide:Yi,useExisting:st(()=>cb)};let cb=(()=>{class n extends Yi{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 ib(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){jL(this._parent)}}return n.\u0275fac=function(e){return new(e||n)(g(Yi,13),g(ri,10),g(js,10))},n.\u0275dir=R({type:n,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[ae([Ure]),N]}),n})();function jL(n){return!(n instanceof lb||n instanceof gn||n instanceof cb)}const Gre={provide:Ki,useExisting:st(()=>Qa)};let Qa=(()=>{class n extends Ki{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new j,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=E1(0,o)}ngOnChanges(e){this._added||this._setUpControl(),k1(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 ib(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}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(g(Yi,13),g(ri,10),g(js,10),g(Mi,10),g(T1,8))},n.\u0275dir=R({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ae([Gre]),N,Je]}),n})(),dc=(()=>{class n{constructor(){this._validator=J_}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):J_,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,features:[Je]}),n})();const eoe={provide:ri,useExisting:st(()=>Xr),multi:!0};let Xr=(()=>{class n extends dc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Pd,this.createValidator=e=>cL}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&ie("required",i._enabled?"":null)},inputs:{required:"required"},features:[ae([eoe]),N]}),n})(),e3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[zL]}),n})();class db extends w1{constructor(t,e,i){super(y1(e),C1(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);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(t,e={}){IL(this,0,t),t.forEach((i,r)=>{AL(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}const aoe=db;let Ut=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:lc,useValue:e.callSetDisabledState??Qf}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[e3]}),n})(),sn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:T1,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:lc,useValue:e.callSetDisabledState??Qf}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[e3]}),n})();function Xd(n){return new it(t=>{ni(n()).subscribe(t)})}const soe=["trigger"],loe=["panel"];function coe(n,t){if(1&n&&(f(0,"span",10),C(1),m()),2&n){const e=x();b(1),xe(e.placeholder)}}function doe(n,t){if(1&n&&(f(0,"span",14),C(1),m()),2&n){const e=x(2);b(1),xe(e.triggerValue)}}function uoe(n,t){1&n&&re(0,0,["*ngSwitchCase","true"])}function hoe(n,t){1&n&&(f(0,"span",11),S(1,doe,2,1,"span",12),S(2,uoe,1,0,"ng-content",13),m()),2&n&&(_("ngSwitch",!!x().customTrigger),b(2),_("ngSwitchCase",!0))}function foe(n,t){if(1&n){const e=Y();Ci(),ks(),f(0,"div",15,16),E("@transformPanel.done",function(r){return B(e),V(x()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return B(e),V(x()._handleKeydown(r))}),re(2,1),m()}if(2&n){const e=x();(function NR(n,t,e){mo(kr,Zo,wd(K(),n,t,e),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),_("ngClass",e.panelClass)("@transformPanel","showing"),ie("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const poe=[[["mat-select-trigger"]],"*"],moe=["mat-select-trigger","*"],goe={transformPanelWrap:pn("transformPanelWrap",[ot("* => void",Wd("@transformPanel",[W_()],{optional:!0}))]),transformPanel:pn("transformPanel",[gt("void",be({opacity:0,transform:"scale(1, 0.8)"})),ot("void => showing",rt("120ms cubic-bezier(0, 0, 0.2, 1)",be({opacity:1,transform:"scale(1, 1)"}))),ot("* => void",rt("100ms linear",be({opacity:0})))])};let t3=0;const n3=new F("mat-select-scroll-strategy"),boe=new F("MAT_SELECT_CONFIG"),voe={provide:n3,deps:[Jn],useFactory:function _oe(n){return()=>n.scrollStrategies.reposition()}},yoe=new F("MatSelectTrigger");class Coe{constructor(t,e){this.source=t,this.value=e}}const woe=Vs(Jl(ko(Xx(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new q}}))));let xoe=(()=>{class n extends woe{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator($t.required)??!1}set required(e){this._required=te(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=te(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=te(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 typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=fn(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,r,o,a,s,l,c,d,u,h,p,v,y){super(a,o,l,c,u),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=s,this._parentFormField=d,this._liveAnnouncer=v,this._defaultOptions=y,this._panelOpen=!1,this._compareWith=(w,k)=>w===k,this._uid="mat-select-"+t3++,this._triggerAriaLabelledBy=null,this._destroy=new q,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+t3++,this._panelDoneAnimatingStream=new q,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Xd(()=>{const w=this.options;return w?w.changes.pipe(zt(w),xt(()=>dt(...w.map(k=>k.onSelectionChange)))):this._ngZone.onStable.pipe(lt(1),xt(()=>this.optionSelectionChanges))}),this.openedChange=new j,this._openedStream=this.openedChange.pipe(Pe(w=>w),ue(()=>{})),this._closedStream=this.openedChange.pipe(Pe(w=>!w),ue(()=>{})),this.selectionChange=new j,this.valueChange=new j,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=y?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=y.typeaheadDebounceInterval),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ac(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Cs(),se(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(se(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(zt(null),se(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&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._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=`${this.id}-panel`;this._trackedModal&&Ff(this._trackedModal,"aria-owns",i),Ux(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(Ff(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())}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){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!on(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;a.onKeydown(e);const l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==r&&32!==r||!i.activeItem||on(e))if(!a&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{const s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}else e.preventDefault(),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(lt(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{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&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)}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new QF(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 e=dt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(se(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),dt(...this.options.map(i=>i._stateChanges)).pipe(se(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(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())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const 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=null;i=this.multiple?this.selected.map(r=>r.value):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;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let 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}}return n.\u0275fac=function(e){return new(e||n)(g(qa),g(ze),g(de),g(Bf),g(W),g(Qt,8),g(Qd,8),g(gn,8),g(Yd,8),g(Ki,10),wi("tabindex"),g(n3),g(Kx),g(boe,8))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&(ye(soe,5),ye(loe,5),ye(zP,5)),2&e){let r;U(r=G())&&(i.trigger=r.first),U(r=G())&&(i.panel=r.first),U(r=G())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[N,Je]}),n})(),uc=(()=>{class n extends xoe{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",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._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=e=>!this.panelOpen&&e.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(se(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=gP(e,this.options,this.optionGroups),a=i._getHostElement();r.scrollTop=0===e&&1===o?0:_P(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Coe(this,e)}_getOverlayWidth(e){return"auto"===this.panelWidth?(e instanceof l1?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,yoe,5),Ee(r,ia,5),Ee(r,e1,5)),2&e){let o;U(o=G())&&(i.customTrigger=o.first),U(o=G())&&(i.options=o),U(o=G())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(ie("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),ce("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[ae([{provide:Q_,useExisting:n},{provide:Zx,useExisting:n}]),N],ngContentSelectors:moe,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[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,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(qe(poe),f(0,"div",0,1),E("click",function(){return i.toggle()}),f(3,"div",2),S(4,coe,2,1,"span",3),S(5,hoe,3,2,"span",4),m(),f(6,"div",5)(7,"div",6),Ci(),f(8,"svg",7),T(9,"path",8),m()()()(),S(10,foe,3,9,"ng-template",9),E("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=mt(1);b(3),_("ngSwitch",i.empty),ie("id",i._valueId),b(1),_("ngSwitchCase",!0),b(1),_("ngSwitchCase",!1),b(5),_("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[Yr,Wl,xf,oF,zP,l1],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.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}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._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.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}'],encapsulation:2,data:{animation:[goe.transformPanel]},changeDetection:0}),n})(),hc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[voe],imports:[ke,Hs,Mo,Ue,Wa,mn,Mo,Ue]}),n})();const Doe=["tooltip"],r3=new F("mat-tooltip-scroll-strategy"),Eoe={provide:r3,deps:[Jn],useFactory:function koe(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},Toe=new F("mat-tooltip-default-options",{providedIn:"root",factory:function Moe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),o3="tooltip-panel",a3=Do({passive:!0});let Foe=(()=>{class n{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=te(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=fn(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=fn(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).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(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,a,s,l,c,d,u,h,p){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=s,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=h,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new q,this._scrollStrategy=d,this._document=p,h&&(this._showDelay=h.showDelay,this._hideDelay=h.hideDelay,h.position&&(this.position=h.position),h.positionAtOrigin&&(this.positionAtOrigin=h.positionAtOrigin),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe(se(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(se(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,a3)}),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())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new ra(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(se(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const 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){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof W)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(se(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${o3}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(se(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(se(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(se(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!on(o)&&(o.preventDefault(),o.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){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(lt(1),se(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const s=this._overlayRef;if(s){const l=`${this._cssClassPrefix}-${o3}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{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,a3)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Xa=(()=>{class n extends Foe{constructor(e,i,r,o,a,s,l,c,d,u,h,p){super(e,i,r,o,a,s,l,c,d,u,h,p),this._tooltipComponent=Loe,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(W),g($f),g(Ft),g(de),g(yt),g(WF),g(dr),g(r3),g(Qt,8),g(Toe,8),g(ge))},n.\u0275dir=R({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mat-mdc-tooltip-disabled",i.disabled)},exportAs:["matTooltip"],features:[N]}),n})(),Poe=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new q,this._animationsDisabled="NoopAnimations"===i}show(e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){null!=this._showTimeoutId&&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(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(Ot,8))},n.\u0275dir=R({type:n}),n})(),Loe=(()=>{class n extends Poe{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(W),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&ye(Doe,7),2&e){let r;U(r=G())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&E("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&nn("zoom",i.isVisible()?1:null)},features:[N],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(f(0,"div",0,1),E("animationend",function(o){return i._handleAnimationEnd(o)}),f(2,"div",2),C(3),m()()),2&e&&(ce("mdc-tooltip--multiline",i._isMultiline),_("ngClass",i.tooltipClass),b(3),xe(i.message))},dependencies:[Yr],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-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.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-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}),n})(),Ja=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Eoe],imports:[B_,ke,Hs,Ue,Ue,Wa]}),n})();function Boe(n,t){if(1&n&&(f(0,"mat-option",19),C(1),m()),2&n){const e=t.$implicit;_("value",e),b(1),me(" ",e," ")}}function Voe(n,t){if(1&n){const e=Y();f(0,"mat-form-field",16)(1,"mat-select",17),E("selectionChange",function(r){return B(e),V(x(2)._changePageSize(r.value))}),S(2,Boe,2,2,"mat-option",18),m()()}if(2&n){const e=x(2);_("appearance",e._formFieldAppearance)("color",e.color),b(1),_("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),b(1),_("ngForOf",e._displayedPageSizeOptions)}}function zoe(n,t){if(1&n&&(f(0,"div",20),C(1),m()),2&n){const e=x(2);b(1),xe(e.pageSize)}}function Hoe(n,t){if(1&n&&(f(0,"div",12)(1,"div",13),C(2),m(),S(3,Voe,3,8,"mat-form-field",14),S(4,zoe,2,1,"div",15),m()),2&n){const e=x();b(1),Yg("id",e._pageSizeLabelId),b(1),me(" ",e._intl.itemsPerPageLabel," "),b(1),_("ngIf",e._displayedPageSizeOptions.length>1),b(1),_("ngIf",e._displayedPageSizeOptions.length<=1)}}function $oe(n,t){if(1&n){const e=Y();f(0,"button",21),E("click",function(){return B(e),V(x().firstPage())}),Ci(),f(1,"svg",7),T(2,"path",22),m()()}if(2&n){const e=x();_("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ie("aria-label",e._intl.firstPageLabel)}}function joe(n,t){if(1&n){const e=Y();Ci(),ks(),f(0,"button",23),E("click",function(){return B(e),V(x().lastPage())}),Ci(),f(1,"svg",7),T(2,"path",24),m()()}if(2&n){const e=x();_("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ie("aria-label",e._intl.lastPageLabel)}}let ub=(()=>{class n{constructor(){this.changes=new q,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const o=e*i;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+i,r):o+i} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Goe={provide:ub,deps:[[new fo,new Fa,ub]],useFactory:function Uoe(n){return n||new ub}},s3=new F("MAT_PAGINATOR_DEFAULT_OPTIONS"),Woe=ko(sP(class{}));let Yoe=(()=>{class n extends Woe{get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(fn(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=fn(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(fn(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>fn(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=te(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=te(e)}constructor(e,i,r){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new j,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){const{pageSize:o,pageSizeOptions:a,hidePageSize:s,showFirstLastButtons:l}=r;null!=o&&(this._pageSize=o),null!=a&&(this._pageSizeOptions=a),null!=s&&(this._hidePageSize=s),null!=l&&(this._showFirstLastButtons=l)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const 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})}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[N]}),n})(),Koe=0,R1=(()=>{class n extends Yoe{constructor(e,i,r){super(e,i,r),this._pageSizeLabelId="mat-paginator-page-size-label-"+Koe++,this._formFieldAppearance=r?.formFieldAppearance||"outline"}}return n.\u0275fac=function(e){return new(e||n)(g(ub),g(ze),g(s3,8))},n.\u0275cmp=$({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[N],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["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,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["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,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div",1),S(2,Hoe,5,4,"div",2),f(3,"div",3)(4,"div",4),C(5),m(),S(6,$oe,3,5,"button",5),f(7,"button",6),E("click",function(){return i.previousPage()}),Ci(),f(8,"svg",7),T(9,"path",8),m()(),ks(),f(10,"button",9),E("click",function(){return i.nextPage()}),Ci(),f(11,"svg",7),T(12,"path",10),m()(),S(13,joe,3,5,"button",11),m()()()),2&e&&(b(2),_("ngIf",!i.hidePageSize),b(3),me(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),b(1),_("ngIf",i.showFirstLastButtons),b(1),_("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),ie("aria-label",i._intl.previousPageLabel),b(3),_("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),ie("aria-label",i._intl.nextPageLabel),b(3),_("ngIf",i.showFirstLastButtons))},dependencies:[Zt,Be,Ar,Mn,uc,ia,Xa],styles:[".mat-mdc-paginator{display:block}.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-reverse;width:100%}.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}[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}),n})(),N1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Goe],imports:[ke,ct,hc,Ja]}),n})();function Qoe(n,t){}const Xoe=function(n){return{animationDuration:n}},Joe=function(n,t){return{value:n,params:t}};function Zoe(n,t){1&n&&re(0)}const l3=["*"],eae=["tabListContainer"],tae=["tabList"],nae=["tabListInner"],iae=["nextPaginator"],rae=["previousPaginator"],oae=["tabBodyWrapper"],aae=["tabHeader"];function sae(n,t){}function lae(n,t){1&n&&S(0,sae,0,0,"ng-template",14),2&n&&_("cdkPortalOutlet",x().$implicit.templateLabel)}function cae(n,t){1&n&&C(0),2&n&&xe(x().$implicit.textLabel)}function dae(n,t){if(1&n){const e=Y();f(0,"div",6,7),E("click",function(){const r=B(e),o=r.$implicit,a=r.index,s=x(),l=mt(1);return V(s._handleClick(o,l,a))})("cdkFocusChange",function(r){const a=B(e).index;return V(x()._tabFocusChanged(r,a))}),T(2,"span",8)(3,"div",9),f(4,"span",10)(5,"span",11),S(6,lae,1,1,"ng-template",12),S(7,cae,1,1,"ng-template",null,13,_o),m()()()}if(2&n){const e=t.$implicit,i=t.index,r=mt(1),o=mt(8),a=x();ce("mdc-tab--active",a.selectedIndex===i),_("id",a._getTabLabelId(i))("ngClass",e.labelClass)("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),b(3),_("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),b(3),_("ngIf",e.templateLabel)("ngIfElse",o)}}function uae(n,t){if(1&n){const e=Y();f(0,"mat-tab-body",15),E("_onCentered",function(){return B(e),V(x()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return B(e),V(x()._setTabBodyWrapperHeight(r))}),m()}if(2&n){const e=t.$implicit,i=t.index,r=x();ce("mat-mdc-tab-body-active",r.selectedIndex===i),_("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ie("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const hae={translateTab:pn("translateTab",[gt("center, void, left-origin-center, right-origin-center",be({transform:"none"})),gt("left",be({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),gt("right",be({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ot("* => left, * => right, left => center, right => center",rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ot("void => left-origin-center",[be({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ot("void => right-origin-center",[be({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let fae=(()=>{class n extends Ir{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=We.EMPTY,this._leavingSub=We.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(zt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{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()}}return n.\u0275fac=function(e){return new(e||n)(g(Ms),g(Ft),g(st(()=>c3)),g(ge))},n.\u0275dir=R({type:n,selectors:[["","matTabBodyHost",""]],features:[N]}),n})(),pae=(()=>{class n{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=We.EMPTY,this._translateTabComplete=new q,this._onCentering=new j,this._beforeCentering=new j,this._afterLeavingCenter=new j,this._onCentered=new j(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(Cs((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.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(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Qt,8),g(ze))},n.\u0275dir=R({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),c3=(()=>{class n extends pae{constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Qt,8),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&ye(Ir,5),2&e){let r;U(r=G())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[N],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(f(0,"div",0,1),E("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),S(2,Qoe,0,0,"ng-template",2),m()),2&e&&_("@translateTab",t_(3,Joe,i._position,Is(1,Xoe,i.animationDuration)))},dependencies:[fae],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:[hae.translateTab]}}),n})();const mae=new F("MatTabContent");let gae=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","matTabContent",""]],features:[ae([{provide:mae,useExisting:n}])]}),n})();const _ae=new F("MatTabLabel"),d3=new F("MAT_TAB");let bae=(()=>{class n extends _ie{constructor(e,i,r){super(e,i),this._closestTab=r}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Ft),g(d3,8))},n.\u0275dir=R({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ae([{provide:_ae,useExisting:n}]),N]}),n})();const F1="mdc-tab-indicator--active",u3="mdc-tab-indicator--no-transition";class vae{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function yae(n){return class extends n{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=te(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(F1);const i=e.getBoundingClientRect(),r=t.width/i.width,o=t.left-i.left;e.classList.add(u3),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(u3),e.classList.add(F1),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(F1)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const wae=ko(class{}),xae=yae((()=>{class n extends wae{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,features:[N]}),n})());let h3=(()=>{class n extends xae{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(ie("aria-disabled",!!i.disabled),ce("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[N]}),n})();const Dae=ko(class{}),f3=new F("MAT_TAB_GROUP");let Sae=(()=>{class n extends Dae{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new q,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new oa(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(f3,8))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&ye(kt,7),2&e){let r;U(r=G())&&(i._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[N,Je]}),n})(),P1=(()=>{class n extends Sae{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,gae,7,kt),Ee(r,bae,5)),2&e){let o;U(o=G())&&(i._explicitContent=o.first),U(o=G())&&(i.templateLabel=o.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[ae([{provide:d3,useExisting:n}]),N],ngContentSelectors:l3,decls:1,vars:0,template:function(e,i){1&e&&(qe(),S(0,Zoe,1,0,"ng-template"))},encapsulation:2}),n})();const p3=Do({passive:!0});let Mae=(()=>{class n{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=te(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=fn(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,r,o,a,s,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=s,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new q,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new q,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new j,this.indexFocused=new j,a.runOutsideAngular(()=>{To(e.nativeElement,"mouseleave").pipe(se(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){To(this._previousPaginator.nativeElement,"touchstart",p3).pipe(se(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),To(this._nextPaginator.nativeElement,"touchstart",p3).pipe(se(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ee("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Pf(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(lt(1)).subscribe(r),dt(e,i,this._items.changes,this._itemsResized()).pipe(se(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?vn:this._items.changes.pipe(zt(this._items),xt(e=>new it(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),zx(1),Pe(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(!on(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let s,l;"ltr"==this._getLayoutDirection()?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);const c=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(l-d,s-c))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),nc(650,100).pipe(se(dt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(qa),g(Qt,8),g(de),g(yt),g(Ot,8))},n.\u0275dir=R({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),Tae=(()=>{class n extends Mae{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=te(e)}constructor(e,i,r,o,a,s,l){super(e,i,r,o,a,s,l),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(qa),g(Qt,8),g(de),g(yt),g(Ot,8))},n.\u0275dir=R({type:n,inputs:{disableRipple:"disableRipple"},features:[N]}),n})(),Aae=(()=>{class n extends Tae{constructor(e,i,r,o,a,s,l){super(e,i,r,o,a,s,l)}ngAfterContentInit(){this._inkBar=new vae(this._items),super.ngAfterContentInit()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(qa),g(Qt,8),g(de),g(yt),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,h3,4),2&e){let o;U(o=G())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(ye(eae,7),ye(tae,7),ye(nae,7),ye(iae,5),ye(rae,5)),2&e){let r;U(r=G())&&(i._tabListContainer=r.first),U(r=G())&&(i._tabList=r.first),U(r=G())&&(i._tabListInner=r.first),U(r=G())&&(i._nextPaginator=r.first),U(r=G())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&ce("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[N],ngContentSelectors:l3,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(qe(),f(0,"button",0,1),E("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),T(2,"div",2),m(),f(3,"div",3,4),E("keydown",function(o){return i._handleKeydown(o)}),f(5,"div",5,6),E("cdkObserveContent",function(){return i._onContentChanges()}),f(7,"div",7,8),re(9),m()()(),f(10,"button",9,10),E("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),T(12,"div",2),m()),2&e&&(ce("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),_("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),b(3),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode),b(7),ce("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),_("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Ei,Hx],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.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}.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}),n})();const L1=new F("MAT_TABS_CONFIG");let Iae=0;const Oae=Bs(Vs(class{constructor(n){this._elementRef=n}}),"primary");let Rae=(()=>{class n extends Oae{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=te(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=fn(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=fn(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=te(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=te(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const 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,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new ea,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=We.EMPTY,this._tabLabelSubscription=We.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new j,this.focusChange=new j,this.animationDone=new j,this.selectedTabChange=new j(!0),this._groupId=Iae++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(zt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Nae;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=dt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(L1,8),g(Ot,8))},n.\u0275dir=R({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[N]}),n})(),B1=(()=>{class n extends Rae{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=te(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=te(e)}constructor(e,i,r,o){super(e,i,r,o),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent,this.stretchTabs=!r||null==r.stretchTabs||r.stretchTabs}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(L1,8),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,P1,5),2&e){let o;U(o=G())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(ye(oae,5),ye(aae,5)),2&e){let r;U(r=G())&&(i._tabBodyWrapper=r.first),U(r=G())&&(i._tabHeader=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(e,i){2&e&&(nn("--mat-tab-animation-duration",i.animationDuration),ce("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[ae([{provide:f3,useExisting:n}]),N],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(f(0,"mat-tab-header",0,1),E("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),S(2,dae,9,17,"div",2),m(),f(3,"div",3,4),S(5,uae,1,11,"mat-tab-body",5),m()),2&e&&(_("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),b(2),_("ngForOf",i._tabs),b(1),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode),b(2),_("ngForOf",i._tabs))},dependencies:[Yr,Zt,Be,Ir,Ei,tP,c3,h3,Aae],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-letter-spacing);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}),n})();class Nae{}let m3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue,Ya,Eo,N_,B_,Ue]}),n})();class Fae extends aZ{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class V1 extends Fae{static makeCurrent(){!function oZ(n){fx||(fx=n)}(new V1)}onAndCancel(t,e,i){return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function Pae(){return Zf=Zf||document.querySelector("base"),Zf?Zf.getAttribute("href"):null}();return null==e?null:function Lae(n){hb=hb||document.createElement("a"),hb.setAttribute("href",n);const t=hb.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Zf=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return eF(document.cookie,t)}}let hb,Zf=null,Vae=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const z1=new F("EventManagerPlugins");let g3=(()=>{class n{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(o=>o.supports(e)),!i)throw new z(5101,!1);return this._eventNameToPlugin.set(e,i),i}}return n.\u0275fac=function(e){return new(e||n)(A(z1),A(de))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();class _3{constructor(t){this._doc=t}}const H1="ng-app-id";let b3=(()=>{class n{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ex(o),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${H1}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){const r=this.styleRef;if(r.has(e)){const o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute(H1),o;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(H1,this.appId),a}}addStyleToHost(e,i){const r=this.getStyleElement(e,i);e.appendChild(r);const o=this.styleRef,a=o.get(i)?.elements;a?a.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(A(ge),A(Ig),A($C,8),A(Hr))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const $1={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/"},j1=/%COMP%/g,jae=new F("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function y3(n,t){return t.map(e=>e.replace(j1,n))}let U1=(()=>{class n{constructor(e,i,r,o,a,s,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Ex(s),this.defaultRenderer=new G1(e,a,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ir.ShadowDom&&(i={...i,encapsulation:ir.Emulated});const r=this.getOrCreateRenderer(e,i);return r instanceof w3?r.applyToHost(e):r instanceof q1&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestory,u=this.platformIsServer;switch(i.encapsulation){case ir.Emulated:o=new w3(l,c,i,this.appId,d,a,s,u);break;case ir.ShadowDom:return new Wae(l,c,e,i,a,s,this.nonce,u);default:o=new q1(l,c,i,d,a,s,u)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}}return n.\u0275fac=function(e){return new(e||n)(A(g3),A(b3),A(Ig),A(jae),A(ge),A(Hr),A(de),A($C))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();class G1{constructor(t,e,i,r){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS($1[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(C3(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(C3(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new z(5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=$1[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=$1[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(sr.DashCase|sr.Important)?t.style.setProperty(e,i,r&sr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&sr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){if("string"==typeof t&&!(t=Ha().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(i))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))&&e.preventDefault()}}}function C3(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Wae extends G1{constructor(t,e,i,r,o,a,s,l){super(t,o,a,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=y3(r.id,r.styles);for(const d of c){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class q1 extends G1{constructor(t,e,i,r,o,a,s,l){super(t,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=l?y3(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class w3 extends q1{constructor(t,e,i,r,o,a,s,l){const c=r+"-"+i.id;super(t,e,i,o,a,s,l,c),this.contentAttr=function Uae(n){return"_ngcontent-%COMP%".replace(j1,n)}(c),this.hostAttr=function Gae(n){return"_nghost-%COMP%".replace(j1,n)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let Yae=(()=>{class n extends _3{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const x3=["alt","control","meta","shift"],Kae={"\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"},Qae={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Xae=(()=>{class n extends _3{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ha().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),x3.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),a+=c+".")}),a+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=Kae[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),x3.forEach(a=>{a!==r&&(0,Qae[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();function D3(n){return{appProviders:[...rse,...n?.providers??[]],platformProviders:nse}}const nse=[{provide:Hr,useValue:dF},{provide:jI,useValue:function Zae(){V1.makeCurrent()},multi:!0},{provide:ge,useFactory:function tse(){return function Oq(n){EC=n}(document),document},deps:[]}],rse=[{provide:LC,useValue:"root"},{provide:$r,useFactory:function ese(){return new $r},deps:[]},{provide:z1,useClass:Yae,multi:!0,deps:[ge,de,Hr]},{provide:z1,useClass:Xae,multi:!0,deps:[ge]},U1,b3,g3,{provide:Yh,useExisting:U1},{provide:hF,useClass:Vae,deps:[]},[]];let S3=(()=>{class n{constructor(e){this._doc=e,this._dom=Ha()}addTag(e,i=!1){return e?this._getOrCreateElement(e,i):null}addTags(e,i=!1){return e?e.reduce((r,o)=>(o&&r.push(this._getOrCreateElement(o,i)),r),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const i=this._doc.querySelectorAll(`meta[${e}]`);return i?[].slice.call(i):[]}updateTag(e,i){if(!e)return null;i=i||this._parseSelector(e);const r=this.getTag(i);return r?this._setMetaElementAttributes(e,r):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,i=!1){if(!i){const a=this._parseSelector(e),s=this.getTags(a).filter(l=>this._containsAttributes(e,l))[0];if(void 0!==s)return s}const r=this._dom.createElement("meta");return this._setMetaElementAttributes(e,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(e,i){return Object.keys(e).forEach(r=>i.setAttribute(this._getMetaKeyMap(r),e[r])),i}_parseSelector(e){const i=e.name?"name":"property";return`${i}="${e[i]}"`}_containsAttributes(e,i){return Object.keys(e).every(r=>i.getAttribute(this._getMetaKeyMap(r))===e[r])}_getMetaKeyMap(e){return ase[e]||e}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:function(e){let i=null;return i=e?new e:function ose(){return new S3(A(ge))}(),i},providedIn:"root"}),n})();const ase={httpEquiv:"http-equiv"};let W1=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:function(e){let i=null;return i=e?new e:function sse(){return new W1(A(ge))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(e){let i=null;return i=e?new(e||n):A(M3),i},providedIn:"root"}),n})(),M3=(()=>{class n extends ep{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case It.NONE:return i;case It.HTML:return Yo(i,"HTML")?Er(i):OI(this._doc,String(i)).toString();case It.STYLE:return Yo(i,"Style")?Er(i):i;case It.SCRIPT:if(Yo(i,"Script"))return Er(i);throw new z(5200,!1);case It.URL:return Yo(i,"URL")?Er(i):kg(String(i));case It.RESOURCE_URL:if(Yo(i,"ResourceURL"))return Er(i);throw new z(5201,!1);default:throw new z(5202,!1)}}bypassSecurityTrustHtml(e){return function Vq(n){return new Rq(n)}(e)}bypassSecurityTrustStyle(e){return function zq(n){return new Nq(n)}(e)}bypassSecurityTrustScript(e){return function Hq(n){return new Fq(n)}(e)}bypassSecurityTrustUrl(e){return function $q(n){return new Pq(n)}(e)}bypassSecurityTrustResourceUrl(e){return function jq(n){return new Lq(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:function(e){let i=null;return i=e?new e:function use(n){return new M3(n.get(ge))}(A(Yt)),i},providedIn:"root"}),n})();function A3(n){return new z(3e3,!1)}function qs(n){switch(n.length){case 0:return new qf;case 1:return n[0];default:return new jP(n)}}function I3(n,t,e=new Map,i=new Map){const r=[],o=[];let a=-1,s=null;if(t.forEach(l=>{const c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((h,p)=>{let v=p,y=h;if("offset"!==p)switch(v=n.normalizePropertyName(v,r),y){case"!":y=e.get(p);break;case Ka:y=i.get(p);break;default:y=n.normalizeStyleValue(p,v,y,r)}u.set(v,y)}),d||o.push(u),s=u,a=c}),r.length)throw function Nse(n){return new z(3502,!1)}();return o}function K1(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Q1(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Q1(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Q1(e,"destroy",n)))}}function Q1(n,t,e){const o=X1(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),a=n._data;return null!=a&&(o._data=a),o}function X1(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Or(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function O3(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}const qse=(()=>typeof document>"u"?null:document.documentElement)();function J1(n){const t=n.parentNode||n.host||null;return t===qse?null:t}let fc=null,R3=!1;function N3(n,t){for(;t;){if(t===n)return!0;t=J1(t)}return!1}function F3(n,t,e){if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]}let P3=(()=>{class n{validateStyleProperty(e){return function Yse(n){fc||(fc=function Kse(){return typeof document<"u"?document.body:null}()||{},R3=!!fc.style&&"WebkitAppearance"in fc.style);let t=!0;return fc.style&&!function Wse(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in fc.style,!t&&R3&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in fc.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return N3(e,i)}getParentElement(e){return J1(e)}query(e,i,r){return F3(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new qf(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),Z1=(()=>{class n{}return n.NOOP=new P3,n})();const Qse=1e3,eD="ng-enter",fb="ng-leave",pb="ng-trigger",mb=".ng-trigger",B3="ng-animating",tD=".ng-animating";function Za(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:nD(parseFloat(t[1]),t[2])}function nD(n,t){return"s"===t?n*Qse:n}function gb(n,t,e){return n.hasOwnProperty("duration")?n:function Jse(n,t,e){let r,o=0,a="";if("string"==typeof n){const s=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push(A3()),{duration:0,delay:0,easing:""};r=nD(parseFloat(s[1]),s[2]);const l=s[3];null!=l&&(o=nD(parseFloat(l),s[4]));const c=s[5];c&&(a=c)}else r=n;if(!e){let s=!1,l=t.length;r<0&&(t.push(function hse(){return new z(3100,!1)}()),s=!0),o<0&&(t.push(function fse(){return new z(3101,!1)}()),s=!0),s&&t.splice(l,0,A3())}return{duration:r,delay:o,easing:a}}(n,t,e)}function tp(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function V3(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Ws(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function aa(n,t,e){t.forEach((i,r)=>{const o=rD(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function pc(n,t){t.forEach((e,i)=>{const r=rD(i);n.style[r]=""})}function np(n){return Array.isArray(n)?1==n.length?n[0]:d1(n):n}const iD=new RegExp("{{\\s*(.+?)\\s*}}","g");function H3(n){let t=[];if("string"==typeof n){let e;for(;e=iD.exec(n);)t.push(e[1]);iD.lastIndex=0}return t}function ip(n,t,e){const i=n.toString(),r=i.replace(iD,(o,a)=>{let s=t[a];return null==s&&(e.push(function mse(n){return new z(3003,!1)}()),s=""),s.toString()});return r==i?n:r}function _b(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const tle=/-+([a-z0-9])/g;function rD(n){return n.replace(tle,(...t)=>t[1].toUpperCase())}function Rr(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function gse(n){return new z(3004,!1)}()}}function $3(n,t){return window.getComputedStyle(n)[t]}const bb="*";function rle(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function ole(n,t,e){if(":"==n[0]){const l=function ale(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Tse(n){return new z(3015,!1)}()),t;const r=i[1],o=i[2],a=i[3];t.push(j3(r,a));"<"==o[0]&&!(r==bb&&a==bb)&&t.push(j3(a,r))}(i,e,t)):e.push(n),e}const vb=new Set(["true","1"]),yb=new Set(["false","0"]);function j3(n,t){const e=vb.has(n)||yb.has(n),i=vb.has(t)||yb.has(t);return(r,o)=>{let a=n==bb||n==r,s=t==bb||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?vb.has(n):yb.has(n)),!s&&i&&"boolean"==typeof o&&(s=o?vb.has(t):yb.has(t)),a&&s}}const sle=new RegExp("s*:selfs*,?","g");function oD(n,t,e,i){return new lle(n).build(t,e,i)}class lle{constructor(t){this._driver=t}build(t,e,i){const r=new ule(e);return this._resetContextStyleTimingState(r),Rr(this,np(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function bse(){return new z(3006,!1)}()),t.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(1==s.type){const l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(function vse(){return new z(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{H3(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&(_b(o.values()),e.errors.push(function yse(n,t){return new z(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Rr(this,np(t.animation),e);return{type:1,matchers:rle(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:mc(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Rr(this,i,e)),options:mc(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=i;const s=Rr(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:o,options:mc(t.options)}}visitAnimate(t,e){const i=function fle(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return aD(gb(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=aD(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=gb(e,t);return aD(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:be({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,s=!1;if(!a){s=!0;const c={};i.easing&&(c.easing=i.easing),a=be(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let s of r)"string"==typeof s?s===Ka?i.push(s):e.errors.push(new z(3002,!1)):i.push(V3(s));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o))for(let l of s.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function wse(n,t,e,i,r){return new z(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&function ele(n,t,e){const i=t.params||{},r=H3(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function pse(n){return new z(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function xse(){return new z(3011,!1)}()),i;let o=0;const a=[];let s=!1,l=!1,c=0;const d=t.steps.map(k=>{const D=this._makeStyleAst(k,e);let M=null!=D.offset?D.offset:function hle(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(D.styles),I=0;return null!=M&&(o++,I=D.offset=M),l=l||I<0||I>1,s=s||I0&&o{const M=h>0?D==p?1:h*D:a[D],I=M*w;e.currentTime=v+y.delay+I,y.duration=I,this._validateStyleAst(k,e),k.offset=M,i.styles.push(k)}),i}visitReference(t,e){return{type:8,animation:Rr(this,np(t.animation),e),options:mc(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:mc(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:mc(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function cle(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(sle,"")),n=n.replace(/@\*/g,mb).replace(/@\w+/g,e=>mb+"-"+e.slice(1)).replace(/:animating/g,tD),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Or(e.collectedStyles,e.currentQuerySelector,new Map);const s=Rr(this,np(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:mc(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function Ese(){return new z(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:gb(t.timings,e.errors,!0);return{type:12,animation:Rr(this,np(t.animation),e),timings:i,options:null}}}class ule{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function mc(n){return n?(n=tp(n)).params&&(n.params=function dle(n){return n?tp(n):null}(n.params)):n={},n}function aD(n,t,e){return{duration:n,delay:t,easing:e}}function sD(n,t,e,i,r,o,a=null,s=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}class Cb{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const gle=new RegExp(":enter","g"),ble=new RegExp(":leave","g");function lD(n,t,e,i,r,o=new Map,a=new Map,s,l,c=[]){return(new vle).buildKeyframes(n,t,e,i,r,o,a,s,l,c)}class vle{buildKeyframes(t,e,i,r,o,a,s,l,c,d=[]){c=c||new Cb;const u=new cD(t,e,c,r,o,d,[]);u.options=l;const h=l.delay?Za(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([a],null,u.errors,l),Rr(this,i,u);const p=u.timelines.filter(v=>v.containsAnimation());if(p.length&&s.size){let v;for(let y=p.length-1;y>=0;y--){const w=p[y];if(w.element===e){v=w;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([s],null,u.errors,l)}return p.length?p.map(v=>v.buildKeyframes()):[sD(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:Za(ip(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?Za(i.duration):null,s=null!=i.delay?Za(i.delay):null;return 0!==a&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Rr(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=wb);const a=Za(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Rr(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Za(t.options.delay):0;t.steps.forEach(a=>{const s=e.createSubContext(t.options);o&&s.delayNextStep(o),Rr(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return gb(e.params?ip(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,t.styles.forEach(l=>{s.forwardTime((l.offset||0)*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Za(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=wb);let a=i;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),Rr(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1);let l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime}const d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Rr(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const wb={};class cD{constructor(t,e,i,r,o,a,s,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new xb(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Za(i.duration)),null!=i.delay&&(r.delay=Za(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=ip(o[s],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new cD(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=wb,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new yle(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(gle,"."+this._enterClassName)).replace(ble,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&0==s.length&&a.push(function Mse(n){return new z(3014,!1)}()),s}}class xb{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new xb(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ka),this._currentKeyframe.set(e,Ka);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function Cle(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Ka)}else Ws(r,e)}),e}(t,this._globalTimelineStyles);for(let[s,l]of a){const c=ip(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Ka),this._updateStyle(s,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,l)=>{const c=Ws(s,new Map,this._backFill);c.forEach((d,u)=>{"!"===d?t.add(u):d===Ka&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?_b(t.values()):[],a=e.size?_b(e.values()):[];if(i){const s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return sD(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class yle extends xb{constructor(t,e,i,r,o,a,s=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,s=e/a,l=Ws(t[0]);l.set("offset",0),o.push(l);const c=Ws(t[0]);c.set("offset",q3(s)),o.push(c);const d=t.length-1;for(let u=1;u<=d;u++){let h=Ws(t[u]);const p=h.get("offset");h.set("offset",q3((e+p*i)/a)),o.push(h)}i=a,e=0,r="",t=o}return sD(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function q3(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class dD{}const wle=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class xle extends dD{normalizePropertyName(t,e){return rD(t)}normalizeStyleValue(t,e,i,r){let o="";const a=i.toString().trim();if(wle.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(function _se(n,t){return new z(3005,!1)}())}return a+o}}function W3(n,t,e,i,r,o,a,s,l,c,d,u,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const uD={};class Y3{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function Dle(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,s,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||uD,v=this.buildStyles(i,s&&s.params||uD,u),y=l&&l.params||uD,w=this.buildStyles(r,y,u),k=new Set,D=new Map,M=new Map,I="void"===r,O={params:Sle(y,h),delay:this.ast.options?.delay},he=d?[]:lD(t,e,this.ast.animation,o,a,v,w,O,c,u);let L=0;if(he.forEach(Ve=>{L=Math.max(Ve.duration+Ve.delay,L)}),u.length)return W3(e,this._triggerName,i,r,I,v,w,[],[],D,M,L,u);he.forEach(Ve=>{const Ne=Ve.element,Dn=Or(D,Ne,new Set);Ve.preStyleProps.forEach(Bt=>Dn.add(Bt));const Vi=Or(M,Ne,new Set);Ve.postStyleProps.forEach(Bt=>Vi.add(Bt)),Ne!==e&&k.add(Ne)});const le=_b(k.values());return W3(e,this._triggerName,i,r,I,v,w,he,le,D,M,L)}}function Sle(n,t){const e=tp(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class kle{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=tp(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,s)=>{a&&(a=ip(a,r,e));const l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}}class Mle{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new kle(r.style,r.options&&r.options.params||{},i))}),K3(this.states,"true","1"),K3(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Y3(t,r,this.states))}),this.fallbackTransition=function Tle(n,t,e){return new Y3(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function K3(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const Ale=new Cb;class Ile{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=oD(this._driver,e,i,[]);if(i.length)throw function Fse(n){return new z(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=I3(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let a;const s=new Map;if(o?(a=lD(this._driver,e,o,eD,fb,new Map,new Map,i,Ale,r),a.forEach(d=>{const u=Or(s,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function Pse(){return new z(3300,!1)}()),a=[]),r.length)throw function Lse(n){return new z(3504,!1)}();s.forEach((d,u)=>{d.forEach((h,p)=>{d.set(p,this._driver.computeStyle(u,p,Ka))})});const c=qs(a.map(d=>{const u=s.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function Bse(n){return new z(3301,!1)}();return e}listen(t,e,i,r){const o=X1(e,"","","");return K1(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Q3="ng-animate-queued",hD="ng-animate-disabled",Ple=[],X3={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Lle={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Jr="__ng_removed";class fD{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function Hle(n){return n??null}(i?t.value:t),i){const o=tp(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const rp="void",pD=new fD(rp);class Ble{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Zr(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function Vse(n,t){return new z(3302,!1)}();if(null==i||0==i.length)throw function zse(n){return new z(3303,!1)}();if(!function $le(n){return"start"==n||"done"==n}(i))throw function Hse(n,t){return new z(3400,!1)}();const o=Or(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);const s=Or(this._engine.statesByElement,t,new Map);return s.has(e)||(Zr(t,pb),Zr(t,pb+"-"+e),s.set(e,pD)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function $se(n){return new z(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),a=new mD(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Zr(t,pb),Zr(t,pb+"-"+e),this._engine.statesByElement.set(t,s=new Map));let l=s.get(e);const c=new fD(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=pD),c.value!==rp&&l.value===c.value){if(!function Gle(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{pc(t,w),aa(t,k)})}return}const h=Or(this._engine.playersByElement,t,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,t,c.params),v=!1;if(!p){if(!r)return;p=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:v}),v||(Zr(t,Q3),a.onStart(()=>{Jd(t,Q3)})),a.onDone(()=>{let y=this.players.indexOf(a);y>=0&&this.players.splice(y,1);const w=this._engine.playersByElement.get(t);if(w){let k=w.indexOf(a);k>=0&&w.splice(k,1)}}),this.players.push(a),h.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,mb,!0);i.forEach(r=>{if(r[Jr])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){const d=this.trigger(t,c,rp,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&qs(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const l=this._triggers.get(a).fallbackTransition,c=i.get(a)||pD,d=new fD(rp),u=new mD(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Jr];(!o||o===X3)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Zr(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){const l=X1(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,K1(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class Vle{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new Ble(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const l=r.get(s);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(Db(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Db(e))return;const o=e[Jr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Zr(t,hD)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Jd(t,hD))}removeNode(t,e,i){if(Db(e)){const r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Jr]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Db(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,mb,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,tD,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return qs(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Jr];if(e&&e.setForRemoval){if(t[Jr]=X3,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(hD)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?qs(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function jse(n){return new z(3402,!1)}()}_flushAnimations(t,e){const i=new Cb,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(we=>{d.add(we);const Me=this.driver.query(we,".ng-animate-queued",!0);for(let Ae=0;Ae{const Ae=eD+y++;v.set(Me,Ae),we.forEach(at=>Zr(at,Ae))});const w=[],k=new Set,D=new Set;for(let we=0;wek.add(at)):D.add(Me))}const M=new Map,I=e4(h,Array.from(k));I.forEach((we,Me)=>{const Ae=fb+y++;M.set(Me,Ae),we.forEach(at=>Zr(at,Ae))}),t.push(()=>{p.forEach((we,Me)=>{const Ae=v.get(Me);we.forEach(at=>Jd(at,Ae))}),I.forEach((we,Me)=>{const Ae=M.get(Me);we.forEach(at=>Jd(at,Ae))}),w.forEach(we=>{this.processLeaveNode(we)})});const O=[],he=[];for(let we=this._namespaceList.length-1;we>=0;we--)this._namespaceList[we].drainQueuedTransitions(e).forEach(Ae=>{const at=Ae.player,bn=Ae.element;if(O.push(at),this.collectedEnterElements.length){const Un=bn[Jr];if(Un&&Un.setForMove){if(Un.previousTriggersValues&&Un.previousTriggersValues.has(Ae.triggerName)){const Bo=Un.previousTriggersValues.get(Ae.triggerName),Ie=this.statesByElement.get(Ae.element);if(Ie&&Ie.has(Ae.triggerName)){const _0=Ie.get(Ae.triggerName);_0.value=Bo,Ie.set(Ae.triggerName,_0)}}return void at.destroy()}}const Hi=!u||!this.driver.containsElement(u,bn),Tt=M.get(bn),Cr=v.get(bn),bt=this._buildInstruction(Ae,i,Cr,Tt,Hi);if(bt.errors&&bt.errors.length)return void he.push(bt);if(Hi)return at.onStart(()=>pc(bn,bt.fromStyles)),at.onDestroy(()=>aa(bn,bt.toStyles)),void r.push(at);if(Ae.isFallbackTransition)return at.onStart(()=>pc(bn,bt.fromStyles)),at.onDestroy(()=>aa(bn,bt.toStyles)),void r.push(at);const ka=[];bt.timelines.forEach(Un=>{Un.stretchStartingKeyframe=!0,this.disabledNodes.has(Un.element)||ka.push(Un)}),bt.timelines=ka,i.append(bn,bt.timelines),a.push({instruction:bt,player:at,element:bn}),bt.queriedElements.forEach(Un=>Or(s,Un,[]).push(at)),bt.preStyleProps.forEach((Un,Bo)=>{if(Un.size){let Ie=l.get(Bo);Ie||l.set(Bo,Ie=new Set),Un.forEach((_0,QM)=>Ie.add(QM))}}),bt.postStyleProps.forEach((Un,Bo)=>{let Ie=c.get(Bo);Ie||c.set(Bo,Ie=new Set),Un.forEach((_0,QM)=>Ie.add(QM))})});if(he.length){const we=[];he.forEach(Me=>{we.push(function Use(n,t){return new z(3505,!1)}())}),O.forEach(Me=>Me.destroy()),this.reportError(we)}const L=new Map,le=new Map;a.forEach(we=>{const Me=we.element;i.has(Me)&&(le.set(Me,Me),this._beforeAnimationBuild(we.player.namespaceId,we.instruction,L))}),r.forEach(we=>{const Me=we.element;this._getPreviousPlayers(Me,!1,we.namespaceId,we.triggerName,null).forEach(at=>{Or(L,Me,[]).push(at),at.destroy()})});const Ve=w.filter(we=>n4(we,l,c)),Ne=new Map;Z3(Ne,this.driver,D,c,Ka).forEach(we=>{n4(we,l,c)&&Ve.push(we)});const Vi=new Map;p.forEach((we,Me)=>{Z3(Vi,this.driver,new Set(we),l,"!")}),Ve.forEach(we=>{const Me=Ne.get(we),Ae=Vi.get(we);Ne.set(we,new Map([...Me?.entries()??[],...Ae?.entries()??[]]))});const Bt=[],zi=[],vs={};a.forEach(we=>{const{element:Me,player:Ae,instruction:at}=we;if(i.has(Me)){if(d.has(Me))return Ae.onDestroy(()=>aa(Me,at.toStyles)),Ae.disabled=!0,Ae.overrideTotalTime(at.totalTime),void r.push(Ae);let bn=vs;if(le.size>1){let Tt=Me;const Cr=[];for(;Tt=Tt.parentNode;){const bt=le.get(Tt);if(bt){bn=bt;break}Cr.push(Tt)}Cr.forEach(bt=>le.set(bt,bn))}const Hi=this._buildAnimation(Ae.namespaceId,at,L,o,Vi,Ne);if(Ae.setRealPlayer(Hi),bn===vs)Bt.push(Ae);else{const Tt=this.playersByElement.get(bn);Tt&&Tt.length&&(Ae.parentPlayer=qs(Tt)),r.push(Ae)}}else pc(Me,at.fromStyles),Ae.onDestroy(()=>aa(Me,at.toStyles)),zi.push(Ae),d.has(Me)&&r.push(Ae)}),zi.forEach(we=>{const Me=o.get(we.element);if(Me&&Me.length){const Ae=qs(Me);we.setRealPlayer(Ae)}}),r.forEach(we=>{we.parentPlayer?we.syncPlayerEvents(we.parentPlayer):we.destroy()});for(let we=0;we!Hi.destroyed);bn.length?jle(this,Me,bn):this.processLeaveNode(Me)}return w.length=0,Bt.forEach(we=>{this.players.push(we),we.onDone(()=>{we.destroy();const Me=this.players.indexOf(we);this.players.splice(Me,1)}),we.play()}),Bt}elementContainsData(t,e){let i=!1;const r=e[Jr];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){const s=this.playersByQueriedElement.get(t);s&&(a=s)}else{const s=this.playersByElement.get(t);if(s){const l=!o||o==rp;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(t,e,i){const o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,d=c!==o,u=Or(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(p=>{const v=p.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),p.destroy(),u.push(p)})}pc(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){const s=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,h=e.timelines.map(v=>{const y=v.element;d.add(y);const w=y[Jr];if(w&&w.removedBeforeQueried)return new qf(v.duration,v.delay);const k=y!==l,D=function Ule(n){const t=[];return t4(n,t),t}((i.get(y)||Ple).map(L=>L.getRealPlayer())).filter(L=>!!L.element&&L.element===y),M=o.get(y),I=a.get(y),O=I3(this._normalizer,v.keyframes,M,I),he=this._buildPlayer(v,O,D);if(v.subTimeline&&r&&u.add(y),k){const L=new mD(t,s,y);L.setRealPlayer(he),c.push(L)}return he});c.forEach(v=>{Or(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>function zle(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>Zr(v,B3));const p=qs(h);return p.onDestroy(()=>{d.forEach(v=>Jd(v,B3)),aa(l,e.toStyles)}),u.forEach(v=>{Or(r,v,[]).push(p)}),p}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new qf(t.duration,t.delay)}}class mD{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new qf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>K1(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Or(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Db(n){return n&&1===n.nodeType}function J3(n,t){const e=n.style.display;return n.style.display=t??"none",e}function Z3(n,t,e,i,r){const o=[];e.forEach(l=>o.push(J3(l)));const a=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=t.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Jr]=Lle,a.push(c))}),n.set(c,d)});let s=0;return e.forEach(l=>J3(l,o[s++])),a}function e4(n,t){const e=new Map;if(n.forEach(s=>e.set(s,[])),0==t.length)return e;const r=new Set(t),o=new Map;function a(s){if(!s)return 1;let l=o.get(s);if(l)return l;const c=s.parentNode;return l=e.has(c)?c:r.has(c)?1:a(c),o.set(s,l),l}return t.forEach(s=>{const l=a(s);1!==l&&e.get(l).push(s)}),e}function Zr(n,t){n.classList?.add(t)}function Jd(n,t){n.classList?.remove(t)}function jle(n,t,e){qs(e).onDone(()=>n.processLeaveNode(t))}function t4(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class Sb{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Vle(t,e,i),this._timelineEngine=new Ile(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const a=t+"-"+r;let s=this._triggerCache[a];if(!s){const l=[],d=oD(this._driver,o,l,[]);if(l.length)throw function Rse(n,t){return new z(3404,!1)}();s=function Ele(n,t,e){return new Mle(n,t,e)}(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,a]=O3(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[a,s]=O3(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Wle=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&aa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(aa(this._element,this._initialStyles),this._endStyles&&(aa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(pc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pc(this._element,this._endStyles),this._endStyles=null),aa(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function gD(n){let t=null;return n.forEach((e,i)=>{(function Yle(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class r4{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:$3(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Kle{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return N3(t,e)}getParentElement(t){return J1(t)}query(t,e,i){return F3(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=a.filter(p=>p instanceof r4);(function nle(n,t){return 0===n||0===t})(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((v,y)=>c.set(y,v))});let u=function Zse(n){return n.length?n[0]instanceof Map?n:n.map(t=>V3(t)):[]}(e).map(p=>Ws(p));u=function ile(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(s,$3(n,s)))}}return t}(t,u,c);const h=function qle(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=gD(t[0]),t.length>1&&(i=gD(t[t.length-1]))):t instanceof Map&&(e=gD(t)),e||i?new Wle(n,e,i):null}(t,u);return new r4(t,u,l,h)}}let Qle=(()=>{class n extends $P{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ir.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?d1(e):e;return o4(this._renderer,null,i,"register",[r]),new Xle(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(A(Yh),A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();class Xle extends Nie{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Jle(this._id,t,e||{},this._renderer)}}class Jle{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return o4(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function o4(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const a4="@.disabled";let Zle=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(o,a)=>{const s=a?.parentNode(o);s&&a.removeChild(s,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new s4("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const a=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(a,s,e,d.name,d)};return i.data.animation.forEach(l),new ece(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(A(Yh),A(Sb),A(de))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();class s4{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==a4?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class ece extends s4{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==a4?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function tce(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function nce(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,i,s)})}return this.delegate.listen(t,e,i)}}let ice=(()=>{class n extends Sb{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(A(ge),A(Z1),A(dD),A(za))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const l4=[{provide:$P,useClass:Qle},{provide:dD,useFactory:function rce(){return new xle}},{provide:Sb,useClass:ice},{provide:Yh,useFactory:function oce(n,t,e){return new Zle(n,t,e)},deps:[U1,Sb,de]}],ace=[{provide:Z1,useFactory:()=>new Kle},{provide:Ot,useValue:"BrowserAnimations"},...l4];function Eb(n){return!!n&&(n instanceof it||vt(n.lift)&&vt(n.subscribe))}const Mb=bh(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function Zd(n,t){const e=vt(n)?n:()=>n,i=r=>r.error(e());return new it(t?r=>t.schedule(i,0,r):i)}function Tb(n){return qt((t,e)=>{let i=!1;t.subscribe(Vt(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function c4(n=cce){return qt((t,e)=>{let i=!1;t.subscribe(Vt(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function cce(){return new Mb}function eo(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Pe((r,o)=>n(r,o,i)):Ea,lt(1),e?Tb(t):c4(()=>new Mb))}function to(n){return qt((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Vt(e,void 0,void 0,a=>{o=ni(n(a,to(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function _D(n){return n<=0?()=>vn:qt((t,e)=>{let i=[];t.subscribe(Vt(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function d4(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Pe((r,o)=>n(r,o,i)):Ea,_D(1),e?Tb(t):c4(()=>new Mb))}function Ab(n){return ue(()=>n)}const tt="primary",op=Symbol("RouteTitle");class hce{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function eu(n){return new hce(n)}function fce(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function h4(n){return n.length>0?n[n.length-1]:null}function Ys(n){return Eb(n)?n:af(n)?yn(Promise.resolve(n)):ee(n)}const mce={exact:function m4(n,t,e){if(!gc(n.segments,t.segments)||!Ib(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!m4(n.children[i],t.children[i],e))return!1;return!0},subset:g4},f4={exact:function gce(n,t){return sa(n,t)},subset:function _ce(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>u4(n[e],t[e]))},ignored:()=>!0};function p4(n,t,e){return mce[e.paths](n.root,t.root,e.matrixParams)&&f4[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function g4(n,t,e){return _4(n,t,t.segments,e)}function _4(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!gc(r,e)||t.hasChildren()||!Ib(r,e,i))}if(n.segments.length===e.length){if(!gc(n.segments,e)||!Ib(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!g4(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(gc(n.segments,r)&&Ib(n.segments,r,i)&&n.children[tt])&&_4(n.children[tt],t,o,i)}}function Ib(n,t,e){return t.every((i,r)=>f4[e](n[r].parameters,i.parameters))}class tu{constructor(t=new Lt([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=eu(this.queryParams)),this._queryParamMap}toString(){return yce.serialize(this)}}class Lt{constructor(t,e){this.segments=t,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 Rb(this)}}class ap{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=eu(this.parameters)),this._parameterMap}toString(){return y4(this)}}function gc(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let sp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return new Ob},providedIn:"root"}),n})();class Ob{parse(t){const e=new Ice(t);return new tu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${lp(t.root,!0)}`,i=function xce(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${Nb(e)}=${Nb(r)}`).join("&"):`${Nb(e)}=${Nb(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function Cce(n){return encodeURI(n)}(t.fragment)}`:""}`}}const yce=new Ob;function Rb(n){return n.segments.map(t=>y4(t)).join("/")}function lp(n,t){if(!n.hasChildren())return Rb(n);if(t){const e=n.children[tt]?lp(n.children[tt],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==tt&&i.push(`${r}:${lp(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function vce(n,t){let e=[];return Object.entries(n.children).forEach(([i,r])=>{i===tt&&(e=e.concat(t(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==tt&&(e=e.concat(t(r,i)))}),e}(n,(i,r)=>r===tt?[lp(n.children[tt],!1)]:[`${r}:${lp(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[tt]?`${Rb(n)}/${e[0]}`:`${Rb(n)}/(${e.join("//")})`}}function b4(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nb(n){return b4(n).replace(/%3B/gi,";")}function bD(n){return b4(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fb(n){return decodeURIComponent(n)}function v4(n){return Fb(n.replace(/\+/g,"%20"))}function y4(n){return`${bD(n.path)}${function wce(n){return Object.keys(n).map(t=>`;${bD(t)}=${bD(n[t])}`).join("")}(n.parameters)}`}const Dce=/^[^\/()?;#]+/;function vD(n){const t=n.match(Dce);return t?t[0]:""}const Sce=/^[^\/()?;=#]+/,Ece=/^[^=?&#]+/,Tce=/^[^&#]+/;class Ice{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Lt([],{}):new Lt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[tt]=new Lt(t,e)),i}parseSegment(){const t=vD(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new z(4009,!1);return this.capture(t),new ap(Fb(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function kce(n){const t=n.match(Sce);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=vD(this.remaining);r&&(i=r,this.capture(i))}t[Fb(e)]=Fb(i)}parseQueryParam(t){const e=function Mce(n){const t=n.match(Ece);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function Ace(n){const t=n.match(Tce);return t?t[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const r=v4(e),o=v4(i);if(t.hasOwnProperty(r)){let a=t[r];Array.isArray(a)||(a=[a],t[r]=a),a.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=vD(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new z(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=tt);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[tt]:new Lt([],a),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new z(4011,!1)}}function C4(n){return n.segments.length>0?new Lt([],{[tt]:n}):n}function w4(n){const t={};for(const i of Object.keys(n.children)){const o=w4(n.children[i]);if(i===tt&&0===o.segments.length&&o.hasChildren())for(const[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function Oce(n){if(1===n.numberOfChildren&&n.children[tt]){const t=n.children[tt];return new Lt(n.segments.concat(t.segments),t.children)}return n}(new Lt(n.segments,t))}function _c(n){return n instanceof tu}function x4(n){let t;const r=C4(function e(o){const a={};for(const l of o.children){const c=e(l);a[l.outlet]=c}const s=new Lt(o.url,a);return o===n&&(t=s),s}(n.root));return t??r}function D4(n,t,e,i){let r=n;for(;r.parent;)r=r.parent;if(0===t.length)return yD(r,r,r,e,i);const o=function Nce(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new k4(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===a?(o.split("/").forEach((s,l)=>{0==l&&"."===s||(0==l&&""===s?e=!0:".."===s?t++:""!=s&&r.push(s))}),r):[...r,o]},[]);return new k4(e,t,i)}(t);if(o.toRoot())return yD(r,r,new Lt([],{}),e,i);const a=function Fce(n,t,e){if(n.isAbsolute)return new Lb(t,!0,0);if(!e)return new Lb(t,!1,NaN);if(null===e.parent)return new Lb(e,!0,0);const i=Pb(n.commands[0])?0:1;return function Pce(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new z(4005,!1);r=i.segments.length}return new Lb(i,!1,r-o)}(e,e.segments.length-1+i,n.numberOfDoubleDots)}(o,r,n),s=a.processChildren?dp(a.segmentGroup,a.index,o.commands):E4(a.segmentGroup,a.index,o.commands);return yD(r,a.segmentGroup,s,e,i)}function Pb(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function cp(n){return"object"==typeof n&&null!=n&&n.outlets}function yD(n,t,e,i,r){let a,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),a=n===t?e:S4(n,t,e);const s=C4(w4(a));return new tu(s,o,r)}function S4(n,t,e){const i={};return Object.entries(n.children).forEach(([r,o])=>{i[r]=o===t?e:S4(o,t,e)}),new Lt(n.segments,i)}class k4{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Pb(i[0]))throw new z(4003,!1);const r=i.find(cp);if(r&&r!==h4(i))throw new z(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Lb{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function E4(n,t,e){if(n||(n=new Lt([],{})),0===n.segments.length&&n.hasChildren())return dp(n,t,e);const i=function Bce(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const a=n.segments[r],s=e[i];if(cp(s))break;const l=`${s}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!T4(l,c,a))return o;i+=2}else{if(!T4(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=E4(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{void 0===i[o]&&(r[o]=a)}),new Lt(n.segments,r)}}function CD(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof i&&(i=[i]),null!==i&&(t[e]=CD(new Lt([],{}),0,i))}),t}function M4(n){const t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function T4(n,t,e){return n==e.path&&sa(t,e.parameters)}const up="imperative";class la{constructor(t,e){this.id=t,this.url=e}}class wD extends la{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ks extends la{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Bb extends la{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Vb extends la{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=16}}class zb extends la{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class zce extends la{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hce extends la{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $ce extends la{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jce extends la{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Uce extends la{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gce{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class qce{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Wce{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yce{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kce{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qce{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xce{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new hp,this.attachRef=null}}let hp=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Xce,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class A4{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=xD(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=xD(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=DD(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return DD(t,this._root).map(e=>e.value)}}function xD(n,t){if(n===t.value)return t;for(const e of t.children){const i=xD(n,e);if(i)return i}return null}function DD(n,t){if(n===t.value)return[t];for(const e of t.children){const i=DD(n,e);if(i.length)return i.unshift(t),i}return[]}class es{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function nu(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class I4 extends A4{constructor(t,e){super(t),this.snapshot=e,SD(this,t)}toString(){return this.snapshot.toString()}}function O4(n,t){const e=function Jce(n,t){const a=new Hb([],{},{},"",{},tt,t,null,{});return new N4("",new es(a,[]))}(0,t),i=new ft([new ap("",{})]),r=new ft({}),o=new ft({}),a=new ft({}),s=new ft(""),l=new Nr(i,r,a,s,o,tt,t,e.root);return l.snapshot=e.root,new I4(new es(l,[]),e)}class Nr{constructor(t,e,i,r,o,a,s,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ue(c=>c[op]))??ee(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ue(t=>eu(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ue(t=>eu(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function R4(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function Zce(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Hb{get title(){return this.data?.[op]}constructor(t,e,i,r,o,a,s,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=eu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=eu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class N4 extends A4{constructor(t,e){super(e),this.url=t,SD(this,e)}toString(){return F4(this._root)}}function SD(n,t){t.value._routerState=n,t.children.forEach(e=>SD(n,e))}function F4(n){const t=n.children.length>0?` { ${n.children.map(F4).join(", ")} } `:"";return`${n.value}${t}`}function kD(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,sa(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),sa(t.params,e.params)||n.paramsSubject.next(e.params),function pce(n,t){if(n.length!==t.length)return!1;for(let e=0;esa(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||ED(n.parent,t.parent))}let bc=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new j,this.deactivateEvents=new j,this.attachEvents=new j,this.detachEvents=new j,this.parentContexts=ne(hp),this.location=ne(Ft),this.changeDetector=ne(ze),this.environmentInjector=ne(Qo),this.inputBinder=ne($b,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),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;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new z(4013,!1);this._activatedRoute=e;const r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new ede(e,s,r.injector);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Je]}),n})();class ede{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Nr?this.route:t===hp?this.childContexts:this.parent.get(t,e)}}const $b=new F("");function fp(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function nde(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return fp(n,i,r);return fp(n,i)})}(n,t,e);return new es(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>fp(n,s)),a}}const i=function ide(n){return new Nr(new ft(n.url),new ft(n.params),new ft(n.queryParams),new ft(n.fragment),new ft(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>fp(n,o));return new es(i,r)}}const MD="ngNavigationCancelingError";function L4(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=_c(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=B4(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function B4(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[MD]=!0,i.cancellationCode=t,e&&(i.url=e),i}function V4(n){return z4(n)&&_c(n.url)}function z4(n){return n&&n[MD]}let H4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:1,vars:0,template:function(e,i){1&e&&T(0,"router-outlet")},dependencies:[bc],encapsulation:2}),n})();function TD(n){const t=n.children&&n.children.map(TD),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==tt&&(e.component=H4),e}function Io(n){return n.outlet||tt}function pp(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class dde{constructor(t,e,i,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),kD(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=nu(e);t.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=nu(t);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);if(i&&i.outlet){const a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=nu(t);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){const r=nu(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Qce(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Yce(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(kD(r),r===o)if(r.component){const a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),kD(s.route.value),this.activateChildRoutes(t,null,a.children)}else{const s=pp(r.snapshot);a.attachRef=null,a.route=r,a.injector=s,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,i)}}class $4{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class jb{constructor(t,e){this.component=t,this.route=e}}function ude(n,t,e){const i=n._root;return mp(i,t?t._root:null,e,[i.value])}function iu(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function eU(n){return null!==jm(n)}(n)?t.get(n):n:i}function mp(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=nu(t);return n.children.forEach(a=>{(function fde(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,a=t?t.value:null,s=e?e.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function pde(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!gc(n.url,t.url);case"pathParamsOrQueryParamsChange":return!gc(n.url,t.url)||!sa(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ED(n,t)||!sa(n.queryParams,t.queryParams);default:return!ED(n,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new $4(i)):(o.data=a.data,o._resolvedData=a._resolvedData),mp(n,t,o.component?s?s.children:null:e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new jb(s.outlet.component,a))}else a&&gp(t,s,r),r.canActivateChecks.push(new $4(i)),mp(n,null,o.component?s?s.children:null:e,i,r)})(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>gp(s,e.getContext(a),r)),r}function gp(n,t,e){const i=nu(n),r=n.value;Object.entries(i).forEach(([o,a])=>{gp(a,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new jb(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function _p(n){return"function"==typeof n}function j4(n){return n instanceof Mb||"EmptyError"===n?.name}const Ub=Symbol("INITIAL_VALUE");function ru(){return xt(n=>Ls(n.map(t=>t.pipe(lt(1),zt(Ub)))).pipe(ue(t=>{for(const e of t)if(!0!==e){if(e===Ub)return Ub;if(!1===e||e instanceof tu)return e}return!0}),Pe(t=>t!==Ub),lt(1)))}function U4(n){return function hj(...n){return tT(n)}(Ht(t=>{if(_c(t))throw L4(0,t)}),ue(t=>!0===t))}class Gb{constructor(t){this.segmentGroup=t||null}}class G4{constructor(t){this.urlTree=t}}function ou(n){return Zd(new Gb(n))}function q4(n){return Zd(new G4(n))}class Nde{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new z(4002,!1)}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return ee(i);if(r.numberOfChildren>1||!r.children[tt])return Zd(new z(4e3,!1));r=r.children[tt]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new tu(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Object.entries(t).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(t,l,i,r)}),new Lt(o,a)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new z(4001,!1);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}const AD={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fde(n,t,e,i,r){const o=ID(n,t,e);return o.matched?(i=function rde(n,t){return n.providers&&!n._injector&&(n._injector=Pw(n.providers,t,`Route: ${n.path}`)),n._injector??t}(t,i),function Ide(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?ee(r.map(a=>{const s=iu(a,n);return Ys(function yde(n){return n&&_p(n.canMatch)}(s)?s.canMatch(t,e):n.runInContext(()=>s(t,e)))})).pipe(ru(),U4()):ee(!0)}(i,t,e).pipe(ue(a=>!0===a?o:{...AD}))):ee(o)}function ID(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...AD}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||fce)(e,n,t);if(!r)return{...AD};const o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function W4(n,t,e,i){return e.length>0&&function Bde(n,t,e){return e.some(i=>qb(n,t,i)&&Io(i)!==tt)}(n,e,i)?{segmentGroup:new Lt(t,Lde(i,new Lt(e,n.children))),slicedSegments:[]}:0===e.length&&function Vde(n,t,e){return e.some(i=>qb(n,t,i))}(n,e,i)?{segmentGroup:new Lt(n.segments,Pde(n,0,e,i,n.children)),slicedSegments:e}:{segmentGroup:new Lt(n.segments,n.children),slicedSegments:e}}function Pde(n,t,e,i,r){const o={};for(const a of i)if(qb(n,e,a)&&!r[Io(a)]){const s=new Lt([],{});o[Io(a)]=s}return{...r,...o}}function Lde(n,t){const e={};e[tt]=t;for(const i of n)if(""===i.path&&Io(i)!==tt){const r=new Lt([],{});e[Io(i)]=r}return e}function qb(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}class jde{constructor(t,e,i,r,o,a,s){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new Nde(this.urlSerializer,this.urlTree)}noMatchError(t){return new z(4002,!1)}recognize(){const t=W4(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,tt).pipe(to(e=>{if(e instanceof G4)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof Gb?this.noMatchError(e):e}),ue(e=>{const i=new Hb([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,{}),r=new es(i,e),o=new N4("",r),a=function Rce(n,t,e=null,i=null){return D4(x4(n),t,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,tt).pipe(to(i=>{throw i instanceof Gb?this.noMatchError(i):i}))}inheritParamsAndData(t){const e=t.value,i=R4(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r,!0)}processChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return yn(r).pipe(vf(o=>{const a=i.children[o],s=function lde(n,t){const e=n.filter(i=>Io(i)===t);return e.push(...n.filter(i=>Io(i)!==t)),e}(e,o);return this.processSegmentGroup(t,s,a,o)}),function uce(n,t){return qt(function dce(n,t,e,i,r){return(o,a)=>{let s=e,l=t,c=0;o.subscribe(Vt(a,d=>{const u=c++;l=s?n(l,d,u):(s=!0,d),i&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}(n,t,arguments.length>=2,!0))}((o,a)=>(o.push(...a),o)),Tb(null),d4(),Gn(o=>{if(null===o)return ou(i);const a=Y4(o);return function Ude(n){n.sort((t,e)=>t.value.outlet===tt?-1:e.value.outlet===tt?1:t.value.outlet.localeCompare(e.value.outlet))}(a),ee(a)}))}processSegment(t,e,i,r,o,a){return yn(e).pipe(vf(s=>this.processSegmentAgainstRoute(s._injector??t,e,s,i,r,o,a).pipe(to(l=>{if(l instanceof Gb)return ee(null);throw l}))),eo(s=>!!s),to(s=>{if(j4(s))return function Hde(n,t,e){return 0===t.length&&!n.children[e]}(i,r,o)?ee([]):ou(i);throw s}))}processSegmentAgainstRoute(t,e,i,r,o,a,s){return function zde(n,t,e,i){return!!(Io(n)===i||i!==tt&&qb(t,e,n))&&("**"===n.path||ID(t,n,e).matched)}(i,r,o,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,r,i,o,a,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a):ou(r):ou(r)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?q4(o):this.applyRedirects.lineralizeSegments(i,o).pipe(Gn(a=>{const s=new Lt(a,{});return this.processSegment(t,e,s,a,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,a){const{matched:s,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=ID(e,r,o);if(!s)return ou(e);const u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?q4(u):this.applyRedirects.lineralizeSegments(r,u).pipe(Gn(h=>this.processSegment(t,i,e,h.concat(c),a,!1)))}matchSegmentAgainstRoute(t,e,i,r,o,a){let s;if("**"===i.path){const l=r.length>0?h4(r).parameters:{};s=ee({snapshot:new Hb(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,K4(i),Io(i),i.component??i._loadedComponent??null,i,Q4(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else s=Fde(e,i,r,t).pipe(ue(({matched:l,consumedSegments:c,remainingSegments:d,parameters:u})=>l?{snapshot:new Hb(c,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,K4(i),Io(i),i.component??i._loadedComponent??null,i,Q4(i)),consumedSegments:c,remainingSegments:d}:null));return s.pipe(xt(l=>null===l?ou(e):this.getChildConfig(t=i._injector??t,i,r).pipe(xt(({routes:c})=>{const d=i._loadedInjector??t,{snapshot:u,consumedSegments:h,remainingSegments:p}=l,{segmentGroup:v,slicedSegments:y}=W4(e,h,p,c);if(0===y.length&&v.hasChildren())return this.processChildren(d,c,v).pipe(ue(k=>null===k?null:[new es(u,k)]));if(0===c.length&&0===y.length)return ee([new es(u,[])]);const w=Io(i)===o;return this.processSegment(d,c,v,y,w?tt:o,!0).pipe(ue(k=>[new es(u,k)]))}))))}getChildConfig(t,e,i){return e.children?ee({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?ee({routes:e._loadedRoutes,injector:e._loadedInjector}):function Ade(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?ee(!0):ee(r.map(a=>{const s=iu(a,n);return Ys(function gde(n){return n&&_p(n.canLoad)}(s)?s.canLoad(t,e):n.runInContext(()=>s(t,e)))})).pipe(ru(),U4())}(t,e,i).pipe(Gn(r=>r?this.configLoader.loadChildren(t,e).pipe(Ht(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Rde(n){return Zd(B4(!1,3))}())):ee({routes:[],injector:t})}}function Gde(n){const t=n.value.routeConfig;return t&&""===t.path}function Y4(n){const t=[],e=new Set;for(const i of n){if(!Gde(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=Y4(i.children);t.push(new es(i.value,r))}return t.filter(i=>!e.has(i))}function K4(n){return n.data||{}}function Q4(n){return n.resolve||{}}function X4(n){return"string"==typeof n.title||null===n.title}function OD(n){return xt(t=>{const e=n(t);return e?yn(e).pipe(ue(()=>t)):ee(t)})}const Wb=new F("ROUTES");let J4=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=ne(gJ)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ee(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ys(e.loadComponent()).pipe(ue(Z4),Ht(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),yo(()=>{this.componentLoaders.delete(e)})),r=new f1(i,()=>new q).pipe(h1());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ee({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(ue(s=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c;return Array.isArray(s)?c=s:(l=s.create(e).injector,c=l.get(Wb,[],Fe.Self|Fe.Optional).flat()),{routes:c.map(TD),injector:l}}),yo(()=>{this.childrenLoaders.delete(i)})),a=new f1(o,()=>new q).pipe(h1());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return Ys(e()).pipe(ue(Z4),Gn(i=>i instanceof v2||Array.isArray(i)?ee(i):yn(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Z4(n){return function Jde(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let Yb=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new q,this.configLoader=ne(J4),this.environmentInjector=ne(Qo),this.urlSerializer=ne(sp),this.rootContexts=ne(hp),this.inputBindingEnabled=null!==ne($b,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ee(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new qce(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new Gce(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new ft({id:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:up,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Pe(i=>0!==i.id),ue(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),xt(i=>{let r=!1,o=!1;return ee(i).pipe(Ht(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),xt(a=>{const s=e.browserUrlTree.toString(),l=!e.navigated||a.extractedUrl.toString()!==s||s!==e.currentUrlTree.toString();if(!l&&"reload"!==(a.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const d="";return this.events.next(new Vb(a.id,e.serializeUrl(i.rawUrl),d,0)),e.rawUrlTree=a.rawUrl,a.resolve(null),vn}if(e.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return eB(a.source)&&(e.browserUrlTree=a.extractedUrl),ee(a).pipe(xt(d=>{const u=this.transitions?.getValue();return this.events.next(new wD(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),u!==this.transitions?.getValue()?vn:Promise.resolve(d)}),function qde(n,t,e,i,r,o){return Gn(a=>function $de(n,t,e,i,r,o,a="emptyOnly"){return new jde(n,t,e,i,r,a,o).recognize()}(n,t,e,i,a.extractedUrl,r,o).pipe(ue(({state:s,tree:l})=>({...a,targetSnapshot:s,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Ht(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},"eager"===e.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);e.setBrowserUrl(h,d)}e.browserUrlTree=d.urlAfterRedirects}const u=new zce(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:d,extractedUrl:u,source:h,restoredState:p,extras:v}=a,y=new wD(d,this.urlSerializer.serialize(u),h,p);this.events.next(y);const w=O4(0,this.rootComponentType).snapshot;return ee(i={...a,targetSnapshot:w,urlAfterRedirects:u,extras:{...v,skipLocationChange:!1,replaceUrl:!1}})}{const d="";return this.events.next(new Vb(a.id,e.serializeUrl(i.extractedUrl),d,1)),e.rawUrlTree=a.rawUrl,a.resolve(null),vn}}),Ht(a=>{const s=new Hce(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),ue(a=>i={...a,guards:ude(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function wde(n,t){return Gn(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?ee({...e,guardsResult:!0}):function xde(n,t,e,i){return yn(n).pipe(Gn(r=>function Tde(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?ee(o.map(s=>{const l=pp(t)??r,c=iu(s,l);return Ys(function vde(n){return n&&_p(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(eo())})).pipe(ru()):ee(!0)}(r.component,r.route,e,t,i)),eo(r=>!0!==r,!0))}(a,i,r,n).pipe(Gn(s=>s&&function mde(n){return"boolean"==typeof n}(s)?function Dde(n,t,e,i){return yn(t).pipe(vf(r=>$d(function kde(n,t){return null!==n&&t&&t(new Wce(n)),ee(!0)}(r.route.parent,i),function Sde(n,t){return null!==n&&t&&t(new Kce(n)),ee(!0)}(r.route,i),function Mde(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>function hde(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(a)).filter(a=>null!==a).map(a=>Xd(()=>ee(a.guards.map(l=>{const c=pp(a.node)??e,d=iu(l,c);return Ys(function bde(n){return n&&_p(n.canActivateChild)}(d)?d.canActivateChild(i,n):c.runInContext(()=>d(i,n))).pipe(eo())})).pipe(ru())));return ee(o).pipe(ru())}(n,r.path,e),function Ede(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return ee(!0);const r=i.map(o=>Xd(()=>{const a=pp(t)??e,s=iu(o,a);return Ys(function _de(n){return n&&_p(n.canActivate)}(s)?s.canActivate(t,n):a.runInContext(()=>s(t,n))).pipe(eo())}));return ee(r).pipe(ru())}(n,r.route,e))),eo(r=>!0!==r,!0))}(i,o,n,t):ee(s)),ue(s=>({...e,guardsResult:s})))})}(this.environmentInjector,a=>this.events.next(a)),Ht(a=>{if(i.guardsResult=a.guardsResult,_c(a.guardsResult))throw L4(0,a.guardsResult);const s=new $ce(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),Pe(a=>!!a.guardsResult||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),OD(a=>{if(a.guards.canActivateChecks.length)return ee(a).pipe(Ht(s=>{const l=new jce(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l)}),xt(s=>{let l=!1;return ee(s).pipe(function Wde(n,t){return Gn(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ee(e);let o=0;return yn(r).pipe(vf(a=>function Yde(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!X4(r)&&(o[op]=r.title),function Kde(n,t,e,i){const r=function Qde(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return ee({});const o={};return yn(r).pipe(Gn(a=>function Xde(n,t,e,i){const r=pp(t)??i,o=iu(n,r);return Ys(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[a],t,e,i).pipe(eo(),Ht(s=>{o[a]=s}))),_D(1),Ab(o),to(a=>j4(a)?vn:Zd(a)))}(o,n,t,i).pipe(ue(a=>(n._resolvedData=a,n.data=R4(n,e).resolve,r&&X4(r)&&(n.data[op]=r.title),null)))}(a.route,i,n,t)),Ht(()=>o++),_D(1),Gn(a=>o===r.length?ee(e):vn))})}(e.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",2))}}))}),Ht(s=>{const l=new Uce(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l)}))}),OD(a=>{const s=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ht(d=>{l.component=d}),ue(()=>{})));for(const d of l.children)c.push(...s(d));return c};return Ls(s(a.targetSnapshot.root)).pipe(Tb(),lt(1))}),OD(()=>this.afterPreactivation()),ue(a=>{const s=function tde(n,t,e){const i=fp(n,t._root,e?e._root:void 0);return new I4(i,t)}(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:s}}),Ht(a=>{e.currentUrlTree=a.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),e.routerState=a.targetRouterState,"deferred"===e.urlUpdateStrategy&&(a.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,a),e.browserUrlTree=a.urlAfterRedirects)}),((n,t,e,i)=>ue(r=>(new dde(t,r.targetRouterState,r.currentRouterState,e,i).activate(n),r)))(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),lt(1),Ht({next:a=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Ks(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{r=!0}}),yo(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),to(a=>{if(o=!0,z4(a)){V4(a)||(e.navigated=!0,e.restoreHistory(i,!0));const s=new Bb(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(s),V4(a)){const l=e.urlHandlingStrategy.merge(a.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||eB(i.source)};e.scheduleNavigation(l,up,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const s=new zb(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(s);try{i.resolve(e.errorHandler(a))}catch(l){i.reject(l)}}return vn}))}))}cancelNavigationTransition(e,i,r){const o=new Bb(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function eB(n){return n!==up}let tB=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===tt);return i}getResolvedTitleForRoute(e){return e.data[op]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return ne(Zde)},providedIn:"root"}),n})(),Zde=(()=>{class n extends tB{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(A(W1))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return ne(nue)},providedIn:"root"}),n})();class tue{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let nue=(()=>{class n extends tue{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const RD=new F("",{providedIn:"root",factory:()=>({})});let iue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:function(){return ne(rue)},providedIn:"root"}),n})(),rue=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Fr=(()=>((Fr=Fr||{})[Fr.COMPLETE=0]="COMPLETE",Fr[Fr.FAILED=1]="FAILED",Fr[Fr.REDIRECTING=2]="REDIRECTING",Fr))();function oue(n){throw n}function aue(n,t,e){return t.parse("/")}const sue={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lue={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Zn=(()=>{class n{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=ne(sN),this.isNgZoneEnabled=!1,this.options=ne(RD,{optional:!0})||{},this.pendingTasks=ne(Zw),this.errorHandler=this.options.errorHandler||oue,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||aue,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=ne(iue),this.routeReuseStrategy=ne(eue),this.titleStrategy=ne(tB),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=ne(Wb,{optional:!0})?.flat()??[],this.navigationTransitions=ne(Yb),this.urlSerializer=ne(sp),this.location=ne(yf),this.componentInputBindingEnabled=!!ne($b,{optional:!0}),this.isNgZoneEnabled=ne(de)instanceof de&&de.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new tu,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=O4(0,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId??0},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),up,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(TD),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a;let u,d=null;switch(s){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{u=x4(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),u=this.currentUrlTree.root}return D4(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=_c(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,up,null,i)}navigate(e,i={skipLocationChange:!1}){return function cue(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((u,h)=>{s=u,l=h});const d=this.pendingTasks.add();return function nB(n,t){n.events.pipe(Pe(e=>e instanceof Ks||e instanceof Bb||e instanceof zb||e instanceof Vb),ue(e=>e instanceof Ks||e instanceof Vb?Fr.COMPLETE:e instanceof Bb&&(0===e.code||1===e.code)?Fr.REDIRECTING:Fr.FAILED),Pe(e=>e!==Fr.REDIRECTING),lt(1)).subscribe(()=>{t()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",a)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,(this.browserPageId??0)+1)};this.location.go(r,"",o)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ur=(()=>{class n{constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s,this.href=null,this.commands=null,this.onChanges=new q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Ks&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,r,o,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||r||o||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function NI(n,t,e){return function iW(n,t){return"src"===t&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===t&&("base"===n||"link"===n)?RI:Ko}(t,e)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(e){return new(e||n)(g(Zn),g(Nr),wi("tabindex"),g(La),g(W),g(d_))},n.\u0275dir=R({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,i){1&e&&E("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&ie("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Pd],skipLocationChange:["skipLocationChange","skipLocationChange",Pd],replaceUrl:["replaceUrl","replaceUrl",Pd],routerLink:"routerLink"},standalone:!0,features:[zO,Je]}),n})();const ND=new F("");function rB(n){return n.routerState.root}function oB(){const n=ne(Yt);return t=>{const e=n.get(za);if(t!==e.components[0])return;const i=n.get(Zn),r=n.get(aB);1===n.get(FD)&&i.initialNavigation(),n.get(sB,null,Fe.Optional)?.setUpPreloading(),n.get(ND,null,Fe.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const aB=new F("",{factory:()=>new q}),FD=new F("",{providedIn:"root",factory:()=>1}),sB=new F("");function vue(n,t){}class Kb{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 cB=(()=>{class n extends Uf{constructor(e,i,r,o,a,s,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const 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(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=zd(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.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(){const e=this._elementRef.nativeElement,i=zd();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zd())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Lf),g(ge,8),g(Kb),g(jd),g(de),g(Gf),g(dr))},n.\u0275cmp=$({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&ye(Ir,7),2&e){let r;U(r=G())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&ie("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[N],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&S(0,vue,0,0,"ng-template",0)},dependencies:[Ir],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class PD{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new q,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!on(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(t,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const dB=new F("DialogScrollStrategy"),yue=new F("DialogData"),Cue=new F("DefaultDialogConfig"),xue={provide:dB,deps:[Jn],useFactory:function wue(n){return()=>n.scrollStrategies.block()}};let Due=0,uB=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,a,s){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._ariaHiddenElements=new Map,this.afterAllClosed=Xd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(zt(void 0))),this._scrollStrategy=s}open(e,i){(i={...this._defaultOptions||new Kb,...i}).id=i.id||"cdk-dialog-"+Due++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),a=this._overlay.create(o),s=new PD(a,i),l=this._attachContainer(a,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(){LD(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){LD(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),LD(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new zs({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){const o=r.injector||r.viewContainerRef?.injector,a=[{provide:Kb,useValue:r},{provide:PD,useValue:i},{provide:Gf,useValue:e}];let s;r.container?"function"==typeof r.container?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=cB;const l=new ra(s,r.viewContainerRef,Yt.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof kt){const a=this._createInjector(o,i,r,void 0);let s={$implicit:o.data,dialogRef:i};o.templateContext&&(s={...s,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new oa(e,null,s,a))}else{const a=this._createInjector(o,i,r,this._injector),s=r.attachComponentPortal(new ra(e,o.viewContainerRef,a,o.componentFactoryResolver));i.componentInstance=s.instance}}_createInjector(e,i,r,o){const a=e.injector||e.viewContainerRef?.injector,s=[{provide:yue,useValue:e.data},{provide:PD,useValue:i}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Qt,null,{optional:!0}))&&s.push({provide:Qt,useValue:{value:e.direction,change:ee()}}),Yt.create({parent:a||o,providers:s})}_removeOpenDialog(e,i){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(e){return new(e||n)(A(Jn),A(Yt),A(Cue,8),A(n,12),A(G_),A(dB))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();function LD(n,t){let e=n.length;for(;e--;)t(n[e])}let Sue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[uB,xue],imports:[Hs,Ya,B_,Ya]}),n})();function kue(n,t){}class Qb{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const BD="mdc-dialog--open",hB="mdc-dialog--opening",fB="mdc-dialog--closing";let Tue=(()=>{class n extends cB{constructor(e,i,r,o,a,s,l,c){super(e,i,r,o,a,s,l,c),this._animationStateChanged=new j}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Lf),g(ge,8),g(Qb),g(jd),g(de),g(Gf),g(dr))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],features:[N],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();const pB="--mat-dialog-transition-duration";function mB(n){return null==n?null:"number"==typeof n?n:n.endsWith("ms")?fn(n.substring(0,n.length-2)):n.endsWith("s")?1e3*fn(n.substring(0,n.length-1)):"0"===n?0:null}let Aue=(()=>{class n extends Tue{constructor(e,i,r,o,a,s,l,c,d){super(e,i,r,o,a,s,l,d),this._animationMode=c,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?mB(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?mB(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(pB,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(hB,BD)),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(BD),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(BD),this._animationsEnabled?(this._hostElement.style.setProperty(pB,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fB)),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(hB,fB)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Lf),g(ge,8),g(Qb),g(jd),g(de),g(Gf),g(Ot,8),g(dr))},n.\u0275cmp=$({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,i){2&e&&(Si("id",i._config.id),ie("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),ce("_mat-animation-noopable",!i._animationsEnabled))},features:[N],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div",1),S(2,kue,0,0,"ng-template",2),m()())},dependencies:[Ir],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%;transform:scale(0.8);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}.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--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.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{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-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);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--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-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{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}),n})();class Qs{constructor(t,e,i){this._ref=t,this._containerInstance=i,this._afterOpened=new q,this._beforeClosed=new q,this._state=0,this.disableClose=e.disableClose,this.id=t.id,i._animationStateChanged.pipe(Pe(r=>"opened"===r.state),lt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Pe(r=>"closed"===r.state),lt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),dt(this.backdropClick(),this.keydownEvents().pipe(Pe(r=>27===r.keyCode&&!this.disableClose&&!on(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),gB(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Pe(e=>"closing"===e.state),lt(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,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(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function gB(n,t,e){return n._closeInteractionType=t,n.close(e)}const vc=new F("MatMdcDialogData"),Iue=new F("mat-mdc-dialog-default-options"),_B=new F("mat-mdc-dialog-scroll-strategy"),Rue={provide:_B,deps:[Jn],useFactory:function Oue(n){return()=>n.scrollStrategies.block()}};let Nue=0,Fue=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,o,a,s,l,c,d,u){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._idPrefix="mat-dialog-",this.dialogConfigClass=Qb,this.afterAllClosed=Xd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(zt(void 0))),this._scrollStrategy=s,this._dialog=i.get(uB)}open(e,i){let r;(i={...this._defaultOptions||new Qb,...i}).id=i.id||`${this._idPrefix}${Nue++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...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:Kb,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,s,l)=>(r=new this._dialogRefConstructor(a,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,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()}}return n.\u0275fac=function(e){Mr()},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),Xs=(()=>{class n extends Fue{constructor(e,i,r,o,a,s,l,c){super(e,i,o,s,l,a,Qs,Aue,vc,c),this._idPrefix="mat-mdc-dialog-"}}return n.\u0275fac=function(e){return new(e||n)(A(Jn),A(Yt),A(yf,8),A(Iue,8),A(_B),A(n,12),A(G_),A(Ot,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),Pue=0,yc=(()=>{class n{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=bB(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){gB(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(e){return new(e||n)(g(Qs,8),g(W),g(Xs))},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&E("click",function(o){return i._onButtonClick(o)}),2&e&&ie("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Je]}),n})(),Cc=(()=>{class n{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r,this.id="mat-mdc-dialog-title-"+Pue++}ngOnInit(){this._dialogRef||(this._dialogRef=bB(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(g(Qs,8),g(W),g(Xs))},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,i){2&e&&Si("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),wc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),n})(),xc=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,i){2&e&&ce("mat-mdc-dialog-actions-align-center","center"===i.align)("mat-mdc-dialog-actions-align-end","end"===i.align)},inputs:{align:"align"}}),n})();function bB(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}let Js=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Xs,Rue],imports:[Sue,Hs,Ya,Ue,Ue]}),n})();const Xb=new F("Session storage that can be shimed when running on server or in tests"),yB=new F("Local storage that can be shimed when running on server or in tests");let Jb=(()=>{class n{constructor(){this.data=new Map}get length(){return this.data.size}clear(){this.data.clear()}getItem(e){const i=this.data.get(e);return void 0===i?null:i}key(e){let i=0;for(const r of this.data.keys())if(i++===e)return r;return null}removeItem(e){this.data.delete(e)}setItem(e,i){this.data.set(e,i)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Bue={provide:Xb,useFactory:function Lue(){try{if(typeof sessionStorage<"u")return sessionStorage}catch{}return new Jb}},zue={provide:yB,useFactory:function Vue(){try{if(typeof localStorage<"u")return localStorage}catch{}return new Jb}};function Hue(n,t){if(1&n){const e=Y();f(0,"div",2)(1,"button",3),E("click",function(){return B(e),V(x().action())}),C(2),m()()}if(2&n){const e=x();b(2),me(" ",e.data.action," ")}}const $ue=["label"];function jue(n,t){}const Uue=Math.pow(2,31)-1;class VD{constructor(t,e){this._overlayRef=e,this._afterDismissed=new q,this._afterOpened=new q,this._onAction=new q,this._dismissedByAction=!1,this.containerInstance=t,t._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(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,Uue))}_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 CB=new F("MatSnackBarData");class Zb{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let Gue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),n})(),que=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),n})(),Wue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),n})(),Yue=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(g(VD),g(CB))},n.\u0275cmp=$({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(f(0,"div",0),C(1),m(),S(2,Hue,3,1,"div",1)),2&e&&(b(1),me(" ",i.data.message,"\n"),b(1),_("ngIf",i.hasAction))},dependencies:[Be,en,Gue,que,Wue],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),n})();const Kue={snackBarState:pn("state",[gt("void, hidden",be({transform:"scale(0.8)",opacity:0})),gt("visible",be({transform:"scale(1)",opacity:1})),ot("* => visible",rt("150ms cubic-bezier(0, 0, 0.2, 1)")),ot("* => void, * => hidden",rt("75ms cubic-bezier(0.4, 0.0, 1, 1)",be({opacity:0})))])};let Que=0,Xue=(()=>{class n extends Uf{constructor(e,i,r,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=a,this._document=ne(ge),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new q,this._onExit=new q,this._onEnter=new q,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+Que++,this.attachDomPortal=s=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),l},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(lt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{const i=e.getAttribute("aria-owns");if(i){const 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(()=>{const 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)})}}return n.\u0275fac=function(e){return new(e||n)(g(de),g(W),g(ze),g(yt),g(Zb))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&ye(Ir,7),2&e){let r;U(r=G())&&(i._portalOutlet=r.first)}},features:[N]}),n})(),Jue=(()=>{class n extends Xue{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&ye($ue,7),2&e){let r;U(r=G())&&(i._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&sf("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&cf("@state",i._animationState)},features:[N],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div",1,2)(3,"div",3),S(4,jue,0,0,"ng-template",4),m(),T(5,"div"),m()()),2&e&&(b(5),ie("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Ir],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;--mdc-snackbar-container-shape:4px;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-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;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:[Kue.snackBarState]}}),n})(),wB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Hs,Ya,ke,ct,Ue,Ue]}),n})();const xB=new F("mat-snack-bar-default-options",{providedIn:"root",factory:function Zue(){return new Zb}});let ehe=(()=>{class n{get _openedSnackBarRef(){const 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,o,a,s){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Yt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Zb,useValue:i}]}),a=new ra(this.snackBarContainerComponent,i.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){const r={...new Zb,...this._defaultConfig,...i},o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new VD(a,o);if(e instanceof kt){const l=new oa(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{const l=this._createInjector(r,s),c=new ra(e,void 0,l),d=a.attachComponentPortal(c);s.instance=d.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(se(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&a._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){const i=new zs;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,s=!a&&"center"!==e.horizontalPosition;return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Yt.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:VD,useValue:i},{provide:CB,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(A(Jn),A(Kx),A(Yt),A(Nf),A(n,12),A(xB))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),DB=(()=>{class n extends ehe{constructor(e,i,r,o,a,s){super(e,i,r,o,a,s),this.simpleSnackBarComponent=Yue,this.snackBarContainerComponent=Jue,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(A(Jn),A(Kx),A(Yt),A(Nf),A(n,12),A(xB))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:wB}),n})();const the=[RC([Js,wB]),Bue,zue],nhe=["*"];let ev;function bp(n){return function ihe(){if(void 0===ev&&(ev=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(ev=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return ev}()?.createHTML(n)||n}function SB(n){return Error(`Unable to find icon with the name "${n}"`)}function kB(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function EB(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Dc{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let au=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,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,o){return this._addSvgIconConfig(e,i,new Dc(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const a=this._sanitizer.sanitize(It.HTML,r);if(!a)throw EB(r);const s=bp(a);return this._addSvgIconConfig(e,i,new Dc("",s,o))}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 Dc(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(It.HTML,i);if(!o)throw EB(i);const a=bp(o);return this._addSvgIconSetConfig(e,new Dc("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(It.RESOURCE_URL,e);if(!i)throw kB(e);const r=this._cachedIconsByUrl.get(i);return r?ee(tv(r)):this._loadSvgIconFromConfig(new Dc(e,null)).pipe(Ht(o=>this._cachedIconsByUrl.set(i,o)),ue(o=>tv(o)))}getNamedSvgIcon(e,i=""){const r=MB(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Zd(SB(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ee(tv(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ue(i=>tv(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?ee(r):Ao(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(to(s=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(It.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),ee(null)})))).pipe(ue(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw SB(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ht(i=>e.svgText=i),ue(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ee(null):this._fetchIcon(e).pipe(Ht(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const s=this._svgElementFromString(bp(""));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(bp("")),r=e.attributes;for(let o=0;obp(c)),yo(()=>this._inProgressUrlFetches.delete(a)),Vm());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(MB(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),TB=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],uhe=TB.map(n=>`[${n}]`).join(", "),hhe=/^url\(['"]?#(.*?)['"]?\)$/;let ei=(()=>{class n extends she{get inline(){return this._inline}set inline(e){this._inline=te(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,a,s){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=We.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["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).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"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(uhe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const s=i[o],l=s.getAttribute(a),c=l?l.match(hhe):null;if(c){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(lt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(au),wi("aria-hidden"),g(che),g($r),g(lhe,8))},n.\u0275cmp=$({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(ie("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),ce("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[N],ngContentSelectors:nhe,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:[".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}),n})(),ai=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})();const AB=new F("Configuration for Natural Icons"),IB=Symbol("Natural icon registered");let ui=(()=>{class n{constructor(e,i,r,o){this.matIconRegistry=e,this.domSanitizer=i,this.config=r,this.matIconComponent=o,this._size=void 0,this.classes="",this.registerIcons(r??{})}set naturalIcon(e){const i={name:e,...this.config?.[e]??{font:e}};i.class&&(this.classes=i.class),this.matIconComponent.fontIcon=void 0,this.matIconComponent.svgIcon=void 0,i.font?this.matIconComponent.fontIcon=i.font:i.svg&&(this.matIconComponent.svgIcon=i.name)}set size(e){this._size=e??void 0}registerIcons(e){const i=this.matIconRegistry;if(!i[IB]){i[IB]=!0;for(const r of Object.keys(e)){const o=e[r].svg;o&&this.matIconRegistry.addSvgIcon(r,this.domSanitizer.bypassSecurityTrustResourceUrl(o))}}}}return n.\u0275fac=function(e){return new(e||n)(g(au),g(ep),g(AB,8),g(ei,3))},n.\u0275dir=R({type:n,selectors:[["mat-icon","naturalIcon",""]],hostVars:8,hostBindings:function(e,i){2&e&&(function wR(n){mo(PK,Zo,n,!0)}(i.classes),nn("font-size",i._size,"px")("min-height",i._size,"px")("min-width",i._size,"px"))},inputs:{naturalIcon:"naturalIcon",size:"size"},standalone:!0}),n})();const OB=new F("Absolute URL of the log server"),RB=new F("Class that may provide extra data to log");let phe=(()=>{class n extends $r{constructor(e,i,r,o){super(),this.http=e,this.document=i,this.url=r,this.loggerExtra=o}handleError(e){console.error(e);const i={message:this.toMessage(e),href:this.document.defaultView?.window.location.href,host:this.document.defaultView?.window.location.hostname,path:this.document.defaultView?.window.location.pathname,agent:this.document.defaultView?.window.navigator.userAgent,level:"error"};e?.stack&&(i.stacktrace=e.stack),typeof e?.status<"u"&&(i.status=e.status),e?.referrer&&(i.referrer=e.referrer),e?.url&&(i.url=e.url),this.loggerExtra?this.loggerExtra.getExtras(e).pipe(to(r=>ee({getExtrasErrorMessage:this.toMessage(r)})),eo()).subscribe(r=>{this.postLog(Object.assign(i,r))}):this.postLog(i)}toMessage(e){return e&&"object"==typeof e&&"message"in e?""+e.message:""+e}postLog(e){this.url&&this.http.post(this.url,e,{headers:(new xo).set("content-type","application/json")}).pipe(to(()=>vn)).subscribe()}}return n.\u0275fac=function(e){return new(e||n)(A(Ef),A(ge),A(OB,8),A(RB,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const NB=new F("NaturalPanelsHooksConfig"),_he=[/^(?\d{1,2})\.(?\d{1,2})\.(?\d{4}|\d{2})$/,/^(?\d{1,2})-(?\d{1,2})-(?\d{4}|\d{2})$/,/^(?\d{1,2})\/(?\d{1,2})\/(?\d{4}|\d{2})$/,/^(?\d{1,2})\\(?\d{1,2})\\(?\d{4}|\d{2})$/,/^(?\d{4})-(?\d{2})-(?\d{2})$/];let bhe=(()=>{class n extends lP{parse(e){if("number"==typeof e)return new Date(e);if("string"==typeof e){const i=e.trim();for(const r of _he){const o=i.match(r);if(o?.groups)return this.createDateIfValid(+o.groups.year,+o.groups.month,+o.groups.day)}}return null}createDateIfValid(e,i,r){return e<100&&(e+=2e3),(i-=1)>=0&&i<=11&&r>=1&&r<=31?this.createDate(e,i,r):null}getFirstDayOfWeek(){return 1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function vp(n){return(vp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function hr(n,t,e){return(t=function yhe(n){var t=function vhe(n,t){if("object"!==vp(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==vp(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===vp(t)?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const xhe=new class whe extends O_{}(class Che extends I_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!=i&&i>0||null==i&&this.delay>0?super.requestAsyncId(t,e,i):(t.flush(this),0)}});var Ke=(()=>((Ke=Ke||{})[Ke.loading=1]="loading",Ke[Ke.setVariables=2]="setVariables",Ke[Ke.fetchMore=3]="fetchMore",Ke[Ke.refetch=4]="refetch",Ke[Ke.poll=6]="poll",Ke[Ke.ready=7]="ready",Ke[Ke.error=8]="error",Ke))();function yp(n){return!!n&&n<7}var zD="Invariant Violation",FB=Object.setPrototypeOf,Dhe=void 0===FB?function(n,t){return n.__proto__=t,n}:FB,Tn=function(n){function t(e){void 0===e&&(e=zD);var i=n.call(this,"number"==typeof e?zD+": "+e+" (see https://github.com/apollographql/invariant-packages)":e)||this;return i.framesToPop=1,i.name=zD,Dhe(i,t.prototype),i}return Il(t,n),t}(Error);function Te(n,t){if(!n)throw new Tn(t)}var n,nv=["debug","log","warn","error","silent"],HD=nv.indexOf("log");function iv(n){return function(){if(nv.indexOf(n)>=HD)return(console[n]||console.log).apply(console,arguments)}}function no(n){try{return n()}catch{}}(n=Te||(Te={})).debug=iv("debug"),n.log=iv("log"),n.warn=iv("warn"),n.error=iv("error");const PB=no(function(){return globalThis})||no(function(){return window})||no(function(){return self})||no(function(){return global})||no(function(){return no.constructor("return this")()});var LB="__",BB=[LB,LB].join("DEV");const $D=function She(){try{return!!__DEV__}catch{return Object.defineProperty(PB,BB,{value:"production"!==no(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),PB[BB]}}();function Zs(n){try{return n()}catch{}}var jD=Zs(function(){return globalThis})||Zs(function(){return window})||Zs(function(){return self})||Zs(function(){return global})||Zs(function(){return Zs.constructor("return this")()}),UD=!1;function rv(n,t){if(!n)throw new Error(t)}!function khe(){jD&&!Zs(function(){return"production"})&&!Zs(function(){return process})&&(Object.defineProperty(jD,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),UD=!0)}();const Ehe=10,zB=2;function GD(n){return ov(n,[])}function ov(n,t){switch(typeof n){case"string":return JSON.stringify(n);case"function":return n.name?`[function ${n.name}]`:"[function]";case"object":return function Mhe(n,t){if(null===n)return"null";if(t.includes(n))return"[Circular]";const e=[...t,n];if(function The(n){return"function"==typeof n.toJSON}(n)){const i=n.toJSON();if(i!==n)return"string"==typeof i?i:ov(i,e)}else if(Array.isArray(n))return function Ihe(n,t){if(0===n.length)return"[]";if(t.length>zB)return"[Array]";const e=Math.min(Ehe,n.length),i=n.length-e,r=[];for(let o=0;o1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}(n,e);return function Ahe(n,t){const e=Object.entries(n);return 0===e.length?"{}":t.length>zB?"["+function Ohe(n){const t=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof n.constructor){const e=n.constructor.name;if("string"==typeof e&&""!==e)return e}return t}(n)+"]":"{ "+e.map(([r,o])=>r+": "+ov(o,t)).join(", ")+" }"}(n,e)}(n,t);default:return String(n)}}const Rhe=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(t,e){return t instanceof e}:function(t,e){if(t instanceof e)return!0;if("object"==typeof t&&null!==t){var i;const r=e.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in t?t[Symbol.toStringTag]:null===(i=t.constructor)||void 0===i?void 0:i.name)){const a=GD(t);throw new Error(`Cannot use ${r} "${a}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class qD{constructor(t,e="GraphQL request",i={line:1,column:1}){"string"==typeof t||rv(!1,`Body must be a string. Received: ${GD(t)}.`),this.body=t,this.name=e,this.locationOffset=i,this.locationOffset.line>0||rv(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||rv(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function HB(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e1,s=!1,c=arguments[1];return new o(function(d){return r.subscribe({next:function(u){var h=!s;if(s=!0,!h||a)try{c=i(c,u)}catch(p){return d.error(p)}else c=u},error:function(u){d.error(u)},complete:function(){if(!s&&!a)return d.error(new TypeError("Cannot reduce an empty sequence"));d.next(c),d.complete()}})})},t.concat=function(){for(var i=this,r=arguments.length,o=new Array(r),a=0;a=0&&s.splice(h,1),c()}});s.push(u)},error:function(d){a.error(d)},complete:function(){c()}});function c(){l.closed&&0===s.length&&a.complete()}return function(){s.forEach(function(d){return d.unsubscribe()}),l.unsubscribe()}})},t[XD]=function(){return this},n.from=function(i){var r="function"==typeof this?this:n;if(null==i)throw new TypeError(i+" is not an object");var o=av(i,XD);if(o){var a=o.call(i);if(Object(a)!==a)throw new TypeError(a+" is not an object");return function zhe(n){return n instanceof ln}(a)&&a.constructor===r?a:new r(function(s){return a.subscribe(s)})}if(KD("iterator")&&(o=av(i,Vhe)))return new r(function(s){sv(function(){if(!s.closed){for(var c,l=function Lhe(n,t){var e=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(e)return(e=e.call(n)).next.bind(e);if(Array.isArray(n)||(e=function Bhe(n,t){if(n){if("string"==typeof n)return HB(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return HB(n,t)}}(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var i=0;return function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o.call(i));!(c=l()).done;)if(s.next(c.value),s.closed)return;s.complete()}})});if(Array.isArray(i))return new r(function(s){sv(function(){if(!s.closed){for(var l=0;l0){var i=e.connection.filter?e.connection.filter:[];i.sort();var r={};return i.forEach(function(s){r[s]=t[s]}),"".concat(e.connection.key,"(").concat(wp(r),")")}return e.connection.key}var o=n;if(t){var a=wp(t);o+="(".concat(a,")")}return e&&Object.keys(e).forEach(function(s){-1===tfe.indexOf(s)&&(e[s]&&Object.keys(e[s]).length?o+="@".concat(s,"(").concat(wp(e[s]),")"):o+="@".concat(s))}),o},{setStringify:function(n){var t=wp;return wp=n,t}}),function(t){return JSON.stringify(t,ife)});function ife(n,t){return fr(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,i){return e[i]=t[i],e},{})),t}function rfe(n,t){if(n.arguments&&n.arguments.length){var e={};return n.arguments.forEach(function(i){return lu(e,i.name,i.value,t)}),e}return null}function eS(n){return n.alias?n.alias.value:n.name.value}function lv(n){return"Field"===n.kind}function cv(n){__DEV__?Te(n&&"Document"===n.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Te(n&&"Document"===n.kind,47);var t=n.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new Tn('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new Tn(48);return e});return __DEV__?Te(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):Te(t.length<=1,49),n}function dv(n){return cv(n),n.definitions.filter(function(t){return"OperationDefinition"===t.kind})[0]}function tS(n){return n.definitions.filter(function(t){return"OperationDefinition"===t.kind&&!!t.name}).map(function(t){return t.name.value})[0]||null}function qB(n){return n.definitions.filter(function(t){return"FragmentDefinition"===t.kind})}function nS(n){cv(n);for(var t,e=0,i=n.definitions;e((ca=ca||{}).QUERY="query",ca.MUTATION="mutation",ca.SUBSCRIPTION="subscription",ca))(),J=(()=>((J=J||{}).NAME="Name",J.DOCUMENT="Document",J.OPERATION_DEFINITION="OperationDefinition",J.VARIABLE_DEFINITION="VariableDefinition",J.SELECTION_SET="SelectionSet",J.FIELD="Field",J.ARGUMENT="Argument",J.FRAGMENT_SPREAD="FragmentSpread",J.INLINE_FRAGMENT="InlineFragment",J.FRAGMENT_DEFINITION="FragmentDefinition",J.VARIABLE="Variable",J.INT="IntValue",J.FLOAT="FloatValue",J.STRING="StringValue",J.BOOLEAN="BooleanValue",J.NULL="NullValue",J.ENUM="EnumValue",J.LIST="ListValue",J.OBJECT="ObjectValue",J.OBJECT_FIELD="ObjectField",J.DIRECTIVE="Directive",J.NAMED_TYPE="NamedType",J.LIST_TYPE="ListType",J.NON_NULL_TYPE="NonNullType",J.SCHEMA_DEFINITION="SchemaDefinition",J.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",J.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",J.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",J.FIELD_DEFINITION="FieldDefinition",J.INPUT_VALUE_DEFINITION="InputValueDefinition",J.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",J.UNION_TYPE_DEFINITION="UnionTypeDefinition",J.ENUM_TYPE_DEFINITION="EnumTypeDefinition",J.ENUM_VALUE_DEFINITION="EnumValueDefinition",J.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",J.DIRECTIVE_DEFINITION="DirectiveDefinition",J.SCHEMA_EXTENSION="SchemaExtension",J.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",J.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",J.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",J.UNION_TYPE_EXTENSION="UnionTypeExtension",J.ENUM_TYPE_EXTENSION="EnumTypeExtension",J.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",J))();const Sc=Object.freeze({});function ns(n,t,e=KB){const i=new Map;for(const k of Object.values(J))i.set(k,rS(t,k));let r,d,u,o=Array.isArray(n),a=[n],s=-1,l=[],c=n;const h=[],p=[];do{s++;const k=s===a.length,D=k&&0!==l.length;if(k){if(d=0===p.length?void 0:h[h.length-1],c=u,u=p.pop(),D)if(o){c=c.slice();let I=0;for(const[O,he]of l){const L=O-I;null===he?(c.splice(L,1),I++):c[L]=he}}else{c=Object.defineProperties({},Object.getOwnPropertyDescriptors(c));for(const[I,O]of l)c[I]=O}s=r.index,a=r.keys,l=r.edits,o=r.inArray,r=r.prev}else if(u){if(d=o?s:a[s],c=u[d],null==c)continue;h.push(d)}let M;if(!Array.isArray(c)){var v,y;QB(c)||rv(!1,`Invalid AST Node: ${GD(c)}.`);const I=k?null===(v=i.get(c.kind))||void 0===v?void 0:v.leave:null===(y=i.get(c.kind))||void 0===y?void 0:y.enter;if(M=I?.call(t,c,d,u,h,p),M===Sc)break;if(!1===M){if(!k){h.pop();continue}}else if(void 0!==M&&(l.push([d,M]),!k)){if(!QB(M)){h.pop();continue}c=M}}var w;void 0===M&&D&&l.push([d,c]),k?h.pop():(r={inArray:o,index:s,keys:a,edits:l,prev:r},o=Array.isArray(c),a=o?c:null!==(w=e[c.kind])&&void 0!==w?w:[],s=-1,l=[],u&&p.push(u),u=c)}while(void 0!==r);return 0!==l.length?l[l.length-1][1]:n}function rS(n,t){const e=n[t];return"object"==typeof e?e:"function"==typeof e?{enter:e,leave:void 0}:{enter:n.enter,leave:n.leave}}function Sp(n,t,e){var i=new Set(n),r=i.size;return ns(t,{Directive:function(o){if(i.delete(o.name.value)&&(!e||!i.size))return Sc}}),e?!i.size:i.size=0});var aS=function(n,t,e){var i=new Error(e);throw i.name="ServerError",i.response=n,i.statusCode=n.status,i.result=t,i},sS=Symbol(),cu=function(n){function t(e){var i=e.graphQLErrors,r=e.protocolErrors,o=e.clientErrors,a=e.networkError,s=e.errorMessage,l=e.extraInfo,c=n.call(this,s)||this;return c.name="ApolloError",c.graphQLErrors=i||[],c.protocolErrors=r||[],c.clientErrors=o||[],c.networkError=a||null,c.message=s||function(n){var t=Ol(Ol(Ol([],n.graphQLErrors,!0),n.clientErrors,!0),n.protocolErrors,!0);return n.networkError&&t.push(n.networkError),t.map(function(e){return fr(e)&&e.message||"Error message not found."}).join("\n")}(c),c.extraInfo=l,c.__proto__=t.prototype,c}return Il(t,n),t}(Error),ZB=Array.isArray;function el(n){return Array.isArray(n)&&n.length>0}var Lfe=Object.prototype.hasOwnProperty;function e8(){for(var n=[],t=0;t1)for(var i=new lS,r=1;r=0;--s){var l=a[s],d=isNaN(+l)?{}:[];d[l]=o,o=d}e=i.merge(e,o)}),e}var i8=Object.prototype.hasOwnProperty;function jfe(n){var t={};return n.split("\n").forEach(function(e){var i=e.indexOf(":");if(i>-1){var r=e.slice(0,i).trim().toLowerCase(),o=e.slice(i+1).trim();t[r]=o}}),t}function r8(n,t){n.status>=300&&aS(n,function(){try{return JSON.parse(t)}catch{return t}}(),"Response not successful: Received status code ".concat(n.status));try{return JSON.parse(t)}catch(r){var i=r;throw i.name="ServerParseError",i.response=n,i.statusCode=n.status,i.bodyText=t,i}}function cS(n,t){var e,i;"AbortError"!==n.name&&(n.result&&n.result.errors&&n.result.data&&(null===(e=t.next)||void 0===e||e.call(t,n.result)),null===(i=t.error)||void 0===i||i.call(t,n))}function dS(n){return 9===n||32===n}function kp(n){return n>=48&&n<=57}function o8(n){return n>=97&&n<=122||n>=65&&n<=90}function a8(n){return o8(n)||95===n}function Wfe(n){return o8(n)||kp(n)||95===n}function Yfe(n){var t;let e=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let a=0;a0===s?a:a.slice(e)).slice(null!==(t=i)&&void 0!==t?t:0,r+1)}function Kfe(n){let t=0;for(;tn.value},Variable:{leave:n=>"$"+n.name},Document:{leave:n=>De(n.definitions,"\n\n")},OperationDefinition:{leave(n){const t=_t("(",De(n.variableDefinitions,", "),")"),e=De([n.operation,De([n.name,t]),De(n.directives," ")]," ");return("query"===e?"":e+" ")+n.selectionSet}},VariableDefinition:{leave:({variable:n,type:t,defaultValue:e,directives:i})=>n+": "+t+_t(" = ",e)+_t(" ",De(i," "))},SelectionSet:{leave:({selections:n})=>Oo(n)},Field:{leave({alias:n,name:t,arguments:e,directives:i,selectionSet:r}){const o=_t("",n,": ")+t;let a=o+_t("(",De(e,", "),")");return a.length>80&&(a=o+_t("(\n",pv(De(e,"\n")),"\n)")),De([a,De(i," "),r]," ")}},Argument:{leave:({name:n,value:t})=>n+": "+t},FragmentSpread:{leave:({name:n,directives:t})=>"..."+n+_t(" ",De(t," "))},InlineFragment:{leave:({typeCondition:n,directives:t,selectionSet:e})=>De(["...",_t("on ",n),De(t," "),e]," ")},FragmentDefinition:{leave:({name:n,typeCondition:t,variableDefinitions:e,directives:i,selectionSet:r})=>`fragment ${n}${_t("(",De(e,", "),")")} on ${t} ${_t("",De(i," ")," ")}`+r},IntValue:{leave:({value:n})=>n},FloatValue:{leave:({value:n})=>n},StringValue:{leave:({value:n,block:t})=>t?function Qfe(n,t){const e=n.replace(/"""/g,'\\"""'),i=e.split(/\r\n|[\n\r]/g),r=1===i.length,o=i.length>1&&i.slice(1).every(p=>0===p.length||dS(p.charCodeAt(0))),a=e.endsWith('\\"""'),s=n.endsWith('"')&&!a,l=n.endsWith("\\"),c=s||l,d=!(null!=t&&t.minimize)&&(!r||n.length>70||c||o||a);let u="";const h=r&&dS(n.charCodeAt(0));return(d&&!h||o)&&(u+="\n"),u+=e,(d||c)&&(u+="\n"),'"""'+u+'"""'}(n):function Xfe(n){return`"${n.replace(Jfe,Zfe)}"`}(n)},BooleanValue:{leave:({value:n})=>n?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:n})=>n},ListValue:{leave:({values:n})=>"["+De(n,", ")+"]"},ObjectValue:{leave:({fields:n})=>"{"+De(n,", ")+"}"},ObjectField:{leave:({name:n,value:t})=>n+": "+t},Directive:{leave:({name:n,arguments:t})=>"@"+n+_t("(",De(t,", "),")")},NamedType:{leave:({name:n})=>n},ListType:{leave:({type:n})=>"["+n+"]"},NonNullType:{leave:({type:n})=>n+"!"},SchemaDefinition:{leave:({description:n,directives:t,operationTypes:e})=>_t("",n,"\n")+De(["schema",De(t," "),Oo(e)]," ")},OperationTypeDefinition:{leave:({operation:n,type:t})=>n+": "+t},ScalarTypeDefinition:{leave:({description:n,name:t,directives:e})=>_t("",n,"\n")+De(["scalar",t,De(e," ")]," ")},ObjectTypeDefinition:{leave:({description:n,name:t,interfaces:e,directives:i,fields:r})=>_t("",n,"\n")+De(["type",t,_t("implements ",De(e," & ")),De(i," "),Oo(r)]," ")},FieldDefinition:{leave:({description:n,name:t,arguments:e,type:i,directives:r})=>_t("",n,"\n")+t+(s8(e)?_t("(\n",pv(De(e,"\n")),"\n)"):_t("(",De(e,", "),")"))+": "+i+_t(" ",De(r," "))},InputValueDefinition:{leave:({description:n,name:t,type:e,defaultValue:i,directives:r})=>_t("",n,"\n")+De([t+": "+e,_t("= ",i),De(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:n,name:t,interfaces:e,directives:i,fields:r})=>_t("",n,"\n")+De(["interface",t,_t("implements ",De(e," & ")),De(i," "),Oo(r)]," ")},UnionTypeDefinition:{leave:({description:n,name:t,directives:e,types:i})=>_t("",n,"\n")+De(["union",t,De(e," "),_t("= ",De(i," | "))]," ")},EnumTypeDefinition:{leave:({description:n,name:t,directives:e,values:i})=>_t("",n,"\n")+De(["enum",t,De(e," "),Oo(i)]," ")},EnumValueDefinition:{leave:({description:n,name:t,directives:e})=>_t("",n,"\n")+De([t,De(e," ")]," ")},InputObjectTypeDefinition:{leave:({description:n,name:t,directives:e,fields:i})=>_t("",n,"\n")+De(["input",t,De(e," "),Oo(i)]," ")},DirectiveDefinition:{leave:({description:n,name:t,arguments:e,repeatable:i,locations:r})=>_t("",n,"\n")+"directive @"+t+(s8(e)?_t("(\n",pv(De(e,"\n")),"\n)"):_t("(",De(e,", "),")"))+(i?" repeatable":"")+" on "+De(r," | ")},SchemaExtension:{leave:({directives:n,operationTypes:t})=>De(["extend schema",De(n," "),Oo(t)]," ")},ScalarTypeExtension:{leave:({name:n,directives:t})=>De(["extend scalar",n,De(t," ")]," ")},ObjectTypeExtension:{leave:({name:n,interfaces:t,directives:e,fields:i})=>De(["extend type",n,_t("implements ",De(t," & ")),De(e," "),Oo(i)]," ")},InterfaceTypeExtension:{leave:({name:n,interfaces:t,directives:e,fields:i})=>De(["extend interface",n,_t("implements ",De(t," & ")),De(e," "),Oo(i)]," ")},UnionTypeExtension:{leave:({name:n,directives:t,types:e})=>De(["extend union",n,De(t," "),_t("= ",De(e," | "))]," ")},EnumTypeExtension:{leave:({name:n,directives:t,values:e})=>De(["extend enum",n,De(t," "),Oo(e)]," ")},InputObjectTypeExtension:{leave:({name:n,directives:t,fields:e})=>De(["extend input",n,De(t," "),Oo(e)]," ")}};function De(n,t=""){var e;return null!==(e=n?.filter(i=>i).join(t))&&void 0!==e?e:""}function Oo(n){return _t("{\n",pv(De(n,"\n")),"\n}")}function _t(n,t,e=""){return null!=t&&""!==t?n+t+e:""}function pv(n){return _t(" ",n.replace(/\n/g,"\n "))}function s8(n){var t;return null!==(t=n?.some(e=>e.includes("\n")))&&void 0!==t&&t}var spe={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},l8=function(n,t){return t(n)};function d8(n){return new ln(function(t){t.error(n)})}var u8=no(function(){return fetch}),upe=function(n){void 0===n&&(n={});var t=n.uri,e=void 0===t?"/graphql":t,i=n.fetch,r=n.print,o=void 0===r?l8:r,a=n.includeExtensions,s=n.preserveHeaderCase,l=n.useGETForQueries,c=n.includeUnusedVariables,d=void 0!==c&&c,u=function oT(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(n);r"u")throw __DEV__?new Tn("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new Tn(23)}(i||u8);var h={http:{includeExtensions:a,preserveHeaderCase:s},options:u.fetchOptions,credentials:u.credentials,headers:u.headers};return new Dp(function(p){var v=function(n,t){return n.getContext().uri||("function"==typeof t?t(n):t||"/graphql")}(p,e),y=p.getContext(),w={};if(y.clientAwareness){var k=y.clientAwareness,D=k.name,M=k.version;D&&(w["apollographql-client-name"]=D),M&&(w["apollographql-client-version"]=M)}var Ne,I=oe(oe({},w),y.headers),he=function c8(n,t){for(var e=[],i=2;i"u")return{controller:!1,signal:!1};var n=new AbortController;return{controller:n,signal:n.signal}}();(Ne=Dn.controller)&&(L.signal=Dn.signal)}var Tt,we="OperationDefinition"===(Tt=nS(p.query)).kind&&"subscription"===Tt.operation,Me=Sp(["defer"],p.query);if(l&&!p.query.definitions.some(function(Tt){return"OperationDefinition"===Tt.kind&&"mutation"===Tt.operation})&&(L.method="GET"),Me||we){L.headers=L.headers||{};var Ae="multipart/mixed;";we&&Me&&__DEV__&&Te.warn("Multipart-subscriptions do not support @defer"),we?Ae+="boundary=graphql;subscriptionSpec=1.0,application/json":Me&&(Ae+="deferSpec=20220824,application/json"),L.headers.accept=Ae}if("GET"===L.method){var at=function dpe(n,t){var e=[],i=function(u,h){e.push("".concat(u,"=").concat(encodeURIComponent(h)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var r=void 0;try{r=oS(t.variables,"Variables map")}catch(u){return{parseError:u}}i("variables",r)}if(t.extensions){var o=void 0;try{o=oS(t.extensions,"Extensions map")}catch(u){return{parseError:u}}i("extensions",o)}var a="",s=n,l=n.indexOf("#");-1!==l&&(a=n.substr(l),s=n.substr(0,l));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+e.join("&")+a}}(v,le),bn=at.newURI,Hi=at.parseError;if(Hi)return d8(Hi);v=bn}else try{L.body=oS(le,"Payload")}catch(Tt){return d8(Tt)}return new ln(function(Tt){return(i||no(function(){return fetch})||u8)(v,L).then(function(bt){var ka;p.setContext({response:bt});var Ml=null===(ka=bt.headers)||void 0===ka?void 0:ka.get("content-type");return null!==Ml&&/^multipart\/mixed/i.test(Ml)?function $fe(n,t){var e,i,r,o,a;return Vo(this,void 0,void 0,function(){var s,l,c,d,u,h,p,v,y,w,k,D,M,I,O,he,L,le,Ve,Ne,Dn,Vi,Bt;return Ma(this,function(zi){switch(zi.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");s=new TextDecoder("utf-8"),l=null===(e=n.headers)||void 0===e?void 0:e.get("content-type"),c="boundary=",d=l?.includes(c)?l?.substring(l?.indexOf(c)+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",u="\r\n--".concat(d),h="",p=Rfe(n),v=!0,zi.label=1;case 1:return v?[4,p.next()]:[3,3];case 2:for(y=zi.sent(),k=y.done,D="string"==typeof(w=y.value)?w:s.decode(w),M=h.length-u.length+1,v=!k,I=(h+=D).indexOf(u,M);I>-1;){if(O=void 0,Vi=[h.slice(0,I),h.slice(I+u.length)],h=Vi[1],he=(O=Vi[0]).indexOf("\r\n\r\n"),L=jfe(O.slice(0,he)),(le=L["content-type"])&&-1===le.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(Ve=O.slice(he))try{Ne=r8(n,Ve),Object.keys(Ne).length>1||"data"in Ne||"incremental"in Ne||"errors"in Ne||"payload"in Ne?Hfe(Ne)?(Dn={},"payload"in Ne&&(Dn=oe({},Ne.payload)),"errors"in Ne&&(Dn=oe(oe({},Dn),{extensions:oe(oe({},"extensions"in Dn?Dn.extensions:null),(Bt={},Bt[sS]=Ne.errors,Bt))})),null===(i=t.next)||void 0===i||i.call(t,Dn)):null===(r=t.next)||void 0===r||r.call(t,Ne):1===Object.keys(Ne).length&&"hasNext"in Ne&&!Ne.hasNext&&(null===(o=t.complete)||void 0===o||o.call(t))}catch(vs){cS(vs,t)}I=h.indexOf(u)}return[3,1];case 3:return null===(a=t.complete)||void 0===a||a.call(t),[2]}})})}(bt,Tt):function Ufe(n,t,e){(function Gfe(n){return function(t){return t.text().then(function(e){return r8(t,e)}).then(function(e){return t.status>=300&&aS(t,e,"Response not successful: Received status code ".concat(t.status)),!Array.isArray(e)&&!i8.call(e,"data")&&!i8.call(e,"errors")&&aS(t,e,"Server response was missing for query '".concat(Array.isArray(n)?n.map(function(i){return i.operationName}):n.operationName,"'.")),e})}})(t)(n).then(function(i){var r,o;null===(r=e.next)||void 0===r||r.call(e,i),null===(o=e.complete)||void 0===o||o.call(e)}).catch(function(i){return cS(i,e)})}(bt,p,Tt)}).catch(function(bt){return cS(bt,Tt)}),function(){Ne&&Ne.abort()}})})},hpe=function(n){function t(e){void 0===e&&(e={});var i=n.call(this,upe(e).request)||this;return i.options=e,i}return Il(t,n),t}(Dp);const{toString:h8,hasOwnProperty:fpe}=Object.prototype,f8=Function.prototype.toString,uS=new Map;function Qi(n,t){try{return hS(n,t)}finally{uS.clear()}}function hS(n,t){if(n===t)return!0;const e=h8.call(n);if(e!==h8.call(t))return!1;switch(e){case"[object Array]":if(n.length!==t.length)return!1;case"[object Object]":{if(m8(n,t))return!0;const r=p8(n),o=p8(t),a=r.length;if(a!==o.length)return!1;for(let s=0;s=0&&n.indexOf(t,e)===e}(r,mpe)}}return!1}function p8(n){return Object.keys(n).filter(ppe,n)}function ppe(n){return void 0!==this[n]}const mpe="{ [native code] }";function m8(n,t){let e=uS.get(n);if(e){if(e.has(t))return!0}else uS.set(n,e=new Set);return e.add(t),!1}const _pe=()=>Object.create(null),{forEach:bpe,slice:vpe}=Array.prototype,{hasOwnProperty:ype}=Object.prototype;class fS{constructor(t=!0,e=_pe){this.weakness=t,this.makeData=e}lookup(...t){return this.lookupArray(t)}lookupArray(t){let e=this;return bpe.call(t,i=>e=e.getChildTrie(i)),ype.call(e,"data")?e.data:e.data=this.makeData(vpe.call(t))}peek(...t){return this.peekArray(t)}peekArray(t){let e=this;for(let i=0,r=t.length;e&&i=0;--a)t.definitions[a].kind===J.OPERATION_DEFINITION&&++o;var s=function C8(n){var t=new Set,e=[];return n.forEach(function(i){i.name?t.add(i.name):i.test&&e.push(i.test)}),function(i){return t.has(i.name.value)||e.some(function(r){return r(i)})}}(n),l=n.some(function(D){return D.remove}),c=function(D){return l&&D&&D.some(s)},d=new Map,u=!1,h={enter:function(D){if(c(D.directives))return u=!0,null}},p=ns(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(D,M,I,O,he){var L=r(he);L&&L.variables.add(D.name.value)}},FragmentSpread:{enter:function(D,M,I,O,he){if(c(D.directives))return u=!0,null;var L=r(he);L&&L.fragmentSpreads.add(D.name.value)}},FragmentDefinition:{enter:function(D,M,I,O){d.set(JSON.stringify(O),D)},leave:function(D,M,I,O){return D===d.get(JSON.stringify(O))?D:o>0&&D.selectionSet.selections.every(function(L){return L.kind===J.FIELD&&"__typename"===L.name.value})?(i(D.name.value).removed=!0,u=!0,null):void 0}},Directive:{leave:function(D){if(s(D))return u=!0,null}}});if(!u)return t;var v=function(D){return D.transitiveVars||(D.transitiveVars=new Set(D.variables),D.removed||D.fragmentSpreads.forEach(function(M){v(i(M)).transitiveVars.forEach(function(I){D.transitiveVars.add(I)})})),D},y=new Set;p.definitions.forEach(function(D){D.kind===J.OPERATION_DEFINITION?v(e(D.name&&D.name.value)).fragmentSpreads.forEach(function(M){y.add(M)}):D.kind===J.FRAGMENT_DEFINITION&&0===o&&!i(D.name.value).removed&&y.add(D.name.value)}),y.forEach(function(D){v(i(D)).fragmentSpreads.forEach(function(M){y.add(M)})});var k={enter:function(D){if(function(D){return!(y.has(D)&&!i(D).removed)}(D.name.value))return null}};return bS(ns(p,{FragmentSpread:k,FragmentDefinition:k,OperationDefinition:{leave:function(D){if(D.variableDefinitions){var M=v(e(D.name&&D.name.value)).transitiveVars;if(M.size0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(ln);function T8(n){var t=n.options,e=t.fetchPolicy,i=t.nextFetchPolicy;return"cache-and-network"===e||"network-only"===e?n.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=i,"function"==typeof i?i.apply(this,arguments):e}}):n.reobserve()}function Fpe(n){__DEV__&&Te.error("Unhandled error",n.message,n.stack)}function A8(n){__DEV__&&n&&__DEV__&&Te.debug("Missing cache result fields: ".concat(JSON.stringify(n)),n)}function I8(n){return n.kind===J.FIELD||n.kind===J.FRAGMENT_SPREAD||n.kind===J.INLINE_FRAGMENT}k8(yS);var $pe=function(){return Object.create(null)},R8=Array.prototype,jpe=R8.forEach,Upe=R8.slice,Gpe=function(){function n(t,e){void 0===t&&(t=!0),void 0===e&&(e=$pe),this.weakness=t,this.makeData=e}return n.prototype.lookup=function(){for(var t=[],e=0;eglobalThis)||F8(()=>global)||Object.create(null),wS=P8[CS]||Array[CS]||function(n){try{Object.defineProperty(P8,CS,{value:n,enumerable:!1,writable:!1,configurable:!0})}finally{return n}}(class{constructor(){this.id=["slot",Wpe++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=hi;t;t=t.parent)if(this.id in t.slots){const e=t.slots[this.id];if(e===N8)break;return t!==hi&&(hi.slots[this.id]=e),!0}return hi&&(hi.slots[this.id]=N8),!1}getValue(){if(this.hasValue())return hi.slots[this.id]}withValue(t,e,i,r){const a=hi;hi={parent:a,slots:{__proto__:null,[this.id]:t}};try{return e.apply(r,i)}finally{hi=a}}static bind(t){const e=hi;return function(){const i=hi;try{return hi=e,t.apply(this,arguments)}finally{hi=i}}}static noContext(t,e,i){if(!hi)return t.apply(i,e);{const r=hi;try{return hi=null,t.apply(i,e)}finally{hi=r}}}});function Xpe(){}!function(){function n(t,e){void 0===t&&(t=1/0),void 0===e&&(e=Xpe),this.max=t,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}n.prototype.has=function(t){return this.map.has(t)},n.prototype.get=function(t){var e=this.getNode(t);return e&&e.value},n.prototype.getNode=function(t){var e=this.map.get(t);if(e&&e!==this.newest){var i=e.older,r=e.newer;r&&(r.older=i),i&&(i.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e},n.prototype.set=function(t,e){var i=this.getNode(t);return i?i.value=e:(i={key:t,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.map.set(t,i),i.value)},n.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},n.prototype.delete=function(t){var e=this.map.get(t);return!!e&&(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(t),this.dispose(e.value,t),!0)}}();var DS,gv=new wS,SS=void 0===(DS=Array.from)?function(n){var t=[];return n.forEach(function(e){return t.push(e)}),t}:DS;function _v(n){var t=n.unsubscribe;"function"==typeof t&&(n.unsubscribe=void 0,t())}var Mp=[],eme=100;function hu(n,t){if(!n)throw new Error(t||"assertion failure")}function B8(n){switch(n.length){case 0:throw new Error("unknown value");case 1:return n[0];case 2:throw n[1]}}function V8(n){var t=gv.getValue();if(t)return n.parents.add(t),t.childValues.has(n)||t.childValues.set(n,[]),tl(n)?$8(t,n):j8(t,n),t}function ome(n,t){n.recomputing=!0,n.value.length=0;try{n.value[0]=n.fn.apply(null,t)}catch(e){n.value[1]=e}n.recomputing=!1}function tl(n){return n.dirty||!(!n.dirtyChildren||!n.dirtyChildren.size)}function z8(n){kS(n,$8)}function H8(n){kS(n,j8)}function kS(n,t){var e=n.parents.size;if(e)for(var i=SS(n.parents),r=0;r0&&e===t.length&&n[e-1]===t[e-1]}(e,t.value)||n.setDirty(),U8(n,t),!tl(n)&&H8(n)}function U8(n,t){var e=n.dirtyChildren;e&&(e.delete(t),0===e.size&&(Mp.length0&&n.childValues.forEach(function(t,e){q8(n,e)}),n.forgetDeps(),hu(null===n.dirtyChildren)}function q8(n,t){t.parents.delete(n),n.childValues.delete(t),U8(n,t)}!function(){function n(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++n.count}n.prototype.peek=function(){if(1===this.value.length&&!tl(this))return V8(this),this.value[0]},n.prototype.recompute=function(t){return hu(!this.recomputing,"already recomputing"),V8(this),tl(this)?function rme(n,t){return G8(n),gv.withValue(n,ome,[n,t]),function sme(n,t){if("function"==typeof n.subscribe)try{_v(n),n.unsubscribe=n.subscribe.apply(null,t)}catch{return n.setDirty(),!1}return!0}(n,t)&&function ame(n){n.dirty=!1,!tl(n)&&H8(n)}(n),B8(n.value)}(this,t):B8(this.value)},n.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,z8(this),_v(this))},n.prototype.dispose=function(){var t=this;this.setDirty(),G8(this),kS(this,function(e,i){e.setDirty(),q8(e,t)})},n.prototype.forget=function(){this.dispose()},n.prototype.dependOn=function(t){t.add(this),this.deps||(this.deps=Mp.pop()||new Set),this.deps.add(t)},n.prototype.forgetDeps=function(){var t=this;this.deps&&(SS(this.deps).forEach(function(e){return e.delete(t)}),this.deps.clear(),Mp.push(this.deps),this.deps=null)},n.count=0}(),function W8(){var n=new Gpe("function"==typeof WeakMap);return function(){return n.lookupArray(arguments)}}();var Y8=new wS,Q8=function(){function n(t){var e=t.cache,i=t.client,r=t.resolvers,o=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,i&&(this.client=i),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return n.prototype.addResolvers=function(t){var e=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(i){e.resolvers=e8(e.resolvers,i)}):this.resolvers=e8(this.resolvers,t)},n.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},n.prototype.getResolvers=function(){return this.resolvers||{}},n.prototype.runResolvers=function(t){var e=t.document,i=t.remoteResult,r=t.context,o=t.variables,a=t.onlyRunForcedResolvers,s=void 0!==a&&a;return Vo(this,void 0,void 0,function(){return Ma(this,function(l){return e?[2,this.resolveDocument(e,i.data,r,o,this.fragmentMatcher,s).then(function(c){return oe(oe({},i),{data:c.result})})]:[2,i]})})},n.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},n.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},n.prototype.clientQuery=function(t){return Sp(["client"],t)&&this.resolvers?t:null},n.prototype.serverQuery=function(t){return function Ape(n){return cv(n),x8([{test:function(e){return"client"===e.name.value},remove:!0}],n)}(t)},n.prototype.prepareContext=function(t){var e=this.cache;return oe(oe({},t),{cache:e,getCacheKey:function(i){return e.identify(i)}})},n.prototype.addExportedVariables=function(t,e,i){return void 0===e&&(e={}),void 0===i&&(i={}),Vo(this,void 0,void 0,function(){return Ma(this,function(r){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,e)||{},this.prepareContext(i),e).then(function(o){return oe(oe({},e),o.exportedVariables)})]:[2,oe({},e)]})})},n.prototype.shouldForceResolvers=function(t){var e=!1;return ns(t,{Directive:{enter:function(i){if("client"===i.name.value&&i.arguments&&(e=i.arguments.some(function(r){return"always"===r.name.value&&"BooleanValue"===r.value.kind&&!0===r.value.value})))return Sc}}}),e},n.prototype.buildRootValueFromCache=function(t,e){return this.cache.diff({query:Tpe(t),variables:e,returnPartialData:!0,optimistic:!1}).result},n.prototype.resolveDocument=function(t,e,i,r,o,a){return void 0===i&&(i={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),Vo(this,void 0,void 0,function(){var s,l,c,d,u,h,p,v,y,w;return Ma(this,function(D){return s=nS(t),l=qB(t),c=b8(l),d=this.collectSelectionsToResolve(s,c),h=(u=s.operation)?u.charAt(0).toUpperCase()+u.slice(1):"Query",v=(p=this).cache,y=p.client,w={fragmentMap:c,context:oe(oe({},i),{cache:v,client:y}),variables:r,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,e,w).then(function(M){return{result:M,exportedVariables:w.exportedVariables}})]})})},n.prototype.resolveSelectionSet=function(t,e,i,r){return Vo(this,void 0,void 0,function(){var o,a,s,l,c,d=this;return Ma(this,function(u){return o=r.fragmentMap,a=r.context,s=r.variables,l=[i],c=function(h){return Vo(d,void 0,void 0,function(){var p;return Ma(this,function(y){return(e||r.selectionsToResolve.has(h))&&function gfe(n,t){var e=n.directives;return!e||!e.length||function vfe(n){var t=[];return n&&n.length&&n.forEach(function(e){if(function bfe(n){var t=n.name.value;return"skip"===t||"include"===t}(e)){var i=e.arguments,r=e.name.value;__DEV__?Te(i&&1===i.length,"Incorrect number of arguments for the @".concat(r," directive.")):Te(i&&1===i.length,41);var o=i[0];__DEV__?Te(o.name&&"if"===o.name.value,"Invalid argument for the @".concat(r," directive.")):Te(o.name&&"if"===o.name.value,42);var a=o.value;__DEV__?Te(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(r," directive must be a variable or a boolean value.")):Te(a&&("Variable"===a.kind||"BooleanValue"===a.kind),43),t.push({directive:e,ifArgument:o})}}),t}(e).every(function(i){var r=i.directive,o=i.ifArgument,a=!1;return"Variable"===o.value.kind?(a=t&&t[o.value.name.value],__DEV__?Te(void 0!==a,"Invalid variable referenced in @".concat(r.name.value," directive.")):Te(void 0!==a,40)):a=o.value.value,"skip"===r.name.value?!a:a})}(h,s)?lv(h)?[2,this.resolveField(h,e,i,r).then(function(w){var k;typeof w<"u"&&l.push(((k={})[eS(h)]=w,k))})]:(function afe(n){return"InlineFragment"===n.kind}(h)?p=h:(p=o[h.name.value],__DEV__?Te(p,"No fragment named ".concat(h.name.value)):Te(p,11)),p&&p.typeCondition&&r.fragmentMatcher(i,p.typeCondition.name.value,a)?[2,this.resolveSelectionSet(p.selectionSet,e,i,r).then(function(w){l.push(w)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(c)).then(function(){return t8(l)})]})})},n.prototype.resolveField=function(t,e,i,r){return Vo(this,void 0,void 0,function(){var o,a,s,l,c,d,u,h,p,v=this;return Ma(this,function(y){return i?(o=r.variables,a=t.name.value,s=eS(t),l=a!==s,c=i[s]||i[a],d=Promise.resolve(c),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(u=i.__typename||r.defaultOperationType,(h=this.resolvers&&this.resolvers[u])&&(p=h[l?a:s])&&(d=Promise.resolve(Y8.withValue(this.cache,p,[i,rfe(t,o),r.context,{field:t,fragmentMap:r.fragmentMap}])))),[2,d.then(function(w){var k,D;if(void 0===w&&(w=c),t.directives&&t.directives.forEach(function(I){"export"===I.name.value&&I.arguments&&I.arguments.forEach(function(O){"as"===O.name.value&&"StringValue"===O.value.kind&&(r.exportedVariables[O.value.value]=w)})}),!t.selectionSet||null==w)return w;var M=null!==(D=null===(k=t.directives)||void 0===k?void 0:k.some(function(I){return"client"===I.name.value}))&&void 0!==D&&D;return Array.isArray(w)?v.resolveSubSelectedArray(t,e||M,w,r):t.selectionSet?v.resolveSelectionSet(t.selectionSet,e||M,w,r):void 0})]):[2,null]})})},n.prototype.resolveSubSelectedArray=function(t,e,i,r){var o=this;return Promise.all(i.map(function(a){return null===a?null:Array.isArray(a)?o.resolveSubSelectedArray(t,e,a,r):t.selectionSet?o.resolveSelectionSet(t.selectionSet,e,a,r):void 0}))},n.prototype.collectSelectionsToResolve=function(t,e){var i=function(a){return!Array.isArray(a)},r=this.selectionsToResolveCache;return function o(a){if(!r.has(a)){var s=new Set;r.set(a,s),ns(a,{Directive:function(l,c,d,u,h){"client"===l.name.value&&h.forEach(function(p){i(p)&&I8(p)&&s.add(p)})},FragmentSpread:function(l,c,d,u,h){var p=e[l.name.value];__DEV__?Te(p,"No fragment named ".concat(l.name.value)):Te(p,12);var v=o(p);v.size>0&&(h.forEach(function(y){i(y)&&I8(y)&&s.add(y)}),s.add(l),v.forEach(function(y){s.add(y)}))}})}return r.get(a)}(t)},n}(),fu=new(hv?WeakMap:Map);function MS(n,t){var e=n[t];"function"==typeof e&&(n[t]=function(){return fu.set(n,(fu.get(n)+1)%1e15),e.apply(this,arguments)})}function X8(n){n.notifyTimeout&&(clearTimeout(n.notifyTimeout),n.notifyTimeout=void 0)}var TS=function(){function n(t,e){void 0===e&&(e=t.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var i=this.cache=t.cache;fu.has(i)||(fu.set(i,0),MS(i,"evict"),MS(i,"modify"),MS(i,"reset"))}return n.prototype.init=function(t){var e=t.networkStatus||Ke.loading;return this.variables&&this.networkStatus!==Ke.loading&&!Qi(this.variables,t.variables)&&(e=Ke.setVariables),Qi(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},n.prototype.reset=function(){X8(this),this.dirty=!1},n.prototype.getDiff=function(t){void 0===t&&(t=this.variables);var e=this.getDiffOptions(t);if(this.lastDiff&&Qi(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=t);var i=this.observableQuery;if(i&&"no-cache"===i.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},n.prototype.updateLastDiff=function(t,e){this.lastDiff=t?{diff:t,options:e||this.getDiffOptions()}:void 0},n.prototype.getDiffOptions=function(t){var e;return void 0===t&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:null===(e=this.observableQuery)||void 0===e?void 0:e.options.canonizeResults}},n.prototype.setDiff=function(t){var e=this,i=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),!this.dirty&&!Qi(i&&i.result,t&&t.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},n.prototype.setObservableQuery=function(t){var e=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){e.getDiff().fromOptimisticTransaction?t.observe():T8(t)})):delete this.oqListener)},n.prototype.notify=function(){var t=this;X8(this),this.shouldNotify()&&this.listeners.forEach(function(e){return e(t)}),this.dirty=!1},n.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(yp(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if("cache-only"!==t&&"cache-and-network"!==t)return!1}return!0},n.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=n.prototype.cancel,this.subscriptions.forEach(function(e){return e.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},n.prototype.cancel=function(){},n.prototype.updateWatch=function(t){var e=this;void 0===t&&(t=this.variables);var i=this.observableQuery;if(!i||"no-cache"!==i.options.fetchPolicy){var r=oe(oe({},this.getDiffOptions(t)),{watcher:this,callback:function(o){return e.setDiff(o)}});(!this.lastWatch||!Qi(r,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},n.prototype.resetLastWrite=function(){this.lastWrite=void 0},n.prototype.shouldWrite=function(t,e){var i=this.lastWrite;return!(i&&i.dmCount===fu.get(this.cache)&&Qi(e,i.variables)&&Qi(t.data,i.result.data))},n.prototype.markResult=function(t,e,i,r){var o=this,a=new lS,s=el(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&el(t.incremental)){var l=n8(this.getDiff().result,t);t.data=l}else if("hasNext"in t&&t.hasNext){var c=this.getDiff();t.data=a.merge(c.result,t.data)}this.graphQLErrors=s,"no-cache"===i.fetchPolicy?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(i.variables)):0!==r&&(AS(t,i.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(t,i.variables))d.writeQuery({query:e,data:t.data,variables:i.variables,overwrite:1===r}),o.lastWrite={result:t,variables:i.variables,dmCount:fu.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(t.data=o.lastDiff.diff.result);var u=o.getDiffOptions(i.variables),h=d.diff(u);o.stopped||o.updateWatch(i.variables),o.updateLastDiff(h,u),h.complete&&(t.data=h.result)}):this.lastWrite=void 0)},n.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ke.ready},n.prototype.markError=function(t){return this.networkStatus=Ke.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},n}();function AS(n,t){void 0===t&&(t="none");var e="ignore"===t||"all"===t,i=!mv(n);return!i&&e&&n.data&&(i=!0),i}var dme=Object.prototype.hasOwnProperty,ume=function(){function n(t){var e=t.cache,i=t.link,r=t.defaultOptions,o=t.queryDeduplication,a=void 0!==o&&o,s=t.onBroadcast,l=t.ssrMode,c=void 0!==l&&l,d=t.clientAwareness,u=void 0===d?{}:d,h=t.localState,p=t.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(hv?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=e,this.link=i,this.defaultOptions=r||Object.create(null),this.queryDeduplication=a,this.clientAwareness=u,this.localState=h||new Q8({cache:e}),this.ssrMode=c,this.assumeImmutableResults=!!p,(this.onBroadcast=s)&&(this.mutationStore=Object.create(null))}return n.prototype.stop=function(){var t=this;this.queries.forEach(function(e,i){t.stopQueryNoBroadcast(i)}),this.cancelPendingFetches(__DEV__?new Tn("QueryManager stopped while query was in flight"):new Tn(14))},n.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(e){return e(t)}),this.fetchCancelFns.clear()},n.prototype.mutate=function(t){var e,i,r=t.mutation,o=t.variables,a=t.optimisticResponse,s=t.updateQueries,l=t.refetchQueries,c=void 0===l?[]:l,d=t.awaitRefetchQueries,u=void 0!==d&&d,h=t.update,p=t.onQueryUpdated,v=t.fetchPolicy,y=void 0===v?(null===(e=this.defaultOptions.mutate)||void 0===e?void 0:e.fetchPolicy)||"network-only":v,w=t.errorPolicy,k=void 0===w?(null===(i=this.defaultOptions.mutate)||void 0===i?void 0:i.errorPolicy)||"none":w,D=t.keepRootFields,M=t.context;return Vo(this,void 0,void 0,function(){var I,O,L,le,Ve;return Ma(this,function(Ne){switch(Ne.label){case 0:return __DEV__?Te(r,"mutation option is required. You must specify your GraphQL document in the mutation option."):Te(r,15),__DEV__?Te("network-only"===y||"no-cache"===y,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):Te("network-only"===y||"no-cache"===y,16),I=this.generateMutationId(),O=this.transform(r),L=O.hasClientExports,r=this.cache.transformForLink(O.document),o=this.getVariables(r,o),L?[4,this.localState.addExportedVariables(r,o,M)]:[3,2];case 1:o=Ne.sent(),Ne.label=2;case 2:return le=this.mutationStore&&(this.mutationStore[I]={mutation:r,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:I,document:r,variables:o,fetchPolicy:y,errorPolicy:k,context:M,updateQueries:s,update:h,keepRootFields:D}),this.broadcastQueries(),Ve=this,[2,new Promise(function(Dn,Vi){return gS(Ve.getObservableFromLink(r,oe(oe({},M),{optimisticResponse:a}),o,!1),function(Bt){if(mv(Bt)&&"none"===k)throw new cu({graphQLErrors:_S(Bt)});le&&(le.loading=!1,le.error=null);var zi=oe({},Bt);return"function"==typeof c&&(c=c(zi)),"ignore"===k&&mv(zi)&&delete zi.errors,Ve.markMutationResult({mutationId:I,result:zi,document:r,variables:o,fetchPolicy:y,errorPolicy:k,context:M,update:h,updateQueries:s,awaitRefetchQueries:u,refetchQueries:c,removeOptimistic:a?I:void 0,onQueryUpdated:p,keepRootFields:D})}).subscribe({next:function(Bt){Ve.broadcastQueries(),(!("hasNext"in Bt)||!1===Bt.hasNext)&&Dn(Bt)},error:function(Bt){le&&(le.loading=!1,le.error=Bt),a&&Ve.cache.removeOptimistic(I),Ve.broadcastQueries(),Vi(Bt instanceof cu?Bt:new cu({networkError:Bt}))}})})]}})})},n.prototype.markMutationResult=function(t,e){var i=this;void 0===e&&(e=this.cache);var r=t.result,o=[],a="no-cache"===t.fetchPolicy;if(!a&&AS(r,t.errorPolicy)){if(du(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),du(r)&&el(r.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.transform(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),l=void 0;s.result&&(l=n8(s.result,r)),typeof l<"u"&&(r.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var c=t.updateQueries;c&&this.queries.forEach(function(u,h){var p=u.observableQuery,v=p&&p.queryName;if(v&&dme.call(c,v)){var y=c[v],w=i.queries.get(h),k=w.document,D=w.variables,M=e.diff({query:k,variables:D,returnPartialData:!0,optimistic:!1}),I=M.result;if(M.complete&&I){var he=y(I,{mutationResult:r,queryName:k&&tS(k)||void 0,queryVariables:D});he&&o.push({result:he,dataId:"ROOT_QUERY",query:k,variables:D})}}})}if(o.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(u){a||o.forEach(function(y){return u.write(y)});var h=t.update,p=!function zfe(n){return du(n)||function Vfe(n){return"hasNext"in n&&"data"in n}(n)}(r)||du(r)&&!r.hasNext;if(h){if(!a){var v=u.diff({id:"ROOT_MUTATION",query:i.transform(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});v.complete&&("incremental"in(r=oe(oe({},r),{data:v.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}p&&h(u,r,{context:t.context,variables:t.variables})}!a&&!t.keepRootFields&&p&&u.modify({id:"ROOT_MUTATION",fields:function(y,w){return"__typename"===w.fieldName?y:w.DELETE}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(u){return d.push(u)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(d).then(function(){return r})}return Promise.resolve(r)},n.prototype.markMutationOptimistic=function(t,e){var i=this,r="function"==typeof t?t(e.variables):t;return this.cache.recordOptimisticTransaction(function(o){try{i.markMutationResult(oe(oe({},e),{result:{data:r}}),o)}catch(a){__DEV__&&Te.error(a)}},e.mutationId)},n.prototype.fetchQuery=function(t,e,i){return this.fetchQueryObservable(t,e,i).promise},n.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(e,i){t[i]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}}),t},n.prototype.resetErrors=function(t){var e=this.queries.get(t);e&&(e.networkError=void 0,e.graphQLErrors=[])},n.prototype.transform=function(t){var e=this.transformCache;if(!e.has(t)){var i=this.cache.transformDocument(t),r=function Spe(n){return x8([Dpe],cv(n))}(i),o=this.localState.clientQuery(i),a=r&&this.localState.serverQuery(r),s={document:i,hasClientExports:_fe(i),hasForcedResolvers:this.localState.shouldForceResolvers(i),clientQuery:o,serverQuery:a,defaultVars:cfe(dv(i)),asQuery:oe(oe({},i),{definitions:i.definitions.map(function(c){return"OperationDefinition"===c.kind&&"query"!==c.operation?oe(oe({},c),{operation:"query"}):c})})},l=function(c){c&&!e.has(c)&&e.set(c,s)};l(t),l(i),l(o),l(a)}return e.get(t)},n.prototype.getVariables=function(t,e){return oe(oe({},this.transform(t).defaultVars),e)},n.prototype.watchQuery=function(t){typeof(t=oe(oe({},t),{variables:this.getVariables(t.query,t.variables)})).notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var e=new TS(this),i=new yS({queryManager:this,queryInfo:e,options:t});return this.queries.set(i.queryId,e),e.init({document:i.query,observableQuery:i,variables:i.variables}),i},n.prototype.query=function(t,e){var i=this;return void 0===e&&(e=this.generateQueryId()),__DEV__?Te(t.query,"query option is required. You must specify your GraphQL document in the query option."):Te(t.query,17),__DEV__?Te("Document"===t.query.kind,'You must wrap the query string in a "gql" tag.'):Te("Document"===t.query.kind,18),__DEV__?Te(!t.returnPartialData,"returnPartialData option only supported on watchQuery."):Te(!t.returnPartialData,19),__DEV__?Te(!t.pollInterval,"pollInterval option only supported on watchQuery."):Te(!t.pollInterval,20),this.fetchQuery(e,t).finally(function(){return i.stopQuery(e)})},n.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},n.prototype.generateRequestId=function(){return this.requestIdCounter++},n.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},n.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},n.prototype.stopQueryInStoreNoBroadcast=function(t){var e=this.queries.get(t);e&&e.stop()},n.prototype.clearStore=function(t){return void 0===t&&(t={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new Tn("Store reset while query was in flight (not completed in link chain)"):new Tn(21)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Ke.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},n.prototype.getObservableQueries=function(t){var e=this;void 0===t&&(t="active");var i=new Map,r=new Map,o=new Set;return Array.isArray(t)&&t.forEach(function(a){"string"==typeof a?r.set(a,!1):function Ghe(n){return fr(n)&&"Document"===n.kind&&Array.isArray(n.definitions)}(a)?r.set(e.transform(a).document,!1):fr(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var l=a.observableQuery,c=a.document;if(l){if("all"===t)return void i.set(s,l);var d=l.queryName;if("standby"===l.options.fetchPolicy||"active"===t&&!l.hasObservers())return;("active"===t||d&&r.has(d)||c&&r.has(c))&&(i.set(s,l),d&&r.set(d,!0),c&&r.set(c,!0))}}),o.size&&o.forEach(function(a){var s=S8("legacyOneTimeQuery"),l=e.getQuery(s).init({document:a.query,variables:a.variables}),c=new yS({queryManager:e,queryInfo:l,options:oe(oe({},a),{fetchPolicy:"network-only"})});Te(c.queryId===s),l.setObservableQuery(c),i.set(s,c)}),__DEV__&&r.size&&r.forEach(function(a,s){a||__DEV__&&Te.warn("Unknown query ".concat("string"==typeof s?"named ":"").concat(JSON.stringify(s,null,2)," requested in refetchQueries options.include array"))}),i},n.prototype.reFetchObservableQueries=function(t){var e=this;void 0===t&&(t=!1);var i=[];return this.getObservableQueries(t?"all":"active").forEach(function(r,o){var a=r.options.fetchPolicy;r.resetLastResults(),(t||"standby"!==a&&"cache-only"!==a)&&i.push(r.refetch()),e.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(i)},n.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},n.prototype.startGraphQLSubscription=function(t){var e=this,i=t.query,r=t.fetchPolicy,o=t.errorPolicy,a=t.variables,s=t.context,l=void 0===s?{}:s;i=this.transform(i).document,a=this.getVariables(i,a);var c=function(u){return e.getObservableFromLink(i,l,u).map(function(h){"no-cache"!==r&&(AS(h,o)&&e.cache.write({query:i,result:h.data,dataId:"ROOT_SUBSCRIPTION",variables:u}),e.broadcastQueries());var p=mv(h),v=function Nfe(n){return!!n.extensions&&Array.isArray(n.extensions[sS])}(h);if(p||v){var y={};throw p&&(y.graphQLErrors=h.errors),v&&(y.protocolErrors=h.extensions[sS]),new cu(y)}return h})};if(this.transform(i).hasClientExports){var d=this.localState.addExportedVariables(i,a,l).then(c);return new ln(function(u){var h=null;return d.then(function(p){return h=p.subscribe(u)},u.error),function(){return h&&h.unsubscribe()}})}return c(a)},n.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},n.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},n.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},n.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){return t.notify()})},n.prototype.getLocalState=function(){return this.localState},n.prototype.getObservableFromLink=function(t,e,i,r){var a,o=this;void 0===r&&(r=null!==(a=e?.queryDeduplication)&&void 0!==a?a:this.queryDeduplication);var s,l=this.transform(t).serverQuery;if(l){var d=this.inFlightLinkObservables,u=this.link,h={query:l,variables:i,operationName:tS(l)||void 0,context:this.prepareContext(oe(oe({},e),{forceFetch:!r}))};if(e=h.context,r){var p=d.get(l)||new Map;d.set(l,p);var v=xpe(i);if(!(s=p.get(v))){var y=new uu([iS(u,h)]);p.set(v,s=y),y.beforeNext(function(){p.delete(v)&&p.size<1&&d.delete(l)})}}else s=new uu([iS(u,h)])}else s=new uu([ln.of({data:{}})]),e=this.prepareContext(e);var w=this.transform(t).clientQuery;return w&&(s=gS(s,function(k){return o.localState.runResolvers({document:w,remoteResult:k,context:e,variables:i})})),s},n.prototype.getResultsFromLink=function(t,e,i){var r=t.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(this.transform(t.document).document);return gS(this.getObservableFromLink(o,i.context,i.variables),function(a){var s=_S(a),l=s.length>0;if(r>=t.lastRequestId){if(l&&"none"===i.errorPolicy)throw t.markError(new cu({graphQLErrors:s}));t.markResult(a,o,i,e),t.markReady()}var c={data:a.data,loading:!1,networkStatus:Ke.ready};return l&&"ignore"!==i.errorPolicy&&(c.errors=s,c.networkStatus=Ke.error),c},function(a){var s=function Ffe(n){return n.hasOwnProperty("graphQLErrors")}(a)?a:new cu({networkError:a});throw r>=t.lastRequestId&&t.markError(s),s})},n.prototype.fetchQueryObservable=function(t,e,i){return this.fetchConcastWithInfo(t,e,i).concast},n.prototype.fetchConcastWithInfo=function(t,e,i){var r=this;void 0===i&&(i=Ke.loading);var he,L,o=this.transform(e.query).document,a=this.getVariables(o,e.variables),s=this.getQuery(t),l=this.defaultOptions.watchQuery,c=e.fetchPolicy,u=e.errorPolicy,p=e.returnPartialData,y=e.notifyOnNetworkStatusChange,k=e.context,M=Object.assign({},e,{query:o,variables:a,fetchPolicy:void 0===c?l&&l.fetchPolicy||"cache-first":c,errorPolicy:void 0===u?l&&l.errorPolicy||"none":u,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===k?{}:k}),I=function(Ve){M.variables=Ve;var Ne=r.fetchQueryByPolicy(s,M,i);return"standby"!==M.fetchPolicy&&Ne.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",e),Ne},O=function(){return r.fetchCancelFns.delete(t)};if(this.fetchCancelFns.set(t,function(Ve){O(),setTimeout(function(){return he.cancel(Ve)})}),this.transform(M.query).hasClientExports)he=new uu(this.localState.addExportedVariables(M.query,M.variables,M.context).then(I).then(function(Ve){return Ve.sources})),L=!0;else{var le=I(M.variables);L=le.fromLink,he=new uu(le.sources)}return he.promise.then(O,O),{concast:he,fromLink:L}},n.prototype.refetchQueries=function(t){var e=this,i=t.updateCache,r=t.include,o=t.optimistic,a=void 0!==o&&o,s=t.removeOptimistic,l=void 0===s?a?S8("refetchQueries"):void 0:s,c=t.onQueryUpdated,d=new Map;r&&this.getObservableQueries(r).forEach(function(h,p){d.set(p,{oq:h,lastDiff:e.getQuery(p).getDiff()})});var u=new Map;return i&&this.cache.batch({update:i,optimistic:a&&l||!1,removeOptimistic:l,onWatchUpdated:function(h,p,v){var y=h.watcher instanceof TS&&h.watcher.observableQuery;if(y){if(c){d.delete(y.queryId);var w=c(y,p,v);return!0===w&&(w=y.refetch()),!1!==w&&u.set(y,w),w}null!==c&&d.set(y.queryId,{oq:y,lastDiff:v,diff:p})}}}),d.size&&d.forEach(function(h,p){var k,v=h.oq,y=h.lastDiff,w=h.diff;if(c){if(!w){var D=v.queryInfo;D.reset(),w=D.getDiff()}k=c(v,w,y)}(!c||!0===k)&&(k=v.refetch()),!1!==k&&u.set(v,k),p.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(p)}),l&&this.cache.removeOptimistic(l),u},n.prototype.fetchQueryByPolicy=function(t,e,i){var r=this,o=e.query,a=e.variables,s=e.fetchPolicy,l=e.refetchWritePolicy,c=e.errorPolicy,d=e.returnPartialData,u=e.context,h=e.notifyOnNetworkStatusChange,p=t.networkStatus;t.init({document:this.transform(o).document,variables:a,networkStatus:i});var v=function(){return t.getDiff(a)},y=function(I,O){void 0===O&&(O=t.networkStatus||Ke.loading);var he=I.result;__DEV__&&!d&&!Qi(he,{})&&A8(I.missing);var L=function(le){return ln.of(oe({data:le,loading:yp(O),networkStatus:O},I.complete?null:{partial:!0}))};return he&&r.transform(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:he},context:u,variables:a,onlyRunForcedResolvers:!0}).then(function(le){return L(le.data||void 0)}):"none"===c&&O===Ke.refetch&&Array.isArray(I.missing)?L(void 0):L(he)},w="no-cache"===s?0:i===Ke.refetch&&"merge"!==l?1:2,k=function(){return r.getResultsFromLink(t,w,{variables:a,context:u,fetchPolicy:s,errorPolicy:c})},D=h&&"number"==typeof p&&p!==i&&yp(i);switch(s){default:case"cache-first":return(M=v()).complete?{fromLink:!1,sources:[y(M,t.markReady())]}:d||D?{fromLink:!0,sources:[y(M),k()]}:{fromLink:!0,sources:[k()]};case"cache-and-network":var M;return(M=v()).complete||d||D?{fromLink:!0,sources:[y(M),k()]}:{fromLink:!0,sources:[k()]};case"cache-only":return{fromLink:!1,sources:[y(v(),t.markReady())]};case"network-only":return D?{fromLink:!0,sources:[y(v()),k()]}:{fromLink:!0,sources:[k()]};case"no-cache":return D?{fromLink:!0,sources:[y(t.getDiff()),k()]}:{fromLink:!0,sources:[k()]};case"standby":return{fromLink:!1,sources:[]}}},n.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new TS(this,t)),this.queries.get(t)},n.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.localState.prepareContext(t);return oe(oe({},e),{clientAwareness:this.clientAwareness})},n}();function IS(n,t){return M8(n,t,t.variables&&{variables:oe(oe({},n&&n.variables),t.variables)})}var J8=!1,Z8=function(){function n(t){var e=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var i=t.uri,a=t.cache,s=t.ssrMode,l=void 0!==s&&s,c=t.ssrForceFetchDelay,d=void 0===c?0:c,u=t.connectToDevTools,h=void 0===u?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:u,p=t.queryDeduplication,v=void 0===p||p,y=t.defaultOptions,w=t.assumeImmutableResults,k=void 0!==w&&w,D=t.resolvers,M=t.typeDefs,I=t.fragmentMatcher,O=t.name,he=t.version,L=t.link;if(L||(L=i?new hpe({uri:i,credentials:t.credentials,headers:t.headers}):Dp.empty()),!a)throw __DEV__?new Tn("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new Tn(9);if(this.link=L,this.cache=a,this.disableNetworkFetches=l||d>0,this.queryDeduplication=v,this.defaultOptions=y||Object.create(null),this.typeDefs=M,d&&setTimeout(function(){return e.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),h&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!J8&&h&&__DEV__&&(J8=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var le=window.navigator,Ve=le&&le.userAgent,Ne=void 0;"string"==typeof Ve&&(Ve.indexOf("Chrome/")>-1?Ne="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":Ve.indexOf("Firefox/")>-1&&(Ne="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Ne&&__DEV__&&Te.log("Download the Apollo DevTools for a better development experience: "+Ne)}this.version="3.7.16",this.localState=new Q8({cache:a,client:this,resolvers:D,fragmentMatcher:I}),this.queryManager=new ume({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:v,ssrMode:l,clientAwareness:{name:O,version:he},localState:this.localState,assumeImmutableResults:k,onBroadcast:h?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0})}return n.prototype.stop=function(){this.queryManager.stop()},n.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=IS(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t=oe(oe({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},n.prototype.query=function(t){return this.defaultOptions.query&&(t=IS(this.defaultOptions.query,t)),__DEV__?Te("cache-and-network"!==t.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):Te("cache-and-network"!==t.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===t.fetchPolicy&&(t=oe(oe({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},n.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=IS(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},n.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},n.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.cache.readQuery(t,e)},n.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.cache.readFragment(t,e)},n.prototype.writeQuery=function(t){var e=this.cache.writeQuery(t);return!1!==t.broadcast&&this.queryManager.broadcastQueries(),e},n.prototype.writeFragment=function(t){var e=this.cache.writeFragment(t);return!1!==t.broadcast&&this.queryManager.broadcastQueries(),e},n.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},n.prototype.__requestRaw=function(t){return iS(this.link,t)},n.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return t.reFetchObservableQueries()})},n.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(e){return e()}))})},n.prototype.onResetStore=function(t){var e=this;return this.resetStoreCallbacks.push(t),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter(function(i){return i!==t})}},n.prototype.onClearStore=function(t){var e=this;return this.clearStoreCallbacks.push(t),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter(function(i){return i!==t})}},n.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},n.prototype.refetchQueries=function(t){var e=this.queryManager.refetchQueries(t),i=[],r=[];e.forEach(function(a,s){i.push(s),r.push(a)});var o=Promise.all(r);return o.queries=i,o.results=r,o.catch(function(a){__DEV__&&Te.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(a))}),o},n.prototype.getObservableQueries=function(t){return void 0===t&&(t="active"),this.queryManager.getObservableQueries(t)},n.prototype.extract=function(t){return this.cache.extract(t)},n.prototype.restore=function(t){return this.cache.restore(t)},n.prototype.addResolvers=function(t){this.localState.addResolvers(t)},n.prototype.setResolvers=function(t){this.localState.setResolvers(t)},n.prototype.getResolvers=function(){return this.localState.getResolvers()},n.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},n.prototype.setLink=function(t){this.link=this.queryManager.link=t},n}();function fme(n,t){if(!n)throw new Error(t??"Unexpected invariant triggered.")}const pme=/\r\n|[\n\r]/g;function OS(n,t){let e=0,i=1;for(const r of n.body.matchAll(pme)){if("number"==typeof r.index||fme(!1),r.index>=t)break;e=r.index+r[0].length,i+=1}return{line:i,column:t+1-e}}function mme(n){return e5(n.source,OS(n.source,n.start))}function e5(n,t){const e=n.locationOffset.column-1,i="".padStart(e)+n.body,r=t.line-1,a=t.line+(n.locationOffset.line-1),l=t.column+(1===t.line?e:0),c=`${n.name}:${a}:${l}\n`,d=i.split(/\r\n|[\n\r]/g),u=d[r];if(u.length>120){const h=Math.floor(l/80),p=l%80,v=[];for(let y=0;y["|",y]),["|","^".padStart(p)],["|",v[h+1]]])}return c+t5([[a-1+" |",d[r-1]],[`${a} |`,u],["|","^".padStart(l)],[`${a+1} |`,d[r+1]]])}function t5(n){const t=n.filter(([i,r])=>void 0!==r),e=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(e)+(r?" "+r:"")).join("\n")}class RS extends Error{constructor(t,...e){var i,r,o;const{nodes:a,source:s,positions:l,path:c,originalError:d,extensions:u}=function gme(n){const t=n[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:n[1],positions:n[2],path:n[3],originalError:n[4],extensions:n[5]}:t}(e);super(t),this.name="GraphQLError",this.path=c??void 0,this.originalError=d??void 0,this.nodes=n5(Array.isArray(a)?a:a?[a]:void 0);const h=n5(null===(i=this.nodes)||void 0===i?void 0:i.map(v=>v.loc).filter(v=>null!=v));this.source=s??(null==h||null===(r=h[0])||void 0===r?void 0:r.source),this.positions=l??h?.map(v=>v.start),this.locations=l&&s?l.map(v=>OS(s,v)):h?.map(v=>OS(v.source,v.start));const p=function hme(n){return"object"==typeof n&&null!==n}(d?.extensions)?d?.extensions:void 0;this.extensions=null!==(o=u??p)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,RS):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const e of this.nodes)e.loc&&(t+="\n\n"+mme(e.loc));else if(this.source&&this.locations)for(const e of this.locations)t+="\n\n"+e5(this.source,e);return t}toJSON(){const t={message:this.message};return null!=this.locations&&(t.locations=this.locations),null!=this.path&&(t.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function n5(n){return void 0===n||0===n.length?void 0:n}function si(n,t,e){return new RS(`Syntax Error: ${e}`,{source:n,positions:[t]})}var _n=(()=>((_n=_n||{}).QUERY="QUERY",_n.MUTATION="MUTATION",_n.SUBSCRIPTION="SUBSCRIPTION",_n.FIELD="FIELD",_n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",_n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",_n.INLINE_FRAGMENT="INLINE_FRAGMENT",_n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",_n.SCHEMA="SCHEMA",_n.SCALAR="SCALAR",_n.OBJECT="OBJECT",_n.FIELD_DEFINITION="FIELD_DEFINITION",_n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",_n.INTERFACE="INTERFACE",_n.UNION="UNION",_n.ENUM="ENUM",_n.ENUM_VALUE="ENUM_VALUE",_n.INPUT_OBJECT="INPUT_OBJECT",_n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",_n))(),H=(()=>((H=H||{}).SOF="",H.EOF="",H.BANG="!",H.DOLLAR="$",H.AMP="&",H.PAREN_L="(",H.PAREN_R=")",H.SPREAD="...",H.COLON=":",H.EQUALS="=",H.AT="@",H.BRACKET_L="[",H.BRACKET_R="]",H.BRACE_L="{",H.PIPE="|",H.BRACE_R="}",H.NAME="Name",H.INT="Int",H.FLOAT="Float",H.STRING="String",H.BLOCK_STRING="BlockString",H.COMMENT="Comment",H))();class _me{constructor(t){const e=new YB(H.SOF,0,0,0,0);this.source=t,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==H.EOF)do{if(t.next)t=t.next;else{const e=vme(this,t.end);t.next=e,e.prev=t,t=e}}while(t.kind===H.COMMENT);return t}}function pu(n){return n>=0&&n<=55295||n>=57344&&n<=1114111}function bv(n,t){return r5(n.charCodeAt(t))&&o5(n.charCodeAt(t+1))}function r5(n){return n>=55296&&n<=56319}function o5(n){return n>=56320&&n<=57343}function kc(n,t){const e=n.source.body.codePointAt(t);if(void 0===e)return H.EOF;if(e>=32&&e<=126){const i=String.fromCodePoint(e);return'"'===i?"'\"'":`"${i}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function zn(n,t,e,i,r){return new YB(t,e,i,n.line,1+e-n.lineStart,r)}function vme(n,t){const e=n.source.body,i=e.length;let r=t;for(;r=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:-1}function Sme(n,t){const e=n.source.body;switch(e.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw si(n.source,t,`Invalid character escape sequence: "${e.slice(t,t+2)}".`)}function kme(n,t){const e=n.source.body,i=e.length;let r=n.lineStart,o=t+3,a=o,s="";const l=[];for(;othis.parseValueLiteral(t),H.BRACKET_R)})}parseObject(t){return this.node(this._lexer.token,{kind:J.OBJECT,fields:this.any(H.BRACE_L,()=>this.parseObjectField(t),H.BRACE_R)})}parseObjectField(t){const e=this._lexer.token,i=this.parseName();return this.expectToken(H.COLON),this.node(e,{kind:J.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){const e=[];for(;this.peek(H.AT);)e.push(this.parseDirective(t));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const e=this._lexer.token;return this.expectToken(H.AT),this.node(e,{kind:J.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let e;if(this.expectOptionalToken(H.BRACKET_L)){const i=this.parseTypeReference();this.expectToken(H.BRACKET_R),e=this.node(t,{kind:J.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(H.BANG)?this.node(t,{kind:J.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:J.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(H.STRING)||this.peek(H.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");const i=this.parseConstDirectives(),r=this.many(H.BRACE_L,this.parseOperationTypeDefinition,H.BRACE_R);return this.node(t,{kind:J.SCHEMA_DEFINITION,description:e,directives:i,operationTypes:r})}parseOperationTypeDefinition(){const t=this._lexer.token,e=this.parseOperationType();this.expectToken(H.COLON);const i=this.parseNamedType();return this.node(t,{kind:J.OPERATION_TYPE_DEFINITION,operation:e,type:i})}parseScalarTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");const i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:J.SCALAR_TYPE_DEFINITION,description:e,name:i,directives:r})}parseObjectTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:J.OBJECT_TYPE_DEFINITION,description:e,name:i,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(H.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(H.BRACE_L,this.parseFieldDefinition,H.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,e=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(H.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:J.FIELD_DEFINITION,description:e,name:i,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(H.PAREN_L,this.parseInputValueDef,H.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,e=this.parseDescription(),i=this.parseName();this.expectToken(H.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(H.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:J.INPUT_VALUE_DEFINITION,description:e,name:i,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:J.INTERFACE_TYPE_DEFINITION,description:e,name:i,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:J.UNION_TYPE_DEFINITION,description:e,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(H.EQUALS)?this.delimitedMany(H.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:J.ENUM_TYPE_DEFINITION,description:e,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(H.BRACE_L,this.parseEnumValueDefinition,H.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,e=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:J.ENUM_VALUE_DEFINITION,description:e,name:i,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw si(this._lexer.source,this._lexer.token.start,`${yv(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:J.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(H.BRACE_L,this.parseInputValueDef,H.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===H.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const e=this.parseConstDirectives(),i=this.optionalMany(H.BRACE_L,this.parseOperationTypeDefinition,H.BRACE_R);if(0===e.length&&0===i.length)throw this.unexpected();return this.node(t,{kind:J.SCHEMA_EXTENSION,directives:e,operationTypes:i})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const e=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(t,{kind:J.SCALAR_TYPE_EXTENSION,name:e,directives:i})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===i.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(t,{kind:J.OBJECT_TYPE_EXTENSION,name:e,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===i.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(t,{kind:J.INTERFACE_TYPE_EXTENSION,name:e,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const e=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:J.UNION_TYPE_EXTENSION,name:e,directives:i,types:r})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const e=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:J.ENUM_TYPE_EXTENSION,name:e,directives:i,values:r})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const e=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:J.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:i,fields:r})}parseDirectiveDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(H.AT);const i=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:J.DIRECTIVE_DEFINITION,description:e,name:i,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(H.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(_n,e.value))return e;throw this.unexpected(t)}node(t,e){return!0!==this._options.noLocation&&(e.loc=new pfe(t,this._lexer.lastToken,this._lexer.source)),e}peek(t){return this._lexer.token.kind===t}expectToken(t){const e=this._lexer.token;if(e.kind===t)return this.advanceLexer(),e;throw si(this._lexer.source,e.start,`Expected ${s5(t)}, found ${yv(e)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t&&(this.advanceLexer(),!0)}expectKeyword(t){const e=this._lexer.token;if(e.kind!==H.NAME||e.value!==t)throw si(this._lexer.source,e.start,`Expected "${t}", found ${yv(e)}.`);this.advanceLexer()}expectOptionalKeyword(t){const e=this._lexer.token;return e.kind===H.NAME&&e.value===t&&(this.advanceLexer(),!0)}unexpected(t){const e=t??this._lexer.token;return si(this._lexer.source,e.start,`Unexpected ${yv(e)}.`)}any(t,e,i){this.expectToken(t);const r=[];for(;!this.expectOptionalToken(i);)r.push(e.call(this));return r}optionalMany(t,e,i){if(this.expectOptionalToken(t)){const r=[];do{r.push(e.call(this))}while(!this.expectOptionalToken(i));return r}return[]}many(t,e,i){this.expectToken(t);const r=[];do{r.push(e.call(this))}while(!this.expectOptionalToken(i));return r}delimitedMany(t,e){this.expectOptionalToken(t);const i=[];do{i.push(e.call(this))}while(this.expectOptionalToken(t));return i}advanceLexer(){const{maxTokens:t}=this._options,e=this._lexer.advance();if(void 0!==t&&e.kind!==H.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw si(this._lexer.source,e.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function yv(n){const t=n.value;return s5(n.kind)+(null!=t?` "${t}"`:"")}function s5(n){return function bme(n){return n===H.BANG||n===H.DOLLAR||n===H.AMP||n===H.PAREN_L||n===H.PAREN_R||n===H.SPREAD||n===H.COLON||n===H.EQUALS||n===H.AT||n===H.BRACKET_L||n===H.BRACKET_R||n===H.BRACE_L||n===H.PIPE||n===H.BRACE_R}(n)?`"${n}"`:n}var Cv=new Map,FS=new Map,l5=!0,wv=!1;function c5(n){return n.replace(/[\s,]+/g," ").trim()}function Ome(n){var t=c5(n);if(!Cv.has(t)){var e=function Mme(n,t){return new vv(n,t).parseDocument()}(n,{experimentalFragmentVariables:wv,allowLegacyFragmentVariables:wv});if(!e||"Document"!==e.kind)throw new Error("Not a valid GraphQL document.");Cv.set(t,function Ime(n){var t=new Set(n.definitions);t.forEach(function(i){i.loc&&delete i.loc,Object.keys(i).forEach(function(r){var o=i[r];o&&"object"==typeof o&&t.add(o)})});var e=n.loc;return e&&(delete e.startToken,delete e.endToken),n}(function Ame(n){var t=new Set,e=[];return n.definitions.forEach(function(i){if("FragmentDefinition"===i.kind){var r=i.name.value,o=function Tme(n){return c5(n.source.body.substring(n.start,n.end))}(i.loc),a=FS.get(r);a&&!a.has(o)?l5&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||FS.set(r,a=new Set),a.add(o),t.has(o)||(t.add(o),e.push(i))}else e.push(i)}),oe(oe({},n),{definitions:e})}(e)))}return Cv.get(t)}function mu(n){for(var t=[],e=1;e(n().then(e=>{t.closed||(t.next(e),t.complete())},e=>{t.closed||t.error(e)}),()=>t.unsubscribe()))}(function(n){n.gql=Ip_gql,n.resetCaches=Ip_resetCaches,n.disableFragmentWarnings=Ip_disableFragmentWarnings,n.enableExperimentalFragmentVariables=Ip_enableExperimentalFragmentVariables,n.disableExperimentalFragmentVariables=Ip_disableExperimentalFragmentVariables})(mu||(mu={})),mu.default=mu;class Bme{constructor(t){hr(this,"zone",void 0),hr(this,"now",Date.now?Date.now:()=>+new Date),this.zone=t}schedule(t,e=0,i){return this.zone.run(()=>xhe.schedule(t,e,i))}}function u5(n){return n[Lm]=()=>n,n}function h5(n,t){return n.pipe(E0(new Bme(t)))}function f5(n,t,e){return n&&typeof n[t]<"u"?n[t]:e}class zme{constructor(t,e,i){hr(this,"obsQuery",void 0),hr(this,"valueChanges",void 0),hr(this,"queryId",void 0),this.obsQuery=t;const r=h5(yn(u5(this.obsQuery)),e);this.valueChanges=i.useInitialLoading?r.pipe(function Vme(n){return function(e){return new it(function(r){const o=n.getCurrentResult(),{loading:a,errors:s,error:l,partial:c,data:d}=o,{partialRefetch:u,fetchPolicy:h}=n.options,p=s||l;return u&&c&&(!d||0===Object.keys(d).length)&&"cache-only"!==h&&!a&&!p&&r.next({...o,loading:!0,networkStatus:Ke.loading}),e.subscribe(r)})}}(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(t){return this.obsQuery.refetch(t)}fetchMore(t){return this.obsQuery.fetchMore(t)}subscribeToMore(t){return this.obsQuery.subscribeToMore(t)}updateQuery(t){return this.obsQuery.updateQuery(t)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(t){return this.obsQuery.startPolling(t)}setOptions(t){return this.obsQuery.setOptions(t)}setVariables(t){return this.obsQuery.setVariables(t)}}const Hme=new F("APOLLO_FLAGS"),$me=new F("APOLLO_OPTIONS"),jme=new F("APOLLO_NAMED_OPTIONS");class p5{constructor(t,e,i){hr(this,"ngZone",void 0),hr(this,"flags",void 0),hr(this,"_client",void 0),hr(this,"useInitialLoading",void 0),hr(this,"useMutationLoading",void 0),this.ngZone=t,this.flags=e,this._client=i,this.useInitialLoading=f5(e,"useInitialLoading",!1),this.useMutationLoading=f5(e,"useMutationLoading",!1)}watchQuery(t){return new zme(this.ensureClient().watchQuery({...t}),this.ngZone,{useInitialLoading:this.useInitialLoading,...t})}query(t){return d5(()=>this.ensureClient().query({...t}))}mutate(t){return function Lme(n,t){return t?n.pipe(zt({loading:!0}),ue(e=>({...e,loading:!!e.loading}))):n.pipe(ue(e=>({...e,loading:!1})))}(d5(()=>this.ensureClient().mutate({...t})),t.useMutationLoading??this.useMutationLoading)}subscribe(t,e){const i=yn(u5(this.ensureClient().subscribe({...t})));return e&&!0!==e.useZone?i:h5(i,this.ngZone)}getClient(){return this.client}setClient(t){this.client=t}get client(){return this._client}set client(t){if(this._client)throw new Error("Client has been already defined");this._client=t}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let nl=(()=>{class n extends p5{constructor(e,i,r,o){if(super(e,o),hr(this,"_ngZone",void 0),hr(this,"map",new Map),this._ngZone=e,i&&this.createDefault(i),r&&"object"==typeof r)for(let a in r)r.hasOwnProperty(a)&&this.create(r[a],a)}create(e,i){PS(i)?this.createDefault(e):this.createNamed(i,e)}default(){return this}use(e){return PS(e)?this.default():this.map.get(e)}createDefault(e){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new Z8(e))}createNamed(e,i){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new p5(this._ngZone,this.flags,new Z8(i)))}removeClient(e){PS(e)?this._client=void 0:this.map.delete(e)}}return hr(n,"\u0275fac",function(e){return new(e||n)(A(de),A($me,8),A(jme,8),A(Hme,8))}),hr(n,"\u0275prov",P({token:n,factory:n.\u0275fac})),n})();function PS(n){return!n||"default"===n}const xv=function Ume(n,...t){return mu(n,...t)},gu=function Wme(n,t){return n===t||n!=n&&t!=t},Dv=function Yme(n,t){for(var e=n.length;e--;)if(gu(n[e][0],t))return e;return-1};var Qme=Array.prototype.splice;function _u(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t-1},_u.prototype.set=function ige(n,t){var e=this.__data__,i=Dv(e,n);return i<0?(++this.size,e.push([n,t])):e[i][1]=t,this};const Sv=_u,m5="object"==typeof global&&global&&global.Object===Object&&global;var pge="object"==typeof self&&self&&self.Object===Object&&self;const da=m5||pge||Function("return this")(),io=da.Symbol;var g5=Object.prototype,_ge=g5.hasOwnProperty,bge=g5.toString,Op=io?io.toStringTag:void 0;var wge=Object.prototype.toString;var _5=io?io.toStringTag:void 0;const Ec=function Ege(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":_5&&_5 in Object(n)?function vge(n){var t=_ge.call(n,Op),e=n[Op];try{n[Op]=void 0;var i=!0}catch{}var r=bge.call(n);return i&&(t?n[Op]=e:delete n[Op]),r}(n):function xge(n){return wge.call(n)}(n)},Pr=function Mge(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)},LS=function Rge(n){if(!Pr(n))return!1;var t=Ec(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},BS=da["__core-js_shared__"];var b5=function(){var n=/[^.]+$/.exec(BS&&BS.keys&&BS.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();var Bge=Function.prototype.toString;const Mc=function Vge(n){if(null!=n){try{return Bge.call(n)}catch{}try{return n+""}catch{}}return""};var Hge=/^\[object .+?Constructor\]$/,qge=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Yge=function Wge(n){return!(!Pr(n)||function Fge(n){return!!b5&&b5 in n}(n))&&(LS(n)?qge:Hge).test(Mc(n))},Tc=function Xge(n,t){var e=function Kge(n,t){return n?.[t]}(n,t);return Yge(e)?e:void 0},Rp=Tc(da,"Map"),Np=Tc(Object,"create");var a_e=Object.prototype.hasOwnProperty;var d_e=Object.prototype.hasOwnProperty;function bu(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t-1&&n%1==0&&n-1&&n%1==0&&n<=9007199254740991};var tn={};tn["[object Float32Array]"]=tn["[object Float64Array]"]=tn["[object Int8Array]"]=tn["[object Int16Array]"]=tn["[object Int32Array]"]=tn["[object Uint8Array]"]=tn["[object Uint8ClampedArray]"]=tn["[object Uint16Array]"]=tn["[object Uint32Array]"]=!0,tn["[object Arguments]"]=tn["[object Array]"]=tn["[object ArrayBuffer]"]=tn["[object Boolean]"]=tn["[object DataView]"]=tn["[object Date]"]=tn["[object Error]"]=tn["[object Function]"]=tn["[object Map]"]=tn["[object Number]"]=tn["[object Object]"]=tn["[object RegExp]"]=tn["[object Set]"]=tn["[object String]"]=tn["[object WeakMap]"]=!1;const Fp=function Ibe(n){return function(t){return n(t)}};var S5="object"==typeof exports&&exports&&!exports.nodeType&&exports,Pp=S5&&"object"==typeof module&&module&&!module.nodeType&&module,HS=Pp&&Pp.exports===S5&&m5.process;const Su=function(){try{return Pp&&Pp.require&&Pp.require("util").types||HS&&HS.binding&&HS.binding("util")}catch{}}();var k5=Su&&Su.isTypedArray;const Iv=k5?Fp(k5):function Tbe(n){return ua(n)&&zS(n.length)&&!!tn[Ec(n)]};var Pbe=Object.prototype.hasOwnProperty;const E5=function Lbe(n,t){var e=li(n),i=!e&&xu(n),r=!e&&!i&&Du(n),o=!e&&!i&&!r&&Iv(n),a=e||i||r||o,s=a?function z_e(n,t){for(var e=-1,i=Array(n);++es))return!1;var c=o.get(n),d=o.get(t);if(c&&d)return c==t&&d==n;var u=-1,h=!0,p=2&e?new Pv:void 0;for(o.set(n,t),o.set(t,n);++u0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(uwe);const wV=_we,$p=function bwe(n,t){return wV(CV(n,t,ok),n+"")},xV=function vwe(n,t,e){if(!Pr(e))return!1;var i=typeof t;return!!("number"==i?ku(e)&&Av(t,e.length):"string"==i&&t in e)&&gu(e[t],n)},DV=function ywe(n){return $p(function(t,e){var i=-1,r=e.length,o=r>1?e[r-1]:void 0,a=r>2?e[2]:void 0;for(o=n.length>3&&"function"==typeof o?(r--,o):void 0,a&&xV(e[0],e[1],a)&&(o=r<3?void 0:o,r=1),t=Object(t);++ir?0:r+t),(e=e>r?r:e)<0&&(e+=r),r=t>e?0:e-t>>>0,t>>>=0;for(var o=Array(r);++i0&&e(s)?t>1?MV(s,t-1,e,i,r):jS(r,s):i||(r[r.length]=s)}return r},ck=function Pwe(n){return null!=n&&n.length?TV(n,1):[]},AV=function Lwe(n){return wV(CV(n,void 0,ck),n+"")};var Hwe=AV(function(n,t){var e={};if(null==n)return e;var i=!1;t=Au(t,function(o){return o=Iu(o,n),i||(i=o.length>1),o}),wu(n,qS(n),e),i&&(e=XS(e,7,Rwe));for(var r=t.length;r--;)Iwe(e,t[r]);return e});const dk=Hwe,Gwe=function Uwe(n){return n!=n},uk=function Qwe(n,t){return!(null==n||!n.length)&&function Ywe(n,t,e){return t==t?function qwe(n,t,e){for(var i=e-1,r=n.length;++i-1},hk=function Xwe(n,t,e){for(var i=-1,r=null==n?0:n.length;++i=200){var c=t?null:nxe(n);if(c)return JS(c);a=!1,r=Vp,l=new Pv}else l=t?[]:s;e:for(;++i((Ic=Ic||{}).AND="AND",Ic.OR="OR",Ic))();function IV(n){const t=zp(n).map(i=>(i.groupLogic||(i.groupLogic=Ic.AND),i));return sxe(Object.keys(wxe(t.slice(1),"groupLogic"))).length>1}var Ro=(()=>((Ro=Ro||{}).ASC="ASC",Ro.DESC="DESC",Ro))();function fk(n,t){if(li(t))return n?n.concat(t):t}class ha{constructor(t){this.variables=new ft(void 0),this.channels=new Map,t&&(this.channels=t.getChannelsCopy(),this.updateVariables())}set(t,e){e?this.channels.set(t,zp(e)):this.channels.delete(t),this.updateVariables()}get(t){return zp(this.channels.get(t))}merge(t,e){const i=this.channels.get(t);i?(il(i,zp(e),Vv),this.updateVariables()):this.set(t,e)}defaults(t,e){const i=this.channels.get(t);i?(Dwe(i,e),this.updateVariables()):this.set(t,e)}getChannelsCopy(){return new Map(this.channels)}updateVariables(){const t={};this.channels.forEach(e=>{if(e.filter){const i=this.mergeGroupList(t.filter&&t.filter.groups?t.filter.groups:[],e.filter.groups||[]);i&&i.length?t.filter?t.filter.groups=i:t.filter={groups:i}:il(t,{filter:e.filter},fk)}il(t,dk(e,"filter"),fk)}),this.variables.next(t)}mergeGroupList(t,e){if(0===t.length&&0===e.length)return[];if(0===t.length&&e.length>0)return e;if(0===e.length&&t.length>0)return t;const i=[];if(IV(t)||IV(e))throw Error("QueryVariables groups contain mixed group logics");return t.forEach(r=>{e.forEach(o=>{i.push(il(zp(r),o,fk))})}),i}}function OV(n){if(!n)return null;const t=n.getFullYear(),e=n.getMonth()+1,i=n.getDate();return t+"-"+(e<10?"0":"")+e+"-"+(i<10?"0":"")+i}function RV(n){const t={};return Object.keys(n).forEach(e=>{let i=n[e];null==i||(NV(i)?i=i.id:li(i)?i=i.map(r=>NV(r)?r.id:r):"object"==typeof i&&!(i instanceof File)&&!(i instanceof Date)&&(i=function HCe(n,t){if(null==n)return{};var e=Au(qS(n),function(i){return[i]});return t=fV(t),pV(n,e,function(i,r){return t(i,r[0])})}(i,(r,o)=>"__typename"!==o))),t[e]=i}),t}function NV(n){return!!n&&"object"==typeof n&&"id"in n&&!!n.id}function pk(n){return n.match(/[aeiou]y$/)?n+"s":(n+"s").replace(/ys$/,"ies").replace(/ss$/,"ses").replace(/xs$/,"xes")}function Oc(n){return n.charAt(0).toUpperCase()+n.slice(1)}function Vv(n,t){if(li(t))return t}function jp(n){return Object.values(n).forEach(t=>Object.isFrozen(t)||jp(t)),Object.freeze(n)}const Axe=xv` + query Mutations { + __type(name: "Mutation") { + fields { + name + args { + name + type { + ofType { + name + } + } + } + } + } + } +`;let FV=(()=>{class n{constructor(e){this.apollo=e}link(e,i,r=null,o={}){const a=Bp(o);return this.getMutation("link",e,i,r,a).pipe(xt(s=>this.execute(s)))}linkMany(e,i,r=null,o={}){return Ao(i.map(a=>this.link(e,a,r,o)))}unlink(e,i,r=null){return this.getMutation("unlink",e,i,r).pipe(xt(o=>this.execute(o)))}getAllMutationNames(){if(this.allMutations)return ee(this.allMutations);const e=i=>({name:i.name,type:i.type?.ofType?.name?.replace(/ID$/,"")||"should-never-happen"});return this.apollo.query({query:Axe,fetchPolicy:"cache-first"}).pipe(ue(({data:i})=>(this.allMutations=i.__type&&i.__type.fields?i.__type.fields.filter(r=>r.name.match(/^(link|unlink)/)).map(r=>({name:r.name,arg1:e(r.args[0]),arg2:e(r.args[1])})):[],this.allMutations)))}getMutation(e,i,r,o,a={}){o=o&&Oc(o);const s=e+i.__typename+(o||r.__typename),l=e+r.__typename+(o||i.__typename);return this.getAllMutationNames().pipe(ue(c=>{const d=c.find(u=>u.name===s)||c.find(u=>u.name===l);if(d)return this.buildTemplate(d,i,r,a);throw TypeError("API does not allow to "+e+" "+i.__typename+" and "+r.__typename)}))}execute(e){return this.apollo.mutate({mutation:xv(e)}).pipe(ue(i=>(this.apollo.client.reFetchObservableQueries(),i)))}buildTemplate(e,i,r,o={}){let a,s;i.__typename===e.arg1.type?(a=e.arg1.name,s=e.arg2.name):(a=e.arg2.name,s=e.arg1.name),o[a]=i.id,o[s]=r.id;let l="";for(const c of Object.keys(o))l+=c+": "+JSON.stringify(o[c])+" ";return`mutation linkAndUnlink {\n ${e.name}(${l}) {\n id\n }\n }`}}return n.\u0275fac=function(e){return new(e||n)(A(nl))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),PV=(()=>{class n{constructor(e,i,r){this.dialog=e,this.route=i,this.router=r,this.triggerConfig=this.route.snapshot.data.trigger;const{data:o,...a}=this.triggerConfig.dialogConfig,s={...a,data:{data:o,activatedRoute:this.route}};this.dialogRef=this.dialog.open(this.triggerConfig.component,s),this.dialogRef.beforeClosed().subscribe(l=>this.redirect(l))}ngOnDestroy(){this.dialogRef&&this.dialogRef.close(-1)}redirect(e){const i=null==e||""===e;-1!==e&&(i?i&&this.triggerConfig.afterClosedRoute?this.router.navigate(this.triggerConfig.afterClosedRoute):i&&this.router.navigate(["."],{relativeTo:this.route.parent}):this.router.navigate(e))}}return n.\u0275fac=function(e){return new(e||n)(g(Xs),g(Nr),g(Zn))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();const LV=new F("Configuration for SEO service");function Ixe(n){return n.replace(/<\/?[^>]+>/g,"")}let Oxe=(()=>{class n{constructor(e,i,r,o,a,s){this.router=i,this.titleService=r,this.metaTagService=o,this.document=a,this.locale=s,this.config={applicationName:""},Ls({config:e instanceof it?e.pipe(zt(this.config)):ee(e),navigationEnd:this.router.events.pipe(Pe(l=>l instanceof Ks))}).subscribe(({config:l})=>{this.config=l;const c=this.router.routerState.root.snapshot;this.routeData=this.getRouteData(c);const d=this.routeData.seo??{title:""},u=this.getDialogRouteData(c),h=u?.seo;let p=this.toBasic(d,this.routeData);if(u&&h){const v=this.toBasic(h,u);p={...v,title:this.join([v.title,p.title])}}this.update(p)})}update(e){const i=[e.title,this.config.extraPart&&this.routeData?this.config.extraPart(this.routeData):"",this.config.applicationName],r=this.join(i);this.titleService.setTitle(r),this.updateTag("description",e?.description??this.config.defaultDescription),this.updateTag("robots",e?.robots??this.config.defaultRobots);const s=this.config.languages?.length&&this.locale?this.locale.split("-")[0]:"",l=this.getUrlParts(e.canonicalQueryParamsWhitelist??[]);this.updateLinkTag({rel:"canonical",href:this.getUrl(l,s)}),this.updateAlternates(l)}updateAlternates(e){this.config.languages?.forEach(i=>{this.updateLinkTag({rel:"alternate",href:this.getUrl(e,i),hreflang:i})})}getUrlParts(e){let i="https://"+this.document.defaultView?.window.location.hostname;const r=this.router.parseUrl(this.router.url);if(r.root.hasChildren()){const a=r.root.children.primary.segments;a&&a.length>0&&(i+="/"+a.map(s=>s.path).join("/"))}let o="";for(const a of e)if(a in r.queryParams){const s=encodeURIComponent(a),l=encodeURIComponent(r.queryParams[a]);o.length&&(o+="&"),o+=`${s}=${l}`}return o.length&&(o="?"+o),{url:i,params:o}}getUrl(e,i){let r=e.url;return i&&(r=this.addLanguageSegment(r,i)),e.params&&(r+=e.params),r}addLanguageSegment(e,i){const r=new URL(e);return r.origin+("/"===r.pathname?`/${i}`:`/${i}${r.pathname}`)+r.search+r.hash}join(e){return e.filter(i=>!!i).join(" - ")}updateTag(e,i){i?this.metaTagService.updateTag({name:e,value:Ixe(i)}):this.metaTagService.removeTag(`name="${e}"`)}updateLinkTag(e){const i=this.document.head.querySelector(this.parseSelector(e))??this.document.head.appendChild(this.document.createElement("link"));i&&Object.keys(e).forEach(r=>{i.setAttribute(r,e[r])})}parseSelector(e){let i="link";return Object.keys(e).forEach(r=>{"href"!==r&&(i+=`[${r}="${e[r]}"]`)}),i}getRouteData(e){return e.firstChild?this.getRouteData(e.firstChild):e.data}getDialogRouteData(e){if(e.component===PV&&e.outlet!==tt)return e.data;for(const i of e.children){const r=this.getDialogRouteData(i);if(r)return r}return null}toBasic(e,i){if("function"==typeof e)return e(i);if("resolveKey"in e){const r=i[e.resolveKey];if(!r)throw new Error("Could not find resolved data for SEO service with key: "+e.resolveKey);return{title:r.model?.fullName??r.model?.name??"",description:r.model?.description,robots:e.robots}}return e}}return n.\u0275fac=function(e){return new(e||n)(A(LV),A(Zn),A(W1),A(S3),A(ge),A(bo))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Nxe=DV(function(n,t,e){lk(n,t,e)});const No=Nxe;function Up(n,t,e=null){if(!t)return[];const i=BV(n,t,e);return i?[i].concat(Up(n.slice(i.route.segments.length),t,e)):[]}function BV(n,t,e=null){if(!n.length)return null;for(const i of t){const r={},o=i.path.split("/");let a=!0;for(let s=0;s-1&&+n[s].path>0)r[o[s].replace(":","")]=n[s].path;else if(o[s]!==n[s].path){a=!1;break}}if(a){const s=n.reduce((l,c)=>No(l,c.parameters),{});return{component:i.component,injector:e,resolve:i.resolve??{},params:No(r,s),rule:i,route:{segments:n,path:n.map(l=>l.path).join("/")}}}}return n.length>1?BV(n.slice(0,-1),t,e):null}const VV=(n,t,e)=>{const i=function Fxe(n,t){return ck(Up(n,t).map(e=>e.route.segments))}(n,e.data?e.data.panelsRoutes:[]);return i.length?{consumed:i}:null},Gp=function Pxe(n,t){return ek(n,t)};var zxe=$p(function(n,t){var e=kV(t);return Hp(e)&&(e=void 0),Hp(n)?function Bxe(n,t,e,i){var r=-1,o=uk,a=!0,s=n.length,l=[],c=t.length;if(!s)return l;e&&(t=Au(t,Fp(e))),i?(o=hk,a=!1):t.length>=200&&(o=Vp,a=!1,t=new Pv(t));e:for(;++rr===t)||(t=zv[0]),e===mk&&(e=i!==mk?i:"",i=mk),[t,Hxe(e),!!i]}function qp(n){let[t]=jV(n);return t.indexOf("row")>-1}function Hxe(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function is(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}const Uxe={provide:o_,useFactory:function jxe(n,t){return()=>{if(Yl(t)){const e=Array.from(n.querySelectorAll(`[class*=${UV}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${UV}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[ge,Hr],multi:!0},UV="flex-layout-";let Gxe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Uxe]}),n})();class rl{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new rl(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let qxe=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){const o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const r=this.stylesheet.get(e);let o="";if(r){const a=r.get(i);("number"==typeof a||"string"==typeof a)&&(o=a+"")}return o}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Wxe={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},ol=new F("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Wxe}),Yxe=new F("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Kxe=new F("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function gk(n,t){return n=n?.clone()??new rl,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class rs{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let fa=(()=>{class n{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:HV(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){const r=this.layoutConfig.disableVendorPrefixes?e:HV(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){const i="flex-direction";let r=this.lookupStyle(e,i);return[r||"row",this.lookupInlineStyle(e,i)||Ex(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return Yl(this._platformId)?e.style.getPropertyValue(i):function Qxe(n,t){return GV(n)[t]??""}(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(Yl(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{const o=e[r],a=Array.isArray(o)?o:[o];a.sort();for(let s of a)s=s?s+"":"",Yl(this._platformId)||!this._serverModuleLoaded?Yl(this._platformId)?i.style.setProperty(r,s):Xxe(i,r,s):this._serverStylesheet.addStyleToElement(i,r,s)})}}return n.\u0275fac=function(e){return new(e||n)(A(qxe),A(Yxe),A(Hr),A(ol))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Xxe(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=GV(n);i[t]=e??"",function Jxe(n,t){let e="";for(const i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}(n,i)}function GV(n){const t={},e=n.getAttribute("style");if(e){const i=e.split(/;+/g);for(let r=0;r0){const a=o.indexOf(":");if(-1===a)throw new Error(`Invalid CSS style: ${o}`);t[o.substr(0,a).trim()]=o.substr(a+1).trim()}}}return t}function Ru(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function Zxe(n,t){return(n.priority||0)-(t.priority||0)}let Hv=(()=>{class n{constructor(e,i,r){this._zone=e,this._platformId=i,this._document=r,this.source=new ft(new rl(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){const r=this._observable$.pipe(Pe(a=>!i||e.indexOf(a.mediaQuery)>-1));return dt(new it(a=>{const s=this.registerQuery(e);if(s.length){const l=s.pop();s.forEach(c=>{a.next(c)}),this.source.next(l)}a.complete()}),r)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],r=[];return function e1e(n,t){const e=n.filter(i=>!qV[i]);if(e.length>0){const i=e.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),t.head.appendChild(r),e.forEach(o=>qV[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const a=l=>{this._zone.run(()=>this.source.next(new rl(l.matches,o)))};let s=this.registry.get(o);s||(s=this.buildMQL(o),s.addListener(a),this.pendingRemoveListenerFns.push(()=>s.removeListener(a)),this.registry.set(o,s)),s.matches&&r.push(new rl(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function n1e(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):function t1e(n){const t=new EventTarget;return t.matches="all"===n||""===n,t.media=n,t.addListener=()=>{},t.removeListener=()=>{},t.addEventListener=()=>{},t.dispatchEvent=()=>!1,t.onchange=null,t}(n)}(e,Yl(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(A(de),A(Hr),A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qV={},i1e=/(\.|-|_)/g;function r1e(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const l1e=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],WV="(orientation: portrait) and (max-width: 599.98px)",YV="(orientation: landscape) and (max-width: 959.98px)",KV="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",QV="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",XV="(orientation: portrait) and (min-width: 840px)",JV="(orientation: landscape) and (min-width: 1280px)",as={HANDSET:`${WV}, ${YV}`,TABLET:`${KV} , ${QV}`,WEB:`${XV}, ${JV} `,HANDSET_PORTRAIT:`${WV}`,TABLET_PORTRAIT:`${KV} `,WEB_PORTRAIT:`${XV}`,HANDSET_LANDSCAPE:`${YV}`,TABLET_LANDSCAPE:`${QV}`,WEB_LANDSCAPE:`${JV}`},c1e=[{alias:"handset",priority:2e3,mediaQuery:as.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:as.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:as.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:as.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:as.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:as.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:as.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:as.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:as.WEB_PORTRAIT,overlapping:!0}],d1e=new F("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=ne(Kxe),t=ne(ol),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function s1e(n,t=[]){const e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?is(e[i.alias],i):e[i.alias]=i}),function a1e(n){return n.forEach(t=>{t.suffix||(t.suffix=function o1e(n){return n.replace(i1e,"|").split("|").map(r1e).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(i=>e[i]))}((t.disableDefaultBps?[]:l1e).concat(t.addOrientationBps?c1e:[]),e)}});let $v=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(Zxe)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}}return n.\u0275fac=function(e){return new(e||n)(A(d1e))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Nu="print",u1e={alias:Nu,mediaQuery:Nu,priority:1e3};let ZV=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new h1e,this.deactivations=[]}withPrintQuery(e){return[...e,Nu]}isPrintEvent(e){return e.mediaQuery.startsWith(Nu)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Ru)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),gk(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new rl(!0,Nu))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const o=this.formerActivations&&this.formerActivations.includes(r),a=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||a)&&(this.deactivations.push(r),this.deactivations.sort(Ru))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(A($v),A(ol),A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class h1e{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(u1e),t.sort(Ru),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function f1e(n){return n?.mediaQuery.startsWith(Nu)??!1}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let ss=(()=>{class n{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new q,this.observeActivations()}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=gk(e,i);const r=this.activatedBreakpoints.indexOf(i);e.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Ru),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Ru),this.updateStyles())}}init(e,i,r,o,a=[]){e6(this.updateMap,e,i,r),e6(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,a)}getValue(e,i,r){const o=this.elementMap.get(e);if(o){const a=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(a)return a.get(i)}}hasValue(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(e,i,r,o){let a=this.elementMap.get(e);if(a){const l=(a.get(o)??new Map).set(i,r);a.set(o,l),this.elementMap.set(e,a)}else a=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(e,a);const s=this.getValue(e,i);void 0!==s&&this.updateElement(e,i,s)}trackValue(e,i){return this.subject.asObservable().pipe(Pe(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(e);o&&o.forEach((a,s)=>{this.updateElement(i,s,a),r.delete(s)}),r.forEach(a=>{if(o=this.getActivatedValues(e,a),o){const s=o.get(a);this.updateElement(i,a,s)}else this.clearElement(i,a)})})}clearElement(e,i){const r=this.clearMap.get(e);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){const o=this.updateMap.get(e);if(o){const a=o.get(i);a&&(a(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((o,a)=>r.delete(a)),this.elementMap.delete(e))}triggerUpdate(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((a,s)=>this.updateElement(e,s,a)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){const s=dt(...r).subscribe(()=>{const l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,s)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;oi.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Ht(this.hook.interceptEvents(this)),Pe(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(A(Hv),A($v),A(ZV))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function e6(n,t,e,i){if(void 0!==i){const r=n.get(t)??new Map;r.set(e,i),n.set(t,r)}}let al=(()=>{class n{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new q,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const r=this.styleBuilder,o=r.shouldCache;let a=this.styleCache.get(e);(!a||!o)&&(a=r.buildStyles(e,i),o&&this.styleCache.set(e,a)),this.mru={...a},this.applyStyleToElement(a),r.sideEffect(e,a,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[r,o]=this.styler.getFlowDirection(e);if(!o&&i){const a=$V(r);this.styler.applyStyleToElements(a,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(rs),g(fa),g(ss))},n.\u0275dir=R({type:n,features:[Je]}),n})();EventTarget;let t6=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.matchMedia=i,this.hook=r,this.filterOverlaps=!1,this.destroyed$=new q,this._media$=this.watchActivations()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(e){return function b1e(n){return n.flatMap(t=>t.split(",")).map(t=>t.trim())}(function g1e(n){return Array.isArray(n)?n:[n]}(e)).some(r=>{const o=function _1e(n,t){return(t.findByAlias(n)??t.findByQuery(n))?.mediaQuery??null}(r,this.breakpoints);return null!==o&&this.matchMedia.isActive(o)})}watchActivations(){const e=this.breakpoints.items.map(i=>i.mediaQuery);return this.buildObservable(e)}buildObservable(e){return this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Pe(a=>a.matches),Ps(0,U_),xt(a=>ee(this.findAllActivations())),ue(a=>this.filterOverlaps?a.filter(s=>this.breakpoints.findByQuery(s.mediaQuery)?.overlapping??!0):a),Pe(a=>a.filter(l=>l.mediaQuery.length>0).length>0),Cs((a,s)=>{if(a.length!==s.length)return!1;const l=a.map(u=>u.mediaQuery),c=new Set(s.map(u=>u.mediaQuery));return 0===new Set(l.filter(u=>!c.has(u))).size}),se(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(r=>new rl(!0,r)).map(r=>this.hook.isPrintEvent(r)?this.hook.updateEvent(r):r).map(r=>gk(r,this.breakpoints.findByQuery(r.mediaQuery))).sort(Ru)}}return n.\u0275fac=function(e){return new(e||n)(A($v),A(Hv),A(ZV))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function n6(n,t="1",e="1"){let i=[t,e,n],r=n.indexOf("calc");if(r>0){i[2]=i6(n.substring(r).trim());let o=n.substr(0,r).trim().split(" ");2==o.length&&(i[0]=o[0],i[1]=o[1])}else if(0==r)i[2]=i6(n.trim());else{let o=n.split(" ");i=3===o.length?o:[t,e,n]}return i}function i6(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function jv(n,t){if(void 0===t)return n;const e=i=>{const r=+i.slice(0,-1);return n.endsWith("x")&&!isNaN(r)?`${r*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}function o6(n){return n.map(t=>t.toString()).join("/")}function a6(n,t){return n.route.path===t.route.path&&n.rule===t.rule&&Gp(n.params,t.params)}let s6=(()=>{class n{static get opened(){return this._opened}constructor(e,i,r,o,a){this.router=e,this.dialog=i,this.injector=r,this.hooksConfig=o,this.mediaService=a,this.afterAllClosed=new q,this.counter=1,this.panelClass="panel",this.oldFullConfig=[],this.panelsOffsetH=35,this.panelsOffsetV=40,this.media=null,this.mediaService.asObservable().subscribe(s=>{for(const l of s)this.media?this.media!==l.mqAlias&&(this.media=l.mqAlias,this.updateComponentsPosition()):this.media=l.mqAlias})}start(e){n._opened=!0,this.routeSub=e.url.subscribe(i=>{this.updatePanels(i,e.snapshot.data.panelsRoutes)}),this.navSub=this.router.events.subscribe(i=>{if(!(i instanceof zb))return;if(i.url.endsWith("/"))return this.stop(),void this.router.navigateByUrl("panels-reached-invalid-url");this.counter++;const r=i.url+";pc="+this.counter,o=(new Ob).parse(r).root.children.primary.segments,a=Up(o,e.snapshot.data.panelsRoutes,this.injector);if(a.length)return this.appendConfigToCurrentUrl(a);const c=Up(ck(this.dialog.openDialogs.map(d=>d.componentInstance.panelData.config.route.segments)).slice(-1).concat(o),e.snapshot.data.panelsRoutes,this.injector);return this.appendConfigToCurrentUrl(c)})}appendConfigToCurrentUrl(e){const i=this.router.errorHandler;e&&(this.router.errorHandler=()=>{});const r=e.map(o=>o6(o.route.segments)).join("/");this.router.navigateByUrl(this.router.url+"/"+r).then(()=>{this.router.errorHandler=i})}stop(){n._opened=!1,this.routeSub?.unsubscribe(),this.navSub?.unsubscribe(),this.dialog.closeAll(),this.oldFullConfig=[],this.afterAllClosed.next()}goToPanelByComponent(e){this.goToPanelByIndex(this.getPanelIndex(e))}goToPenultimatePanel(){this.goToPanelByIndex(this.dialog.openDialogs.length-2)}goToPanelByIndex(e){const i=this.dialog.openDialogs.slice(e+1).map(r=>o6(r.componentInstance.panelData.config.route.segments)).join("/");this.router.navigateByUrl(this.router.url.replace("/"+i,""))}selectPanelByIndex(e){const i=this.dialog.openDialogs[this.dialog.openDialogs.length-1];this.updateComponentsPosition();for(let r=this.dialog.openDialogs.length-1;r>=e+1;r--)this.dialog.openDialogs[r].close();return i.afterClosed()}updatePanels(e,i){const r=Up(e,i,this.injector),o=zV(this.oldFullConfig,r,a6),a=zV(r,this.oldFullConfig,a6),s=this.oldFullConfig.length-o.length-1;o.length&&a.length?this.selectPanelByIndex(s).subscribe(()=>{this.openPanels(a,r).subscribe(()=>this.updateComponentsPosition())}):o.length&&!a.length?this.selectPanelByIndex(s).subscribe(()=>this.updateComponentsPosition()):!o.length&&a.length&&this.openPanels(a,r).subscribe(()=>this.updateComponentsPosition()),this.oldFullConfig=r}openPanels(e,i){const r=new q;return Ao(e.map(a=>this.getResolvedData(a))).subscribe(a=>{for(let s=0;s{r.next(null)})}),r}getResolvedData(e){if(!e.resolve||e.resolve&&0===Object.keys(e.resolve).length)return ee({});const i=Object.keys(e.resolve),r={},o=e.injector;return o&&i.forEach(a=>{r[a]=function PW(n,t){n instanceof VC&&n.assertNotDestroyed();const e=xs(n),i=nr(void 0);try{return t()}finally{xs(e),nr(i)}}(o,()=>e.resolve[a](e))}),Ao(r).pipe(ue(a=>a.model||a))}openPanel(e,i){const o=this.dialog.open(e,{panelClass:this.panelClass,closeOnNavigation:!1,hasBackdrop:0===this.dialog.openDialogs.length,height:"100%",width:"960px",position:{top:"0",right:"0"}});o.componentInstance.initPanel(i),o.beforeClosed().subscribe(()=>{const a=this.getPanelIndex(o.componentInstance);this.goToPanelByIndex(a-1)})}getPanelIndex(e){return e?this.dialog.openDialogs.findIndex(i=>i.componentInstance===e):-1}updateComponentsPosition(){if(!this.dialog.openDialogs.length)return;const e=this.dialog.openDialogs;for(let i=0;i1&&(a={top:i*this.panelsOffsetV+"px",right:"0px"}),r.updatePosition(a)}}}return n._opened=!1,n.\u0275fac=function(e){return new(e||n)(A(Zn),A(Xs),A(Yt),A(NB),A(t6))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),l6=(()=>{class n{constructor(e,i){this.panelsService=e,this.panelsService.start(i)}ngOnDestroy(){this.panelsService.stop()}}return n.\u0275fac=function(e){return new(e||n)(g(s6),g(Nr))},n.\u0275cmp=$({type:n,selectors:[["natural-panels"]],standalone:!0,features:[Se],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();const c6=new it(vh);var D1e=AV(function(n,t){return null==n?{}:function w1e(n,t){return pV(n,t,function(e,i){return hV(n,i)})}(n,t)});const Uv=D1e;var d6=Object.prototype,S1e=d6.hasOwnProperty,k1e=$p(function(n,t){n=Object(n);var e=-1,i=t.length,r=i>2?t[2]:void 0;for(r&&xV(t[0],t[1],r)&&(i=1);++e(this.throwIfNotQuery(this.oneQuery),this.apollo.watchQuery({query:this.oneQuery,variables:e,fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-only"}).valueChanges)),Pe(e=>!!e.data),MP(e=>e.networkStatus!==Ke.ready,!0),ue(e=>e.data[this.name]))}getAll(t){return this.throwIfNotQuery(this.allQuery),this.getPartialVariablesForAll().pipe(eo(),xt(e=>{this.throwIfNotQuery(this.allQuery);const i=new ha(t);return i.merge("partial-variables",e),this.apollo.query({query:this.allQuery,variables:i.variables.value,fetchPolicy:"network-only"})}),this.mapAll())}watchAll(t,e="cache-and-network"){return this.throwIfNotQuery(this.allQuery),Ls({variables:t.variables.pipe(Ps(20),Pe(i=>typeof i<"u")),partialVariables:this.getPartialVariablesForAll()}).pipe(xt(i=>{const r=new ha(t);return r.merge("partial-variables",i.partialVariables),this.throwIfNotQuery(this.allQuery),this.apollo.watchQuery({query:this.allQuery,variables:r.variables.value,fetchPolicy:e}).valueChanges.pipe(to(()=>vn),Pe(o=>!!o.data),this.mapAll())}))}createOrUpdate(t,e=!1){this.throwIfObservable(t),this.throwIfNotQuery(this.createMutation),this.throwIfNotQuery(this.updateMutation);const i=this.creatingCache.get(t);if(i)return i.pipe(xt(()=>this.update(t)));if("id"in t&&t.id)return e?this.updateNow(t):this.update(t);const r=this.create(t).pipe(Ht(()=>{this.creatingCache.delete(t)}));return this.creatingCache.set(t,r.pipe(c1())),r}create(t){this.throwIfObservable(t),this.throwIfNotQuery(this.createMutation);const e=No({},{input:this.getInput(t)},this.getPartialVariablesForCreation(t));return this.apollo.mutate({mutation:this.createMutation,variables:e}).pipe(ue(i=>{this.apollo.client.reFetchObservableQueries();const r=this.mapCreation(i);return r&&il(t,r,Vv)}))}update(t){return this.throwIfObservable(t),this.throwIfNotQuery(this.updateMutation),this.naturalDebounceService.debounce(this,t.id,this.updateNow(t))}updateNow(t){this.throwIfObservable(t),this.throwIfNotQuery(this.updateMutation);const e=No({id:t.id,input:this.getInput(t)},this.getPartialVariablesForUpdate(t));return this.apollo.mutate({mutation:this.updateMutation,variables:e}).pipe(ue(i=>{this.apollo.client.reFetchObservableQueries();const r=this.mapUpdate(i);return il(t,r,Vv)}))}updatePartially(t){this.throwIfObservable(t),this.throwIfNotQuery(this.updateMutation);const e={id:t.id,input:dk(RV(t),"id")};return this.apollo.mutate({mutation:this.updateMutation,variables:e}).pipe(ue(i=>(this.apollo.client.reFetchObservableQueries(),this.mapUpdate(i))))}delete(t){this.throwIfObservable(t),this.throwIfNotQuery(this.deleteMutation);const e=t.map(r=>(this.naturalDebounceService.cancel(this,r.id),r.id)),i=No({ids:e},this.getPartialVariablesForDelete(t));return this.apollo.mutate({mutation:this.deleteMutation,variables:i}).pipe(xt(r=>{const o=this.mapDelete(r);return yn(this.apollo.client.reFetchObservableQueries()).pipe(ue(()=>o))}))}resolve(t){let e;return e=t?this.getOne(t):ee(this.getDefaultForServer()),e.pipe(ue(i=>({model:i})))}getInput(t){t=RV(t);const e=this.getDefaultForServer();let i=Uv(t,Object.keys(e));return i=Gv(i,e),i}count(t){const e=pk(this.name),i="Count"+Oc(e),r=Oc(this.name)+"Filter",o=xv` + query ${i} ($filter: ${r}) { + count: ${e} (filter: $filter, pagination: {pageSize: 0, pageIndex: 0}) { + length + } + }`;return this.getPartialVariablesForAll().pipe(xt(a=>{const s=new ha(t);return s.merge("partial-variables",a),this.apollo.query({query:o,variables:s.variables.value,fetchPolicy:"network-only"})}),ue(a=>a.data.count.length))}getDefaultForServer(){return{}}getFormExtraFieldDefaultValues(){return{}}mapAll(){const t=pk(this.name);return ue(e=>e.data[t])}mapCreation(t){const e="create"+Oc(this.name);return t.data[e]}mapUpdate(t){const e="update"+Oc(this.name);return t.data[e]}mapDelete(t){const e="delete"+pk(Oc(this.name));return t.data[e]}getPartialVariablesForOne(){return ee({})}getPartialVariablesForAll(){return ee({})}getPartialVariablesForCreation(t){return{}}getPartialVariablesForUpdate(t){return{}}getPartialVariablesForDelete(t){return{}}throwIfObservable(t){if(t instanceof it)throw new Error("Cannot use Observable as variables. Instead you should use .subscribe() to call the method with a real value")}getVariablesForOne(t){return this.getPartialVariablesForOne().pipe(ue(e=>No({},{id:t},e)))}throwIfNotQuery(t){if(!t)throw new Error("GraphQL query for this method was not configured in this service constructor")}}function u6(n,t){return t?e=>$d(t.pipe(lt(1),function E1e(){return qt((n,t)=>{n.subscribe(Vt(t,vh))})}()),e.pipe(u6(n))):Gn((e,i)=>ni(n(e,i)).pipe(lt(1),Ab(e)))}function fi(n,t=Hd){const e=nc(n,t);return u6(()=>e)}function h6(n,t){return n&&(n.find(e=>null!=e.name&&e.name===t.name)||n.find(e=>e.field===t.field))||null}function Fu(n){return JSON.parse(JSON.stringify(n))}function M1e(...n){return n.length?qt((t,e)=>{!function f6(n){return t=>{let e=[];for(let i=0;e&&!t.closed&&i{if(e){for(let o=0;o{class n{constructor(){this.flusher=new q,this.allDebouncedUpdateCache=new Map}debounce(e,i,r){const o=this.getMap(e);let a=o.get(i);if(a)a.source=r;else{const s=new HP(1);let l=!1;const c=new q;c.subscribe(()=>{l=!0,s.complete(),c.complete(),this.delete(e,i)}),a={debouncer:s,canceller:c,source:r,result:s.pipe(Ps(2e3),M1e(this.flusher),lt(1),Gn(()=>(this.delete(e,i),l||!a?vn:a.source)),c1())},o.set(i,a)}return a.debouncer.next(),a.result}cancel(e,i){this.allDebouncedUpdateCache.get(e)?.get(i)?.canceller.next()}flush(){const e=[];return this.allDebouncedUpdateCache.forEach(i=>i.forEach(r=>{e.push(r.result.pipe(to(()=>ee(void 0))))})),e.length||e.push(ee(void 0)),new it(i=>{const r=Ao(e).pipe(ue(()=>{})).subscribe(i);return this.flusher.next(),r})}get count(){let e=0;return this.allDebouncedUpdateCache.forEach(i=>e+=i.size),e}getMap(e){let i=this.allDebouncedUpdateCache.get(e);return i||(i=new Map,this.allDebouncedUpdateCache.set(e,i)),i}delete(e,i){const r=this.allDebouncedUpdateCache.get(e);r&&(r.delete(i),r.size||this.allDebouncedUpdateCache.delete(e))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ti=(()=>{class n extends _k{constructor(e,i){super(e,i,"user",null,null,null,null,null),this.id=1,this.cachedPaginatedItems=new p6,this.cachedCount=new p6}getItem(e=!1,i=0,r){const o=r??this.id++;return jp({__typename:"Item",id:""+o,name:"name-"+o,description:"description-"+o,children:jp(e?[this.getItem(),this.getItem()]:[]),parent:i>0?this.getItem(e,i-1):null})}getItems(e){return ee(this.cachedPaginatedItems.get(e,()=>{const r=e.variables.value?.filter?.groups?.[0]?.conditions?.[0]?.id?.in?.values;if(r){const o=r.map(a=>this.getItem(!0,0,a));return jp({items:o,length:o.length,pageIndex:0,pageSize:Math.max(5,o.length)})}return jp({items:[this.getItem(!0),this.getItem(!0),this.getItem(!0),this.getItem(!0),this.getItem(!0)],length:20,pageIndex:0,pageSize:5})})).pipe(fi(500))}watchAll(e){return e.variables.pipe(xt(()=>this.getItems(e)))}getAll(e){return this.getItems(e)}getOne(e){return ee(this.getItem(!0,2,e))}getFormExtraFieldDefaultValues(){return{name:"",description:"",children:[],parent:null}}getFormValidators(){return{name:[$t.required,$t.maxLength(10)],description:[$t.maxLength(20)]}}count(e){return ee(this.cachedCount.get(e,()=>{const r=[0,5,10];return r[Math.floor(Math.random()*r.length)]})).pipe(fi(500),function C1e(...n){return function y1e(...n){const t=Kc(n);return qt((e,i)=>{$F()(yn([e,...n],t)).subscribe(i)})}(...n)}(c6))}create(e){return ee({...e,id:this.id++}).pipe(fi(500))}delete(){return ee(!0).pipe(fi(500))}}return n.\u0275fac=function(e){return new(e||n)(A(nl),A(qv))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class p6{constructor(){this.cache=new Map}get(t,e){const i=this.getCacheKey(t);let r=this.cache.get(i);return typeof r>"u"&&(r=e(),this.cache.set(i,r)),r}getCacheKey(t){const e=Fu(t.variables.value??{});return e&&(e.filter??={}),this.stringify(e)}stringify(t){const e=[];return JSON.stringify(t,(i,r)=>(e.push(i),r)),e.sort(),JSON.stringify(t,e)}}function bk(){const n=ne(Ti);return console.warn("resolve any"),ee({model:n.getItem(!0)})}const T1e=[[["caption"]],[["colgroup"],["col"]]],A1e=["caption","colgroup, col"];function vk(n){return class extends n{get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=te(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}}}const Pu=new F("CDK_TABLE");let Lu=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkCellDef",""]]}),n})(),Bu=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),Wv=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class N1e{}const F1e=vk(N1e);let ls=(()=>{class n extends F1e{get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=te(e),this._hasStickyChanged=i!==this._stickyEnd}constructor(e){super(),this._table=e,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(g(Pu,8))},n.\u0275dir=R({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,Lu,5),Ee(r,Bu,5),Ee(r,Wv,5)),2&e){let o;U(o=G())&&(i.cell=o.first),U(o=G())&&(i.headerCell=o.first),U(o=G())&&(i.footerCell=o.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[ae([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),N]}),n})();class yk{constructor(t,e){e.nativeElement.classList.add(...t._columnCssClassName)}}let Ck=(()=>{class n extends yk{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(g(ls),g(W))},n.\u0275dir=R({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[N]}),n})(),m6=(()=>{class n extends yk{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(g(ls),g(W))},n.\u0275dir=R({type:n,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[N]}),n})(),wk=(()=>{class n extends yk{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(g(ls),g(W))},n.\u0275dir=R({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[N]}),n})();class g6{constructor(){this.tasks=[],this.endTasks=[]}}const xk=new F("_COALESCED_STYLE_SCHEDULER");let _6=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new q}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new g6,this._getScheduleObservable().pipe(se(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new g6;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?yn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(lt(1))}}return n.\u0275fac=function(e){return new(e||n)(A(de))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),Dk=(()=>{class n{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const 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 Wp?e.headerCell.template:this instanceof Yp?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr))},n.\u0275dir=R({type:n,features:[Je]}),n})();class P1e extends Dk{}const L1e=vk(P1e);let Wp=(()=>{class n extends L1e{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr),g(Pu,8))},n.\u0275dir=R({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[N,Je]}),n})();class B1e extends Dk{}const V1e=vk(B1e);let Yp=(()=>{class n extends V1e{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr),g(Pu,8))},n.\u0275dir=R({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[N,Je]}),n})(),Yv=(()=>{class n extends Dk{constructor(e,i,r){super(e,i),this._table=r}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr),g(Pu,8))},n.\u0275dir=R({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[N]}),n})(),cs=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(g(Ft))},n.\u0275dir=R({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Sk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[cs],encapsulation:2}),n})(),Ek=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[cs],encapsulation:2}),n})(),Kv=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const b6=["top","bottom","left","right"];class z1e{constructor(t,e,i,r,o=!0,a=!0,s){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,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(t,e){const i=[];for(const r of t)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(t,e,i,r=!0){if(!t.length||!this._isBrowser||!e.some(h=>h)&&!i.some(h=>h))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=t[0],a=o.children.length,s=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(s,e),c=this._getStickyEndColumnPositions(s,i),d=e.lastIndexOf(!0),u=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const h="rtl"===this.direction,p=h?"right":"left",v=h?"left":"right";for(const y of t)for(let w=0;we[w]?y:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:s.slice(u).map((y,w)=>i[w+u]?y:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const r="bottom"===i?t.slice().reverse():t,o="bottom"===i?e.slice().reverse():e,a=[],s=[],l=[];for(let d=0,u=0;d{for(let d=0;d{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const r of e)t.style[r]="",t.classList.remove(this._borderCellCss[r]);b6.some(r=>-1===e.indexOf(r)&&t.style[r])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,r){t.classList.add(this._stickCellCss),r&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of b6)t.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=t.children;for(let o=0;o0;o--)e[o]&&(i[o]=r,r+=t[o]);return i}}const Mk=new F("CDK_SPL");let Qv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","rowOutlet",""]]}),n})(),Xv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),Jv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Zv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),ey=(()=>{class n{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=te(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=te(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,r,o,a,s,l,c,d,u,h,p){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=a,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=d,this._viewportRuler=u,this._stickyPositioningListener=h,this._ngZone=p,this._onDestroy=new q,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._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new j,this.viewChange=new ft({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(se(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const 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()}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(),X_(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&de.isInAngularZone()?this._ngZone.onStable.pipe(lt(1),se(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),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(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const o=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,o,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const o=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,o,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,o),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){const 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((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{const a=[];for(let s=0;s{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const s=r&&r.has(a)?r.get(a):[];if(s.length){const l=s.shift();return l.dataIndex=i,l}return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ty(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=ty(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ty(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ty(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(a,s)=>a||!!s.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],X_(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;X_(this.dataSource)?e=this.dataSource.connect(this):Eb(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ee(this.dataSource)),this._renderChangeSubscription=e.pipe(se(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){const r=Array.from(i.columns||[]).map(s=>this._columnDefsByName.get(s)),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r!o.when||o.when(i,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,o={}){const a=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),a}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))cs.mostRecentCellOutlet&&cs.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const o=this._document.createElement(r.tag);o.setAttribute("role","rowgroup");for(const a of r.outlets)o.appendChild(a.elementRef.nativeElement);e.appendChild(o)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const 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(){this._stickyStyler=new z1e(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ee()).pipe(se(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const r=this._noDataRowOutlet.viewContainer;if(i){const o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];1===o.rootNodes.length&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(e){return new(e||n)(g(Gr),g(ze),g(W),wi("role"),g(Qt,8),g(ge),g(yt),g(Wf),g(xk),g(qa),g(Mk,12),g(de,8))},n.\u0275cmp=$({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,Kv,5),Ee(r,ls,5),Ee(r,Yv,5),Ee(r,Wp,5),Ee(r,Yp,5)),2&e){let o;U(o=G())&&(i._noDataRow=o.first),U(o=G())&&(i._contentColumnDefs=o),U(o=G())&&(i._contentRowDefs=o),U(o=G())&&(i._contentHeaderRowDefs=o),U(o=G())&&(i._contentFooterRowDefs=o)}},viewQuery:function(e,i){if(1&e&&(ye(Qv,7),ye(Xv,7),ye(Jv,7),ye(Zv,7)),2&e){let r;U(r=G())&&(i._rowOutlet=r.first),U(r=G())&&(i._headerRowOutlet=r.first),U(r=G())&&(i._footerRowOutlet=r.first),U(r=G())&&(i._noDataRowOutlet=r.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&ce("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ae([{provide:Pu,useExisting:n},{provide:Wf,useClass:tL},{provide:xk,useClass:_6},{provide:Mk,useValue:null}])],ngContentSelectors:A1e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(qe(T1e),re(0),re(1,1),Gi(2,0)(3,1)(4,2)(5,3))},dependencies:[Qv,Xv,Jv,Zv],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})();function ty(n,t){return n.concat(Array.from(t))}let $1e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[o1]}),n})();const j1e=[[["caption"]],[["colgroup"],["col"]]],U1e=["caption","colgroup, col"];let Kp=(()=>{class n extends ey{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[ae([{provide:ey,useExisting:n},{provide:Pu,useExisting:n},{provide:xk,useClass:_6},{provide:Wf,useClass:tL},{provide:Mk,useValue:null}]),N],ngContentSelectors:U1e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(qe(j1e),re(0),re(1,1),Gi(2,0)(3,1)(4,2)(5,3))},dependencies:[Qv,Xv,Jv,Zv],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.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}.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__cell--checkbox{width:1px}.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__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.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__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{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__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}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-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}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-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color: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}),n})(),Vu=(()=>{class n extends Lu{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matCellDef",""]],features:[ae([{provide:Lu,useExisting:n}]),N]}),n})(),zu=(()=>{class n extends Bu{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matHeaderCellDef",""]],features:[ae([{provide:Bu,useExisting:n}]),N]}),n})(),y6=(()=>{class n extends Wv{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matFooterCellDef",""]],features:[ae([{provide:Wv,useExisting:n}]),N]}),n})(),Hu=(()=>{class n extends ls{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[ae([{provide:ls,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),N]}),n})(),$u=(()=>{class n extends Ck{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[N]}),n})(),C6=(()=>{class n extends m6{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[N]}),n})(),ju=(()=>{class n extends wk{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[N]}),n})(),Qp=(()=>{class n extends Wp{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[ae([{provide:Wp,useExisting:n}]),N]}),n})(),Xp=(()=>{class n extends Yv{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[ae([{provide:Yv,useExisting:n}]),N]}),n})(),Jp=(()=>{class n extends Sk{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ae([{provide:Sk,useExisting:n}]),N],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[cs],encapsulation:2}),n})(),Zp=(()=>{class n extends Ek{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ae([{provide:Ek,useExisting:n}]),N],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[cs],encapsulation:2}),n})(),ny=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,$1e,Ue]}),n})();class X1e extends p1{get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}constructor(t=[]){super(),this._renderData=new ft([]),this._filter=new ft(""),this._internalPageChanges=new q,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const r=e[i];if(PF(r)){const o=Number(r);return o<9007199254740991?o:r}return r},this.sortData=(e,i)=>{const r=i.active,o=i.direction;return r&&""!=o?e.sort((a,s)=>{let l=this.sortingDataAccessor(a,r),c=this.sortingDataAccessor(s,r);const d=typeof l,u=typeof c;d!==u&&("number"===d&&(l+=""),"number"===u&&(c+=""));let h=0;return null!=l&&null!=c?l>c?h=1:l{const r=Object.keys(e).reduce((a,s)=>a+e[s]+"\u25ec","").toLowerCase(),o=i.trim().toLowerCase();return-1!=r.indexOf(o)},this._data=new ft(t),this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?dt(this._sort.sortChange,this._sort.initialized):ee(null),e=this._paginator?dt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ee(null),r=Ls([this._data,this._filter]).pipe(ue(([s])=>this._filterData(s))),o=Ls([r,t]).pipe(ue(([s])=>this._orderData(s))),a=Ls([o,e]).pipe(ue(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const 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}}class J1e extends X1e{}let ds=(()=>{class n{constructor(){this.ngUnsubscribe=new q}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n}),n})();function Uu(n){let t=null;return(n instanceof Vn||n instanceof db)&&(t=Object.entries(n.controls).reduce((e,[i,r])=>{const o=Uu(r);return o&&(e={...e,[i]:o}),e},null)),t||(t=n.errors),t}function sl(n){if(n.markAsDirty({onlySelf:!0}),n.markAsTouched({onlySelf:!0}),n instanceof Vn||n instanceof db)for(const[,t]of Object.entries(n.controls))sl(t)}function Z1e(n){return"VALID"===n}function em(n){return(n.pending?n.statusChanges.pipe(eo()):ee(n.status)).pipe(Pe(Z1e))}function w6(n){const t=new RegExp(`^-?\\d+(\\.\\d{0,${n}})?$`);return e=>null==e.value||""===e.value||(""+e.value).match(t)?null:{decimal:n}}$t.pattern(/^https?:\/\/(?:[^.\s]+\.)+[^.\s]+$/),w6(2);let nDe=(()=>{class n extends ds{constructor(e){super(),this.service=e,this.formArray=new aoe([]),this.variablesManager=new ha,this.dataSource=new J1e,this.form=new x1({rows:this.formArray}),this.dataSource.data=this.formArray.controls,this.variablesManager.set("pagination",{pagination:{pageSize:999,pageIndex:0}})}setItems(e){this.formArray.clear(),this.addItems(e)}addItems(e){e.forEach(i=>{const r=No(this.service.getDefaultForServer(),i),o=this.service.getFormGroup(r);this.formArray.push(o)}),this.dataSource.data=this.formArray.controls}removeAt(e){this.formArray.removeAt(e),this.dataSource.data=this.formArray.controls}addEmpty(){this.addItems([{}])}getItems(){return this.formArray.getRawValue()}validateForm(){sl(this.form)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N]}),n})();function tm(n){n||(function cO(n){if(!kT()&&!function aU(){return Qc}())throw new z(-203,!1)}(),n=ne(hw));const t=new it(e=>n.onDestroy(e.next.bind(e)));return e=>e.pipe(se(t))}const M6=Do({passive:!0});let fDe=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return vn;const i=Ua(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new q,a="cdk-text-field-autofilled",s=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",s,M6),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",s,M6)}}),o}stopMonitoring(e){const i=Ua(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(A(yt),A(de))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pDe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const T6=new F("MAT_INPUT_VALUE_ACCESSOR"),mDe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let gDe=0;const _De=Xx(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new q}});let Ai=(()=>{class n extends _De{get disabled(){return this._disabled}set disabled(e){this._disabled=te(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($t.required)??!1}set required(e){this._required=te(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&NF().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=te(e)}constructor(e,i,r,o,a,s,l,c,d,u){super(s,o,a,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+gDe++,this.focused=!1,this.stateChanges=new q,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>NF().has(v)),this._iOSKeyupListener=v=>{const y=v.target;!y.value&&0===y.selectionStart&&0===y.selectionEnd&&(y.setSelectionRange(1,1),y.setSelectionRange(0,0))};const h=this._elementRef.nativeElement,p=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=h.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)}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(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){mDe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(Ki,10),g(Qd,8),g(gn,8),g(Bf),g(T6,10),g(fDe),g(de),g(Yd,8))},n.\u0275dir=R({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&E("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Si("id",i.id)("disabled",i.disabled)("required",i.required),ie("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),ce("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[ae([{provide:Q_,useExisting:n}]),N,Je]}),n})(),Ii=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,mn,mn,pDe,Ue]}),n})();const xDe={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let DDe=(()=>{class n extends rs{buildStyles(e){return xDe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),A6=(()=>{class n extends al{constructor(e,i,r,o){super(e,r,i,o),this.styleCache=SDe,this.addStyles("")}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(fa),g(DDe),g(ss))},n.\u0275dir=R({type:n,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[N]}),n})();const SDe=new Map;let VDe=(()=>{class n extends rs{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...a]=e.split(" "),s=a.join(" ");const l=i.direction.indexOf("column")>-1?"column":"row",c=qp(l)?"max-width":"max-height",d=qp(l)?"min-width":"min-height",u=String(s).indexOf("calc")>-1,h=u||"auto"===s,p=String(s).indexOf("%")>-1&&!u,v=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let y=u||v;r="0"==r?0:r,o="0"==o?0:o;const w=!r&&!o;let k={};const D={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":s="row"===l?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,s="auto";break;case"grow":s="100%";break;case"noshrink":o=0,s="auto";break;case"auto":break;case"none":r=0,o=0,s="auto";break;default:!y&&!p&&!isNaN(s)&&(s+="%"),"0%"===s&&(y=!0),"0px"===s&&(s="0%"),k=is(D,u?{"flex-grow":r,"flex-shrink":o,"flex-basis":y?s:"100%"}:{flex:`${r} ${o} ${y?s:"100%"}`})}return k.flex||k["flex-grow"]||(k=is(D,u?{"flex-grow":r,"flex-shrink":o,"flex-basis":s}:{flex:`${r} ${o} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(k[d]=w||y&&r?s:null,k[c]=w||!h&&o?s:null),k[d]||k[c]?i.hasWrap&&(k[u?"flex-basis":"flex"]=k[c]?u?k[c]:`${r} ${o} ${k[c]}`:u?k[d]:`${r} ${o} ${k[d]}`):k=is(D,u?{"flex-grow":r,"flex-shrink":o,"flex-basis":s}:{flex:`${r} ${o} ${s}`}),is(k,{"box-sizing":"border-box"})}}return n.\u0275fac=function(e){return new(e||n)(A(ol))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const zDe=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let HDe=(()=>{class n extends al{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,a){super(e,o,i,a),this.layoutConfig=r,this.marshal=a,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(se(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(se(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const r=e.value.split(" ");this.direction=r[0],this.wrap=void 0!==r[1]&&"wrap"===r[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const r=this.direction,o=r.startsWith("row"),a=this.wrap;o&&a?this.styleCache=UDe:o&&!a?this.styleCache=$De:!o&&a?this.styleCache=GDe:!o&&!a&&(this.styleCache=jDe);const l=n6(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:a})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const i=n6(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(fa),g(ol),g(VDe),g(ss))},n.\u0275dir=R({type:n,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[N]}),n})(),qu=(()=>{class n extends HDe{constructor(){super(...arguments),this.inputs=zDe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[N]}),n})();const $De=new Map,jDe=new Map,UDe=new Map,GDe=new Map;let qDe=(()=>{class n extends rs{buildStyles(e,i){const r={},[o,a]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(a){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return is(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===a?qp(i.layout)?null:"100%":null,"max-height":"stretch"===a&&qp(i.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const WDe=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let YDe=(()=>{class n extends al{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(se(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=ZDe:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=tSe:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=eSe:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=nSe:"column-reverse"===i&&!r&&(this.styleCache=JDe):this.styleCache=QDe:this.styleCache=XDe:this.styleCache=KDe,this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),zv.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(fa),g(qDe),g(ss))},n.\u0275dir=R({type:n,features:[N]}),n})(),us=(()=>{class n extends YDe{constructor(){super(...arguments),this.inputs=WDe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[N]}),n})();const KDe=new Map,QDe=new Map,XDe=new Map,JDe=new Map,ZDe=new Map,eSe=new Map,tSe=new Map,nSe=new Map,I6={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let iSe=(()=>{class n extends rs{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(ay)?function uSe(n,t){const[e,i]=n.split(" "),o=c=>`-${c}`;let a="0px",s=o(i??e),l="0px";return"rtl"===t?l=o(e):a=o(e),{margin:`0px ${a} ${s} ${l}`}}(e=jv(e=e.slice(0,e.indexOf(ay)),this._config.multiplier),i.directionality):{}}sideEffect(e,i,r){const o=r.items;if(e.endsWith(ay)){const a=function dSe(n,t){const[e,i]=n.split(" ");let o="0px",s="0px";return"rtl"===t?s=e:o=e,{padding:`0px ${o} ${i??e} ${s}`}}(e=jv(e=e.slice(0,e.indexOf(ay)),this._config.multiplier),r.directionality);this._styler.applyStyleToElements(a,r.items)}else{e=jv(e,this._config.multiplier),e=this.addFallbackUnit(e);const a=o.pop(),s=function hSe(n,t){const e=O6(t.directionality,t.layout),i={...I6};return i[e]=n,i}(e,r);this._styler.applyStyleToElements(s,o),this._styler.applyStyleToElements(I6,[a])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return n.\u0275fac=function(e){return new(e||n)(A(fa),A(ol))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rSe=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let oSe=(()=>{class n extends al{get childrenNodes(){const e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,a,s){super(e,a,o,s),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new q;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(se(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],zv.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const i=this.childrenNodes.filter(r=>1===r.nodeType&&this.willDisplay(r)).sort((r,o)=>{const a=+this.styler.lookupStyle(r,"order"),s=+this.styler.lookupStyle(o,"order");return isNaN(a)||isNaN(s)||a===s?0:a>s?1:-1});if(i.length>0){const r=this.directionality.value,o=this.layout;"row"===o&&"rtl"===r?this.styleCache=aSe:"row"===o&&"rtl"!==r?this.styleCache=lSe:"column"===o&&"rtl"===r?this.styleCache=sSe:"column"===o&&"rtl"!==r&&(this.styleCache=cSe),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){const e=Object.keys(this.mru).length>0,i=e?"padding":O6(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){const i=this.marshal.getValue(e,"show-hide");return!0===i||void 0===i&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{e.some(r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(Qt),g(fa),g(iSe),g(ss))},n.\u0275dir=R({type:n,features:[N]}),n})(),Hn=(()=>{class n extends oSe{constructor(){super(...arguments),this.inputs=rSe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[N]}),n})();const aSe=new Map,sSe=new Map,lSe=new Map,cSe=new Map,ay=" grid";function O6(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}let fSe=(()=>{class n extends rs{buildStyles(e,{display:i}){const r=$V(e);return{...r,display:"none"===i?i:r.display}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pSe=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let mSe=(()=>{class n extends al{constructor(e,i,r,o,a){super(e,r,i,o),this._config=a,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){const r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=R6.get(r)??new Map,R6.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(fa),g(fSe),g(ss),g(ol))},n.\u0275dir=R({type:n,features:[N]}),n})(),An=(()=>{class n extends mSe{constructor(){super(...arguments),this.inputs=pSe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[N]}),n})();const R6=new Map;let $n=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Gxe,Gd]}),n})();function gSe(n,t){1&n&&T(0,"tr",15)}function _Se(n,t){1&n&&T(0,"tr",16)}function bSe(n,t){1&n&&(f(0,"th",17),C(1,"Name"),m())}function vSe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("name"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function ySe(n,t){1&n&&(f(0,"mat-error"),C(1,"Requis"),m())}function CSe(n,t){if(1&n&&(f(0,"td",18)(1,"mat-form-field")(2,"mat-label"),C(3,"Name"),m(),T(4,"input",19),S(5,vSe,2,1,"mat-error",20),S(6,ySe,2,0,"mat-error",20),m()()),2&n){const e=t.index,i=x();let r,o;_("formGroupName",e),b(5),_("ngIf",null==(r=i.formArray.at(e).get("name"))?null:r.hasError("maxlength")),b(1),_("ngIf",null==(o=i.formArray.at(e).get("name"))?null:o.hasError("required"))}}function wSe(n,t){1&n&&(f(0,"th",17),C(1,"Description"),m())}function xSe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("description"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function DSe(n,t){if(1&n&&(f(0,"td",18)(1,"mat-form-field")(2,"mat-label"),C(3,"Description"),m(),T(4,"input",21),S(5,xSe,2,1,"mat-error",20),m()()),2&n){const e=t.index,i=x();let r;_("formGroupName",e),b(5),_("ngIf",null==(r=i.formArray.at(e).get("description"))?null:r.hasError("maxlength"))}}function SSe(n,t){1&n&&T(0,"th",17)}function kSe(n,t){if(1&n){const e=Y();f(0,"td",18)(1,"button",22),E("click",function(){const o=B(e).index;return V(x().removeAt(o))}),T(2,"mat-icon",23),m()()}2&n&&_("formGroupName",t.index)}function ESe(n,t){1&n&&T(0,"td",24)}function MSe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("name"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function TSe(n,t){1&n&&(f(0,"mat-error"),C(1,"Requis"),m())}function ASe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("description"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function ISe(n,t){if(1&n&&(f(0,"div",25)(1,"div",26)(2,"mat-form-field")(3,"mat-label"),C(4,"Name"),m(),T(5,"input",19),S(6,MSe,2,1,"mat-error",20),S(7,TSe,2,0,"mat-error",20),m(),f(8,"mat-form-field")(9,"mat-label"),C(10,"Description"),m(),T(11,"input",21),S(12,ASe,2,1,"mat-error",20),m()()()),2&n){const e=t.index,i=x();let r,o,a;b(1),Yg("formGroupName",e),b(5),_("ngIf",null==(r=i.formArray.at(e).get("name"))?null:r.hasError("maxlength")),b(1),_("ngIf",null==(o=i.formArray.at(e).get("name"))?null:o.hasError("required")),b(5),_("ngIf",null==(a=i.formArray.at(e).get("description"))?null:a.hasError("maxlength"))}}let OSe=(()=>{class n extends nDe{constructor(e){super(e),this.columns=["name","description"],this.service.getAll(this.variablesManager).pipe(tm()).subscribe(i=>{this.setItems(i.items),this.addEmpty()})}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-editable-list"]],standalone:!0,features:[N,Se],decls:34,vars:12,consts:[[1,"mat-headline-4"],["fxLayout","row","fxLayoutAlign","start start","fxLayoutGap","20px"],[3,"formGroup"],[1,"mat-headline-6"],["mat-table","","formArrayName","rows",3,"dataSource"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"formGroupName",4,"matCellDef"],["matColumnDef","description"],["matColumnDef","remove"],["mat-footer-cell","",4,"matFooterCellDef"],["formArrayName","rows",4,"ngFor","ngForOf"],[1,"debug"],["mat-header-row",""],["mat-row",""],["mat-header-cell",""],["mat-cell","",3,"formGroupName"],["matInput","","formControlName","name"],[4,"ngIf"],["matInput","","formControlName","description"],["mat-icon-button","","color","warn",3,"click"],["naturalIcon","delete"],["mat-footer-cell",""],["formArrayName","rows"],["fxLayout","row","fxLayoutGap","20px",3,"formGroupName"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAbstractEditableList"),m(),f(2,"div",1)(3,"div",2)(4,"div",3),C(5,"As a mat-table"),m(),f(6,"table",4),S(7,gSe,1,0,"tr",5),S(8,_Se,1,0,"tr",6),Dt(9,7),S(10,bSe,2,0,"th",8),S(11,CSe,7,3,"td",9),St(),Dt(12,10),S(13,wSe,2,0,"th",8),S(14,DSe,6,2,"td",9),St(),Dt(15,11),S(16,SSe,1,0,"th",8),S(17,kSe,3,1,"td",9),S(18,ESe,1,0,"td",12),St(),m()(),f(19,"div",2)(20,"div",3),C(21,"As a *ngFor"),m(),S(22,ISe,13,4,"div",13),m(),f(23,"div")(24,"pre",14)(25,"strong"),C(26,"form.valid:"),m(),C(27),Q(28,"json"),m(),f(29,"pre",14)(30,"strong"),C(31,"getItems():"),m(),C(32),Q(33,"json"),m()()()),2&e&&(b(3),_("formGroup",i.form),b(3),_("dataSource",i.dataSource),b(1),_("matHeaderRowDef",i.columns),b(1),_("matRowDefColumns",i.columns),b(11),_("formGroup",i.form),b(3),_("ngForOf",i.dataSource.data),b(5),me(" ",X(28,8,i.form.valid),""),b(5),me(" ",X(33,10,i.getItems()),""))},dependencies:[$n,An,Hn,us,Ut,di,jt,oi,sn,gn,Qa,lb,cb,ny,Kp,zu,Qp,Hu,Vu,Xp,y6,$u,ju,C6,Jp,Zp,mn,Mn,En,Qr,Ii,Ai,ke,Zt,Be,Kr,ct,Ar,ai,ei,ui]}),n})(),N6=0,F6=0,NSe=(()=>{class n{set naturalCustomCss(e){e&&!this.style&&(this.style=this.document.createElement("style"),this.document.head.appendChild(this.style)),this.style&&(this.style.innerHTML=e?function RSe(n,t){return n="\n"+n+" ",t.replace(/([^{}]*){/gs,e=>e.split(",").map(i=>i.trim().startsWith("@media")?i.trim():n+i.trim()).join(",")).trim()}(`[data-natural-id=${this.id}]`,e):"")}constructor(e){this.document=e,this.style=null,this.id="n"+ ++N6}ngOnDestroy(){this.style?.remove(),F6--,F6<=0&&(N6=0)}}return n.\u0275fac=function(e){return new(e||n)(g(ge))},n.\u0275dir=R({type:n,selectors:[["","naturalCustomCss",""]],hostVars:1,hostBindings:function(e,i){2&e&&ie("data-natural-id",i.id)},inputs:{naturalCustomCss:"naturalCustomCss"},standalone:!0}),n})();function Oi(n){this.content=n}Oi.prototype={constructor:Oi,find:function(n){for(var t=0;t>1}},Oi.from=function(n){if(n instanceof Oi)return n;var t=[];if(n)for(var e in n)t.push(e,n[e]);return new Oi(t)};const P6=Oi;function L6(n,t,e){for(let i=0;;i++){if(i==n.childCount||i==t.childCount)return n.childCount==t.childCount?null:e;let r=n.child(i),o=t.child(i);if(r!=o){if(!r.sameMarkup(o))return e;if(r.isText&&r.text!=o.text){for(let a=0;r.text[a]==o.text[a];a++)e++;return e}if(r.content.size||o.content.size){let a=L6(r.content,o.content,e+1);if(null!=a)return a}e+=r.nodeSize}else e+=r.nodeSize}}function B6(n,t,e,i){for(let r=n.childCount,o=t.childCount;;){if(0==r||0==o)return r==o?null:{a:e,b:i};let a=n.child(--r),s=t.child(--o),l=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:e,b:i};if(a.isText&&a.text!=s.text){let c=0,d=Math.min(a.text.length,s.text.length);for(;ct&&!1!==i(l,r+s,o||null,a)&&l.content.size){let d=s+1;l.nodesBetween(Math.max(0,t-d),Math.min(l.content.size,e-d),i,r+d)}s=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,i,r){let o="",a=!0;return this.nodesBetween(t,e,(s,l)=>{s.isText?(o+=s.text.slice(Math.max(t,l)-l,e-l),a=!i):s.isLeaf?(r?o+="function"==typeof r?r(s):r:s.type.spec.leafText&&(o+=s.type.spec.leafText(s)),a=!i):!a&&s.isBlock&&(o+=i,a=!0)},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,i=t.firstChild,r=this.content.slice(),o=0;for(e.isText&&e.sameMarkup(i)&&(r[r.length-1]=e.withText(e.text+i.text),o=1);ot)for(let o=0,a=0;at&&((ae)&&(s=s.isText?s.cut(Math.max(0,t-a),Math.min(s.text.length,e-a)):s.cut(Math.max(0,t-a-1),Math.min(s.content.size,e-a-1))),i.push(s),r+=s.nodeSize),a=l}return new Z(i,r)}cutByIndex(t,e){return t==e?Z.empty:0==t&&e==this.content.length?this:new Z(this.content.slice(t,e))}replaceChild(t,e){let i=this.content[t];if(i==e)return this;let r=this.content.slice(),o=this.size+e.nodeSize-i.nodeSize;return r[t]=e,new Z(r,o)}addToStart(t){return new Z([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new Z(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;ethis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let i=0,r=0;;i++){let a=r+this.child(i).nodeSize;if(a>=t)return a==t||e>0?sy(i+1,a):sy(i,r);r=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return Z.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new Z(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return Z.empty;let e,i=0;for(let r=0;r{class n{constructor(e,i){this.type=e,this.attrs=i}addToSet(e){let i,r=!1;for(let o=0;othis.type.rank&&(i||(i=e.slice(0,o)),i.push(this),r=!0),i&&i.push(a)}}return i||(i=e.slice()),r||i.push(this),i}removeFromSet(e){for(let i=0;ir.type.rank-o.type.rank),i}}return n.none=[],n})();class cy extends Error{}class pe{constructor(t,e,i){this.content=t,this.openStart=e,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let i=z6(this.content,t+this.openStart,e);return i&&new pe(i,this.openStart,this.openEnd)}removeBetween(t,e){return new pe(V6(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return pe.empty;let i=e.openStart||0,r=e.openEnd||0;if("number"!=typeof i||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new pe(Z.fromJSON(t,e.content),i,r)}static maxOpen(t,e=!0){let i=0,r=0;for(let o=t.firstChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.firstChild)i++;for(let o=t.lastChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.lastChild)r++;return new pe(t,i,r)}}function V6(n,t,e){let{index:i,offset:r}=n.findIndex(t),o=n.maybeChild(i),{index:a,offset:s}=n.findIndex(e);if(r==t||o.isText){if(s!=e&&!n.child(a).isText)throw new RangeError("Removing non-flat range");return n.cut(0,t).append(n.cut(e))}if(i!=a)throw new RangeError("Removing non-flat range");return n.replaceChild(i,o.copy(V6(o.content,t-r-1,e-r-1)))}function z6(n,t,e,i){let{index:r,offset:o}=n.findIndex(t),a=n.maybeChild(r);if(o==t||a.isText)return i&&!i.canReplace(r,r,e)?null:n.cut(0,t).append(e).append(n.cut(t));let s=z6(a.content,t-o-1,e);return s&&n.replaceChild(r,a.copy(s))}function FSe(n,t,e){if(e.openStart>n.depth)throw new cy("Inserted content deeper than insertion position");if(n.depth-e.openStart!=t.depth-e.openEnd)throw new cy("Inconsistent open depths");return H6(n,t,e,0)}function H6(n,t,e,i){let r=n.index(i),o=n.node(i);if(r==t.index(i)&&i=0;o--)r=t.node(o).copy(Z.from(r));return{start:r.resolveNoCache(n.openStart+e),end:r.resolveNoCache(r.content.size-n.openEnd-e)}}(e,n);return Nc(o,j6(n,a,s,t,i))}{let a=n.parent,s=a.content;return Nc(a,s.cut(0,n.parentOffset).append(e.content).append(s.cut(t.parentOffset)))}}return Nc(o,dy(n,t,i))}function $6(n,t){if(!t.type.compatibleContent(n.type))throw new cy("Cannot join "+t.type.name+" onto "+n.type.name)}function Nk(n,t,e){let i=n.node(e);return $6(i,t.node(e)),i}function Rc(n,t){let e=t.length-1;e>=0&&n.isText&&n.sameMarkup(t[e])?t[e]=n.withText(t[e].text+n.text):t.push(n)}function nm(n,t,e,i){let r=(t||n).node(e),o=0,a=t?t.index(e):r.childCount;n&&(o=n.index(e),n.depth>e?o++:n.textOffset&&(Rc(n.nodeAfter,i),o++));for(let s=o;sr&&Nk(n,t,r+1),a=i.depth>r&&Nk(e,i,r+1),s=[];return nm(null,n,r,s),o&&a&&t.index(r)==e.index(r)?($6(o,a),Rc(Nc(o,j6(n,t,e,i,r+1)),s)):(o&&Rc(Nc(o,dy(n,t,r+1)),s),nm(t,e,r,s),a&&Rc(Nc(a,dy(e,i,r+1)),s)),nm(i,null,r,s),new Z(s)}function dy(n,t,e){let i=[];return nm(null,n,e,i),n.depth>e&&Rc(Nc(Nk(n,t,e+1),dy(n,t,e+1)),i),nm(t,null,e,i),new Z(i)}pe.empty=new pe(Z.empty,0,0);class im{constructor(t,e,i){this.pos=t,this.path=e,this.parentOffset=i,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=t.child(e);return i?t.child(e).cut(i):r}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let i=this.path[3*e],r=0==e?0:this.path[3*e-1]+1;for(let o=0;o0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos=0;i--)if(t.pos<=this.end(i)&&(!e||e(this.node(i))))return new uy(this,t,i);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let i=[],r=0,o=e;for(let a=t;;){let{index:s,offset:l}=a.content.findIndex(o),c=o-l;if(i.push(a,s,r+l),!c||(a=a.child(s),a.isText))break;o=c-1,r+=l+1}return new im(e,i,o)}static resolveCached(t,e){for(let r=0;rt&&this.nodesBetween(t,e,o=>(i.isInSet(o.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),U6(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,i=Z.empty,r=0,o=i.childCount){let a=this.contentMatchAt(t).matchFragment(i,r,o),s=a&&a.matchFragment(this.content,e);if(!s||!s.validEnd)return!1;for(let l=r;le.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(e=>e.toJSON())),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let i=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw new RangeError("Invalid text node in JSON");return t.text(e.text,i)}let r=Z.fromJSON(t,e.content);return t.nodeType(e.type).create(e.attrs,r,i)}}ma.prototype.text=void 0;class hy extends ma{constructor(t,e,i,r){if(super(t,e,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):U6(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new hy(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new hy(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function U6(n,t){for(let e=n.length-1;e>=0;e--)t=n[e].type.name+"("+t+")";return t}class Fc{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let i=new VSe(t,e);if(null==i.next)return Fc.empty;let r=G6(i);i.next&&i.err("Unexpected trailing text");let o=function qSe(n){let t=Object.create(null);return function e(i){let r=[];i.forEach(a=>{n[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let d=0;d{c||r.push([s,c=[]]),-1==c.indexOf(d)&&c.push(d)})})});let o=t[i.join(",")]=new Fc(i.indexOf(n.length-1)>-1);for(let a=0;al.concat(o(c,s)),[]);if("seq"!=a.type){if("star"==a.type){let l=e();return i(s,l),r(o(a.expr,l),l),[i(l)]}if("plus"==a.type){let l=e();return r(o(a.expr,s),l),r(o(a.expr,l),l),[i(l)]}if("opt"==a.type)return[i(s)].concat(o(a.expr,s));if("range"==a.type){let l=s;for(let c=0;cl.to=s)}}(r));return function WSe(n,t){for(let e=0,i=[n];ec.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return function e(i){t.push(i);for(let r=0;r{let o=r+(i.validEnd?"*":" ")+" ";for(let a=0;a"+t.indexOf(i.next[a].next);return o}).join("\n")}}Fc.empty=new Fc(!0);class VSe{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function G6(n){let t=[];do{t.push(zSe(n))}while(n.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function zSe(n){let t=[];do{t.push(HSe(n))}while(n.next&&")"!=n.next&&"|"!=n.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function HSe(n){let t=function USe(n){if(n.eat("(")){let t=G6(n);return n.eat(")")||n.err("Missing closing paren"),t}if(!/\W/.test(n.next)){let t=function jSe(n,t){let e=n.nodeTypes,i=e[t];if(i)return[i];let r=[];for(let o in e){let a=e[o];a.groups.indexOf(t)>-1&&r.push(a)}return 0==r.length&&n.err("No node type or group '"+t+"' found"),r}(n,n.next).map(e=>(null==n.inline?n.inline=e.isInline:n.inline!=e.isInline&&n.err("Mixing inline and block content"),{type:"name",value:e}));return n.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}n.err("Unexpected token '"+n.next+"'")}(n);for(;;)if(n.eat("+"))t={type:"plus",expr:t};else if(n.eat("*"))t={type:"star",expr:t};else if(n.eat("?"))t={type:"opt",expr:t};else{if(!n.eat("{"))break;t=$Se(n,t)}return t}function q6(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let t=Number(n.next);return n.pos++,t}function $Se(n,t){let e=q6(n),i=e;return n.eat(",")&&(i="}"!=n.next?q6(n):-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:e,max:i,expr:t}}function W6(n,t){return t-n}function Y6(n,t){let e=[];return function i(r){let o=n[r];if(1==o.length&&!o[0].term)return i(o[0].to);e.push(r);for(let a=0;a-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;ei[o]=new fy(o,e,a));let r=e.spec.topNode||"doc";if(!i[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let o in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}}class YSe{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class py{constructor(t,e,i,r){this.name=t,this.rank=e,this.schema=i,this.spec=r,this.attrs=X6(r.attrs),this.excluded=null;let o=K6(this.attrs);this.instance=o?new Gt(this,o):null}create(t=null){return!t&&this.instance?this.instance:new Gt(this,Q6(this.attrs,t))}static compile(t,e){let i=Object.create(null),r=0;return t.forEach((o,a)=>i[o]=new py(o,r++,e,a)),i}removeFromSet(t){for(var e=0;e-1}}class rm{constructor(t){this.cached=Object.create(null);let e=this.spec={};for(let r in t)e[r]=t[r];e.nodes=P6.from(t.nodes),e.marks=P6.from(t.marks||{}),this.nodes=fy.compile(this.spec.nodes,this),this.marks=py.compile(this.spec.marks,this);let i=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let o=this.nodes[r],a=o.spec.content||"",s=o.spec.marks;o.contentMatch=i[a]||(i[a]=Fc.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet="_"==s?null:s?J6(this,s.split(" ")):""!=s&&o.inlineContent?null:[]}for(let r in this.marks){let o=this.marks[r],a=o.spec.excludes;o.excluded=null==a?[o]:""==a?[]:J6(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,i,r){if("string"==typeof t)t=this.nodeType(t);else{if(!(t instanceof fy))throw new RangeError("Invalid node type: "+t);if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}return t.createChecked(e,i,r)}text(t,e){let i=this.nodes.text;return new hy(i,i.defaultAttrs,t,Gt.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return ma.fromJSON(this,t)}markFromJSON(t){return Gt.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}function J6(n,t){let e=[];for(let i=0;i-1)&&e.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return e}class Wu{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach(i=>{i.tag?this.tags.push(i):i.style&&this.styles.push(i)}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let r=t.nodes[i.node];return r.contentMatch.matchType(r)})}parse(t,e={}){let i=new nz(this,e,!1);return i.addAll(t,e.from,e.to),i.finish()}parseSlice(t,e={}){let i=new nz(this,e,!0);return i.addAll(t,e.from,e.to),pe.maxOpen(i.finish())}matchTag(t,e,i){for(let r=i?this.tags.indexOf(i)+1:0;rt.length&&(61!=s.charCodeAt(t.length)||s.slice(t.length+1)!=e))){if(a.getAttrs){let l=a.getAttrs(e);if(!1===l)continue;a.attrs=l||void 0}return a}}}static schemaRules(t){let e=[];function i(r){let o=null==r.priority?50:r.priority,a=0;for(;a{i(a=iz(a)),a.mark||a.ignore||a.clearMark||(a.mark=r)})}for(let r in t.nodes){let o=t.nodes[r].spec.parseDOM;o&&o.forEach(a=>{i(a=iz(a)),a.node||a.ignore||a.mark||(a.node=r)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Wu(t,Wu.schemaRules(t)))}}const Z6={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},KSe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ez={ol:!0,ul:!0};function tz(n,t,e){return null!=t?(t?1:0)|("full"===t?2:0):n&&"pre"==n.whitespace?3:-5&e}class _y{constructor(t,e,i,r,o,a,s){this.type=t,this.attrs=e,this.marks=i,this.pendingMarks=r,this.solid=o,this.options=s,this.content=[],this.activeMarks=Gt.none,this.stashMarks=[],this.match=a||(4&s?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(Z.from(t));if(!e){let r,i=this.type.contentMatch;return(r=i.findWrapping(t.type))?(this.match=i,r):null}this.match=this.type.contentMatch.matchFragment(e)}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let r,i=this.content[this.content.length-1];if(i&&i.isText&&(r=/[ \t\r\n\u000c]+$/.exec(i.text))){let o=i;i.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-r[0].length))}}let e=Z.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(Z.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(t){for(let e=this.stashMarks.length-1;e>=0;e--)if(t.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(t){for(let e=0,i=this.pendingMarks;e{a.clearMark(s)&&(i=s.addToSet(i))}):e=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(e),!1!==a.consuming)break;o=a}return[e,i]}addElementByRule(t,e,i){let r,o,a;e.node?(o=this.parser.schema.nodes[e.node],o.isLeaf?this.insertNode(o.create(e.attrs))||this.leafFallback(t):r=this.enter(o,e.attrs||null,e.preserveWhitespace)):(a=this.parser.schema.marks[e.mark].create(e.attrs),this.addPendingMark(a));let s=this.top;if(o&&o.isLeaf)this.findInside(t);else if(i)this.addElement(t,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=t;"string"==typeof e.contentElement?l=t.querySelector(e.contentElement):"function"==typeof e.contentElement?l=e.contentElement(t):e.contentElement&&(l=e.contentElement),this.findAround(t,l,!0),this.addAll(l)}r&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,e,i){let r=e||0;for(let o=e?t.childNodes[e]:t.firstChild,a=null==i?null:t.childNodes[i];o!=a;o=o.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(o);this.findAtPoint(t,r)}findPlace(t){let e,i;for(let r=this.open;r>=0;r--){let o=this.nodes[r],a=o.findWrapping(t);if(a&&(!e||e.length>a.length)&&(e=a,i=o,!a.length)||o.solid)break}if(!e)return!1;this.sync(i);for(let r=0;rthis.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let i=this.nodes[e].content;for(let r=i.length-1;r>=0;r--)t+=i[r].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let i=0;i-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),i=this.options.context,r=!(this.isOpen||i&&i.parent.type!=this.nodes[0].type),o=(r?0:1)-(i?i.depth+1:0),a=(s,l)=>{for(;s>=0;s--){let c=e[s];if(""==c){if(s==e.length-1||0==s)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}{let d=l>0||0==l&&r?this.nodes[l].type:i&&l>=o?i.node(l-o).type:null;if(!d||d.name!=c&&-1==d.groups.indexOf(c))return!1;l--}}return!0};return a(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let i=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let e in this.parser.schema.nodes){let i=this.parser.schema.nodes[e];if(i.isTextblock&&i.defaultAttrs)return i}}addPendingMark(t){let e=function eke(n,t){for(let e=0;e=0;i--){let r=this.nodes[i];if(r.pendingMarks.lastIndexOf(t)>-1)r.pendingMarks=t.removeFromSet(r.pendingMarks);else{r.activeMarks=t.removeFromSet(r.activeMarks);let a=r.popFromStashMark(t);a&&r.type&&r.type.allowsMarkType(a.type)&&(r.activeMarks=a.addToSet(r.activeMarks))}if(r==e)break}}}function XSe(n,t){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,t)}function iz(n){let t={};for(let e in n)t[e]=n[e];return t}function ZSe(n,t){let e=t.schema.nodes;for(let i in e){let r=e[i];if(!r.allowsMarkType(n))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;r--){let o=this.serializeMark(t.marks[r],t.isInline,e);o&&((o.contentDOM||o.dom).appendChild(i),i=o.dom)}return i}serializeMark(t,e,i={}){let r=this.marks[t.type.name];return r&&ga.renderSpec(Lk(i),r(t,e))}static renderSpec(t,e,i=null){if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let r=e[0],o=r.indexOf(" ");o>0&&(i=r.slice(0,o),r=r.slice(o+1));let a,s=i?t.createElementNS(i,r):t.createElement(r),l=e[1],c=1;if(l&&"object"==typeof l&&null==l.nodeType&&!Array.isArray(l)){c=2;for(let d in l)if(null!=l[d]){let u=d.indexOf(" ");u>0?s.setAttributeNS(d.slice(0,u),d.slice(u+1),l[d]):s.setAttribute(d,l[d])}}for(let d=c;dc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:h,contentDOM:p}=ga.renderSpec(t,u,i);if(s.appendChild(h),p){if(a)throw new RangeError("Multiple content holes");a=p}}}return{dom:s,contentDOM:a}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new ga(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=rz(t.nodes);return e.text||(e.text=i=>i.text),e}static marksFromSchema(t){return rz(t.marks)}}function rz(n){let t={};for(let e in n){let i=n[e].spec.toDOM;i&&(t[e]=i)}return t}function Lk(n){return n.document||window.document}const az=Math.pow(2,16);function tke(n,t){return n+t*az}function sz(n){return 65535&n}class Bk{constructor(t,e,i){this.pos=t,this.delInfo=e,this.recover=i}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class ro{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&ro.empty)return ro.empty}recover(t){let e=0,i=sz(t);if(!this.inverted)for(let r=0;rt)break;let c=this.ranges[s+o],d=this.ranges[s+a],u=l+c;if(t<=u){let p=l+r+((c?t==l?-1:t==u?1:e:e)<0?0:d);if(i)return p;let v=t==(e<0?l:u)?null:tke(s/3,t-l),y=t==l?2:t==u?1:4;return(e<0?t!=l:t!=u)&&(y|=8),new Bk(p,y,v)}r+=d-c}return i?t+r:new Bk(t+r,0,null)}touches(t,e){let i=0,r=sz(e),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;st)break;let c=this.ranges[s+o];if(t<=l+c&&s==3*r)return!0;i+=this.ranges[s+a]-c}return!1}forEach(t){let e=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,o=0;r=0;e--){let r=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=r&&r>e?i-r-1:void 0)}}invert(){let t=new Yu;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let i=this.from;io&&la.isAtom&&s.type.allowsMarkType(this.mark.type)?a.mark(this.mark.addToSet(a.marks)):a,r),e.openStart,e.openEnd);return ti.fromReplace(t,this.from,this.to,o)}invert(){return new _a(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new ll(e.pos,i.pos,this.mark)}merge(t){return t instanceof ll&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new ll(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new ll(e.from,e.to,t.markFromJSON(e.mark))}}pr.jsonID("addMark",ll);class _a extends pr{constructor(t,e,i){super(),this.from=t,this.to=e,this.mark=i}apply(t){let e=t.slice(this.from,this.to),i=new pe(zk(e.content,r=>r.mark(this.mark.removeFromSet(r.marks)),t),e.openStart,e.openEnd);return ti.fromReplace(t,this.from,this.to,i)}invert(){return new ll(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new _a(e.pos,i.pos,this.mark)}merge(t){return t instanceof _a&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new _a(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new _a(e.from,e.to,t.markFromJSON(e.mark))}}pr.jsonID("removeMark",_a);class cl extends pr{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return ti.fail("No node at mark step's position");let i=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return ti.fromReplace(t,this.pos,this.pos+1,new pe(Z.from(i),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let i=this.mark.addToSet(e.marks);if(i.length==e.marks.length){for(let r=0;ri.pos?null:new pi(e.pos,i.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new pi(e.from,e.to,e.gapFrom,e.gapTo,pe.fromJSON(t,e.slice),e.insert,!!e.structure)}}function Hk(n,t,e){let i=n.resolve(t),r=e-t,o=i.depth;for(;r>0&&o>0&&i.indexAfter(o)==i.node(o).childCount;)o--,r--;if(r>0){let a=i.node(o).maybeChild(i.indexAfter(o));for(;r>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,r--}}return!1}function ake(n,t,e){return(0==t||n.canReplace(t,n.childCount))&&(e==n.childCount||n.canReplace(0,e))}function am(n){let e=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let i=n.depth;;--i){let r=n.$from.node(i),o=n.$from.index(i),a=n.$to.indexAfter(i);if(io;c--,d--){let u=r.node(c),h=r.index(c);if(u.type.spec.isolating)return!1;let p=u.content.cutByIndex(h,u.childCount),v=i&&i[d+1];v&&(p=p.replaceChild(0,v.type.create(v.attrs)));let y=i&&i[d]||u;if(!u.canReplace(h+1,u.childCount)||!y.type.validContent(p))return!1}let s=r.indexAfter(o),l=i&&i[0];return r.node(o).canReplaceWith(s,s,l?l.type:r.node(o+1).type)}function Xu(n,t){let e=n.resolve(t),i=e.index();return hz(e.nodeBefore,e.nodeAfter)&&e.parent.canReplace(i,i+1)}function hz(n,t){return!(!n||!t||n.isLeaf||!n.canAppend(t))}function fz(n,t,e=-1){let i=n.resolve(t);for(let r=i.depth;;r--){let o,a,s=i.index(r);if(r==i.depth?(o=i.nodeBefore,a=i.nodeAfter):e>0?(o=i.node(r+1),s++,a=i.node(r).maybeChild(s)):(o=i.node(r).maybeChild(s-1),a=i.node(r+1)),o&&!o.isTextblock&&hz(o,a)&&i.node(r).canReplace(s,s+1))return t;if(0==r)break;t=e<0?i.before(r):i.after(r)}}function pz(n,t,e){let i=n.resolve(t);if(!e.content.size)return t;let r=e.content;for(let o=0;o=0;a--){let s=a==i.depth?0:i.pos<=(i.start(a+1)+i.end(a+1))/2?-1:1,l=i.index(a)+(s>0?1:0),c=i.node(a),d=!1;if(1==o)d=c.canReplace(l,l,r);else{let u=c.contentMatchAt(l).findWrapping(r.firstChild.type);d=u&&c.canReplaceWith(l,l,u[0])}if(d)return 0==s?i.pos:s<0?i.before(a+1):i.after(a+1)}return null}function jk(n,t,e=t,i=pe.empty){if(t==e&&!i.size)return null;let r=n.resolve(t),o=n.resolve(e);return mz(r,o,i)?new Xi(t,e,i):new _ke(r,o,i).fit()}function mz(n,t,e){return!e.openStart&&!e.openEnd&&n.start()==t.start()&&n.parent.canReplace(n.index(),t.index(),e.content)}pr.jsonID("replaceAround",pi);class _ke{constructor(t,e,i){this.$from=t,this.$to=e,this.unplaced=i,this.frontier=[],this.placed=Z.empty;for(let r=0;r<=t.depth;r++){let o=t.node(r);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(r))})}for(let r=t.depth;r>0;r--)this.placed=Z.from(t.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,i=this.$from,r=this.close(t<0?this.$to:i.doc.resolve(t));if(!r)return null;let o=this.placed,a=i.depth,s=r.depth;for(;a&&s&&1==o.childCount;)o=o.firstChild.content,a--,s--;let l=new pe(o,a,s);return t>-1?new pi(i.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||i.pos!=this.$to.pos?new Xi(i.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,i=0,r=this.unplaced.openEnd;i1&&(r=0),o.type.spec.isolating&&r<=i){t=i;break}e=o.content}for(let e=1;e<=2;e++)for(let i=1==e?t:this.unplaced.openStart;i>=0;i--){let r,o=null;i?(o=Uk(this.unplaced.content,i-1).firstChild,r=o.content):r=this.unplaced.content;let a=r.firstChild;for(let s=this.depth;s>=0;s--){let d,{type:l,match:c}=this.frontier[s],u=null;if(1==e&&(a?c.matchType(a.type)||(u=c.fillBefore(Z.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:i,frontierDepth:s,parent:o,inject:u};if(2==e&&a&&(d=c.findWrapping(a.type)))return{sliceDepth:i,frontierDepth:s,parent:o,wrap:d};if(o&&c.matchType(o.type))break}}}openMore(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=Uk(t,e);return!(!r.childCount||r.firstChild.isLeaf||(this.unplaced=new pe(t,e+1,Math.max(i,r.size+e>=t.size-i?e+1:0)),0))}dropNode(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=Uk(t,e);if(r.childCount<=1&&e>0){let o=t.size-e<=e+r.size;this.unplaced=new pe(sm(t,e-1,1),e-1,o?e-1:i)}else this.unplaced=new pe(sm(t,e,1),e,i)}placeNodes({sliceDepth:t,frontierDepth:e,parent:i,inject:r,wrap:o}){for(;this.depth>e;)this.closeFrontierNode();if(o)for(let y=0;y1||0==l||y.content.size)&&(u=w,d.push(gz(y.mark(h.allowedMarks(y.marks)),1==c?l:0,c==s.childCount?p:-1)))}let v=c==s.childCount;v||(p=-1),this.placed=lm(this.placed,e,Z.from(d)),this.frontier[e].match=u,v&&p<0&&i&&i.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let y=0,w=s;y1&&r==this.$to.end(--i);)++r;return r}findCloseLevel(t){e:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:i,type:r}=this.frontier[e],o=e=0;s--){let{match:l,type:c}=this.frontier[s],d=Gk(t,s,c,l,!0);if(!d||d.childCount)continue e}return{depth:e,fit:a,move:o?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=lm(this.placed,e.depth,e.fit)),t=e.move;for(let i=e.depth+1;i<=t.depth;i++){let r=t.node(i),o=r.type.contentMatch.fillBefore(r.content,!0,t.index(i));this.openFrontierNode(r.type,r.attrs,o)}return t}openFrontierNode(t,e=null,i){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=lm(this.placed,this.depth,Z.from(t.create(e,i))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(Z.empty,!0);e.childCount&&(this.placed=lm(this.placed,this.frontier.length,e))}}function sm(n,t,e){return 0==t?n.cutByIndex(e,n.childCount):n.replaceChild(0,n.firstChild.copy(sm(n.firstChild.content,t-1,e)))}function lm(n,t,e){return 0==t?n.append(e):n.replaceChild(n.childCount-1,n.lastChild.copy(lm(n.lastChild.content,t-1,e)))}function Uk(n,t){for(let e=0;e1&&(i=i.replaceChild(0,gz(i.firstChild,t-1,1==i.childCount?e-1:0))),t>0&&(i=n.type.contentMatch.fillBefore(i).append(i),e<=0&&(i=i.append(n.type.contentMatch.matchFragment(i).fillBefore(Z.empty,!0)))),n.copy(i)}function Gk(n,t,e,i,r){let o=n.node(t),a=r?n.indexAfter(t):n.index(t);if(a==o.childCount&&!e.compatibleContent(o.type))return null;let s=i.fillBefore(o.content,!0,a);return s&&!function bke(n,t,e){for(let i=e;ii){let o=r.contentMatchAt(0),a=o.fillBefore(n).append(n);n=a.append(o.matchFragment(a).fillBefore(Z.empty,!0))}return n}function bz(n,t){let e=[];for(let r=Math.min(n.depth,t.depth);r>=0;r--){let o=n.start(r);if(ot.pos+(t.depth-r)||n.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==n.depth&&r==t.depth&&n.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&e.push(r)}return e}class Ju extends pr{constructor(t,e,i){super(),this.pos=t,this.attr=e,this.value=i}apply(t){let e=t.nodeAt(this.pos);if(!e)return ti.fail("No node at attribute step's position");let i=Object.create(null);for(let o in e.attrs)i[o]=e.attrs[o];i[this.attr]=this.value;let r=e.type.create(i,null,e.marks);return ti.fromReplace(t,this.pos,this.pos+1,new pe(Z.from(r),0,e.isLeaf?0:1))}getMap(){return ro.empty}invert(t){return new Ju(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new Ju(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new Ju(e.pos,e.attr,e.value)}}pr.jsonID("attr",Ju);let Zu=class extends Error{};Zu=function n(t){let e=Error.call(this,t);return e.__proto__=n.prototype,e},(Zu.prototype=Object.create(Error.prototype)).constructor=Zu,Zu.prototype.name="TransformError";class vz{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new Yu}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new Zu(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,i=pe.empty){let r=jk(this.doc,t,e,i);return r&&this.step(r),this}replaceWith(t,e,i){return this.replace(t,e,new pe(Z.from(i),0,0))}delete(t,e){return this.replace(t,e,pe.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,i){return function yke(n,t,e,i){if(!i.size)return n.deleteRange(t,e);let r=n.doc.resolve(t),o=n.doc.resolve(e);if(mz(r,o,i))return n.step(new Xi(t,e,i));let a=bz(r,n.doc.resolve(e));0==a[a.length-1]&&a.pop();let s=-(r.depth+1);a.unshift(s);for(let h=r.depth,p=r.pos-1;h>0;h--,p--){let v=r.node(h).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;a.indexOf(h)>-1?s=h:r.before(h)==p&&a.splice(1,0,-h)}let l=a.indexOf(s),c=[],d=i.openStart;for(let h=i.content,p=0;;p++){let v=h.firstChild;if(c.push(v),p==i.openStart)break;h=v.content}for(let h=d-1;h>=0;h--){let p=c[h].type,v=vke(p);if(v&&r.node(l).type!=p)d=h;else if(v||!p.isTextblock)break}for(let h=i.openStart;h>=0;h--){let p=(h+d+1)%(i.openStart+1),v=c[p];if(v)for(let y=0;y=0&&(n.replace(t,e,i),!(n.steps.length>u));h--){let p=a[h];p<0||(t=r.before(p),e=o.after(p))}}(this,t,e,i),this}replaceRangeWith(t,e,i){return function Cke(n,t,e,i){if(!i.isInline&&t==e&&n.doc.resolve(t).parent.content.size){let r=function gke(n,t,e){let i=n.resolve(t);if(i.parent.canReplaceWith(i.index(),i.index(),e))return t;if(0==i.parentOffset)for(let r=i.depth-1;r>=0;r--){let o=i.index(r);if(i.node(r).canReplaceWith(o,o,e))return i.before(r+1);if(o>0)return null}if(i.parentOffset==i.parent.content.size)for(let r=i.depth-1;r>=0;r--){let o=i.indexAfter(r);if(i.node(r).canReplaceWith(o,o,e))return i.after(r+1);if(o0&&(l||i.node(s-1).canReplace(i.index(s-1),r.indexAfter(s-1))))return n.delete(i.before(s),r.after(s))}for(let a=1;a<=i.depth&&a<=r.depth;a++)if(t-i.start(a)==i.depth-a&&e>i.end(a)&&r.end(a)-e!=r.depth-a)return n.delete(i.before(a),e);n.delete(t,e)}(this,t,e),this}lift(t,e){return function ske(n,t,e){let{$from:i,$to:r,depth:o}=t,a=i.before(o+1),s=r.after(o+1),l=a,c=s,d=Z.empty,u=0;for(let v=o,y=!1;v>e;v--)y||i.index(v)>0?(y=!0,d=Z.from(i.node(v).copy(d)),u++):l--;let h=Z.empty,p=0;for(let v=o,y=!1;v>e;v--)y||r.after(v+1)=0;a--){if(i.size){let s=e[a].type.contentMatch.matchFragment(i);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=Z.from(e[a].type.create(e[a].attrs,i))}let r=t.start,o=t.end;n.step(new pi(r,o,r,o,new pe(i,0,0),e.length,!0))}(this,t,e),this}setBlockType(t,e=t,i,r=null){return function uke(n,t,e,i,r){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=n.steps.length;n.doc.nodesBetween(t,e,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(i,r)&&function hke(n,t,e){let i=n.resolve(t),r=i.index();return i.parent.canReplaceWith(r,r+1,e)}(n.doc,n.mapping.slice(o).map(s),i)){n.clearIncompatible(n.mapping.slice(o).map(s,1),i);let l=n.mapping.slice(o),c=l.map(s,1),d=l.map(s+a.nodeSize,1);return n.step(new pi(c,d,c+1,d-1,new pe(Z.from(i.create(r,null,a.marks)),0,0),1,!0)),!1}})}(this,t,e,i,r),this}setNodeMarkup(t,e,i=null,r){return function fke(n,t,e,i,r){let o=n.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");e||(e=o.type);let a=e.create(i,null,r||o.marks);if(o.isLeaf)return n.replaceWith(t,t+o.nodeSize,a);if(!e.validContent(o.content))throw new RangeError("Invalid content for node type "+e.name);n.step(new pi(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new pe(Z.from(a),0,0),1,!0))}(this,t,e,i,r),this}setNodeAttribute(t,e,i){return this.step(new Ju(t,e,i)),this}addNodeMark(t,e){return this.step(new cl(t,e)),this}removeNodeMark(t,e){if(!(e instanceof Gt)){let i=this.doc.nodeAt(t);if(!i)throw new RangeError("No node at position "+t);if(!(e=e.isInSet(i.marks)))return this}return this.step(new Ku(t,e)),this}split(t,e=1,i){return function pke(n,t,e=1,i){let r=n.doc.resolve(t),o=Z.empty,a=Z.empty;for(let s=r.depth,l=r.depth-e,c=e-1;s>l;s--,c--){o=Z.from(r.node(s).copy(o));let d=i&&i[c];a=Z.from(d?d.type.create(d.attrs,a):r.node(s).copy(a))}n.step(new Xi(t,t,new pe(o.append(a),e,e),!0))}(this,t,e,i),this}addMark(t,e,i){return function ike(n,t,e,i){let a,s,r=[],o=[];n.doc.nodesBetween(t,e,(l,c,d)=>{if(!l.isInline)return;let u=l.marks;if(!i.isInSet(u)&&d.type.allowsMarkType(i.type)){let h=Math.max(c,t),p=Math.min(c+l.nodeSize,e),v=i.addToSet(u);for(let y=0;yn.step(l)),o.forEach(l=>n.step(l))}(this,t,e,i),this}removeMark(t,e,i){return function rke(n,t,e,i){let r=[],o=0;n.doc.nodesBetween(t,e,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(i instanceof py){let d,c=a.marks;for(;d=i.isInSet(c);)(l||(l=[])).push(d),c=d.removeFromSet(c)}else i?i.isInSet(a.marks)&&(l=[i]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,e);for(let d=0;dn.step(new _a(a.from,a.to,a.style)))}(this,t,e,i),this}clearIncompatible(t,e,i){return function oke(n,t,e,i=e.contentMatch){let r=n.doc.nodeAt(t),o=[],a=t+1;for(let s=0;s=0;s--)n.step(o[s])}(this,t,e,i),this}}const qk=Object.create(null);class et{constructor(t,e,i){this.$anchor=t,this.$head=e,this.ranges=i||[new yz(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e=0;o--){let a=e<0?eh(t.node(0),t.node(o),t.before(o+1),t.index(o),e,i):eh(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,e,i);if(a)return a}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new mr(t.node(0))}static atStart(t){return eh(t,t,0,0,1)||new mr(t)}static atEnd(t){return eh(t,t,t.content.size,t.childCount,-1)||new mr(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let i=qk[e.type];if(!i)throw new RangeError(`No selection type ${e.type} defined`);return i.fromJSON(t,e)}static jsonID(t,e){if(t in qk)throw new RangeError("Duplicate use of selection JSON ID "+t);return qk[t]=e,e.prototype.jsonID=t,e}getBookmark(){return ht.between(this.$anchor,this.$head).getBookmark()}}et.prototype.visible=!0;class yz{constructor(t,e){this.$from=t,this.$to=e}}let Cz=!1;function wz(n){!Cz&&!n.parent.inlineContent&&(Cz=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class ht extends et{constructor(t,e=t){wz(t),wz(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let i=t.resolve(e.map(this.head));if(!i.parent.inlineContent)return et.near(i);let r=t.resolve(e.map(this.anchor));return new ht(r.parent.inlineContent?r:i,i)}replace(t,e=pe.empty){if(super.replace(t,e),e==pe.empty){let i=this.$from.marksAcross(this.$to);i&&t.ensureMarks(i)}}eq(t){return t instanceof ht&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new vy(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new ht(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,i=e){let r=t.resolve(e);return new this(r,i==e?r:t.resolve(i))}static between(t,e,i){let r=t.pos-e.pos;if((!i||r)&&(i=r>=0?1:-1),!e.parent.inlineContent){let o=et.findFrom(e,i,!0)||et.findFrom(e,-i,!0);if(!o)return et.near(e,i);e=o.$head}return t.parent.inlineContent||(0==r||(t=(et.findFrom(t,-i,!0)||et.findFrom(t,i,!0)).$anchor).posnew mr(n)};function eh(n,t,e,i,r,o=!1){if(t.inlineContent)return ht.create(n,e);for(let a=i-(r>0?0:1);r>0?a=0;a+=r){let s=t.child(a);if(s.isAtom){if(!o&&$e.isSelectable(s))return $e.create(n,e-(r<0?s.nodeSize:0))}else{let l=eh(n,s,e+r,r<0?s.childCount:0,r,o);if(l)return l}e+=s.nodeSize*r}return null}function xz(n,t,e){let i=n.steps.length-1;if(i{null==a&&(a=d)}),n.setSelection(et.near(n.doc.resolve(a),e)))}class Dke extends vz{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return Gt.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let i=this.selection;return e&&(t=t.mark(this.storedMarks||(i.empty?i.$from.marks():i.$from.marksAcross(i.$to)||Gt.none))),i.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,i){let r=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(r.text(t),!0):this.deleteSelection();{if(null==i&&(i=e),i=i??e,!t)return this.deleteRange(e,i);let o=this.storedMarks;if(!o){let a=this.doc.resolve(e);o=i==e?a.marks():a.marksAcross(this.doc.resolve(i))}return this.replaceRangeWith(e,i,r.text(t,o)),this.selection.empty||this.setSelection(et.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function kz(n,t){return t&&n?n.bind(t):n}class cm{constructor(t,e,i){this.name=t,this.init=kz(e.init,i),this.apply=kz(e.apply,i)}}const Ske=[new cm("doc",{init:n=>n.doc||n.schema.topNodeType.createAndFill(),apply:n=>n.doc}),new cm("selection",{init:(n,t)=>n.selection||et.atStart(t.doc),apply:n=>n.selection}),new cm("storedMarks",{init:n=>n.storedMarks||null,apply:(n,t,e,i)=>i.selection.$cursor?n.storedMarks:null}),new cm("scrollToSelection",{init:()=>0,apply:(n,t)=>n.scrolledIntoView?t+1:t})];class Yk{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Ske.slice(),e&&e.forEach(i=>{if(this.pluginsByKey[i.key])throw new RangeError("Adding different instances of a keyed plugin ("+i.key+")");this.plugins.push(i),this.pluginsByKey[i.key]=i,i.spec.state&&this.fields.push(new cm(i.key,i.spec.state,i))})}}class th{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let i=0;ii.toJSON())),t&&"object"==typeof t)for(let i in t){if("doc"==i||"selection"==i)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=t[i],o=r.spec.state;o&&o.toJSON&&(e[i]=o.toJSON.call(r,this[r.key]))}return e}static fromJSON(t,e,i){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let r=new Yk(t.schema,t.plugins),o=new th(r);return r.fields.forEach(a=>{if("doc"==a.name)o.doc=ma.fromJSON(t.schema,e.doc);else if("selection"==a.name)o.selection=et.fromJSON(o.doc,e.selection);else if("storedMarks"==a.name)e.storedMarks&&(o.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(i)for(let s in i){let l=i[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(e,s))return void(o[a.name]=c.fromJSON.call(l,t,e[s],o))}o[a.name]=a.init(t,o)}}),o}}function Ez(n,t,e){for(let i in n){let r=n[i];r instanceof Function?r=r.bind(t):"handleDOMEvents"==i&&(r=Ez(r,t,{})),e[i]=r}return e}class hs{constructor(t){this.spec=t,this.props={},t.props&&Ez(t.props,this,this.props),this.key=t.key?t.key.key:Mz("plugin")}getState(t){return t[this.key]}}const Kk=Object.create(null);function Mz(n){return n in Kk?n+"$"+ ++Kk[n]:(Kk[n]=0,n+"$")}class dm{constructor(t="key"){this.key=Mz(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const Lr=function(n){for(var t=0;;t++)if(!(n=n.previousSibling))return t},um=function(n){let t=n.assignedSlot||n.parentNode;return t&&11==t.nodeType?t.host:t};let Tz=null;const fs=function(n,t,e){let i=Tz||(Tz=document.createRange());return i.setEnd(n,e??n.nodeValue.length),i.setStart(n,t||0),i},Pc=function(n,t,e,i){return e&&(Az(n,t,e,i,-1)||Az(n,t,e,i,1))},kke=/^(img|br|input|textarea|hr)$/i;function Az(n,t,e,i,r){for(;;){if(n==e&&t==i)return!0;if(t==(r<0?0:ba(n))){let o=n.parentNode;if(!o||1!=o.nodeType||Mke(n)||kke.test(n.nodeName)||"false"==n.contentEditable)return!1;t=Lr(n)+(r<0?0:1),n=o}else{if(1!=n.nodeType)return!1;if("false"==(n=n.childNodes[t+(r<0?-1:0)]).contentEditable)return!1;t=r<0?ba(n):0}}}function ba(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function Mke(n){let t;for(let e=n;e&&!(t=e.pmViewDesc);e=e.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==n||t.contentDOM==n)}const Cy=function(n){return n.focusNode&&Pc(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function Lc(n,t){let e=document.createEvent("Event");return e.initEvent("keydown",!0,!0),e.keyCode=n,e.key=e.code=t,e}const va=typeof navigator<"u"?navigator:null,Iz=typeof document<"u"?document:null,dl=va&&va.userAgent||"",Qk=/Edge\/(\d+)/.exec(dl),Oz=/MSIE \d/.exec(dl),Xk=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(dl),gr=!!(Oz||Xk||Qk),ul=Oz?document.documentMode:Xk?+Xk[1]:Qk?+Qk[1]:0,Fo=!gr&&/gecko\/(\d+)/i.test(dl);Fo&&/Firefox\/(\d+)/.exec(dl);const Jk=!gr&&/Chrome\/(\d+)/.exec(dl),Ri=!!Jk,Ike=Jk?+Jk[1]:0,Ji=!gr&&!!va&&/Apple Computer/.test(va.vendor),nh=Ji&&(/Mobile\/\w+/.test(dl)||!!va&&va.maxTouchPoints>2),oo=nh||!!va&&/Mac/.test(va.platform),Oke=!!va&&/Win/.test(va.platform),Po=/Android \d/.test(dl),wy=!!Iz&&"webkitFontSmoothing"in Iz.documentElement.style,Rke=wy?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Nke(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function hl(n,t){return"number"==typeof n?n:n[t]}function Fke(n){let t=n.getBoundingClientRect();return{left:t.left,right:t.left+n.clientWidth*(t.width/n.offsetWidth||1),top:t.top,bottom:t.top+n.clientHeight*(t.height/n.offsetHeight||1)}}function Rz(n,t,e){let i=n.someProp("scrollThreshold")||0,r=n.someProp("scrollMargin")||5,o=n.dom.ownerDocument;for(let a=e||n.dom;a;a=um(a)){if(1!=a.nodeType)continue;let s=a,l=s==o.body,c=l?Nke(o):Fke(s),d=0,u=0;if(t.topc.bottom-hl(i,"bottom")&&(u=t.bottom-c.bottom+hl(r,"bottom")),t.leftc.right-hl(i,"right")&&(d=t.right-c.right+hl(r,"right")),d||u)if(l)o.defaultView.scrollBy(d,u);else{let h=s.scrollLeft,p=s.scrollTop;u&&(s.scrollTop+=u),d&&(s.scrollLeft+=d);let v=s.scrollLeft-h,y=s.scrollTop-p;t={left:t.left-v,top:t.top-y,right:t.right-v,bottom:t.bottom-y}}if(l)break}}function Nz(n){let t=[],e=n.ownerDocument;for(let i=n;i&&(t.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),n!=e);i=um(i));return t}function Fz(n,t){for(let e=0;e=s){a=Math.max(v.bottom,a),s=Math.min(v.top,s);let y=v.left>t.left?v.left-t.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>t.top&&!l&&v.left<=t.left&&v.right>=t.left&&(l=d,c={left:Math.max(v.left,Math.min(v.right,t.left)),top:v.top});!e&&(t.left>=v.right&&t.top>=v.top||t.left>=v.left&&t.top>=v.bottom)&&(o=u+1)}}return!e&&l&&(e=l,r=c,i=0),e&&3==e.nodeType?function Vke(n,t){let e=n.nodeValue.length,i=document.createRange();for(let r=0;r=(o.left+o.right)/2?1:0)}}return{node:n,offset:0}}(e,r):!e||i&&1==e.nodeType?{node:n,offset:o}:Pz(e,r)}function Zk(n,t){return n.left>=t.left-1&&n.left<=t.right+1&&n.top>=t.top-1&&n.top<=t.bottom+1}function Lz(n,t,e){let i=n.childNodes.length;if(i&&e.topt.top&&r++}i==n.dom&&r==i.childNodes.length-1&&1==i.lastChild.nodeType&&t.top>i.lastChild.getBoundingClientRect().bottom?s=n.state.doc.content.size:(0==r||1!=i.nodeType||"BR"!=i.childNodes[r-1].nodeName)&&(s=function $ke(n,t,e,i){let r=-1;for(let o=t,a=!1;o!=n.dom;){let s=n.docView.nearestDesc(o,!0);if(!s)return null;if(1==s.dom.nodeType&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,l.left>i.left||l.top>i.top?r=s.posBefore:(l.right-1?r:n.docView.posFromDOM(t,e,-1)}(n,i,r,t))}null==s&&(s=function Hke(n,t,e){let{node:i,offset:r}=Pz(t,e),o=-1;if(1==i.nodeType&&!i.firstChild){let a=i.getBoundingClientRect();o=a.left!=a.right&&e.left>(a.left+a.right)/2?1:-1}return n.docView.posFromDOM(i,r,o)}(n,a,t));let l=n.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function Bz(n){return n.top=0&&r==i.nodeValue.length?(l--,d=1):e<0?l--:c++,hm(fl(fs(i,l,c),d),d<0)}{let l=fl(fs(i,r,r),e);if(Fo&&r&&/\s/.test(i.nodeValue[r-1])&&r=0)}if(null==o&&r&&(e<0||r==ba(i))){let l=i.childNodes[r-1],c=3==l.nodeType?fs(l,ba(l)-(a?0:1)):1!=l.nodeType||"BR"==l.nodeName&&l.nextSibling?null:l;if(c)return hm(fl(c,1),!1)}if(null==o&&r=0)}function hm(n,t){if(0==n.width)return n;let e=t?n.left:n.right;return{top:n.top,bottom:n.bottom,left:e,right:e}}function eE(n,t){if(0==n.height)return n;let e=t?n.top:n.bottom;return{top:e,bottom:e,left:n.left,right:n.right}}function zz(n,t,e){let i=n.state,r=n.root.activeElement;i!=t&&n.updateState(t),r!=n.dom&&n.focus();try{return e()}finally{i!=t&&n.updateState(i),r!=n.dom&&r&&r.focus()}}const qke=/[\u0590-\u08ac]/;let Hz=null,$z=null,jz=!1;class fm{constructor(t,e,i,r){this.parent=t,this.children=e,this.dom=i,this.contentDOM=r,this.dirty=0,i.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,e,i){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let e=0;eLr(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&t.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==e)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!1;break}if(o.previousSibling)break}if(null==r&&e==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!0;break}if(o.nextSibling)break}}return r??i>0?this.posAtEnd:this.posAtStart}nearestDesc(t,e=!1){for(let i=!0,r=t;r;r=r.parentNode){let a,o=this.getDesc(r);if(o&&(!e||o.node)){if(!i||!(a=o.nodeDOM)||(1==a.nodeType?a.contains(1==t.nodeType?t:t.parentNode):a==t))return o;i=!1}}}getDesc(t){let e=t.pmViewDesc;for(let i=e;i;i=i.parent)if(i==this)return e}posFromDOM(t,e,i){for(let r=t;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(t,e,i)}return-1}descAt(t){for(let e=0,i=0;et||a instanceof Wz){r=t-o;break}o=s}if(r)return this.children[i].domFromPos(r-this.children[i].border,e);for(let o;i&&!(o=this.children[i-1]).size&&o instanceof Gz&&o.side>=0;i--);if(e<=0){let o,a=!0;for(;o=i?this.children[i-1]:null,o&&o.dom.parentNode!=this.contentDOM;i--,a=!1);return o&&e&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,e):{node:this.contentDOM,offset:o?Lr(o.dom)+1:0}}{let o,a=!0;for(;o=i=d&&e<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,e,d);t=a;for(let u=s;u>0;u--){let h=this.children[u-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){r=Lr(h.dom)+1;break}t-=h.size}-1==r&&(r=0)}if(r>-1&&(c>e||s==this.children.length-1)){e=c;for(let d=s+1;dp&&ae){let p=s;s=l,l=p}let h=document.createRange();h.setEnd(l.node,l.offset),h.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(t){return!this.contentDOM&&"selection"!=t.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,e){for(let i=0,r=0;r=i:ti){let s=i+o.border,l=a-o.border;if(t>=s&&e<=l)return this.dirty=t==i||e==a?2:1,void(t!=s||e!=l||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(t-s,e-s):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}i=a}this.dirty=2}markParentsDirty(){let t=1;for(let e=this.parent;e;e=e.parent,t++){let i=1==t?2:1;e.dirtyo?o.parent?o.parent.posBeforeChild(o):void 0:r)),!e.type.spec.raw){if(1!=a.nodeType){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(t,[],a,null),this.widget=e,this.widget=e,o=this}matchesWidget(t){return 0==this.dirty&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let e=this.widget.spec.stopEvent;return!!e&&e(t)}ignoreMutation(t){return"selection"!=t.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class Kke extends fm{constructor(t,e,i,r){super(t,[],e,null),this.textDOM=i,this.text=r}get size(){return this.text.length}localPosFromDOM(t,e){return t!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return"characterData"===t.type&&t.target.nodeValue==t.oldValue}}class Vc extends fm{constructor(t,e,i,r){super(t,[],i,r),this.mark=e}static create(t,e,i,r){let o=r.nodeViews[e.type.name],a=o&&o(e,r,i);return(!a||!a.dom)&&(a=ga.renderSpec(document,e.type.spec.toDOM(e,i))),new Vc(t,e,a.dom,a.contentDOM||a.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(t){return 3!=this.dirty&&this.mark.eq(t)}markDirty(t,e){if(super.markDirty(t,e),0!=this.dirty){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty0&&(o=iE(o,0,t,i));for(let s=0;sl?l.parent?l.parent.posBeforeChild(l):void 0:a,i,r),d=c&&c.dom,u=c&&c.contentDOM;if(e.isText)if(d){if(3!=d.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else d=document.createTextNode(e.text);else d||({dom:d,contentDOM:u}=ga.renderSpec(document,e.type.spec.toDOM(e)));!u&&!e.isText&&"BR"!=d.nodeName&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),e.type.spec.draggable&&(d.draggable=!0));let h=d;return d=Qz(d,i,e),c?l=new Qke(t,e,i,r,d,u||null,h,c,o,a+1):e.isText?new xy(t,e,i,r,d,h,o):new pl(t,e,i,r,d,u||null,h,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let i=this.children[e];if(this.dom.contains(i.dom.parentNode)){t.contentElement=i.dom.parentNode;break}}t.contentElement||(t.getContent=()=>Z.empty)}else t.contentElement=this.contentDOM;else t.getContent=()=>this.node.content;return t}matchesNode(t,e,i){return 0==this.dirty&&t.eq(this.node)&&nE(e,this.outerDeco)&&i.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,e){let i=this.node.inlineContent,r=e,o=t.composing?this.localCompositionInfo(t,e):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new Jke(this,a&&a.node,t);(function tEe(n,t,e,i){let r=t.locals(n),o=0;if(0==r.length){for(let c=0;co;)s.push(r[a++]);let h=o+d.nodeSize;if(d.isText){let v=h;a!v.inline):s.slice(),t.forChild(o,d),u),o=h}})(this.node,this.innerDeco,(c,d,u)=>{c.spec.marks?l.syncToMarks(c.spec.marks,i,t):c.type.side>=0&&!u&&l.syncToMarks(d==this.node.childCount?Gt.none:this.node.child(d).marks,i,t),l.placeWidget(c,t,r)},(c,d,u,h)=>{let p;l.syncToMarks(c.marks,i,t),l.findNodeMatch(c,d,u,h)||s&&t.state.selection.from>r&&t.state.selection.to-1&&l.updateNodeAt(c,d,u,p,t)||l.updateNextNode(c,d,u,t,h,r)||l.addNode(c,d,u,t,r),r+=c.nodeSize}),l.syncToMarks([],i,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(a&&this.protectLocalComposition(t,a),Yz(this.contentDOM,this.children,t),nh&&function nEe(n){if("UL"==n.nodeName||"OL"==n.nodeName){let t=n.style.cssText;n.style.cssText=t+"; list-style: square !important",window.getComputedStyle(n),n.style.cssText=t}}(this.dom))}localCompositionInfo(t,e){let{from:i,to:r}=t.state.selection;if(!(t.state.selection instanceof ht)||ie+this.node.content.size)return null;let o=t.domSelectionRange(),a=function iEe(n,t){for(;;){if(3==n.nodeType)return n;if(1==n.nodeType&&t>0){if(n.childNodes.length>t&&3==n.childNodes[t].nodeType)return n.childNodes[t];t=ba(n=n.childNodes[t-1])}else{if(!(1==n.nodeType&&t=e){let c=s=0&&c+t.length+s>=e)return s+c;if(e==i&&l.length>=i+t.length-s&&l.slice(i-s,i-s+t.length)==t)return i}}return-1}(this.node.content,s,i-e,r-e);return l<0?null:{node:a,pos:l,text:s}}return{node:a,pos:-1,text:""}}protectLocalComposition(t,{node:e,pos:i,text:r}){if(this.getDesc(e))return;let o=e;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new Kke(this,o,e,r);t.input.compositionNodes.push(a),this.children=iE(this.children,i,i+r.length,t,a)}update(t,e,i,r){return!(3==this.dirty||!t.sameMarkup(this.node)||(this.updateInner(t,e,i,r),0))}updateInner(t,e,i,r){this.updateOuterDeco(e),this.node=t,this.innerDeco=i,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(nE(t,this.outerDeco))return;let e=1!=this.nodeDOM.nodeType,i=this.dom;this.dom=Kz(this.dom,this.nodeDOM,tE(this.outerDeco,this.node,e),tE(t,this.node,e)),this.dom!=i&&(i.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function qz(n,t,e,i,r){Qz(i,t,n);let o=new pl(void 0,n,t,e,i,i,i,r,0);return o.contentDOM&&o.updateChildren(r,0),o}class xy extends pl{constructor(t,e,i,r,o,a,s){super(t,e,i,r,o,null,a,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,e,i,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!t.sameMarkup(this.node)||(this.updateOuterDeco(e),(0!=this.dirty||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=t,this.dirty=0,0))}inParent(){let t=this.parent.contentDOM;for(let e=this.nodeDOM;e;e=e.parentNode)if(e==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,e,i){return t==this.nodeDOM?this.posAtStart+Math.min(e,this.node.text.length):super.localPosFromDOM(t,e,i)}ignoreMutation(t){return"characterData"!=t.type&&"selection"!=t.type}slice(t,e,i){let r=this.node.cut(t,e),o=document.createTextNode(r.text);return new xy(this.parent,r,this.outerDeco,this.innerDeco,o,o,i)}markDirty(t,e){super.markDirty(t,e),this.dom!=this.nodeDOM&&(0==t||e==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}}class Wz extends fm{parseRule(){return{ignore:!0}}matchesHack(t){return 0==this.dirty&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class Qke extends pl{constructor(t,e,i,r,o,a,s,l,c,d){super(t,e,i,r,o,a,s,c,d),this.spec=l}update(t,e,i,r){if(3==this.dirty)return!1;if(this.spec.update){let o=this.spec.update(t,e,i);return o&&this.updateInner(t,e,i,r),o}return!(!this.contentDOM&&!t.isLeaf)&&super.update(t,e,i,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,e,i,r){this.spec.setSelection?this.spec.setSelection(t,e,i):super.setSelection(t,e,i,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return!!this.spec.stopEvent&&this.spec.stopEvent(t)}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function Yz(n,t,e){let i=n.firstChild,r=!1;for(let o=0;o0;){let s;for(;;)if(i){let c=e.children[i-1];if(!(c instanceof Vc)){s=c,i--;break}e=c,i=c.children.length}else{if(e==t)break e;i=e.parent.children.indexOf(e),e=e.parent}let l=s.node;if(l){if(l!=n.child(r-1))break;--r,o.set(s,r),a.push(s)}}return{index:r,matched:o,matches:a.reverse()}}(t.node.content,t)}destroyBetween(t,e){if(t!=e){for(let i=t;i>1,a=Math.min(o,t.length);for(;r-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=Vc.create(this.top,t[o],e,i);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(t,e,i,r){let a,o=-1;if(r>=this.preMatch.index&&(a=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&a.matchesNode(t,e,i))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s=e||d<=t?o.push(l):(ce&&o.push(l.slice(e-c,l.size,i)))}return o}function rE(n,t=null){let e=n.domSelectionRange(),i=n.state.doc;if(!e.focusNode)return null;let r=n.docView.nearestDesc(e.focusNode),o=r&&0==r.size,a=n.docView.posFromDOM(e.focusNode,e.focusOffset,1);if(a<0)return null;let l,c,s=i.resolve(a);if(Cy(e)){for(l=s;r&&!r.node;)r=r.parent;let d=r.node;if(r&&d.isAtom&&$e.isSelectable(d)&&r.parent&&(!d.isInline||!function Eke(n,t,e){for(let i=0==t,r=t==ba(n);i||r;){if(n==e)return!0;let o=Lr(n);if(!(n=n.parentNode))return!1;i=i&&0==o,r=r&&o==ba(n)}}(e.focusNode,e.focusOffset,r.dom))){let u=r.posBefore;c=new $e(a==u?s:i.resolve(u))}}else{let d=n.docView.posFromDOM(e.anchorNode,e.anchorOffset,1);if(d<0)return null;l=i.resolve(d)}return c||(c=aE(n,l,s,"pointer"==t||n.state.selection.head{(e.anchorNode!=i||e.anchorOffset!=r)&&(t.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!Jz(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const Zz=Ji||Ri&&Ike<63;function eH(n,t){let{node:e,offset:i}=n.docView.domFromPos(t,0),r=ir(n,t,e))||ht.between(t,e,i)}function rH(n){return!(n.editable&&!n.hasFocus())&&oH(n)}function oH(n){let t=n.domSelectionRange();if(!t.anchorNode)return!1;try{return n.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(n.editable||n.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function sE(n,t){let{$anchor:e,$head:i}=n.selection,r=t>0?e.max(i):e.min(i),o=r.parent.inlineContent?r.depth?n.doc.resolve(t>0?r.after():r.before()):null:r;return o&&et.findFrom(o,t)}function Hc(n,t){return n.dispatch(n.state.tr.setSelection(t).scrollIntoView()),!0}function aH(n,t,e){let i=n.state.selection;if(!(i instanceof ht)){if(i instanceof $e&&i.node.isInline)return Hc(n,new ht(t>0?i.$to:i.$from));{let r=sE(n.state,t);return!!r&&Hc(n,r)}}if(!i.empty||e.indexOf("s")>-1)return!1;if(n.endOfTextblock(t>0?"forward":"backward")){let r=sE(n.state,t);return!!(r&&r instanceof $e)&&Hc(n,r)}if(!(oo&&e.indexOf("m")>-1)){let a,r=i.$head,o=r.textOffset?null:t<0?r.nodeBefore:r.nodeAfter;if(!o||o.isText)return!1;let s=t<0?r.pos-o.nodeSize:r.pos;return!!(o.isAtom||(a=n.docView.descAt(s))&&!a.contentDOM)&&($e.isSelectable(o)?Hc(n,new $e(t<0?n.state.doc.resolve(r.pos-o.nodeSize):r)):!!wy&&Hc(n,new ht(n.state.doc.resolve(t<0?s:s+o.nodeSize))))}}function Dy(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function mm(n){let t=n.pmViewDesc;return t&&0==t.size&&(n.nextSibling||"BR"!=n.nodeName)}function gm(n,t){return t<0?function lEe(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let r,o,a=!1;for(Fo&&1==e.nodeType&&i0){if(1!=e.nodeType)break;{let s=e.childNodes[i-1];if(mm(s))r=e,o=--i;else{if(3!=s.nodeType)break;e=s,i=e.nodeValue.length}}}else{if(lH(e))break;{let s=e.previousSibling;for(;s&&mm(s);)r=e.parentNode,o=Lr(s),s=s.previousSibling;if(s)e=s,i=Dy(e);else{if(e=e.parentNode,e==n.dom)break;i=0}}}a?lE(n,e,i):r&&lE(n,r,o)}(n):sH(n)}function sH(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let o,a,r=Dy(e);for(;;)if(i{n.state==r&&ps(n)},50)}function cH(n,t){let e=n.state.doc.resolve(t);if(!Ri&&!Oke&&e.parent.inlineContent){let r=n.coordsAtPos(t);if(t>e.start()){let o=n.coordsAtPos(t-1),a=(o.top+o.bottom)/2;if(a>r.top&&a1)return o.leftr.top&&a1)return o.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(n.dom).direction?"rtl":"ltr"}function dH(n,t,e){let i=n.state.selection;if(i instanceof ht&&!i.empty||e.indexOf("s")>-1||oo&&e.indexOf("m")>-1)return!1;let{$from:r,$to:o}=i;if(!r.parent.inlineContent||n.endOfTextblock(t<0?"up":"down")){let a=sE(n.state,t);if(a&&a instanceof $e)return Hc(n,a)}if(!r.parent.inlineContent){let a=t<0?r:o,s=i instanceof mr?et.near(a,t):et.findFrom(a,t);return!!s&&Hc(n,s)}return!1}function uH(n,t){if(!(n.state.selection instanceof ht))return!0;let{$head:e,$anchor:i,empty:r}=n.state.selection;if(!e.sameParent(i))return!0;if(!r)return!1;if(n.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!e.textOffset&&(t<0?e.nodeBefore:e.nodeAfter);if(o&&!o.isText){let a=n.state.tr;return t<0?a.delete(e.pos-o.nodeSize,e.pos):a.delete(e.pos,e.pos+o.nodeSize),n.dispatch(a),!0}return!1}function hH(n,t,e){n.domObserver.stop(),t.contentEditable=e,n.domObserver.start()}function fH(n,t){n.someProp("transformCopied",p=>{t=p(t,n)});let e=[],{content:i,openStart:r,openEnd:o}=t;for(;r>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){r--,o--;let p=i.firstChild;e.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),i=p.content}let a=n.someProp("clipboardSerializer")||ga.fromSchema(n.state.schema),s=CH(),l=s.createElement("div");l.appendChild(a.serializeFragment(i,{document:s}));let d,c=l.firstChild,u=0;for(;c&&1==c.nodeType&&(d=vH[c.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let v=s.createElement(d[p]);for(;l.firstChild;)v.appendChild(l.firstChild);l.appendChild(v),u++}c=l.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${r} ${o}${u?` -${u}`:""} ${JSON.stringify(e)}`),{dom:l,text:n.someProp("clipboardTextSerializer",p=>p(t,n))||t.content.textBetween(0,t.content.size,"\n\n")}}function pH(n,t,e,i,r){let a,s,o=r.parent.type.spec.code;if(!e&&!t)return null;let l=t&&(i||o||!e);if(l){if(n.someProp("transformPastedText",h=>{t=h(t,o||i,n)}),o)return t?new pe(Z.from(n.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):pe.empty;let u=n.someProp("clipboardTextParser",h=>h(t,r,i,n));if(u)s=u;else{let h=r.marks(),{schema:p}=n.state,v=ga.fromSchema(p);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(y=>{let w=a.appendChild(document.createElement("p"));y&&w.appendChild(v.serializeNode(p.text(y,h)))})}}else n.someProp("transformPastedHTML",u=>{e=u(e,n)}),a=function pEe(n){let t=/^(\s*]*>)*/.exec(n);t&&(n=n.slice(t[0].length));let r,e=CH().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(n);if((r=i&&vH[i[1].toLowerCase()])&&(n=r.map(o=>"<"+o+">").join("")+n+r.map(o=>"").reverse().join("")),e.innerHTML=n,r)for(let o=0;o0;u--){let h=a.firstChild;for(;h&&1!=h.nodeType;)h=h.nextSibling;if(!h)break;a=h}if(s||(s=(n.someProp("clipboardParser")||n.someProp("domParser")||Wu.fromSchema(n.state.schema)).parseSlice(a,{preserveWhitespace:!(!l&&!d),context:r,ruleFromNode:h=>"BR"!=h.nodeName||h.nextSibling||!h.parentNode||hEe.test(h.parentNode.nodeName)?null:{ignore:!0}})),d)s=function gEe(n,t){if(!n.size)return n;let i,e=n.content.firstChild.type.schema;try{i=JSON.parse(t)}catch{return n}let{content:r,openStart:o,openEnd:a}=n;for(let s=i.length-2;s>=0;s-=2){let l=e.nodes[i[s]];if(!l||l.hasRequiredAttrs())break;r=Z.from(l.create(i[s+1],r)),o++,a++}return new pe(r,o,a)}(bH(s,+d[1],+d[2]),d[4]);else if(s=pe.maxOpen(function fEe(n,t){if(n.childCount<2)return n;for(let e=t.depth;e>=0;e--){let o,r=t.node(e).contentMatchAt(t.index(e)),a=[];if(n.forEach(s=>{if(!a)return;let c,l=r.findWrapping(s.type);if(!l)return a=null;if(c=a.length&&o.length&&gH(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=_H(a[a.length-1],o.length));let d=mH(s,l);a.push(d),r=r.matchType(d.type),o=l}}),a)return Z.from(a)}return n}(s.content,r),!0),s.openStart||s.openEnd){let u=0,h=0;for(let p=s.content.firstChild;u{s=u(s,n)}),s}const hEe=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function mH(n,t,e=0){for(let i=t.length-1;i>=e;i--)n=t[i].create(null,Z.from(n));return n}function gH(n,t,e,i,r){if(r1&&(o=0),r=e&&(s=t<0?a.contentMatchAt(0).fillBefore(s,o<=r).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Z.empty,!0))),n.replaceChild(t<0?0:n.childCount-1,a.copy(s))}function bH(n,t,e){return t{for(let e in t)n.input.eventHandlers[e]||n.dom.addEventListener(e,n.input.eventHandlers[e]=i=>uE(n,i))})}function uE(n,t){return n.someProp("handleDOMEvents",e=>{let i=e[t.type];return!!i&&(i(n,t)||t.defaultPrevented)})}function CEe(n,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let e=t.target;e!=n.dom;e=e.parentNode)if(!e||11==e.nodeType||e.pmViewDesc&&e.pmViewDesc.stopEvent(t))return!1;return!0}function Sy(n){return{left:n.clientX,top:n.clientY}}function hE(n,t,e,i,r){if(-1==i)return!1;let o=n.state.doc.resolve(i);for(let a=o.depth+1;a>0;a--)if(n.someProp(t,s=>a>o.depth?s(n,e,o.nodeAfter,o.before(a),r,!0):s(n,e,o.node(a),o.before(a),r,!1)))return!0;return!1}function rh(n,t,e){n.focused||n.focus();let i=n.state.tr.setSelection(t);"pointer"==e&&i.setMeta("pointer",!0),n.dispatch(i)}function EEe(n,t,e,i){return hE(n,"handleDoubleClickOn",t,e,i)||n.someProp("handleDoubleClick",r=>r(n,t,i))}function MEe(n,t,e,i){return hE(n,"handleTripleClickOn",t,e,i)||n.someProp("handleTripleClick",r=>r(n,t,i))||function TEe(n,t,e){if(0!=e.button)return!1;let i=n.state.doc;if(-1==t)return!!i.inlineContent&&(rh(n,ht.create(i,0,i.content.size),"pointer"),!0);let r=i.resolve(t);for(let o=r.depth+1;o>0;o--){let a=o>r.depth?r.nodeAfter:r.node(o),s=r.before(o);if(a.inlineContent)rh(n,ht.create(i,s+1,s+1+a.content.size),"pointer");else{if(!$e.isSelectable(a))continue;rh(n,$e.create(i,s),"pointer")}return!0}}(n,e,i)}function fE(n){return ky(n)}er.keydown=(n,t)=>{let e=t;if(n.input.shiftKey=16==e.keyCode||e.shiftKey,!xH(n,e)&&(n.input.lastKeyCode=e.keyCode,n.input.lastKeyCodeTime=Date.now(),!Po||!Ri||13!=e.keyCode))if(229!=e.keyCode&&n.domObserver.forceFlush(),!nh||13!=e.keyCode||e.ctrlKey||e.altKey||e.metaKey)n.someProp("handleKeyDown",i=>i(n,e))||function uEe(n,t){let e=t.keyCode,i=function dEe(n){let t="";return n.ctrlKey&&(t+="c"),n.metaKey&&(t+="m"),n.altKey&&(t+="a"),n.shiftKey&&(t+="s"),t}(t);if(8==e||oo&&72==e&&"c"==i)return uH(n,-1)||gm(n,-1);if(46==e&&!t.shiftKey||oo&&68==e&&"c"==i)return uH(n,1)||gm(n,1);if(13==e||27==e)return!0;if(37==e||oo&&66==e&&"c"==i){let r=37==e?"ltr"==cH(n,n.state.selection.from)?-1:1:-1;return aH(n,r,i)||gm(n,r)}if(39==e||oo&&70==e&&"c"==i){let r=39==e?"ltr"==cH(n,n.state.selection.from)?1:-1:1;return aH(n,r,i)||gm(n,r)}return 38==e||oo&&80==e&&"c"==i?dH(n,-1,i)||gm(n,-1):40==e||oo&&78==e&&"c"==i?function cEe(n){if(!Ji||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:e}=n.domSelectionRange();if(t&&1==t.nodeType&&0==e&&t.firstChild&&"false"==t.firstChild.contentEditable){let i=t.firstChild;hH(n,i,"true"),setTimeout(()=>hH(n,i,"false"),20)}return!1}(n)||dH(n,1,i)||sH(n):i==(oo?"m":"c")&&(66==e||73==e||89==e||90==e)}(n,e)?e.preventDefault():ml(n,"key");else{let i=Date.now();n.input.lastIOSEnter=i,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==i&&(n.someProp("handleKeyDown",r=>r(n,Lc(13,"Enter"))),n.input.lastIOSEnter=0)},200)}},er.keyup=(n,t)=>{16==t.keyCode&&(n.input.shiftKey=!1)},er.keypress=(n,t)=>{let e=t;if(xH(n,e)||!e.charCode||e.ctrlKey&&!e.altKey||oo&&e.metaKey)return;if(n.someProp("handleKeyPress",r=>r(n,e)))return void e.preventDefault();let i=n.state.selection;if(!(i instanceof ht&&i.$from.sameParent(i.$to))){let r=String.fromCharCode(e.charCode);!/[\r\n]/.test(r)&&!n.someProp("handleTextInput",o=>o(n,i.$from.pos,i.$to.pos,r))&&n.dispatch(n.state.tr.insertText(r).scrollIntoView()),e.preventDefault()}};const wH=oo?"metaKey":"ctrlKey";Zi.mousedown=(n,t)=>{let e=t;n.input.shiftKey=e.shiftKey;let i=fE(n),r=Date.now(),o="singleClick";r-n.input.lastClick.time<500&&function xEe(n,t){let e=t.x-n.clientX,i=t.y-n.clientY;return e*e+i*i<100}(e,n.input.lastClick)&&!e[wH]&&("singleClick"==n.input.lastClick.type?o="doubleClick":"doubleClick"==n.input.lastClick.type&&(o="tripleClick")),n.input.lastClick={time:r,x:e.clientX,y:e.clientY,type:o};let a=n.posAtCoords(Sy(e));a&&("singleClick"==o?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new AEe(n,a,e,!!i)):("doubleClick"==o?EEe:MEe)(n,a.pos,a.inside,e)?e.preventDefault():ml(n,"pointer"))};class AEe{constructor(t,e,i,r){let o,a;if(this.view=t,this.pos=e,this.event=i,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!i[wH],this.allowDefault=i.shiftKey,e.inside>-1)o=t.state.doc.nodeAt(e.inside),a=e.inside;else{let d=t.state.doc.resolve(e.pos);o=d.parent,a=d.depth?d.before():0}const s=r?null:i.target,l=s?t.docView.nearestDesc(s,!0):null;this.target=l?l.dom:null;let{selection:c}=t.state;(0==i.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||c instanceof $e&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Fo||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),ml(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>ps(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Sy(t))),this.updateAllowDefault(t),this.allowDefault||!e?ml(this.view,"pointer"):function kEe(n,t,e,i,r){return hE(n,"handleClickOn",t,e,i)||n.someProp("handleClick",o=>o(n,t,i))||(r?function SEe(n,t){if(-1==t)return!1;let i,r,e=n.state.selection;e instanceof $e&&(i=e.node);let o=n.state.doc.resolve(t);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if($e.isSelectable(s)){r=i&&e.$from.depth>0&&a>=e.$from.depth&&o.before(e.$from.depth+1)==e.$from.pos?o.before(e.$from.depth):o.before(a);break}}return null!=r&&(rh(n,$e.create(n.state.doc,r),"pointer"),!0)}(n,e):function DEe(n,t){if(-1==t)return!1;let e=n.state.doc.resolve(t),i=e.nodeAfter;return!!(i&&i.isAtom&&$e.isSelectable(i))&&(rh(n,new $e(e),"pointer"),!0)}(n,e))}(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||Ji&&this.mightDrag&&!this.mightDrag.node.isAtom||Ri&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(rh(this.view,et.near(this.view.state.doc.resolve(e.pos)),"pointer"),t.preventDefault()):ml(this.view,"pointer")}move(t){this.updateAllowDefault(t),ml(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function xH(n,t){return!!n.composing||!!(Ji&&Math.abs(t.timeStamp-n.input.compositionEndedAt)<500)&&(n.input.compositionEndedAt=-2e8,!0)}Zi.touchstart=n=>{n.input.lastTouch=Date.now(),fE(n),ml(n,"pointer")},Zi.touchmove=n=>{n.input.lastTouch=Date.now(),ml(n,"pointer")},Zi.contextmenu=n=>fE(n);const IEe=Po?5e3:-1;function DH(n,t){clearTimeout(n.input.composingTimeout),t>-1&&(n.input.composingTimeout=setTimeout(()=>ky(n),t))}function SH(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=function OEe(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function ky(n,t=!1){if(!(Po&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),SH(n),t||n.docView&&n.docView.dirty){let e=rE(n);return e&&!e.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(e)):n.updateState(n.state),!0}return!1}}er.compositionstart=er.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:t}=n,e=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!e.textOffset&&e.parentOffset&&e.nodeBefore.marks.some(i=>!1===i.type.spec.inclusive)))n.markCursor=n.state.storedMarks||e.marks(),ky(n,!0),n.markCursor=null;else if(ky(n),Fo&&t.selection.empty&&e.parentOffset&&!e.textOffset&&e.nodeBefore.marks.length){let i=n.domSelectionRange();for(let r=i.focusNode,o=i.focusOffset;r&&1==r.nodeType&&0!=o;){let a=o<0?r.lastChild:r.childNodes[o-1];if(!a)break;if(3==a.nodeType){n.domSelection().collapse(a,a.nodeValue.length);break}r=a,o=-1}}n.input.composing=!0}DH(n,IEe)},er.compositionend=(n,t)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=t.timeStamp,n.input.compositionID++,DH(n,20))};const oh=gr&&ul<15||nh&&Rke<604;function _m(n,t,e,i,r){let o=pH(n,t,e,i,n.state.selection.$from);if(n.someProp("handlePaste",l=>l(n,r,o||pe.empty)))return!0;if(!o)return!1;let a=function NEe(n){return 0==n.openStart&&0==n.openEnd&&1==n.content.childCount?n.content.firstChild:null}(o),s=a?n.state.tr.replaceSelectionWith(a,i):n.state.tr.replaceSelection(o);return n.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}Zi.copy=er.cut=(n,t)=>{let e=t,i=n.state.selection,r="cut"==e.type;if(i.empty)return;let o=oh?null:e.clipboardData,a=i.content(),{dom:s,text:l}=fH(n,a);o?(e.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):function REe(n,t){if(!n.dom.parentNode)return;let e=n.dom.parentNode.appendChild(document.createElement("div"));e.appendChild(t),e.style.cssText="position: fixed; left: -10000px; top: 10px";let i=getSelection(),r=document.createRange();r.selectNodeContents(t),n.dom.blur(),i.removeAllRanges(),i.addRange(r),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e),n.focus()},50)}(n,s),r&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},er.paste=(n,t)=>{let e=t;if(n.composing&&!Po)return;let i=oh?null:e.clipboardData,r=n.input.shiftKey&&45!=n.input.lastKeyCode;i&&_m(n,i.getData("text/plain"),i.getData("text/html"),r,e)?e.preventDefault():function FEe(n,t){if(!n.dom.parentNode)return;let e=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,i=n.dom.parentNode.appendChild(document.createElement(e?"textarea":"div"));e||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus();let r=n.input.shiftKey&&45!=n.input.lastKeyCode;setTimeout(()=>{n.focus(),i.parentNode&&i.parentNode.removeChild(i),e?_m(n,i.value,null,r,t):_m(n,i.textContent,i.innerHTML,r,t)},50)}(n,e)};class PEe{constructor(t,e){this.slice=t,this.move=e}}const kH=oo?"altKey":"ctrlKey";Zi.dragstart=(n,t)=>{let e=t,i=n.input.mouseDown;if(i&&i.done(),!e.dataTransfer)return;let r=n.state.selection,o=r.empty?null:n.posAtCoords(Sy(e));if(!(o&&o.pos>=r.from&&o.pos<=(r instanceof $e?r.to-1:r.to)))if(i&&i.mightDrag)n.dispatch(n.state.tr.setSelection($e.create(n.state.doc,i.mightDrag.pos)));else if(e.target&&1==e.target.nodeType){let c=n.docView.nearestDesc(e.target,!0);c&&c.node.type.spec.draggable&&c!=n.docView&&n.dispatch(n.state.tr.setSelection($e.create(n.state.doc,c.posBefore)))}let a=n.state.selection.content(),{dom:s,text:l}=fH(n,a);e.dataTransfer.clearData(),e.dataTransfer.setData(oh?"Text":"text/html",s.innerHTML),e.dataTransfer.effectAllowed="copyMove",oh||e.dataTransfer.setData("text/plain",l),n.dragging=new PEe(a,!e[kH])},Zi.dragend=n=>{let t=n.dragging;window.setTimeout(()=>{n.dragging==t&&(n.dragging=null)},50)},er.dragover=er.dragenter=(n,t)=>t.preventDefault(),er.drop=(n,t)=>{let e=t,i=n.dragging;if(n.dragging=null,!e.dataTransfer)return;let r=n.posAtCoords(Sy(e));if(!r)return;let o=n.state.doc.resolve(r.pos),a=i&&i.slice;a?n.someProp("transformPasted",v=>{a=v(a,n)}):a=pH(n,e.dataTransfer.getData(oh?"Text":"text/plain"),oh?null:e.dataTransfer.getData("text/html"),!1,o);let s=!(!i||e[kH]);if(n.someProp("handleDrop",v=>v(n,e,a||pe.empty,s)))return void e.preventDefault();if(!a)return;e.preventDefault();let l=a?pz(n.state.doc,o.pos,a):o.pos;null==l&&(l=o.pos);let c=n.state.tr;s&&c.deleteSelection();let d=c.mapping.map(l),u=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,h=c.doc;if(u?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),c.doc.eq(h))return;let p=c.doc.resolve(d);if(u&&$e.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new $e(p));else{let v=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((y,w,k,D)=>v=D),c.setSelection(aE(n,p,c.doc.resolve(v)))}n.focus(),n.dispatch(c.setMeta("uiEvent","drop"))},Zi.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&ps(n)},20))},Zi.blur=(n,t)=>{let e=t;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),e.relatedTarget&&n.dom.contains(e.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)},Zi.beforeinput=(n,t)=>{if(Ri&&Po&&"deleteContentBackward"==t.inputType){n.domObserver.flushSoon();let{domChangeCount:i}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=i||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,Lc(8,"Backspace")))))return;let{$cursor:r}=n.state.selection;r&&r.pos>0&&n.dispatch(n.state.tr.delete(r.pos-1,r.pos).scrollIntoView())},50)}};for(let n in er)Zi[n]=er[n];function bm(n,t){if(n==t)return!0;for(let e in n)if(n[e]!==t[e])return!1;for(let e in t)if(!(e in n))return!1;return!0}class pE{constructor(t,e){this.toDOM=t,this.spec=e||$c,this.side=this.spec.side||0}map(t,e,i,r){let{pos:o,deleted:a}=t.mapResult(e.from+r,this.side<0?-1:1);return a?null:new _r(o-i,o-i,this)}valid(){return!0}eq(t){return this==t||t instanceof pE&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&bm(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class gl{constructor(t,e){this.attrs=t,this.spec=e||$c}map(t,e,i,r){let o=t.map(e.from+r,this.spec.inclusiveStart?-1:1)-i,a=t.map(e.to+r,this.spec.inclusiveEnd?1:-1)-i;return o>=a?null:new _r(o,a,this)}valid(t,e){return e.from=t&&(!o||o(s.spec))&&i.push(s.copy(s.from+r,s.to+r))}for(let a=0;at){let s=this.children[a]+1;this.children[a+2].findInner(t-s,e-s,i,r+s,o)}}map(t,e,i){return this==Ni||0==t.maps.length?this:this.mapInner(t,e,0,0,i||$c)}mapInner(t,e,i,r,o){let a;for(let s=0;s{let w=y-v-(p-h);for(let k=0;kD+d-u)continue;let M=s[k]+d-u;p>=M?s[k+1]=h<=M?-2:-1:v>=r&&w&&(s[k]+=w,s[k+1]+=w)}u+=w}),d=e.maps[c].map(d,-1)}let l=!1;for(let c=0;c=i.content.size){l=!0;continue}let p=e.map(n[c+1]+o,-1)-r,{index:v,offset:y}=i.content.findIndex(u),w=i.maybeChild(v);if(w&&y==u&&y+w.nodeSize==p){let k=s[c+2].mapInner(e,w,d+1,n[c]+o+1,a);k!=Ni?(s[c]=u,s[c+1]=p,s[c+2]=k):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=function BEe(n,t,e,i,r,o,a){function s(l,c){for(let d=0;d{let d,c=l+i;if(d=MH(e,s,c)){for(r||(r=this.children.slice());os&&u.to=t){this.children[s]==t&&(i=this.children[s+2]);break}let o=t+1,a=o+e.content.size;for(let s=0;so&&l.type instanceof gl){let c=Math.max(o,l.from)-o,d=Math.min(a,l.to)-o;cr.map(t,e,$c));return _l.from(i)}forChild(t,e){if(e.isLeaf)return In.empty;let i=[];for(let r=0;re instanceof In)?t:t.reduce((e,i)=>e.concat(i instanceof In?i:i.members),[]))}}}function EH(n,t){if(!t||!n.length)return n;let e=[];for(let i=0;ie&&a.to{let c=MH(n,s,l+e);if(c){o=!0;let d=Ey(c,s,e+l+1,i);d!=Ni&&r.push(l,l+s.nodeSize,d)}});let a=EH(o?TH(n):n,-e).sort(jc);for(let s=0;s0;)t++;n.splice(t,0,e)}function _E(n){let t=[];return n.someProp("decorations",e=>{let i=e(n.state);i&&i!=Ni&&t.push(i)}),n.cursorWrapper&&t.push(In.create(n.state.doc,[n.cursorWrapper.deco])),_l.from(t)}const VEe={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},zEe=gr&&ul<=11;class HEe{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class $Ee{constructor(t,e){this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new HEe,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(i=>{for(let r=0;r"childList"==r.type&&r.removedNodes.length||"characterData"==r.type&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),zEe&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,VEe)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let e=0;ethis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(rH(this.view)){if(this.suppressingSelectionUpdates)return ps(this.view);if(gr&&ul<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&Pc(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let i,e=new Set;for(let o=t.focusNode;o;o=um(o))e.add(o);for(let o=t.anchorNode;o;o=um(o))if(e.has(o)){i=o;break}let r=i&&this.view.docView.nearestDesc(i);return r&&r.ignoreMutation({type:"selection",target:3==i.nodeType?i.parentNode:i})?(this.setCurSelection(),!0):void 0}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let i=t.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(i)&&rH(t)&&!this.ignoreSelectionChange(i),o=-1,a=-1,s=!1,l=[];if(t.editable)for(let d=0;d1){let d=l.filter(u=>"BR"==u.nodeName);if(2==d.length){let u=d[0],h=d[1];u.parentNode&&u.parentNode.parentNode==h.parentNode?h.remove():u.remove()}}let c=null;o<0&&r&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||r)&&(o>-1&&(t.docView.markDirty(o,a),function jEe(n){if(!IH.has(n)&&(IH.set(n,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace))){if(n.requiresGeckoHackNode=Fo,OH)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),OH=!0}}(t)),this.handleDOMChange(o,a,s,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(i)||ps(t),this.currentSelection.set(i))}registerMutation(t,e){if(e.indexOf(t.target)>-1)return null;let i=this.view.docView.nearestDesc(t.target);if("attributes"==t.type&&(i==this.view.docView||"contenteditable"==t.attributeName||"style"==t.attributeName&&!t.oldValue&&!t.target.getAttribute("style"))||!i||i.ignoreMutation(t))return null;if("childList"==t.type){for(let d=0;dt.content.size?null:aE(n,t.resolve(e.anchor),t.resolve(e.head))}function bE(n,t,e){let i=n.depth,r=t?n.end():n.pos;for(;i>0&&(t||n.indexAfter(i)==n.node(i).childCount);)i--,r++,t=!1;if(e){let o=n.node(i).maybeChild(n.indexAfter(i));for(;o&&!o.isLeaf;)o=o.firstChild,r++}return r}class JEe{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new bEe,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(BH),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=PH(this),FH(this),this.nodeViews=LH(this),this.docView=qz(this.state.doc,NH(this),_E(this),this.dom,this),this.domObserver=new $Ee(this,(i,r,o,a)=>function YEe(n,t,e,i,r){if(t<0){let le=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,Ve=rE(n,le);if(Ve&&!n.state.selection.eq(Ve)){if(Ri&&Po&&13===n.input.lastKeyCode&&Date.now()-100Dn(n,Lc(13,"Enter"))))return;let Ne=n.state.tr.setSelection(Ve);"pointer"==le?Ne.setMeta("pointer",!0):"key"==le&&Ne.scrollIntoView(),n.composing&&Ne.setMeta("composition",n.input.compositionID),n.dispatch(Ne)}return}let o=n.state.doc.resolve(t),a=o.sharedDepth(e);t=o.before(a+1),e=n.state.doc.resolve(e).after(a+1);let u,h,s=n.state.selection,l=function GEe(n,t,e){let c,{node:i,fromOffset:r,toOffset:o,from:a,to:s}=n.docView.parseRange(t,e),l=n.domSelectionRange(),d=l.anchorNode;if(d&&n.dom.contains(1==d.nodeType?d:d.parentNode)&&(c=[{node:d,offset:l.anchorOffset}],Cy(l)||c.push({node:l.focusNode,offset:l.focusOffset})),Ri&&8===n.input.lastKeyCode)for(let w=o;w>r;w--){let k=i.childNodes[w-1],D=k.pmViewDesc;if("BR"==k.nodeName&&!D){o=w;break}if(!D||D.size)break}let u=n.state.doc,h=n.someProp("domParser")||Wu.fromSchema(n.state.schema),p=u.resolve(a),v=null,y=h.parse(i,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:r,to:o,preserveWhitespace:"pre"!=p.parent.type.whitespace||"full",findPositions:c,ruleFromNode:qEe,context:p});if(c&&null!=c[0].pos){let w=c[0].pos,k=c[1]&&c[1].pos;null==k&&(k=w),v={anchor:w+a,head:k+a}}return{doc:y,sel:v,from:a,to:s}}(n,t,e),c=n.state.doc,d=c.slice(l.from,l.to);8===n.input.lastKeyCode&&Date.now()-100=a?o-i:0,s=o+(s-a),a=o):s=s?o-i:0,a=o+(a-s),s=o),{start:o,endA:a,endB:s}}(d.content,l.doc.content,l.from,u,h);if((nh&&n.input.lastIOSEnter>Date.now()-225||Po)&&r.some(le=>1==le.nodeType&&!WEe.test(le.nodeName))&&(!p||p.endA>=p.endB)&&n.someProp("handleKeyDown",le=>le(n,Lc(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(!p){if(!(i&&s instanceof ht&&!s.empty&&s.$head.sameParent(s.$anchor))||n.composing||l.sel&&l.sel.anchor!=l.sel.head){if(l.sel){let le=RH(n,n.state.doc,l.sel);if(le&&!le.eq(n.state.selection)){let Ve=n.state.tr.setSelection(le);n.composing&&Ve.setMeta("composition",n.input.compositionID),n.dispatch(Ve)}}return}p={start:s.from,endA:s.to,endB:s.to}}if(Ri&&n.cursorWrapper&&l.sel&&l.sel.anchor==n.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let le=p.endB-p.start;l.sel={anchor:l.sel.anchor+le,head:l.sel.anchor+le}}n.input.domChangeCount++,n.state.selection.fromn.state.selection.from&&p.start<=n.state.selection.from+2&&n.state.selection.from>=l.from?p.start=n.state.selection.from:p.endA=n.state.selection.to-2&&n.state.selection.to<=l.to&&(p.endB+=n.state.selection.to-p.endA,p.endA=n.state.selection.to)),gr&&ul<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&" \xa0"==l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)&&(p.start--,p.endA--,p.endB--);let D,v=l.doc.resolveNoCache(p.start-l.from),y=l.doc.resolveNoCache(p.endB-l.from),w=c.resolve(p.start),k=v.sameParent(y)&&v.parent.inlineContent&&w.end()>=p.endA;if((nh&&n.input.lastIOSEnter>Date.now()-225&&(!k||r.some(le=>"DIV"==le.nodeName||"P"==le.nodeName))||!k&&v.posle(n,Lc(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(n.state.selection.anchor>p.start&&function QEe(n,t,e,i,r){if(!i.parent.isTextblock||e-t<=r.pos-i.pos||bE(i,!0,!1)e||bE(a,!0,!1)le(n,Lc(8,"Backspace"))))return void(Po&&Ri&&n.domObserver.suppressSelectionUpdates());Ri&&Po&&p.endB==p.start&&(n.input.lastAndroidDelete=Date.now()),Po&&!k&&v.start()!=y.start()&&0==y.parentOffset&&v.depth==y.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,y=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{n.someProp("handleKeyDown",function(le){return le(n,Lc(13,"Enter"))})},20));let O,he,L,M=p.start,I=p.endA;if(k)if(v.pos==y.pos)gr&&ul<=11&&0==v.parentOffset&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>ps(n),20)),O=n.state.tr.delete(M,I),he=c.resolve(p.start).marksAcross(c.resolve(p.endA));else if(p.endA==p.endB&&(L=function KEe(n,t){let a,s,l,e=n.firstChild.marks,i=t.firstChild.marks,r=e,o=i;for(let d=0;dd.mark(s.addToSet(d.marks));else{if(0!=r.length||1!=o.length)return null;s=o[0],a="remove",l=d=>d.mark(s.removeFromSet(d.marks))}let c=[];for(let d=0;dVe(n,M,I,le)))return;O=n.state.tr.insertText(le,M,I)}if(O||(O=n.state.tr.replace(M,I,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let le=RH(n,O.doc,l.sel);le&&!(Ri&&Po&&n.composing&&le.empty&&(p.start!=p.endB||n.input.lastAndroidDelete{CEe(n,i)&&!uE(n,i)&&(n.editable||!(i.type in er))&&e(n,i)},_Ee[t]?{passive:!0}:void 0)}Ji&&n.dom.addEventListener("input",()=>null),dE(n)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let e in t)this._props[e]=t[e];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&dE(this);let e=this._props;this._props=t,t.plugins&&(t.plugins.forEach(BH),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={};for(let i in this._props)e[i]=this._props[i];e.state=this.state;for(let i in t)e[i]=t[i];this.update(e)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,e){let i=this.state,r=!1,o=!1;t.storedMarks&&this.composing&&(SH(this),o=!0),this.state=t;let a=i.plugins!=t.plugins||this._props.plugins!=e.plugins;if(a||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let h=LH(this);(function eMe(n,t){let e=0,i=0;for(let r in n){if(n[r]!=t[r])return!0;e++}for(let r in t)i++;return e!=i})(h,this.nodeViews)&&(this.nodeViews=h,r=!0)}(a||e.handleDOMEvents!=this._props.handleDOMEvents)&&dE(this),this.editable=PH(this),FH(this);let s=_E(this),l=NH(this),c=i.plugins==t.plugins||i.doc.eq(t.doc)?t.scrollToSelection>i.scrollToSelection?"to selection":"preserve":"reset",d=r||!this.docView.matchesNode(t.doc,l,s);(d||!t.selection.eq(i.selection))&&(o=!0);let u="preserve"==c&&o&&null==this.dom.style.overflowAnchor&&function Pke(n){let i,r,t=n.dom.getBoundingClientRect(),e=Math.max(0,t.top);for(let o=(t.left+t.right)/2,a=e+1;a=e-20){i=s,r=l.top;break}}return{refDOM:i,refTop:r,stack:Nz(n.dom)}}(this);if(o){this.domObserver.stop();let h=d&&(gr||Ri)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&function ZEe(n,t){let e=Math.min(n.$anchor.sharedDepth(n.head),t.$anchor.sharedDepth(t.head));return n.$anchor.start(e)!=t.$anchor.start(e)}(i.selection,t.selection);if(d){let p=Ri?this.trackWrites=this.domSelectionRange().focusNode:null;(r||!this.docView.update(t.doc,l,s,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=qz(t.doc,l,s,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function sEe(n){let t=n.docView.domFromPos(n.state.selection.anchor,0),e=n.domSelectionRange();return Pc(t.node,t.offset,e.anchorNode,e.anchorOffset)}(this))?ps(this,h):(nH(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():u&&function Lke({refDOM:n,refTop:t,stack:e}){let i=n?n.getBoundingClientRect().top:0;Fz(e,0==i?0:i-t)}(u)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",e=>e(this)))if(this.state.selection instanceof $e){let e=this.docView.domAfterPos(this.state.selection.from);1==e.nodeType&&Rz(this,e.getBoundingClientRect(),t)}else Rz(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;ee.ownerDocument.getSelection()),this._root=e;return t||document}posAtCoords(t){return jke(this,t)}coordsAtPos(t,e=1){return Vz(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t);return e?e.nodeDOM:null}posAtDOM(t,e,i=-1){let r=this.docView.posFromDOM(t,e,i);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(t,e){return function Yke(n,t,e){return Hz==t&&$z==e?jz:(Hz=t,$z=e,jz="up"==e||"down"==e?function Gke(n,t,e){let i=t.selection,r="up"==e?i.$from:i.$to;return zz(n,t,()=>{let{node:o}=n.docView.domFromPos(r.pos,"up"==e?-1:1);for(;;){let s=n.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=Vz(n,r.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(1==s.nodeType)l=s.getClientRects();else{if(3!=s.nodeType)continue;l=fs(s,0,s.nodeValue.length).getClientRects()}for(let c=0;cd.top+1&&("up"==e?a.top-d.top>2*(d.bottom-a.top):d.bottom-a.bottom>2*(a.bottom-d.top)))return!1}}return!0})}(n,t,e):function Wke(n,t,e){let{$head:i}=t.selection;if(!i.parent.isTextblock)return!1;let r=i.parentOffset,o=!r,a=r==i.parent.content.size,s=n.domSelection();return qke.test(i.parent.textContent)&&s.modify?zz(n,t,()=>{let{focusNode:l,focusOffset:c,anchorNode:d,anchorOffset:u}=n.domSelectionRange(),h=s.caretBidiLevel;s.modify("move",e,"character");let p=i.depth?n.docView.domAfterPos(i.before()):n.dom,{focusNode:v,focusOffset:y}=n.domSelectionRange(),w=v&&!p.contains(1==v.nodeType?v:v.parentNode)||l==v&&c==y;try{s.collapse(d,u),l&&(l!=d||c!=u)&&s.extend&&s.extend(l,c)}catch{}return null!=h&&(s.caretBidiLevel=h),w}):"left"==e||"backward"==e?o:a}(n,t,e))}(this,e||this.state,t)}pasteHTML(t,e){return _m(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return _m(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(function yEe(n){n.domObserver.stop();for(let t in n.input.eventHandlers)n.dom.removeEventListener(t,n.input.eventHandlers[t]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],_E(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(t){return function wEe(n,t){!uE(n,t)&&Zi[t.type]&&(n.editable||!(t.type in er))&&Zi[t.type](n,t)}(this,t)}dispatch(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return Ji&&11===this.root.nodeType&&function Tke(n){let t=n.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function UEe(n){let t;function e(l){l.preventDefault(),l.stopImmediatePropagation(),t=l.getTargetRanges()[0]}n.dom.addEventListener("beforeinput",e,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",e,!0);let i=t.startContainer,r=t.startOffset,o=t.endContainer,a=t.endOffset,s=n.domAtPos(n.state.selection.anchor);return Pc(s.node,s.offset,o,a)&&([i,r,o,a]=[o,a,i,r]),{anchorNode:i,anchorOffset:r,focusNode:o,focusOffset:a}}(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function NH(n){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(n.editable),n.someProp("attributes",e=>{if("function"==typeof e&&(e=e(n.state)),e)for(let i in e)"class"==i?t.class+=" "+e[i]:"style"==i?t.style=(t.style?t.style+";":"")+e[i]:!t[i]&&"contenteditable"!=i&&"nodeName"!=i&&(t[i]=String(e[i]))}),t.translate||(t.translate="no"),[_r.node(0,n.state.doc.content.size,t)]}function FH(n){if(n.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),n.cursorWrapper={dom:t,deco:_r.widget(n.state.selection.head,t,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function PH(n){return!n.someProp("editable",t=>!1===t(n.state))}function LH(n){let t=Object.create(null);function e(i){for(let r in i)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=i[r])}return n.someProp("nodeViews",e),n.someProp("markViews",e),t}function BH(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var bl={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},My={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},tMe=typeof navigator<"u"&&/Mac/.test(navigator.platform),nMe=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),mi=0;mi<10;mi++)bl[48+mi]=bl[96+mi]=String(mi);for(mi=1;mi<=24;mi++)bl[mi+111]="F"+mi;for(mi=65;mi<=90;mi++)bl[mi]=String.fromCharCode(mi+32),My[mi]=String.fromCharCode(mi);for(var vE in bl)My.hasOwnProperty(vE)||(My[vE]=bl[vE]);const rMe=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function oMe(n){let i,r,o,a,t=n.split(/-(?!$)/),e=t[t.length-1];"Space"==e&&(e=" ");for(let s=0;s127)&&(o=bl[i.keyCode])&&o!=r){let s=t[yE(o,i)];if(s&&s(e.state,e.dispatch,e))return!0}}return!1}}var xE,DE;if(typeof WeakMap<"u"){let n=new WeakMap;xE=t=>n.get(t),DE=(t,e)=>(n.set(t,e),e)}else{const n=[];let e=0;xE=i=>{for(let r=0;r(10==e&&(e=0),n[e++]=i,n[e++]=r)}var cn=class{constructor(n,t,e,i){this.width=n,this.height=t,this.map=e,this.problems=i}findCell(n){for(let t=0;ti&&(o+=c.attrs.colspan)}}for(let a=0;a1&&(e=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(n),e=n.childCount,i=[];let r=0,o=null;const a=[];for(let c=0,d=t*e;c=e){(o||(o=[])).push({type:"overlong_rowspan",pos:d,n:k-M});break}const I=r+M*t;for(let O=0;O0;t--)if("row"==n.node(t).type.spec.tableRole)return n.node(0).resolve(n.before(t+1));return null}function so(n){const t=n.selection.$head;for(let e=t.depth;e>0;e--)if("row"==t.node(e).type.spec.tableRole)return!0;return!1}function vm(n){const t=n.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const e=sh(t.$head)||function hMe(n){for(let t=n.nodeAfter,e=n.pos;t;t=t.firstChild,e++){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e)}for(let t=n.nodeBefore,e=n.pos;t;t=t.lastChild,e--){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e-t.nodeSize)}}(t.$head);if(e)return e;throw new RangeError(`No cell found around position ${t.head}`)}function SE(n){return"row"==n.parent.type.spec.tableRole&&!!n.nodeAfter}function kE(n,t){return n.depth==t.depth&&n.pos>=t.start(-1)&&n.pos<=t.end(-1)}function HH(n,t,e){const i=n.node(-1),r=cn.get(i),o=n.start(-1),a=r.nextCell(n.pos-o,t,e);return null==a?null:n.node(0).resolve(o+a)}function Uc(n,t,e=1){const i={...n,colspan:n.colspan-e};return i.colwidth&&(i.colwidth=i.colwidth.slice(),i.colwidth.splice(t,e),i.colwidth.some(r=>r>0)||(i.colwidth=null)),i}function $H(n,t,e=1){const i={...n,colspan:n.colspan+e};if(i.colwidth){i.colwidth=i.colwidth.slice();for(let r=0;rc!=t.pos-r);s.unshift(t.pos-r);const l=s.map(c=>{const d=e.nodeAt(c);if(!d)throw RangeError(`No cell with offset ${c} found`);const u=r+c+1;return new yz(a.resolve(u),a.resolve(u+d.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=n,this.$headCell=t}map(n,t){const e=n.resolve(t.map(this.$anchorCell.pos)),i=n.resolve(t.map(this.$headCell.pos));if(SE(e)&&SE(i)&&kE(e,i)){const r=this.$anchorCell.node(-1)!=e.node(-1);return r&&this.isRowSelection()?Et.rowSelection(e,i):r&&this.isColSelection()?Et.colSelection(e,i):new Et(e,i)}return ht.between(e,i)}content(){const n=this.$anchorCell.node(-1),t=cn.get(n),e=this.$anchorCell.start(-1),i=t.rectBetween(this.$anchorCell.pos-e,this.$headCell.pos-e),r={},o=[];for(let s=i.top;s0||y>0){let w=p.attrs;if(v>0&&(w=Uc(w,0,v)),y>0&&(w=Uc(w,w.colspan-y,y)),h.lefti.bottom){const w={...p.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};p=h.top0)&&Math.max(n+this.$anchorCell.nodeAfter.attrs.rowspan,t+this.$headCell.nodeAfter.attrs.rowspan)==this.$headCell.node(-1).childCount}static colSelection(n,t=n){const e=n.node(-1),i=cn.get(e),r=n.start(-1),o=i.findCell(n.pos-r),a=i.findCell(t.pos-r),s=n.node(0);return o.top<=a.top?(o.top>0&&(n=s.resolve(r+i.map[o.left])),a.bottom0&&(t=s.resolve(r+i.map[a.left])),o.bottom0)&&Math.max(i+this.$anchorCell.nodeAfter.attrs.colspan,r+this.$headCell.nodeAfter.attrs.colspan)==t.width}eq(n){return n instanceof Et&&n.$anchorCell.pos==this.$anchorCell.pos&&n.$headCell.pos==this.$headCell.pos}static rowSelection(n,t=n){const e=n.node(-1),i=cn.get(e),r=n.start(-1),o=i.findCell(n.pos-r),a=i.findCell(t.pos-r),s=n.node(0);return o.left<=a.left?(o.left>0&&(n=s.resolve(r+i.map[o.top*i.width])),a.right0&&(t=s.resolve(r+i.map[a.top*i.width])),o.right{t.push(_r.node(i,i+e.nodeSize,{class:"selectedCell"}))}),In.create(n.doc,t)}var vMe=new dm("fix-tables");function UH(n,t,e,i){const r=n.childCount,o=t.childCount;e:for(let a=0,s=0;a{"table"==r.type.spec.tableRole&&(e=function CMe(n,t,e,i){const r=cn.get(t);if(!r.problems)return i;i||(i=n.tr);const o=[];for(let l=0;l0){let p="cell";d.firstChild&&(p=d.firstChild.type.spec.tableRole);const v=[];for(let w=0;wt.width)for(let u=0,h=0;ut.height){const u=[];for(let v=0,y=(t.height-1)*t.width;v=t.width)&&e.nodeAt(t.map[y+v]).type==l.header_cell;u.push(w?d||(d=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const h=l.row.create(null,Z.from(u)),p=[];for(let v=t.height;v{if(!r)return!1;const o=e.selection;if(o instanceof Et)return Ty(e,i,et.near(o.$headCell,t));if("horiz"!=n&&!o.empty)return!1;const a=YH(r,n,t);if(null==a)return!1;if("horiz"==n)return Ty(e,i,et.near(e.doc.resolve(o.head+t),t));{const s=e.doc.resolve(a),l=HH(s,n,t);let c;return c=l?et.near(l,1):t<0?et.near(e.doc.resolve(s.before(-1)),-1):et.near(e.doc.resolve(s.after(-1)),1),Ty(e,i,c)}}}function Iy(n,t){return(e,i,r)=>{if(!r)return!1;const o=e.selection;let a;if(o instanceof Et)a=o;else{const l=YH(r,n,t);if(null==l)return!1;a=new Et(e.doc.resolve(l))}const s=HH(a.$headCell,n,t);return!!s&&Ty(e,i,new Et(a.$anchorCell,s))}}function Oy(n,t){const e=n.selection;if(!(e instanceof Et))return!1;if(t){const i=n.tr,r=gi(n.schema).cell.createAndFill().content;e.forEachCell((o,a)=>{o.content.eq(r)||i.replace(i.mapping.map(a+1),i.mapping.map(a+o.nodeSize-1),new pe(r,0,0))}),i.docChanged&&t(i)}return!0}function EMe(n,t){const i=sh(n.state.doc.resolve(t));return!!i&&(n.dispatch(n.state.tr.setSelection(new Et(i))),!0)}function MMe(n,t,e){if(!so(n.state))return!1;let i=function wMe(n){if(!n.size)return null;let{content:t,openStart:e,openEnd:i}=n;for(;1==t.childCount&&(e>0&&i>0||"table"==t.child(0).type.spec.tableRole);)e--,i--,t=t.child(0).content;const r=t.child(0),o=r.type.spec.tableRole,a=r.type.schema,s=[];if("row"==o)for(let l=0;l=0;a--){const{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=r;c=t.length&&t.push(Z.empty),e[r]i&&(h=h.type.createChecked(Uc(h.attrs,h.attrs.colspan,d+h.attrs.colspan-i),h.content)),c.push(h),d+=h.attrs.colspan;for(let p=1;pr&&(u=u.type.create({...u.attrs,rowspan:Math.max(1,r-u.attrs.rowspan)},u.content)),l.push(u)}o.push(Z.from(l))}e=o,t=r}return{width:n,height:t,rows:e}}(i,s.right-s.left,s.bottom-s.top),WH(n.state,n.dispatch,a,s,i),!0}if(i){const o=vm(n.state),a=o.start(-1);return WH(n.state,n.dispatch,a,cn.get(o.node(-1)).findCell(o.pos-a),i),!0}return!1}function TMe(n,t){var e;if(t.ctrlKey||t.metaKey)return;const i=KH(n,t.target);let r;if(t.shiftKey&&n.state.selection instanceof Et)o(n.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&i&&null!=(r=sh(n.state.selection.$anchor))&&(null==(e=ME(n,t))?void 0:e.pos)!=r.pos)o(r,t),t.preventDefault();else if(!i)return;function o(l,c){let d=ME(n,c);const u=null==vl.getState(n.state);if(!d||!kE(l,d)){if(!u)return;d=l}const h=new Et(l,d);if(u||!n.state.selection.eq(h)){const p=n.state.tr.setSelection(h);u&&p.setMeta(vl,l.pos),n.dispatch(p)}}function a(){n.root.removeEventListener("mouseup",a),n.root.removeEventListener("dragstart",a),n.root.removeEventListener("mousemove",s),null!=vl.getState(n.state)&&n.dispatch(n.state.tr.setMeta(vl,-1))}function s(l){const c=l,d=vl.getState(n.state);let u;if(null!=d)u=n.state.doc.resolve(d);else if(KH(n,c.target)!=i&&(u=ME(n,t),!u))return a();u&&o(u,c)}n.root.addEventListener("mouseup",a),n.root.addEventListener("dragstart",a),n.root.addEventListener("mousemove",s)}function YH(n,t,e){if(!(n.state.selection instanceof ht))return null;const{$head:i}=n.state.selection;for(let r=i.depth-1;r>=0;r--){const o=i.node(r);if((e<0?i.index(r):i.indexAfter(r))!=(e<0?0:o.childCount))return null;if("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){const s=i.before(r);return n.endOfTextblock("vert"==t?e>0?"down":"up":e>0?"right":"left")?s:null}}return null}function KH(n,t){for(;t&&t!=n.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function ME(n,t){const e=n.posAtCoords({left:t.clientX,top:t.clientY});return e&&e?sh(n.state.doc.resolve(e.pos)):null}function Ca(n){const t=n.selection,e=vm(n),i=e.node(-1),r=e.start(-1),o=cn.get(i);return{...t instanceof Et?o.rectBetween(t.$anchorCell.pos-r,t.$headCell.pos-r):o.findCell(e.pos-r),tableStart:r,map:o,table:i}}function ZH(n,{map:t,tableStart:e,table:i},r){let o=r>0?-1:0;(function pMe(n,t,e){const i=gi(t.type.schema).header_cell;for(let r=0;r0&&r0&&t.map[s-1]==l||r0?-1:0;(function UMe(n,t,e){var i;const r=gi(t.type.schema).header_cell;for(let o=0;o0&&r0&&d==t.map[c-t.width]){const u=e.nodeAt(d).attrs;n.setNodeMarkup(n.mapping.slice(s).map(d+i),null,{...u,rowspan:u.rowspan-1}),l+=u.colspan-1}else if(r0&&e[o]==e[o-1]||i.right0&&e[r]==e[r-n]||i.bottom{var i;const r=t.selection;let o,a;if(r instanceof Et){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;o=r.$anchorCell.nodeAfter,a=r.$anchorCell.pos}else{if(o=function uMe(n){for(let t=n.depth;t>0;t--){const e=n.node(t).type.spec.tableRole;if("cell"===e||"header_cell"===e)return n.node(t)}return null}(r.$from),!o)return!1;a=null==(i=sh(r.$from))?void 0:i.pos}if(null==o||null==a||1==o.attrs.colspan&&1==o.attrs.rowspan)return!1;if(e){let s=o.attrs;const l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const d=Ca(t),u=t.tr;for(let p=0;pe[i.type.spec.tableRole])(n,t)}function n7(n,t,e){const i=t.map.cellsInRect({left:0,top:0,right:"row"==n?t.map.width:1,bottom:"column"==n?t.map.height:1});for(let r=0;rr.table.nodeAt(l));for(let l=0;l{const v=p+o.tableStart,y=a.doc.nodeAt(v);y&&a.setNodeMarkup(v,h,y.attrs)}),i(a)}return!0}}new dm("tableColumnResizing");var tTe=AE("row",{useDeprecatedLogic:!0}),nTe=AE("column",{useDeprecatedLogic:!0}),iTe=AE("cell",{useDeprecatedLogic:!0});function i7(n){return function(t,e){if(!so(t))return!1;const i=function rTe(n,t){if(t<0){const e=n.nodeBefore;if(e)return n.pos-e.nodeSize;for(let i=n.index(-1)-1,r=n.before();i>=0;i--){const o=n.node(-1).child(i),a=o.lastChild;if(a)return r-1-a.nodeSize;r-=o.nodeSize}}else{if(n.index()0;i--)if("table"==e.node(i).type.spec.tableRole)return t&&t(n.tr.delete(e.before(i),e.after(i)).scrollIntoView()),!0;return!1}let r7=(()=>{class n{constructor(e){this.document=e;const i=this;this.plugin=new hs({state:{init:()=>In.empty,apply(r,o){o=o.map(r.mapping,r.doc);const a=r.getMeta(i.plugin);if(a&&a.add){const s=e.createElement("placeholder"),l=_r.widget(a.add.pos,s,{id:a.add.id});o=o.add(r.doc,[l])}else a&&a.remove&&(o=o.remove(o.find(void 0,void 0,s=>s.id===a.remove.id)));return o}},props:{decorations(r){return this.getState(r)}}})}findPlaceholder(e,i){const o=this.plugin.getState(e)?.find(void 0,void 0,a=>a.id===i);return o?.length?o[0].from:null}startImageUpload(e,i,r,o){const a={},s=e.state.tr;s.selection.empty||s.deleteSelection(),s.setMeta(this.plugin,{add:{id:a,pos:s.selection.from}}),e.dispatch(s),r(i).subscribe({next:l=>{const c=this.findPlaceholder(e.state,a);null!==c&&e.dispatch(e.state.tr.replaceWith(c,c,o.nodes.image.create({src:l})).setMeta(this.plugin,{remove:{id:a}}))},error:()=>{e?.dispatch(s.setMeta(this.plugin,{remove:{id:a}}))}})}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const sTe=["p",0],lTe=["blockquote",0],cTe=["hr"],dTe=["pre",["code",0]],uTe=["br"],Gc={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:()=>sTe},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:()=>lTe},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:()=>cTe},heading:{attrs:{level:{default:1}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:n=>["h"+n.attrs.level,0]},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM:()=>dTe},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:n=>({src:n.getAttribute("src"),title:n.getAttribute("title"),alt:n.getAttribute("alt")})}],toDOM(n){let{src:t,alt:e,title:i}=n.attrs;return["img",{src:t,alt:e,title:i}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:()=>uTe}},hTe=["em",0],fTe=["strong",0],pTe=["code",0],Ny={link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:n=>({href:n.getAttribute("href"),title:n.getAttribute("title")})}],toDOM(n){let{href:t,title:e}=n.attrs;return["a",{href:t,title:e},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:n=>"em"==n.type.name}],toDOM:()=>hTe},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:n=>"normal"!=n.style.fontWeight&&null},{style:"font-weight=400",clearMark:n=>"strong"==n.type.name},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}],toDOM:()=>fTe},code:{parseDOM:[{tag:"code"}],toDOM:()=>pTe}},mTe=(new rm({nodes:Gc,marks:Ny}),["ol",0]),gTe=["ul",0],_Te=["li",0],bTe={attrs:{order:{default:1}},parseDOM:[{tag:"ol",getAttrs:n=>({order:n.hasAttribute("start")?+n.getAttribute("start"):1})}],toDOM:n=>1==n.attrs.order?mTe:["ol",{start:n.attrs.order},0]},vTe={parseDOM:[{tag:"ul"}],toDOM:()=>gTe},yTe={parseDOM:[{tag:"li"}],toDOM:()=>_Te,defining:!0};function IE(n,t){let e={};for(let i in n)e[i]=n[i];for(let i in t)e[i]=t[i];return e}function o7(n,t,e){return n.append({ordered_list:IE(bTe,{content:"list_item+",group:e}),bullet_list:IE(vTe,{content:"list_item+",group:e}),list_item:IE(yTe,{content:t})})}function OE(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,a=r.blockRange(o),s=!1,l=a;if(!a)return!1;if(a.depth>=2&&r.node(a.depth-1).type.compatibleContent(n)&&0==a.startIndex){if(0==r.index(a.depth-1))return!1;let d=e.doc.resolve(a.start-2);l=new uy(d,d,a.depth),a.endIndex=0;d--)o=Z.from(e[d].type.create(e[d].attrs,o));n.step(new pi(t.start-(i?2:0),t.end,t.start,t.end,new pe(o,0,0),e.length,!0));let a=0;for(let d=0;d{if(!(n instanceof HTMLElement))return null;const{textAlign:t}=n.style;let e=n.getAttribute("align")||t||"";e=ETe.test(e)?e:null;const i=n.getAttribute("id")||"";return{align:e,class:n.className,id:i}}}],toDOM:n=>{const{align:t,id:e}=n.attrs,i={};let r="";return t&&"left"!==t&&(r+=`text-align: ${t};`),r&&(i.style=r),e&&(i.id=e),n.attrs.class&&(i.class=n.attrs.class),["p",i,0]}},lh=function(n){return t=>{if(!(t instanceof HTMLElement))return null;const e=t.getAttribute("id")||null;return{level:n,class:t.className,id:e}}},MTe={attrs:{level:{default:1},class:{default:null},id:{default:null}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",getAttrs:lh(1)},{tag:"h2",getAttrs:lh(2)},{tag:"h3",getAttrs:lh(3)},{tag:"h4",getAttrs:lh(4)},{tag:"h5",getAttrs:lh(5)},{tag:"h6",getAttrs:lh(6)}],toDOM:n=>{const{id:t}=n.attrs,e={};return t&&(e.id=t),n.attrs.class&&(e.class=n.attrs.class),["h"+n.attrs.level,e,0]}};function a7(n,t){if(!(n instanceof HTMLElement))return null;const e=n.getAttribute("data-colwidth"),i=e&&/^\d+(,\d+)*$/.test(e)?e.split(",").map(a=>Number(a)):null,r=Number(n.getAttribute("colspan")||1),o={colspan:r,rowspan:Number(n.getAttribute("rowspan")||1),colwidth:i&&i.length==r?i:null};for(const a in t){const s=t[a].getFromDOM,l=s&&s(n);null!=l&&(o[a]=l)}return o}function s7(n,t){const e={};1!=n.attrs.colspan&&(e.colspan=n.attrs.colspan),1!=n.attrs.rowspan&&(e.rowspan=n.attrs.rowspan),n.attrs.colwidth&&(e["data-colwidth"]=n.attrs.colwidth.join(","));for(const i in t){const r=t[i].setDOMAttr;r&&r(n.attrs[i],e)}return e}const NE={link:Ny.link,em:Ny.em,strong:Ny.strong},l7=new rm({nodes:{doc:Gc.doc,paragraph:Gc.paragraph,heading:Gc.heading,text:Gc.text,hard_break:Gc.hard_break},marks:NE}),c7=new rm({nodes:o7(l7.spec.nodes,"paragraph block*","block"),marks:l7.spec.marks}),ITe=new rm({nodes:{...Gc,heading:MTe,...function TTe(n){const t=n.cellAttributes||{},e={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(const i in t)e[i]={default:t[i].default};return{table:{attrs:{class:{default:null},id:{default:""}},content:"table_row+",tableRole:"table",isolating:!0,group:n.tableGroup,parseDOM:[{tag:"table",getAttrs:i=>i instanceof HTMLElement?{class:i.className,id:i.id}:null}],toDOM:i=>{const r={};return i.attrs.class&&(r.class=i.attrs.class),i.attrs.id&&(r.id=i.attrs.id),["table",r,["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM:()=>["tr",0]},table_cell:{content:n.cellContent,attrs:e,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:i=>a7(i,t)}],toDOM:i=>["td",s7(i,t),0]},table_header:{content:n.cellContent,attrs:e,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:i=>a7(i,t)}],toDOM:i=>["th",s7(i,t),0]}}}({tableGroup:"block",cellContent:"block+",cellAttributes:{background:{default:null,getFromDOM:n=>n.style.backgroundColor||null,setDOMAttr(n,t){n&&(t.style=(t.style||"")+`background-color: ${n};`)}}}}),paragraph:RE},marks:NE}),d7=new rm({nodes:o7(ITe.spec.nodes,"paragraph block*","block"),marks:NE});function u7(n,t){if("string"==typeof t)n.appendChild(document.createTextNode(t));else if(null!=t)if(null!=t.nodeType)n.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var e=0;e!n.selection.empty&&(t&&t(n.tr.deleteSelection().scrollIntoView()),!0);function ch(n,t,e=!1){for(let i=n;i;i="start"==t?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(e&&1!=i.childCount)return!1}return!1}function FE(n){if(!n.parent.type.spec.isolating)for(let t=n.depth-1;t>=0;t--){if(n.index(t)>0)return n.doc.resolve(n.before(t+1));if(n.node(t).type.spec.isolating)break}return null}function PE(n){if(!n.parent.type.spec.isolating)for(let t=n.depth-1;t>=0;t--){let e=n.node(t);if(n.index(t)+1{let r,e=n.selection,i=e instanceof $e;if(i){if(e.node.isTextblock||!Xu(n.doc,e.from))return!1;r=e.from}else if(r=fz(n.doc,e.from,-1),null==r)return!1;if(t){let o=n.tr.join(r);i&&o.setSelection($e.create(o.doc,r-n.doc.resolve(r).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0},LTe=(n,t)=>{let i,e=n.selection;if(e instanceof $e){if(e.node.isTextblock||!Xu(n.doc,e.to))return!1;i=e.to}else if(i=fz(n.doc,e.to,1),null==i)return!1;return t&&t(n.tr.join(i).scrollIntoView()),!0},BE=(n,t)=>{let{$from:e,$to:i}=n.selection,r=e.blockRange(i),o=r&&am(r);return null!=o&&(t&&t(n.tr.lift(r,o).scrollIntoView()),!0)};function VE(n){for(let t=0;t{let{$head:e,$anchor:i}=n.selection;if(!e.parent.type.spec.code||!e.sameParent(i))return!1;let r=e.node(-1),o=e.indexAfter(-1),a=VE(r.contentMatchAt(o));if(!a||!r.canReplaceWith(o,o,a))return!1;if(t){let s=e.after(),l=n.tr.replaceWith(s,s,a.createAndFill());l.setSelection(et.near(l.doc.resolve(s),1)),t(l.scrollIntoView())}return!0},_7=function HTe(n){return(t,e)=>{let{$from:i,$to:r}=t.selection;if(t.selection instanceof $e&&t.selection.node.isBlock)return!(!i.parentOffset||!Qu(t.doc,i.pos)||(e&&e(t.tr.split(i.pos).scrollIntoView()),0));if(!i.parent.isBlock)return!1;if(e){let o=r.parentOffset==r.parent.content.size,a=t.tr;(t.selection instanceof ht||t.selection instanceof mr)&&a.deleteSelection();let s=0==i.depth?null:VE(i.node(-1).contentMatchAt(i.indexAfter(-1))),l=n&&n(r.parent,o),c=l?[l]:o&&s?[{type:s}]:void 0,d=Qu(a.doc,a.mapping.map(i.pos),1,c);if(!c&&!d&&Qu(a.doc,a.mapping.map(i.pos),1,s?[{type:s}]:void 0)&&(s&&(c=[{type:s}]),d=!0),d&&(a.split(a.mapping.map(i.pos),1,c),!o&&!i.parentOffset&&i.parent.type!=s)){let u=a.mapping.map(i.before()),h=a.doc.resolve(u);s&&i.node(-1).canReplaceWith(h.index(),h.index()+1,s)&&a.setNodeMarkup(a.mapping.map(i.before()),s)}e(a.scrollIntoView())}return!0}}(),zE=(n,t)=>{let r,{$from:e,to:i}=n.selection,o=e.sharedDepth(i);return 0!=o&&(r=e.before(o),t&&t(n.tr.setSelection($e.create(n.doc,r))),!0)};function b7(n,t,e){let o,a,i=t.nodeBefore,r=t.nodeAfter;if(i.type.spec.isolating||r.type.spec.isolating)return!1;if(function jTe(n,t,e){let i=t.nodeBefore,r=t.nodeAfter,o=t.index();return!(!(i&&r&&i.type.compatibleContent(r.type))||(!i.content.size&&t.parent.canReplace(o-1,o)?(e&&e(n.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(o,o+1)||!r.isTextblock&&!Xu(n.doc,t.pos)||(e&&e(n.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),0)))}(n,t,e))return!0;let s=t.parent.canReplace(t.index(),t.index()+1);if(s&&(o=(a=i.contentMatchAt(i.childCount)).findWrapping(r.type))&&a.matchType(o[0]||r.type).validEnd){if(e){let u=t.pos+r.nodeSize,h=Z.empty;for(let y=o.length-1;y>=0;y--)h=Z.from(o[y].create(null,h));h=Z.from(i.copy(h));let p=n.tr.step(new pi(t.pos-1,u,t.pos,u,new pe(h,1,0),o.length,!0)),v=u+2*o.length;Xu(p.doc,v)&&p.join(v),e(p.scrollIntoView())}return!0}let l=et.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),d=c&&am(c);if(null!=d&&d>=t.depth)return e&&e(n.tr.lift(c,d).scrollIntoView()),!0;if(s&&ch(r,"start",!0)&&ch(i,"end")){let u=i,h=[];for(;h.push(u),!u.isTextblock;)u=u.lastChild;let p=r,v=1;for(;!p.isTextblock;p=p.firstChild)v++;if(u.canReplace(u.childCount,u.childCount,p.content)){if(e){let y=Z.empty;for(let k=h.length-1;k>=0;k--)y=Z.from(h[k].copy(y));e(n.tr.step(new pi(t.pos-h.length,t.pos+r.nodeSize,t.pos+v,t.pos+r.nodeSize-v,new pe(y,h.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function v7(n){return function(t,e){let i=t.selection,r=n<0?i.$from:i.$to,o=r.depth;for(;r.node(o).isInline;){if(!o)return!1;o--}return!!r.node(o).isTextblock&&(e&&e(t.tr.setSelection(ht.create(t.doc,n<0?r.start(o):r.end(o)))),!0)}}const UTe=v7(-1),GTe=v7(1);function HE(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,a=r.blockRange(o),s=a&&$k(a,n,t);return!!s&&(i&&i(e.tr.wrap(a,s).scrollIntoView()),!0)}}function Fy(n,t=null){return function(e,i){let r=!1;for(let o=0;o{if(r)return!1;if(l.isTextblock&&!l.hasMarkup(n,t))if(l.type==n)r=!0;else{let d=e.doc.resolve(c),u=d.index();r=d.parent.canReplaceWith(u,u+1,n)}})}if(!r)return!1;if(i){let o=e.tr;for(let a=0;a{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(e)}),a)return!0}return!1}(e.doc,a,n))return!1;if(i)if(o)n.isInSet(e.storedMarks||o.marks())?i(e.tr.removeStoredMark(n)):i(e.tr.addStoredMark(n.create(t)));else{let s=!1,l=e.tr;for(let c=0;!s&&c{let i=function f7(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("backward",n):e.parentOffset>0)?null:e}(n,e);if(!i)return!1;let r=FE(i);if(!r){let a=i.blockRange(),s=a&&am(a);return null!=s&&(t&&t(n.tr.lift(a,s).scrollIntoView()),!0)}let o=r.nodeBefore;if(!o.type.spec.isolating&&b7(n,r,t))return!0;if(0==i.parent.content.size&&(ch(o,"end")||$e.isSelectable(o))){let a=jk(n.doc,i.before(),i.after(),pe.empty);if(a&&a.slice.size{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("backward",n):i.parentOffset>0)return!1;o=FE(i)}let a=o&&o.nodeBefore;return!(!a||!$e.isSelectable(a)||(t&&t(n.tr.setSelection($e.create(n.doc,o.pos-a.nodeSize)).scrollIntoView()),0))}),y7=Py(h7,(n,t,e)=>{let i=function m7(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("forward",n):e.parentOffset{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("forward",n):i.parentOffset{let{$head:e,$anchor:i}=n.selection;return!(!e.parent.type.spec.code||!e.sameParent(i)||(t&&t(n.tr.insertText("\n").scrollIntoView()),0))},(n,t)=>{let e=n.selection,{$from:i,$to:r}=e;if(e instanceof mr||i.parent.inlineContent||r.parent.inlineContent)return!1;let o=VE(r.parent.contentMatchAt(r.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let a=(!i.parentOffset&&r.index(){let{$cursor:e}=n.selection;if(!e||e.parent.content.size)return!1;if(e.depth>1&&e.after()!=e.end(-1)){let o=e.before();if(Qu(n.doc,o))return t&&t(n.tr.split(o).scrollIntoView()),!0}let i=e.blockRange(),r=i&&am(i);return null!=r&&(t&&t(n.tr.lift(i,r).scrollIntoView()),!0)},_7),"Mod-Enter":g7,Backspace:$E,"Mod-Backspace":$E,"Shift-Backspace":$E,Delete:y7,"Mod-Delete":y7,"Mod-a":(n,t)=>(t&&t(n.tr.setSelection(new mr(n.doc))),!0)},C7={"Ctrl-h":ms.Backspace,"Alt-Backspace":ms["Mod-Backspace"],"Ctrl-d":ms.Delete,"Ctrl-Alt-Backspace":ms["Mod-Delete"],"Alt-Delete":ms["Mod-Delete"],"Alt-d":ms["Mod-Delete"],"Ctrl-a":UTe,"Ctrl-e":GTe};for(let n in ms)C7[n]=ms[n];const YTe=(typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&"darwin"==os.platform())?C7:ms;var _i=function(){};_i.prototype.append=function(t){return t.length?(t=_i.from(t),!this.length&&t||t.length<200&&this.leafAppend(t)||this.length<200&&t.leafPrepend(this)||this.appendInner(t)):this},_i.prototype.prepend=function(t){return t.length?_i.from(t).append(this):this},_i.prototype.appendInner=function(t){return new KTe(this,t)},_i.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?_i.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},_i.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},_i.prototype.forEach=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length),e<=i?this.forEachInner(t,e,i,0):this.forEachInvertedInner(t,e,i,0)},_i.prototype.map=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length);var r=[];return this.forEach(function(o,a){return r.push(t(o,a))},e,i),r},_i.from=function(t){return t instanceof _i?t:t&&t.length?new w7(t):_i.empty};var w7=function(n){function t(i){n.call(this),this.values=i}n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t;var e={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,o){return 0==r&&o==this.length?this:new t(this.values.slice(r,o))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,o,a,s){for(var l=o;l=a;l--)if(!1===r(this.values[l],s+l))return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=200)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=200)return new t(r.flatten().concat(this.values))},e.length.get=function(){return this.values.length},e.depth.get=function(){return 0},Object.defineProperties(t.prototype,e),t}(_i);_i.empty=new w7([]);var KTe=function(n){function t(e,i){n.call(this),this.left=e,this.right=i,this.length=e.length+i.length,this.depth=Math.max(e.depth,i.depth)+1}return n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return is&&!1===this.right.forEachInner(i,Math.max(r-s,0),Math.min(this.length,o)-s,a+s))return!1},t.prototype.forEachInvertedInner=function(i,r,o,a){var s=this.left.length;if(r>s&&!1===this.right.forEachInvertedInner(i,r-s,Math.max(o,s)-s,a+s)||o=o?this.right.slice(i-o,r-o):this.left.slice(i,o).append(this.right.slice(0,r-o))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(_i);const x7=_i;class Lo{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null;let r,o,i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}e&&(r=this.remapping(i,this.items.length),o=r.maps.length);let s,l,a=t.tr,c=[],d=[];return this.items.forEach((u,h)=>{if(!u.step)return r||(r=this.remapping(i,h+1),o=r.maps.length),o--,void d.push(u);if(r){d.push(new wa(u.map));let v,p=u.step.map(r.slice(o));p&&a.maybeStep(p).doc&&(v=a.mapping.maps[a.mapping.maps.length-1],c.push(new wa(v,void 0,void 0,c.length+d.length))),o--,v&&r.appendMap(v,o)}else a.maybeStep(u.step);return u.selection?(s=r?u.selection.map(r.slice(o)):u.selection,l=new Lo(this.items.slice(0,i).append(d.reverse().concat(c)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,e,i,r){let o=[],a=this.eventCount,s=this.items,l=!r&&s.length?s.get(s.length-1):null;for(let d=0;dJTe&&(s=function XTe(n,t){let e;return n.forEach((i,r)=>{if(i.selection&&0==t--)return e=r,!1}),n.slice(e)}(s,c),a-=c),new Lo(s.append(o),a)}remapping(t,e){let i=new Yu;return this.items.forEach((r,o)=>{i.appendMap(r.map,null!=r.mirrorOffset&&o-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0)},t,e),i}addMaps(t){return 0==this.eventCount?this:new Lo(this.items.append(t.map(e=>new wa(e))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-e),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(h=>{h.selection&&s--},r);let l=e;this.items.forEach(h=>{let p=o.getMirror(--l);if(null==p)return;a=Math.min(a,p);let v=o.maps[p];if(h.step){let y=t.steps[p].invert(t.docs[p]),w=h.selection&&h.selection.map(o.slice(l+1,p));w&&s++,i.push(new wa(v,y,w))}else i.push(new wa(v))},r);let c=[];for(let h=e;h500&&(u=u.compress(this.items.length-i.length)),u}emptyItemCount(){let t=0;return this.items.forEach(e=>{e.step||t++}),t}compress(t=this.items.length){let e=this.remapping(0,t),i=e.maps.length,r=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)r.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(e.slice(i)),c=l&&l.getMap();if(i--,c&&e.appendMap(c,i),l){let d=a.selection&&a.selection.map(e.slice(i));d&&o++;let h,u=new wa(c.invert(),l,d),p=r.length-1;(h=r.length&&r[p].merge(u))?r[p]=h:r.push(u)}}else a.map&&i--},this.items.length,0),new Lo(x7.from(r.reverse()),o)}}Lo.empty=new Lo(x7.empty,0);class wa{constructor(t,e,i,r){this.map=t,this.step=e,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new wa(e.getMap().invert(),e,this.selection)}}}class Cl{constructor(t,e,i,r,o){this.done=t,this.undone=e,this.prevRanges=i,this.prevTime=r,this.prevComposition=o}}const JTe=20;function D7(n){let t=[];return n.forEach((e,i,r,o)=>t.push(r,o)),t}function jE(n,t){if(!n)return null;let e=[];for(let i=0;inew Cl(Lo.empty,Lo.empty,null,0,-1),apply:(t,e,i)=>function ZTe(n,t,e,i){let o,r=e.getMeta(xa);if(r)return r.historyState;e.getMeta(E7)&&(n=new Cl(n.done,n.undone,null,0,-1));let a=e.getMeta("appendedTransaction");if(0==e.steps.length)return n;if(a&&a.getMeta(xa))return a.getMeta(xa).redo?new Cl(n.done.addTransform(e,void 0,i,By(t)),n.undone,D7(e.mapping.maps[e.steps.length-1]),n.prevTime,n.prevComposition):new Cl(n.done,n.undone.addTransform(e,void 0,i,By(t)),null,n.prevTime,n.prevComposition);if(!1===e.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=e.getMeta("rebased"))?new Cl(n.done.rebased(e,o),n.undone.rebased(e,o),jE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition):new Cl(n.done.addMaps(e.mapping.maps),n.undone.addMaps(e.mapping.maps),jE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition);{let s=e.getMeta("composition"),l=0==n.prevTime||!a&&n.prevComposition!=s&&(n.prevTime<(e.time||0)-i.newGroupDelay||!function eAe(n,t){if(!t)return!1;if(!n.docChanged)return!0;let e=!1;return n.mapping.maps[0].forEach((i,r)=>{for(let o=0;o=t[o]&&(e=!0)}),e}(e,n.prevRanges)),c=a?jE(n.prevRanges,e.mapping):D7(e.mapping.maps[e.steps.length-1]);return new Cl(n.done.addTransform(e,l?t.selection.getBookmark():void 0,i,By(t)),Lo.empty,c,e.time,s??n.prevComposition)}}(e,i,t,n)},config:n={depth:n.depth||100,newGroupDelay:n.newGroupDelay||500},props:{handleDOMEvents:{beforeinput(t,e){let i=e.inputType,r="historyUndo"==i?Vy:"historyRedo"==i?ym:null;return!!r&&(e.preventDefault(),r(t.state,t.dispatch))}}}})}const Vy=(n,t)=>{let e=xa.getState(n);return!(!e||0==e.done.eventCount||(t&&S7(e,n,t,!1),0))},ym=(n,t)=>{let e=xa.getState(n);return!(!e||0==e.undone.eventCount||(t&&S7(e,n,t,!0),0))},Cm="http://www.w3.org/2000/svg",GE="ProseMirror-icon";const br="ProseMirror-menu";class qc{constructor(t){this.spec=t}render(t){let e=this.spec,i=e.render?e.render(t):e.icon?function rAe(n){let t=document.createElement("div");if(t.className=GE,n.path){let{path:e,width:i,height:r}=n,o="pm-icon-"+function iAe(n){let t=0;for(let e=0;e{o.preventDefault(),i.classList.contains(br+"-disabled")||e.run(t.state,t.dispatch,t,o)}),{dom:i,update:function r(o){if(e.select){let s=e.select(o);if(i.style.display=s?"":"none",!s)return!1}let a=!0;if(e.enable&&(a=e.enable(o)||!1,qE(i,br+"-disabled",!a)),e.active){let s=a&&e.active(o)||!1;qE(i,br+"-active",s)}return!0}}}}function wm(n,t){return n._props.translate?n._props.translate(t):t}const Dm={join:{width:800,height:900,path:"M0 75h800v125h-800z M0 825h800v-125h-800z M250 400h100v-100h100v100h100v100h-100v100h-100v-100h-100z"},lift:{width:1024,height:1024,path:"M219 310v329q0 7-5 12t-12 5q-8 0-13-5l-164-164q-5-5-5-13t5-13l164-164q5-5 13-5 7 0 12 5t5 12zM1024 749v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12zM1024 530v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 310v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 91v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12z"},selectParentNode:{text:"\u2b1a",css:"font-weight: bold"},undo:{width:1024,height:1024,path:"M761 1024c113-206 132-520-313-509v253l-384-384 384-384v248c534-13 594 472 313 775z"},redo:{width:1024,height:1024,path:"M576 248v-248l384 384-384 384v-253c-446-10-427 303-313 509-280-303-221-789 313-775z"},strong:{width:805,height:1024,path:"M317 869q42 18 80 18 214 0 214-191 0-65-23-102-15-25-35-42t-38-26-46-14-48-6-54-1q-41 0-57 5 0 30-0 90t-0 90q0 4-0 38t-0 55 2 47 6 38zM309 442q24 4 62 4 46 0 81-7t62-25 42-51 14-81q0-40-16-70t-45-46-61-24-70-8q-28 0-74 7 0 28 2 86t2 86q0 15-0 45t-0 45q0 26 0 39zM0 950l1-53q8-2 48-9t60-15q4-6 7-15t4-19 3-18 1-21 0-19v-37q0-561-12-585-2-4-12-8t-25-6-28-4-27-2-17-1l-2-47q56-1 194-6t213-5q13 0 39 0t38 0q40 0 78 7t73 24 61 40 42 59 16 78q0 29-9 54t-22 41-36 32-41 25-48 22q88 20 146 76t58 141q0 57-20 102t-53 74-78 48-93 27-100 8q-25 0-75-1t-75-1q-60 0-175 6t-132 6z"},em:{width:585,height:1024,path:"M0 949l9-48q3-1 46-12t63-21q16-20 23-57 0-4 35-165t65-310 29-169v-14q-13-7-31-10t-39-4-33-3l10-58q18 1 68 3t85 4 68 1q27 0 56-1t69-4 56-3q-2 22-10 50-17 5-58 16t-62 19q-4 10-8 24t-5 22-4 26-3 24q-15 84-50 239t-44 203q-1 5-7 33t-11 51-9 47-3 32l0 10q9 2 105 17-1 25-9 56-6 0-18 0t-18 0q-16 0-49-5t-49-5q-78-1-117-1-29 0-81 5t-69 6z"},code:{width:896,height:1024,path:"M608 192l-96 96 224 224-224 224 96 96 288-320-288-320zM288 192l-288 320 288 320 96-96-224-224 224-224-96-96z"},link:{width:951,height:1024,path:"M832 694q0-22-16-38l-118-118q-16-16-38-16-24 0-41 18 1 1 10 10t12 12 8 10 7 14 2 15q0 22-16 38t-38 16q-8 0-15-2t-14-7-10-8-12-12-10-10q-18 17-18 41 0 22 16 38l117 118q15 15 38 15 22 0 38-14l84-83q16-16 16-38zM430 292q0-22-16-38l-117-118q-16-16-38-16-22 0-38 15l-84 83q-16 16-16 38 0 22 16 38l118 118q15 15 38 15 24 0 41-17-1-1-10-10t-12-12-8-10-7-14-2-15q0-22 16-38t38-16q8 0 15 2t14 7 10 8 12 12 10 10q18-17 18-41zM941 694q0 68-48 116l-84 83q-47 47-116 47-69 0-116-48l-117-118q-47-47-47-116 0-70 50-119l-50-50q-49 50-118 50-68 0-116-48l-118-118q-48-48-48-116t48-116l84-83q47-47 116-47 69 0 116 48l117 118q47 47 47 116 0 70-50 119l50 50q49-50 118-50 68 0 116 48l118 118q48 48 48 116z"},bulletList:{width:768,height:896,path:"M0 512h128v-128h-128v128zM0 256h128v-128h-128v128zM0 768h128v-128h-128v128zM256 512h512v-128h-512v128zM256 256h512v-128h-512v128zM256 768h512v-128h-512v128z"},orderedList:{width:768,height:896,path:"M320 512h448v-128h-448v128zM320 768h448v-128h-448v128zM320 128v128h448v-128h-448zM79 384h78v-256h-36l-85 23v50l43-2v185zM189 590c0-36-12-78-96-78-33 0-64 6-83 16l1 66c21-10 42-15 67-15s32 11 32 28c0 26-30 58-110 112v50h192v-67l-91 2c49-30 87-66 87-113l1-1z"},blockquote:{width:640,height:896,path:"M0 448v256h256v-256h-128c0 0 0-128 128-128v-128c0 0-256 0-256 256zM640 320v-128c0 0-256 0-256 256v256h256v-256h-128c0 0 0-128 128-128z"}},lAe=new qc({title:"Join with above block",run:LE,select:n=>LE(n),icon:Dm.join}),cAe=new qc({title:"Lift out of enclosing block",run:BE,select:n=>BE(n),icon:Dm.lift}),dAe=new qc({title:"Select parent node",run:zE,select:n=>zE(n),icon:Dm.selectParentNode});let uAe=new qc({title:"Undo last change",run:Vy,enable:n=>Vy(n),icon:Dm.undo}),hAe=new qc({title:"Redo last undone change",run:ym,enable:n=>ym(n),icon:Dm.redo});function wl(n,t){let e=Fy(n,t.attrs),i={run:e,enable:r=>e(r),active(r){let{$from:o,to:a,node:s}=r.selection;return s?s.hasMarkup(n,t.attrs):a<=o.end()&&o.parent.hasMarkup(n,t.attrs)}};for(let r in t)i[r]=t[r];return new qc(i)}function qE(n,t,e){e?n.classList.add(t):n.classList.remove(t)}class gs{constructor(t){this.spec=t,this.active=!1,this.disabled=!1,this.show=!0}update(t,e){this.spec.active&&(this.active=this.spec.active(e)),this.spec.enable&&(this.disabled=!this.spec.enable(e)),this.spec.select&&(this.show=this.spec.select(e))}}class Hy extends gs{constructor(t){super({active:e=>{const{selection:i,doc:r}=e,{from:o,to:a}=i;let s=!0,l=!1;return r.nodesBetween(o,a,c=>(s&&c.attrs.align===t&&(s=!1,l=!0),s)),l},enable:e=>{const{selection:i}=e;return i instanceof ht||i instanceof mr},run:(e,i)=>{const{schema:r,selection:o}=e,a=function vAe(n,t,e){const{selection:i,doc:r}=n;if(!i||!r)return n;const{from:o,to:a}=i,{nodes:s}=t,l=[];e=e||null;const c=new Set([s.paragraph]);return r.nodesBetween(o,a,(d,u)=>{const h=d.type;return(d.attrs.align||null)!==e&&c.has(h)&&l.push({node:d,pos:u,nodeType:h}),!0}),l.length&&l.forEach(d=>{const{node:u,pos:h,nodeType:p}=d,v={...u.attrs,align:e||null};n=n.setNodeMarkup(h,p,v,u.marks)}),n}(e.tr.setSelection(o),r,this.active?null:t);return!!a.docChanged&&(i?.(a),!0)}})}}const O7=function(n){return{backgroundColor:n}};function yAe(n,t){if(1&n){const e=Y();f(0,"div",17),E("click",function(){const o=B(e).$implicit;return V(x(2).selectColor(o))}),m()}2&n&&Ur(Is(2,O7,t.$implicit))}function CAe(n,t){if(1&n&&(f(0,"div"),S(1,yAe,1,4,"div",16),m()),2&n){const e=t.$implicit;b(1),_("ngForOf",e)}}function wAe(n,t){1&n&&(f(0,"mat-error"),Ce(1,18),m())}let xAe=(()=>{class n{constructor(e,i){this.dialogRef=i,this.colors=[["#000000","#111111","#1c1c1c","#333333","#666666","#808080","#999999","#b2b2b2","#cccccc","#dddddd","#eeeeee","#ffffff"],["#ffff00","#ffbf00","#ff8000","#ff4000","#ff0000","#bf0041","#800080","#55308d","#2a6099","#158466","#00a933","#81d41a"],["#ffffd7","#fff5ce","#ffdbb6","#ffd8ce","#ffd7d7","#f7d1d5","#e0c2cd","#dedce6","#dee6ef","#dee7e5","#dde8cb","#f6f9d4"],["#ffffa6","#ffe994","#ffb66c","#ffaa95","#ffa6a6","#ec9ba4","#bf819e","#b7b3ca","#b4c7dc","#b3cac7","#afd095","#e8f2a1"],["#ffff6d","#ffde59","#ff972f","#ff7b59","#ff6d6d","#e16173","#a1467e","#8e86ae","#729fcf","#81aca6","#77bc65","#d4ea6b"],["#ffff38","#ffd428","#ff860d","#ff5429","#ff3838","#d62e4e","#8d1d75","#6b5e9b","#5983b0","#50938a","#3faf46","#bbe33d"],["#e6e905","#e8a202","#ea7500","#ed4c05","#f10d0c","#a7074b","#780373","#5b277d","#3465a4","#168253","#069a2e","#5eb91e"],["#acb20c","#b47804","#b85c00","#be480a","#c9211e","#861141","#650953","#55215b","#355269","#1e6a39","#127622","#468a1a"],["#706e0c","#784b04","#7b3d00","#813709","#8d281e","#611729","#4e102d","#481d32","#383d3c","#28471f","#224b12","#395511"],["#443205","#472702","#492300","#4b2204","#50200c","#41190d","#3b160e","#3a1a0f","#362413","#302709","#2e2706","#342a06"]],this.colorControl=new wt("",{validators:$t.pattern(/^#\p{Hex_Digit}{6}/u),nonNullable:!0}),this.form=new Vn({color:this.colorControl}),this.form.setValue(e)}maybeConfirm(){em(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}selectColor(e){this.colorControl.setValue(e),this.maybeConfirm()}}return n.\u0275fac=function(e){return new(e||n)(g(vc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:22,vars:9,consts:function(){let t,e,i,r,o,a;return t=$localize`:␟03820e4ea2df1ce55bb67c61bcc5545e42f73487␟295912300910134862:Sélectionner une couleur`,e=$localize`:␟4a9cf92f6e8136deb955a031242ae939c4ccf346␟7075059674276878139:Transparent`,i=$localize`:␟4a605db7fe490b92ce2d286ccf5327e2354362d4␟3623818903326968730:Couleur`,r=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,o=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,a=$localize`:␟4feefac2e1903927fac423589415c520b461da7a␟8552620235557955322:Doit être le format hexadecimal. Par exemple: #ff4000 `,[["mat-dialog-title",""],t,[3,"formGroup"],[4,"ngFor","ngForOf"],["mat-button","",3,"click"],["naturalIcon","format_color_reset"],e,i,["matInput","","cdkFocusInitial","",3,"formControl","keydown.enter"],["matTextSuffix","",1,"sample"],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],r,["mat-stroked-button","",3,"disabled","click"],o,["class","color",3,"style","click",4,"ngFor","ngForOf"],[1,"color",3,"click"],a]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"div"),S(4,CAe,2,1,"div",3),m(),f(5,"div")(6,"button",4),E("click",function(){return i.selectColor("")}),T(7,"mat-icon",5),f(8,"span"),Ce(9,6),m()()(),f(10,"mat-form-field")(11,"mat-label"),Ce(12,7),m(),f(13,"input",8),E("keydown.enter",function(){return i.maybeConfirm()}),m(),T(14,"div",9),S(15,wAe,2,0,"mat-error",10),m()(),f(16,"mat-dialog-actions",11)(17,"button",12),Ce(18,13),m(),f(19,"button",14),E("click",function(){return i.maybeConfirm()}),f(20,"span"),Ce(21,15),m()()()),2&e&&(b(2),_("formGroup",i.form),b(2),_("ngForOf",i.colors),b(9),_("formControl",i.colorControl),b(1),Ur(Is(7,O7,i.colorControl.valid?i.colorControl.value:"")),b(1),_("ngIf",i.colorControl.hasError("pattern")),b(4),_("disabled",!i.form.valid))},dependencies:[Js,yc,Cc,wc,xc,Ut,di,jt,oi,sn,an,gn,ke,Zt,Be,ct,en,ai,ei,ui,mn,Mn,En,Qr,oc,Ii,Ai],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:30em;display:grid;justify-content:center;row-gap:25px}.color[_ngcontent-%COMP%]{display:inline-block;width:25px;height:25px;margin:3px;cursor:pointer}.color[_ngcontent-%COMP%]:hover{padding:3px;margin:0}.sample[_ngcontent-%COMP%]{width:27px;height:27px}"]}),n})();const R7=function ZMe(n,t){return function(e,i){if(!so(e))return!1;const r=vm(e);if(r.nodeAfter.attrs[n]===t)return!1;if(i){const o=e.tr;e.selection instanceof Et?e.selection.forEachCell((a,s)=>{a.attrs[n]!==t&&o.setNodeMarkup(s,null,{...a.attrs,[n]:t})}):o.setNodeMarkup(r.pos,null,{...r.nodeAfter.attrs,[n]:t}),i(o)}return!0}}.bind(null,"background");function DAe(n){if(!so(n))return"";let e=vm(n)?.nodeAfter?.attrs.background??"";if(e)return e;let i=!0;return n.selection instanceof Et&&n.selection.forEachCell(r=>{const o=r.attrs.background;i&&o&&(i=!1,e=o)}),e}class SAe extends gs{constructor(t){super({enable:e=>R7("#000001")(e),run(e,i,r){t.open(xAe,{data:{color:DAe(e)}}).afterClosed().subscribe(o=>{i&&o&&R7(o.color)(e,i),r.focus()})}})}}function kAe(n,t){1&n&&(f(0,"mat-error"),Ce(1,12),m())}let EAe=(()=>{class n{constructor(e,i){this.dialogRef=i,this.hrefControl=new wt("",{validators:$t.required,nonNullable:!0}),this.titleControl=new wt("",{nonNullable:!0}),this.form=new Vn({href:this.hrefControl,title:this.titleControl}),this.form.setValue({title:"",...e})}maybeConfirm(){em(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}}return n.\u0275fac=function(e){return new(e||n)(g(vc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:18,vars:5,consts:function(){let t,e,i,r,o,a;return t=$localize`:␟39e6ab4addb6241cc85ada225193c1c3383878aa␟119963413501148110:Insérer un lien`,e=$localize`:␟801b98c6f02fe3b32f6afa3ee854c99ed83474e6␟2375260419993138758:URL`,i=$localize`:␟622c8cdb03ed166e3e1b652021cf0992cb26bc18␟6518032478600962138:Titre`,r=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,o=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,a=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[["mat-dialog-title",""],t,[3,"formGroup"],e,["matInput","",3,"formControl","keydown.enter"],[4,"ngIf"],i,["align","end"],["mat-button","","mat-dialog-close",""],r,["mat-stroked-button","",3,"disabled","click"],o,a]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"mat-form-field")(4,"mat-label"),Ce(5,3),m(),f(6,"input",4),E("keydown.enter",function(){return i.maybeConfirm()}),m(),S(7,kAe,2,0,"mat-error",5),m(),f(8,"mat-form-field")(9,"mat-label"),Ce(10,6),m(),f(11,"input",4),E("keydown.enter",function(){return i.maybeConfirm()}),m()()(),f(12,"mat-dialog-actions",7)(13,"button",8),Ce(14,9),m(),f(15,"button",10),E("click",function(){return i.maybeConfirm()}),f(16,"span"),Ce(17,11),m()()()),2&e&&(b(2),_("formGroup",i.form),b(4),_("formControl",i.hrefControl),b(1),_("ngIf",i.hrefControl.hasError("required")),b(4),_("formControl",i.titleControl),b(4),_("disabled",!i.form.valid))},dependencies:[Js,yc,Cc,wc,xc,Ut,di,jt,oi,sn,an,gn,mn,Mn,En,Qr,Ii,Ai,ke,Be,ct,en],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:60em;display:grid}"]}),n})();function WE(n,t){const{from:e,$from:i,to:r,empty:o}=n.selection;return o?!!t.isInSet(n.storedMarks||i.marks()):n.doc.rangeHasMark(e,r,t)}function vr(n){return new gs(n.spec)}function yr(n,t={}){const e={run:n,...t};return!t.enable&&!t.select&&(e.enable=i=>n(i)),new gs(e)}function YE(n){return yr(yl(n),{active:t=>WE(t,n)})}function N7(n,t){const{selection:e,doc:i}=n,{from:r,to:o}=e;let a=!0,s=!1;return i.nodesBetween(r,o,l=>(a&&t.includes(l.type.name)&&(a=!1,s=!0),a)),s}class MAe extends gs{constructor(t,e){super({active:i=>WE(i,t),enable:i=>!i.selection.empty,run(i,r,o){WE(i,t)?yl(t)(i,r):e.open(EAe,{data:{href:"",title:""}}).afterClosed().subscribe(a=>{a&&(a.title||delete a.title,yl(t,a)(o.state,o.dispatch)),o.focus()})}})}}class AAe extends gs{constructor(t){super({enable:e=>function TAe(n,t){const e=n.selection.$from;for(let i=e.depth;i>=0;i--){const r=e.index(i);if(e.node(i).canReplaceWith(r,r,t))return!0}return!1}(e,t),run(e,i){i(e.tr.replaceSelectionWith(t.create()))}})}}function F7(n){return yr(OE(n))}function IAe(n,t){1&n&&(f(0,"mat-error"),Ce(1,11),m())}let OAe=(()=>{class n{constructor(e,i){this.dialogRef=i,this.classControl=new wt("",{validators:$t.pattern(/(^\s*(-?[_a-zA-Z]+[_a-zA-Z0-9-]*\s*)+)/),nonNullable:!0}),this.form=new Vn({class:this.classControl}),this.form.setValue(e)}maybeConfirm(){em(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}}return n.\u0275fac=function(e){return new(e||n)(g(vc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:14,vars:4,consts:function(){let t,e,i,r,o;return t=$localize`:␟7fc4585194c171f794c907258033e76963286da5␟5915007300033018520:Saisir les classes CSS`,e=$localize`:␟fbe16e0d43f01135dfa18e9d73ab87bef9dae169␟770147264955285350:Classes CSS`,i=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,r=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,o=$localize`:␟77ff24a189b5c61c62c6fdfbda255f7ec521642f␟8967184240542661309:Doit être un ou plusieurs nom de classe CSS`,[["mat-dialog-title",""],t,[3,"formGroup"],e,["matInput","","cdkFocusInitial","",3,"formControl","keydown.enter"],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],i,["mat-stroked-button","",3,"disabled","click"],r,o]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"mat-form-field")(4,"mat-label"),Ce(5,3),m(),f(6,"input",4),E("keydown.enter",function(){return i.maybeConfirm()}),m(),S(7,IAe,2,0,"mat-error",5),m()(),f(8,"mat-dialog-actions",6)(9,"button",7),Ce(10,8),m(),f(11,"button",9),E("click",function(){return i.maybeConfirm()}),f(12,"span"),Ce(13,10),m()()()),2&e&&(b(2),_("formGroup",i.form),b(4),_("formControl",i.classControl),b(1),_("ngIf",i.classControl.hasError("pattern")),b(4),_("disabled",!i.form.valid))},dependencies:[Js,yc,Cc,wc,xc,Ut,di,jt,oi,sn,an,gn,mn,Mn,En,Qr,Ii,Ai,ke,Be,ct,en],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:30em;display:grid}"]}),n})();function P7(n,t){const{selection:e,doc:i}=n,{from:r,to:o}=e;let a=!0,s="";return i.nodesBetween(r,o,l=>(a&&t.includes(l.type.name)&&l.attrs.class&&(a=!1,s=l.attrs.class),a)),s}class L7 extends gs{constructor(t,e){super({active:i=>!!P7(i,e),enable:i=>N7(i,e),run:(i,r,o)=>{t.open(OAe,{data:{class:P7(i,e)}}).afterClosed().subscribe(a=>{if(r&&a){const{selection:s}=i,l=function RAe(n,t,e){const{selection:i,doc:r}=n;if(!i||!r)return n;const{from:o,to:a}=i,s=[];return r.nodesBetween(o,a,(l,c)=>{const d=l.type;return(l.attrs.class||null)!==t&&e.includes(d.name)&&s.push({node:l,pos:c,nodeType:d}),!0}),s.length&&s.forEach(l=>{const{node:c,pos:d,nodeType:u}=l,h={...c.attrs,class:t||null};n=n.setNodeMarkup(d,u,h,c.marks)}),n}(i.tr.setSelection(s),a.class,e);l.docChanged&&r?.(l)}o.focus()})}})}}function NAe(n,t){1&n&&(f(0,"mat-error"),Ce(1,10),m())}let FAe=(()=>{class n{constructor(e,i){this.dialogRef=i,this.idControl=new wt("",{validators:$t.pattern(/(^(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)+)/),nonNullable:!0}),this.form=new Vn({id:this.idControl}),this.form.setValue(e)}maybeConfirm(){em(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}}return n.\u0275fac=function(e){return new(e||n)(g(vc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:14,vars:4,consts:function(){let t,e,i,r;return t=$localize`:␟467e083199695102d67fb6102133ed08e6d5779e␟3460345462620774021:Saisir le ID`,e=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,i=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,r=$localize`:␟36128a9b88800b04c7eb752cc5d9c7f118336f88␟2746908585963893086:Doit être un ID valide`,[["mat-dialog-title",""],t,[3,"formGroup"],["matInput","","cdkFocusInitial","",3,"formControl","keydown.enter"],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],e,["mat-stroked-button","",3,"disabled","click"],i,r]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"mat-form-field")(4,"mat-label"),C(5,"ID"),m(),f(6,"input",3),E("keydown.enter",function(){return i.maybeConfirm()}),m(),S(7,NAe,2,0,"mat-error",4),m()(),f(8,"mat-dialog-actions",5)(9,"button",6),Ce(10,7),m(),f(11,"button",8),E("click",function(){return i.maybeConfirm()}),f(12,"span"),Ce(13,9),m()()()),2&e&&(b(2),_("formGroup",i.form),b(4),_("formControl",i.idControl),b(1),_("ngIf",i.idControl.hasError("pattern")),b(4),_("disabled",!i.form.valid))},dependencies:[Js,yc,Cc,wc,xc,Ut,di,jt,oi,sn,an,gn,mn,Mn,En,Qr,Ii,Ai,ke,Be,ct,en],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:30em;display:grid}"]}),n})();function B7(n,t){const{selection:e,doc:i}=n,{from:r,to:o}=e;let a=!0,s="";return i.nodesBetween(r,o,l=>(a&&t.includes(l.type.name)&&l.attrs.id&&(a=!1,s=l.attrs.id),a)),s}class V7 extends gs{constructor(t,e){super({active:i=>!!B7(i,e),enable:i=>N7(i,e),run:(i,r,o)=>{t.open(FAe,{data:{id:B7(i,e)}}).afterClosed().subscribe(a=>{if(r&&a){const{selection:s}=i,l=function PAe(n,t,e){const{selection:i,doc:r}=n;if(!i||!r)return n;const{from:o,to:a}=i,s=[];return r.nodesBetween(o,a,(l,c)=>{const d=l.type;return(l.attrs.id||null)!==t&&e.includes(d.name)&&s.push({node:l,pos:c,nodeType:d}),!0}),s.length&&s.forEach(l=>{const{node:c,pos:d,nodeType:u}=l,h={...c.attrs,id:t||null};n=n.setNodeMarkup(d,u,h,c.marks)}),n}(i.tr.setSelection(s),a.id,e);l.docChanged&&r?.(l)}o.focus()})}})}}function z7(n,t){return t?n.createChecked(null,t):n.createAndFill()}class VAe extends gs{constructor(){super({run:(t,e)=>function BAe(n,t,{rowsCount:e=3,colsCount:i=3,withHeaderRow:r=!0,cellContent:o}={}){const a=n.tr.selection.anchor+1,s=function LAe(n,t,e,i,r){const o=gi(n.schema),a=[],s=[];for(let c=0;cnew $Ae(t,n)})}class $Ae{constructor(t,e){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(i=e.width)&&void 0!==i?i:1,this.color=!1===e.color?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let o=a=>{this[r](a)};return t.dom.addEventListener(r,o),{name:r,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:e})=>this.editorView.dom.removeEventListener(t,e))}update(t,e){null!=this.cursorPos&&e.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,null==t?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let i,t=this.editorView.state.doc.resolve(this.cursorPos),e=!t.parent.inlineContent;if(e){let s=t.nodeBefore,l=t.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let d=c.getBoundingClientRect(),u=s?d.bottom:d.top;s&&l&&(u=(u+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),i={left:d.left,right:d.right,top:u-this.width/2,bottom:u+this.width/2}}}}if(!i){let s=this.editorView.coordsAtPos(this.cursorPos);i={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let o,a,r=this.editorView.dom.offsetParent;if(this.element||(this.element=r.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",e),this.element.classList.toggle("prosemirror-dropcursor-inline",!e),!r||r==document.body&&"static"==getComputedStyle(r).position)o=-pageXOffset,a=-pageYOffset;else{let s=r.getBoundingClientRect();o=s.left-r.scrollLeft,a=s.top-r.scrollTop}this.element.style.left=i.left-o+"px",this.element.style.top=i.top-a+"px",this.element.style.width=i.right-i.left+"px",this.element.style.height=i.bottom-i.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),r=i&&i.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,e,t):r;if(e&&!o){let a=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=pz(this.editorView.state.doc,a,this.editorView.dragging.slice);null!=s&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class xn extends et{constructor(t){super(t,t)}map(t,e){let i=t.resolve(e.map(this.head));return xn.valid(i)?new xn(i):et.near(i)}content(){return pe.empty}eq(t){return t instanceof xn&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new xn(t.resolve(e.pos))}getBookmark(){return new KE(this.anchor)}static valid(t){let e=t.parent;if(e.isTextblock||!function jAe(n){for(let t=n.depth;t>=0;t--){let e=n.index(t),i=n.node(t);if(0!=e)for(let r=i.child(e-1);;r=r.lastChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t)||!function UAe(n){for(let t=n.depth;t>=0;t--){let e=n.indexAfter(t),i=n.node(t);if(e!=i.childCount)for(let r=i.child(e);;r=r.firstChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t))return!1;let i=e.type.spec.allowGapCursor;if(null!=i)return i;let r=e.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,e,i=!1){e:for(;;){if(!i&&xn.valid(t))return t;let r=t.pos,o=null;for(let a=t.depth;;a--){let s=t.node(a);if(e>0?t.indexAfter(a)0){o=s.child(e>0?t.indexAfter(a):t.index(a)-1);break}if(0==a)return null;r+=e;let l=t.doc.resolve(r);if(xn.valid(l))return l}for(;;){let a=e>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!$e.isSelectable(o)){t=t.doc.resolve(r+o.nodeSize*e),i=!1;continue e}break}o=a,r+=e;let s=t.doc.resolve(r);if(xn.valid(s))return s}return null}}}xn.prototype.visible=!1,xn.findFrom=xn.findGapCursorFrom,et.jsonID("gapcursor",xn);class KE{constructor(t){this.pos=t}map(t){return new KE(t.map(this.pos))}resolve(t){let e=t.resolve(this.pos);return xn.valid(e)?new xn(e):et.near(e)}}const qAe=wE({ArrowLeft:$y("horiz",-1),ArrowRight:$y("horiz",1),ArrowUp:$y("vert",-1),ArrowDown:$y("vert",1)});function $y(n,t){const e="vert"==n?t>0?"down":"up":t>0?"right":"left";return function(i,r,o){let a=i.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof ht){if(!o.endOfTextblock(e)||0==s.depth)return!1;l=!1,s=i.doc.resolve(t>0?s.after():s.before())}let c=xn.findGapCursorFrom(s,t,l);return!!c&&(r&&r(i.tr.setSelection(new xn(c))),!0)}}function WAe(n,t,e){if(!n||!n.editable)return!1;let i=n.state.doc.resolve(t);if(!xn.valid(i))return!1;let r=n.posAtCoords({left:e.clientX,top:e.clientY});return!(r&&r.inside>-1&&$e.isSelectable(n.state.doc.nodeAt(r.inside))||(n.dispatch(n.state.tr.setSelection(new xn(i))),0))}function YAe(n,t){if("insertCompositionText"!=t.inputType||!(n.state.selection instanceof xn))return!1;let{$from:e}=n.state.selection,i=e.parent.contentMatchAt(e.index()).findWrapping(n.state.schema.nodes.text);if(!i)return!1;let r=Z.empty;for(let a=i.length-1;a>=0;a--)r=Z.from(i[a].createAndFill(null,r));let o=n.state.tr.replace(e.pos,e.pos,new pe(r,0,0));return o.setSelection(ht.near(o.doc.resolve(e.pos+1))),n.dispatch(o),!1}function KAe(n){if(!(n.selection instanceof xn))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",In.create(n.doc,[_r.widget(n.selection.head,t,{key:"gapcursor"})])}class xl{constructor(t,e){this.match=t,this.match=t,this.handler="string"==typeof e?function QAe(n){return function(t,e,i,r){let o=n;if(e[1]){let a=e[0].lastIndexOf(e[1]);o+=e[0].slice(a+e[1].length);let s=(i+=a)-r;s>0&&(o=e[0].slice(a-s,a)+o,i=r)}return t.tr.insertText(o,i,r)}}(e):e}}const XAe=500;function H7(n,t,e,i,r,o){if(n.composing)return!1;let a=n.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;let l=s.parent.textBetween(Math.max(0,s.parentOffset-XAe),s.parentOffset,null,"\ufffc")+i;for(let c=0;c{let e=n.plugins;for(let i=0;i=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(o.text){let l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,n.schema.text(o.text,l))}else a.delete(o.from,o.to);t(a)}return!0}}return!1},eIe=new xl(/--$/,"\u2014"),tIe=new xl(/\.\.\.$/,"\u2026");function QE(n,t,e=null,i){return new xl(n,(r,o,a,s)=>{let l=e instanceof Function?e(o):e,c=r.tr.delete(a,s),u=c.doc.resolve(a).blockRange(),h=u&&$k(u,t,l);if(!h)return null;c.wrap(u,h);let p=c.doc.resolve(a-1).nodeBefore;return p&&p.type==t&&Xu(c.doc,a-1)&&(!i||i(o,p))&&c.join(a-1),c})}function $7(n,t,e=null){return new xl(n,(i,r,o,a)=>{let s=i.doc.resolve(o),l=e instanceof Function?e(r):e;return s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),t)?i.tr.delete(o,a).setBlockType(o,o,t,l):null})}function uIe(n){const t=[tIe,eIe];let e=n.nodes.blockquote;return e&&t.push(function aIe(n){return QE(/^\s*>\s$/,n)}(e)),e=n.nodes.ordered_list,e&&t.push(function sIe(n){return QE(/^(\d+)\.\s$/,n,t=>({order:+t[1]}),(t,e)=>e.childCount+e.attrs.order===+t[1])}(e)),e=n.nodes.bullet_list,e&&t.push(function lIe(n){return QE(/^\s*([-+*])\s$/,n)}(e)),e=n.nodes.code_block,e&&t.push(function cIe(n){return $7(/^```$/,n)}(e)),e=n.nodes.heading,e&&t.push(function dIe(n,t){return $7(new RegExp("^(#{1,"+t+"})\\s$"),n,e=>({level:e[1].length}))}(e,6)),function JAe({rules:n}){let t=new hs({state:{init:()=>null,apply(e,i){return e.getMeta(this)||(e.selectionSet||e.docChanged?null:i)}},props:{handleTextInput:(e,i,r,o)=>H7(e,i,r,o,n,t),handleDOMEvents:{compositionend:e=>{setTimeout(()=>{let{$cursor:i}=e.state.selection;i&&H7(e,i.pos,i.pos,"",n,t)})}}},isInputRules:!0});return t}({rules:t})}function hIe(n,t){const e={};e["Mod-z"]=Vy,e["Shift-Mod-z"]=ym,e.Backspace=ZAe,t||(e["Mod-y"]=ym),e["Alt-ArrowUp"]=LE,e["Alt-ArrowDown"]=LTe,e["Mod-BracketLeft"]=BE,e.Escape=zE;let i=n.marks.strong;if(i&&(e["Mod-b"]=yl(i),e["Mod-B"]=yl(i)),i=n.marks.em,i&&(e["Mod-i"]=yl(i),e["Mod-I"]=yl(i)),i=n.marks.code,i&&(e["Mod-`"]=yl(i)),i=n.nodes.bullet_list,i&&(e["Shift-Ctrl-8"]=OE(i)),i=n.nodes.ordered_list,i&&(e["Shift-Ctrl-9"]=OE(i)),i=n.nodes.blockquote,i&&(e["Ctrl->"]=HE(i)),i=n.nodes.hard_break,i){const r=i,o=Py(g7,(a,s)=>(s?.(a.tr.replaceSelectionWith(r.create()).scrollIntoView()),!0));e["Mod-Enter"]=o,e["Shift-Enter"]=o,t&&(e["Ctrl-Enter"]=o)}if(i=n.nodes.list_item,i&&(e.Enter=function wTe(n,t){return function(e,i){let{$from:r,$to:o,node:a}=e.selection;if(a&&a.isBlock||r.depth<2||!r.sameParent(o))return!1;let s=r.node(-1);if(s.type!=n)return!1;if(0==r.parent.content.size&&r.node(-1).childCount==r.indexAfter(-1)){if(3==r.depth||r.node(-3).type!=n||r.index(-2)!=r.node(-2).childCount-1)return!1;if(i){let u=Z.empty,h=r.index(-1)?1:r.index(-2)?2:3;for(let k=r.depth-h;k>=r.depth-3;k--)u=Z.from(r.node(k).copy(u));let p=r.indexAfter(-1){if(w>-1)return!1;k.isTextblock&&0==k.content.size&&(w=D+1)}),w>-1&&y.setSelection(et.near(y.doc.resolve(w))),i(y.scrollIntoView())}return!0}let l=o.pos==r.end()?s.contentMatchAt(0).defaultType:null,c=e.tr.delete(r.pos,o.pos),d=l?[t?{type:n,attrs:t}:null,{type:l}]:void 0;return!!Qu(c.doc,r.pos,2,d)&&(i&&i(c.split(r.pos,2,d).scrollIntoView()),!0)}}(i),e["Mod-["]=function xTe(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,a=>a.childCount>0&&a.firstChild.type==n);return!!o&&(!e||(i.node(o.depth-1).type==n?function DTe(n,t,e,i){let r=n.tr,o=i.end,a=i.$to.end(i.depth);oy;v--)p-=r.child(v).nodeSize,i.delete(p-1,p+1);let o=i.doc.resolve(e.start),a=o.nodeAfter;if(i.mapping.map(e.end)!=e.start+o.nodeAfter.nodeSize)return!1;let s=0==e.startIndex,l=e.endIndex==r.childCount,c=o.node(-1),d=o.index(-1);if(!c.canReplace(d+(s?0:1),d+1,a.content.append(l?Z.empty:Z.from(r))))return!1;let u=o.pos,h=u+a.nodeSize;return i.step(new pi(u-(s?1:0),h+(l?1:0),u+1,h-1,new pe((s?Z.empty:Z.from(r.copy(Z.empty))).append(l?Z.empty:Z.from(r.copy(Z.empty))),s?0:1,l?0:1),s?0:1)),t(i.scrollIntoView()),!0}(t,e,o)))}}(i),e["Mod-]"]=function kTe(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let a=o.startIndex;if(0==a)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=n)return!1;if(e){let c=l.lastChild&&l.lastChild.type==s.type,d=Z.from(c?n.create():null),u=new pe(Z.from(n.create(null,Z.from(s.type.create(null,d)))),c?3:1,0),h=o.start,p=o.end;e(t.tr.step(new pi(h-(c?3:1),p,h,p,u,1,!0)).scrollIntoView())}return!0}}(i)),i=n.nodes.paragraph,i&&(e["Shift-Ctrl-0"]=Fy(i)),i=n.nodes.code_block,i&&(e["Shift-Ctrl-\\"]=Fy(i)),i=n.nodes.heading,i)for(let r=1;r<=6;r++)e["Shift-Ctrl-"+r]=Fy(i,{level:r});if(i=n.nodes.horizontal_rule,i){const r=i;e["Mod-_"]=(o,a)=>(a?.(o.tr.replaceSelectionWith(r.create()).scrollIntoView()),!0)}return e}function fIe(n,t,e){return!n.trim()||(t=t.toLowerCase(),e=e.toLowerCase(),n.split(",").some(i=>{if((i=i.trim().toLowerCase()).startsWith("."))return e.endsWith(i);{const r=i.replace(/\*/g,".*");return t.match(r)}}))}function j7(n){const t=n.getAttribute("type");return"input"===n.tagName.toLowerCase()&&!!t&&"file"===t.toLowerCase()}new xl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201c"),new xl(/"$/,"\u201d"),new xl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),new xl(/'$/,"\u2019");let U7=0,G7=0;function _Ie(n){return function bIe(n){return new Promise((t,e)=>{const i=new FileReader;i.onload=()=>{t(i.result)},i.onerror=e,i.readAsText(n)})}(n.slice(0,1)).then(t=>""!==t,()=>!1)}function Sm(n){n.preventDefault(),n.stopPropagation()}function XE(n){const t=[];for(let e=0;e{class n{constructor(e){this.document=e,this.filesChanged=new q}getDownloadLink(e){const i=this.document.defaultView;if(!i)throw new Error("Cannot build download link because `window` is undefined");const r=i.location.protocol+"//"+i.location.hostname;return"File"===e?.__typename?r+"/api/file/"+e.id:"AccountingDocument"===e?.__typename?r+"/api/accounting-document/"+e.id:"Image"===e?.__typename?r+"/api/image/"+e.id:null}}return n.\u0275fac=function(e){return new(e||n)(A(ge))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),W7=(()=>{class n extends ds{constructor(e,i,r){super(),this.element=e,this.naturalFileService=i,this.document=r,this.multiple=!1,this.accept="",this.maxSize=0,this.fileSelectionDisabled=!1,this.selectable=!1,this.broadcast=!0,this.fileChange=new j,this.filesChange=new j}ngOnDestroy(){super.ngOnDestroy(),delete this.fileElement}ngOnInit(){this.selectable&&this.enableSelecting(),this.getFileElement().multiple=this.multiple}ngOnChanges(e){e.accept&&this.getFileElement().setAttribute("accept",e.accept.currentValue||"*")}getFileElement(){if(this.fileElement)return this.fileElement;if(j7(this.element.nativeElement))return this.fileElement=this.element.nativeElement,this.fileElement;const e=function mIe(n){const t=function gIe(n){const t=n.createElement("input");return t.type="file",t}(n),e=n.createElement("label");return e.innerHTML="upload",e.style.visibility="hidden",e.style.position="absolute",e.style.overflow="hidden",e.style.width="0px",e.style.height="0px",e.style.border="none",e.style.margin="0px",e.style.padding="0px",e.setAttribute("tabindex","-1"),e.appendChild(t),e}(this.document);return this.fileElement=e.getElementsByTagName("input")[0],this.fileElement.addEventListener("change",this.changeFn.bind(this)),this.element.nativeElement.appendChild(e),this.fileElement}enableSelecting(){const e=this.element.nativeElement;if(j7(e)){const i=()=>this.beforeSelect();return e.addEventListener("click",i),void e.addEventListener("touchstart",i)}{const i=r=>this.clickHandler(r);e.addEventListener("click",i),e.addEventListener("touchstart",i),e.addEventListener("touchend",i)}}handleFiles(e){const i={valid:[],invalid:[]};Ao(e.map(r=>this.validate(r).pipe(Ht(o=>{o?i.invalid.push({file:r,error:o}):i.valid.push(r)})))).subscribe(()=>{i.valid.length&&this.fileChange.emit(i.valid[0]),(i.valid.length||i.invalid.length)&&(this.filesChange.emit(i),this.broadcast&&this.naturalFileService.filesChanged.next(i)),this.getFileElement().value=""})}changeFn(e){if(!(e.target instanceof HTMLInputElement))return;const i=e.target.files;i&&(Sm(e),this.handleFiles(XE(i)))}clickHandler(e){return!(this.element.nativeElement.getAttribute("disabled")||this.fileSelectionDisabled||!function pIe(n){const t="changedTouches"in n?n.changedTouches:null;if(!t)return!1;if("touchstart"===n.type)return G7=t[0].clientX,U7=t[0].clientY,!0;if("touchend"===n.type){const i=t[0].clientY;if(Math.abs(t[0].clientX-G7)>20||Math.abs(i-U7)>20)return n.stopPropagation(),n.cancelable&&n.preventDefault(),!1}return!0}(e)&&(this.getFileElement().click(),this.beforeSelect(),1))}beforeSelect(){this.fileElement&&(this.fileElement.value="")}onChange(e){const i=this.getFileElement().files,r=i?XE(i):q7(e);r.length&&(Sm(e),this.handleFiles(r))}validate(e){return Ao({accept:ee(fIe(this.accept,e.type,e.name)),fileSize:ee(!(this.maxSize&&e.size>this.maxSize)),directory:_Ie(e)}).pipe(ue(i=>{for(const[r,o]of Object.entries(i))if(!o)return r;return null}))}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(JE),g(ge))},n.\u0275dir=R({type:n,hostBindings:function(e,i){1&e&&E("change",function(o){return i.onChange(o)})},inputs:{multiple:"multiple",accept:"accept",maxSize:"maxSize",fileSelectionDisabled:"fileSelectionDisabled",selectable:"selectable",broadcast:"broadcast"},outputs:{fileChange:"fileChange",filesChange:"filesChange"},features:[N,Je]}),n})();let ZE=(()=>{class n extends W7{constructor(){super(...arguments),this.fileOverClass=!1,this.fileOver=new j,this.rawFileOver=new q}ngOnInit(){super.ngOnInit(),this.rawFileOver.pipe(se(this.ngUnsubscribe),function CIe(n,t=Hd,e){const i=nc(n,t);return function yIe(n,t){return qt((e,i)=>{const{leading:r=!0,trailing:o=!1}=t??{};let a=!1,s=null,l=null,c=!1;const d=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},u=()=>{l=null,c&&i.complete()},h=v=>l=ni(n(v)).subscribe(Vt(i,d,u)),p=()=>{if(a){a=!1;const v=s;s=null,i.next(v),!c&&h(v)}};e.subscribe(Vt(i,v=>{a=!0,s=v,(!l||l.closed)&&(r?p():h(v))},()=>{c=!0,(!(o&&a&&l)||l.closed)&&i.complete()}))})}(()=>i,e)}(200,Hd,{leading:!0,trailing:!0})).subscribe(e=>{this.fileOver.emit(e),this.fileOverClass=e})}onDrop(e){if(this.fileSelectionDisabled)return;this.closeDrags();const i=q7(e);i.length&&(Sm(e),this.handleFiles(i))}onDragOver(e){if(!this.hasObservers()||this.fileSelectionDisabled)return;Sm(e);const i=e.dataTransfer;i&&(i.dropEffect="copy"),this.rawFileOver.next(!0)}closeDrags(){this.rawFileOver.next(!1)}onDragLeave(e){this.fileSelectionDisabled||(Sm(e),this.closeDrags())}hasObservers(){return this.fileChange.observed||this.filesChange.observed||this.broadcast&&this.naturalFileService.filesChanged.observed}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","naturalFileDrop","",3,"naturalFileSelect",""]],hostVars:2,hostBindings:function(e,i){1&e&&E("drop",function(o){return i.onDrop(o)})("dragover",function(o){return i.onDragOver(o)})("dragleave",function(o){return i.onDragLeave(o)}),2&e&&ce("natural-file-over",i.fileOverClass)},outputs:{fileOver:"fileOver"},standalone:!0,features:[N]}),n})(),Y7=(()=>{class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=te(e)}get inset(){return this._inset}set inset(e){this._inset=te(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(ie("aria-orientation",i.vertical?"vertical":"horizontal"),ce("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),n})(),eM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})();const wIe=["mat-menu-item",""];function xIe(n,t){1&n&&(Ci(),f(0,"svg",3),T(1,"polygon",4),m())}const DIe=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],SIe=["mat-icon, [matMenuItemIcon]","*"];function kIe(n,t){if(1&n){const e=Y();f(0,"div",0),E("keydown",function(r){return B(e),V(x()._handleKeydown(r))})("click",function(){return B(e),V(x().closed.emit("click"))})("@transformMenu.start",function(r){return B(e),V(x()._onAnimationStart(r))})("@transformMenu.done",function(r){return B(e),V(x()._onAnimationDone(r))}),f(1,"div",1),re(2),m()()}if(2&n){const e=x();_("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),ie("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const EIe=["*"],tM=new F("MAT_MENU_PANEL"),MIe=Vs(ko(class{}));let dh=(()=>{class n extends MIe{constructor(e,i,r,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new q,this._focused=new q,this._highlighted=!1,this._triggersSubmenu=!1,o?.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(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class n{constructor(e,i,r,o,a,s,l){this._template=e,this._componentFactoryResolver=i,this._appRef=r,this._injector=o,this._viewContainerRef=a,this._document=s,this._changeDetectorRef=l,this._attached=new q}attach(e={}){this._portal||(this._portal=new oa(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new TP(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const i=this._template.elementRef.nativeElement;i.parentNode.insertBefore(this._outlet.outletElement,i),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Ms),g(za),g(Yt),g(Ft),g(ge),g(ze))},n.\u0275dir=R({type:n}),n})(),AIe=(()=>{class n extends TIe{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["ng-template","matMenuContent",""]],features:[ae([{provide:K7,useExisting:n}]),N]}),n})();const jy={transformMenu:pn("transformMenu",[gt("void",be({opacity:0,transform:"scale(0.8)"})),ot("void => enter",rt("120ms cubic-bezier(0, 0, 0.2, 1)",be({opacity:1,transform:"scale(1)"}))),ot("* => void",rt("100ms 25ms linear",be({opacity:0})))]),fadeInItems:pn("fadeInItems",[gt("showing",be({opacity:1})),ot("void => *",[be({opacity:0}),rt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let IIe=0;const Q7=new F("mat-menu-default-options",{providedIn:"root",factory:function OIe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let km=(()=>{class n{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()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=te(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=te(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=o,this._directDescendantItems=new ea,this._classList={},this._panelAnimationState="void",this._animationDone=new q,this.closed=new j,this.close=this.closed,this.panelId="mat-menu-panel-"+IIe++,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 Pf(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(zt(this._directDescendantItems),xt(e=>dt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(zt(this._directDescendantItems),xt(i=>dt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:on(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(lt(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,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,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(zt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(Q7),g(ze))},n.\u0275dir=R({type:n,contentQueries:function(e,i,r){if(1&e&&(Ee(r,K7,5),Ee(r,dh,5),Ee(r,dh,4)),2&e){let o;U(o=G())&&(i.lazyContent=o.first),U(o=G())&&(i._allItems=o),U(o=G())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&ye(kt,5),2&e){let r;U(r=G())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),nM=(()=>{class n extends km{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(Q7),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(e,i){2&e&&ie("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[ae([{provide:tM,useExisting:n}]),N],ngContentSelectors:EIe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(qe(),S(0,kIe,3,6,"ng-template"))},dependencies:[Yr],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}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-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{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;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}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.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{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) 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:[jy.transformMenu,jy.fadeInItems]},changeDetection:0}),n})();const X7=new F("mat-menu-scroll-strategy"),NIe={provide:X7,deps:[Jn],useFactory:function RIe(n){return()=>n.scrollStrategies.reposition()}},J7=Do({passive:!0});let FIe=(()=>{class n{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._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,r,o,a,s,l,c,d){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=l,this._focusMonitor=c,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=We.EMPTY,this._hoverSubscription=We.EMPTY,this._menuCloseSubscription=We.EMPTY,this._changeDetectorRef=ne(ze),this._handleTouchStart=u=>{Yx(u)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new j,this.onMenuOpen=this.menuOpened,this.menuClosed=new j,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof km?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,J7)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,J7),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 e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!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 km&&(e._startAnimation(),e._directDescendantItems.changes.pipe(se(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.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;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof km?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Pe(r=>"void"===r.toState),lt(1),se(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){const 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 zs({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=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,s]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[d,u]=[r,o],h=0;if(this.triggersSubmenu()){if(u=r="before"===e.xPosition?"start":"end",o=d="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}h="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===a?"bottom":"top",c="top"===s?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:a,offsetY:h},{originX:o,originY:l,overlayX:u,overlayY:a,offsetY:h},{originX:r,originY:c,overlayX:d,overlayY:s,offsetY:-h},{originX:o,originY:c,overlayX:u,overlayY:s,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return dt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ee(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Pe(a=>a!==this._menuItemInstance),Pe(()=>this._menuOpen)):ee(),i)}_handleMousedown(e){Wx(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(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(Pe(e=>e===this._menuItemInstance&&!e.disabled),fi(0,U_)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof km&&this.menu._isAnimating?this.menu._animationDone.pipe(lt(1),fi(0,U_),se(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new oa(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(W),g(Ft),g(X7),g(tM,8),g(dh,10),g(Qt,8),g(dr),g(de))},n.\u0275dir=R({type:n,hostVars:3,hostBindings:function(e,i){1&e&&E("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&ie("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),iM=(()=>{class n extends FIe{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[N]}),n})(),rM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[NIe],imports:[ke,Eo,Ue,Hs,Wa,Ue]}),n})();const PIe=["button"],LIe=["*"],Z7=new F("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),e9=new F("MatButtonToggleGroup"),BIe={provide:Mi,useExisting:st(()=>Uy),multi:!0};let t9=0;class n9{constructor(t,e){this.source=t,this.value=e}}let Uy=(()=>{class n{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=te(e)}get value(){const 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(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=te(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._markButtonsForCheck()}constructor(e,i){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+t9++,this.valueChange=new j,this.change=new j,this.appearance=i&&i.appearance?i.appearance:"standard"}ngOnInit(){this._selectionModel=new ac(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const i=new n9(e,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,o=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):o=!0,o?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")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>null!=e.value&&i===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(i=>this._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const i=this._buttonToggles.find(r=>null!=r.value&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(Z7,8))},n.\u0275dir=R({type:n,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,Gy,5),2&e){let o;U(o=G())&&(i._buttonToggles=o)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,i){2&e&&(ie("aria-disabled",i.disabled),ce("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard","standard"===i.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[ae([BIe,{provide:e9,useExisting:n}])]}),n})();const VIe=Vs(class{});let Gy=(()=>{class n extends VIe{get buttonId(){return`${this.id}-button`}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){const i=te(e);i!==this._checked&&(this._checked=i,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=te(e)}constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new j;const l=Number(a);this.tabIndex=l||0===l?l:null,this.buttonToggleGroup=e,this.appearance=s&&s.appearance?s.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+t9++,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(){const 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(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new n9(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return n.\u0275fac=function(e){return new(e||n)(g(e9,8),g(ze),g(W),g(dr),wi("tabindex"),g(Z7,8))},n.\u0275cmp=$({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(e,i){if(1&e&&ye(PIe,5),2&e){let r;U(r=G())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,i){1&e&&E("focus",function(){return i.focus()}),2&e&&(ie("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),ce("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-appearance-standard","standard"===i.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[N],ngContentSelectors:LIe,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,i){if(1&e&&(qe(),f(0,"button",0,1),E("click",function(){return i._onButtonClick()}),f(2,"span",2),re(3),m()(),T(4,"span",3)(5,"span",4)),2&e){const r=mt(1);_("id",i.buttonId)("disabled",i.disabled||null),ie("tabindex",i.disabled?-1:i.tabIndex)("aria-pressed",i.checked)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),b(5),_("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[Ei],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.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:4px}.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}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@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;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.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}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;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}"],encapsulation:2,changeDetection:0}),n})(),oM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Eo,Ue]}),n})();const zIe=["editor"];function HIe(n,t){if(1&n){const e=Y();f(0,"button",28),E("click",function(){return B(e),V(x(2).save.emit())}),T(1,"mat-icon",29),m()}}function $Ie(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",30),E("click",function(r){return B(e),V(x(2).run(r,"toggleStrong"))}),T(1,"mat-icon",31),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleStrong.disabled)("checked",e.menu.toggleStrong.active)}}function jIe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",32),E("click",function(r){return B(e),V(x(2).run(r,"toggleEm"))}),T(1,"mat-icon",33),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleEm.disabled)("checked",e.menu.toggleEm.active)}}function UIe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",34),E("click",function(r){return B(e),V(x(2).run(r,"toggleCode"))}),T(1,"mat-icon",35),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleCode.disabled)("checked",e.menu.toggleCode.active)}}function GIe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",36),E("click",function(r){return B(e),V(x(2).run(r,"toggleLink"))}),T(1,"mat-icon",37),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleLink.disabled)("checked",e.menu.toggleLink.active)}}function qIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeParagraph"))}),Ce(1,39),m()}2&n&&_("disabled",x(2).menu.makeParagraph.disabled)}function WIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeCodeBlock"))}),Ce(1,40),m()}2&n&&_("disabled",x(2).menu.makeCodeBlock.disabled)}function YIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead1"))}),Ce(1,41),m()}2&n&&_("disabled",x(2).menu.makeHead1.disabled)}function KIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead2"))}),Ce(1,42),m()}2&n&&_("disabled",x(2).menu.makeHead2.disabled)}function QIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead3"))}),Ce(1,43),m()}2&n&&_("disabled",x(2).menu.makeHead3.disabled)}function XIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead4"))}),Ce(1,44),m()}2&n&&_("disabled",x(2).menu.makeHead4.disabled)}function JIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead5"))}),Ce(1,45),m()}2&n&&_("disabled",x(2).menu.makeHead5.disabled)}function ZIe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead6"))}),Ce(1,46),m()}2&n&&_("disabled",x(2).menu.makeHead6.disabled)}function eOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"blockClass"))}),Ce(1,47),m()}2&n&&_("disabled",x(2).menu.blockClass.disabled)}function tOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"blockId"))}),C(1,"ID... "),m()}2&n&&_("disabled",x(2).menu.blockId.disabled)}function nOe(n,t){1&n&&(f(0,"button",11)(1,"span"),Ce(2,48),m(),T(3,"mat-icon",13),m()),2&n&&(x(),_("matMenuTriggerFor",mt(27)))}function iOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"insertTable"))}),Ce(1,49),m()}2&n&&_("disabled",x(2).menu.insertTable.disabled)}function rOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"deleteTable"))}),Ce(1,50),m()}2&n&&_("disabled",x(2).menu.deleteTable.disabled)}function oOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"mergeCells"))}),Ce(1,51),m()}2&n&&_("disabled",x(2).menu.mergeCells.disabled)}function aOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"splitCell"))}),Ce(1,52),m()}2&n&&_("disabled",x(2).menu.splitCell.disabled)}function sOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"cellBackgroundColor"))}),Ce(1,53),m()}2&n&&_("disabled",x(2).menu.cellBackgroundColor.disabled)}function lOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"tableClass"))}),Ce(1,54),m()}2&n&&_("disabled",x(2).menu.tableClass.disabled)}function cOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"tableId"))}),C(1,"ID... "),m()}2&n&&_("disabled",x(2).menu.tableId.disabled)}function dOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addColumnBefore"))}),Ce(1,55),m()}2&n&&_("disabled",x(2).menu.addColumnBefore.disabled)}function uOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addColumnAfter"))}),Ce(1,56),m()}2&n&&_("disabled",x(2).menu.addColumnAfter.disabled)}function hOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"deleteColumn"))}),Ce(1,57),m()}2&n&&_("disabled",x(2).menu.deleteColumn.disabled)}function fOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addRowBefore"))}),Ce(1,58),m()}2&n&&_("disabled",x(2).menu.addRowBefore.disabled)}function pOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addRowAfter"))}),Ce(1,59),m()}2&n&&_("disabled",x(2).menu.addRowAfter.disabled)}function mOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"deleteRow"))}),Ce(1,60),m()}2&n&&_("disabled",x(2).menu.deleteRow.disabled)}function gOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"toggleHeaderColumn"))}),Ce(1,61),m()}2&n&&_("disabled",x(2).menu.toggleHeaderColumn.disabled)}function _Oe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"toggleHeaderRow"))}),Ce(1,62),m()}2&n&&_("disabled",x(2).menu.toggleHeaderRow.disabled)}function bOe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"toggleHeaderCell"))}),Ce(1,63),m()}2&n&&_("disabled",x(2).menu.toggleHeaderCell.disabled)}function vOe(n,t){if(1&n){const e=Y();f(0,"button",64),E("fileChange",function(r){return B(e),V(x(2).upload(r))}),T(1,"mat-icon",65),m()}2&n&&_("selectable",!0)("broadcast",!1)}function yOe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",70),E("click",function(r){return B(e),V(x(3).run(r,"alignLeft"))}),T(1,"mat-icon",71),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignLeft.disabled)("checked",e.menu.alignLeft.active)}}function COe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",72),E("click",function(r){return B(e),V(x(3).run(r,"alignCenter"))}),T(1,"mat-icon",73),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignCenter.disabled)("checked",e.menu.alignCenter.active)}}function wOe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",74),E("click",function(r){return B(e),V(x(3).run(r,"alignRight"))}),T(1,"mat-icon",75),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignRight.disabled)("checked",e.menu.alignRight.active)}}function xOe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",76),E("click",function(r){return B(e),V(x(3).run(r,"alignJustify"))}),T(1,"mat-icon",77),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignJustify.disabled)("checked",e.menu.alignJustify.active)}}function DOe(n,t){if(1&n&&(f(0,"mat-button-toggle-group"),S(1,yOe,2,2,"mat-button-toggle",66),S(2,COe,2,2,"mat-button-toggle",67),S(3,wOe,2,2,"mat-button-toggle",68),S(4,xOe,2,2,"mat-button-toggle",69),m()),2&n){const e=x(2);b(1),_("ngIf",e.menu.alignLeft),b(1),_("ngIf",e.menu.alignCenter),b(1),_("ngIf",e.menu.alignRight),b(1),_("ngIf",e.menu.alignJustify)}}function SOe(n,t){if(1&n){const e=Y();f(0,"button",78),E("click",function(r){return B(e),V(x(2).run(r,"undo"))}),T(1,"mat-icon",79),m()}2&n&&_("disabled",x(2).menu.undo.disabled)}function kOe(n,t){if(1&n){const e=Y();f(0,"button",80),E("click",function(r){return B(e),V(x(2).run(r,"redo"))}),T(1,"mat-icon",81),m()}2&n&&_("disabled",x(2).menu.redo.disabled)}function EOe(n,t){if(1&n){const e=Y();f(0,"button",82),E("click",function(r){return B(e),V(x(2).run(r,"wrapBulletList"))}),T(1,"mat-icon",83),m()}2&n&&_("disabled",x(2).menu.wrapBulletList.disabled)}function MOe(n,t){if(1&n){const e=Y();f(0,"button",84),E("click",function(r){return B(e),V(x(2).run(r,"wrapOrderedList"))}),T(1,"mat-icon",85),m()}2&n&&_("disabled",x(2).menu.wrapOrderedList.disabled)}function TOe(n,t){if(1&n){const e=Y();f(0,"button",86),E("click",function(r){return B(e),V(x(2).run(r,"wrapBlockQuote"))}),T(1,"mat-icon",87),m()}2&n&&_("disabled",x(2).menu.wrapBlockQuote.disabled)}function AOe(n,t){if(1&n){const e=Y();f(0,"button",88),E("click",function(r){return B(e),V(x(2).run(r,"joinUp"))}),T(1,"mat-icon",89),m()}2&n&&_("disabled",x(2).menu.joinUp.disabled)}function IOe(n,t){if(1&n){const e=Y();f(0,"button",90),E("click",function(r){return B(e),V(x(2).run(r,"lift"))}),T(1,"mat-icon",91),m()}2&n&&_("disabled",x(2).menu.lift.disabled)}function OOe(n,t){if(1&n){const e=Y();f(0,"button",92),E("click",function(r){return B(e),V(x(2).run(r,"selectParentNode"))}),T(1,"mat-icon",93),m()}2&n&&_("disabled",x(2).menu.selectParentNode.disabled)}function ROe(n,t){if(1&n&&(f(0,"div",3)(1,"div",4),S(2,HIe,2,0,"button",5),f(3,"mat-button-toggle-group",6),S(4,$Ie,2,2,"mat-button-toggle",7),S(5,jIe,2,2,"mat-button-toggle",8),S(6,UIe,2,2,"mat-button-toggle",9),S(7,GIe,2,2,"mat-button-toggle",10),m(),f(8,"button",11)(9,"span"),Ce(10,12),m(),T(11,"mat-icon",13),m(),f(12,"mat-menu",null,14),S(14,qIe,2,1,"button",15),S(15,WIe,2,1,"button",15),S(16,YIe,2,1,"button",15),S(17,KIe,2,1,"button",15),S(18,QIe,2,1,"button",15),S(19,XIe,2,1,"button",15),S(20,JIe,2,1,"button",15),S(21,ZIe,2,1,"button",15),T(22,"mat-divider"),S(23,eOe,2,1,"button",15),S(24,tOe,2,1,"button",15),m(),S(25,nOe,4,1,"button",16),f(26,"mat-menu",null,17),S(28,iOe,2,1,"button",15),S(29,rOe,2,1,"button",15),S(30,oOe,2,1,"button",15),S(31,aOe,2,1,"button",15),S(32,sOe,2,1,"button",15),S(33,lOe,2,1,"button",15),S(34,cOe,2,1,"button",15),T(35,"mat-divider"),S(36,dOe,2,1,"button",15),S(37,uOe,2,1,"button",15),S(38,hOe,2,1,"button",15),T(39,"mat-divider"),S(40,fOe,2,1,"button",15),S(41,pOe,2,1,"button",15),S(42,mOe,2,1,"button",15),T(43,"mat-divider"),S(44,gOe,2,1,"button",15),S(45,_Oe,2,1,"button",15),S(46,bOe,2,1,"button",15),m(),S(47,vOe,2,2,"button",18),S(48,DOe,5,4,"mat-button-toggle-group",19),S(49,SOe,2,1,"button",20),S(50,kOe,2,1,"button",21),S(51,EOe,2,1,"button",22),S(52,MOe,2,1,"button",23),S(53,TOe,2,1,"button",24),S(54,AOe,2,1,"button",25),S(55,IOe,2,1,"button",26),S(56,OOe,2,1,"button",27),m()()),2&n){const e=mt(13),i=x();b(2),_("ngIf",i.save.observed),b(2),_("ngIf",i.menu.toggleStrong),b(1),_("ngIf",i.menu.toggleEm),b(1),_("ngIf",i.menu.toggleCode),b(1),_("ngIf",i.menu.toggleLink),b(1),_("matMenuTriggerFor",e),b(6),_("ngIf",i.menu.makeParagraph),b(1),_("ngIf",i.menu.makeCodeBlock),b(1),_("ngIf",i.menu.makeHead1),b(1),_("ngIf",i.menu.makeHead2),b(1),_("ngIf",i.menu.makeHead3),b(1),_("ngIf",i.menu.makeHead4),b(1),_("ngIf",i.menu.makeHead5),b(1),_("ngIf",i.menu.makeHead6),b(2),_("ngIf",i.menu.blockClass),b(1),_("ngIf",i.menu.blockId),b(1),_("ngIf",i.menu.addColumnBefore),b(3),_("ngIf",i.menu.insertTable),b(1),_("ngIf",i.menu.deleteTable),b(1),_("ngIf",i.menu.mergeCells),b(1),_("ngIf",i.menu.splitCell),b(1),_("ngIf",i.menu.cellBackgroundColor),b(1),_("ngIf",i.menu.tableClass),b(1),_("ngIf",i.menu.tableId),b(2),_("ngIf",i.menu.addColumnBefore),b(1),_("ngIf",i.menu.addColumnAfter),b(1),_("ngIf",i.menu.deleteColumn),b(2),_("ngIf",i.menu.addRowBefore),b(1),_("ngIf",i.menu.addRowAfter),b(1),_("ngIf",i.menu.deleteRow),b(2),_("ngIf",i.menu.toggleHeaderColumn),b(1),_("ngIf",i.menu.toggleHeaderRow),b(1),_("ngIf",i.menu.toggleHeaderCell),b(1),_("ngIf",i.imageUploader),b(1),_("ngIf",i.menu.alignLeft),b(1),_("ngIf",i.menu.undo),b(1),_("ngIf",i.menu.redo),b(1),_("ngIf",i.menu.wrapBulletList&&i.menu.wrapBulletList.show),b(1),_("ngIf",i.menu.wrapOrderedList&&i.menu.wrapOrderedList.show),b(1),_("ngIf",i.menu.wrapBlockQuote&&i.menu.wrapBlockQuote.show),b(1),_("ngIf",i.menu.joinUp&&i.menu.joinUp.show),b(1),_("ngIf",i.menu.lift&&i.menu.lift.show),b(1),_("ngIf",i.menu.selectParentNode&&i.menu.selectParentNode.show)}}let NOe=(()=>{class n{constructor(e,i,r,o){this.ngControl=e,this.document=i,this.dialog=r,this.imagePlugin=o,this.view=null,this.contentChange=new j,this.imageUploader=null,this.schema=c7,this.content="",this.menu=null,this.save=new j,this.disabled=!1,null!==this.ngControl&&(this.ngControl.valueAccessor=this)}ngOnInit(){this.schema=this.imageUploader?d7:c7,this.menu=function zAe(n,t){const e={joinUp:vr(lAe),lift:vr(cAe),selectParentNode:vr(dAe),undo:vr(uAe),redo:vr(hAe)};let i;return i=n.marks.strong,i&&(e.toggleStrong=YE(i)),i=n.marks.em,i&&(e.toggleEm=YE(i)),i=n.marks.code,i&&(e.toggleCode=YE(i)),i=n.marks.link,i&&(e.toggleLink=new MAe(i,t)),i=n.nodes.bullet_list,i&&(e.wrapBulletList=F7(i)),i=n.nodes.ordered_list,i&&(e.wrapOrderedList=F7(i)),i=n.nodes.blockquote,i&&(e.wrapBlockQuote=vr(function fAe(n,t){let e={run:(i,r)=>HE(n,t.attrs)(i,r),select:i=>HE(n,t.attrs)(i)};for(let i in t)e[i]=t[i];return new qc(e)}(i,{}))),i=n.nodes.paragraph,i&&(e.makeParagraph=vr(wl(i,{})),i.spec===RE&&(e.alignLeft=new Hy("left"),e.alignRight=new Hy("right"),e.alignCenter=new Hy("center"),e.alignJustify=new Hy("justify"))),i=n.nodes.code_block,i&&(e.makeCodeBlock=vr(wl(i,{}))),i=n.nodes.heading,i&&(e.makeHead1=vr(wl(i,{attrs:{level:1}})),e.makeHead2=vr(wl(i,{attrs:{level:2}})),e.makeHead3=vr(wl(i,{attrs:{level:3}})),e.makeHead4=vr(wl(i,{attrs:{level:4}})),e.makeHead5=vr(wl(i,{attrs:{level:5}})),e.makeHead6=vr(wl(i,{attrs:{level:6}}))),n.nodes.paragraph?.spec===RE&&(e.blockId=new V7(t,["heading","paragraph"]),e.blockClass=new L7(t,["heading","paragraph"])),i=n.nodes.horizontal_rule,i&&(e.insertHorizontalRule=new AAe(i)),i=n.nodes.table,i&&(e.insertTable=new VAe,e.addColumnBefore=yr(zMe),e.addColumnAfter=yr(HMe),e.deleteColumn=yr(jMe),e.addRowBefore=yr(GMe),e.addRowAfter=yr(qMe),e.deleteRow=yr(YMe),e.deleteTable=yr(oTe),e.mergeCells=yr(QMe),e.splitCell=yr(XMe),e.toggleHeaderColumn=yr(nTe),e.toggleHeaderRow=yr(tTe),e.toggleHeaderCell=yr(iTe),e.cellBackgroundColor=new SAe(t),e.tableClass=new L7(t,["table"]),e.tableId=new V7(t,["table"])),e}(this.schema,this.dialog);const e=ga.fromSchema(this.schema),i=this.createState();this.view=new JEe(this.editor.nativeElement,{state:i,editable:()=>!this.disabled,dispatchTransaction:r=>{if(!this.view)return;const o=this.view.state.apply(r);this.view.updateState(o);const a=e.serializeFragment(this.view.state.doc),s=this.document.createElement("_");s.appendChild(a),this.content===s.innerHTML||this.disabled||(this.content=s.innerHTML,this.onChange&&this.onChange(this.content),this.contentChange.emit(this.content))}}),this.update()}writeValue(e){if("string"==typeof e&&e!==this.content&&(this.content=e),null!==this.view){const i=this.createState();this.view.updateState(i)}}createState(){const e=this.document.createElement("_");if(e.innerHTML="
"+this.content+"
",!e.firstChild)throw new Error("child of template element could not be created");const r=Wu.fromSchema(this.schema).parse(e.firstChild);return th.create({doc:r,plugins:this.createPlugins()})}createPlugins(){const e=!!this.document.defaultView?.navigator.platform.match(/Mac/),i=[uIe(this.schema),CE(hIe(this.schema,e)),CE(YTe),HAe(),new hs({props:{decorations:KAe,createSelectionBetween:(n,t,e)=>t.pos==e.pos&&xn.valid(e)?new xn(e):null,handleClick:WAe,handleKeyDown:qAe,handleDOMEvents:{beforeinput:YAe}}}),tAe(),new hs({props:{attributes:{class:"ProseMirror-example-setup-style"}}}),new hs({view:()=>this})];return this.schema===d7&&i.push(this.imagePlugin.plugin,function aTe({allowTableNodeSelection:n=!1}={}){return new hs({key:vl,state:{init:()=>null,apply(t,e){const i=t.getMeta(vl);if(null!=i)return-1==i?null:i;if(null==e||!t.docChanged)return e;const{deleted:r,pos:o}=t.mapping.mapResult(e);return r?null:o}},props:{decorations:mMe,handleDOMEvents:{mousedown:TMe},createSelectionBetween:t=>null!=vl.getState(t.state)?t.state.selection:null,handleTripleClick:EMe,handleKeyDown:kMe,handlePaste:MMe},appendTransaction:(t,e,i)=>function bMe(n,t,e){const i=(t||n).selection,r=(t||n).doc;let o,a;if(i instanceof $e&&(a=i.node.type.spec.tableRole)){if("cell"==a||"header_cell"==a)o=Et.create(r,i.from);else if("row"==a){const s=r.resolve(i.from+1);o=Et.rowSelection(s,s)}else if(!e){const s=cn.get(i.node),l=i.from+1;o=Et.create(r,l+1,l+s.map[s.width*s.height-1])}}else i instanceof ht&&function gMe({$from:n,$to:t}){if(n.pos==t.pos||n.pos=0&&!(n.after(r+1)=0&&!(t.before(o+1)>t.start(o));o--,i--);return e==i&&/row|table/.test(n.node(r).type.spec.tableRole)}(i)?o=ht.create(r,i.from):i instanceof ht&&function _Me({$from:n,$to:t}){let e,i;for(let r=n.depth;r>0;r--){const o=n.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){e=o;break}}for(let r=t.depth;r>0;r--){const o=t.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){i=o;break}}return e!==i&&0===t.parentOffset}(i)&&(o=ht.create(r,i.$from.start(),i.$from.end()));return o&&(t||(t=n.tr)).setSelection(o),t}(i,yMe(i,e),n)})}(),CE({Tab:i7(1),"Shift-Tab":i7(-1)})),i}update(){if(this.view&&this.menu)for(const e of Object.values(this.menu))e.update(this.view,this.view.state)}registerOnChange(e){this.onChange=e}registerOnTouched(){}setDisabledState(e){this.disabled=e}ngOnDestroy(){this.view&&(this.view.destroy(),this.view=null)}run(e,i){if(!this.view||!this.menu)return;const r=this.menu[i];!r||r.disabled||!r.show||(r.spec.run(this.view.state,this.view.dispatch,this.view,e),this.view.focus())}upload(e){!this.view||!this.imageUploader||(this.view.state.selection.$from.parent.inlineContent&&this.imagePlugin.startImageUpload(this.view,e,this.imageUploader,this.schema),this.view.focus())}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,10),g(ge),g(Xs),g(r7))},n.\u0275cmp=$({type:n,selectors:[["natural-editor"]],viewQuery:function(e,i){if(1&e&&ye(zIe,7,W),2&e){let r;U(r=G())&&(i.editor=r.first)}},inputs:{imageUploader:"imageUploader"},outputs:{contentChange:"contentChange",save:"save"},standalone:!0,features:[ae([r7]),Se],decls:3,vars:1,consts:function(){let t,e,i,r,o,a,s,l,c,d,u,h,p,v,y,w,k,D,M,I,O,he,L,le,Ve,Ne,Dn,Vi,Bt,zi,vs,we,Me,Ae,at,bn,Hi,Tt,Cr,bt,ka,Ml,Un,Bo;return t=$localize`:␟ed4e9803a21e1ebd2da72379252b471d64eda506␟4977912145007192180:Enregistrer`,e=$localize`:␟e571e69c1f6b7f0dff9ff4f1466b2e994b1192e5␟853518071026302177:Gras`,i=$localize`:␟47d9e7ef80f669552e3df42dbba8be7088b822d3␟300198309511639809:Italique`,r=$localize`:␟68572de01b84c678be4bf8a27b990ecac2f41ce9␟8186013988289067040:Code`,o=$localize`:␟ba7473f3a215d1323eff2ad3167d0e9e9274218e␟1557041251955945552:Insérer un lien...`,a=$localize`:␟f61c6867295f3b53d23557021f2f4e0aa1d0b8fc␟8650499415827640724:Type`,s=$localize`:␟9be03b6413d8068efe175697621131615a6ab3a0␟3841978350801808879:Insérer une image`,l=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,c=$localize`:␟8b5d0e4c0dec651a66d89de01f137cb5e5e04257␟6403851193916651073:Refaire`,d=$localize`:␟3ff6c7a0175eb584e95dca05def5571c9035940b␟4704418596776975081:Liste à puce`,u=$localize`:␟60623fec2df2e8744df5619b9b6dadc73672e24b␟7216232907864469265:Liste à numéro`,h=$localize`:␟7dabf675c8fe0749ca2779c47bba8f358c1019a4␟2451656483824020015:Citation`,p=$localize`:␟ace5a15008479d64be5ac213ca232ba5ecd8bb73␟5064870605618369023:Fusionner avec l'élément du haut`,v=$localize`:␟cb9750d7d225829cfd5d95b74ae4351b5ed65aa6␟2000897235581877997:Désindenter`,y=$localize`:␟83be2abf76edda9dc5b9154186284dc0f41fab77␟8614235463900586550:Sélectionner l'élément parent`,w=$localize`:␟d28fab97453e2081f570cd48af95ccdd6a8e6397␟6136400864719324541:Paragraphe `,k=$localize`:␟97af59623792a52ef3a17ba156af3e3a98b70d9f␟2538202305233848059:Code `,D=$localize`:␟0cd770f82e9b40302540b722aa4715adada5ff12␟2584920469226127358:Titre 1 `,M=$localize`:␟f2cfeb7dace4711aecb4ef406f9fe57a7e83cd2b␟2476185641560857556:Titre 2 `,I=$localize`:␟8bb4357ee55c3f7fd740efeb258a31d9f2703edf␟5436256042861037682:Titre 3 `,O=$localize`:␟63609168bcad34769071de0365d9fc0d9a344a19␟936401339229077313:Titre 4 `,he=$localize`:␟c337e2bd875c16f36286dac5a5ad3540c3ab63a5␟7421680847692046107:Titre 5 `,L=$localize`:␟7f60fe973299dc85f78991130b1383f97a08a6a9␟5620926499026208012:Titre 6 `,le=$localize`:␟593d23a4825040a26925c41f63121fe0efb5d9d5␟8769664555052864734:Classe... `,Ve=$localize`:␟b9549ffcf4f755b1d130ef02e560e470df4ddccc␟5784023628268896817:Tableau`,Ne=$localize`:␟0442ba52e6355e8f992bdf5e8f4eedfaea956dcf␟1946656239935628257:Insérer un tableau `,Dn=$localize`:␟a40df4982ffaded4b276dd25d33f7e0a32016321␟4853602868912920222:Supprimer le tableau `,Vi=$localize`:␟c765697875517db0fab6e311d5a48fcc9974ad66␟8691237197515173447:Fusionner les cellules `,Bt=$localize`:␟432e1f93f781f8403dbfb636d3a376e53788d510␟4797772159699051059:Scinder les cellules `,zi=$localize`:␟fd20bb03ff73f7dc4fe28db2b0a270d88c53d639␟3769381309463321881:Couleur de fond... `,vs=$localize`:␟593d23a4825040a26925c41f63121fe0efb5d9d5␟8769664555052864734:Classe... `,we=$localize`:␟804af476d87b2d86932e7f014380da92607e8708␟5333104642136967953:Insérer une colonne avant `,Me=$localize`:␟b3b4ea2c2e86d45752c0bede2a44473676f356a1␟91058110410087231:Insérer une colonne après `,Ae=$localize`:␟637535add43150a4ead5ba3a3af45f0ad0b28cdb␟8538662713416203555:Supprimer la colonne `,at=$localize`:␟7c4e33de9149ecc247ca964b1f296d587844a66b␟4531962888723553566:Insérer une ligne avant `,bn=$localize`:␟4dcafbec2b39be8553dbab1dab6c1dee4af6ca2e␟8333556608682627392:Insérer une ligne après `,Hi=$localize`:␟e27972b4a5842b59fa0ea7f2ce3274d68907de13␟333775365156251210:Supprimer la ligne `,Tt=$localize`:␟38bc19a45746e12248c3ec631137f776c3930fa1␟8309435796850150632:Entête de colonne `,Cr=$localize`:␟a408e1d151b957a1cefa419ddb461c7060035ebb␟2116722037476295193:Entête de ligne `,bt=$localize`:␟2fe2b278faa9079d19626dcfde7d817ef6a3d64f␟7159045021088816672:Entête de cellule `,ka=$localize`:␟9c53596030535cb177aa59e9842e246c31653f1f␟115347249111072315:Aligner gauche`,Ml=$localize`:␟f8b1dc60bc104c4a24e9539c099dc2d39382dfa0␟928726635862596808:Centrer`,Un=$localize`:␟4e5190f42014bef9660dec2299437ea94817593c␟1503396568088382412:Aligner droite`,Bo=$localize`:␟782b8c1f80b16b4bddb129186f9f5d9d2a53d0ef␟5699727622825203342:Justifier`,[["class","menu-container",4,"ngIf"],[1,"editor-container"],["editor",""],[1,"menu-container"],[1,"menu"],["mat-icon-button","","matTooltip",t,3,"click",4,"ngIf"],["multiple",""],["matTooltip",e,3,"disabled","checked","click",4,"ngIf"],["matTooltip",i,3,"disabled","checked","click",4,"ngIf"],["matTooltip",r,3,"disabled","checked","click",4,"ngIf"],["matTooltip",o,3,"disabled","checked","click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor"],a,["fontIcon","arrow_drop_down"],["blockMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["tableMenu","matMenu"],["mat-icon-button","","naturalFileDrop","","matTooltip",s,3,"selectable","broadcast","fileChange",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","matTooltip",l,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",c,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",d,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",u,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",h,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",p,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",v,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",y,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",t,3,"click"],["fontIcon","save"],["matTooltip",e,3,"disabled","checked","click"],["fontIcon","format_bold"],["matTooltip",i,3,"disabled","checked","click"],["fontIcon","format_italic"],["matTooltip",r,3,"disabled","checked","click"],["fontIcon","code"],["matTooltip",o,3,"disabled","checked","click"],["fontIcon","insert_link"],["mat-menu-item","",3,"disabled","click"],w,k,D,M,I,O,he,L,le,Ve,Ne,Dn,Vi,Bt,zi,vs,we,Me,Ae,at,bn,Hi,Tt,Cr,bt,["mat-icon-button","","naturalFileDrop","","matTooltip",s,3,"selectable","broadcast","fileChange"],["fontIcon","insert_photo"],["matTooltip",ka,3,"disabled","checked","click",4,"ngIf"],["matTooltip",Ml,3,"disabled","checked","click",4,"ngIf"],["matTooltip",Un,3,"disabled","checked","click",4,"ngIf"],["matTooltip",Bo,3,"disabled","checked","click",4,"ngIf"],["matTooltip",ka,3,"disabled","checked","click"],["fontIcon","format_align_left"],["matTooltip",Ml,3,"disabled","checked","click"],["fontIcon","format_align_center"],["matTooltip",Un,3,"disabled","checked","click"],["fontIcon","format_align_right"],["matTooltip",Bo,3,"disabled","checked","click"],["fontIcon","format_align_justify"],["mat-icon-button","","matTooltip",l,3,"disabled","click"],["fontIcon","undo"],["mat-icon-button","","matTooltip",c,3,"disabled","click"],["fontIcon","redo"],["mat-icon-button","","matTooltip",d,3,"disabled","click"],["fontIcon","format_list_bulleted"],["mat-icon-button","","matTooltip",u,3,"disabled","click"],["fontIcon","format_list_numbered"],["mat-icon-button","","matTooltip",h,3,"disabled","click"],["fontIcon","format_quote"],["mat-icon-button","","matTooltip",p,3,"disabled","click"],["fontIcon","move_up"],["mat-icon-button","","matTooltip",v,3,"disabled","click"],["fontIcon","format_indent_decrease"],["mat-icon-button","","matTooltip",y,3,"disabled","click"],["fontIcon","select_all"]]},template:function(e,i){1&e&&(S(0,ROe,57,43,"div",0),T(1,"div",1,2)),2&e&&_("ngIf",i.menu&&!i.disabled)},dependencies:[ke,Be,ct,en,Ar,Ja,Xa,ai,ei,oM,Uy,Gy,rM,nM,dh,iM,eM,Y7,ZE],styles:['.menu[_ngcontent-%COMP%]{border-bottom:1px solid;display:flex;flex-wrap:wrap;padding:10px 18px}.menu-container[_ngcontent-%COMP%]{position:sticky;top:-20px;z-index:999} .ProseMirror{position:relative} .ProseMirror{word-wrap:break-word;white-space:pre-wrap;font-variant-ligatures:none} .ProseMirror pre{white-space:pre-wrap} .ProseMirror li{position:relative} .ProseMirror-hideselection *::selection{background:transparent} .ProseMirror-hideselection *::-moz-selection{background:transparent} .ProseMirror-hideselection{caret-color:transparent} .ProseMirror-selectednode{outline:2px solid #8cf} li.ProseMirror-selectednode{outline:none} li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none} .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute} .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid black;animation:_ngcontent-%COMP%_ProseMirror-cursor-blink 1.1s steps(2,start) infinite}@keyframes _ngcontent-%COMP%_ProseMirror-cursor-blink{to{visibility:hidden}} .ProseMirror-focused .ProseMirror-gapcursor{display:block} .ProseMirror-example-setup-style hr{padding:2px 10px;border:none;margin:1em 0} .ProseMirror-example-setup-style hr:after{content:"";display:block;height:1px;background-color:silver;line-height:2px} .ProseMirror ul, .ProseMirror ol{padding-left:30px} .ProseMirror blockquote{padding-left:1em;border-left:3px solid #eee;margin-left:0;margin-right:0} .ProseMirror-example-setup-style img{cursor:default} .ProseMirror p:first-child, .ProseMirror h1:first-child, .ProseMirror h2:first-child, .ProseMirror h3:first-child, .ProseMirror h4:first-child, .ProseMirror h5:first-child, .ProseMirror h6:first-child{margin-top:10px} .ProseMirror{padding:4px 8px 4px 14px;line-height:1.2;outline:none} .ProseMirror p{margin-bottom:1em} .ProseMirror .tableWrapper{overflow-x:auto} .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;overflow:hidden} .ProseMirror td, .ProseMirror th{vertical-align:top;box-sizing:border-box;position:relative} .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;z-index:20;background-color:#adf;pointer-events:none} .ProseMirror.resize-cursor{cursor:col-resize} .ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";inset:0;background:rgba(200,200,255,.4);pointer-events:none} .ProseMirror table{margin:0} .ProseMirror th, .ProseMirror td{min-width:1em;border:1px solid #ddd;padding:3px 5px} .ProseMirror .tableWrapper{margin:1em 0} .ProseMirror th{font-weight:700;text-align:left} placeholder{display:block;width:50px;height:50px;background-size:500% 100%!important;animation:_ngcontent-%COMP%_gradient 3s none infinite}@keyframes _ngcontent-%COMP%_gradient{0%{background-position:100% 100%}to{background-position:0 0}}']}),n})();const FOe=["input"],POe=["label"],LOe=["*"],BOe=new F("mat-checkbox-default-options",{providedIn:"root",factory:i9});function i9(){return{color:"accent",clickAction:"check-indeterminate"}}const VOe={provide:Mi,useExisting:st(()=>Dl),multi:!0};class zOe{}let HOe=0;const r9=i9(),$Oe=Jl(Bs(Vs(ko(class{constructor(n){this._elementRef=n}}))));let jOe=(()=>{class n extends $Oe{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=te(e)}constructor(e,i,r,o,a,s,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=s,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new j,this.indeterminateChange=new j,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||r9,this.color=this.defaultColor=this._options.color||r9.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++HOe}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=te(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=te(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=te(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),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}_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);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},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 e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&(ye(FOe,5),ye(POe,5),ye(Ei,5)),2&e){let r;U(r=G())&&(i._inputElement=r.first),U(r=G())&&(i._labelElement=r.first),U(r=G())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[N]}),n})(),Dl=(()=>{class n extends jOe{constructor(e,i,r,o,a,s){super("mat-mdc-checkbox-",e,i,r,o,a,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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new zOe;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(de),wi("tabindex"),g(Ot,8),g(BOe,8))},n.\u0275cmp=$({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Si("id",i.id),ie("tabindex",null)("aria-label",null)("aria-labelledby",null),ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[ae([VOe]),N],ngContentSelectors:LOe,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[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"],["label",""]],template:function(e,i){if(1&e&&(qe(),f(0,"div",0),E("click",function(o){return i._preventBubblingFromLabel(o)}),f(1,"div",1,2)(3,"div",3),E("click",function(){return i._onTouchTargetClick()}),m(),f(4,"input",4,5),E("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),m(),T(6,"div",6),f(7,"div",7),Ci(),f(8,"svg",8),T(9,"path",9),m(),ks(),T(10,"div",10),m(),T(11,"div",11),m(),f(12,"label",12,13),re(14),m()()),2&e){const r=mt(2);ce("mdc-form-field--align-end","before"==i.labelPosition),b(4),ce("mdc-checkbox--selected",i.checked),_("checked",i.checked)("indeterminate",i.indeterminate)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),ie("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),b(7),_("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),b(1),_("for",i.inputId)}},dependencies:[Ei],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-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-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)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.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}.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%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),o9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})(),Wc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Eo,o9,Ue,o9]}),n})(),qOe=(()=>{class n{constructor(){this.disabled=!1,this.htmlStringBasic="

Basic

\n

Nap all day cat dog hate mouse eat string barf pillow no baths hate everything but kitty poochy. Sleep on keyboard toy mouse squeak roll over. Mesmerizing birds. Poop on grasses licks paws destroy couch intently sniff hand. The dog smells bad gnaw the corn cob.

\n

Throw down all the stuff in the kitchen fooled again thinking the dog likes me play riveting piece on synthesizer keyboard chew on cable missing until dinner time. Licks your face milk the cow.

\n
    \n
  • item 1
  • \n
  • item 2
  • \n
  • item 3
  • \n
",this.htmlStringAdvanced='

Advanced

\n\n \n \n \n
Wide header
OneTwoThree
FourFiveSix
\n

This text should be red when viewport is larger than 900px. Nap all day cat dog hate mouse eat string barf pillow no baths hate everything but kitty poochy. Sleep on keyboard toy mouse squeak roll over. Mesmerizing birds. Poop on grasses licks paws destroy couch intently sniff hand.

\n

qweqweqwe qwe qw eq eqw

\n

Throw down all the stuff in the kitchen fooled again thinking the dog likes me play riveting piece on synthesizer keyboard chew on cable missing until dinner time. Licks your face milk the cow.

\n
    \n
  • item 1
  • \n
  • item 2
  • \n
  • item 3
  • \n
\n

Title Level2 green italic

\n',this.css="\n .my-paragraph-class {background: pink}\n .my-table-class tr:nth-child(even) {background: darkgreen}\n .my-title-class {color: green}\n #chapter2 {font-style: italic}\n #myTable tr th {color: #2a7ae2}\n @media screen and (min-width: 900px) {\n .my-paragraph-class {color: red}\n }\n "}uploader(e){return new it(i=>{const r=new FileReader;r.onload=()=>{i.next(r.result),i.complete()},r.onerror=()=>i.error(r.error);const o=setTimeout(()=>r.readAsDataURL(e),1500);return()=>{clearTimeout(o)}})}update(){console.log("Save button was clicked")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-editor"]],standalone:!0,features:[Se],decls:28,vars:12,consts:[["fxLayout","column"],[3,"ngModel","ngModelChange"],["fxFlex","","fxLayout","row","fxLayoutGap","50px"],["fxFlex","","fxLayout","column","fxLayoutGap","50px"],[3,"ngModel","disabled","ngModelChange"],[1,"mat-headline-4","margin-bottom"],[1,"preview",3,"innerHTML"],[1,"debug"],[3,"ngModel","imageUploader","naturalCustomCss","disabled","ngModelChange","save"],[1,"preview",3,"innerHTML","naturalCustomCss"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"mat-checkbox",1),E("ngModelChange",function(o){return i.disabled=o}),C(2,"Disabled"),m(),f(3,"div",2)(4,"div",3)(5,"natural-editor",4),E("ngModelChange",function(o){return i.htmlStringBasic=o}),m(),f(6,"div")(7,"h1",5),C(8,"Preview"),m(),f(9,"div",6),C(10,"\xa0"),m()(),f(11,"div")(12,"h1",5),C(13,"Debug"),m(),f(14,"p",7),C(15),m()()(),f(16,"div",3)(17,"natural-editor",8),E("ngModelChange",function(o){return i.htmlStringAdvanced=o})("save",function(){return i.update()}),m(),f(18,"div")(19,"h1",5),C(20,"Preview"),m(),f(21,"div",9),C(22,"\xa0"),m()(),f(23,"div")(24,"h1",5),C(25,"Debug"),m(),f(26,"p",7),C(27),m()()()()()),2&e&&(b(1),_("ngModel",i.disabled),b(4),_("ngModel",i.htmlStringBasic)("disabled",i.disabled),b(4),_("innerHTML",i.htmlStringBasic,OC),b(6),xe(i.htmlStringBasic),b(2),_("ngModel",i.htmlStringAdvanced)("imageUploader",i.uploader)("naturalCustomCss",i.css)("disabled",i.disabled),b(4),_("innerHTML",i.htmlStringAdvanced,OC)("naturalCustomCss",i.css),b(6),xe(i.htmlStringAdvanced))},dependencies:[$n,An,Hn,qu,Wc,Dl,Ut,jt,Us,NOe,NSe],styles:[".preview[_ngcontent-%COMP%]{padding:20px 30px;border-radius:8px;background:rgba(0,0,0,.1)}"]}),n})();const a9={transformMenu:pn("transformMenu",[gt("void",be({opacity:0,transform:"scale(0.01, 0.01)"})),ot("void => enter",d1([Wd(".natural-dropdown-container-content",be({opacity:0})),rt("100ms linear",be({opacity:1,transform:"scale(1, 0.5)"})),q_([Wd(".natural-dropdown-container-content",rt("400ms cubic-bezier(0.55, 0, 0.55, 0.2)",be({opacity:1}))),rt("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",be({transform:"scale(1, 1)"}))])])),ot("* => void",rt("150ms 50ms linear",be({opacity:0})))]),fadeInItems:pn("fadeInItems",[gt("showing",be({opacity:1})),ot("void => *",[be({opacity:0}),rt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};function WOe(n,t){}function YOe(n,t){if(1&n){const e=Y();f(0,"div",4)(1,"button",5),E("click",function(){return B(e),V(x().close())}),Ce(2,6),m()()}}const s9=new F("NaturalDropdownContainerData");let QOe=(()=>{class n extends Uf{constructor(e,i,r){super(),this.elementRef=e,this.focusTrapFactory=i,this.data=r,this.closed=new q,this.panelAnimationState="void",this.animationDone=new q,this.focusTrap=null,this.elementFocusedBeforeDialogWasOpened=null}ngOnDestroy(){this.closed.complete()}close(){this.closed.next()}attachTemplatePortal(e){return this.portalOutlet.attachTemplatePortal(e)}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&function KOe(){throw Error("Attempting to attach dialog content after content is already attached")}(),this.portalOutlet.attachComponentPortal(e)}startAnimation(){this.panelAnimationState="enter"}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.animationDone.next()}trapFocus(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this.focusTrap.focusInitialElementWhenReady()}restoreFocus(){const e=this.elementFocusedBeforeDialogWasOpened;e&&"function"==typeof e.focus&&e.focus(),this.focusTrap&&this.focusTrap.destroy()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(rne),g(s9))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&(ye(Ir,7),ye(kt,7)),2&e){let r;U(r=G())&&(i.portalOutlet=r.first),U(r=G())&&(i.templateRef=r.first)}},standalone:!0,features:[N,Se],decls:4,vars:2,consts:function(){let t;return t=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,[["role","menu","tabindex","-1",1,"natural-dropdown-container","mat-elevation-z2"],[1,"natural-dropdown-container-content"],["cdkPortalOutlet",""],["class","natural-dropdown-validate-button",4,"ngIf"],[1,"natural-dropdown-validate-button"],["color","primary","mat-raised-button","",3,"click"],t]},template:function(e,i){1&e&&(f(0,"div",0),E("@transformMenu.done",function(o){return i.onAnimationDone(o)}),f(1,"div",1),S(2,WOe,0,0,"ng-template",2),m(),S(3,YOe,3,0,"div",3),m()),2&e&&(_("@transformMenu",i.panelAnimationState),b(3),_("ngIf",i.data.showValidateButton))},dependencies:[Ya,Ir,ke,Be,ct,en],styles:[".natural-dropdown-container{display:flex;flex-direction:column;border-radius:2px;height:100%}.natural-dropdown-container-content{flex:1;padding:5px;overflow:auto}.natural-dropdown-container .natural-dropdown-validate-button{flex:none;display:flex;flex-direction:row;justify-content:flex-end;margin:5px}\n"],encapsulation:2,data:{animation:[a9.transformMenu,a9.fadeInItems]}}),n})();class _s{constructor(t,e,i,r,o){this.dropdownContainer=t,this.closed=new q,i.push({provide:_s,useValue:this});const a=Yt.create({providers:i,parent:r}),s=new ra(e,void 0,a),l=o.instance.attachComponentPortal(s);this.componentInstance=l.instance}close(t){this.closed.next(t),this.closed.complete(),this.dropdownContainer.close()}}const Da=new F("NaturalDropdownData");let XOe=(()=>{class n{constructor(e,i){this.overlay=e,this.injector=i}open(e,i,r,o){const l=Yt.create({providers:[{provide:s9,useValue:{showValidateButton:o}}],parent:this.injector}),c=this.overlay.create(this.getOverlayConfig(i)),d=new ra(QOe,void 0,l),u=c.attach(d),h=u.instance,p=new _s(h,e,r,this.injector,u);return h.startAnimation(),h.closed.subscribe(()=>{c.dispose(),p.componentInstance.isValid()&&p.componentInstance.isDirty()?p.close({condition:p.componentInstance.getCondition()}):p.close()}),c.backdropClick().pipe(se(h.closed)).subscribe(()=>h.close()),p}getOverlayConfig(e){return new zs({positionStrategy:this.getPosition(e),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop"})}getPosition(e){return this.overlay.position().flexibleConnectedTo(e).withFlexibleDimensions(!0).withViewportMargin(30).withPush(!1).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:10}])}}return n.\u0275fac=function(e){return new(e||n)(A(Jn),A(Yt))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const l9=[{key:"less",label:"<"},{key:"lessOrEqual",label:"\u2264"},{key:"equal",label:"="},{key:"greaterOrEqual",label:"\u2265"},{key:"greater",label:">"}],c9=[{key:"is",label:$localize`est`},{key:"isnot",label:$localize`n'est pas`},{key:"any",label:$localize`avec`},{key:"none",label:$localize`sans`}];function JOe(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}class d9{isErrorState(t){return t&&t.invalid&&t.value}}let u9=(()=>{class n{constructor(e,i){this.dropdownRef=i,this.renderedValue=new ft(""),this.formCtrl=new wt("",{nonNullable:!0}),this.matcher=new d9,this.formCtrl.valueChanges.subscribe(r=>{this.renderedValue.next(null===r?"":this.formCtrl.value+"")}),this.formCtrl.setValidators([$t.required]),e.condition&&e.condition.like&&this.formCtrl.setValue(""+e.condition.like.value)}getCondition(){return this.formCtrl.value?{like:{value:this.formCtrl.value}}:{}}isValid(){return this.formCtrl.valid}isDirty(){return this.formCtrl.dirty}close(){this.isValid()?this.dropdownRef.close({condition:this.getCondition()}):this.dropdownRef.close()}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(_s))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:5,vars:4,consts:function(){let t;return t=$localize`:␟682c6738dc138ad385790cf462130300117061c1␟3717603792840045364:Valeur`,[t,["matInput","","type","text",3,"errorStateMatcher","formControl","required","keydown.enter"],[4,"ngIf"]]},template:function(e,i){1&e&&(f(0,"mat-form-field")(1,"mat-label"),Ce(2,0),m(),f(3,"input",1),E("keydown.enter",function(){return i.close()}),m(),S(4,JOe,2,0,"mat-error",2),m()),2&e&&(b(3),_("errorStateMatcher",i.matcher)("formControl",i.formCtrl)("required",!0),b(1),_("ngIf",i.formCtrl.hasError("required")))},dependencies:[mn,Mn,En,Qr,Ii,Ai,Ut,di,jt,Xr,sn,an,ke,Be],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, [_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}"]}),n})();function ZOe(n,t){if(1&n&&(f(0,"mat-option",8),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function eRe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("< ",e.configuration.min,"")}}function tRe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("> ",e.configuration.max,"")}}let qy=(()=>{class n{constructor(e,i){this.dropdownRef=i,this.renderedValue=new ft(""),this.operatorCtrl=new wt("equal",{nonNullable:!0}),this.valueCtrl=new wt,this.matcher=new d9,this.form=new Vn({operator:this.operatorCtrl,value:this.valueCtrl}),this.operators=l9,this.defaults={min:null,max:null,step:null},this.configuration={...this.defaults,...e.configuration},dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges).subscribe(()=>{const r=this.getRenderedValue();this.renderedValue.next(r)}),this.initValidators(),this.reloadCondition(e.condition)}getCondition(){const e={};return e[this.operatorCtrl.value]={value:this.valueCtrl.value},e}isValid(){return this.form.valid}isDirty(){return this.form.dirty}close(){this.isValid()?this.dropdownRef.close({condition:this.getCondition()}):this.dropdownRef.close()}initValidators(){const e=[$t.required];if(this.configuration.min&&e.push($t.min(this.configuration.min)),this.configuration.max&&e.push($t.max(this.configuration.max)),this.configuration.step){const r=((""+this.configuration.step).match(/\.(\d+)$/)?.[1]??"").length;e.push(w6(r))}this.valueCtrl.setValidators(e)}reloadCondition(e){if(e)for(const i of this.operators){const r=e[i.key];r&&(this.operatorCtrl.setValue(i.key),this.valueCtrl.setValue(r.value))}}getRenderedValue(){const e=this.operators.find(i=>i.key===this.operatorCtrl.value);return null!==this.valueCtrl.value&&e?e.label+" "+this.valueCtrl.value:""}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(_s))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:12,vars:12,consts:function(){let t,e;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,e=$localize`:␟682c6738dc138ad385790cf462130300117061c1␟3717603792840045364:Valeur`,[[3,"formGroup"],[2,"max-width","4em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],e,["matInput","","type","number",3,"errorStateMatcher","formControl","required","step","keydown.enter"],[4,"ngIf"],[3,"value"]]},template:function(e,i){1&e&&(f(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),Ce(3,2),m(),f(4,"mat-select",3),S(5,ZOe,2,2,"mat-option",4),m()(),f(6,"mat-form-field")(7,"mat-label"),Ce(8,5),m(),f(9,"input",6),E("keydown.enter",function(){return i.close()}),m(),S(10,eRe,2,1,"mat-error",7),S(11,tRe,2,1,"mat-error",7),m()()),2&e&&(_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(4),_("errorStateMatcher",i.matcher)("formControl",i.valueCtrl)("required",!0)("step",i.configuration.step),ie("max",i.configuration.max)("min",i.configuration.min),b(1),_("ngIf",i.valueCtrl.hasError("min")),b(1),_("ngIf",i.valueCtrl.hasError("max")))},dependencies:[Ut,cc,di,M1,jt,oi,Xr,sn,an,gn,mn,Mn,En,Qr,hc,uc,ia,ke,Zt,Be,Mo,Ii,Ai],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, [_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}"]}),n})();class nRe{constructor(){this.expansionModel=new ac(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}class iRe extends nRe{constructor(t,e,i){super(),this.getLevel=t,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(t){const i=[];for(let r=this.dataNodes.indexOf(t)+1;rthis._trackByValue(t)))}}const Wy=new F("CDK_TREE_NODE_OUTLET_NODE");let Em=(()=>{class n{constructor(e,i){this.viewContainer=e,this._node=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(Wy,8))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodeOutlet",""]]}),n})();class rRe{constructor(t){this.$implicit=t}}let Yy=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),n})(),bs=(()=>{class n{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._onDestroy=new q,this._levels=new Map,this.viewChange=new ft({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 e=this._nodeDefs.filter(i=>!i.when);this._defaultNodeDef=e[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(e){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let e;X_(this._dataSource)?e=this._dataSource.connect(this):Eb(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=ee(this._dataSource)),e&&(this._dataSubscription=e.pipe(se(this._onDestroy)).subscribe(i=>this.renderNodeChanges(i)))}renderNodeChanges(e,i=this._dataDiffer,r=this._nodeOutlet.viewContainer,o){const a=i.diff(e);a&&(a.forEachOperation((s,l,c)=>{if(null==s.previousIndex)this.insertNode(e[c],c,r,o);else if(null==c)r.remove(l),this._levels.delete(s.item);else{const d=r.get(l);r.move(d,c)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(o=>o.when&&o.when(i,e))||this._defaultNodeDef}insertNode(e,i,r,o){const a=this._getNodeDef(e,i),s=new rRe(e);s.level=this.treeControl.getLevel?this.treeControl.getLevel(e):typeof o<"u"&&this._levels.has(o)?this._levels.get(o)+1:0,this._levels.set(e,s.level),(r||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,s,i),Sa.mostRecentTreeNode&&(Sa.mostRecentTreeNode.data=e)}}return n.\u0275fac=function(e){return new(e||n)(g(Gr),g(ze))},n.\u0275cmp=$({type:n,selectors:[["cdk-tree"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,Yy,5),2&e){let o;U(o=G())&&(i._nodeDefs=o)}},viewQuery:function(e,i){if(1&e&&ye(Em,7),2&e){let r;U(r=G())&&(i._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[Em],encapsulation:2}),n})(),Sa=(()=>{class n{get role(){return"treeitem"}set role(e){this._elementRef.nativeElement.setAttribute("role",e)}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,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(e,i){this._elementRef=e,this._tree=i,this._destroyed=new q,this._dataChanges=new q,n.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function oRe(n){let t=n.parentElement;for(;t&&!aRe(t);)t=t.parentElement;return t?t.classList.contains("cdk-nested-tree-node")?fn(t.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return n.mostRecentTreeNode=null,n.\u0275fac=function(e){return new(e||n)(g(W),g(bs))},n.\u0275dir=R({type:n,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(e,i){2&e&&ie("aria-expanded",i.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),n})();function aRe(n){const t=n.classList;return!(!t?.contains("cdk-nested-tree-node")&&!t?.contains("cdk-tree"))}const sRe=/([A-Za-z%]+)$/;let sM=(()=>{class n{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,o){this._treeNode=e,this._tree=i,this._element=r,this._dir=o,this._destroyed=new q,this.indentUnits="px",this._indent=40,this._setPadding(),o&&o.change.pipe(se(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const e=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,i=null==this._level?e:this._level;return"number"==typeof i?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){const i=this._paddingIndent();if(i!==this._currentPadding||e){const r=this._element.nativeElement,o=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",a="paddingLeft"===o?"paddingRight":"paddingLeft";r.style[o]=i||"",r.style[a]="",this._currentPadding=i}}_setLevelInput(e){this._level=fn(e,null),this._setPadding()}_setIndentInput(e){let i=e,r="px";if("string"==typeof e){const o=e.split(sRe);i=o[0],r=o[1]||r}this.indentUnits=r,this._indent=fn(i),this._setPadding()}}return n.\u0275fac=function(e){return new(e||n)(g(Sa),g(bs),g(W),g(Qt,8))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),n})(),lM=(()=>{class n{get recursive(){return this._recursive}set recursive(e){this._recursive=te(e)}constructor(e,i){this._tree=e,this._treeNode=i,this._recursive=!1}_toggle(e){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(g(bs),g(Sa))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(e,i){1&e&&E("click",function(o){return i._toggle(o)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),n})(),lRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const cRe=Jl(ko(Sa));let h9=(()=>{class n extends cRe{constructor(e,i,r){super(e,i),this.tabIndex=Number(r)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(bs),wi("tabindex"))},n.\u0275dir=R({type:n,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[ae([{provide:Sa,useExisting:n}]),N]}),n})(),f9=(()=>{class n extends Yy{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[ae([{provide:Yy,useExisting:n}]),N]}),n})(),p9=(()=>{class n extends sM{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[ae([{provide:sM,useExisting:n}]),N]}),n})(),cM=(()=>{class n{constructor(e,i){this.viewContainer=e,this._node=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(Wy,8))},n.\u0275dir=R({type:n,selectors:[["","matTreeNodeOutlet",""]],features:[ae([{provide:Em,useExisting:n}])]}),n})(),m9=(()=>{class n extends bs{constructor(){super(...arguments),this._nodeOutlet=void 0}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-tree"]],viewQuery:function(e,i){if(1&e&&ye(cM,7),2&e){let r;U(r=G())&&(i._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[ae([{provide:bs,useExisting:n}]),N],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[cM],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),n})(),g9=(()=>{class n extends lM{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[ae([{provide:lM,useExisting:n}]),N]}),n})(),uRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[lRe,Ue,Ue]}),n})();class hRe{constructor(t,e,i,r){this.transformFunction=t,this.getLevel=e,this.isExpandable=i,this.getChildren=r}_flattenNode(t,e,i,r){const o=this.transformFunction(t,e);if(i.push(o),this.isExpandable(o)){const a=this.getChildren(t);a&&(Array.isArray(a)?this._flattenChildren(a,e,i,r):a.pipe(lt(1)).subscribe(s=>{this._flattenChildren(s,e,i,r)}))}return i}_flattenChildren(t,e,i,r){t.forEach((o,a)=>{let s=r.slice();s.push(a!=t.length-1),this._flattenNode(o,e+1,i,s)})}flattenNodes(t){let e=[];return t.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(t,e){let i=[],r=[];return r[0]=!0,t.forEach(o=>{let a=!0;for(let s=0;s<=this.getLevel(o);s++)a=a&&r[s];a&&i.push(o),this.isExpandable(o)&&(r[this.getLevel(o)+1]=e.isExpanded(o))}),i}}class fRe extends p1{get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(t,e,i){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new ft([]),this._expandedData=new ft([]),this._data=new ft([]),i&&(this.data=i)}connect(t){return dt(t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ue(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}function Ky(n,t){if(!t)return"";const e=n.getYear(t),i=n.getMonth(t)+1,r=n.getDate(t);return e+"-"+(i<10?"0":"")+i+"-"+(r<10?"0":"")+r}function b9(n,t){return e=>e.value&&n.compareDate(e.value,t)<0?{min:!0}:null}function v9(n,t){return e=>e.value&&n.compareDate(e.value,t)>0?{max:!0}:null}const mRe=["mat-calendar-body",""];function gRe(n,t){if(1&n&&(f(0,"tr",3)(1,"td",4),C(2),m()()),2&n){const e=x();b(1),nn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ie("colspan",e.numCols),b(1),me(" ",e.label," ")}}function _Re(n,t){if(1&n&&(f(0,"td",4),C(1),m()),2&n){const e=x(2);nn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ie("colspan",e._firstRowOffset),b(1),me(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function bRe(n,t){if(1&n){const e=Y();f(0,"td",8)(1,"button",9),E("click",function(r){const a=B(e).$implicit;return V(x(2)._cellClicked(a,r))})("focus",function(r){const a=B(e).$implicit;return V(x(2)._emitActiveDateChange(a,r))}),f(2,"span",10),C(3),m(),T(4,"span",11),m()()}if(2&n){const e=t.$implicit,i=t.index,r=x().index,o=x();nn("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),ie("data-mat-row",r)("data-mat-col",i),b(1),ce("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,i))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),_("ngClass",e.cssClasses)("tabindex",o._isActiveCell(r,i)?0:-1),ie("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),b(1),ce("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),b(1),me(" ",e.displayValue," ")}}function vRe(n,t){if(1&n&&(f(0,"tr",5),S(1,_Re,2,6,"td",6),S(2,bRe,5,48,"td",7),m()),2&n){const e=t.$implicit,i=t.index,r=x();b(1),_("ngIf",0===i&&r._firstRowOffset),b(1),_("ngForOf",e)}}function yRe(n,t){if(1&n&&(f(0,"th",5)(1,"span",6),C(2),m(),f(3,"span",7),C(4),m()()),2&n){const e=t.$implicit;b(2),xe(e.long),b(2),xe(e.narrow)}}const CRe=["*"];function wRe(n,t){}function xRe(n,t){if(1&n){const e=Y();f(0,"mat-month-view",5),E("activeDateChange",function(r){return B(e),V(x().activeDate=r)})("_userSelection",function(r){return B(e),V(x()._dateSelected(r))})("dragStarted",function(r){return B(e),V(x()._dragStarted(r))})("dragEnded",function(r){return B(e),V(x()._dragEnded(r))}),m()}if(2&n){const e=x();_("activeDate",e.activeDate)("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 DRe(n,t){if(1&n){const e=Y();f(0,"mat-year-view",6),E("activeDateChange",function(r){return B(e),V(x().activeDate=r)})("monthSelected",function(r){return B(e),V(x()._monthSelectedInYearView(r))})("selectedChange",function(r){return B(e),V(x()._goToDateInView(r,"month"))}),m()}if(2&n){const e=x();_("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function SRe(n,t){if(1&n){const e=Y();f(0,"mat-multi-year-view",7),E("activeDateChange",function(r){return B(e),V(x().activeDate=r)})("yearSelected",function(r){return B(e),V(x()._yearSelectedInMultiYearView(r))})("selectedChange",function(r){return B(e),V(x()._goToDateInView(r,"year"))}),m()}if(2&n){const e=x();_("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function kRe(n,t){}const ERe=["button"];function MRe(n,t){1&n&&(Ci(),f(0,"svg",3),T(1,"path",4),m())}const TRe=[[["","matDatepickerToggleIcon",""]]],ARe=["[matDatepickerToggleIcon]"];let Mm=(()=>{class n{constructor(){this.changes=new q,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}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class dM{constructor(t,e,i,r,o={},a=t,s){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.cssClasses=o,this.compareValue=a,this.rawValue=s}}let IRe=1;const y9=Do({passive:!1,capture:!0}),Sl=Do({passive:!0,capture:!0}),Qy=Do({passive:!0});let uh=(()=>{class n{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,i){this._elementRef=e,this._ngZone=i,this._platform=ne(yt),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new j,this.previewChange=new j,this.activeDateChange=new j,this.dragStarted=new j,this.dragEnded=new j,this._didDragSinceMouseDown=!1,this._enterHandler=r=>{if(this._skipNextFocus&&"focus"===r.type)this._skipNextFocus=!1;else if(r.target&&this.isRange){const o=this._getCellFromElement(r.target);o&&this._ngZone.run(()=>this.previewChange.emit({value:o.enabled?o:null,event:r}))}},this._touchmoveHandler=r=>{if(!this.isRange)return;const o=C9(r),a=o?this._getCellFromElement(o):null;o!==r.target&&(this._didDragSinceMouseDown=!0),hM(r.target)&&r.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:r}))},this._leaveHandler=r=>{null!==this.previewEnd&&this.isRange&&("blur"!==r.type&&(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;const o=r.target&&this._getCellFromElement(r.target);!o||!this._isInRange(o.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:o.rawValue,event:r})})},this._mouseupHandler=r=>{if(!this.isRange)return;const o=hM(r.target);o?o.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const a=this._getCellFromElement(o);this.dragEnded.emit({value:a?.rawValue??null,event:r})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:r})})},this._touchendHandler=r=>{const o=C9(r);o&&this._mouseupHandler({target:o})},this._id="mat-calendar-body-"+IRe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,i.runOutsideAngular(()=>{const r=e.nativeElement;r.addEventListener("touchmove",this._touchmoveHandler,y9),r.addEventListener("mouseenter",this._enterHandler,Sl),r.addEventListener("focus",this._enterHandler,Sl),r.addEventListener("mouseleave",this._leaveHandler,Sl),r.addEventListener("blur",this._leaveHandler,Sl),r.addEventListener("mousedown",this._mousedownHandler,Qy),r.addEventListener("touchstart",this._mousedownHandler,Qy),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){const i=e.numCols,{rows:r,numCols:o}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/o+"%"),(i||!this._cellWidth)&&(this._cellWidth=100/o+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,y9),e.removeEventListener("mouseenter",this._enterHandler,Sl),e.removeEventListener("focus",this._enterHandler,Sl),e.removeEventListener("mouseleave",this._leaveHandler,Sl),e.removeEventListener("blur",this._leaveHandler,Sl),e.removeEventListener("mousedown",this._mousedownHandler,Qy),e.removeEventListener("touchstart",this._mousedownHandler,Qy),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){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(lt(1)).subscribe(()=>{setTimeout(()=>{const i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return fM(e,this.startValue,this.endValue)}_isRangeEnd(e){return pM(e,this.startValue,this.endValue)}_isInRange(e){return mM(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return fM(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[i][r-1];if(!o){const a=this.rows[i-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[i][r+1];if(!o){const a=this.rows[i+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return pM(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return mM(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return fM(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return pM(e,this.previewStart,this.previewEnd)}_isInPreview(e){return mM(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){const i=hM(e);if(i){const r=i.getAttribute("data-mat-row"),o=i.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)][parseInt(o)]}return null}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de))},n.\u0275cmp=$({type:n,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"],features:[Je],attrs:mRe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,i){1&e&&(S(0,gRe,3,6,"tr",0),S(1,vRe,3,2,"tr",1),f(2,"label",2),C(3),m(),f(4,"label",2),C(5),m()),2&e&&(_("ngIf",i._firstRowOffset=t&&n===e}function mM(n,t,e,i){return i&&null!==t&&null!==e&&t!==e&&n>=t&&n<=e}function C9(n){const t=n.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}class tr{constructor(t,e){this.start=t,this.end=e}}let kl=(()=>{class n{constructor(e,i){this.selection=e,this._adapter=i,this._selectionChanged=new q,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,i){const 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)}}return n.\u0275fac=function(e){Mr()},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),ORe=(()=>{class n extends kl{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}return n.\u0275fac=function(e){return new(e||n)(A(Bn))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})();const w9={provide:kl,deps:[[new fo,new Fa,kl],Bn],useFactory:function NRe(n,t){return n||new ORe(t)}},Xy=new F("MAT_DATE_RANGE_SELECTION_STRATEGY");let x9=(()=>{class n{get activeDate(){return this._activeDate}set activeDate(e){const 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){this._selected=e instanceof tr?e: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,o,a){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=r,this._dir=o,this._rangeStrategy=a,this._rerenderSubscription=We.EMPTY,this.activeDrag=null,this.selectedChange=new j,this._userSelection=new j,this.dragStarted=new j,this.dragEnded=new j,this.activeDateChange=new j,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnChanges(e){const i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const i=e.value,r=this._getDateFromDayOfMonth(i);let o,a;this._selected instanceof tr?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==i||a!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const 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:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!on(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()));default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(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=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,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){const r=i?i.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end),this.activeDrag&&r){const a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const 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(){const e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow");let o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:i[s]}));this._weekdays=o.slice(e).concat(o.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,o=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){const i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(i,r,o).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof tr?(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}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(Ga,8),g(Bn,8),g(Qt,8),g(Xy,8))},n.\u0275cmp=$({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,i){if(1&e&&ye(uh,5),2&e){let r;U(r=G())&&(i._matCalendarBody=r.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"],features:[Je],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,i){1&e&&(f(0,"table",0)(1,"thead",1)(2,"tr"),S(3,yRe,5,2,"th",2),m(),f(4,"tr"),T(5,"th",3),m()(),f(6,"tbody",4),E("selectedValueChange",function(o){return i._dateSelected(o)})("activeDateChange",function(o){return i._updateActiveDate(o)})("previewChange",function(o){return i._previewChanged(o)})("dragStarted",function(o){return i.dragStarted.emit(o)})("dragEnded",function(o){return i._dragEnded(o)})("keyup",function(o){return i._handleCalendarBodyKeyup(o)})("keydown",function(o){return i._handleCalendarBodyKeydown(o)}),m()()),2&e&&(b(3),_("ngForOf",i._weekdays),b(3),_("label",i._monthLabel)("rows",i._weeks)("todayValue",i._todayDate)("startValue",i._rangeStart)("endValue",i._rangeEnd)("comparisonStart",i._comparisonRangeStart)("comparisonEnd",i._comparisonRangeEnd)("previewStart",i._previewStart)("previewEnd",i._previewEnd)("isRange",i._isRange)("labelMinRequiredCells",3)("activeCell",i._dateAdapter.getDate(i.activeDate)-1)("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName))},dependencies:[Zt,uh],encapsulation:2,changeDetection:0}),n})();const Br=24;let D9=(()=>{class n{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),S9(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tr?e: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=We.EMPTY,this.selectedChange=new j,this.yearSelected=new j,this.activeDateChange=new j,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const i=this._dateAdapter.getYear(this._activeDate)-Tm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,o=[];rthis._createCellForYear(a))),o=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const i=e.value,r=this._dateAdapter.createDate(i,0,1),o=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){const r=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const 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,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Tm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Br-Tm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-Br:-Br);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*Br:Br);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){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return Tm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const 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){const i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),o=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new dM(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate;const 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){this._selected=e instanceof tr?e: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,o){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=r,this._dir=o,this._rerenderSubscription=We.EMPTY,this.selectedChange=new j,this.monthSelected=new j,this.activeDateChange=new j,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);const o=this._getDateFromMonth(i);this.selectedChange.emit(o)}_updateActiveDate(e){const r=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const 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){(32===e.keyCode||13===e.keyCode)&&(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){const 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){const r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new dM(e,i.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){const i=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;for(let o=this._dateAdapter.createDate(i,e,1);this._dateAdapter.getMonth(o)==e;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){const r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>o}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){const r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(e,i,r,o,a){this._intl=e,this.calendar=i,this._dateAdapter=r,this._dateFormats=o,this._id="mat-calendar-header-"+VRe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>a.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:-Br)}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:Br)}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(e,i){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):S9(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const i=this._dateAdapter.getYear(this.calendar.activeDate)-Tm(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+Br-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1))]}}return n.\u0275fac=function(e){return new(e||n)(g(Mm),g(st(()=>bM)),g(Bn,8),g(Ga,8),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:CRe,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["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,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,i){1&e&&(qe(),f(0,"div",0)(1,"div",1)(2,"button",2),E("click",function(){return i.currentPeriodClicked()}),f(3,"span",3),C(4),m(),Ci(),f(5,"svg",4),T(6,"polygon",5),m()(),ks(),T(7,"div",6),re(8),f(9,"button",7),E("click",function(){return i.previousClicked()}),m(),f(10,"button",8),E("click",function(){return i.nextClicked()}),m()()(),f(11,"label",9),C(12),m()),2&e&&(b(2),ie("aria-label",i.periodButtonLabel)("aria-describedby",i._periodButtonLabelId),b(2),xe(i.periodButtonText),b(1),ce("mat-calendar-invert","month"!==i.calendar.currentView),b(4),_("disabled",!i.previousEnabled()),ie("aria-label",i.prevButtonLabel),b(1),_("disabled",!i.nextEnabled()),ie("aria-label",i.nextButtonLabel),b(1),_("id",i._periodButtonLabelId),b(1),xe(i.periodButtonDescription))},dependencies:[en,Ar],encapsulation:2,changeDetection:0}),n})(),bM=(()=>{class n{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){this._selected=e instanceof tr?e: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){const i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}constructor(e,i,r,o){this._dateAdapter=i,this._dateFormats=r,this._changeDetectorRef=o,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new j,this.yearSelected=new j,this.monthSelected=new j,this.viewChanged=new j(!0),this._userSelection=new j,this._userDragDrop=new j,this._activeDrag=null,this.stateChanges=new q,this._intlChanges=e.changes.subscribe(()=>{o.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new ra(this.headerComponent||zRe),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){const 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,o=i||r||e.dateFilter;if(o&&!o.firstChange){const a=this._getCurrentViewComponent();a&&(this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const i=e.value;(this.selected instanceof tr||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}}return n.\u0275fac=function(e){return new(e||n)(g(Mm),g(Bn,8),g(Ga,8),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,i){if(1&e&&(ye(x9,5),ye(E9,5),ye(D9,5)),2&e){let r;U(r=G())&&(i.monthView=r.first),U(r=G())&&(i.yearView=r.first),U(r=G())&&(i.multiYearView=r.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"],features:[ae([w9]),Je],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,i){1&e&&(S(0,wRe,0,0,"ng-template",0),f(1,"div",1),S(2,xRe,1,11,"mat-month-view",2),S(3,DRe,1,6,"mat-year-view",3),S(4,SRe,1,6,"mat-multi-year-view",4),m()),2&e&&(_("cdkPortalOutlet",i._calendarHeaderPortal),b(1),_("ngSwitch",i.currentView),b(1),_("ngSwitchCase","month"),b(1),_("ngSwitchCase","year"),b(1),_("ngSwitchCase","multi-year"))},dependencies:[Wl,xf,tP,Ir,x9,E9,D9],styles:['.mat-calendar{display:block}.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}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.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-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}.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}.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:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),n})();const M9={transformPanel:pn("transformPanel",[ot("void => enter-dropdown",rt("120ms cubic-bezier(0, 0, 0.2, 1)",qd([be({opacity:0,transform:"scale(1, 0.8)"}),be({opacity:1,transform:"scale(1, 1)"})]))),ot("void => enter-dialog",rt("150ms cubic-bezier(0, 0, 0.2, 1)",qd([be({opacity:0,transform:"scale(0.7)"}),be({transform:"none",opacity:1})]))),ot("* => void",rt("100ms linear",be({opacity:0})))]),fadeInCalendar:pn("fadeInCalendar",[gt("void",be({opacity:0})),gt("enter",be({opacity:1})),ot("void => *",rt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let HRe=0;const T9=new F("mat-datepicker-scroll-strategy"),jRe={provide:T9,deps:[Jn],useFactory:function $Re(n){return()=>n.scrollStrategies.reposition()}},URe=Bs(class{constructor(n){this._elementRef=n}});let GRe=(()=>{class n extends URe{constructor(e,i,r,o,a,s){super(e),this._changeDetectorRef=i,this._globalModel=r,this._dateAdapter=o,this._rangeSelectionStrategy=a,this._subscriptions=new We,this._animationDone=new q,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){const i=this._model.selection,r=e.value,o=i instanceof tr;if(o&&this._rangeSelectionStrategy){const a=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(a,this)}else r&&(o||!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="start"===e.phaseName,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()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(kl),g(Bn),g(Xy,8),g(Mm))},n.\u0275cmp=$({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,i){if(1&e&&ye(bM,5),2&e){let r;U(r=G())&&(i._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,i){1&e&&sf("@transformPanel.start",function(o){return i._handleAnimationEvent(o)})("@transformPanel.done",function(o){return i._handleAnimationEvent(o)}),2&e&&(cf("@transformPanel",i._animationState),ce("mat-datepicker-content-touch",i.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[N],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,i){if(1&e&&(f(0,"div",0)(1,"mat-calendar",1),E("yearSelected",function(o){return i.datepicker._selectYear(o)})("monthSelected",function(o){return i.datepicker._selectMonth(o)})("viewChanged",function(o){return i.datepicker._viewChanged(o)})("_userSelection",function(o){return i._handleUserSelection(o)})("_userDragDrop",function(o){return i._handleUserDragDrop(o)}),m(),S(2,kRe,0,0,"ng-template",2),f(3,"button",3),E("focus",function(){return i._closeButtonFocused=!0})("blur",function(){return i._closeButtonFocused=!1})("click",function(){return i.datepicker.close()}),C(4),m()()),2&e){let r;ce("mat-datepicker-content-container-with-custom-header",i.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",i._actionsPortal),ie("aria-modal",!0)("aria-labelledby",null!==(r=i._dialogLabelId)&&void 0!==r?r:void 0),b(1),_("id",i.datepicker.id)("ngClass",i.datepicker.panelClass)("startAt",i.datepicker.startAt)("startView",i.datepicker.startView)("minDate",i.datepicker._getMinDate())("maxDate",i.datepicker._getMaxDate())("dateFilter",i.datepicker._getDateFilter())("headerComponent",i.datepicker.calendarHeaderComponent)("selected",i._getSelected())("dateClass",i.datepicker.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName),b(1),_("cdkPortalOutlet",i._actionsPortal),b(1),ce("cdk-visually-hidden",!i._closeButtonFocused),_("color",i.color||"primary"),b(1),xe(i._closeButtonText)}},dependencies:[Yr,en,Zte,Ir,bM],styles:[".mat-datepicker-content{display:block;border-radius:4px}.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;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:[M9.transformPanel,M9.fadeInCalendar]},changeDetection:0}),n})(),A9=(()=>{class n{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 touchUi(){return this._touchUi}set touchUi(e){this._touchUi=te(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const i=te(e);i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=te(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=LF(e)}get opened(){return this._opened}set opened(e){te(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,o,a,s,l){this._overlay=e,this._ngZone=i,this._viewContainerRef=r,this._dateAdapter=a,this._dir=s,this._model=l,this._inputStateChanges=We.EMPTY,this._document=ne(ge),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new j,this.monthSelected=new j,this.viewChanged=new j(!0),this.openedStream=new j,this.closedStream=new j,this._opened=!1,this.id="mat-datepicker-"+HRe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new q,this._scrollStrategy=o}ngOnChanges(e){const i=e.xPosition||e.yPosition;if(i&&!i.firstChange&&this._overlayRef){const r=this._overlayRef.getConfig().positionStrategy;r instanceof FP&&(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._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){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._focusedElementBeforeOpen=zd(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:r,location:o}=this._componentRef;r._startExitAnimation(),r._animationDone.pipe(lt(1)).subscribe(()=>{const a=this._document.activeElement;e&&(!a||a===this._document.activeElement||o.nativeElement.contains(a))&&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();const e=this.touchUi,i=new ra(GRe,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new zs({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(o=>{o&&o.preventDefault(),this.close()}),r.keydownEvents().subscribe(o=>{const a=o.keyCode;(38===a||40===a||37===a||39===a||33===a||34===a)&&o.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe(lt(1)).subscribe(()=>r.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const i="end"===this.xPosition?"end":"start",r="start"===i?"end":"start",o="above"===this.yPosition?"bottom":"top",a="top"===o?"bottom":"top";return e.withPositions([{originX:i,originY:a,overlayX:i,overlayY:o},{originX:i,originY:o,overlayX:i,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a}])}_getCloseStream(e){const i=["ctrlKey","shiftKey","metaKey"];return dt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(Pe(r=>27===r.keyCode&&!on(r)||this.datepickerInput&&on(r,"altKey")&&38===r.keyCode&&i.every(o=>!on(r,o)))))}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(de),g(Ft),g(T9),g(Bn,8),g(Qt,8),g(kl))},n.\u0275dir=R({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Je]}),n})(),I9=(()=>{class n extends A9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ae([w9,{provide:A9,useExisting:n}]),N],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0}),n})();class Jy{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let qRe=(()=>{class n{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){const i=te(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)){const r=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Jy(this,this._elementRef.nativeElement)),this.dateChange.emit(new Jy(this,this._elementRef.nativeElement))}})}constructor(e,i,r){this._elementRef=e,this._dateAdapter=i,this._dateFormats=r,this.dateChange=new j,this.dateInput=new j,this.stateChanges=new q,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=We.EMPTY,this._localeSubscription=We.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=o=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}},this._minValidator=o=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),s=this._getMinDate();return!s||!a||this._dateAdapter.compareDate(s,a)<=0?null:{matDatepickerMin:{min:s,actual:a}}},this._maxValidator=o=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),s=this._getMaxDate();return!s||!a||this._dateAdapter.compareDate(s,a)>=0?null:{matDatepickerMax:{max:s,actual:a}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function WRe(n,t){const e=Object.keys(n);for(let i of e){const{previousValue:r,currentValue:o}=n[i];if(!t.isDateInstance(r)||!t.isDateInstance(o))return!0;if(!t.sameDate(r,o))return!0}return!1})(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){on(e,"altKey")&&40===e.keyCode&&["ctrlKey","shiftKey","metaKey"].every(o=>!on(e,o))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const i=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);const o=!this._dateAdapter.sameDate(r,this.value);!r||o?this._cvaOnChange(r):(e&&!this.value&&this._cvaOnChange(r),i!==this._lastValueValid&&this._validatorOnChange()),o&&(this._assignValue(r),this.dateInput.emit(new Jy(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Jy(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?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){const i=this._getDateFilter();return!i||i(e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Bn,8),g(Ga,8))},n.\u0275dir=R({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Je]}),n})();const YRe={provide:Mi,useExisting:st(()=>Zy),multi:!0},KRe={provide:ri,useExisting:st(()=>Zy),multi:!0};let Zy=(()=>{class n extends qRe{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const 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){const 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){const i=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}constructor(e,i,r,o){super(e,i,r),this._formField=o,this._closedSubscription=We.EMPTY,this._validator=$t.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(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}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Bn,8),g(Ga,8),g(Yd,8))},n.\u0275dir=R({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,i){1&e&&E("input",function(o){return i._onInput(o.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(o){return i._onKeydown(o)}),2&e&&(Si("disabled",i.disabled),ie("aria-haspopup",i._datepicker?"dialog":null)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null)("data-mat-calendar",i._datepicker?i._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[ae([YRe,KRe,{provide:T6,useExisting:n}]),N]}),n})(),QRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),vM=(()=>{class n{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=te(e)}constructor(e,i,r){this._intl=e,this._changeDetectorRef=i,this._stateChanges=We.EMPTY;const o=Number(r);this.tabIndex=o||0===o?o: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(){const e=this.datepicker?this.datepicker.stateChanges:ee(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ee(),r=this.datepicker?dt(this.datepicker.openedStream,this.datepicker.closedStream):ee();this._stateChanges.unsubscribe(),this._stateChanges=dt(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(Mm),g(ze),wi("tabindex"))},n.\u0275cmp=$({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,QRe,5),2&e){let o;U(o=G())&&(i._customIcon=o.first)}},viewQuery:function(e,i){if(1&e&&ye(ERe,5),2&e){let r;U(r=G())&&(i._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,i){1&e&&E("click",function(o){return i._open(o)}),2&e&&(ie("tabindex",null)("data-mat-calendar",i.datepicker?i.datepicker.id:null),ce("mat-datepicker-toggle-active",i.datepicker&&i.datepicker.opened)("mat-accent",i.datepicker&&"accent"===i.datepicker.color)("mat-warn",i.datepicker&&"warn"===i.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Je],ngContentSelectors:ARe,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["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(e,i){1&e&&(qe(TRe),f(0,"button",0,1),S(2,MRe,2,0,"svg",2),re(3),m()),2&e&&(_("disabled",i.disabled)("disableRipple",i.disableRipple),ie("aria-haspopup",i.datepicker?"dialog":null)("aria-label",i.ariaLabel||i._intl.openCalendarLabel)("tabindex",i.disabled?-1:i.tabIndex),b(2),_("ngIf",!i._customIcon))},dependencies:[Be,Ar],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),CM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Mm,jRe],imports:[ke,ct,Hs,B_,Ya,Ue,Wa]}),n})();function ZRe(n,t){if(1&n&&(f(0,"mat-option",11),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function e2e(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("< ",e.configuration.min,"")}}function t2e(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("> ",e.configuration.max,"")}}function n2e(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}let R9=(()=>{class n{constructor(e,i,r){this.dateAdapter=i,this.dateFormats=r,this.renderedValue=new ft(""),this.operatorCtrl=new wt("equal",{nonNullable:!0}),this.valueCtrl=new wt(null),this.todayCtrl=new wt(!1),this.operators=l9,this.form=new Vn({operator:this.operatorCtrl,value:this.valueCtrl,today:this.todayCtrl}),this.defaults={min:null,max:null},this.configuration={...this.defaults,...e.configuration},this.todayCtrl.valueChanges.pipe(tm()).subscribe(o=>{o?(this.valueCtrl.setValue(this.dateAdapter.today()),this.valueCtrl.disable()):this.valueCtrl.enable()}),dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges,this.todayCtrl.valueChanges).pipe(tm()).subscribe(()=>this.renderedValue.next(this.getRenderedValue())),this.initValidators(),this.reloadCondition(e.condition)}getCondition(){if(!this.valueCtrl.value)return{};const e={};let r,o,i=this.operatorCtrl.value;return this.todayCtrl.value?(r="today",o="tomorrow"):(r=Ky(this.dateAdapter,this.valueCtrl.value),o=Ky(this.dateAdapter,this.getDayAfter(this.valueCtrl.value))),"equal"===i?(e.greaterOrEqual={value:r},e.less={value:o}):("today"!==r&&("greater"===i?(i="greaterOrEqual",r=o):"lessOrEqual"===i&&(i="less",r=o)),e[i]={value:r}),e}isValid(){return this.form.valid}isDirty(){return this.form.dirty}reloadCondition(e){if(e){if(e.greaterOrEqual&&e.less)return this.operatorCtrl.setValue("equal"),void this.setTodayOrDate(e.greaterOrEqual.value);for(const i of this.operators){const r=e[i.key];r&&(this.operatorCtrl.setValue(i.key),this.setTodayOrDate(r.value))}}}setTodayOrDate(e){"today"===e?(this.valueCtrl.setValue(this.dateAdapter.today()),this.todayCtrl.setValue(!0)):(this.valueCtrl.setValue(this.dateAdapter.deserialize(e)),this.todayCtrl.setValue(!1))}initValidators(){const e=[$t.required];this.configuration.min&&e.push(b9(this.dateAdapter,this.configuration.min)),this.configuration.max&&e.push(v9(this.dateAdapter,this.configuration.max)),this.valueCtrl.setValidators(e)}getDayAfter(e){return this.dateAdapter.addCalendarDays(this.dateAdapter.clone(e),1)}getRenderedValue(){const e=this.operators.find(r=>r.key===this.operatorCtrl.value);let i="";return this.todayCtrl.value?i=$localize`Aujourd'hui`:this.valueCtrl.value&&(i=this.dateAdapter.format(this.valueCtrl.value,this.dateFormats.display.dateInput)),e&&i?e.label+" "+i:""}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(Bn),g(Ga))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:18,vars:14,consts:function(){let t,e,i;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,e=$localize`:␟2f933b826a570836cab04f683970a2d22068458c␟3973931101896534797:Date`,i=$localize`:␟0d2abaedb3d973e6f6f10be08b3095b9252ae48d␟588955082819236113:Aujourd'hui`,[[3,"formGroup"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],e,["matInput","",3,"formControl","matDatepicker","max","min","required"],["matIconSuffix","",3,"for"],["value",""],[4,"ngIf"],[3,"formControl"],i,[3,"value"]]},template:function(e,i){if(1&e&&(f(0,"form",0)(1,"mat-form-field")(2,"mat-label"),Ce(3,1),m(),f(4,"mat-select",2),S(5,ZRe,2,2,"mat-option",3),m()(),f(6,"mat-form-field")(7,"mat-label"),Ce(8,4),m(),T(9,"input",5)(10,"mat-datepicker-toggle",6)(11,"mat-datepicker",null,7),S(13,e2e,2,1,"mat-error",8),S(14,t2e,2,1,"mat-error",8),S(15,n2e,2,0,"mat-error",8),m(),f(16,"mat-checkbox",9),Ce(17,10),m()()),2&e){const r=mt(12);_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(4),_("formControl",i.valueCtrl)("matDatepicker",r)("max",i.configuration.max)("min",i.configuration.min)("required",!0),b(1),_("for",r),b(3),_("ngIf",i.valueCtrl.hasError("min")),b(1),_("ngIf",i.valueCtrl.hasError("max")),b(1),_("ngIf",i.valueCtrl.hasError("required")),b(1),_("formControl",i.todayCtrl)}},dependencies:[Ut,cc,di,jt,oi,Xr,sn,an,gn,mn,Mn,En,Qr,oc,hc,uc,ia,ke,Zt,Be,Mo,Ii,Ai,CM,I9,Zy,vM,Wc,Dl],styles:["form[_ngcontent-%COMP%]{display:grid;grid:auto auto/4em auto;grid-gap:0 1em}form[_ngcontent-%COMP%] > mat-checkbox[_ngcontent-%COMP%]{grid-column-start:2;margin-bottom:.3em}"]}),n})();function e0(n,t){const e={};(!(t=Fu(t))||0===t.length)&&(t=[[]]);for(const i of t){const r={},o=n?n.filter(L9):[];for(const a of i){const s=h6(n,a),l=P9(s,a);L9(s)?o.splice(o.indexOf(s),1):N9(r,l)}for(const a of o)N9(r,P9(a,{field:a.field,name:a.name,condition:Fu(a.condition)}));o2e(e,r)}return e}function N9(n,t){const[e,i]=t.field.split(".");let r,o;i?(r=function i2e(n,t){return n.joins||(n.joins={}),n.joins[t]||(n.joins[t]={}),n.joins[t]}(n,e),o=F9(i,t.condition)):(r=n,o=F9(t.field,t.condition)),function r2e(n,t){t&&(n.conditions||(n.conditions=[]),n.conditions.push(t))}(r,o)}function o2e(n,t){(t.conditions||t.joins)&&(n.groups||(n.groups=[]),n.groups.push(t),n.groups.length>1&&(t.groupLogic=Ic.OR))}function F9(n,t){const e={};return"search"===n&&t.like?{custom:{search:{value:t.like.value}}}:(e[n]=t,e)}function P9(n,t){const e=n&&n.transform?n.transform(t):t;return function a2e(n){return!!n&&"component"in n&&n.component===R9}(n)?function pRe(n){const t=new Date,e=OV(t);t.setDate(t.getDate()+1);const i=OV(t),r=n.condition;1===Object.keys(r).length&&("today"===r.lessOrEqual?.value?(delete r.lessOrEqual,r.less={value:"tomorrow"}):"today"===r.greater?.value&&(delete r.greater,r.greaterOrEqual={value:"tomorrow"}));for(const o in r){const a=r[o];a&&"value"in a&&("today"===a.value?a.value=e:"tomorrow"===a.value&&(a.value=i))}return n}(e):t}function L9(n){return!!n&&"inversed"in n&&n.inversed||!1}class s2e{constructor(t,e,i=0,r=!1,o=!0,a=!0){this.node=t,this.name=e,this.level=i,this.expandable=r,this.selectable=o,this.deselectable=a,this.loading=!1}}var l2e=Math.min;const h2e=function u2e(n){return Hp(n)?n:[]};var f2e=$p(function(n){var t=Au(n,h2e);return t.length&&t[0]===n[0]?function c2e(n,t,e){for(var i=e?hk:uk,r=n[0].length,o=n.length,a=o,s=Array(o),l=1/0,c=[];a--;){var d=n[a];a&&t&&(d=Au(d,Fp(t))),l=l2e(d.length,l),s[a]=!e&&(t||r>=120&&d.length>=120)?new Pv(a&&d):void 0}d=n[0];var u=-1,h=s[0];e:for(;++u{class n{constructor(e){this.injector=e,this.dataChange=new ft([]),this.configuration=[]}init(e,i=null,r=null){return this.validateConfiguration(e),this.configuration=this.injectServicesInConfiguration(e),this.getList(null,i,r).pipe(ue(o=>this.dataChange.next(o)))}loadChildren(e,i=null){e.node.children.length||(e.loading=!0,this.getList(e,i).pipe(yo(()=>e.loading=!1)).subscribe(r=>{e.node.childrenChange.next(r),this.dataChange.next(this.dataChange.value)}))}search(e,i=null){this.getList(null,i,e).subscribe(r=>{this.dataChange.next(r)})}getList(e=null,i=null,r=null){const o=this.getContextualizedConfigs(e,i,r);return Ao(o.map(s=>s.configuration.injectedService.getAll(s.variablesManager))).pipe(ue(s=>{const l=[];for(let c=0;ca.configuration.injectedService.count(a.variablesManager).pipe(eo()))).subscribe(a=>{const s=a.reduce((l,c)=>l+c,0);e.expandable=s>0})}getContextualizedConfigs(e=null,i=null,r=null){const o=[],a=e?this.getNextConfigs(e.node.config):this.configuration,s={pageIndex:0,pageSize:999};for(const l of a){const c={},d=this.getFilterByService(l,i),u=this.getServiceFilter(e,l,d,!!r);if(!u||!l.injectedService)continue;const h=new ha;h.set("variables",{filter:u,pagination:s}),h.set("config-filter",{filter:l.filter}),r&&h.set("natural-search",r),c.configuration=l,c.variablesManager=h,o.push(c)}return o}toOrganizedSelection(e){const i=this.configuration.reduce((r,o)=>(o.selectableAtKey&&(r[o.selectableAtKey]=[]),r),{});for(const r of e)r.config.selectableAtKey&&i[r.config.selectableAtKey].push(r.model);return i}fromOrganizedSelection(e){if(!e)return[];const i=[];for(const r of Object.keys(e)){const o=this.getConfigurationBySelectableKey(r);if(o)for(const a of e[r])i.push(new B9(a,o))}return i}injectServicesInConfiguration(e){for(const i of e)i.injectedService||(i.injectedService=this.injector.get(i.service));return e}validateConfiguration(e){const i=[];for(const r of e)if(r.selectableAtKey){const o=i.indexOf(r.selectableAtKey);-1===o&&r.selectableAtKey&&i.push(r.selectableAtKey),o<-1&&console.warn("Invalid hierarchic configuration : selectableAtKey attribute should be unique")}}getNextConfigs(e){const i=this.configuration.findIndex(r=>r===e);return this.configuration.slice(i)}getServiceFilter(e,i,r=null,o=!1){const a={};if(e){if(!e.node.config.childrenRelationNames||!i.parentsRelationNames)return null;const l=p2e(e.node.config.childrenRelationNames,i.parentsRelationNames);if(!l.length)return null;a[l[0]]={have:{values:[e.node.model.id]}}}else{if(!i.parentsRelationNames)return r||{};o||i.parentsRelationNames.forEach(l=>{a[l]={empty:{}}})}const s={groups:[{conditions:[a]}]};return r&&s.groups.push(...r.groups),s}getFilterByService(e,i){if(!i||!e)return null;const r=i.find(o=>o.service===e.service);return r?r.filter:null}getConfigurationBySelectableKey(e){return this.configuration&&this.configuration.find(i=>i.selectableAtKey===e)||null}getOrCreateModelNode(e,i){return this.dataChange.value.find(o=>o.model.id===e.id&&o.model.__typename===e.__typename)||new B9(e,i)}}return n.\u0275fac=function(e){return new(e||n)(A(Yt))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function m2e(n,t){1&n&&(f(0,"span",8),re(1,1),m())}function g2e(n,t){1&n&&(f(0,"span",9),re(1,2),m())}const z9=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],H9=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function _2e(n,t){1&n&&(f(0,"span",9),re(1,1),f(2,"span",10),Ci(),f(3,"svg",11),T(4,"path",12),m()()())}function b2e(n,t){1&n&&(f(0,"span",13),re(1,2),m())}const wM=["*"],t0=new F("mat-chips-default-options"),xM=new F("MatChipAvatar"),DM=new F("MatChipTrailingIcon"),SM=new F("MatChipRemove"),n0=new F("MatChip");class M2e{}const T2e=Jl(M2e,-1);let hh=(()=>{class n extends T2e{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=te(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(n0))},n.\u0275dir=R({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,i){1&e&&E("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(ie("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),ce("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[N]}),n})(),U9=(()=>{class n extends hh{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,i){2&e&&ie("aria-hidden",null)},features:[ae([{provide:SM,useExisting:n}]),N]}),n})(),O2e=0;const R2e=Jl(Bs(Vs(ko(class{constructor(n){this._elementRef=n}})),"primary"),-1);let fh=(()=>{class n extends R2e{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=te(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=te(e)}constructor(e,i,r,o,a,s,l,c){super(i),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=l,this._isRippleCentered=!1,this._onFocus=new q,this._onBlur=new q,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+O2e++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new j,this.destroyed=new j,this.basicChipAttrName="mat-basic-chip",this._document=a,this._animationsDisabled="NoopAnimations"===s,null!=c&&(this.tabIndex=parseInt(c)??this.defaultTabIndex),this._monitorFocus()}ngOnInit(){const e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=dt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(lt(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(W),g(de),g(dr),g(ge),g(Ot,8),g(ec,8),wi("tabindex"))},n.\u0275cmp=$({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,xM,5),Ee(r,DM,5),Ee(r,SM,5),Ee(r,xM,5),Ee(r,DM,5),Ee(r,SM,5)),2&e){let o;U(o=G())&&(i.leadingIcon=o.first),U(o=G())&&(i.trailingIcon=o.first),U(o=G())&&(i.removeIcon=o.first),U(o=G())&&(i._allLeadingIcons=o),U(o=G())&&(i._allTrailingIcons=o),U(o=G())&&(i._allRemoveIcons=o)}},viewQuery:function(e,i){if(1&e&&(ye(Ei,5),ye(hh,5)),2&e){let r;U(r=G())&&(i.ripple=r.first),U(r=G())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Si("id",i.id),ie("role",i.role)("tabindex",i.role?i.tabIndex:null)("aria-label",i.ariaLabel),ce("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ae([{provide:n0,useExisting:n}]),N],ngContentSelectors:H9,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(qe(z9),T(0,"span",0)(1,"span",1),f(2,"span",2)(3,"span",3),S(4,m2e,2,0,"span",4),f(5,"span",5),re(6),T(7,"span",6),m()()(),S(8,g2e,2,0,"span",7)),2&e&&(_("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),b(3),_("isInteractive",!1),b(1),_("ngIf",i.leadingIcon),b(4),_("ngIf",i._hasTrailingIcon()))},dependencies:[Be,Ei,hh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),kM=(()=>{class n extends fh{constructor(){super(...arguments),this._defaultOptions=ne(t0,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new j}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=te(e),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(e){this._setSelectedState(te(e),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,i,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(e,i){2&e&&(Si("id",i.id),ie("tabindex",null)("aria-label",null)("aria-description",null)("role",i.role),ce("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--filter",!i._isBasicChip)("mdc-evolution-chip--selectable",!i._isBasicChip)("mat-mdc-chip-selected",i.selected)("mat-mdc-chip-multiple",i._chipListMultiple)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-chip-with-avatar",i.leadingIcon)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--selected",i.selected)("mdc-evolution-chip--selecting",!i._animationsDisabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-primary-graphic",i._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[ae([{provide:fh,useExisting:n},{provide:n0,useExisting:n}]),N],ngContentSelectors:H9,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(qe(z9),T(0,"span",0)(1,"span",1),f(2,"span",2)(3,"button",3),S(4,_2e,5,0,"span",4),f(5,"span",5),re(6),T(7,"span",6),m()()(),S(8,b2e,2,0,"span",7),f(9,"span",8),C(10),m()),2&e&&(_("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),b(3),_("tabIndex",i.tabIndex)("_allowFocusWhenDisabled",!0),ie("aria-selected",i.ariaSelected)("aria-label",i.ariaLabel)("aria-describedby",i._ariaDescriptionId),b(1),_("ngIf",i._hasLeadingGraphic()),b(4),_("ngIf",i._hasTrailingIcon()),b(1),_("id",i._ariaDescriptionId),b(1),xe(i.ariaDescription))},dependencies:[Be,Ei,hh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();class N2e{constructor(t){}}const F2e=Jl(N2e);let EM=(()=>{class n extends F2e{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,r){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new q,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new ea}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(zt(null),xt(()=>dt(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(zt(this._chips)).subscribe(e=>{const i=[];e.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new Pf(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(se(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(se(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(zt(null),se(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(se(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(Qt,8))},n.\u0275cmp=$({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,fh,5),2&e){let o;U(o=G())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)}),2&e&&ie("role",i.role)},inputs:{disabled:"disabled",role:"role"},features:[N],ngContentSelectors:wM,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(qe(),f(0,"div",0),re(1),m())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})();class P2e{constructor(t,e){this.source=t,this.value=e}}const L2e={provide:Mi,useExisting:st(()=>MM),multi:!0};let MM=(()=>{class n extends EM{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=ne(t0,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(e,i)=>e===i,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new j,this._chips=void 0}get multiple(){return this._multiple}set multiple(e){this._multiple=te(e),this._syncListboxProperties()}get selected(){const e=this._chips.toArray().filter(i=>i.selected);return this.multiple?e:e[0]}get selectable(){return this._selectable}set selectable(e){this._selectable=te(e),this._syncListboxProperties()}get required(){return this._required}set required(e){this._required=te(e)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(zt(null),se(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(se(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(se(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(i=>{i!==e.source&&i._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){this._chips?this._setSelectionByValue(e,!1):null!=e&&(this._pendingInitialValue=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,i=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,i)):this._selectValue(e,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){9===e.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;e=Array.isArray(this.selected)?this.selected.map(i=>i.value):this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new P2e(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(i=>{i!==e&&i.deselect()})}_selectValue(e,i){const r=this._chips.find(o=>null!=o.value&&this.compareWith(o.value,e));return r&&(i?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-chip-listbox"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,kM,5),2&e){let o;U(o=G())&&(i._chips=o)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,i){1&e&&E("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(o){return i._keydown(o)}),2&e&&(Si("tabIndex",i.empty?-1:i.tabIndex),ie("role",i.role)("aria-describedby",i._ariaDescribedby||null)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-multiselectable",i.multiple)("aria-orientation",i.ariaOrientation),ce("mat-mdc-chip-list-disabled",i.disabled)("mat-mdc-chip-list-required",i.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[ae([L2e]),N],ngContentSelectors:wM,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(qe(),f(0,"div",0),re(1),m())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})(),j2e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Bf,{provide:t0,useValue:{separatorKeyCodes:[13]}}],imports:[Ue,ke,Eo,Ue]}),n})();const U2e=["determinateSpinner"];function G2e(n,t){if(1&n&&(Ci(),f(0,"svg",11),T(1,"circle",12),m()),2&n){const e=x();ie("viewBox",e._viewBox()),b(1),nn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ie("r",e._circleRadius())}}const q2e=Bs(class{constructor(n){this._elementRef=n}},"primary"),W2e=new F("mat-progress-spinner-default-options",{providedIn:"root",factory:function Y2e(){return{diameter:q9}}}),q9=100;let Am=(()=>{class n extends q2e{constructor(e,i,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=q9,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,fn(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=fn(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=fn(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_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}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ot,8),g(W2e))},n.\u0275cmp=$({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,i){if(1&e&&ye(U2e,5),2&e){let r;U(r=G())&&(i._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(e,i){2&e&&(ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),nn("width",i.diameter,"px")("height",i.diameter,"px")("--mdc-circular-progress-size",i.diameter+"px")("--mdc-circular-progress-active-indicator-width",i.diameter+"px"),ce("_mat-animation-noopable",i._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===i.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[N],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["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(e,i){if(1&e&&(S(0,G2e,2,8,"ng-template",null,0,_o),f(2,"div",1,2),Ci(),f(4,"svg",3),T(5,"circle",4),m()(),ks(),f(6,"div",5)(7,"div",6)(8,"div",7),Gi(9,8),m(),f(10,"div",9),Gi(11,8),m(),f(12,"div",10),Gi(13,8),m()()()),2&e){const r=mt(1);b(4),ie("viewBox",i._viewBox()),b(1),nn("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeDashOffset(),"px")("stroke-width",i._circleStrokeWidth(),"%"),ie("r",i._circleRadius()),b(4),_("ngTemplateOutlet",r),b(2),_("ngTemplateOutlet",r),b(2),_("ngTemplateOutlet",r)}},dependencies:[Ld],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-active-indicator-width:4px;--mdc-circular-progress-size:48px}.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}),n})(),Im=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue]}),n})();const W9=["*"],Y9='@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-base{--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:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.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:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',K9=["unscopedContent"],Q2e=["text"],X2e=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],J2e=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function Z2e(n,t){1&n&&re(0,4)}function eNe(n,t){if(1&n&&(f(0,"div",11),T(1,"input",12),f(2,"div",13),Ci(),f(3,"svg",14),T(4,"path",15),m(),ks(),T(5,"div",16),m()()),2&n){const e=x();ce("mdc-checkbox--disabled",e.disabled),b(1),_("checked",e.selected)("disabled",e.disabled)}}function tNe(n,t){if(1&n&&(f(0,"div",17),T(1,"input",18),f(2,"div",19),T(3,"div",20)(4,"div",21),m()()),2&n){const e=x();ce("mdc-radio--disabled",e.disabled),b(1),_("checked",e.selected)("disabled",e.disabled)}}function nNe(n,t){}function iNe(n,t){if(1&n&&(f(0,"span",22),S(1,nNe,0,0,"ng-template",23),m()),2&n){x();const e=mt(3);b(1),_("ngTemplateOutlet",e)}}function rNe(n,t){}function oNe(n,t){if(1&n&&(f(0,"span",24),S(1,rNe,0,0,"ng-template",23),m()),2&n){x();const e=mt(5);b(1),_("ngTemplateOutlet",e)}}function aNe(n,t){}function sNe(n,t){1&n&&S(0,aNe,0,0,"ng-template",23),2&n&&(x(),_("ngTemplateOutlet",mt(1)))}function lNe(n,t){}function cNe(n,t){if(1&n&&(f(0,"span",25),S(1,lNe,0,0,"ng-template",23),m()),2&n){x();const e=mt(3);b(1),_("ngTemplateOutlet",e)}}function dNe(n,t){}function uNe(n,t){if(1&n&&(f(0,"span",25),S(1,dNe,0,0,"ng-template",23),m()),2&n){x();const e=mt(5);b(1),_("ngTemplateOutlet",e)}}function hNe(n,t){}function fNe(n,t){1&n&&S(0,hNe,0,0,"ng-template",23),2&n&&(x(),_("ngTemplateOutlet",mt(1)))}const pNe=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],mNe=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],Q9=new F("ListOption");let X9=(()=>{class n{constructor(e){this._elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),n})(),J9=(()=>{class n{constructor(e){this._elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),n})(),gNe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),n})(),Z9=(()=>{class n{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return n.\u0275fac=function(e){return new(e||n)(g(Q9,8))},n.\u0275dir=R({type:n,hostVars:4,hostBindings:function(e,i){2&e&&ce("mdc-list-item__start",i._isAlignedAtStart())("mdc-list-item__end",!i._isAlignedAtStart())}}),n})(),_Ne=(()=>{class n extends Z9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[N]}),n})(),e$=(()=>{class n extends Z9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[N]}),n})();const bNe=new F("MAT_LIST_CONFIG");let ph=(()=>{class n{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=ne(bNe,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=te(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,hostVars:1,hostBindings:function(e,i){2&e&&ie("aria-disabled",i.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),n})(),TM=(()=>{class n{set lines(e){this._explicitLines=fn(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=te(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=te(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,o,a,s){this._elementRef=e,this._ngZone=i,this._listBase=r,this._platform=o,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new We,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=a||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===s,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(),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 Zl(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(dt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const 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",2===i),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===i),this._hasUnscopedTextContent){const o=0===this._titles.length&&1===i;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}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()))}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(ph,8),g(yt),g(ec,8),g(Ot,8))},n.\u0275dir=R({type:n,contentQueries:function(e,i,r){if(1&e&&(Ee(r,_Ne,4),Ee(r,e$,4)),2&e){let o;U(o=G())&&(i._avatars=o),U(o=G())&&(i._icons=o)}},hostVars:4,hostBindings:function(e,i){2&e&&(ie("aria-disabled",i.disabled)("disabled",i._isButtonElement&&i.disabled||null),ce("mdc-list-item--disabled",i.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),n})(),t$=(()=>{class n extends TM{get activated(){return this._activated}set activated(e){this._activated=te(e)}constructor(e,i,r,o,a,s){super(e,i,r,o,a,s),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(ph,8),g(yt),g(ec,8),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,J9,5),Ee(r,X9,5),Ee(r,gNe,5)),2&e){let o;U(o=G())&&(i._lines=o),U(o=G())&&(i._titles=o),U(o=G())&&(i._meta=o)}},viewQuery:function(e,i){if(1&e&&(ye(K9,5),ye(Q2e,5)),2&e){let r;U(r=G())&&(i._unscopedContent=r.first),U(r=G())&&(i._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(e,i){2&e&&(ie("aria-current",i._getAriaCurrent()),ce("mdc-list-item--activated",i.activated)("mdc-list-item--with-leading-avatar",0!==i._avatars.length)("mdc-list-item--with-leading-icon",0!==i._icons.length)("mdc-list-item--with-trailing-meta",0!==i._meta.length)("_mat-animation-noopable",i._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[N],ngContentSelectors:J2e,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(e,i){1&e&&(qe(X2e),re(0),f(1,"span",0),re(2,1),re(3,2),f(4,"span",1,2),E("cdkObserveContent",function(){return i._updateItemLines(!0)}),re(6,3),m()(),re(7,4),re(8,5),T(9,"div",3))},dependencies:[Hx],encapsulation:2,changeDetection:0}),n})();const n$=new F("SelectionList");let i$=(()=>{class n extends TM{get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){const i=te(e);i!==this._selected&&(this._setSelected(i),(i||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(e,i,r,o,a,s,l){super(e,i,r,o,s,l),this._selectionList=r,this._changeDetectorRef=a,this.selectedChange=new j,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);const i=this._selected;Promise.resolve().then(()=>{(this._selected||i)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,i){return this._getTogglePosition()!==i&&("avatars"===e?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de),g(n$),g(yt),g(ze),g(ec,8),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-list-option"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,J9,5),Ee(r,X9,5)),2&e){let o;U(o=G())&&(i._lines=o),U(o=G())&&(i._titles=o)}},viewQuery:function(e,i){if(1&e&&ye(K9,5),2&e){let r;U(r=G())&&(i._unscopedContent=r.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(e,i){1&e&&E("blur",function(){return i._handleBlur()})("click",function(){return i._toggleOnInteraction()}),2&e&&(ie("aria-selected",i.selected),ce("mdc-list-item--selected",i.selected&&!i._selectionList.multiple&&i._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",i._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",i._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",i._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",i._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",i._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",i._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",i._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",i._hasRadioAt("after"))("mat-accent","primary"!==i.color&&"warn"!==i.color)("mat-warn","warn"===i.color)("_mat-animation-noopable",i._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[ae([{provide:TM,useExisting:n},{provide:Q9,useExisting:n}]),N],ngContentSelectors:mNe,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["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"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(e,i){1&e&&(qe(pNe),S(0,Z2e,1,0,"ng-template",null,0,_o),S(2,eNe,6,4,"ng-template",null,1,_o),S(4,tNe,5,4,"ng-template",null,2,_o),S(6,iNe,2,1,"span",3),S(7,oNe,2,1,"span",4),S(8,sNe,1,1,"ng-template",5),f(9,"span",6),re(10),re(11,1),f(12,"span",7,8),E("cdkObserveContent",function(){return i._updateItemLines(!0)}),re(14,2),m()(),S(15,cNe,2,1,"span",9),S(16,uNe,2,1,"span",9),S(17,fNe,1,1,"ng-template",5),re(18,3),T(19,"div",10)),2&e&&(b(6),_("ngIf",i._hasCheckboxAt("before")),b(1),_("ngIf",i._hasRadioAt("before")),b(1),_("ngIf",i._hasIconsOrAvatarsAt("before")),b(7),_("ngIf",i._hasCheckboxAt("after")),b(1),_("ngIf",i._hasRadioAt("after")),b(1),_("ngIf",i._hasIconsOrAvatarsAt("after")))},dependencies:[Hx,Be,Ld],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .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%}.mat-mdc-list-option .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%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@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}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::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 .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),n})(),r$=(()=>{class n extends ph{constructor(){super(...arguments),this._isNonInteractive=!1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[ae([{provide:ph,useExisting:n}]),N],ngContentSelectors:W9,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:[Y9],encapsulation:2,changeDetection:0}),n})();const vNe={provide:Mi,useExisting:st(()=>AM),multi:!0};class yNe{constructor(t,e){this.source=t,this.options=e}}let AM=(()=>{class n extends ph{get multiple(){return this._multiple}set multiple(e){const i=te(e);i!==this._multiple&&(this._multiple=i,this.selectedOptions=new ac(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e)}constructor(e,i){super(),this._element=e,this._ngZone=i,this._initialized=!1,this._destroyed=new q,this._onChange=r=>{},this.selectionChange=new j,this.color="accent",this.compareWith=(r,o)=>r===o,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new ac(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=r=>{if(this.disabled)return;const o=this._items.toArray().findIndex(a=>a._elementRef.nativeElement.contains(r.target));o>-1?this._setActiveOption(o):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){const i=e.disabled,r=e.disableRipple,o=e.hideSingleSelectionIndicator;(r&&!r.firstChange||i&&!i.firstChange||o&&!o.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new yNe(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}get disabled(){return this._selectionListDisabled}set disabled(e){this._selectionListDisabled=te(e),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(se(this._destroyed)).subscribe(e=>{for(let i of e.added)i.selected=!0;for(let i of e.removed)i.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(i=>i._setSelected(!1)),e.forEach(i=>{const r=this.options.find(o=>!o.selected&&this.compareWith(o.value,i));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,i){const r=[];return this.options.forEach(o=>{(!i||!o.disabled)&&o._setSelected(e)&&r.push(o)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){const i=this._keyManager.activeItem;if(13!==e.keyCode&&32!==e.keyCode||this._keyManager.isTyping()||!i||i.disabled)if(65===e.keyCode&&this.multiple&&!this._keyManager.isTyping()&&on(e,"ctrlKey")){const r=this.options.some(o=>!o.disabled&&!o.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e);else e.preventDefault(),i._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new Pf(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(se(this._destroyed)).subscribe(()=>{const e=this._keyManager.activeItem;(!e||!this._items.toArray().indexOf(e))&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((i,r)=>i._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const e=this._items.find(i=>i.selected&&!i.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){const e=zd();return e&&this._element.nativeElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(de))},n.\u0275cmp=$({type:n,selectors:[["mat-selection-list"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,i$,5),2&e){let o;U(o=G())&&(i._items=o)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)}),2&e&&ie("aria-multiselectable",i.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[ae([vNe,{provide:ph,useExisting:n},{provide:n$,useExisting:n}]),N,Je],ngContentSelectors:W9,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:[Y9],encapsulation:2,changeDetection:0}),n})(),IM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[N_,ke,Ue,Eo,pP,eM]}),n})();function CNe(n,t){if(1&n&&(f(0,"div",2),C(1),m()),2&n){const e=x();b(1),xe(e.data.title)}}function wNe(n,t){if(1&n){const e=Y();f(0,"mat-list-item",3),E("click",function(){const o=B(e).$implicit,a=x();return a.selection=o,V(a.close())}),f(1,"a"),C(2),m()()}if(2&n){const e=t.$implicit;b(2),xe(e.display)}}let xNe=(()=>{class n{constructor(e,i){this.data=e,this.dropdownRef=i,this.renderedValue=new ft(""),this.selection=null,this.facets=e.configuration.facets}getCondition(){return{}}close(){this.selection&&this.dropdownRef.close({condition:{},facet:this.selection})}isValid(){return!!this.selection}isDirty(){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(_s))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:3,vars:2,consts:[["class","dropdown-title mat-body-2",4,"ngIf"],[3,"click",4,"ngFor","ngForOf"],[1,"dropdown-title","mat-body-2"],[3,"click"]],template:function(e,i){1&e&&(S(0,CNe,2,1,"div",0),f(1,"mat-nav-list"),S(2,wNe,3,1,"mat-list-item",1),m()),2&e&&(_("ngIf",i.data.title),b(2),_("ngForOf",i.facets))},dependencies:[ke,Zt,Be,IM,r$,t$],styles:[".mat-nav-list[_ngcontent-%COMP%]{padding:0}.dropdown-title[_ngcontent-%COMP%]{padding:5px;font-variant:all-small-caps;font-size:18px;opacity:.7}"]}),n})();const DNe=["input"];function SNe(n,t){if(1&n&&(f(0,"mat-label"),C(1),m()),2&n){const e=x();b(1),xe(e.facet.display)}}function kNe(n,t){if(1&n&&(f(0,"mat-label"),C(1),m()),2&n){const e=x();b(1),xe(e.placeholder)}}function ENe(n,t){1&n&&T(0,"mat-icon",8)}function MNe(n,t){if(1&n){const e=Y();f(0,"button",9),E("click",function(){return B(e),V(x().clear())}),T(1,"mat-icon",10),m()}}function TNe(n,t){if(1&n){const e=Y();f(0,"button",9),E("click",function(){return B(e),V(x().clear())}),T(1,"mat-icon",11),m()}}class ANe{isErrorState(t){return!!t&&t.invalid}}function INe(n){return()=>n.isValid()?null:{component:!0}}let ONe=(()=>{class n{focus(){this.neutralizeDropdownOpening=!0,this.input.nativeElement.focus(),this.neutralizeDropdownOpening=!1}constructor(e,i,r){this.element=e,this.dropdownService=i,this.injector=r,this.searchFieldName="search",this.selection=null,this.dropdownTitle="",this.selectionChange=new j,this.cleared=new j,this.facet=null,this.formCtrl=new wt(null),this.errorMatcher=new ANe,this.dropdownRef=null,this.dropdownComponentRef=null,this.minLength=5,this.length=this.minLength,this.neutralizeDropdownOpening=!1}ngOnInit(){this.input.nativeElement.addEventListener("focus",()=>{this.openDropdown()}),this.input.nativeElement.addEventListener("keyup",()=>{this.dropdownRef&&""!==this.formCtrl.value&&this.dropdownRef.close()}),this.placeholder||(this.placeholder=$localize`Recherche`),this.length=Math.max(this.minLength,Math.ceil(.66*(this.facet?this.facet.display.length:this.placeholder.length)))}ngOnDestroy(){this.dropdownComponentRef&&this.dropdownComponentRef.destroy()}ngOnChanges(){if(!this.facets&&this.selection)setTimeout(()=>this.clear());else if(this.facets&&this.selection)if(this.facet=h6(this.facets,this.selection),this.isDropdown()){const e=this.createComponent(this.facet);this.formCtrl.setValidators([INe(e)]),e.renderedValue.subscribe(i=>{this.formCtrl.setValue(i)})}else this.isFlag()?this.formCtrl.setValue(""):this.selection&&this.selection.field===this.searchFieldName&&this.selection.condition.like?this.formCtrl.setValue(""+this.selection.condition.like.value):setTimeout(()=>this.clear())}search(e){e.stopPropagation(),e.preventDefault(),this.formCtrl.value&&(this.isDropdown()||this.formCtrl.valid&&this.formCtrl.dirty&&this.selectionChange.emit(this.getSelection({like:{value:this.formCtrl.value}})))}clear(){this.facet=null,this.selection=null,this.formCtrl.setValue(null),this.cleared.emit(this)}openDropdown(){this.dropdownRef||this.neutralizeDropdownOpening||(this.launchRipple(),this.facet||this.formCtrl.value?this.openTypeDropdown():this.openFacetSelectorDropdown(this.dropdownTitle))}isDropdown(){return!(!this.facet||!this.facet.component)}isFlag(){return!(!this.facet||!this.facet.condition)}createComponent(e){this.dropdownComponentRef&&this.dropdownComponentRef.destroy();const o=Pw(this.createProviders({condition:this.selection?this.selection.condition:null,configuration:e.configuration}),this.injector);return this.dropdownComponentRef=function rZ(n,t){const e=At(n),i=t.elementInjector||Ag();return new Zh(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}(e.component,{environmentInjector:o}),this.dropdownComponentRef.instance}createProviders(e){return[{provide:_s,useValue:null},{provide:Da,useValue:e}]}launchRipple(){this.ripple.launch({persistent:!0,centered:!0}).fadeOut()}openFacetSelectorDropdown(e){if(!this.facets||this.facets&&!this.facets.length)return;const r=this.createProviders({condition:{},title:e,configuration:{facets:this.facets}});this.dropdownRef=this.dropdownService.open(xNe,this.element,r,!1),this.dropdownRef.closed.subscribe(o=>{this.dropdownRef=null,void 0!==o&&(o.facet?this.setFacet(o.facet):o.condition&&this.setValue(o))})}openTypeDropdown(){if(!this.isDropdown())return;const e=this.facet,r=this.createProviders({condition:this.selection?this.selection.condition:null,configuration:e.configuration});this.dropdownRef=this.dropdownService.open(e.component,this.element,r,void 0===e.showValidateButton||e.showValidateButton),this.dropdownRef.closed.subscribe(a=>{this.dropdownRef=null,void 0!==a&&this.setValue(a)})}setFacet(e){this.facet=e,this.isDropdown()?this.openTypeDropdown():this.isFlag()?this.setValue({condition:e.condition}):this.input.nativeElement.focus()}setValue(e){this.facet&&this.selectionChange.emit(this.getSelection(e.condition))}getSelection(e){const i={field:this.facet?this.facet.field:this.searchFieldName,condition:e};return this.facet&&this.facet.name&&(i.name=this.facet.name),i}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(XOe),g(Qo))},n.\u0275cmp=$({type:n,selectors:[["natural-input"]],viewQuery:function(e,i){if(1&e&&(ye(Ei,7),ye(DNe,7)),2&e){let r;U(r=G())&&(i.ripple=r.first),U(r=G())&&(i.input=r.first)}},hostBindings:function(e,i){1&e&&E("focus",function(){return i.focus()})},inputs:{placeholder:"placeholder",searchFieldName:"searchFieldName",selection:"selection",facets:"facets",dropdownTitle:"dropdownTitle"},outputs:{selectionChange:"selectionChange",cleared:"cleared"},standalone:!0,features:[Je,Se],decls:11,vars:10,consts:[["matRipple","",3,"click"],["field",""],[4,"ngIf"],["autocomplete","off","matInput","","type","text",3,"errorStateMatcher","formControl","readonly","blur","keydown.enter"],["input",""],["naturalIcon","search","matIconPrefix","",4,"ngIf"],["mat-icon-button","","matIconSuffix","",3,"click",4,"ngIf"],[1,"hide"],["naturalIcon","search","matIconPrefix",""],["mat-icon-button","","matIconSuffix","",3,"click"],["naturalIcon","close"],["naturalIcon","undo"]],template:function(e,i){1&e&&(f(0,"mat-form-field",0,1),E("click",function(){return i.selection||i.facet&&!i.selection?null:i.openDropdown()}),S(2,SNe,2,1,"mat-label",2),S(3,kNe,2,1,"mat-label",2),f(4,"input",3,4),E("blur",function(o){return i.search(o)})("keydown.enter",function(o){return i.search(o)}),m(),S(6,ENe,1,0,"mat-icon",5),S(7,MNe,2,0,"button",6),S(8,TNe,2,0,"button",6),m(),f(9,"div",7),C(10),m()),2&e&&(b(2),_("ngIf",i.facet),b(1),_("ngIf",!i.facet),b(1),_("errorStateMatcher",i.errorMatcher)("formControl",i.formCtrl)("readonly",i.isDropdown()&&!!i.selection||i.isFlag()),ie("size",i.length),b(2),_("ngIf",!i.facet&&!i.selection),b(1),_("ngIf",i.selection),b(1),_("ngIf",i.facet&&!i.selection),b(2),xe(i.formCtrl.value?i.formCtrl.value:i.facet?i.facet.display:i.placeholder))},dependencies:[mn,Mn,En,Y_,oc,Eo,Ei,ke,Be,Ii,Ai,Ut,di,jt,sn,an,ai,ei,ui,ct,Ar],styles:["[_nghost-%COMP%]{position:relative;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px;display:flex;flex-direction:column}[_nghost-%COMP%] .hide[_ngcontent-%COMP%]{color:transparent;height:0;margin:0 50px 0 10px;font-size:inherit;white-space:nowrap;font-family:Roboto,Helvetica Neue,sans-serif}"]}),n})();const RNe=["newValueInput"];function NNe(n,t){if(1&n){const e=Y();f(0,"natural-input",3),E("cleared",function(){const o=B(e).index;return V(x().removeInput(o))})("selectionChange",function(r){const a=B(e).index;return V(x().updateInput(r,a))}),m()}if(2&n){const e=t.$implicit;_("facets",x().facets)("selection",e)}}let FNe=(()=>{class n{constructor(){this.dropdownTitle="",this.selectionChange=new j,this.innerSelections=[]}set selections(e){this.innerSelections=Fu(e)}updateInput(e,i){this.innerSelections[i]=e,this.selectionChange.emit(this.innerSelections)}addInput(e){this.newValueInput.clear(),this.innerSelections.push(e),this.selectionChange.emit(this.innerSelections)}removeInput(e){this.innerSelections.splice(e,1),this.selectionChange.emit(this.innerSelections)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-group"]],viewQuery:function(e,i){if(1&e&&ye(RNe,5),2&e){let r;U(r=G())&&(i.newValueInput=r.first)}},inputs:{dropdownTitle:"dropdownTitle",placeholder:"placeholder",facets:"facets",selections:"selections"},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[Se],decls:3,vars:4,consts:[[3,"facets","selection","cleared","selectionChange",4,"ngFor","ngForOf"],["tabIndex","10","cdkFocusInitial","",3,"facets","placeholder","dropdownTitle","selectionChange"],["newValueInput",""],[3,"facets","selection","cleared","selectionChange"]],template:function(e,i){1&e&&(S(0,NNe,1,2,"natural-input",0),f(1,"natural-input",1,2),E("selectionChange",function(o){return i.addInput(o)}),m()),2&e&&(_("ngForOf",i.innerSelections),b(1),_("facets",i.facets)("placeholder",i.placeholder)("dropdownTitle",i.dropdownTitle))},dependencies:[ke,Zt,ONe],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap}[_nghost-%COMP%] natural-input[_ngcontent-%COMP%]{flex:auto;display:inline-flex;margin-right:10px;margin-bottom:10px}[_nghost-%COMP%] natural-input[_ngcontent-%COMP%]:last-of-type{flex:1;min-width:250px}"]}),n})();function PNe(n,t){if(1&n){const e=Y();f(0,"button",11),E("click",function(){B(e);const r=x().index;return V(x().removeGroup(r))}),T(1,"mat-icon",12),m()}}function LNe(n,t){1&n&&T(0,"mat-divider")}function BNe(n,t){if(1&n){const e=Y();Dt(0),f(1,"div",7)(2,"natural-group",8),E("selectionChange",function(r){const a=B(e).index;return V(x().updateGroup(r,a))}),m(),f(3,"div",3),S(4,PNe,2,0,"button",9),m()(),S(5,LNe,1,0,"mat-divider",10),St()}if(2&n){const e=t.$implicit,i=t.last,r=x();b(2),_("facets",r.facets)("placeholder",r.placeholder)("selections",e)("dropdownTitle",r.dropdownTitle),b(2),_("ngIf",r.innerSelections.length>1),b(1),_("ngIf",!i)}}function VNe(n,t){if(1&n){const e=Y();f(0,"button",13),E("click",function(){return B(e),V(x().addGroup())}),T(1,"mat-icon",14),m()}}const zNe=function(n,t){return{mobile:n,hasMultipleGroups:t}};let o0=(()=>{class n{set selections(e){this.innerSelections=e&&e[0]?Fu(e):[[]]}constructor(e){this.breakpointObserver=e,this.placeholder=$localize`Rechercher`,this.facets=[],this.multipleGroups=!1,this.dropdownTitle="",this.selectionChange=new j,this.innerSelections=[[]],this.isMobile=this.breakpointObserver.observe("(max-width: 599.98px)").pipe(ue(i=>i.matches))}ngOnChanges(){this.facets||(this.facets=[])}updateGroup(e,i){for(let r=0;r1)),b(3),_("ngForOf",i.innerSelections),b(2),_("ngIf",i.multipleGroups))},dependencies:[ke,Yr,Zt,Be,Df,FNe,ct,Ar,Ja,Xa,ai,ei,ui,eM,Y7],styles:[".natural-search[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:flex-end}.natural-search[_ngcontent-%COMP%] .groupsWrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-width:0}.natural-search[_ngcontent-%COMP%] .groupWrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:10px;min-width:0}.natural-search[_ngcontent-%COMP%] .groupWrapper[_ngcontent-%COMP%] natural-group[_ngcontent-%COMP%]{flex:1;max-width:100%}.natural-search[_ngcontent-%COMP%] .groupWrapper[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.natural-search[_ngcontent-%COMP%] .endOfRowButton[_ngcontent-%COMP%]{height:53px;display:flex;flex-direction:row;align-items:center;margin-bottom:15px}.natural-search[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin:-10px 0 10px}.natural-search.mobile[_ngcontent-%COMP%] .clear-button[_ngcontent-%COMP%]{display:none}.natural-search.mobile.hasMultipleGroups[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.natural-search.mobile.hasMultipleGroups[_ngcontent-%COMP%] .endOfRowButton[_ngcontent-%COMP%]{flex-direction:row-reverse;margin-bottom:0}"]}),n})();function HNe(n,t){1&n&&T(0,"mat-progress-spinner",8),2&n&&_("diameter",36)}function $Ne(n,t){1&n&&T(0,"mat-progress-spinner",16),2&n&&_("diameter",24)("strokeWidth",5)}function jNe(n,t){if(1&n&&T(0,"mat-icon",17),2&n){const e=x(2).$implicit;_("naturalIcon",x().treeControl.isExpanded(e)?"expand_more":"chevron_right")}}function UNe(n,t){if(1&n){const e=Y();f(0,"button",13),E("click",function(){B(e);const r=x().$implicit;return V(x().loadChildren(r))}),S(1,$Ne,1,2,"mat-progress-spinner",14),S(2,jNe,1,1,"mat-icon",15),m()}if(2&n){const e=x().$implicit;ie("aria-label","toggle "+e.name),b(1),_("ngIf",e.loading),b(1),_("ngIf",!e.loading)}}function GNe(n,t){1&n&&T(0,"mat-icon",18),2&n&&_("naturalIcon",x().$implicit.node.config.icon)}const qNe=function(n){return{leaf:n}};function WNe(n,t){if(1&n){const e=Y();f(0,"mat-tree-node",9),S(1,UNe,3,3,"button",10),f(2,"mat-checkbox",11),E("change",function(){const o=B(e).$implicit;return V(x().toggleFlatNode(o))}),S(3,GNe,1,1,"mat-icon",12),f(4,"span"),C(5),m()()()}if(2&n){const e=t.$implicit,i=x();_("ngClass",Is(6,qNe,!e.expandable)),b(1),_("ngIf",e.expandable),b(1),_("checked",i.flatNodesSelection.isSelected(e))("disabled",!i.isNodeTogglable(e)),b(1),_("ngIf",e.node.config.icon),b(2),xe(e.name)}}function YNe(n,t){1&n&&T(0,"mat-icon",17),2&n&&_("naturalIcon",x().$implicit.config.icon)}function KNe(n,t){if(1&n){const e=Y();f(0,"mat-chip-option",19),E("removed",function(){const o=B(e).$implicit;return V(x().unselectModelNode(o))}),S(1,YNe,1,1,"mat-icon",15),f(2,"div",20),C(3),m(),f(4,"button",21),T(5,"mat-icon",22),m()()}if(2&n){const e=t.$implicit;_("removable",!0)("selectable",!1),b(1),_("ngIf",e.config.icon),b(2),xe(e.model.name||e.model.fullName)}}function QNe(n,t){1&n&&(f(0,"div",23),Ce(1,24),m())}let OM=(()=>{class n extends ds{constructor(e){super(),this.hierarchicSelectorService=e,this.multiple=!1,this.selected={},this.allowUnselect=!0,this.searchFacets=[],this.searchSelections=[],this.searchSelectionChange=new j,this.selectedNodes=[],this.selectionChange=new j,this.loading=!1,this.flatNodeMap=new Map}ngOnInit(){let e;this.flatNodesSelection=new ac(this.multiple),this.treeFlattener=new hRe(this.transformer(),this.getLevel(),this.isExpandable(),this.getChildren()),this.treeControl=new iRe(this.getLevel(),this.isExpandable()),this.dataSource=new fRe(this.treeControl,this.treeFlattener),this.hierarchicSelectorService.dataChange.pipe(se(this.ngUnsubscribe)).subscribe(i=>this.dataSource.data=i),this.searchSelections.some(i=>i.length)&&(e={filter:e0(this.searchFacets,this.searchSelections)}),this.loadRoots(e),this.updateInnerSelection(this.selected)}ngOnChanges(e){e.selected&&!e.selected.firstChange&&this.updateInnerSelection(this.selected),e.filters&&!e.filters.firstChange&&this.loadRoots()}toggleFlatNode(e){this.multiple?this.flatNodesSelection.isSelected(e)?this.unselectFlatNode(e):this.selectFlatNode(e):this.multiple||(this.flatNodesSelection.isSelected(e)?this.unselectSingleFlatNode():this.selectSingleFlatNode(e))}unselectModelNode(e){const i=this.getFlatNode(e);i?this.unselectFlatNode(i):(this.removeModelNode(e),this.updateSelection(this.selectedNodes))}isNodeTogglable(e){return this.isNodeSelected(e.node)?e.deselectable:e.selectable}getDisplayFn(e){return e.displayWith?e.displayWith:this.displayWith?this.displayWith:i=>i?i.fullName||i.name:""}loadChildren(e){this.treeControl.isExpanded(e)&&this.hierarchicSelectorService.loadChildren(e,this.filters)}getChildren(){return e=>e.childrenChange}transformer(){return(e,i)=>this.getOrCreateFlatNode(e,i)}getLevel(){return e=>e.level}isExpandable(){return e=>e.expandable}getOrCreateFlatNode(e,i){return this.getFlatNode(e)||this.createFlatNode(e,i)}search(e){if(this.searchSelectionChange.emit(e),e.some(i=>i.length)){const i={filter:e0(this.searchFacets,e)};this.hierarchicSelectorService.search(i,this.filters)}else this.loadRoots()}loadRoots(e){this.loading=!0,this.flatNodeMap=new Map,this.hierarchicSelectorService.init(this.config,this.filters,e||null).pipe(yo(()=>this.loading=!1)).subscribe()}updateInnerSelection(e){this.selectedNodes=this.hierarchicSelectorService.fromOrganizedSelection(e),this.flatNodesSelection.clear();for(const i of this.selectedNodes){const r=this.getFlatNode(i);r&&this.flatNodesSelection.select(r)}}unselectFlatNode(e){this.flatNodesSelection.deselect(e),this.removeModelNode(e.node),this.updateSelection(this.selectedNodes)}removeModelNode(e){const i=this.getMapKey(e.model),r=this.selectedNodes.findIndex(o=>this.getMapKey(o.model)===i);this.selectedNodes.splice(r,1)}selectFlatNode(e){this.flatNodesSelection.select(e),this.selectedNodes.push(e.node),this.updateSelection(this.selectedNodes)}selectSingleFlatNode(e){this.flatNodesSelection.clear(),this.flatNodesSelection.select(e),this.selectedNodes=[e.node],this.updateSelection(this.selectedNodes)}unselectSingleFlatNode(){this.flatNodesSelection.clear(),this.selectedNodes=[],this.updateSelection(this.selectedNodes)}updateSelection(e){const i=this.hierarchicSelectorService.toOrganizedSelection(e);(function Dxe(n,t){!n||!t||(Object.keys(n).forEach(e=>{delete n[e]}),Object.keys(t).forEach(e=>{n[e]=t[e]}))})(this.selected,i),this.selectionChange.emit(i)}isNodeSelected(e){const i=this.getMapKey(e.model);return this.selectedNodes.some(r=>this.getMapKey(r.model)===i)}getFlatNode(e){const i=this.getMapKey(e.model);return this.flatNodeMap.get(i)||null}createFlatNode(e,i){const r=this.getMapKey(e.model),o=this.getDisplayFn(e.config)(e.model),s=!e.config.isSelectableCallback||e.config.isSelectableCallback(e.model),c=new s2e(e,o,i,!1,!!e.config.selectableAtKey&&s);return this.hierarchicSelectorService.countItems(c,this.filters),this.isNodeSelected(e)&&(this.allowUnselect||(c.deselectable=!1),this.flatNodesSelection.select(c)),this.flatNodeMap.set(r,c),c}getMapKey(e){return e.__typename+"-"+e.id}}return n.\u0275fac=function(e){return new(e||n)(g(V9))},n.\u0275cmp=$({type:n,selectors:[["natural-hierarchic-selector"]],inputs:{displayWith:"displayWith",config:"config",multiple:"multiple",selected:"selected",allowUnselect:"allowUnselect",filters:"filters",searchFacets:"searchFacets",searchSelections:"searchSelections"},outputs:{searchSelectionChange:"searchSelectionChange",selectionChange:"selectionChange"},standalone:!0,features:[ae([V9]),N,Je,Se],decls:9,vars:9,consts:function(){let t;return t=$localize`:␟dd6839133282aa13835f301df1cae5bc06cef85f␟8332478813279888013:Aucun résultat`,[[3,"facets","selections","selectionChange"],[1,"body"],["mode","indeterminate","style","margin: 10px",3,"diameter",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","",3,"ngClass",4,"matTreeNodeDef"],["aria-orientation","vertical",1,"mat-mdc-chip-set-stacked"],[3,"removable","selectable","removed",4,"ngFor","ngForOf"],["class","margin-v",4,"ngIf"],["mode","indeterminate",2,"margin","10px",3,"diameter"],["matTreeNodePadding","",3,"ngClass"],["mat-icon-button","","matTreeNodeToggle","",3,"click",4,"ngIf"],[2,"margin-right","10px",3,"checked","disabled","change"],["style","margin-right: 10px",3,"naturalIcon",4,"ngIf"],["mat-icon-button","","matTreeNodeToggle","",3,"click"],["mode","indeterminate",3,"diameter","strokeWidth",4,"ngIf"],[3,"naturalIcon",4,"ngIf"],["mode","indeterminate",3,"diameter","strokeWidth"],[3,"naturalIcon"],[2,"margin-right","10px",3,"naturalIcon"],[3,"removable","selectable","removed"],[1,"mat-body","chip-label"],["matChipRemove",""],["naturalIcon","cancel"],[1,"margin-v"],t]},template:function(e,i){1&e&&(f(0,"div")(1,"natural-search",0),E("selectionChange",function(o){return i.search(o)}),m()(),f(2,"div",1),S(3,HNe,1,1,"mat-progress-spinner",2),f(4,"mat-tree",3),S(5,WNe,6,8,"mat-tree-node",4),m(),f(6,"mat-chip-listbox",5),S(7,KNe,6,4,"mat-chip-option",6),m()(),S(8,QNe,2,0,"div",7)),2&e&&(nn("margin-bottom",20,"px"),b(1),_("facets",i.searchFacets)("selections",i.searchSelections),b(2),_("ngIf",i.loading),b(1),_("dataSource",i.dataSource)("treeControl",i.treeControl),b(3),_("ngForOf",i.selectedNodes),b(1),_("ngIf",!i.loading&&!i.dataSource.data.length))},dependencies:[o0,ke,Yr,Zt,Be,Im,Am,uRe,f9,p9,g9,m9,h9,ct,Ar,ai,ei,ui,Wc,Dl,j2e,MM,kM,U9],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] ul[_ngcontent-%COMP%], [_nghost-%COMP%] li[_ngcontent-%COMP%]{-webkit-margin-before:0;-webkit-margin-after:0;list-style-type:none}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;font-size:18px}[_nghost-%COMP%] .mat-tree-node.leaf[_ngcontent-%COMP%]{margin-left:48px}[_nghost-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}[_nghost-%COMP%] .body[_ngcontent-%COMP%] mat-tree[_ngcontent-%COMP%]{flex:66}[_nghost-%COMP%] .body[_ngcontent-%COMP%] mat-chip-listbox[_ngcontent-%COMP%]{flex:33}[_nghost-%COMP%] mat-tree[_ngcontent-%COMP%]{flex-shrink:0}[_nghost-%COMP%] mat-chip-listbox[_ngcontent-%COMP%]{margin-left:10px}"]}),n})();const XNe=function(){return{}},o$=function(){return[]};let JNe=(()=>{class n{constructor(e,i){this.dialogRef=i,this.config=Gv(e,{multiple:!0,allowUnselect:!0}),this.searchSelectionsOutput=this.config.searchSelections}close(e){const i={hierarchicSelection:Bp(e),searchSelections:Bp(this.searchSelectionsOutput)};this.dialogRef.close(i)}}return n.\u0275fac=function(e){return new(e||n)(g(vc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:10,vars:10,consts:function(){let t,e,i;return t=$localize`:␟da386a4b0b09e6213d2755b17da58ca888466b59␟7244876284182662703:Sélection`,e=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,i=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,[["mat-dialog-title",""],t,[3,"selected","config","filters","multiple","allowUnselect","searchFacets","searchSelections","selectionChange","searchSelectionChange"],["align","end"],["mat-dialog-close","","mat-button",""],e,["color","primary","mat-raised-button","",3,"click"],i]},template:function(e,i){if(1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content")(3,"natural-hierarchic-selector",2),E("selectionChange",function(o){return i.config.hierarchicSelection=o})("searchSelectionChange",function(o){return i.searchSelectionsOutput=o}),m()(),f(4,"mat-dialog-actions",3)(5,"button",4),Ce(6,5),m(),f(7,"button",6),E("click",function(){return i.close(i.config.hierarchicSelection)}),f(8,"span"),Ce(9,7),m()()()),2&e){let r,o,a,s,l;b(3),_("selected",null!==(r=i.config.hierarchicSelection)&&void 0!==r?r:wn(7,XNe))("config",i.config.hierarchicConfig)("filters",i.config.hierarchicFilters)("multiple",null!==(o=i.config.multiple)&&void 0!==o&&o)("allowUnselect",null===(a=i.config.allowUnselect)||void 0===a||a)("searchFacets",null!==(s=i.config.searchFacets)&&void 0!==s?s:wn(8,o$))("searchSelections",null!==(l=i.config.searchSelections)&&void 0!==l?l:wn(9,o$))}},dependencies:[Js,yc,Cc,wc,xc,OM,ct,en]}),n})(),RM=(()=>{class n{constructor(e){this.dialog=e}open(e,i){return this.dialog.open(JNe,Gv(i,{width:"700px",data:e}))}}return n.\u0275fac=function(e){return new(e||n)(A(Xs))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ZNe=(()=>{class n{constructor(e){this.hierarchicDialogService=e,this.searchFacets=[{display:"Number less than 100",field:"number",component:qy,configuration:{max:100}},{display:"With archives",field:"archived",condition:{equal:{value:!0}}}],this.searchSelections=[[{field:"number",condition:{equal:{value:50}}}]],this.selected={any:[{id:123,name:"Any 123"},{id:124,name:"Any 124"}]},this.config=[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}log(...e){console.log(e)}select(){this.hierarchicDialogService.open({hierarchicConfig:this.config,hierarchicSelection:this.selected,searchFacets:this.searchFacets,searchSelections:this.searchSelections}).afterClosed().subscribe(i=>{this.log("dialog usage",i)})}}return n.\u0275fac=function(e){return new(e||n)(g(RM))},n.\u0275cmp=$({type:n,selectors:[["app-hierarchic"]],standalone:!0,features:[Se],decls:12,vars:6,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","50px"],[1,"mat-headline-6"],[3,"allowUnselect","config","multiple","selected","searchFacets","searchSelections","selectionChange"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-search"),m(),f(2,"div",1)(3,"div")(4,"div",2),C(5,"Component usage"),m(),f(6,"natural-hierarchic-selector",3),E("selectionChange",function(o){return i.log("component usage",o)}),m()(),f(7,"div")(8,"div",2),C(9,"Dialog usage"),m(),f(10,"button",4),E("click",function(){return i.select()}),C(11,"Select any"),m()()()),2&e&&(b(6),_("allowUnselect",!0)("config",i.config)("multiple",!0)("selected",i.selected)("searchFacets",i.searchFacets)("searchSelections",i.searchSelections))},dependencies:[$n,An,Hn,OM,ct,en]}),n})();const eFe=["*"];let tFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-sidenav-content"]],standalone:!0,features:[Se],ngContentSelectors:eFe,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;overflow:auto}"]}),n})(),nFe=0;const NM=new F("CdkAccordion");let iFe=(()=>{class n{constructor(){this._stateChanges=new q,this._openCloseAllActions=new q,this.id="cdk-accordion-"+nFe++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=te(e)}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()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[ae([{provide:NM,useExisting:n}]),Je]}),n})(),rFe=0,oFe=(()=>{class n{get expanded(){return this._expanded}set expanded(e){e=te(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e)}constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=We.EMPTY,this.closed=new j,this.opened=new j,this.destroyed=new j,this.expandedChange=new j,this.id="cdk-accordion-child-"+rFe++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==o&&(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)})}}return n.\u0275fac=function(e){return new(e||n)(g(NM,12),g(ze),g(iL))},n.\u0275dir=R({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ae([{provide:NM,useValue:void 0}])]}),n})(),aFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const sFe=["body"];function lFe(n,t){}const cFe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],dFe=["mat-expansion-panel-header","*","mat-action-row"];function uFe(n,t){1&n&&T(0,"span",2),2&n&&_("@indicatorRotate",x()._getExpandedState())}const hFe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],fFe=["mat-panel-title","mat-panel-description","*"],FM=new F("MAT_ACCORDION"),a$="225ms cubic-bezier(0.4,0.0,0.2,1)",s$={indicatorRotate:pn("indicatorRotate",[gt("collapsed, void",be({transform:"rotate(0deg)"})),gt("expanded",be({transform:"rotate(180deg)"})),ot("expanded <=> collapsed, void => collapsed",rt(a$))]),bodyExpansion:pn("bodyExpansion",[gt("collapsed, void",be({height:"0px",visibility:"hidden"})),gt("expanded",be({height:"*",visibility:"visible"})),ot("expanded <=> collapsed, void => collapsed",rt(a$))])},l$=new F("MAT_EXPANSION_PANEL");let pFe=(()=>{class n{constructor(e,i){this._template=e,this._expansionPanel=i}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(l$,8))},n.\u0275dir=R({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),mFe=0;const c$=new F("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let d$=(()=>{class n extends oFe{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=te(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,r,o,a,s,l){super(e,i,r),this._viewContainerRef=o,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new j,this.afterCollapse=new j,this._inputChanges=new q,this._headerId="mat-expansion-panel-header-"+mFe++,this._bodyAnimationDone=new q,this.accordion=e,this._document=a,this._bodyAnimationDone.pipe(Cs((c,d)=>c.fromState===d.fromState&&c.toState===d.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.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(zt(null),Pe(()=>this.expanded&&!this._portal),lt(1)).subscribe(()=>{this._portal=new oa(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(g(FM,12),g(ze),g(iL),g(Ft),g(ge),g(Ot,8),g(c$,8))},n.\u0275cmp=$({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,pFe,5),2&e){let o;U(o=G())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&ye(sFe,5),2&e){let r;U(r=G())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&ce("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ae([{provide:FM,useValue:void 0},{provide:l$,useExisting:n}]),N,Je],ngContentSelectors:dFe,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(qe(cFe),re(0),f(1,"div",0,1),E("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),f(3,"div",2),re(4,1),S(5,lFe,0,0,"ng-template",3),m(),re(6,2),m()),2&e&&(b(1),_("@bodyExpansion",i._getExpandedState())("id",i.id),ie("aria-labelledby",i._headerId),b(4),_("cdkPortalOutlet",i._portal))},dependencies:[Ir],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;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}.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:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.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}.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}.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:[s$.bodyExpansion]},changeDetection:0}),n})();class gFe{}const _Fe=Jl(gFe);let bFe=(()=>{class n extends _Fe{constructor(e,i,r,o,a,s,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=s,this._parentChangeSubscription=We.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe(Pe(d=>!(!d.hideToggle&&!d.togglePosition))):vn;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=dt(e.opened,e.closed,c,e._inputChanges.pipe(Pe(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Pe(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.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 e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:on(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}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)}}return n.\u0275fac=function(e){return new(e||n)(g(d$,1),g(W),g(dr),g(ze),g(c$,8),g(Ot,8),wi("tabindex"))},n.\u0275cmp=$({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&E("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(ie("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),nn("height",i._getHeaderHeight()),ce("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[N],ngContentSelectors:fFe,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(qe(hFe),f(0,"span",0),re(1),re(2,1),re(3,2),m(),S(4,uFe,1,1,"span",1)),2&e&&(ce("mat-content-hide-toggle",!i._showToggle()),b(4),_("ngIf",i._showToggle()))},dependencies:[Be],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)}.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:not([aria-disabled=true]){cursor:pointer}.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,.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-description{flex-grow:2}.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}.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:[s$.indicatorRotate]},changeDetection:0}),n})(),vFe=(()=>{class n extends iFe{constructor(){super(...arguments),this._ownHeaders=new ea,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=te(e)}ngAfterContentInit(){this._headers.changes.pipe(zt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Pf(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()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,bFe,5),2&e){let o;U(o=G())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[ae([{provide:FM,useExisting:n}]),N]}),n})(),yFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue,aFe,Ya]}),n})();const CFe=["*"];let wFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-sidenav"]],standalone:!0,features:[Se],ngContentSelectors:CFe,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},encapsulation:2}),n})();const a0=["*"],xFe=["content"];function DFe(n,t){if(1&n){const e=Y();f(0,"div",2),E("click",function(){return B(e),V(x()._onBackdropClicked())}),m()}2&n&&ce("mat-drawer-shown",x()._isShowingBackdrop())}function SFe(n,t){1&n&&(f(0,"mat-drawer-content"),re(1,2),m())}const kFe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],EFe=["mat-drawer","mat-drawer-content","*"];function MFe(n,t){if(1&n){const e=Y();f(0,"div",2),E("click",function(){return B(e),V(x()._onBackdropClicked())}),m()}2&n&&ce("mat-drawer-shown",x()._isShowingBackdrop())}function TFe(n,t){1&n&&(f(0,"mat-sidenav-content"),re(1,2),m())}const AFe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],IFe=["mat-sidenav","mat-sidenav-content","*"],u$={transformDrawer:pn("transform",[gt("open, open-instant",be({transform:"none",visibility:"visible"})),gt("void",be({"box-shadow":"none",visibility:"hidden"})),ot("void => open-instant",rt("0ms")),ot("void <=> open, open-instant => void",rt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},RFe=new F("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function NFe(){return!1}}),PM=new F("MAT_DRAWER_CONTAINER");let s0=(()=>{class n extends jf{constructor(e,i,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(st(()=>f$)),g(W),g($f),g(de))},n.\u0275cmp=$({type:n,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,i){2&e&&nn("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[ae([{provide:jf,useExisting:n}]),N],ngContentSelectors:a0,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},encapsulation:2,changeDetection:0}),n})(),h$=(()=>{class n{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=te(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=te(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(te(e))}constructor(e,i,r,o,a,s,l,c){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=l,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new q,this._animationEnd=new q,this._animationState="void",this.openedChange=new j(!0),this._openedStream=this.openedChange.pipe(Pe(d=>d),ue(()=>{})),this.openedStart=this._animationStarted.pipe(Pe(d=>d.fromState!==d.toState&&0===d.toState.indexOf("open")),Ab(void 0)),this._closedStream=this.openedChange.pipe(Pe(d=>!d),ue(()=>{})),this.closedStart=this._animationStarted.pipe(Pe(d=>d.fromState!==d.toState&&"void"===d.toState),Ab(void 0)),this._destroyed=new q,this.onPositionChanged=new j,this._modeChanged=new q,this.openedChange.subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{To(this._elementRef.nativeElement,"keydown").pipe(Pe(d=>27===d.keyCode&&!this.disableClose&&!on(d)),se(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(Cs((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{const{fromState:u,toState:h}=d;(0===h.indexOf("open")&&"void"===u||"void"===h&&0===u.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(lt(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,r=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Lf),g(dr),g(yt),g(de),g(jd),g(ge,8),g(PM,8))},n.\u0275cmp=$({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,i){if(1&e&&ye(xFe,5),2&e){let r;U(r=G())&&(i._content=r.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(e,i){1&e&&sf("@transform.start",function(o){return i._animationStarted.next(o)})("@transform.done",function(o){return i._animationEnd.next(o)}),2&e&&(ie("align",null),cf("@transform",i._animationState),ce("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:a0,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(qe(),f(0,"div",0,1),re(2),m())},dependencies:[jf],encapsulation:2,data:{animation:[u$.transformDrawer]},changeDetection:0}),n})(),f$=(()=>{class n{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=te(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:te(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,r,o,a,s=!1,l){this._dir=e,this._element=i,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=l,this._drawers=new ea,this.backdropClick=new j,this._destroyed=new q,this._doCheckSubject=new q,this._contentMargins={left:null,right:null},this._contentMarginChanges=new q,e&&e.change.pipe(se(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe(se(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(zt(this._allDrawers),se(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(zt(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(Ps(10),se(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,i-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();i+=r,e-=r}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Pe(i=>i.fromState!==i.toState),se(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(se(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(se(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(lt(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(se(dt(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(g(Qt,8),g(W),g(de),g(ze),g(qa),g(RFe),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,s0,5),Ee(r,h$,5)),2&e){let o;U(o=G())&&(i._content=o.first),U(o=G())&&(i._allDrawers=o)}},viewQuery:function(e,i){if(1&e&&ye(s0,5),2&e){let r;U(r=G())&&(i._userContent=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mat-drawer-container-explicit-backdrop",i._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[ae([{provide:PM,useExisting:n}])],ngContentSelectors:EFe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(qe(kFe),S(0,DFe,1,2,"div",0),re(1),re(2,1),S(3,SFe,2,0,"mat-drawer-content",1)),2&e&&(_("ngIf",i.hasBackdrop),b(3),_("ngIf",!i._content))},dependencies:[Be,s0],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),n})(),LM=(()=>{class n extends s0{constructor(e,i,r,o,a){super(e,i,r,o,a)}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(st(()=>VM)),g(W),g($f),g(de))},n.\u0275cmp=$({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,i){2&e&&nn("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[ae([{provide:jf,useExisting:n}]),N],ngContentSelectors:a0,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},encapsulation:2,changeDetection:0}),n})(),BM=(()=>{class n extends h${constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=te(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=fn(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=fn(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,i){2&e&&(ie("align",null),nn("top",i.fixedInViewport?i.fixedTopGap:null,"px")("bottom",i.fixedInViewport?i.fixedBottomGap:null,"px"),ce("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened)("mat-sidenav-fixed",i.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[N],ngContentSelectors:a0,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(qe(),f(0,"div",0,1),re(2),m())},dependencies:[jf],encapsulation:2,data:{animation:[u$.transformDrawer]},changeDetection:0}),n})(),VM=(()=>{class n extends f${constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,LM,5),Ee(r,BM,5)),2&e){let o;U(o=G())&&(i._content=o.first),U(o=G())&&(i._allDrawers=o)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,i){2&e&&ce("mat-drawer-container-explicit-backdrop",i._backdropOverride)},exportAs:["matSidenavContainer"],features:[ae([{provide:PM,useExisting:n}]),N],ngContentSelectors:IFe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(qe(AFe),S(0,MFe,1,2,"div",0),re(1),re(2,1),S(3,TFe,2,0,"mat-sidenav-content",1)),2&e&&(_("ngIf",i.hasBackdrop),b(3),_("ngIf",!i._content))},dependencies:[Be,LM],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),n})(),FFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue,Wa,Wa,Ue]}),n})(),PFe=(()=>{class n{constructor(){this.sidenavs=[],this.currentSidenav=new q}register(e){if(this.sidenavs.some(r=>r.name===e.name))throw new Error("Duplicated side nav name: "+e.name);this.sidenavs.push(e),this.next()}unregister(e){const i=this.sidenavs.indexOf(e);if(-1===i)throw Error("Trying to remove a SidenavContainer that was never registered");this.sidenavs.splice(i,1),this.next()}next(){this.currentSidenav.next(this.sidenavs[this.sidenavs.length-1])}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function l0(n){if(!n)throw new Error("Must call NaturalSidenavService.init() before using the service")}let p$=(()=>{class n extends ds{constructor(e,i,r,o){super(),this.mediaObserver=e,this.router=i,this.sessionStorage=r,this.naturalSidenavStackService=o,this.modes=["side","push"],this.mode=this.modes[0],this.opened=!0,this.tmpOpened=this.opened,this.minimized=!1,this.minimizedStorageKey="menu-minimized",this.openedStorageKey="menu-opened",this.minimizedStorageKeyWithName=null,this.openedStorageKeyWithName=null}get activeMode(){return this.mode}get isOpened(){return this.opened}get isMinimized(){return this.minimized}destroy(e){this.naturalSidenavStackService.unregister(e)}init(e,i,r,o,a=!1){if(!e||""===e)throw new Error('No sidenav name provided, use ');this.naturalSidenavStackService.register(o),this.minimizedStorageKeyWithName=e+"-"+this.minimizedStorageKey,this.openedStorageKeyWithName=e+"-"+this.openedStorageKey,this.minimized=this.getMinimizedStatus(),this.opened=this.getMenuOpenedStatus(),this.tmpOpened=this.opened;let s=null;this.mediaObserver.asObservable().pipe(se(this.ngUnsubscribe)).subscribe(()=>{const l=!this.isMobileView();this.mode=l?this.modes[0]:this.modes[1],(null===s||l!==s)&&(s=l,l||(this.tmpOpened=this.opened,this.opened=!1),l&&this.tmpOpened&&(this.opened=!0,this.minimized=this.getMinimizedStatus()))}),a&&this.router.events.pipe(se(this.ngUnsubscribe),Pe(l=>l instanceof Ks)).subscribe(()=>{this.navItemClicked()})}isMobileView(){return!this.mediaObserver.isActive("gt-sm")}navItemClicked(){this.isMobileView()&&this.close()}setMinimized(e){this.minimized=e,l0(this.minimizedStorageKeyWithName),this.sessionStorage.setItem(this.minimizedStorageKeyWithName,e?"true":"false")}minimize(){this.setMinimized(!0)}expand(){this.setMinimized(!1)}toggleMinimized(){this.setMinimized(!this.minimized)}getMinimizedStatus(){l0(this.minimizedStorageKeyWithName);const e=this.sessionStorage.getItem(this.minimizedStorageKeyWithName);return null!==e&&"true"===e}getMenuOpenedStatus(){l0(this.openedStorageKeyWithName);const e=this.sessionStorage.getItem(this.openedStorageKeyWithName);return null===e||"true"===e}toggle(){this.setOpened(!this.opened)}close(){this.setOpened(!1)}open(){this.setOpened(!0)}setOpened(e){this.opened=e,this.opened&&this.isMobileView()?this.minimized=!1:this.isMobileView()||(l0(this.openedStorageKeyWithName),this.sessionStorage.setItem(this.openedStorageKeyWithName,this.opened?"true":"false"))}}return n.\u0275fac=function(e){return new(e||n)(A(t6),A(Zn),A(Xb),A(PFe))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const LFe=[[["natural-sidenav"]],[["natural-sidenav-content"]]],BFe=["natural-sidenav","natural-sidenav-content"];let VFe=(()=>{class n{constructor(e){this.sidenavService=e,this.position="start",this.mobileAutoClose=!0,this.minimizedWidth=150,this.noScroll=!1}get isMinimized(){return this.sidenavService.isMinimized}get isMobileView(){return this.sidenavService.isMobileView()}ngOnInit(){this.sidenavService.init(this.name,this.menuContainer,this.menuSidenav,this,this.mobileAutoClose)}ngOnDestroy(){this.sidenavService.destroy(this)}toggle(){this.sidenavService.toggle()}close(){this.sidenavService.close()}open(){this.sidenavService.open()}minimize(){this.sidenavService.minimize()}expand(){this.sidenavService.expand()}toggleMinimized(){this.sidenavService.toggleMinimized()}}return n.\u0275fac=function(e){return new(e||n)(g(p$))},n.\u0275cmp=$({type:n,selectors:[["natural-sidenav-container"]],viewQuery:function(e,i){if(1&e&&(ye(VM,7),ye(BM,7)),2&e){let r;U(r=G())&&(i.menuContainer=r.first),U(r=G())&&(i.menuSidenav=r.first)}},hostVars:1,hostBindings:function(e,i){2&e&&ie("no-scroll",i.noScroll)},inputs:{name:"name",position:"position",mobileAutoClose:"mobileAutoClose",minimizedWidth:"minimizedWidth",noScroll:"noScroll"},standalone:!0,features:[ae([p$]),Se],ngContentSelectors:BFe,decls:6,vars:8,consts:[[3,"backdropClick"],[3,"mode","ngClass","opened","position"]],template:function(e,i){1&e&&(qe(LFe),f(0,"mat-sidenav-container",0),E("backdropClick",function(){return i.sidenavService.setOpened(!1)}),f(1,"mat-sidenav",1),re(2),m(),f(3,"mat-sidenav-content")(4,"div"),re(5,1),m()()()),2&e&&(b(1),nn("min-width",i.sidenavService.isMinimized&&i.minimizedWidth?i.minimizedWidth:null,"px")("width",i.sidenavService.isMinimized&&i.minimizedWidth?i.minimizedWidth:null,"px"),_("mode",i.sidenavService.activeMode)("ngClass",i.sidenavService.isMinimized?"menuMinimized":"")("opened",i.sidenavService.isOpened)("position",i.position))},dependencies:[FFe,BM,VM,LM,ke,Yr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] mat-sidenav-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}[_nghost-%COMP%] mat-sidenav-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:auto}[_nghost-%COMP%] .menuMinimized[_ngcontent-%COMP%]{overflow-x:hidden}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}"]}),n})();const zFe=["*",[["mat-toolbar-row"]]],HFe=["*","mat-toolbar-row"],$Fe=Bs(class{constructor(n){this._elementRef=n}});let jFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),UFe=(()=>{class n extends $Fe{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ge))},n.\u0275cmp=$({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,jFe,5),2&e){let o;U(o=G())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&ce("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[N],ngContentSelectors:HFe,decls:2,vars:0,template:function(e,i){1&e&&(qe(zFe),re(0),re(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),GFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})(),qFe=(()=>{class n{constructor(){this.theme=new ft("defaultDark"),this.darkActivated=!1,this.theme.value.indexOf("Dark")>-1&&(this.darkActivated=!0)}set(e){this.darkActivated&&-1===e.indexOf("Dark")?this.theme.next("defaultDark"):this.theme.next("default")}setNightMode(e){this.darkActivated=e,this.set(this.theme.getValue())}toggle(){this.setNightMode(!this.darkActivated)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function WFe(n,t){if(1&n){const e=Y();f(0,"button",7),E("click",function(){return B(e),x(),V(mt(14).toggle())}),T(1,"mat-icon",48),m()}}function YFe(n,t){if(1&n){const e=Y();f(0,"a",49),E("click",function(){return B(e),x(),V(mt(14).toggleMinimized())}),T(1,"mat-icon",50),m()}if(2&n){x();const e=mt(14);b(1),_("naturalIcon",e.isMinimized?"keyboard_arrow_right":"keyboard_arrow_left")}}const KFe=function(){return{dog:"qwer"}},QFe=function(n){return["/list",n]},XFe=function(){return{cat:"cat"}},JFe=function(){return{dog:"dog"}},ZFe=function(n,t){return["/nested/anyValue",n,"list",t]},ePe=function(){return["/editable-list"]},tPe=function(){return["/navigable-list"]},nPe=function(){return["/detail/123"]},iPe=function(){return["/detail-header"]};let rPe=(()=>{class n{constructor(e,i){this.themeService=e,this.document=i}ngOnInit(){this.themeService.theme.subscribe(e=>{this.document.body.classList.remove("default"),this.document.body.classList.remove("defaultDark"),this.document.body.classList.add(e)})}}return n.\u0275fac=function(e){return new(e||n)(g(qFe),g(ge))},n.\u0275cmp=$({type:n,selectors:[["app-home"]],standalone:!0,features:[Se],decls:101,vars:23,consts:[["fxFlex","","fxLayout","column"],["fxFlex","none","fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","20px"],["mat-icon-button","",3,"click",4,"ngIf"],["href","/","mat-button",""],["height","40px","src","assets/logo.svg"],[1,"mat-headline-6"],["fxFlex",""],["mat-icon-button","",3,"click"],["naturalIcon","invert_colors"],["href","https://github.com/ecodev/natural","mat-icon-button",""],["src","assets/github.svg",2,"height","24px"],["fxFlex","","name","menu",3,"noScroll"],["menu",""],[2,"overflow-x","auto","margin","20px"],["id","menu"],["displayMode","flat"],[1,"mat-elevation-z0",3,"disabled","expanded"],["mat-list-item","","routerLink","/"],["matListItemIcon","","naturalIcon","home"],["mat-list-item","","routerLink","/search"],["matListItemIcon","","naturalIcon","search"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","naturalIcon","list"],["matListItemIcon","","naturalIcon","subdirectory_arrow_right"],["matListItemIcon","","naturalIcon","details"],["matListItemIcon","","naturalIcon","title"],["mat-list-item","","routerLink","/select"],["matListItemIcon","","naturalIcon","check"],["mat-list-item","","routerLink","/select-hierarchic"],["mat-list-item","","routerLink","/select-enum"],["mat-list-item","","routerLink","/relation"],["matListItemIcon","","naturalIcon","device_hub"],["mat-list-item","","routerLink","/hierarchic"],["matListItemIcon","","naturalIcon","account_tree"],["mat-list-item","","routerLink","/panels"],["matListItemIcon","","naturalIcon","filter_none"],["mat-list-item","","routerLink","/file"],["matListItemIcon","","naturalIcon","file_upload"],["mat-list-item","","routerLink","/alert-service"],["matListItemIcon","","naturalIcon","error"],["mat-list-item","","routerLink","/avatar"],["matListItemIcon","","naturalIcon","face"],["mat-list-item","","routerLink","/editor"],["matListItemIcon","","naturalIcon","format_size"],["mat-list-item","","routerLink","/other"],["matListItemIcon","","naturalIcon","build"],["mat-list-item","",3,"click",4,"ngIf"],["fxFlex","","fxLayout","column",2,"padding","20px","overflow","auto"],["naturalIcon","menu"],["mat-list-item","",3,"click"],["matListItemIcon","",3,"naturalIcon"]],template:function(e,i){if(1&e&&(f(0,"div",0)(1,"mat-toolbar",1),S(2,WFe,2,0,"button",2),f(3,"a",3),T(4,"img",4),f(5,"span",5),C(6,"@ecodev/natural"),m()(),T(7,"div",6),f(8,"button",7),E("click",function(){return i.themeService.toggle()}),T(9,"mat-icon",8),m(),f(10,"a",9),T(11,"img",10),m()(),f(12,"div",0)(13,"natural-sidenav-container",11,12)(15,"natural-sidenav")(16,"div",13)(17,"div",14)(18,"mat-accordion",15)(19,"mat-expansion-panel",16)(20,"mat-nav-list")(21,"a",17),T(22,"mat-icon",18),f(23,"span"),C(24,"Home"),m()(),f(25,"a",19),T(26,"mat-icon",20),f(27,"span"),C(28,"Search"),m()(),f(29,"a",21),T(30,"mat-icon",22),f(31,"span"),C(32,"List A"),m()(),f(33,"a",21),T(34,"mat-icon",22),f(35,"span"),C(36,"List B"),m()(),f(37,"a",21),T(38,"mat-icon",22),f(39,"span"),C(40,"Editable list"),m()(),f(41,"a",21),T(42,"mat-icon",23),f(43,"span"),C(44,"Navigable list"),m()(),f(45,"a",21),T(46,"mat-icon",24),f(47,"span"),C(48,"Detail"),m()(),f(49,"a",21),T(50,"mat-icon",25),f(51,"span"),C(52,"Detail header"),m()(),f(53,"a",26),T(54,"mat-icon",27),f(55,"span"),C(56,"Select"),m()(),f(57,"a",28),T(58,"mat-icon",27),f(59,"span"),C(60,"Select hierarchic"),m()(),f(61,"a",29),T(62,"mat-icon",27),f(63,"span"),C(64,"Select Enum"),m()(),f(65,"a",30),T(66,"mat-icon",31),f(67,"span"),C(68,"Relation"),m()(),f(69,"a",32),T(70,"mat-icon",33),f(71,"span"),C(72,"Hi\xe9rarchic"),m()(),f(73,"a",34),T(74,"mat-icon",35),f(75,"span"),C(76,"Panels"),m()(),f(77,"a",36),T(78,"mat-icon",37),f(79,"span"),C(80,"File"),m()(),f(81,"a",38),T(82,"mat-icon",39),f(83,"span"),C(84,"Alert service"),m()(),f(85,"a",40),T(86,"mat-icon",41),f(87,"span"),C(88,"Avatar"),m()(),f(89,"a",42),T(90,"mat-icon",43),f(91,"span"),C(92,"Editor"),m()(),f(93,"a",44),T(94,"mat-icon",45),f(95,"span"),C(96,"Other tools"),m()(),S(97,YFe,2,1,"a",46),m()()()()()(),f(98,"natural-sidenav-content")(99,"div",47),T(100,"router-outlet"),m()()()()()),2&e){const r=mt(14);b(2),_("ngIf",r),b(11),_("noScroll",!0),b(6),_("disabled",!0)("expanded",!0),b(10),_("routerLink",Is(12,QFe,wn(11,KFe))),b(4),_("routerLink",t_(16,ZFe,wn(14,XFe),wn(15,JFe))),b(4),_("routerLink",wn(19,ePe)),b(4),_("routerLink",wn(20,tPe)),b(4),_("routerLink",wn(21,nPe)),b(4),_("routerLink",wn(22,iPe)),b(48),_("ngIf",!r.isMobileView)}},dependencies:[$n,An,Hn,us,qu,GFe,UFe,ke,Be,ct,tc,n1,Ar,ai,ei,ui,VFe,wFe,yFe,vFe,d$,IM,r$,t$,e$,ur,tFe,bc]}),n})(),oPe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-homepage"]],standalone:!0,features:[Se],decls:3,vars:0,consts:[["src","assets/logo.svg",2,"height","20vmax","max-height","150px","margin-bottom","30px"],[1,"mat-headline-4"]],template:function(e,i){1&e&&(T(0,"img",0),f(1,"h1",1),C(2,"@ecodev/natural"),m())},styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}"]}),n})();var cPe=Object.prototype.hasOwnProperty;let hPe=(()=>{class n{constructor(e){this.data=e}}return n.\u0275fac=function(e){return new(e||n)(g(vc))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:10,vars:6,consts:[["mat-dialog-title",""],[1,"mat-body"],["align","end"],["mat-button","",3,"mat-dialog-close"],["mat-stroked-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,i){1&e&&(f(0,"h2",0),C(1),m(),f(2,"mat-dialog-content")(3,"p",1),C(4),m()(),f(5,"mat-dialog-actions",2)(6,"button",3),C(7),m(),f(8,"button",4),C(9),m()()),2&e&&(b(1),xe(i.data.title),b(3),xe(i.data.message),b(2),_("mat-dialog-close",!1),b(1),xe(i.data.cancelText),b(1),_("mat-dialog-close",!0),b(1),xe(i.data.confirmText))},dependencies:[Js,yc,Cc,wc,xc,ct,en],styles:["mat-dialog-content[_ngcontent-%COMP%]{max-width:40em}"]}),n})(),c0=(()=>{class n{constructor(e,i){this.dialog=e,this.snackBar=i}info(e,i=2500){return this.snackBar.open(e,void 0,{duration:null===i?void 0:i,verticalPosition:"top",horizontalPosition:"end"})}error(e,i=2500,r){return this.snackBar.open(e,r,{duration:null===i?void 0:i,panelClass:["snackbar-error"],verticalPosition:"top",horizontalPosition:"end"})}confirm(e,i,r,o=$localize`Annuler`){return this.dialog.open(hPe,{data:{title:e,message:i,confirmText:r,cancelText:o}}).afterClosed()}}return n.\u0275fac=function(e){return new(e||n)(A(Xs),A(DB))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zM=(()=>{class n extends ds{constructor(){super(...arguments),this.data={},this.isFrontPanel=!1,this.isPanel=!1}clickPanel(){!this.isFrontPanel&&this.panelService&&this.panelService.goToPanelByComponent(this)}initPanel(e){this.panelData=e,this.isPanel=!0,this.panelData&&this.panelData.data&&No(this.data,this.panelData.data)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,hostVars:4,hostBindings:function(e,i){1&e&&E("click",function(){return i.clickPanel()}),2&e&&ce("isFrontPanel",i.isFrontPanel)("isPanel",i.isPanel)},features:[N]}),n})();function d0(n){if(!n||!n.length)return null;const t=Fu(n);for(const i of t)for(const r of i)r.f=r.field,r.c=r.condition,delete r.field,delete r.condition;const e=JSON.stringify(t);return"[[]]"===e?null:e}function HM(n){if(!n||!n.length)return[[]];const t=JSON.parse(n);for(const e of t)for(const i of e)i.field=i.f,i.condition=i.c,delete i.f,delete i.c;return 0===t.length&&t.push([]),t}const fPe=new F("Validator for persisted value retrieved from NaturalPersistenceService. If returns false, the persisted value will never be returned.");let pPe=(()=>{class n{constructor(e,i,r){this.router=e,this.sessionStorage=i,this.isValid=r,this.isValid=this.isValid??(()=>!0)}persist(e,i,r,o,a){return this.persistInStorage(e,i,o),this.persistInUrl(e,i,r,a)}get(e,i,r){let o=this.getFromUrl(e,i);return this.isFalseyValue(o)?(o=this.getFromStorage(e,r),this.isFalseyValue(o)?null:(this.persistInUrl(e,o,i),o)):(this.persistInStorage(e,o,r),o)}getFromUrl(e,i){const r=i.snapshot.paramMap.get(e);return this.deserialize(e,null,r)}persistInUrl(e,i,r,o){const a=Bp(r.snapshot.url[r.snapshot.url.length-1].parameters);return this.isFalseyValue(i)?delete a[e]:a[e]=JSON.stringify(i),o=Object.assign(o||{},{relativeTo:r}),this.router.navigate([".",a],o)}getFromStorage(e,i){const r=this.sessionStorage.getItem(this.getStorageKey(e,i));return this.deserialize(e,i,r)}persistInStorage(e,i,r){this.isFalseyValue(i)?this.sessionStorage.removeItem(this.getStorageKey(e,r)):this.sessionStorage.setItem(this.getStorageKey(e,r),JSON.stringify(i))}getStorageKey(e,i){return i+"-"+e}isFalseyValue(e){return null==e||""===e}deserialize(e,i,r){if(!r)return null;let o=null;try{o=JSON.parse(r)}catch{}return this.isValid(e,i,o)?o:null}}return n.\u0275fac=function(e){return new(e||n)(A(Zn),A(Xb),A(fPe,8))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class m$ extends p1{constructor(t){super(),this.ngUnsubscribe=new q,t instanceof it?(this.internalData=new ft(null),t.pipe(se(this.ngUnsubscribe)).subscribe(e=>this.data=e)):this.internalData=new ft(t)}get internalDataObservable(){return this.internalData}get data(){return this.internalData.value}set data(t){this.internalData.next(t)}connect(){return this.internalData.pipe(se(this.ngUnsubscribe),ue(t=>t?t.items:[]))}disconnect(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}push(t){if(!this.data)return;const e=[...this.data.items];e.push(t),this.data={...this.data,items:e,length:e.length}}pop(){if(!this.data)return;const t=[...this.data.items],e=t.pop();return this.data={...this.data,items:t,length:t.length},e}remove(t){if(!this.data)return;const e=this.data.items.indexOf(t);if(e>-1){const i=[...this.data.items];i.splice(e,1),this.data={...this.data,items:i,length:i.length}}}}function g$(n){return"item"in n&&"hasNavigation"in n?n.item:n}let _$=(()=>{class n extends zM{constructor(e){super(),this.service=e,this.persistSearch=!0,this.availableColumns=[],this.columnsForTable=[],this.defaultSelectedColumns=null,this.selection=new ac(!0,[]),this.bulkActionSelected=null,this.variablesManager=new ha,this.naturalSearchFacets=[],this.naturalSearchSelections=[[]],this.pageSizeOptions=[5,25,50,100,200],this.defaultPagination={offset:null,pageIndex:0,pageSize:25},this.router=ne(Zn),this.route=ne(Nr),this.alertService=ne(c0),this.persistenceService=ne(pPe)}set forcedVariables(e){e&&this.applyForcedVariables(e)}ngOnInit(){this.routeData=this.route.snapshot.data,this.initFromRoute(),this.initFromPersisted(),this.variablesManager.defaults("pagination",{pagination:this.defaultPagination}),this.variablesManager.defaults("sorting",{sorting:this.defaultSorting}),this.dataSource=new m$(this.getDataObservable()),this.selection.clear();let e=!1;this.router.events.pipe(se(this.ngUnsubscribe),Pe(i=>i instanceof wD&&"popstate"===i.navigationTrigger)).subscribe(()=>{e=!0}),this.router.events.pipe(se(this.ngUnsubscribe),Pe(i=>i instanceof Ks&&e)).subscribe(()=>{e=!1,this.naturalSearchSelections=HM(this.persistenceService.getFromUrl("ns",this.route))})}search(e,i,r=!0){if(r&&this.variablesManager.merge("pagination",{pagination:Uv(this.defaultPagination,["offset","pageIndex"])}),this.persistSearch&&!this.isPanel){const o=this.persistenceService.persist("ns",d0(e),this.route,this.getStorageKey()),a=this.getPagination();this.pagination(a,o,i)}this.translateSearchAndRefreshList(e)}sorting(e){this.variablesManager.merge("pagination",{pagination:Uv(this.defaultPagination,["offset","pageIndex"])});let i=e.filter(r=>!!r.direction).map(r=>{const o={field:r.active};return"asc"===r.direction?o.order=Ro.ASC:"desc"===r.direction&&(o.order=Ro.DESC),"nullAsHighest"in r&&(o.nullAsHighest=r.nullAsHighest),"emptyStringAsHighest"in r&&(o.emptyStringAsHighest=r.emptyStringAsHighest),o});if(0===i.length&&this.defaultSorting&&(i=this.defaultSorting),this.variablesManager.set("sorting",{sorting:i}),this.persistSearch&&!this.isPanel){const r=this.persistenceService.persist("so",Gp(i,this.defaultSorting)?null:i,this.route,this.getStorageKey()),o=this.getPagination();this.pagination(o,r)}}getPagination(){const e=this.variablesManager.get("pagination");return e&&e.pagination?e.pagination:this.defaultPagination}pagination(e,i,r){let o=this.defaultPagination,a=null,s=Uv(e,Object.keys(this.defaultPagination));s=Gv(s,this.defaultPagination),Gp(s,this.defaultPagination)||(o=a=s),this.variablesManager.set("pagination",{pagination:o}),this.persistPagination(a,i,r)}persistPagination(e,i,r){if(this.persistSearch&&!this.isPanel){const o=a=>this.persistenceService.persist("pa",a,this.route,this.getStorageKey(),r);i?i.then(()=>o(e)):o(e)}}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource?.data?.items.forEach(e=>{const i=g$(e);i.id&&this.selection.select(i)})}isAllSelected(){const e=this.selection.selected.length;let i=0;return this.dataSource?.data?.items.forEach(r=>{g$(r).id&&i++}),e===i}bulkAction(){if(!this.bulkActionSelected)throw new Error("Trying to execute a bulk action without selecting one");if(!(this.bulkActionSelected in this))throw new Error("Trying to execute a bulk action that does not exist: "+this.bulkActionSelected);this[this.bulkActionSelected]()}showHeader(){return!this.isPanel||this.isPanel&&this.showTable()}showSearch(){return!this.isPanel}showTable(){return!!this.dataSource&&!!this.dataSource.data&&this.dataSource.data.length>0}showNoResults(){return!this.isPanel&&!!this.dataSource&&!!this.dataSource.data&&0===this.dataSource.data.length}initFromRoute(){this.route.snapshot.data.forcedVariables&&this.applyForcedVariables(this.route.snapshot.data.forcedVariables),this.route.snapshot.data.availableColumns&&(this.availableColumns=this.route.snapshot.data.availableColumns),this.route.snapshot.data.selectedColumns&&(this.selectedColumns=this.route.snapshot.data.selectedColumns)}getDataObservable(){return this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe))}initFromPersisted(){if(!this.persistSearch||this.isPanel)return;const e=this.getStorageKey(),i=function kxe(n){if(!n||"object"!=typeof n||Array.isArray(n))return null;const t={};return"offset"in n&&(null===n.offset||"number"==typeof n.offset)&&(t.offset=n.offset),"pageIndex"in n&&(null===n.pageIndex||"number"==typeof n.pageIndex)&&(t.pageIndex=n.pageIndex),"pageSize"in n&&(null===n.pageSize||"number"==typeof n.pageSize)&&(t.pageSize=n.pageSize),t}(this.persistenceService.get("pa",this.route,e));i&&this.variablesManager.set("pagination",{pagination:i});const r=function Exe(n){if(!Array.isArray(n))return null;const t=[];return n.forEach(e=>{const i=function Mxe(n){if(!n||"object"!=typeof n||!("field"in n))return null;const t={field:n.field};return"order"in n&&(n.order===Ro.ASC||n.order===Ro.DESC||null===n.order)&&(t.order=n.order),"nullAsHighest"in n&&(null===n.nullAsHighest||"boolean"==typeof n.nullAsHighest)&&(t.nullAsHighest=n.nullAsHighest),"emptyStringAsHighest"in n&&(null===n.emptyStringAsHighest||"boolean"==typeof n.emptyStringAsHighest)&&(t.emptyStringAsHighest=n.emptyStringAsHighest),t}(e);i&&t.push(i)}),t}(this.persistenceService.get("so",this.route,e));r&&this.variablesManager.set("sorting",{sorting:r});const o=function Txe(n){return"string"!=typeof n?null:n.split(",").filter(t=>t)}(this.persistenceService.get("col",this.route,e));o&&(this.selectedColumns=o),this.naturalSearchSelections=HM(this.persistenceService.get("ns",this.route,e)),this.translateSearchAndRefreshList(this.naturalSearchSelections,!0)}translateSearchAndRefreshList(e,i=!1){const r=e0(this.naturalSearchFacets,e);i&&function dPe(n){if(null==n)return!0;if(ku(n)&&(li(n)||"string"==typeof n||"function"==typeof n.splice||Du(n)||Iv(n)||xu(n)))return!n.length;var t=Tu(n);if("[object Map]"==t||"[object Set]"==t)return!n.size;if(Ov(n))return!T5(n).length;for(var e in n)if(cPe.call(n,e))return!1;return!0}(r)||this.variablesManager.set("natural-search",{filter:r})}getStorageKey(){const e=this.router.parseUrl(this.router.url);return e.root.children.primary.segments[e.root.children.primary.segments.length-1].parameters={},e.toString()}bulkdDeleteConfirmation(){return this.alertService.confirm($localize`Suppression`,$localize`Voulez-vous supprimer définitivement les éléments sélectionnés ?`,$localize`Supprimer définitivement`)}bulkDelete(){const e=new q;return this.bulkdDeleteConfirmation().subscribe(i=>{this.bulkActionSelected=null,i&&this.service.delete(this.selection.selected).subscribe(()=>{this.selection.clear(),this.alertService.info($localize`Supprimé`),e.next(),e.complete()})}),e}applyForcedVariables(e){e.filter&&this.variablesManager.set("forced-filter",{filter:e.filter}),e.pagination&&this.variablesManager.set("pagination",{pagination:e.pagination}),e.sorting&&this.variablesManager.set("sorting",{sorting:e.sorting})}selectColumns(e){if(this.columnsForTable=e,this.persistSearch&&!this.isPanel)if(this.defaultSelectedColumns){const i=Gp(this.defaultSelectedColumns,e)?null:e.join(",");this.persistenceService.persist("col",i,this.route,this.getStorageKey())}else this.defaultSelectedColumns=e}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{persistSearch:"persistSearch",availableColumns:"availableColumns",selectedColumns:"selectedColumns",forcedVariables:"forcedVariables"},features:[N]}),n})();function mPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(2).icon)}function gPe(n,t){if(1&n&&(f(0,"span"),C(1),m()),2&n){const e=x(2);b(1),xe(e.label)}}function _Pe(n,t){if(1&n&&(f(0,"span"),S(1,mPe,1,1,"mat-icon",1),S(2,gPe,2,1,"span",0),m()),2&n){const e=x();b(1),_("ngIf",e.icon),b(1),_("ngIf",e.label)}}function bPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function vPe(n,t){if(1&n&&(f(0,"a",9),S(1,bPe,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function yPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function CPe(n,t){if(1&n&&(f(0,"a",10),S(1,yPe,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function wPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function xPe(n,t){if(1&n){const e=Y();f(0,"a",11),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,wPe,1,1,"mat-icon",1),f(2,"span"),C(3),m()()}if(2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function DPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function SPe(n,t){if(1&n){const e=Y();f(0,"a",12),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,DPe,1,1,"mat-icon",1),m()}if(2&n){const e=x(2);_("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function kPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function EPe(n,t){if(1&n&&(f(0,"a",13),S(1,kPe,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Ko),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function MPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function TPe(n,t){if(1&n&&(f(0,"a",14),S(1,MPe,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Ko),b(1),_("ngIf",e.icon)}}function APe(n,t){if(1&n&&(Dt(0),S(1,vPe,4,9,"a",3),S(2,CPe,2,8,"a",4),S(3,xPe,4,4,"a",5),S(4,SPe,2,2,"a",6),S(5,EPe,4,5,"a",7),S(6,TPe,2,4,"a",8),St()),2&n){const e=x();b(1),_("ngIf","routerLink"===e.type&&e.label),b(1),_("ngIf","routerLink"===e.type&&!e.label),b(1),_("ngIf","click"===e.type&&e.label),b(1),_("ngIf","click"===e.type&&!e.label),b(1),_("ngIf","href"===e.type&&e.label),b(1),_("ngIf","href"===e.type&&!e.label)}}function IPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function OPe(n,t){if(1&n&&(f(0,"a",21),S(1,IPe,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function RPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function NPe(n,t){if(1&n&&(f(0,"a",22),S(1,RPe,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function FPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function PPe(n,t){if(1&n){const e=Y();f(0,"a",23),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,FPe,1,1,"mat-icon",1),f(2,"span"),C(3),m()()}if(2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function LPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function BPe(n,t){if(1&n){const e=Y();f(0,"a",24),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,LPe,1,1,"mat-icon",1),m()}if(2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function VPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function zPe(n,t){if(1&n&&(f(0,"a",25),S(1,VPe,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Ko),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function HPe(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function $Pe(n,t){if(1&n&&(f(0,"a",26),S(1,HPe,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Ko),b(1),_("ngIf",e.icon)}}function jPe(n,t){if(1&n&&(Dt(0),S(1,OPe,4,9,"a",15),S(2,NPe,2,8,"a",16),S(3,PPe,4,4,"a",17),S(4,BPe,2,3,"a",18),S(5,zPe,4,5,"a",19),S(6,$Pe,2,4,"a",20),St()),2&n){const e=x();b(1),_("ngIf","routerLink"===e.type&&e.label),b(1),_("ngIf","routerLink"===e.type&&!e.label),b(1),_("ngIf","click"===e.type&&e.label),b(1),_("ngIf","click"===e.type&&!e.label),b(1),_("ngIf","href"===e.type&&e.label),b(1),_("ngIf","href"===e.type&&!e.label)}}let $M=(()=>{class n{constructor(){this.queryParams={},this.queryParamsHandling="",this.navigate=[],this.preserveFragment=!1,this.disabled=!1,this.raised=!1,this.buttonClick=new j,this.type="none"}ngOnChanges(){this.type=this.navigate?.length||Object.keys(this.queryParams).length?"routerLink":this.href?"href":this.buttonClick.observed?"click":"none"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-table-button"]],inputs:{queryParams:"queryParams",queryParamsHandling:"queryParamsHandling",label:"label",icon:"icon",href:"href",navigate:"navigate",fragment:"fragment",preserveFragment:"preserveFragment",disabled:"disabled",raised:"raised",color:"color"},outputs:{buttonClick:"buttonClick"},standalone:!0,features:[Je,Se],decls:3,vars:3,consts:[[4,"ngIf"],[3,"naturalIcon",4,"ngIf"],[3,"naturalIcon"],["mat-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-icon-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-button","",3,"color","disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-button","","target","_blank",3,"color","disabled",4,"ngIf"],["mat-icon-button","","target","_blank",3,"color","disabled",4,"ngIf"],["mat-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-icon-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-button","",3,"color","disabled","click"],["mat-icon-button","",3,"disabled","click"],["mat-button","","target","_blank",3,"color","disabled"],["mat-icon-button","","target","_blank",3,"color","disabled"],["mat-raised-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-icon-button","","class","mat-elevation-z4",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-raised-button","",3,"color","disabled","click",4,"ngIf"],["mat-icon-button","","class","mat-elevation-z4",3,"color","disabled","click",4,"ngIf"],["mat-raised-button","","target","_blank",3,"color","disabled",4,"ngIf"],["mat-icon-button","","class","mat-elevation-z4","target","_blank",3,"color","disabled",4,"ngIf"],["mat-raised-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-icon-button","",1,"mat-elevation-z4",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-raised-button","",3,"color","disabled","click"],["mat-icon-button","",1,"mat-elevation-z4",3,"color","disabled","click"],["mat-raised-button","","target","_blank",3,"color","disabled"],["mat-icon-button","","target","_blank",1,"mat-elevation-z4",3,"color","disabled"]],template:function(e,i){1&e&&(S(0,_Pe,3,2,"span",0),S(1,APe,7,6,"ng-container",0),S(2,jPe,7,6,"ng-container",0)),2&e&&(_("ngIf","none"===i.type),b(1),_("ngIf",!i.raised),b(1),_("ngIf",i.raised))},dependencies:[ke,Be,ai,ei,ui,ct,tc,n1,ur],styles:["natural-table-button{flex:1;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}natural-table-button mat-icon:not(:last-child){margin-right:5px}natural-table-button a.mat-mdc-button{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}natural-table-button a.mat-mdc-button .mdc-button__label{display:flex;flex-direction:row;align-items:center}natural-table-button>span{padding:0 8px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}\n"],encapsulation:2}),n})();const UPe=["mat-sort-header",""];function GPe(n,t){if(1&n){const e=Y();f(0,"div",3),E("@arrowPosition.start",function(){return B(e),V(x()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return B(e),V(x()._disableViewStateAnimation=!1)}),T(1,"div",4),f(2,"div",5),T(3,"div",6)(4,"div",7)(5,"div",8),m()()}if(2&n){const e=x();_("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),b(2),_("@indicator",e._getArrowDirectionState()),b(1),_("@leftPointer",e._getArrowDirectionState()),b(1),_("@rightPointer",e._getArrowDirectionState())}}const qPe=["*"],b$=new F("MAT_SORT_DEFAULT_OPTIONS"),WPe=sP(ko(class{}));let jM=(()=>{class n extends WPe{get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=te(e)}constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new q,this.start="asc",this._direction="",this.sortChange=new j}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 r=function YPe(n,t){let e=["asc","desc"];return"desc"==n&&e.reverse(),t||e.push(""),e}(e.start||this.start,e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(g(b$,8))},n.\u0275dir=R({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[N,Je]}),n})();const El=Dne.ENTERING+" "+xne.STANDARD_CURVE,mh={indicator:pn("indicator",[gt("active-asc, asc",be({transform:"translateY(0px)"})),gt("active-desc, desc",be({transform:"translateY(10px)"})),ot("active-asc <=> active-desc",rt(El))]),leftPointer:pn("leftPointer",[gt("active-asc, asc",be({transform:"rotate(-45deg)"})),gt("active-desc, desc",be({transform:"rotate(45deg)"})),ot("active-asc <=> active-desc",rt(El))]),rightPointer:pn("rightPointer",[gt("active-asc, asc",be({transform:"rotate(45deg)"})),gt("active-desc, desc",be({transform:"rotate(-45deg)"})),ot("active-asc <=> active-desc",rt(El))]),arrowOpacity:pn("arrowOpacity",[gt("desc-to-active, asc-to-active, active",be({opacity:1})),gt("desc-to-hint, asc-to-hint, hint",be({opacity:.54})),gt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",be({opacity:0})),ot("* => asc, * => desc, * => active, * => hint, * => void",rt("0ms")),ot("* <=> *",rt(El))]),arrowPosition:pn("arrowPosition",[ot("* => desc-to-hint, * => desc-to-active",rt(El,qd([be({transform:"translateY(-25%)"}),be({transform:"translateY(0)"})]))),ot("* => hint-to-desc, * => active-to-desc",rt(El,qd([be({transform:"translateY(0)"}),be({transform:"translateY(25%)"})]))),ot("* => asc-to-hint, * => asc-to-active",rt(El,qd([be({transform:"translateY(25%)"}),be({transform:"translateY(0)"})]))),ot("* => hint-to-asc, * => active-to-asc",rt(El,qd([be({transform:"translateY(0)"}),be({transform:"translateY(-25%)"})]))),gt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",be({transform:"translateY(0)"})),gt("hint-to-desc, active-to-desc, desc",be({transform:"translateY(-25%)"})),gt("hint-to-asc, active-to-asc, asc",be({transform:"translateY(25%)"}))]),allowChildren:pn("allowChildren",[ot("* <=> *",[Wd("@*",W_(),{optional:!0})])])};let u0=(()=>{class n{constructor(){this.changes=new q}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const QPe={provide:u0,deps:[[new fo,new Fa,u0]],useFactory:function KPe(n){return n||new u0}},XPe=ko(class{});let v$=(()=>{class n extends XPe{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=te(e)}constructor(e,i,r,o,a,s,l,c){super(),this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=o,this._focusMonitor=a,this._elementRef=s,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",c?.arrowPosition&&(this.arrowPosition=c?.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=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.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(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.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 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()?"asc"==this._sort.direction?"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=dt(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()})}}return n.\u0275fac=function(e){return new(e||n)(g(u0),g(ze),g(jM,8),g("MAT_SORT_HEADER_COLUMN_DEF",8),g(dr),g(W),g(WF,8),g(b$,8))},n.\u0275cmp=$({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&E("click",function(){return i._handleClick()})("keydown",function(o){return i._handleKeydown(o)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(ie("aria-sort",i._getAriaSortAttribute()),ce("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[N],attrs:UPe,ngContentSelectors:qPe,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[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(e,i){1&e&&(qe(),f(0,"div",0)(1,"div",1),re(2),m(),S(3,GPe,6,6,"div",2),m()),2&e&&(ce("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),ie("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),b(3),_("ngIf",i._renderArrow()))},dependencies:[Be],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;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:[mh.indicator,mh.leftPointer,mh.rightPointer,mh.arrowOpacity,mh.arrowPosition,mh.allowChildren]},changeDetection:0}),n})(),y$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[QPe],imports:[ke,Ue]}),n})();function UM(n){return Ht({subscribe:()=>console.log("SUBSCRIBE",n),unsubscribe:()=>console.log("UNSUBSCRIBE",n),next:t=>console.log("NEXT",n,t),error:t=>console.log("ERROR",n,t),complete:()=>console.log("COMPLETE",n)})}function ZPe(n,t){1&n&&T(0,"mat-checkbox",14),2&n&&_("checked",x(2).$implicit.checked)}function eLe(n,t){if(1&n){const e=Y();f(0,"a",12),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),S(1,ZPe,1,1,"mat-checkbox",13),C(2),m()}if(2&n){const e=x().$implicit,i=x(3);_("href",i.defaultTrue(e.show)&&e.href,Ko)("disabled",e.disabled)("ngClass",i.needMargin(e)),b(1),_("ngIf",i.useCheckbox(e)),b(1),me(" ",e.label," ")}}function tLe(n,t){1&n&&T(0,"mat-checkbox",14),2&n&&_("checked",x(2).$implicit.checked)}function nLe(n,t){if(1&n){const e=Y();f(0,"button",15),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),S(1,tLe,1,1,"mat-checkbox",13),C(2),m()}if(2&n){const e=x().$implicit,i=x(3);_("disabled",e.disabled)("ngClass",i.needMargin(e)),b(1),_("ngIf",i.useCheckbox(e)),b(1),me(" ",e.label," ")}}function iLe(n,t){1&n&&T(0,"mat-checkbox",14),2&n&&_("checked",x(2).$implicit.checked)}function rLe(n,t){if(1&n){const e=Y();f(0,"a",19),E("click",function(r){const a=B(e).$implicit;return V(a.click(a,r))}),C(1),m()}if(2&n){const e=t.$implicit;_("disabled",e.disabled),b(1),me(" ",e.label," ")}}function oLe(n,t){1&n&&S(0,rLe,2,2,"a",18),2&n&&_("ngForOf",x(2).$implicit.buttons)}function aLe(n,t){if(1&n){const e=Y();Dt(0),f(1,"button",16),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),S(2,iLe,1,1,"mat-checkbox",13),C(3),m(),f(4,"mat-menu",null,17),S(6,oLe,1,1,"ng-template",3),m(),St()}if(2&n){const e=mt(5),i=x().$implicit,r=x(3);b(1),_("matMenuTriggerFor",e)("ngClass",r.needMargin(i)),b(1),_("ngIf",r.useCheckbox(i)),b(1),me(" ",i.label," ")}}function sLe(n,t){if(1&n&&(Dt(0),S(1,eLe,3,5,"a",9),S(2,nLe,3,4,"button",10),S(3,aLe,7,4,"ng-container",11),St()),2&n){const e=t.$implicit,i=x(3);b(1),_("ngIf",e.href),b(1),_("ngIf",i.defaultTrue(e.show)&&!e.href&&!e.buttons),b(1),_("ngIf",i.defaultTrue(e.show)&&e.buttons)}}function lLe(n,t){if(1&n&&(f(0,"button",20)(1,"span"),Ce(2,21),m()()),2&n){const e=x(3);_("matMenuTriggerFor",mt(6))("ngClass",e.needMargin(null))}}function cLe(n,t){if(1&n&&(S(0,sLe,4,3,"ng-container",7),S(1,lLe,3,2,"button",8)),2&n){const e=x(2);_("ngForOf",e.buttons),b(1),_("ngIf",e.displayedColumns.length)}}function dLe(n,t){if(1&n&&(Dt(0),f(1,"button",4),T(2,"mat-icon",5),m(),f(3,"mat-menu",null,6),S(5,cLe,2,2,"ng-template",3),m(),St()),2&n){const e=mt(4);b(1),_("matMenuTriggerFor",e)}}function uLe(n,t){if(1&n){const e=Y();f(0,"a",25),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),T(1,"mat-icon",26),m()}if(2&n){const e=x().$implicit,i=x(2);_("href",i.defaultTrue(e.show)&&e.href,Ko)("disabled",e.disabled)("color",i.color(e))("matTooltip",e.label),b(1),_("naturalIcon",e.icon)}}function hLe(n,t){if(1&n){const e=Y();f(0,"button",27),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),T(1,"mat-icon",26),m()}if(2&n){const e=x().$implicit,i=x(2);_("disabled",e.disabled)("color",i.color(e))("matTooltip",e.label),b(1),_("naturalIcon",e.icon)}}function fLe(n,t){if(1&n){const e=Y();f(0,"a",19),E("click",function(r){const a=B(e).$implicit;return V(a.click(a,r))}),C(1),m()}if(2&n){const e=t.$implicit;_("disabled",e.disabled),b(1),me(" ",e.label," ")}}function pLe(n,t){1&n&&S(0,fLe,2,2,"a",18),2&n&&_("ngForOf",x(2).$implicit.buttons)}function mLe(n,t){if(1&n){const e=Y();Dt(0),f(1,"button",28),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),T(2,"mat-icon",26),m(),f(3,"mat-menu",null,29),S(5,pLe,1,1,"ng-template",3),m(),St()}if(2&n){const e=mt(4),i=x().$implicit,r=x(2);b(1),_("matMenuTriggerFor",e)("disabled",i.disabled)("color",r.color(i))("matTooltip",i.label),b(1),_("naturalIcon",i.icon)}}function gLe(n,t){if(1&n&&(Dt(0),S(1,uLe,2,5,"a",23),S(2,hLe,2,4,"button",24),S(3,mLe,6,5,"ng-container",11),St()),2&n){const e=t.$implicit,i=x(2);b(1),_("ngIf",e.href),b(1),_("ngIf",i.defaultTrue(e.show)&&!e.href&&!e.buttons),b(1),_("ngIf",i.defaultTrue(e.show)&&e.buttons)}}function _Le(n,t){1&n&&(f(0,"button",30),T(1,"mat-icon",31),m()),2&n&&(x(2),_("matMenuTriggerFor",mt(6)))}function bLe(n,t){if(1&n&&(S(0,gLe,4,3,"ng-container",7),S(1,_Le,2,1,"button",22)),2&n){const e=x();_("ngForOf",e.buttons),b(1),_("ngIf",e.displayedColumns.length)}}function vLe(n,t){if(1&n){const e=Y();f(0,"div",33),E("click",function(r){const a=B(e).$implicit,s=x(2);return r.stopPropagation(),a.checked=!a.checked,V(s.updateColumns())}),f(1,"mat-checkbox",34),E("click",function(r){return r.stopPropagation()})("change",function(){return B(e),V(x(2).updateColumns())})("ngModelChange",function(r){return V(B(e).$implicit.checked=r)}),C(2),m()()}if(2&n){const e=t.$implicit;b(1),_("ngModel",e.checked),b(1),xe(e.label)}}function yLe(n,t){1&n&&S(0,vLe,3,2,"div",32),2&n&&_("ngForOf",x().displayedColumns)}let C$=(()=>{class n{set availableColumns(e){this._availableColumns=e?.map(i=>({checked:!0,hidden:!1,...i}))??[]}set selections(e){this._selections=e,e&&this._availableColumns.length&&this._availableColumns.forEach(i=>{i.checked=e.includes(i.id)})}constructor(e){this.breakpointObserver=e,this._availableColumns=[],this.buttons=[],this.selectionChange=new j,this.displayedColumns=[],this.ngUnsubscribe=new q,this.isMobile=this.breakpointObserver.observe("(max-width: 599.98px)").pipe(ue(i=>i.matches))}initColumns(){this._availableColumns?.forEach(e=>{e.checked=this._selections?.length?this._selections.includes(e.id):e.checked}),this.displayedColumns=this._availableColumns.filter(e=>!e.hidden)??[]}updateColumns(){const e=this._availableColumns.filter(i=>i.checked).map(i=>i.id);this.selectionChange.emit(e)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngOnChanges(e){(function JPe(n,t=0){return nc(t).pipe(lt(1),se(n),ue(()=>{}))})(this.ngUnsubscribe).subscribe(()=>{e.availableColumns?(this.initColumns(),this.updateColumns()):e.selections&&this.updateColumns()})}defaultTrue(e){return e??!0}color(e){return e.checked?"primary":null}useCheckbox(e){return"checked"in e}needMargin(e=null){return!this.buttons?.some(this.useCheckbox)||e&&this.useCheckbox(e)?"":"align-with-checkbox"}someVisibleButtons(){return(this.buttons?.reduce((i,r)=>this.defaultTrue(r.show)?1:0,0)??0)>0}}return n.\u0275fac=function(e){return new(e||n)(g(Nf))},n.\u0275cmp=$({type:n,selectors:[["natural-columns-picker"]],inputs:{buttons:"buttons",availableColumns:"availableColumns",selections:"selections"},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[Je,Se],decls:8,vars:4,consts:function(){let t,e;return t=$localize`:␟d9c43f4cfc3cde8d56a7c8461e33a23aea2dca69␟3298063886296349322:Colonnes`,e=$localize`:␟e8a4364be8b1df617e75d6d4d6510d8afa887ae0␟7906097430996361692:Sélectionner les colonnes`,[[4,"ngIf","ngIfElse"],["elseBlock",""],["columnMenu","matMenu"],["matMenuContent",""],["mat-icon-button","",3,"matMenuTriggerFor"],["naturalIcon","more_vert"],["mobileMenu","matMenu"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matMenuTriggerFor","ngClass",4,"ngIf"],["mat-menu-item","",3,"href","disabled","ngClass","click",4,"ngIf"],["mat-menu-item","",3,"disabled","ngClass","click",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"href","disabled","ngClass","click"],[3,"checked",4,"ngIf"],[3,"checked"],["mat-menu-item","",3,"disabled","ngClass","click"],["mat-menu-item","",3,"matMenuTriggerFor","ngClass","click"],["subMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","ngClass"],t,["mat-icon-button","","matTooltip",e,3,"matMenuTriggerFor",4,"ngIf"],["mat-icon-button","",3,"href","disabled","color","matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"disabled","color","matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"href","disabled","color","matTooltip","click"],[3,"naturalIcon"],["mat-icon-button","",3,"disabled","color","matTooltip","click"],["mat-icon-button","",3,"matMenuTriggerFor","disabled","color","matTooltip","click"],["menu","matMenu"],["mat-icon-button","","matTooltip",e,3,"matMenuTriggerFor"],["naturalIcon","view_column"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[3,"ngModel","click","change","ngModelChange"]]},template:function(e,i){if(1&e&&(f(0,"div"),S(1,dLe,6,1,"ng-container",0),Q(2,"async"),S(3,bLe,2,2,"ng-template",null,1,_o),m(),f(5,"mat-menu",null,2),S(7,yLe,1,1,"ng-template",3),m()),2&e){const r=mt(4);b(1),_("ngIf",X(2,2,i.isMobile)&&i.someVisibleButtons())("ngIfElse",r)}},dependencies:[ke,Yr,Zt,Be,Df,ct,n1,Ar,rM,nM,dh,AIe,iM,ai,ei,ui,Wc,Dl,Ja,Xa,Ut,jt,Us],styles:[".align-with-checkbox[_ngcontent-%COMP%]{padding-left:61px}"]}),n})();function CLe(n,t){1&n&&T(0,"tr",29)}function wLe(n,t){1&n&&T(0,"tr",30)}function xLe(n,t){if(1&n){const e=Y();f(0,"th",31)(1,"mat-checkbox",32),E("change",function(r){B(e);const o=x(2);return V(r?o.masterToggle():null)}),m()()}if(2&n){const e=x(2);b(1),_("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function DLe(n,t){if(1&n){const e=Y();f(0,"td",33)(1,"mat-checkbox",34),E("change",function(r){const a=B(e).$implicit,s=x(2);return V(r?s.selection.toggle(a):null)})("click",function(r){return r.stopPropagation()}),m()()}if(2&n){const e=t.$implicit,i=x(2);b(1),_("checked",i.selection.isSelected(e))}}function SLe(n,t){1&n&&(f(0,"th",31),C(1,"id"),m())}function kLe(n,t){if(1&n&&(f(0,"td",33),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.id)}}function ELe(n,t){1&n&&(f(0,"th",35),C(1,"name"),m())}const MLe=function(){return["."]};function TLe(n,t){if(1&n&&(f(0,"td",33),T(1,"natural-table-button",36),m()),2&n){const e=t.$implicit;b(1),_("label",e.name)("navigate",wn(2,MLe))}}function ALe(n,t){1&n&&(f(0,"th",37),C(1,"description"),m())}function ILe(n,t){if(1&n&&(f(0,"td",38),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.description)}}function OLe(n,t){1&n&&(f(0,"th",37),C(1,"hidden"),m())}function RLe(n,t){1&n&&(f(0,"td",38),C(1,"visible but hidden in dropdown"),m())}function NLe(n,t){1&n&&(f(0,"th",37),C(1,"Not in picker"),m())}function FLe(n,t){1&n&&(f(0,"td",38),C(1,"should never be visible, even if solicited by url"),m())}function PLe(n,t){1&n&&(f(0,"div",39)(1,"div"),C(2,"Pas de r\xe9sultats"),m()())}function LLe(n,t){1&n&&(f(0,"div",39),T(1,"mat-progress-spinner",40),m()),2&n&&(b(1),_("diameter",40))}function BLe(n,t){if(1&n){const e=Y();f(0,"div",2)(1,"div",3)(2,"div",4),C(3),m(),f(4,"natural-columns-picker",5),E("selectionChange",function(r){return B(e),V(x().selectColumns(r))}),m()(),f(5,"div",6)(6,"div",7)(7,"natural-search",8),E("selectionChange",function(r){return B(e),V(x().search(r))}),m()(),f(8,"div",9)(9,"table",10),E("matSortChange",function(r){return B(e),V(x().sorting([r]))}),S(10,CLe,1,0,"tr",11),S(11,wLe,1,0,"tr",12),Dt(12,13),S(13,xLe,2,2,"th",14),S(14,DLe,2,1,"td",15),St(),Dt(15,16),S(16,SLe,2,0,"th",14),S(17,kLe,2,1,"td",15),St(),Dt(18,17),S(19,ELe,2,0,"th",18),S(20,TLe,2,3,"td",15),St(),Dt(21,19),S(22,ALe,2,0,"th",20),S(23,ILe,2,1,"td",21),St(),Dt(24,22),S(25,OLe,2,0,"th",20),S(26,RLe,2,0,"td",21),St(),Dt(27,23),S(28,NLe,2,0,"th",20),S(29,FLe,2,0,"td",21),St(),m()(),S(30,PLe,3,0,"div",24),S(31,LLe,2,1,"div",24),f(32,"mat-paginator",25),E("page",function(r){return B(e),V(x().pagination(r))}),m()(),f(33,"div",26)(34,"pre",27),C(35),Q(36,"json"),m(),f(37,"pre",27),C(38),Q(39,"json"),m(),f(40,"pre",28),C(41),Q(42,"json"),m(),f(43,"pre",28),C(44),Q(45,"json"),m()()()}if(2&n){const e=x();b(3),xe(null==e.routeData?null:e.routeData.title),b(1),_("availableColumns",e.availableColumns)("selections",e.selectedColumns)("buttons",e.buttons),b(3),_("facets",e.naturalSearchFacets)("multipleGroups",!0)("selections",e.naturalSearchSelections),b(2),_("dataSource",e.dataSource),b(1),_("matHeaderRowDef",e.columnsForTable),b(1),_("matRowDefColumns",e.columnsForTable),b(19),_("ngIf",0===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("ngIf",null===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("length",null==e.dataSource.data?null:e.dataSource.data.length)("pageIndex",null==e.dataSource.data?null:e.dataSource.data.pageIndex)("pageSizeOptions",e.pageSizeOptions)("pageSize",null==e.dataSource.data?null:e.dataSource.data.pageSize),b(3),me("columnsForTable : ",X(36,20,e.columnsForTable),""),b(3),me("selectedColumns : ",X(39,22,e.selectedColumns),""),b(3),me("variables : ",X(42,24,e.variablesManager.variables.value),""),b(3),me("row selection : ",X(45,26,e.selection.selected),"")}}let w$=(()=>{class n extends _${constructor(e){super(e),this.pageSizeOptions=[1,2,3,4,5],this.availableColumns=[{id:"select",label:"select"},{id:"id",label:"id",checked:!1},{id:"name",label:"name"},{id:"description",label:"description"},{id:"hidden",label:"hidden in menu",hidden:!0}],this.buttons=[{label:"Button with nothing",icon:"favorite"},{label:"Button with callback",icon:"forest",click:console.log},{label:"Button with href",icon:"diamond",href:"/"},{label:"Button with check",icon:"check",checked:!1,click:i=>{i.checked=!i.checked}},{label:"Button with sub-buttons",icon:"bolt",buttons:[{label:"My sub-button 1",click:console.log},{label:"My sub-button 2",click:console.log}]}],this.defaultPagination={offset:null,pageIndex:0,pageSize:5},this.defaultSorting=[{field:"name",order:Ro.DESC}]}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-list"]],standalone:!0,features:[N,Se],decls:3,vars:1,consts:[[1,"mat-headline-4"],["fxFlex","","fxLayout","column",4,"ngIf"],["fxFlex","","fxLayout","column"],["fxLayout","row"],["fxFlex","",1,"mat-headline-6","no-margin"],[3,"availableColumns","selections","buttons","selectionChange"],["fxLayout","column"],["fxLayout","row","overflow","",1,"margin-v"],["fxFlex","",3,"facets","multipleGroups","selections","selectionChange"],[1,"responsive-table"],["mat-table","","matSort","",3,"dataSource","matSortChange"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","select"],["mat-header-cell","","natural-3em-column","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-cell","","natural-align-right","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","natural-align-right","",4,"matCellDef"],["matColumnDef","hidden"],["matColumnDef","not-in-picker"],["class","margin","fxLayout","column","fxLayoutAlign","center center",4,"ngIf"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],["fxLayout","row","fxLayoutGap","20px"],[1,"debug",2,"overflow","auto"],["fxFlex","",1,"debug",2,"overflow","auto"],["mat-header-row",""],["mat-row",""],["mat-header-cell","","natural-3em-column",""],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"checked","change","click"],["mat-header-cell","","mat-sort-header",""],["icon","add",3,"label","navigate"],["mat-header-cell","","natural-align-right","","mat-sort-header",""],["mat-cell","","natural-align-right",""],["fxLayout","column","fxLayoutAlign","center center",1,"margin"],["mode","indeterminate",3,"diameter"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAbstractList"),m(),S(2,BLe,46,28,"div",1)),2&e&&(b(2),_("ngIf",i.dataSource))},dependencies:[ke,Be,Kr,$n,An,Hn,us,qu,C$,o0,ny,Kp,zu,Qp,Hu,Vu,Xp,$u,ju,Jp,Zp,y$,jM,v$,Wc,Dl,$M,Im,Am,N1,R1],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"]}),n})(),VLe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-modal-placeholder"]],standalone:!0,features:[Se],decls:9,vars:1,consts:[["mat-dialog-title",""],[1,"mat-typography"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,i){1&e&&(f(0,"h2",0),C(1,"title"),m(),f(2,"mat-dialog-content",1),C(3," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi cursus, lectus sed facilisis viverra, turpis massa bibendum orci, porttitor aliquam sapien odio eget leo. Integer aliquet orci accumsan sapien sollicitudin eleifend. Etiam at tortor odio. Pellentesque aliquet sapien ac lacus rutrum accumsan. Donec rutrum placerat leo, vitae placerat augue tincidunt non. Sed non leo suscipit, euismod arcu eget, vestibulum purus. Nunc pretium, arcu et sodales vestibulum, massa tellus tincidunt tellus, ac aliquam lectus lectus nec lectus. Vivamus semper lacus at nibh auctor, quis vehicula metus accumsan. Fusce tristique, magna at vestibulum aliquet, dolor enim ornare lorem, eget vestibulum nisl massa a diam. Cras ut molestie ligula. Nam posuere nibh sed velit porta mattis. Sed nec justo eget nulla sodales egestas. Nulla facilisi.\n"),m(),f(4,"mat-dialog-actions",2)(5,"button",3),C(6,"Cancel"),m(),f(7,"button",4),C(8,"Ok"),m()()),2&e&&(b(7),_("mat-dialog-close",!0))},dependencies:[Js,yc,Cc,wc,xc,ct,en]}),n})(),zLe=(()=>{class n extends _${constructor(e){super(e),this.ancestorRelationName="parent",this.oldAncertorId=null,this.breadcrumbs=[]}ngOnInit(){this.route.params.subscribe(e=>{if(e.ns)return;let i=null;if(e.na){i={have:{values:[e.na]}},this.service.getOne(e.na).subscribe(s=>this.breadcrumbs=this.getBreadcrumb(s));const a=e.na!==this.oldAncertorId;this.oldAncertorId=e.na,this.clearSearch(a)}else i={empty:{}},this.breadcrumbs=[];const r={};r[this.ancestorRelationName]=i,this.variablesManager.set("navigation",{filter:{groups:[{conditions:[r]}]}})}),super.ngOnInit()}getDataObservable(){return this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe),ue(e=>{const i=e.items.map(o=>{const a={item:o,hasNavigation:!1},s={};s[this.ancestorRelationName]={have:{values:[o.id]}};const l={filter:{groups:[{conditions:[s]}]}},c=new ha;return c.set("variables",l),this.service.count(c).pipe(eo()).subscribe(d=>a.hasNavigation=d>0),a});return{...e,items:i}}))}translateSearchAndRefreshList(e){e.some(i=>i.length)&&(this.variablesManager.set("navigation",null),this.breadcrumbs=[]),super.translateSearchAndRefreshList(e)}clearSearch(e=!0){this.naturalSearchSelections=[[]],super.search([[]],void 0,e),this.persistenceService.persistInStorage("ns",null,this.getStorageKey())}search(e,i,r=!0){this.persistenceService.persistInUrl("na",null,this.route).then(()=>{super.search(e,i,r)})}getChildLink(e){return e&&e.id?[".",{na:e.id}]:[".",{}]}getBreadcrumb(e){const i=e[this.ancestorRelationName];return i?this.getBreadcrumb(i).concat([e]):[e]}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{ancestorRelationName:"ancestorRelationName"},features:[N]}),n})();function HLe(n,t){if(1&n&&(f(0,"a",28),T(1,"mat-icon",29),f(2,"span"),C(3),m()()),2&n){const e=t.$implicit;_("routerLink",x(2).getChildLink(e)),b(3),xe(e.name)}}function $Le(n,t){1&n&&T(0,"tr",30)}function jLe(n,t){1&n&&T(0,"tr",31)}function ULe(n,t){if(1&n){const e=Y();f(0,"th",32)(1,"mat-checkbox",33),E("change",function(r){B(e);const o=x(2);return V(r?o.masterToggle():null)}),m()()}if(2&n){const e=x(2);b(1),_("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function GLe(n,t){if(1&n){const e=Y();f(0,"td",34)(1,"mat-checkbox",35),E("change",function(r){const a=B(e).$implicit,s=x(2);return V(r?s.selection.toggle(a.item):null)})("click",function(r){return r.stopPropagation()}),m()()}if(2&n){const e=t.$implicit,i=x(2);b(1),_("checked",i.selection.isSelected(e.item))}}function qLe(n,t){1&n&&T(0,"th",32)}function WLe(n,t){if(1&n&&T(0,"natural-table-button",37),2&n){const e=x().$implicit;_("navigate",x(2).getChildLink(e.item))}}function YLe(n,t){if(1&n&&(f(0,"td",34),S(1,WLe,1,1,"natural-table-button",36),m()),2&n){const e=t.$implicit;b(1),_("ngIf",e.hasNavigation)}}function KLe(n,t){1&n&&(f(0,"th",32),C(1,"id"),m())}function QLe(n,t){if(1&n&&(f(0,"td",34),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.item.id)}}function XLe(n,t){1&n&&(f(0,"th",38),C(1,"name"),m())}function JLe(n,t){if(1&n&&(f(0,"td",34),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.item.name)}}function ZLe(n,t){1&n&&(f(0,"th",39),C(1,"description"),m())}function e3e(n,t){if(1&n&&(f(0,"td",40),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.item.description)}}function t3e(n,t){1&n&&(f(0,"div",41)(1,"div"),C(2,"Pas de r\xe9sultats"),m()())}function n3e(n,t){1&n&&(f(0,"div",41),T(1,"mat-progress-spinner",42),m()),2&n&&(b(1),_("diameter",40))}function i3e(n,t){if(1&n){const e=Y();f(0,"div",2)(1,"div",3)(2,"div",4),S(3,HLe,4,2,"a",5),m(),f(4,"div",6)(5,"natural-search",7),E("selectionChange",function(r){return B(e),V(x().search(r))}),f(6,"natural-columns-picker",8),E("selectionChange",function(r){return B(e),V(x().selectColumns(r))}),m()()(),f(7,"div",9)(8,"table",10),E("matSortChange",function(r){return B(e),V(x().sorting([r]))}),S(9,$Le,1,0,"tr",11),S(10,jLe,1,0,"tr",12),Dt(11,13),S(12,ULe,2,2,"th",14),S(13,GLe,2,1,"td",15),St(),Dt(14,16),S(15,qLe,1,0,"th",14),S(16,YLe,2,1,"td",15),St(),Dt(17,17),S(18,KLe,2,0,"th",14),S(19,QLe,2,1,"td",15),St(),Dt(20,18),S(21,XLe,2,0,"th",19),S(22,JLe,2,1,"td",15),St(),Dt(23,20),S(24,ZLe,2,0,"th",21),S(25,e3e,2,1,"td",22),St(),m()(),S(26,t3e,3,0,"div",23),S(27,n3e,2,1,"div",23),f(28,"mat-paginator",24),E("page",function(r){return B(e),V(x().pagination(r))}),m()(),f(29,"div",25)(30,"pre",26),C(31),Q(32,"json"),m(),f(33,"pre",26),C(34),Q(35,"json"),m(),f(36,"pre",27),C(37),Q(38,"json"),m(),f(39,"pre",27),C(40),Q(41,"json"),m()()()}if(2&n){const e=x();b(3),_("ngForOf",e.breadcrumbs),b(2),_("facets",e.naturalSearchFacets)("multipleGroups",!0)("selections",e.naturalSearchSelections),b(1),_("availableColumns",e.availableColumns)("selections",e.selectedColumns),b(2),_("dataSource",e.dataSource),b(1),_("matHeaderRowDef",e.columnsForTable),b(1),_("matRowDefColumns",e.columnsForTable),b(16),_("ngIf",0===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("ngIf",null===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("length",null==e.dataSource.data?null:e.dataSource.data.length)("pageIndex",null==e.dataSource.data?null:e.dataSource.data.pageIndex)("pageSizeOptions",e.pageSizeOptions)("pageSize",null==e.dataSource.data?null:e.dataSource.data.pageSize),b(3),me("columnsForTable : ",X(32,19,e.columnsForTable),""),b(3),me("selectedColumns : ",X(35,21,e.selectedColumns),""),b(3),me("variables : ",X(38,23,e.variablesManager.variables.value),""),b(3),me("row selection : ",X(41,25,e.selection.selected),"")}}let r3e=(()=>{class n extends zLe{constructor(e){super(e),this.defaultPagination={offset:null,pageIndex:0,pageSize:5},this.availableColumns=[{id:"select",label:"select"},{id:"navigation",label:"navigation"},{id:"name",label:"name"},{id:"description",label:"description"}],this.defaultSorting=[{field:"name",order:Ro.DESC}]}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-navigable-list"]],standalone:!0,features:[N,Se],decls:3,vars:1,consts:[[1,"mat-headline-4"],["fxFlex","","fxLayout","column",4,"ngIf"],["fxFlex","","fxLayout","column"],["fxLayout","column"],["fxLayout","row wrap"],["class","no-padding","mat-button","",3,"routerLink",4,"ngFor","ngForOf"],["fxLayout","row","overflow","",1,"margin-v"],["fxFlex","",3,"facets","multipleGroups","selections","selectionChange"],[3,"availableColumns","selections","selectionChange"],[1,"responsive-table"],["mat-table","","matSort","",3,"dataSource","matSortChange"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","select"],["mat-header-cell","","natural-3em-column","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","navigation"],["matColumnDef","id"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-cell","","natural-align-right","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","natural-align-right","",4,"matCellDef"],["class","margin","fxLayout","column","fxLayoutAlign","center center",4,"ngIf"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],["fxLayout","row","fxLayoutGap","20px"],[1,"debug",2,"overflow","auto"],["fxFlex","",1,"debug",2,"overflow","auto"],["mat-button","",1,"no-padding",3,"routerLink"],["naturalIcon","chevron_right"],["mat-header-row",""],["mat-row",""],["mat-header-cell","","natural-3em-column",""],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"checked","change","click"],["icon","chevron_right","matTooltip","Show children",3,"navigate",4,"ngIf"],["icon","chevron_right","matTooltip","Show children",3,"navigate"],["mat-header-cell","","mat-sort-header",""],["mat-header-cell","","natural-align-right","","mat-sort-header",""],["mat-cell","","natural-align-right",""],["fxLayout","column","fxLayoutAlign","center center",1,"margin"],["mode","indeterminate",3,"diameter"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAbstractNavigableList"),m(),S(2,i3e,42,27,"div",1)),2&e&&(b(2),_("ngIf",i.dataSource))},dependencies:[ke,Zt,Be,Kr,$n,An,Hn,us,qu,ct,tc,ur,ai,ei,ui,o0,C$,ny,Kp,zu,Qp,Hu,Vu,Xp,$u,ju,Jp,Zp,y$,jM,v$,Wc,Dl,$M,Ja,Xa,Im,Am,N1,R1],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"]}),n})(),a3e=(()=>{class n{constructor(){this.naturalHttpPrefix=null}httpize(e){if(this.naturalHttpPrefix){const i=function o3e(n){if(!n)return n;const t=/^(https?):\/\//i.test(n),e=0==="https://".indexOf(n)||0==="http://".indexOf(n);return t||e?n:"http://"+n}(e)||e;e!==i&&this.naturalHttpPrefix.setValue(i)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","naturalHttpPrefix",""]],hostBindings:function(e,i){1&e&&E("ngModelChange",function(o){return i.httpize(o)})},inputs:{naturalHttpPrefix:"naturalHttpPrefix"},standalone:!0}),n})();function s3e(n,t){if(1&n&&T(0,"natural-table-button",25),2&n){const e=t.$implicit;_("label",e.label)("icon",e.icon)("href",e.href)("navigate",e.navigate)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("color",e.color)}}function l3e(n,t){if(1&n){const e=Y();f(0,"natural-table-button",26),E("buttonClick",function(r){return B(e),V(x().log(r))}),m()}if(2&n){const e=t.$implicit;_("label",e.label)("icon",e.icon)("color",e.color)}}let c3e=(()=>{class n{constructor(e){this.httpClient=e,this.httpPrefixControl=new wt("",[$t.required]),this.configurations=[{label:"my label without any link",icon:void 0,href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:void 0,icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label without any link",icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with undefined navigate",icon:"home",href:void 0,navigate:void 0,queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with routerLink",icon:void 0,href:void 0,navigate:["/search"],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with href",icon:void 0,href:"/search",navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with queryParams but no routerLink",icon:void 0,href:void 0,navigate:[],queryParams:{foo:"bar"},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with queryParams and routerLink",icon:"home",href:void 0,navigate:["/search"],queryParams:{foo:"bar"},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"with colors",icon:"home",href:void 0,navigate:["/search"],queryParams:{foo:"bar"},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:"primary"}],this.configurationsWithClick=[{label:"my label with click",icon:void 0,href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:void 0,icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with click",icon:void 0,href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:void 0,icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0}],this.httpPrefixGroup=new Vn({prefix:new wt("",[$t.required])})}ngOnInit(){this.httpPrefixControl.valueChanges.subscribe(e=>{console.log("httpPrefixControl.valueChanges",e)}),this.httpPrefixGroup.valueChanges.subscribe(e=>{console.log("httpPrefixGroup.valueChanges",e)})}error(){throw Error("I'm a natural error")}error2(){this.httpClient.get("https://doesnotexist.youpi").subscribe()}error3(){fetch("https://doesnotexist.youpi").then()}log(e){console.log("clicked",e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ef))},n.\u0275cmp=$({type:n,selectors:[["app-other"]],standalone:!0,features:[Se],decls:109,vars:44,consts:[[1,"mat-headline-6"],[1,"mat-body"],[3,"label","icon","href","navigate","queryParams","queryParamsHandling","fragment","preserveFragment","color",4,"ngFor","ngForOf"],[3,"label","icon","color","buttonClick",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutGap","20px"],["matInput","",3,"naturalHttpPrefix","formControl"],[1,"debug"],[3,"formGroup"],["matInput","","formControlName","prefix",3,"naturalHttpPrefix"],[1,"mat-body","icons"],["fontIcon","search"],["naturalIcon","search",3,"size"],["naturalIcon","search"],["naturalIcon","natural",3,"size"],["naturalIcon","github",3,"size"],["mat-raised-button","","color","accent","aria-label","Example icon-button with a menu",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["matInput",""],["matIconPrefix","","fontIcon","language"],["matIconSuffix",""],["matIconPrefix","","naturalIcon","language"],["mat-flat-button","","color","primary","routerLink","dialog"],["mat-flat-button","","color","primary",3,"click"],["matRipple","",2,"padding","20px","border","1px solid cyan"],[3,"label","icon","href","navigate","queryParams","queryParamsHandling","fragment","preserveFragment","color"],[3,"label","icon","color","buttonClick"]],template:function(e,i){if(1&e&&(f(0,"div")(1,"h1",0),C(2,"natural-table-button"),m(),f(3,"div",1),S(4,s3e,1,9,"natural-table-button",2),S(5,l3e,1,3,"natural-table-button",3),m(),f(6,"h1",0),C(7,"HTTP Prefix"),m(),f(8,"div",4)(9,"div")(10,"mat-form-field")(11,"mat-label"),C(12,"formControl"),m(),T(13,"input",5),m(),f(14,"pre",6),C(15),Q(16,"json"),Q(17,"json"),Q(18,"json"),Q(19,"json"),Q(20,"json"),m()(),f(21,"div",7)(22,"mat-form-field")(23,"mat-label"),C(24,"formGroup"),m(),T(25,"input",8),m(),f(26,"pre",6),C(27),Q(28,"json"),Q(29,"json"),Q(30,"json"),Q(31,"json"),Q(32,"json"),m()()(),T(33,"br")(34,"br")(35,"br"),f(36,"h1",0),C(37,"Icons"),m(),f(38,"div",9)(39,"span"),C(40,"Native font mat-icon"),m(),T(41,"mat-icon",10),f(42,"span"),C(43,"Font naturalIcon"),m(),T(44,"mat-icon",11)(45,"mat-icon",12)(46,"mat-icon",11)(47,"mat-icon",11)(48,"mat-icon",11),f(49,"span"),C(50,"SVG naturalIcon"),m(),T(51,"mat-icon",13)(52,"mat-icon",14),m(),f(53,"div",9)(54,"button",15),T(55,"mat-icon",10),C(56," Button with native mat-icon "),m(),f(57,"button",15),T(58,"mat-icon",12),C(59," Button with naturalIcon "),m(),f(60,"mat-menu",null,16)(62,"button",17),T(63,"mat-icon",10),f(64,"span"),C(65,"Option mat-icon"),m()(),f(66,"button",17),T(67,"mat-icon",12),f(68,"span"),C(69,"Option mat-icon"),m()()(),f(70,"mat-form-field")(71,"mat-label"),C(72,"Test mat-icon"),m(),T(73,"input",18)(74,"mat-icon",19)(75,"mat-datepicker-toggle",20),m(),f(76,"mat-form-field")(77,"mat-label"),C(78,"Test naturalIcon"),m(),T(79,"input",18)(80,"mat-icon",21)(81,"mat-datepicker-toggle",20),m()(),T(82,"br")(83,"br")(84,"br"),f(85,"h1",0),C(86,"Dialog trigger"),m(),f(87,"button",22),C(88,"Open dialog"),m(),T(89,"br")(90,"br")(91,"br")(92,"br"),f(93,"h1",0),C(94,"Error handler"),m(),f(95,"button",23),E("click",function(){return i.error()}),C(96,"Throw error !"),m(),f(97,"button",23),E("click",function(){return i.error2()}),C(98,"httpClient error !"),m(),f(99,"button",23),E("click",function(){return i.error3()}),C(100,"fetch error !"),m(),T(101,"br")(102,"br")(103,"br")(104,"br")(105,"br"),f(106,"div",24),C(107,"custom ripple"),m()(),T(108,"router-outlet")),2&e){const r=mt(61);let o;b(4),_("ngForOf",i.configurations),b(1),_("ngForOf",i.configurationsWithClick),b(8),_("naturalHttpPrefix",i.httpPrefixControl)("formControl",i.httpPrefixControl),b(2),go("touched: ",X(16,24,i.httpPrefixControl.touched),"\ndirty: ",X(17,26,i.httpPrefixControl.dirty),"\nstatus: ",X(18,28,i.httpPrefixControl.status),"\nerrors: ",X(19,30,i.httpPrefixControl.errors),"\nvalue: ",X(20,32,i.httpPrefixControl.value),"\n "),b(6),_("formGroup",i.httpPrefixGroup),b(4),_("naturalHttpPrefix",i.httpPrefixGroup.get("prefix")),b(2),go("touched: ",X(28,34,i.httpPrefixGroup.touched),"\ndirty: ",X(29,36,i.httpPrefixGroup.dirty),"\nstatus: ",X(30,38,i.httpPrefixGroup.status),"\nerrors: ",X(31,40,null==(o=i.httpPrefixGroup.get("prefix"))?null:o.errors),"\nvalue: ",X(32,42,i.httpPrefixGroup.value),"\n "),b(17),_("size",35),b(2),_("size",null),b(1),_("size",void 0),b(1),_("size",24),b(3),_("size",35),b(1),_("size",150),b(2),_("matMenuTriggerFor",r),b(3),_("matMenuTriggerFor",r)}},dependencies:[ke,Zt,Kr,$M,$n,An,Hn,mn,Mn,En,Y_,oc,Ii,Ai,Ut,di,jt,oi,a3e,sn,an,gn,Qa,ai,ei,ui,ct,en,rM,nM,dh,iM,CM,vM,ur,Eo,Ei,bc],styles:[".icons[_ngcontent-%COMP%]{display:flex;align-items:center}.icons[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(:last-child){margin-right:20px}"]}),n})();function x$(n){return n.content?.viewContainerRef.element.nativeElement.id??""}let D$=(()=>{class n extends ds{constructor(e,i,r){super(),this.component=e,this.route=i,this.router=r,this.naturalLinkableTab=!0}ngAfterViewInit(){!1!==this.naturalLinkableTab&&(this.route.fragment.pipe(se(this.ngUnsubscribe)).subscribe(e=>{const i=this.getTabIndex(e);(i>=0||!e)&&(this.component.selectedIndex=i)}),this.component.selectedTabChange.pipe(se(this.ngUnsubscribe)).subscribe(e=>{const i=x$(e.tab),r=this.route.snapshot.url;if(!r.length)throw new Error("Cannot update URL for tabs without any segments in URL");const o=Bp(r[r.length-1].parameters);this.router.navigate([".",o],{relativeTo:this.route,queryParamsHandling:"preserve",fragment:i&&i.length?i:void 0})}))}getTabIndex(e){return this.component._tabs.toArray().findIndex(i=>e===x$(i))}}return n.\u0275fac=function(e){return new(e||n)(g(B1),g(Nr),g(Zn))},n.\u0275dir=R({type:n,selectors:[["mat-tab-group","naturalLinkableTab",""]],inputs:{naturalLinkableTab:"naturalLinkableTab"},standalone:!0,features:[N]}),n})();const d3e=function(){return["panel","2"]},u3e=function(){return["invalid-url"]};let h3e=(()=>{class n extends zM{constructor(){super()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-any"]],standalone:!0,features:[N,Se],decls:20,vars:11,consts:[["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","",3,"routerLink"],["mat-flat-button","","routerLink","panel/3"],[3,"naturalLinkableTab"],["label","Tab1"],["label","Tab2"],["label","Tab3"],[1,"debug"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"a",1),C(2,"Panel 2 (dynamic)"),m(),f(3,"a",2),C(4,"Panel 3 (static)"),m(),f(5,"a",1),C(6,"invalid url"),m()(),f(7,"mat-tab-group",3)(8,"mat-tab",4),C(9,"Tab1"),m(),f(10,"mat-tab",5),C(11,"Tab2"),m(),f(12,"mat-tab",6),C(13,"Tab3"),m()(),f(14,"pre",7),C(15),Q(16,"json"),m(),f(17,"pre",7),C(18),Q(19,"json"),m()),2&e&&(b(1),_("routerLink",wn(9,d3e)),b(4),_("routerLink",wn(10,u3e)),b(2),_("naturalLinkableTab",!1),b(8),me("data : ",X(16,5,i.data),""),b(3),me("panelData : ",X(19,7,i.panelData),""))},dependencies:[$n,An,Hn,ct,tc,ur,m3,P1,B1,D$,ke,Kr]}),n})();const S$=[{path:"panel/:param",component:h3e,resolve:{foo:function f3e(){return ee({...ne(Ti).getItem(),name:"resolved",description:"resolved description"})}}}];let p3e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-panels"]],standalone:!0,features:[Se],decls:10,vars:0,consts:[[1,"mat-headline-4"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","routerLink","panel/1"],["mat-flat-button","","routerLink","panel/1/panel/2"],["mat-flat-button","","routerLink","invalid-url"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalPanelsService"),m(),f(2,"div",1)(3,"a",2),C(4,"Panel 1"),m(),f(5,"a",3),C(6,"Panel 1 & 2"),m(),f(7,"a",4),C(8,"invalid url"),m()(),T(9,"router-outlet"))},dependencies:[$n,An,Hn,ct,tc,ur,bc]}),n})();function k$(n,t,e){if(!t.has(n))throw new TypeError("attempted to "+e+" private field on non-instance");return t.get(n)}function E$(n,t,e){return function v3e(n,t,e){if(t.set)t.set.call(n,e);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=e}}(n,k$(n,t,"set"),e),e}const k3e=function w3e(n){return function(t){return n?.[t]}}({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});var E3e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,R3e=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var P3e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var V3e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var M$="\\ud800-\\udfff",T$="\\u2700-\\u27bf",A$="a-z\\xdf-\\xf6\\xf8-\\xff",I$="A-Z\\xc0-\\xd6\\xd8-\\xde",O$="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",N$="["+O$+"]",F$="\\d+",J3e="["+T$+"]",P$="["+A$+"]",L$="[^"+M$+O$+F$+T$+A$+I$+"]",B$="(?:\\ud83c[\\udde6-\\uddff]){2}",V$="[\\ud800-\\udbff][\\udc00-\\udfff]",gh="["+I$+"]",z$="(?:"+P$+"|"+L$+")",i4e="(?:"+gh+"|"+L$+")",H$="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$$="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",j$="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",U$="[\\ufe0e\\ufe0f]?",s4e=U$+j$+"(?:\\u200d(?:"+["[^"+M$+"]",B$,V$].join("|")+")"+U$+j$+")*",l4e="(?:"+[J3e,B$,V$].join("|")+")"+s4e,c4e=RegExp([gh+"?"+P$+"+"+H$+"(?="+[N$,gh,"$"].join("|")+")",i4e+"+"+$$+"(?="+[N$,gh+z$,"$"].join("|")+")",gh+"?"+z$+"+"+H$,gh+"+"+$$,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",F$,l4e].join("|"),"g");const f4e=function h4e(n,t,e){return n=rk(n),void 0===(t=e?void 0:t)?function z3e(n){return V3e.test(n)}(n)?function d4e(n){return n.match(c4e)||[]}(n):function L3e(n){return n.match(P3e)||[]}(n):n.match(t)||[]};var m4e=RegExp("['\u2019]","g"),_4e=function g4e(n){return function(t){return function y3e(n,t,e,i){var r=-1,o=null==n?0:n.length;for(i&&o&&(e=n[++r]);++r{var n=new WeakMap;class t extends zM{constructor(i,r){super(),function g3e(n,t,e){(function m3e(n,t){if(t.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")})(n,t),t.set(n,e)}(this,n,{writable:!0,value:void 0}),this.key=i,this.service=r,this.data={model:this.service.getDefaultForServer()},this.form=new x1({}),this.showFabButton=!0,this.alertService=ne(c0),this.router=ne(Zn),this.route=ne(Nr),E$(this,n,!1)}ngOnInit(){this.isPanel?this.initForm():this.route.data.subscribe(i=>{this.data=No({model:this.service.getDefaultForServer()},i[this.key]),this.data=No(this.data,dk(i,[this.key])),this.initForm()})}changeTab(i){this.showFabButton=0===i}isUpdatePage(){return function b3e(n,t){return function _3e(n,t){return t.get?t.get.call(n):t.value}(n,k$(n,t,"get"))}(this,n)}update(i=!1){this.isUpdatePage()&&(sl(this.form),em(this.form).subscribe(()=>{this.formToData();const r=o=>{this.alertService.info($localize`Mis à jour`),this.form.patchValue(o),this.postUpdate(o)};i?this.service.updateNow(this.data.model).subscribe(r):this.service.update(this.data.model).subscribe(r)}))}create(i=!0){sl(this.form),this.form.valid&&(this.formToData(),this.form.disable(),this.service.create(this.data.model).pipe(xt(r=>(this.alertService.info($localize`Créé`),this.form.patchValue(r),this.postCreate(r).pipe(function v4e(...n){return t=>$d(t,ee(...n))}(r),d4()))),xt(r=>{if(i){if(this.isPanel){const o=this.router.url,a=this.panelData?.config.params.nextRoute,s=o.replace("/new","/"+r.id)+(a?"/"+a:"");return this.router.navigateByUrl(s)}return this.router.navigate(["..",r.id],{relativeTo:this.route})}return vn}),yo(()=>this.form.enable())).subscribe())}delete(i,r){this.form.disable(),(r??this.alertService.confirm($localize`Suppression`,$localize`Voulez-vous supprimer définitivement cet élément ?`,$localize`Supprimer définitivement`)).pipe(xt(o=>o?(this.preDelete(this.data.model),this.service.delete([this.data.model]).pipe(xt(()=>{if(this.alertService.info($localize`Supprimé`),this.isPanel)return this.panelService?.goToPenultimatePanel(),vn;{const a=["../../"+b4e(this.key)];return this.router.navigate(i||a,{relativeTo:this.route})}}))):vn),yo(()=>this.form.enable())).subscribe()}postUpdate(i){}postCreate(i){return vn}preDelete(i){}initForm(){E$(this,n,!!this.data.model.id),this.form=this.service.getFormGroup(this.data.model)}formToData(){il(this.data.model,this.form.value,Vv)}}return t.\u0275fac=function(i){Mr()},t.\u0275dir=R({type:t,features:[N]}),t})();const y4e=["panel"];function C4e(n,t){if(1&n&&(f(0,"div",0,1),re(2),m()),2&n){const e=t.id,i=x();_("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),ie("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const w4e=["*"],x4e=pn("panelAnimation",[gt("void, hidden",be({opacity:0,transform:"scaleY(0.8)"})),ot(":enter, hidden => visible",[q_([rt("0.03s linear",be({opacity:1})),rt("0.12s cubic-bezier(0, 0, 0.2, 1)",be({transform:"scaleY(1)"}))])]),ot(":leave, visible => hidden",[rt("0.075s linear",be({opacity:0}))])]);let D4e=0;class S4e{constructor(t,e){this.source=t,this.option=e}}const k4e=Vs(class{}),q$=new F("mat-autocomplete-default-options",{providedIn:"root",factory:function E4e(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let M4e=(()=>{class n extends k4e{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=te(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=te(e)}set classList(e){this._classList=e&&e.length?LF(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=We.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new j,this.opened=new j,this.closed=new j,this.optionActivated=new j,this._classList={},this.id="mat-autocomplete-"+D4e++,this.inertGroups=o?.SAFARI||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption,this._autoSelectActiveOption=!!r.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new QF(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()}_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._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new S4e(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}_skipPredicate(e){return e.disabled}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(W),g(q$),g(yt))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&(ye(kt,7),ye(y4e,5)),2&e){let r;U(r=G())&&(i.template=r.first),U(r=G())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[N]}),n})(),T4e=(()=>{class n extends M4e{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}_skipPredicate(e){return!1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,e1,5),Ee(r,ia,5)),2&e){let o;U(o=G())&&(i.optionGroups=o),U(o=G())&&(i.options=o)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[ae([{provide:Zx,useExisting:n}]),N],ngContentSelectors:w4e,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(qe(),S(0,C4e,3,5,"ng-template"))},dependencies:[Yr],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;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}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[x4e]},changeDetection:0}),n})();const A4e={provide:Mi,useExisting:st(()=>GM),multi:!0},W$=new F("mat-autocomplete-scroll-strategy"),O4e={provide:W$,deps:[Jn],useFactory:function I4e(n){return()=>n.scrollStrategies.reposition()}};let R4e=(()=>{class n{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=te(e)}constructor(e,i,r,o,a,s,l,c,d,u,h){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=l,this._formField=c,this._document=d,this._viewportRuler=u,this._defaults=h,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=We.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new q,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Xd(()=>{const p=this.autocomplete?this.autocomplete.options:null;return p?p.changes.pipe(zt(p),xt(()=>dt(...p.map(v=>v.onSelectionChange)))):this._zone.onStable.pipe(lt(1),xt(()=>this.optionSelections))}),this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){const 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(){const e=this._getWindow();typeof e<"u"&&e.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._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return dt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Pe(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Pe(()=>this._overlayAttached)):ee()).pipe(ue(e=>e instanceof mP?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return dt(To(this._document,"click"),To(this._document,"auxclick"),To(this._document,"touchend")).pipe(Pe(e=>{const i=ja(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.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){const i=e.keyCode,r=on(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return dt(this._zone.onStable.pipe(lt(1)),this.autocomplete.options.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),fi(0))).pipe(xt(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),lt(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new oa(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._applyModalPanelOwnership(),this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new zs({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let a;a="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(a)}_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 e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let r=0;r{(27===i.keyCode&&!on(i)||38===i.keyCode&&on(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}_applyModalPanelOwnership(){const e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=this.autocomplete.id;this._trackedModal&&Ff(this._trackedModal,"aria-owns",i),Ux(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(Ff(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Jn),g(Ft),g(de),g(ze),g(W$),g(Qt,8),g(Yd,9),g(ge,8),g(qa),g(q$,8))},n.\u0275dir=R({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Je]}),n})(),GM=(()=>{class n extends R4e{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&E("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&ie("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-controls",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[ae([A4e]),N]}),n})(),N4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[O4e],imports:[Hs,Mo,Ue,ke,Wa,Mo,Ue]}),n})();class F4e extends Bf{constructor(t){super(),this.component=t}isErrorState(){const t=this.component.ngControl?.control||this.component.internalCtrl;return!!t&&!(!t.errors||!t.touched&&!t.dirty)}}let qM=(()=>{class n extends ds{set required(e){this._required=te(e),this.applyRequired()}get required(){return!!this._required}constructor(e){super(),this.ngControl=e,this.hint=null,this.showIcon=!0,this.icon="search",this.selectionChange=new j,this.blur=new j,this.internalCtrl=new wt(null),this.ngControl&&(this.ngControl.valueAccessor=this),this.matcher=new F4e(this)}ngDoCheck(){this.ngControl&&this.applyRequired()}writeValue(e){this.internalCtrl.setValue(e)}ngOnInit(){(this.ngControl instanceof an||this.ngControl instanceof Qa)&&typeof this._required<"u"&&console.warn(" should not be used as ReactiveForm and with the [required] attribute")}set disabled(e){e?this.internalCtrl.disable():this.internalCtrl.enable()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}clear(){this.internalCtrl.setValue(null),this.propagateValue(null)}onBlur(){this.touch(),this.blur.emit()}propagateValue(e){this.onChange&&this.onChange(e),this.selectionChange.emit(e)}setDisabledState(e){this.disabled=e}showClearButton(){return this.internalCtrl?.enabled&&!!this.clearLabel&&!!this.internalCtrl.value}touch(){this.onTouched&&this.onTouched()}hasRequiredError(){return(this.ngControl?.control?this.ngControl?.control:this.internalCtrl).hasError("required")}applyRequired(){const e=this?.ngControl?.control?.validator?.({})?.required,i=typeof this._required<"u"?this._required:e;this.internalCtrl?.validator?.({})?.required!==i&&(i?this.internalCtrl.setValidators($t.required):this.internalCtrl.clearValidators(),this.internalCtrl.updateValueAndValidity())}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,10))},n.\u0275dir=R({type:n,inputs:{placeholder:"placeholder",hint:"hint",required:"required",navigateTo:"navigateTo",clearLabel:"clearLabel",showIcon:"showIcon",icon:"icon",displayWith:"displayWith",disabled:"disabled"},outputs:{selectionChange:"selectionChange",blur:"blur"},features:[N]}),n})();function P4e(n,t){}const L4e=function(n){return{item:n}};function B4e(n,t){if(1&n&&(f(0,"mat-option",14),S(1,P4e,0,0,"ng-template",15),m()),2&n){const e=t.$implicit,i=x(),r=mt(6);_("value",e),b(1),_("ngTemplateOutletContext",Is(3,L4e,e))("ngTemplateOutlet",i.itemTemplate?i.itemTemplate:r)}}function V4e(n,t){if(1&n&&(f(0,"div",16),Ce(1,17),m()),2&n){const e=x();b(1),Tw(e.moreNbItems),function _2(n){!function vQ(n,t,e){if(hf>0){const i=n.data[e];n2(n,t,Array.isArray(i)?i:i.update,Ra()-hf-1,uf)}uf=0,hf=0}(Ct(),K(),n+pt)}(1)}}function z4e(n,t){if(1&n&&(f(0,"span"),C(1),m()),2&n){const e=t.item,i=x();b(1),xe(i.getDisplayFn()(e))}}function H4e(n,t){if(1&n&&(f(0,"mat-hint"),C(1),m()),2&n){const e=x();b(1),xe(e.hint)}}function $4e(n,t){1&n&&T(0,"mat-icon",18),2&n&&_("naturalIcon",x().icon)}function j4e(n,t){1&n&&(f(0,"div",19),T(1,"mat-progress-spinner",20),m()),2&n&&(b(1),_("diameter",21)("strokeWidth",5))}function U4e(n,t){if(1&n){const e=Y();f(0,"button",21),E("click",function(){return B(e),V(x().clear())}),T(1,"mat-icon",22),m()}}function G4e(n,t){if(1&n){const e=Y();f(0,"button",23),E("click",function(){return B(e),V(x().reset())}),T(1,"mat-icon",24),m()}}function q4e(n,t){1&n&&(f(0,"button",25),E("click",function(i){return i.stopPropagation()}),T(1,"mat-icon",26),m()),2&n&&_("routerLink",x().navigateTo)}function W4e(n,t){1&n&&(f(0,"mat-error"),Ce(1,27),m())}function Y4e(n,t){if(1&n){const e=Y();f(0,"button",30),E("click",function(){return B(e),V(x(2).clear())}),C(1),m()}if(2&n){const e=x(2);b(1),xe(e.clearLabel)}}function K4e(n,t){if(1&n&&(f(0,"div",28),S(1,Y4e,2,1,"button",29),m()),2&n){const e=x();b(1),_("ngIf",e.showClearButton())}}let h0=(()=>{class n extends qM{constructor(){super(...arguments),this.optionRequired=!0,this.searchField="custom",this.searchOperator=null,this.lastValidValue=null,this.items=null,this.loading=!1,this.moreNbItems=0,this.pageSize=10,this.variablesManager=new ha}set filter(e){this.variablesManager.set("additional-filter",{filter:e})}set disabled(e){e?this.internalCtrl.disable():this.internalCtrl.enable()}ngAfterViewInit(){this.internalCtrl.valueChanges.pipe(se(this.ngUnsubscribe),Cs(),Ps(300)).subscribe(e=>this.search(e))}onInternalFormChange(){this.optionRequired||this.propagateValue(this.internalCtrl.value)}ngOnInit(){super.ngOnInit(),this.initService()}onBlur(){this.internalCtrl.dirty&&this.reset(),super.onBlur()}reset(){this.internalCtrl.setValue(this.lastValidValue),this.internalCtrl.markAsPristine()}onKeyEnter(){this.internalCtrl.value||(this.clear(),this.autoTrigger.closePanel())}writeValue(e){super.writeValue(e),this.lastValidValue=this.internalCtrl.value}initService(){if("function"!=typeof this.service.watchAll)throw new TypeError("Provided service does not contain watchAll function");const i=No({pagination:{pageIndex:0,pageSize:this.pageSize}},this.getSearchFilter(null));this.variablesManager.set("variables",i)}startSearch(){this.items||(this.items=this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe),yo(()=>this.loading=!1),ue(e=>{this.loading=!1;const i=e.length,r=Math.min(e.length,this.pageSize);return this.moreNbItems=i-r,e.items})),this.loading=!0,this.items.subscribe())}propagateValue(e){this.internalCtrl.markAsPristine(),this.lastValidValue=this.internalCtrl.value,this.loading=!1,!this.optionRequired&&null===e&&(e=""),super.propagateValue(e)}getDisplayFn(){return this.displayWith?this.displayWith:e=>e?"string"==typeof e?e:e.fullName||e.name||e.iban||e[this.searchField]||e.id:""}clear(){this.search(null),super.clear()}search(e){("string"==typeof e||null===e)&&(e&&(this.loading=!!this.items),this.variablesManager.merge("variables",this.getSearchFilter(e)))}showClearButton(){return this.internalCtrl?.enabled&&!!this.clearLabel&&!!this.internalCtrl.value}getSearchFilter(e){const i=this.searchOperator??("custom"===this.searchField?"search":"like");return e&&"like"===i&&(e="%"+e+"%"),{filter:{groups:[{conditions:[{[this.searchField]:e?{[i]:{value:e}}:null}]}]}}}getVariablesForDebug(){return this.variablesManager.variables.value}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["natural-select"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,kt,5),2&e){let o;U(o=G())&&(i.itemTemplate=o.first)}},viewQuery:function(e,i){if(1&e&&ye(GM,5),2&e){let r;U(r=G())&&(i.autoTrigger=r.first)}},inputs:{service:"service",optionRequired:"optionRequired",searchField:"searchField",searchOperator:"searchOperator",filter:"filter",disabled:"disabled"},standalone:!0,features:[N,Se],decls:20,vars:17,consts:function(){let t,e,i,r,o,a;return t=$localize`:␟24db55d2b71cb10137208e99c6c112b630194818␟3383260231057423151:Recherche et sélection`,e=$localize`:␟b73f9486556a620fa0bc34490ca8aef60d5ba50e␟7476559703529470786:Désélectionner`,i=$localize`:␟544712c95235b75b3adeb737b44273acbd5b1373␟7476112743504592464:Annuler la recherche`,r=$localize`:␟c556a47cd554d8b94066106f1832d6272fbca1e1␟6489170507220514306:Naviguer vers`,o=$localize`:␟ef7d6d2a37b4d0667b5cd7a84b59814b788141db␟6225218323477785782:${"\ufffd0\ufffd"}:INTERPOLATION: élément(s) supplémentaire(s)`,a=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[["panelWidth","auto !important",3,"displayWith","optionSelected"],["ac","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["class","mat-caption","style","padding: 5px 10px",4,"ngIf"],["defaultACItem",""],["aria-label",t,"matInput","",3,"formControl","matAutocomplete","errorStateMatcher","blur","change","click","focus","keydown.esc","keydown.enter"],[4,"ngIf"],["matIconPrefix","",3,"naturalIcon",4,"ngIf"],["class","loading-wrapper","matIconPrefix","",4,"ngIf"],["matIconSuffix","",1,"suffix-buttons"],["mat-icon-button","","matTooltip",e,3,"click",4,"ngIf"],["mat-icon-button","","matTooltip",i,3,"click",4,"ngIf"],["mat-icon-button","","matTooltip",r,3,"routerLink","click",4,"ngIf"],["class","external-buttons",4,"ngIf"],[3,"value"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"mat-caption",2,"padding","5px 10px"],o,["matIconPrefix","",3,"naturalIcon"],["matIconPrefix","",1,"loading-wrapper"],["mode","indeterminate",3,"diameter","strokeWidth"],["mat-icon-button","","matTooltip",e,3,"click"],["naturalIcon","close"],["mat-icon-button","","matTooltip",i,3,"click"],["naturalIcon","undo"],["mat-icon-button","","matTooltip",r,3,"routerLink","click"],["naturalIcon","open_in_browser"],a,[1,"external-buttons"],["color","warn","mat-button","",3,"click",4,"ngIf"],["color","warn","mat-button","",3,"click"]]},template:function(e,i){if(1&e&&(f(0,"mat-autocomplete",0,1),E("optionSelected",function(o){return i.propagateValue(o.option.value)}),S(2,B4e,2,5,"mat-option",2),Q(3,"async"),S(4,V4e,2,1,"div",3),m(),S(5,z4e,2,1,"ng-template",null,4,_o),f(7,"mat-form-field")(8,"mat-label"),C(9),m(),f(10,"input",5),E("blur",function(){return i.onBlur()})("change",function(){return i.onInternalFormChange()})("click",function(){return i.autoTrigger.openPanel()})("focus",function(){return i.startSearch()})("keydown.esc",function(){return i.reset()})("keydown.enter",function(){return i.onKeyEnter()}),m(),S(11,H4e,2,1,"mat-hint",6),S(12,$4e,1,1,"mat-icon",7),S(13,j4e,2,2,"div",8),f(14,"div",9),S(15,U4e,2,0,"button",10),S(16,G4e,2,0,"button",11),S(17,q4e,2,1,"button",12),m(),S(18,W4e,2,0,"mat-error",6),m(),S(19,K4e,2,1,"div",13)),2&e){const r=mt(1);_("displayWith",i.getDisplayFn()),b(2),_("ngForOf",X(3,15,i.items)),b(2),_("ngIf",i.moreNbItems>0),b(5),xe(i.placeholder),b(1),_("formControl",i.internalCtrl)("matAutocomplete",r)("errorStateMatcher",i.matcher),b(1),_("ngIf",i.hint),b(1),_("ngIf",!i.loading&&i.showIcon),b(1),_("ngIf",i.loading),b(2),_("ngIf",i.internalCtrl.pristine&&i.internalCtrl.value&&i.internalCtrl.enabled&&!i.clearLabel),b(1),_("ngIf",i.internalCtrl.dirty&&i.internalCtrl.enabled&&i.optionRequired),b(1),_("ngIf",i.internalCtrl.pristine&&i.internalCtrl.value&&i.navigateTo),b(1),_("ngIf",i.hasRequiredError()),b(1),_("ngIf",i.showClearButton())}},dependencies:[N4e,T4e,ia,GM,ke,Zt,Be,Ld,Df,Mo,mn,Mn,En,rc,Qr,Y_,oc,Ii,Ai,Ut,di,jt,sn,an,ai,ei,ui,Im,Am,ct,en,Ar,Ja,Xa,ur],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:20px}[_nghost-%COMP%] > mat-autocomplete[_ngcontent-%COMP%]{margin-bottom:0!important}[_nghost-%COMP%] .suffix-buttons[_ngcontent-%COMP%], [_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}[_nghost-%COMP%] .loading-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:48px;height:48px}"]}),n})();function Q4e(n,t){if(1&n&&C(0),2&n){const e=t.item;me(" ",x().getDisplayFn()(e)," ")}}function X4e(n,t){1&n&&T(0,"tr",15)}function J4e(n,t){1&n&&T(0,"tr",16)}function Z4e(n,t){1&n&&(f(0,"th",17),Ce(1,18),m())}function eBe(n,t){}const tBe=function(n){return{item:n}};function nBe(n,t){if(1&n&&(f(0,"td",19),S(1,eBe,0,0,"ng-template",20),m()),2&n){const e=t.$implicit,i=x(2),r=mt(2);b(1),_("ngTemplateOutletContext",Is(2,tBe,e))("ngTemplateOutlet",i.itemTemplate?i.itemTemplate:r)}}function iBe(n,t){1&n&&T(0,"th",17)}function rBe(n,t){if(1&n){const e=Y();f(0,"button",22),E("click",function(){B(e);const r=x().$implicit;return V(x(2).removeRelation(r))}),T(1,"mat-icon",23),m()}if(2&n){const e=x().$implicit;_("disabled",x(2).removing.has(e))}}function oBe(n,t){if(1&n&&(f(0,"td",19),S(1,rBe,2,1,"button",21),m()),2&n){const e=x(2);b(1),_("ngIf",!e.disabled)}}function aBe(n,t){if(1&n&&(f(0,"table",8),S(1,X4e,1,0,"tr",9),S(2,J4e,1,0,"tr",10),Dt(3,11),S(4,Z4e,2,0,"th",12),S(5,nBe,2,4,"td",13),St(),Dt(6,14),S(7,iBe,1,0,"th",12),S(8,oBe,2,1,"td",13),St(),m()),2&n){const e=x();_("dataSource",e.dataSource),b(1),_("matHeaderRowDef",e.displayedColumns),b(1),_("matRowDefColumns",e.displayedColumns)}}function sBe(n,t){if(1&n){const e=Y();f(0,"mat-paginator",24),E("page",function(r){return B(e),V(x().pagination(r))}),m()}if(2&n){const e=x();_("length",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.length)||0)("pageIndex",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.pageIndex)||0)("pageSizeOptions",e.pageSizeOptions)("pageSize",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.pageSize)||0)}}function lBe(n,t){1&n&&(f(0,"div",25)(1,"span"),Ce(2,26),m()())}function cBe(n,t){1&n&&T(0,"mat-progress-spinner",27),2&n&&_("diameter",40)}function dBe(n,t){if(1&n){const e=Y();f(0,"natural-select",28),E("selectionChange",function(r){return B(e),V(x().addRelations([r]))}),m()}if(2&n){const e=x();_("displayWith",e.getDisplayFn())("filter",e.autocompleteSelectorFilter)("placeholder",e.placeholder)("service",e.service)("showIcon",!1)}}function uBe(n,t){if(1&n){const e=Y();f(0,"div")(1,"button",29),E("click",function(){return B(e),V(x().openNaturalHierarchicSelector())}),C(2),m()()}if(2&n){const e=x();b(2),xe(e.placeholder)}}let hBe=(()=>{class n extends ds{constructor(e,i){super(),this.linkMutationService=e,this.hierarchicSelectorDialog=i,this.placeholder="",this.disabled=!1,this.selectionChange=new j,this.loading=!1,this.displayedColumns=["name"],this.pageSizeOptions=[5,25,50,100],this.defaultPagination={pageIndex:0,pageSize:25},this.variablesManager=new ha,this.removing=new Set}set filter(e){this.variablesManager.set("relations-filter",{filter:e})}ngOnInit(){this.pagination(),this.main&&this.main.permissions&&(this.disabled=this.disabled||!this.main.permissions.update)}ngOnChanges(){this.service&&this.queryItems(),this.disabled&&this.displayedColumns.indexOf("unlink")>-1?this.displayedColumns.pop():!this.disabled&&-1===this.displayedColumns.indexOf("unlink")&&this.displayedColumns.push("unlink")}removeRelation(e){this.removing.add(e),this.linkMutationService.unlink(this.main,e,this.otherName).pipe(yo(()=>this.removing.delete(e))).subscribe(()=>this.dataSource?.remove(e))}addRelations(e){Ao(e.filter(r=>!!r&&"object"==typeof r).map(r=>this.linkMutationService.link(this.main,r,this.otherName))).subscribe(()=>{this.selectionChange.emit(),this.select?.clear()})}pagination(e){let i=null;e&&(e.pageIndex!==this.defaultPagination.pageIndex||e.pageSize!==this.defaultPagination.pageSize)&&(i={pageIndex:e.pageIndex,pageSize:e.pageSize}),this.variablesManager.set("pagination",{pagination:i||this.defaultPagination})}getDisplayFn(){return this.displayWith?this.displayWith:e=>e?e.fullName||e.name:""}openNaturalHierarchicSelector(){const e=this.getSelectKey();e&&this.hierarchicSelectorConfig&&this.hierarchicSelectorDialog.open({hierarchicConfig:this.hierarchicSelectorConfig,hierarchicSelection:{},hierarchicFilters:this.hierarchicSelectorFilters,multiple:!0}).afterClosed().subscribe(o=>{if(o&&void 0!==o.hierarchicSelection){const a=o.hierarchicSelection[e];a.length&&this.addRelations(a)}})}queryItems(){if(!this.service)return;this.loading=!0;const e=this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe),Ht({next:()=>this.loading=!1,complete:()=>this.loading=!1,error:()=>this.loading=!1}));this.dataSource=new m$(e)}getSelectKey(){if(this.hierarchicSelectorConfig)return this.hierarchicSelectorConfig.filter(e=>!!e.selectableAtKey)[0].selectableAtKey}}return n.\u0275fac=function(e){return new(e||n)(g(FV),g(RM))},n.\u0275cmp=$({type:n,selectors:[["natural-relations"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,kt,5),2&e){let o;U(o=G())&&(i.itemTemplate=o.first)}},viewQuery:function(e,i){if(1&e&&ye(h0,5),2&e){let r;U(r=G())&&(i.select=r.first)}},inputs:{service:"service",placeholder:"placeholder",autocompleteSelectorFilter:"autocompleteSelectorFilter",displayWith:"displayWith",disabled:"disabled",main:"main",hierarchicSelectorFilters:"hierarchicSelectorFilters",hierarchicSelectorConfig:"hierarchicSelectorConfig",otherName:"otherName",filter:"filter"},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[N,Je,Se],decls:9,vars:6,consts:function(){let t,e,i;return t=$localize`:␟622c8cdb03ed166e3e1b652021cf0992cb26bc18␟6518032478600962138:Titre`,e=$localize`:␟3aeaa4ce648ca57b4432ae80ca47541597ae574e␟5982725333971978109:Dissocier`,i=$localize`:␟dd6839133282aa13835f301df1cae5bc06cef85f␟8332478813279888013:Aucun résultat`,[[1,"body"],["defaultNameCell",""],["class","natural-row-click","mat-table","",3,"dataSource",4,"ngIf"],[3,"length","pageIndex","pageSizeOptions","pageSize","page",4,"ngIf"],["class","margin-v mat-body",4,"ngIf"],["class","loading","mode","indeterminate",3,"diameter",4,"ngIf"],[3,"displayWith","filter","placeholder","service","showIcon","selectionChange",4,"ngIf"],[4,"ngIf"],["mat-table","",1,"natural-row-click",3,"dataSource"],["mat-header-row","","style","display: none",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","unlink"],["mat-header-row","",2,"display","none"],["mat-row",""],["mat-header-cell",""],t,["mat-cell",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],["color","warn","mat-icon-button","","matTooltip",e,3,"disabled","click",4,"ngIf"],["color","warn","mat-icon-button","","matTooltip",e,3,"disabled","click"],["naturalIcon","link_off"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[1,"margin-v","mat-body"],i,["mode","indeterminate",1,"loading",3,"diameter"],[3,"displayWith","filter","placeholder","service","showIcon","selectionChange"],["color","primary","mat-flat-button","",3,"click"]]},template:function(e,i){1&e&&(f(0,"div",0),S(1,Q4e,1,1,"ng-template",null,1,_o),S(3,aBe,9,3,"table",2),S(4,sBe,1,4,"mat-paginator",3),S(5,lBe,3,0,"div",4),S(6,cBe,1,1,"mat-progress-spinner",5),m(),S(7,dBe,1,5,"natural-select",6),S(8,uBe,3,1,"div",7)),2&e&&(b(3),_("ngIf",i.dataSource),b(1),_("ngIf",(null==i.dataSource?null:i.dataSource.data)&&((null==i.dataSource||null==i.dataSource.data?null:i.dataSource.data.length)||0)>((null==i.dataSource||null==i.dataSource.data?null:i.dataSource.data.pageSize)||0)),b(1),_("ngIf",!i.loading&&0===(null==i.dataSource||null==i.dataSource.data?null:i.dataSource.data.length)),b(1),_("ngIf",i.loading),b(1),_("ngIf",!i.hierarchicSelectorConfig&&i.service&&!i.disabled),b(1),_("ngIf",i.hierarchicSelectorConfig&&!i.disabled))},dependencies:[ke,Be,Ld,ny,Kp,zu,Qp,Hu,Vu,Xp,$u,ju,Jp,Zp,ct,en,Ar,Ja,Xa,ai,ei,ui,N1,R1,Im,Am,h0],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:20px}[_nghost-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .loading[_ngcontent-%COMP%]{margin:20px auto}[_nghost-%COMP%] .mat-column-unlink[_ngcontent-%COMP%]{width:2.5em}"]}),n})(),fBe=(()=>{class n extends Ti{constructor(e,i){super(e,i)}watchAll(){return ee({items:[],length:0,pageIndex:0,pageSize:5}).pipe(fi(500))}getAll(){return ee({items:[],length:0,pageIndex:0,pageSize:5}).pipe(fi(500))}count(){return ee(0).pipe(fi(500))}}return n.\u0275fac=function(e){return new(e||n)(A(nl),A(qv))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function f0(n){return nc(1e3).pipe(ue(()=>{throw new Error("ErrorService."+n+" error")}))}let _h=(()=>{class n extends _k{constructor(e,i){super(e,i,"user",null,null,null,null,null)}watchAll(){return f0("watchAll")}getAll(){return f0("getAll")}getOne(){return f0("getOne")}count(){return f0("count")}}return n.\u0275fac=function(e){return new(e||n)(A(nl),A(qv))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function pBe(n,t){if(1&n){const e=Y();f(0,"div",3)(1,"div")(2,"div",4),C(3,"Hierarchic selector"),m(),f(4,"natural-relations",5),E("selectionChange",function(){return B(e),V(x().relationsAdded("Hierarchic selector"))}),m()(),f(5,"div")(6,"div",4),C(7,"Service"),m(),f(8,"natural-relations",6),E("selectionChange",function(){return B(e),V(x().relationsAdded("Service"))}),m()(),f(9,"div")(10,"div",4),C(11,"No result service"),m(),f(12,"natural-relations",6),E("selectionChange",function(){return B(e),V(x().relationsAdded("NoResultService"))}),m()(),f(13,"div")(14,"div",4),C(15,"ErrorService"),m(),f(16,"natural-relations",6),E("selectionChange",function(){return B(e),V(x().relationsAdded("ErrorService"))}),m()()()}if(2&n){const e=x();_("formGroup",e.form),b(4),_("hierarchicSelectorConfig",e.hierarchicConfig)("main",e.data.model)("service",e.service),b(4),_("main",e.data.model)("service",e.service),b(4),_("main",e.data.model)("service",e.noResultService),b(4),_("main",e.data.model)("service",e.errorService)}}let mBe=(()=>{class n extends G${constructor(e,i,r){super("any",e),this.noResultService=i,this.errorService=r,this.hierarchicConfig=[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}relationsAdded(e){console.log("Relations added",e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(fBe),g(_h))},n.\u0275cmp=$({type:n,selectors:[["app-relations"]],standalone:!0,features:[N,Se],decls:5,vars:1,consts:[[1,"mat-headline-4"],[1,"mat-body-2"],["fxLayout","row","fxLayoutGap","50px",3,"formGroup",4,"ngIf"],["fxLayout","row","fxLayoutGap","50px",3,"formGroup"],[1,"mat-headline-6"],["placeholder","Link",3,"hierarchicSelectorConfig","main","service","selectionChange"],["placeholder","Link",3,"main","service","selectionChange"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-relations"),m(),f(2,"div",1),C(3,"Use ItemService.watchAll() that always returns 5 elements. Seems to be buggy but it's normal."),m(),S(4,pBe,17,10,"div",2)),2&e&&(b(4),_("ngIf",i.isUpdatePage()))},dependencies:[$n,An,Hn,Ut,oi,sn,gn,hBe,ke,Be],styles:["[_nghost-%COMP%] > div[_ngcontent-%COMP%] natural-relations[_ngcontent-%COMP%]{padding:20px;background:rgba(0,0,0,.1);border-radius:4px}"]}),n})();function gBe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),Sw("",e.render(e.fromCtrl.value)," > ",e.render(e.toCtrl.value),"")}}function _Be(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("< ",e.configuration.min,"")}}function bBe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("> ",e.configuration.max,"")}}function vBe(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}function yBe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me(" < ",e.configuration.min,"")}}function CBe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me(" > ",e.configuration.max,"")}}function wBe(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}class xBe{isErrorState(t,e){return e&&e.invalid&&(e.value.to||e.value.from)||t&&t.invalid}}function Y$(n,t){const e=n.get(t);return e?e.value:null}function DBe(n){return t=>{const e=Y$(t,"from"),i=Y$(t,"to");return e&&i&&n.compareDate(e,i)>0?{toGreaterThanFrom:!0}:null}}let SBe=(()=>{class n{constructor(e,i,r){this.dateAdapter=i,this.dateFormats=r,this.renderedValue=new ft(""),this.matcher=new xBe,this.fromCtrl=new wt(null),this.toCtrl=new wt(null),this.form=new Vn({from:this.fromCtrl,to:this.toCtrl}),this.defaults={min:null,max:null},this.configuration={...this.defaults,...e.configuration},dt(this.fromCtrl.valueChanges,this.toCtrl.valueChanges).subscribe(()=>{this.renderedValue.next(this.getRenderedValue())}),this.initValidators(),this.reloadCondition(e.condition)}getCondition(){const e=Ky(this.dateAdapter,this.fromCtrl.value),i=Ky(this.dateAdapter,this.toCtrl.value);return e&&i?{between:{from:e,to:i}}:{}}isValid(){return this.form.valid}isDirty(){return this.form.dirty}reloadCondition(e){if(!e)return;const i={from:null,to:null};e.between&&(i.from=this.dateAdapter.parse(e.between.from,null),i.to=this.dateAdapter.parse(e.between.to,null)),this.form.setValue(i)}initValidators(){const e=[$t.required];this.configuration.min&&e.push(b9(this.dateAdapter,this.configuration.min)),this.configuration.max&&e.push(v9(this.dateAdapter,this.configuration.max)),this.fromCtrl.setValidators(e),this.toCtrl.setValidators(e),this.form.setValidators([DBe(this.dateAdapter)])}render(e){return e?this.dateAdapter.format(e,this.dateFormats.display.dateInput):""}getRenderedValue(){const e=this.render(this.fromCtrl.value),i=this.render(this.toCtrl.value);return e&&i?e+" - "+i:""}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(Bn),g(Ga))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:18,vars:20,consts:[[3,"formGroup"],["matInput","","placeholder","De",3,"matDatepicker","formControl","errorStateMatcher","min","max"],["matIconSuffix","",3,"for"],["from",""],[4,"ngIf"],["matInput","","placeholder","\xe0",3,"matDatepicker","formControl","errorStateMatcher","min","max"],["to",""]],template:function(e,i){if(1&e&&(f(0,"form",0)(1,"mat-form-field"),T(2,"input",1)(3,"mat-datepicker-toggle",2)(4,"mat-datepicker",null,3),S(6,gBe,2,2,"mat-error",4),S(7,_Be,2,1,"mat-error",4),S(8,bBe,2,1,"mat-error",4),S(9,vBe,2,0,"mat-error",4),m(),f(10,"mat-form-field"),T(11,"input",5)(12,"mat-datepicker-toggle",2)(13,"mat-datepicker",null,6),S(15,yBe,2,1,"mat-error",4),S(16,CBe,2,1,"mat-error",4),S(17,wBe,2,0,"mat-error",4),m()()),2&e){const r=mt(5),o=mt(14);_("formGroup",i.form),b(2),_("matDatepicker",r)("formControl",i.fromCtrl)("errorStateMatcher",i.matcher)("min",i.configuration.min)("max",i.configuration.max),b(1),_("for",r),b(3),_("ngIf",i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.fromCtrl.hasError("min")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.fromCtrl.hasError("max")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.fromCtrl.hasError("required")),b(2),_("matDatepicker",o)("formControl",i.toCtrl)("errorStateMatcher",i.matcher)("min",i.configuration.min)("max",i.configuration.max),b(1),_("for",o),b(3),_("ngIf",i.toCtrl.hasError("min")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.toCtrl.hasError("max")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.toCtrl.hasError("required"))}},dependencies:[Ut,cc,di,jt,oi,sn,an,gn,mn,Mn,Qr,oc,Ii,Ai,CM,I9,Zy,vM,ke,Be],encapsulation:2}),n})(),K$=(()=>{class n{constructor(e){this.renderedValue=new ft(""),this.requireValueCtrl=!1,this.operators=c9,this.operatorCtrl=new wt("is",{nonNullable:!0}),this.valueCtrl=new wt,this.form=new Vn({operator:this.operatorCtrl,value:this.valueCtrl}),this.configuration=e.configuration,this.operatorCtrl.valueChanges.pipe(zt(null)).subscribe(()=>this.initValidators()),dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges).subscribe(()=>{const i=this.getRenderedValue();this.renderedValue.next(i)}),this.reloadCondition(e.condition)}isValid(){return this.form.valid}isDirty(){return this.form.dirty}initValidators(){this.requireValueCtrl=["is","isnot"].includes(this.operatorCtrl.value),this.valueCtrl.setValidators(this.requireValueCtrl?[$t.required]:[]),this.valueCtrl.updateValueAndValidity()}reloadCondition(e){if(!e)return;const i=this.conditionToOperatorKey(e);this.operatorCtrl.setValue(i),this.reloadValue(e).subscribe(r=>{this.valueCtrl.setValue(r),this.renderedValue.next(this.getRenderedValue())})}getRenderedValue(){const e=this.operators.find(r=>r.key===this.operatorCtrl.value);if(!e||!this.isValid())return"";const i=this.renderValueWithoutOperator();return[e.label,i].filter(r=>r).join(" ")}conditionToOperatorKey(e){return e.have&&!e.have.not?"is":e.have&&e.have.not?"isnot":e.empty&&e.empty.not?"any":e.empty&&!e.empty.not?"none":"is"}operatorKeyToCondition(e,i){switch(e){case"is":return{have:{values:i}};case"isnot":return{have:{values:i,not:!0}};case"any":return{empty:{not:!0}};case"none":return{empty:{not:!1}};default:throw new Error("Unsupported operator key: "+e)}}}return n.\u0275fac=function(e){return new(e||n)(g(Da))},n.\u0275dir=R({type:n}),n})();function kBe(n,t){if(1&n&&(f(0,"mat-option",6),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}const EBe=function(){return{}};function MBe(n,t){if(1&n){const e=Y();f(0,"natural-hierarchic-selector",7),E("selectionChange",function(r){return B(e),V(x().selectionChange(r))}),m()}if(2&n){const e=x();_("config",e.configuration.config)("filters",e.configuration.filters)("multiple",!0)("selected",e.valueCtrl.value||wn(4,EBe))}}let Q$=(()=>{class n extends K${getCondition(){if(!this.isValid())return{};const e=this.valueCtrl.value?.[this.configuration.key].map(i=>i.id)??[];return this.operatorKeyToCondition(this.operatorCtrl.value,e)}reloadValue(e){if(!e.have)return vn;const i=e.have.values,r=new ha;return r.set("a",{filter:{groups:[{conditions:[{id:{in:{values:i}}}]}]}}),this.configuration.service.getAll(r).pipe(ue(o=>{const a={};return a[this.configuration.key]=o.items,this.noEmptySelection(a)}))}renderValueWithoutOperator(){const e=this.valueCtrl.value?.[this.configuration.key];return e?e.map(i=>i.fullName||i.name).join(", "):""}selectionChange(e){this.valueCtrl.setValue(this.noEmptySelection(e)),this.valueCtrl.markAsDirty()}noEmptySelection(e){return e[this.configuration.key].length?e:null}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:7,vars:5,consts:function(){let t;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,[[3,"formGroup"],[2,"max-width","7em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],["style","margin-right: 20px",3,"config","filters","multiple","selected","selectionChange",4,"ngIf"],[3,"value"],[2,"margin-right","20px",3,"config","filters","multiple","selected","selectionChange"]]},template:function(e,i){1&e&&(f(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),Ce(3,2),m(),f(4,"mat-select",3),S(5,kBe,2,2,"mat-option",4),m()(),S(6,MBe,1,5,"natural-hierarchic-selector",5),m()),2&e&&(_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(1),_("ngIf",i.requireValueCtrl))},dependencies:[Ut,cc,jt,oi,Xr,sn,an,gn,mn,Mn,En,hc,uc,ia,ke,Zt,Be,Mo,OM],encapsulation:2}),n})();function TBe(n,t){if(1&n&&(f(0,"mat-option",7),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function ABe(n,t){if(1&n&&(f(0,"mat-form-field",3)(1,"mat-label"),Ce(2,4),m(),f(3,"mat-select",5),S(4,TBe,2,2,"mat-option",6),m()()),2&n){const e=x();b(3),_("formControl",e.operatorCtrl)("required",!0),b(1),_("ngForOf",e.operators)}}function IBe(n,t){if(1&n&&(f(0,"mat-list-option",10),C(1),m()),2&n){const e=t.$implicit,i=x(2);_("value",i.getId(e)),b(1),me(" ",i.getDisplay(e)," ")}}function OBe(n,t){if(1&n&&(f(0,"mat-selection-list",8),S(1,IBe,2,2,"mat-list-option",9),m()),2&n){const e=x();_("formControl",e.valueCtrl),b(1),_("ngForOf",e.items)}}let Om=(()=>{class n extends ds{constructor(e){super(),this.renderedValue=new ft(""),this.requireValueCtrl=!1,this.operators=c9,this.operatorCtrl=new wt("is",{nonNullable:!0}),this.valueCtrl=new wt,this.form=new Vn({operator:this.operatorCtrl,value:this.valueCtrl}),this.items=[],this.defaults={items:[],multiple:!0,operators:!0},this.configuration={...this.defaults,...e.configuration},this.operatorCtrl.valueChanges.pipe(zt(null)).subscribe(()=>this.initValidators()),dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges).subscribe(()=>{const i=this.getRenderedValue();this.renderedValue.next(i)}),this.reloadCondition(e.condition)}ngAfterViewInit(){!this.isMultiple()&&this.list&&(this.list.selectedOptions._multiple=!1)}getId(e){return"object"==typeof e&&e?e.id||e.value:e}getDisplay(e){return"object"==typeof e&&e&&e.name?e.name:e}getCondition(){return this.isValid()?this.operatorKeyToCondition(this.operatorCtrl.value,this.valueCtrl.value):{}}isValid(){return this.form.valid}isDirty(){return this.form.dirty}initValidators(){this.requireValueCtrl=["is","isnot"].includes(this.operatorCtrl.value),this.valueCtrl.setValidators(this.requireValueCtrl?[$t.required]:[]),this.valueCtrl.updateValueAndValidity()}isMultiple(){return this.configuration.multiple}getItemById(e){return this.items.find(i=>this.getId(i)===e)}reloadCondition(e){if(e){const i=this.conditionToOperatorKey(e);this.operatorCtrl.setValue(i)}this.reloadValue(e).subscribe(i=>{this.valueCtrl.setValue(i),this.renderedValue.next(this.getRenderedValue())})}reloadValue(e){const i=e?.in?.values??[];return(Array.isArray(this.configuration.items)?ee(this.configuration.items):this.configuration.items).pipe(se(this.ngUnsubscribe),ue(o=>{this.items=o;const a=this.items.map(l=>this.getId(l));return i.filter(l=>a.some(c=>c===l))}))}getRenderedValue(){const e=this.operators.find(r=>r.key===this.operatorCtrl.value);if(!e||!this.isValid())return"";const i=this.valueCtrl.value?.map(r=>{const o=this.getItemById(r);if(o)return this.getDisplay(o)}).join(", ")??null;return[e.label,i].filter(r=>r).join(" ")}conditionToOperatorKey(e){return!this.configuration.operators||e.in&&!e.in.not?"is":e.in&&e.in.not?"isnot":e.null&&e.null.not?"any":e.null&&!e.null.not?"none":"is"}operatorKeyToCondition(e,i){switch(e){case"is":return{in:{values:i}};case"isnot":return{in:{values:i,not:!0}};case"any":return{null:{not:!0}};case"none":return{null:{not:!1}};default:throw new Error("Unsupported operator key: "+e)}}}return n.\u0275fac=function(e){return new(e||n)(g(Da))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&ye(AM,5),2&e){let r;U(r=G())&&(i.list=r.first)}},standalone:!0,features:[N,Se],decls:3,vars:3,consts:function(){let t;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,[[3,"formGroup"],["style","max-width: 7em; margin-right: 1em",4,"ngIf"],[3,"formControl",4,"ngIf"],[2,"max-width","7em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formControl"],["checkboxPosition","before",3,"value",4,"ngFor","ngForOf"],["checkboxPosition","before",3,"value"]]},template:function(e,i){1&e&&(f(0,"form",0),S(1,ABe,5,3,"mat-form-field",1),S(2,OBe,2,2,"mat-selection-list",2),m()),2&e&&(_("formGroup",i.form),b(1),_("ngIf",i.configuration.operators),b(1),_("ngIf",i.requireValueCtrl))},dependencies:[Ut,cc,jt,oi,Xr,sn,an,gn,ke,Zt,Be,mn,Mn,En,hc,uc,ia,Mo,IM,AM,i$],encapsulation:2}),n})();function RBe(n,t){if(1&n&&(f(0,"mat-option",6),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function NBe(n,t){if(1&n&&T(0,"natural-select",7),2&n){const e=x();_("formControl",e.valueCtrl)("placeholder",e.configuration.placeholder)("service",e.configuration.service)("filter",e.configuration.filter)}}let X$=(()=>{class n extends K${getCondition(){if(!this.isValid())return{};const e=this.valueCtrl.value?.id;return this.operatorKeyToCondition(this.operatorCtrl.value,e?[e]:[])}reloadValue(e){return e.have?this.configuration.service.getOne(e.have.values[0]):vn}renderValueWithoutOperator(){const e=this.valueCtrl.value;return e?.fullName||e?.name||""}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:7,vars:5,consts:function(){let t;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,[[3,"formGroup"],[2,"max-width","7em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],["style","display: inline",3,"formControl","placeholder","service","filter",4,"ngIf"],[3,"value"],[2,"display","inline",3,"formControl","placeholder","service","filter"]]},template:function(e,i){1&e&&(f(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),Ce(3,2),m(),f(4,"mat-select",3),S(5,RBe,2,2,"mat-option",4),m()(),S(6,NBe,1,4,"natural-select",5),m()),2&e&&(_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(1),_("ngIf",i.configuration&&i.requireValueCtrl))},dependencies:[Ut,cc,jt,oi,Xr,sn,an,gn,mn,Mn,En,hc,uc,ia,ke,Zt,Be,Mo,h0],encapsulation:2}),n})();function FBe(n,t){if(1&n&&(f(0,"mat-button-toggle",2),C(1),m()),2&n){const e=t.$implicit;_("value",e),b(1),xe(e.display)}}let J$=(()=>{class n{constructor(e,i){if(this.data=e,this.dropdownRef=i,this.renderedValue=new ft(""),this.formControl=new wt({},{nonNullable:!0}),this.defaults={options:[]},this.configuration={...this.defaults,...e.configuration},!this.configuration.options.length)throw new Error("TypeOptions need options, empty array or null given");if(this.formControl.setValidators([$t.required]),e.condition){const r=this.configuration.options.find(o=>Gp(o.condition,e.condition));r&&(this.formControl.setValue(r),this.renderedValue.next(r.display))}this.formControl.valueChanges.subscribe(r=>{r&&(this.renderedValue.next(r.display),this.dropdownRef.close(r))})}getCondition(){return this.isValid()?this.formControl.value.condition:{}}isValid(){return this.formControl.valid&&!!this.formControl.value?.condition}isDirty(){return this.formControl.dirty}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(_s))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:2,vars:2,consts:[[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(f(0,"mat-button-toggle-group",0),S(1,FBe,2,2,"mat-button-toggle",1),m()),2&e&&(_("formControl",i.formControl),b(1),_("ngForOf",i.configuration.options))},dependencies:[Ut,jt,sn,an,ke,Zt,oM,Uy,Gy],encapsulation:2}),n})();function PBe(n,t){if(1&n&&(f(0,"mat-button-toggle",2),C(1),m()),2&n){const e=t.$implicit;_("value",e),b(1),xe(e.display)}}let LBe=(()=>{class n extends J${constructor(e,i){const r={options:[{display:e.configuration.displayWhenActive,condition:{equal:{value:!0}}},{display:e.configuration.displayWhenInactive,condition:{equal:{value:!1}}}]};super({...e,configuration:r},i)}}return n.\u0275fac=function(e){return new(e||n)(g(Da),g(_s))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:2,vars:2,consts:[[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(f(0,"mat-button-toggle-group",0),S(1,PBe,2,2,"mat-button-toggle",1),m()),2&e&&(_("formControl",i.formControl),b(1),_("ngForOf",i.configuration.options))},dependencies:[Ut,jt,sn,an,ke,Zt,oM,Uy,Gy],encapsulation:2}),n})(),BBe=(()=>{class n{constructor(e,i,r,o){this.router=e,this.route=i,this.itemService=r,this.errorService=o,this.facets1=[{display:"Active",field:"isActive",component:LBe,showValidateButton:!1,configuration:{displayWhenActive:"Actives",displayWhenInactive:"Inactives"}},{display:"Options / Facets",field:"isFlagged",component:J$,showValidateButton:!1,configuration:{options:[{display:"Is active",condition:{equal:{value:!0}}},{display:"Is inactive",condition:{equal:{value:!0}}},{display:"Is not defined",condition:{null:{}}},{display:"Is defined",condition:{null:{not:!0}}}]}},{display:"Date",field:"date",component:R9},{display:"Date range",field:"date",name:"dateRange",component:SBe},{display:"Artist",field:"artist.name",component:u9},{display:"Number",field:"number",component:qy},{display:"Same field number",field:"sameField",name:"sameFieldNumber",component:qy},{display:"Same field string",field:"sameField",name:"sameFieldString",component:u9},{display:"Hierarchic",field:"hierarchic",component:Q$,configuration:{key:"any",service:this.itemService,config:[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}},{display:"Hierarchic with error",field:"hierarchic-with-error",component:Q$,configuration:{key:"any",service:this.errorService,config:[{service:_h,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}},{display:"Select single",field:"single",component:Om,configuration:{items:[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"}],multiple:!1}},{display:"Overflow menu",field:"overflow",component:Om,configuration:{items:[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"},{id:4,name:"Option D"},{id:5,name:"Option E"},{id:6,name:"Option F"},{id:7,name:"Option G"},{id:8,name:"Option H"},{id:9,name:"Option I"},{id:10,name:"Option J"},{id:11,name:"Option K"},{id:12,name:"Option L"},{id:13,name:"Option M"},{id:14,name:"Option N"},{id:15,name:"Option O"},{id:16,name:"Option P"},{id:17,name:"Option Q"},{id:18,name:"Option R"},{id:19,name:"Option S"},{id:20,name:"Option T"},{id:21,name:"Option U"},{id:22,name:"Option V"},{id:23,name:"Option W"},{id:24,name:"Option X"},{id:25,name:"Option Y"},{id:26,name:"Option Z"},{id:27,name:"One before last option"},{id:28,name:"Last option"}],multiple:!1}},{display:"Select multiple",field:"multiple",component:Om,configuration:{items:[{id:1,name:"Option A asd fasdfasd fasdfadfa as asd afd asd fas fasf ad fasf asfas"},{id:2,name:"Option B asd fasdfasd fasdfadfa as asd afd asd fas fasf ad fasf asfas"},{id:3,name:"Option C asd fasdfasd fasdfadfa as asd afd asd fas fasf ad fasf asfas"}],multiple:!0}},{display:"Select 2s delayed",field:"delayed",component:Om,configuration:{items:nc(2e3).pipe(ue(()=>[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"}])),multiple:!0}},{display:"Select without operators",field:"nooperator",component:Om,configuration:{items:[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"}],operators:!1}},{display:"Is published",field:"published",condition:{equal:{value:!0}}},{display:"Include archives",field:"archived",inversed:!0,condition:{equal:{value:!1}}},{display:"Natural select",field:"natural-select",component:X$,configuration:{service:this.itemService}},{display:"Natural select with error",field:"natural-select-with-error",component:X$,configuration:{service:this.errorService}}],this.facets=this.facets1,this.facets2=[{display:"Number less than 100",field:"number",component:qy,configuration:{max:100}},{display:"With archives",field:"archived",condition:{equal:{value:!0}}}],this.graphqlSelections={},this.selections=[[{field:"delayed",condition:{in:{values:[1]}}},{field:"single",condition:{in:{values:[2]}}},{field:"overflow",condition:{in:{values:[2]}}},{field:"artist.name",condition:{like:{value:"picasso"}}},{field:"number",condition:{equal:{value:123}}},{field:"archived",condition:{equal:{value:"true"}}},{field:"unsued",condition:{equal:{value:"unused value"}}},{field:"search",condition:{like:{value:"searched"}}},{field:"sameField",name:"sameFieldNumber",condition:{equal:{value:123}}},{field:"multiple",condition:{in:{values:[1,2]}}}]]}ngOnInit(){const e=this.route.snapshot.params.search;e&&(this.selections=HM(e))}updateFilter(e){this.graphqlSelections=e0(this.facets,e);const i={search:d0(e)};this.router.navigate(["."],{relativeTo:this.route,queryParams:i})}stringify(e){return JSON.stringify(e)}toUrl(e){return d0(e)}}return n.\u0275fac=function(e){return new(e||n)(g(Zn),g(Nr),g(Ti),g(_h))},n.\u0275cmp=$({type:n,selectors:[["app-search"]],standalone:!0,features:[Se],decls:33,vars:18,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","20px"],["dropdownTitle","Very long dropdown title asdf",3,"facets","multipleGroups","selections","selectionChange"],["color","primary","mat-raised-button",""],["fxLayout","row","fxLayoutGap","20px"],["color","primary","mat-raised-button","",3,"click"],["fxFlex","",1,"debug",2,"overflow","auto"],[1,"debug",2,"overflow","auto"]],template:function(e,i){if(1&e&&(f(0,"h1",0),C(1,"natural-search"),m(),f(2,"div",1)(3,"natural-search",2),E("selectionChange",function(o){return i.updateFilter(o),i.selectionsDone=o}),f(4,"button",3),C(5,"extern."),m()(),f(6,"div",4)(7,"button",5),E("click",function(){return i.facets=i.facets1}),C(8,"Config 1"),m(),f(9,"button",5),E("click",function(){return i.facets=i.facets2}),C(10,"Config 2"),m(),f(11,"button",5),E("click",function(){return i.facets=[]}),C(12,"No config"),m()(),f(13,"div",4)(14,"pre",6)(15,"strong"),C(16,"Selections input: "),m(),C(17),Q(18,"json"),m(),f(19,"pre",6)(20,"strong"),C(21,"Selections output: "),m(),C(22),Q(23,"json"),m(),f(24,"pre",6)(25,"strong"),C(26,"GraphQL selections: "),m(),C(27),Q(28,"json"),m()(),f(29,"pre",7)(30,"strong"),C(31,"JSON serialized length: "),m(),C(32),m()()),2&e){let r;b(3),_("facets",i.facets)("multipleGroups",!0)("selections",i.selections),b(14),xe(X(18,12,i.selections)),b(5),xe(X(23,14,i.selectionsDone)),b(5),xe(X(28,16,i.graphqlSelections)),b(5),kw("\n\n Selections:\n ",i.stringify(i.selections).length,"\n ",i.stringify(i.selections),"\n\n GraphQL selections:\n ",i.stringify(i.graphqlSelections).length,"\n ",i.stringify(i.graphqlSelections),"\n\n\n Compressed selections:\n ",null==(r=i.toUrl(i.selections))?null:r.length,"\n ",i.toUrl(i.selections),"\n ")}},dependencies:[$n,An,Hn,qu,o0,ct,en,ke,Kr]}),n})();class WM{constructor(t,e){this.service=t,this.errorService=e,this.required=!0,this.formControl=new wt(null,this.getRequiredAtStart()),this.formControlReplace=new wt(null,this.getRequiredAtStart()),this.formGroup=new Vn({amazingField:new wt(null,this.getRequiredAtStart())}),this.formGroupReplace=new Vn({amazingField:new wt(null,this.getRequiredAtStart())}),this.myValue=null,this.disabled=!1,this.freeText=null,this.withoutModelOutput=null}toggleDisabledAllFormControls(){this.formControl.disabled?this.formControl.enable():this.formControl.disable(),this.formControlReplace.disabled?this.formControlReplace.enable():this.formControlReplace.disable(),this.formGroup.disabled?this.formGroup.enable():this.formGroup.disable(),this.formGroupReplace.disabled?this.formGroupReplace.enable():this.formGroupReplace.disable(),this.disabled=!this.disabled}getRequiredAtStart(){return $t.required}getRequiredOnChange(){return $t.required}validateAllFormControls(){sl(this.formControl),sl(this.formControlReplace),sl(this.formGroup),sl(this.formGroupReplace),console.log("form errors formControl",Uu(this.formControl)),console.log("form errors formControlReplace",Uu(this.formControlReplace)),console.log("form errors formGroup",Uu(this.formGroup)),console.log("form errors formGroupReplace",Uu(this.formGroupReplace))}getNextValue(){return this.service.getOne("foo")}setValue(){this.getNextValue().subscribe(t=>{this.myValue=t,this.formControl.setValue(this.myValue),this.formGroup.setValue({amazingField:this.myValue}),this.formControlReplace=new wt(this.myValue,this.getRequiredOnChange()),this.formGroupReplace=new Vn({amazingField:new wt(this.myValue,this.getRequiredOnChange())})})}clearValue(){this.myValue=null,this.formControl.setValue(this.myValue),this.formGroup.setValue({amazingField:this.myValue}),this.formControlReplace=new wt(this.myValue,this.getRequiredOnChange()),this.formGroupReplace=new Vn({amazingField:new wt(this.myValue,this.getRequiredOnChange())})}updateValidatorRequired(t){t.setValidators($t.required),t.updateValueAndValidity()}updateValidatorOptional(t){t.clearValidators(),t.updateValueAndValidity()}}function VBe(n,t){if(1&n&&(T(0,"mat-icon",25),f(1,"span"),C(2),m()),2&n){const e=t.item;b(2),me("Hello ",e.name," !")}}let zBe=(()=>{class n extends WM{constructor(e,i){super(e,i),this.errorService=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(_h))},n.\u0275cmp=$({type:n,selectors:[["app-select"]],standalone:!0,features:[N,Se],decls:102,vars:88,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],["mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["placeholder","Without model (output only)",3,"service","selectionChange"],[1,"debug"],["placeholder","Input from previous output",3,"service","ngModel"],["placeholder","Without model, required",3,"service","required"],["placeholder","With model, required",3,"service","ngModel","required","disabled","ngModelChange"],[1,"mat-h2"],["id","test-select","placeholder","FormControl (update)",3,"service","formControl"],["placeholder","FormControl (replace)",3,"service","formControl"],[1,"form-group",3,"formGroup"],["formControlName","amazingField","placeholder","FormGroup (update)",3,"service"],["formControlName","amazingField","placeholder","FormGroup (replace)",3,"service"],["matInput",""],["navigateTo","/","placeholder","With navigateTo",3,"service"],["placeholder","Without icon",3,"service","showIcon"],["icon","pets","placeholder","With custom icon",3,"service"],["clearLabel","Clear selected item","placeholder","With clear label",3,"service"],["placeholder","With service throwing error",3,"service"],["placeholder","Custom item template",3,"service"],["placeholder","Free text allowed",3,"service","ngModel","optionRequired","ngModelChange"],["naturalIcon","pets"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-select"),m(),f(2,"div",1)(3,"div",2)(4,"button",3),E("click",function(){return i.validateAllFormControls()}),C(5,"Validate controls with formControl"),m(),f(6,"button",3),E("click",function(){return i.toggleDisabledAllFormControls()}),C(7,"Disable controls with formControl"),m(),f(8,"button",3),E("click",function(){return i.setValue()}),C(9,"Set value"),m(),f(10,"button",3),E("click",function(){return i.clearValue()}),C(11,"Clear value"),m()(),f(12,"h2",4)(13,"div"),C(14,"ngModel"),m(),f(15,"button",3),E("click",function(){return i.required=!0}),C(16,"required"),m(),f(17,"button",3),E("click",function(){return i.required=!1}),C(18,"optional"),m()(),f(19,"div",5)(20,"div")(21,"natural-select",6),E("selectionChange",function(o){return i.withoutModelOutput=o}),m(),f(22,"pre",7),C(23),Q(24,"json"),m()(),T(25,"natural-select",8)(26,"natural-select",9),f(27,"div")(28,"natural-select",10),E("ngModelChange",function(o){return i.myValue=o}),m(),f(29,"pre",7),C(30),Q(31,"json"),m()()(),f(32,"h2",11),C(33,"FormControl"),m(),f(34,"div",5)(35,"div"),T(36,"natural-select",12),f(37,"button",3),E("click",function(){return i.updateValidatorRequired(i.formControl)}),C(38,"required"),m(),f(39,"button",3),E("click",function(){return i.updateValidatorOptional(i.formControl)}),C(40,"optional"),m(),f(41,"pre",7),C(42),Q(43,"json"),Q(44,"json"),Q(45,"json"),Q(46,"json"),Q(47,"json"),m()(),f(48,"div"),T(49,"natural-select",13),f(50,"pre",7),C(51),Q(52,"json"),Q(53,"json"),Q(54,"json"),Q(55,"json"),Q(56,"json"),m()()(),f(57,"h2",11),C(58,"FormGroup"),m(),f(59,"div",5)(60,"div")(61,"div",14),T(62,"natural-select",15),m(),f(63,"button",3),E("click",function(){return i.updateValidatorRequired(i.formGroup.get("amazingField"))}),C(64,"required"),m(),f(65,"button",3),E("click",function(){return i.updateValidatorOptional(i.formGroup.get("amazingField"))}),C(66,"optional"),m(),f(67,"pre",7),C(68),Q(69,"json"),Q(70,"json"),Q(71,"json"),Q(72,"json"),m()(),f(73,"div")(74,"div",14),T(75,"natural-select",16),m(),f(76,"pre",7),C(77),Q(78,"json"),Q(79,"json"),Q(80,"json"),Q(81,"json"),m()()(),f(82,"h2",11),C(83,"Others"),m(),f(84,"div",2)(85,"mat-form-field")(86,"mat-label"),C(87,"Pr\xe9text"),m(),T(88,"input",17),f(89,"mat-hint"),C(90,"Basic input field to test alt+tab and focus on next field"),m()(),T(91,"natural-select",18)(92,"natural-select",19)(93,"natural-select",20)(94,"natural-select",21)(95,"natural-select",22),f(96,"natural-select",23),S(97,VBe,3,1,"ng-template"),m(),f(98,"div")(99,"natural-select",24),E("ngModelChange",function(o){return i.freeText=o}),m(),f(100,"pre",7),C(101),m()()()()),2&e&&(b(21),_("service",i.service),b(2),me("value: ",X(24,48,i.withoutModelOutput),""),b(2),_("service",i.service)("ngModel",i.withoutModelOutput),b(1),_("service",i.service)("required",i.required),b(2),_("service",i.service)("ngModel",i.myValue)("required",i.required)("disabled",i.disabled),b(2),me("value: ",X(31,50,i.myValue),""),b(6),_("service",i.service)("formControl",i.formControl),b(6),go("touched: ",X(43,52,i.formControl.touched),"\ndirty: ",X(44,54,i.formControl.dirty),"\nstatus: ",X(45,56,i.formControl.status),"\nerrors: ",X(46,58,i.formControl.errors),"\nvalue: ",X(47,60,i.formControl.value),"\n "),b(7),_("service",i.service)("formControl",i.formControlReplace),b(2),go("touched: ",X(52,62,i.formControlReplace.touched),"\ndirty: ",X(53,64,i.formControlReplace.dirty),"\nstatus: ",X(54,66,i.formControlReplace.status),"\nerrors: ",X(55,68,i.formControlReplace.errors),"\nvalue: ",X(56,70,i.formControlReplace.value),"\n "),b(10),_("formGroup",i.formGroup),b(1),_("service",i.service),b(6),As("touched: ",X(69,72,i.formGroup.touched),"\ndirty: ",X(70,74,i.formGroup.dirty),"\nstatus: ",X(71,76,i.formGroup.status),"\nvalue: ",X(72,78,i.formGroup.value),"\n "),b(6),_("formGroup",i.formGroupReplace),b(1),_("service",i.service),b(2),As("touched: ",X(78,80,i.formGroupReplace.touched),"\ndirty: ",X(79,82,i.formGroupReplace.dirty),"\nstatus: ",X(80,84,i.formGroupReplace.status),"\nvalue: ",X(81,86,i.formGroupReplace.value),"\n "),b(14),_("service",i.service),b(1),_("service",i.service)("showIcon",!1),b(1),_("service",i.service),b(1),_("service",i.service),b(1),_("service",i.errorService),b(1),_("service",i.service),b(3),_("service",i.service)("ngModel",i.freeText)("optionRequired",!1),b(2),me("freeText: ",i.freeText,""))},dependencies:[$n,An,Hn,us,ct,en,h0,Ut,jt,oi,Xr,Us,sn,an,gn,Qa,mn,Mn,En,rc,Ii,Ai,ai,ei,ui,ke,Kr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:stretch}[_nghost-%COMP%] .debug[_ngcontent-%COMP%]{max-height:200px;overflow:auto}[_nghost-%COMP%] .form-group[_ngcontent-%COMP%], [_nghost-%COMP%] .form-group[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%]{width:230px;margin-left:0;margin-right:0}"]}),n})(),HBe=(()=>{class n{constructor(e){this.alertService=e}confirm(){this.alertService.confirm("Confirm example","Are you sure ?","Do it !").subscribe(e=>console.log("confirmation result:",e))}error(){this.alertService.error("Something bad happened")}info(){this.alertService.info("Useful information")}}return n.\u0275fac=function(e){return new(e||n)(g(c0))},n.\u0275cmp=$({type:n,selectors:[["app-panels"]],standalone:!0,features:[Se],decls:9,vars:0,consts:[[1,"mat-headline-4"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAlertService"),m(),f(2,"div",1)(3,"a",2),E("click",function(){return i.confirm()}),C(4,"alertService.confirm()"),m(),f(5,"a",2),E("click",function(){return i.error()}),C(6,"alertService.error()"),m(),f(7,"a",2),E("click",function(){return i.info()}),C(8,"alertService.info()"),m()())},dependencies:[$n,An,Hn,ct,tc],encapsulation:2}),n})(),$Be=(()=>{class n{constructor(){this.link=[],this.color="accent",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-fixed-button"]],inputs:{icon:"icon",link:"link",color:"color",disabled:"disabled"},standalone:!0,features:[Se],decls:2,vars:4,consts:[["mat-fab","",3,"color","disabled","routerLink"],[3,"naturalIcon"]],template:function(e,i){1&e&&(f(0,"button",0),T(1,"mat-icon",1),m()),2&e&&(_("color",i.color)("disabled",i.disabled)("routerLink",i.link),b(1),_("naturalIcon",i.icon))},dependencies:[ct,Qne,ur,ai,ei,ui],styles:["[_nghost-%COMP%]{position:fixed!important;z-index:999;bottom:32px;right:32px}"]}),n})();function jBe(n,t){if(1&n){const e=Y();f(0,"natural-fixed-button",2),E("click",function(){return B(e),V(x().clickCreate())}),m()}if(2&n){const e=x();_("disabled",e.form.disabled)("color",e.form.valid?"accent":"warn")}}function UBe(n,t){if(1&n){const e=Y();f(0,"natural-fixed-button",3),E("click",function(){return B(e),V(x().clickDelete())}),m()}2&n&&_("disabled",x().form.disabled)}let GBe=(()=>{class n{get model(){return this._model}set model(e){this._model=e,this.canChange&&(this.isCreation=!this._model.id,this.canChange=!1)}constructor(e){this.canChange=!0,this.isCreation=!1,this.create=new j,this.delete=new j,e.params.pipe(tm()).subscribe(()=>this.canChange=!0)}clickCreate(){this.form.enabled&&this.create.emit()}clickDelete(){this.form.enabled&&this.delete.emit()}}return n.\u0275fac=function(e){return new(e||n)(g(Nr))},n.\u0275cmp=$({type:n,selectors:[["natural-fixed-button-detail"]],inputs:{model:"model",form:"form"},outputs:{create:"create",delete:"delete"},standalone:!0,features:[Se],decls:2,vars:2,consts:function(){let t;return t=$localize`:␟6d0f238f184fc8f62fc7812df8bfd1d80ff2134c␟4278759715584032282:Supprimer définitivement`,[["class","detail-speed-dial","icon","save",3,"disabled","color","click",4,"ngIf"],["class","detail-speed-dial","color","warn","icon","delete_forever","matTooltip",t,"matTooltipPosition","left",3,"disabled","click",4,"ngIf"],["icon","save",1,"detail-speed-dial",3,"disabled","color","click"],["color","warn","icon","delete_forever","matTooltip",t,"matTooltipPosition","left",1,"detail-speed-dial",3,"disabled","click"]]},template:function(e,i){1&e&&(S(0,jBe,1,2,"natural-fixed-button",0),S(1,UBe,1,1,"natural-fixed-button",1)),2&e&&(_("ngIf",i.isCreation),b(1),_("ngIf",!i.isCreation&&(!i.model.permissions||i.model.permissions.delete)))},dependencies:[ke,Be,$Be,Ja,Xa]}),n})();const Z$=function(){return[]};function qBe(n,t){if(1&n&&(f(0,"a",7),C(1),m()),2&n){const e=x();_("routerLink",e.isPanel?wn(3,Z$):e.getRootLink())("fragment",e.listFragment),b(1),xe(e.rootLabel||e.label)}}function WBe(n,t){if(1&n&&(Dt(0),C(1," / "),f(2,"a",8),C(3),m(),St()),2&n){const e=t.$implicit,i=x();b(2),_("routerLink",i.isPanel?wn(2,Z$):i.getLink(e.id)),b(1),me(" ",(null==e?null:e.fullName)||(null==e?null:e.name),"")}}function YBe(n,t){if(1&n&&(f(0,"div",9),T(1,"mat-icon",10),m()),2&n){const e=x();b(1),_("naturalIcon",e.icon)}}function KBe(n,t){if(1&n&&(f(0,"div",11),C(1),m()),2&n){const e=x();b(1),xe(e.newLabel)}}function QBe(n,t){if(1&n&&(f(0,"div",12),C(1),m()),2&n){const e=x();b(1),xe(e.model.name||e.model.fullName||e.label)}}const XBe=["*"];let ej=(()=>{class n{constructor(){this.isPanel=!1,this.icon="",this.label="",this.rootLabel="",this.newLabel="",this.breadcrumbs=[],this.listRoute=[]}getRootLink(){return[this.currentBaseUrl||"/"].concat(this.listRoute)}getLink(e){return this.link?this.getRootLink().concat(this.link(e)):this.getRootLink().concat([e])}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-detail-header"]],inputs:{currentBaseUrl:"currentBaseUrl",isPanel:"isPanel",icon:"icon",label:"label",rootLabel:"rootLabel",newLabel:"newLabel",model:"model",breadcrumbs:"breadcrumbs",listRoute:"listRoute",listFragment:"listFragment",link:"link"},standalone:!0,features:[Se],ngContentSelectors:XBe,decls:9,vars:5,consts:[[1,"breadcrumb"],["color","primary","mat-button","",3,"routerLink","fragment",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"body"],["style","width: 30px",4,"ngIf"],["class","mat-headline-5 no-margin newLabel",4,"ngIf"],["class","mat-headline-5 no-margin label",4,"ngIf"],["color","primary","mat-button","",3,"routerLink","fragment"],["color","primary","mat-button","",3,"routerLink"],[2,"width","30px"],[3,"naturalIcon"],[1,"mat-headline-5","no-margin","newLabel"],[1,"mat-headline-5","no-margin","label"]],template:function(e,i){1&e&&(qe(),f(0,"div",0),S(1,qBe,2,4,"a",1),S(2,WBe,4,3,"ng-container",2),m(),f(3,"div",3),S(4,YBe,2,1,"div",4),S(5,KBe,2,1,"div",5),S(6,QBe,2,1,"div",6),f(7,"div"),re(8),m()()),2&e&&(b(1),_("ngIf",i.rootLabel||i.label),b(1),_("ngForOf",i.breadcrumbs),b(2),_("ngIf",i.icon),b(1),_("ngIf",!i.model.id),b(1),_("ngIf",i.model.id))},dependencies:[ke,Zt,Be,ct,tc,ur,ai,ei,ui],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .breadcrumb[_ngcontent-%COMP%], [_nghost-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .breadcrumb[_ngcontent-%COMP%]{position:relative;top:5px}[_nghost-%COMP%] .body[_ngcontent-%COMP%]{min-height:40px}[_nghost-%COMP%] .body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:5px}[_nghost-%COMP%] .body[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], [_nghost-%COMP%] .body[_ngcontent-%COMP%] .newLabel[_ngcontent-%COMP%]{flex:1}@media screen and (max-width: 600px){[_nghost-%COMP%] .body[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px!important}[_nghost-%COMP%] .body[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{display:none}}"]}),n})();function JBe(n,t){if(1&n){const e=Y();f(0,"natural-fixed-button-detail",26),E("create",function(){return B(e),V(x().create())})("delete",function(){return B(e),V(x().delete())}),m()}if(2&n){const e=x();_("form",e.form)("model",e.data.model)}}const ZBe=function(){return{}},e8e=function(){return["admin","product"]},tj=function(){return["."]};let t8e=(()=>{class n extends G${constructor(e){super("detail",e),this.collectErrors=Uu,this.isUpdatePage()?this.doSomethingWithFetchedModel(this.data.model):this.doSomethingWithDefaultValues(this.data.model)}doSomethingWithFetchedModel(e){return e.id}doSomethingWithDefaultValues(e){return"id"in e}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-detail"]],standalone:!0,features:[N,Se],decls:75,vars:23,consts:[["fxLayout","column","fxLayoutGap","80px"],[1,"mat-headline-4"],["newLabel","Very Very Very Very long title","label","title zone",3,"model","listRoute"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","color","primary","routerLink","panel/123"],["mat-flat-button","","color","primary",3,"routerLink"],["mat-flat-button","","color","primary","fragment","asdasfd",3,"routerLink"],["naturalLinkableTab",""],["label","Tab 1","id","tab-1"],[1,"detail-body","padding-top",3,"formGroup"],["fxLayout","row wrap","fxLayoutGap","20px","fxLayoutAlign","start start"],["matInput","","formControlName","name",3,"change"],["matInput","","formControlName","description",3,"change"],["color","primary","mat-raised-button","",3,"click"],[1,"debug"],[3,"form","model","create","delete",4,"ngIf"],["label","Tab 2","id","tab-2"],["label","Tab 3","id","tab-3"],[1,"mat-h1"],["label","Tab d-2","id","tab-d-2"],["label","Tab d-3","id","tab-d-3"],["label","Tab b-2","id","tab-b-2"],["label","Tab b-3","id","tab-b-3"],[3,"naturalLinkableTab"],["label","Tab c-2","id","tab-c-2"],["label","Tab c-3","id","tab-c-3"],[3,"form","model","create","delete"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"h1",1),C(2,"NaturalAbstractDetail"),m(),f(3,"natural-detail-header",2)(4,"div",3)(5,"button",4),C(6,"Open panel"),m(),f(7,"button",5),C(8,"Clear fragment"),m(),f(9,"button",6),C(10,"Invalid fragment"),m()()(),f(11,"mat-tab-group",7)(12,"mat-tab",8)(13,"div",9)(14,"div",10)(15,"mat-form-field")(16,"mat-label"),C(17,"Name"),m(),f(18,"input",11),E("change",function(){return i.update()}),m()(),f(19,"mat-form-field")(20,"mat-label"),C(21,"Description"),m(),f(22,"input",12),E("change",function(){return i.update()}),m()(),f(23,"button",13),E("click",function(){return i.data.model.id="123"}),C(24,"Set ID to test delete button "),m()(),f(25,"pre",14)(26,"strong"),C(27,"form.enabled:"),m(),C(28),Q(29,"json"),m(),f(30,"pre",14)(31,"strong"),C(32,"form.valid:"),m(),C(33),Q(34,"json"),m(),f(35,"pre",14)(36,"strong"),C(37,"form.value:"),m(),C(38),Q(39,"json"),m(),f(40,"pre",14)(41,"strong"),C(42,"form.errors:"),m(),C(43),Q(44,"json"),m(),S(45,JBe,1,2,"natural-fixed-button-detail",15),m()(),f(46,"mat-tab",16),C(47,"Tab 2 content"),m(),f(48,"mat-tab",17),C(49,"Tab 3 content"),m()(),f(50,"div")(51,"h1",18),C(52,"Second linkable tabs"),m(),f(53,"mat-tab-group",7)(54,"mat-tab",19),C(55,"Tab d-2 content"),m(),f(56,"mat-tab",20),C(57,"Tab d-3 content"),m()()(),f(58,"div")(59,"h1",18),C(60,"Unlinkable tabs (ignored)"),m(),f(61,"mat-tab-group")(62,"mat-tab",21),C(63,"Tab b-2 content"),m(),f(64,"mat-tab",22),C(65,"Tab b-3 content"),m()()(),f(66,"div")(67,"h1",18),C(68,"Unlinkable tabs (set to false)"),m(),f(69,"mat-tab-group",23)(70,"mat-tab",24),C(71,"Tab c-2 content"),m(),f(72,"mat-tab",25),C(73,"Tab c-3 content"),m()()(),T(74,"router-outlet"),m()),2&e&&(b(3),_("model",wn(19,ZBe))("listRoute",wn(20,e8e)),b(4),_("routerLink",wn(21,tj)),b(2),_("routerLink",wn(22,tj)),b(4),_("formGroup",i.form),b(15),xe(X(29,11,i.form.enabled)),b(5),xe(X(34,13,i.form.valid)),b(5),xe(X(39,15,i.form.value)),b(5),xe(X(44,17,i.collectErrors(i.form))),b(2),_("ngIf",i.showFabButton),b(24),_("naturalLinkableTab",!1))},dependencies:[$n,An,Hn,us,ej,ct,en,ur,m3,P1,B1,D$,Ut,di,jt,oi,sn,gn,Qa,mn,Mn,En,Ii,Ai,ke,Be,Kr,GBe,bc],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"]}),n})();const n8e=xv` + query EnumType($name: String!) { + __type(name: $name) { + __typename + enumValues { + name + description + } + } + } +`;let YM=(()=>{class n{constructor(e){this.apollo=e}get(e){return this.apollo.query({query:n8e,variables:{name:e},fetchPolicy:"cache-first"}).pipe(ue(i=>{const r=[];if(i.data.__type&&i.data.__type.enumValues)for(const o of i.data.__type.enumValues)r.push({value:o.name,name:o.description||""});return r}))}getValueName(e,i){return this.get(i).pipe(ue(r=>{for(const o of r)if(o.value===e)return o.name;return""}))}}return n.\u0275fac=function(e){return new(e||n)(A(nl))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),i8e=(()=>{class n extends YM{get(){return ee([{value:"val1",name:"name1"},{value:"val2",name:"name2"},{value:"val3",name:"name3"}])}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nj=(()=>{class n{transform(e){return e&&Oc(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=$i({name:"capitalize",type:n,pure:!0,standalone:!0}),n})();function r8e(n,t){if(1&n&&(f(0,"mat-option",4),C(1),m()),2&n){const e=x();_("value",null),b(1),xe(e.nullLabel)}}function o8e(n,t){if(1&n&&(f(0,"mat-option",5),C(1),Q(2,"capitalize"),m()),2&n){const e=t.$implicit,i=x();_("value",e.value)("disabled",!!i.optionDisabled&&i.optionDisabled(e)),b(1),me(" ",X(2,3,e.name)," ")}}function a8e(n,t){if(1&n&&(f(0,"mat-hint"),C(1),m()),2&n){const e=x();b(1),xe(e.hint)}}function s8e(n,t){1&n&&(f(0,"mat-error"),Ce(1,6),m())}let l8e=(()=>{class n extends qM{constructor(e,i){super(i),this.enumService=e,this.multiple=!1}ngOnInit(){super.ngOnInit(),this.items=this.enumService.get(this.enumName)}getDisplayFn(){throw new Error("This should never be called")}}return n.\u0275fac=function(e){return new(e||n)(g(YM),g(Ki,10))},n.\u0275cmp=$({type:n,selectors:[["natural-select-enum"]],inputs:{enumName:"enumName",nullLabel:"nullLabel",optionDisabled:"optionDisabled",multiple:"multiple"},standalone:!0,features:[N,Se],decls:9,vars:10,consts:function(){let t;return t=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[[3,"formControl","errorStateMatcher","multiple","selectionChange","blur"],[3,"value",4,"ngIf"],[3,"value","disabled",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[3,"value","disabled"],t]},template:function(e,i){1&e&&(f(0,"mat-form-field")(1,"mat-label"),C(2),m(),f(3,"mat-select",0),E("selectionChange",function(o){return i.propagateValue(o.value)})("blur",function(){return i.onBlur()}),S(4,r8e,2,2,"mat-option",1),S(5,o8e,3,5,"mat-option",2),Q(6,"async"),m(),S(7,a8e,2,1,"mat-hint",3),S(8,s8e,2,0,"mat-error",3),m()),2&e&&(b(2),xe(i.placeholder),b(1),_("formControl",i.internalCtrl)("errorStateMatcher",i.matcher)("multiple",i.multiple),b(1),_("ngIf",i.nullLabel),b(1),_("ngForOf",X(6,8,i.items)),b(2),_("ngIf",i.hint),b(1),_("ngIf",i.hasRequiredError()))},dependencies:[mn,Mn,En,rc,Qr,hc,uc,ia,Ut,jt,sn,an,ke,Zt,Be,Df,Mo,nj],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"]}),n})(),c8e=(()=>{class n extends WM{optionDisabled(e){return"val2"===e.value}constructor(e,i){super(e,i),this.formControlMultiple=new wt}getNextValue(){return ee("val"+Math.ceil(Math.random()*Math.floor(3)))}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(_h))},n.\u0275cmp=$({type:n,selectors:[["app-select"]],standalone:!0,features:[ae([{provide:YM,useClass:i8e}]),N,Se],decls:85,vars:88,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],["mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["enumName","FooEnum","placeholder","Without model (output only)",3,"selectionChange"],[1,"debug"],["enumName","FooEnum","placeholder","Input from previous output",3,"ngModel"],["enumName","FooEnum","placeholder","Without model, required",3,"required"],["enumName","FooEnum","placeholder","With model, required",3,"ngModel","required","disabled","ngModelChange"],[1,"mat-h2"],["enumName","FooEnum","placeholder","FormControl (update)",3,"formControl"],["enumName","FooEnum","placeholder","FormControl (replace)",3,"formControl"],[1,"form-group",3,"formGroup"],["enumName","FooEnum","formControlName","amazingField","placeholder","FormGroup (update)"],["enumName","FooEnum","formControlName","amazingField","placeholder","FormGroup (replace)"],["enumName","myEnum","placeholder","Disabled option with formControl",3,"formControl","optionDisabled"],["enumName","myEnum","placeholder","Multiple options with formControlMultiple",3,"formControl","multiple"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-select-enum"),m(),f(2,"div",1)(3,"div",2)(4,"button",3),E("click",function(){return i.validateAllFormControls()}),C(5,"Validate all controls"),m(),f(6,"button",3),E("click",function(){return i.toggleDisabledAllFormControls()}),C(7,"Disable all controls"),m(),f(8,"button",3),E("click",function(){return i.setValue()}),C(9,"Set value"),m(),f(10,"button",3),E("click",function(){return i.clearValue()}),C(11,"Clear value"),m()(),f(12,"h2",4)(13,"div"),C(14,"ngModel"),m(),f(15,"button",3),E("click",function(){return i.required=!0}),C(16,"required"),m(),f(17,"button",3),E("click",function(){return i.required=!1}),C(18,"optional"),m()(),f(19,"div",5)(20,"div")(21,"natural-select-enum",6),E("selectionChange",function(o){return i.withoutModelOutput=o}),m(),f(22,"pre",7),C(23),Q(24,"json"),m()(),T(25,"natural-select-enum",8)(26,"natural-select-enum",9),f(27,"div")(28,"natural-select-enum",10),E("ngModelChange",function(o){return i.myValue=o}),m(),f(29,"pre",7),C(30),Q(31,"json"),m()()(),f(32,"h2",11),C(33,"FormControl"),m(),f(34,"div",5)(35,"div"),T(36,"natural-select-enum",12),f(37,"pre",7),C(38),Q(39,"json"),Q(40,"json"),Q(41,"json"),Q(42,"json"),Q(43,"json"),m()(),f(44,"div"),T(45,"natural-select-enum",13),f(46,"pre",7),C(47),Q(48,"json"),Q(49,"json"),Q(50,"json"),Q(51,"json"),Q(52,"json"),m()()(),f(53,"h2",11),C(54,"FormGroup"),m(),f(55,"div",5)(56,"div")(57,"div",14),T(58,"natural-select-enum",15),m(),f(59,"pre",7),C(60),Q(61,"json"),Q(62,"json"),Q(63,"json"),Q(64,"json"),m()(),f(65,"div")(66,"div",14),T(67,"natural-select-enum",16),m(),f(68,"pre",7),C(69),Q(70,"json"),Q(71,"json"),Q(72,"json"),Q(73,"json"),m()()(),f(74,"h2",11),C(75,"Others"),m(),T(76,"natural-select-enum",17)(77,"natural-select-enum",18),f(78,"pre",7),C(79),Q(80,"json"),Q(81,"json"),Q(82,"json"),Q(83,"json"),Q(84,"json"),m()()),2&e&&(b(23),me("value: ",X(24,38,i.withoutModelOutput),""),b(2),_("ngModel",i.withoutModelOutput),b(1),_("required",i.required),b(2),_("ngModel",i.myValue)("required",i.required)("disabled",i.disabled),b(2),me("value: ",X(31,40,i.myValue),""),b(6),_("formControl",i.formControl),b(2),go("touched: ",X(39,42,i.formControl.touched),"\ndirty: ",X(40,44,i.formControl.dirty),"\nstatus: ",X(41,46,i.formControl.status),"\nerrors: ",X(42,48,i.formControl.errors),"\nvalue: ",X(43,50,i.formControl.value),"\n "),b(7),_("formControl",i.formControlReplace),b(2),go("touched: ",X(48,52,i.formControlReplace.touched),"\ndirty: ",X(49,54,i.formControlReplace.dirty),"\nstatus: ",X(50,56,i.formControlReplace.status),"\nerrors: ",X(51,58,i.formControlReplace.errors),"\nvalue: ",X(52,60,i.formControlReplace.value),"\n "),b(10),_("formGroup",i.formGroup),b(3),As("touched: ",X(61,62,i.formGroup.touched),"\ndirty: ",X(62,64,i.formGroup.dirty),"\nstatus: ",X(63,66,i.formGroup.status),"\nvalue: ",X(64,68,i.formGroup.value),"\n "),b(6),_("formGroup",i.formGroupReplace),b(3),As("touched: ",X(70,70,i.formGroupReplace.touched),"\ndirty: ",X(71,72,i.formGroupReplace.dirty),"\nstatus: ",X(72,74,i.formGroupReplace.status),"\nvalue: ",X(73,76,i.formGroupReplace.value),"\n "),b(7),_("formControl",i.formControl)("optionDisabled",i.optionDisabled),b(1),_("formControl",i.formControlMultiple)("multiple",!0),b(2),go("touched: ",X(80,78,i.formControlMultiple.touched),"\ndirty: ",X(81,80,i.formControlMultiple.dirty),"\nstatus: ",X(82,82,i.formControlMultiple.status),"\nerrors: ",X(83,84,i.formControlMultiple.errors),"\nvalue: ",X(84,86,i.formControlMultiple.value),"\n"))},dependencies:[$n,An,Hn,us,ct,en,l8e,Ut,jt,oi,Xr,Us,sn,an,gn,Qa,ke,Kr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:stretch}[_nghost-%COMP%] .debug[_ngcontent-%COMP%]{max-height:200px;overflow:auto}[_nghost-%COMP%] .form-group[_ngcontent-%COMP%], [_nghost-%COMP%] .form-group[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%]{width:230px;margin-left:0;margin-right:0}"]}),n})();function d8e(n,t){1&n&&T(0,"mat-icon",7),2&n&&_("naturalIcon",x().icon)}function u8e(n,t){if(1&n&&(f(0,"mat-hint"),C(1),m()),2&n){const e=x();b(1),xe(e.hint)}}function h8e(n,t){if(1&n){const e=Y();f(0,"button",8),E("click",function(r){return B(e),x().clear(),V(r.stopPropagation())}),T(1,"mat-icon",9),m()}}function f8e(n,t){1&n&&(f(0,"button",10),E("click",function(i){return i.stopPropagation()}),T(1,"mat-icon",11),m()),2&n&&_("routerLink",x().navigateTo)}function p8e(n,t){1&n&&(f(0,"mat-error"),Ce(1,12),m())}function m8e(n,t){if(1&n){const e=Y();f(0,"button",16),E("click",function(){return B(e),V(x(2).openDialog())}),C(1),m()}if(2&n){const e=x(2);b(1),xe(e.selectLabel)}}function g8e(n,t){if(1&n){const e=Y();f(0,"button",17),E("click",function(){return B(e),V(x(2).clear())}),C(1),m()}if(2&n){const e=x(2);b(1),xe(e.clearLabel)}}function _8e(n,t){if(1&n&&(f(0,"div",13),S(1,m8e,2,1,"button",14),S(2,g8e,2,1,"button",15),m()),2&n){const e=x();b(1),_("ngIf",e.showSelectButton()),b(1),_("ngIf",e.showClearButton())}}function b8e(n){return n?n.fullName||n.name||n.iban||n.id||n:""}let v8e=(()=>{class n extends qM{constructor(e,i){super(i),this.hierarchicSelectorDialogService=e,this.config=null,this.value=null,this.lockOpenDialog=!1}getDisplayFn(){return this.displayWith?this.displayWith:b8e}writeValue(e){this.value=e,this.internalCtrl.setValue(this.getDisplayFn()(this.value))}openDialog(){if(this.internalCtrl.disabled||this.lockOpenDialog)return;const e=this.getSelectKey();if(!e||!this.config)return;this.lockOpenDialog=!0,this.onTouched&&this.onTouched();const i={};this.internalCtrl.value&&(i[e]=[this.value]),this.hierarchicSelectorDialogService.open({hierarchicConfig:this.config,hierarchicSelection:i,hierarchicFilters:this.filters,multiple:!1},{restoreFocus:!1}).afterClosed().subscribe(a=>{if(this.lockOpenDialog=!1,a&&a.hierarchicSelection){const s=a.hierarchicSelection,l=Object.keys(s).find(d=>s[d][0]),c=l?s[l][0]:null;this.writeValue(c),this.propagateValue(c)}})}showSelectButton(){return!!(this.internalCtrl?.enabled&&this.selectLabel&&this.getSelectKey())}getSelectKey(){return this.config?.filter(e=>!!e.selectableAtKey)[0]?.selectableAtKey}}return n.\u0275fac=function(e){return new(e||n)(g(RM),g(Ki,10))},n.\u0275cmp=$({type:n,selectors:[["natural-select-hierarchic"]],inputs:{selectLabel:"selectLabel",config:"config",filters:"filters"},standalone:!0,features:[N,Se],decls:11,vars:9,consts:function(){let t,e,i,r;return t=$localize`:␟24db55d2b71cb10137208e99c6c112b630194818␟3383260231057423151:Recherche et sélection`,e=$localize`:␟b73f9486556a620fa0bc34490ca8aef60d5ba50e␟7476559703529470786:Désélectionner`,i=$localize`:␟c556a47cd554d8b94066106f1832d6272fbca1e1␟6489170507220514306:Naviguer vers`,r=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[["aria-label",t,"matInput","",3,"formControl","errorStateMatcher","blur","focus"],["matIconPrefix","",3,"naturalIcon",4,"ngIf"],[4,"ngIf"],["matIconSuffix","",1,"suffix-buttons"],["mat-icon-button","","matTooltip",e,3,"click",4,"ngIf"],["mat-icon-button","","matTooltip",i,3,"routerLink","click",4,"ngIf"],["class","external-buttons",4,"ngIf"],["matIconPrefix","",3,"naturalIcon"],["mat-icon-button","","matTooltip",e,3,"click"],["naturalIcon","close"],["mat-icon-button","","matTooltip",i,3,"routerLink","click"],["naturalIcon","open_in_browser"],r,[1,"external-buttons"],["color","primary","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-button","",3,"click",4,"ngIf"],["color","primary","mat-flat-button","",3,"click"],["color","warn","mat-button","",3,"click"]]},template:function(e,i){1&e&&(f(0,"mat-form-field")(1,"mat-label"),C(2),m(),f(3,"input",0),E("blur",function(){return i.blur.emit()})("focus",function(){return i.openDialog()}),m(),S(4,d8e,1,1,"mat-icon",1),S(5,u8e,2,1,"mat-hint",2),f(6,"div",3),S(7,h8e,2,0,"button",4),S(8,f8e,2,1,"button",5),m(),S(9,p8e,2,0,"mat-error",2),m(),S(10,_8e,3,2,"div",6)),2&e&&(b(2),xe(i.placeholder),b(1),_("formControl",i.internalCtrl)("errorStateMatcher",i.matcher),b(1),_("ngIf",i.showIcon),b(1),_("ngIf",i.hint),b(2),_("ngIf",i.internalCtrl.value&&i.internalCtrl.enabled&&!i.clearLabel),b(1),_("ngIf",i.internalCtrl.value&&i.navigateTo),b(1),_("ngIf",i.hasRequiredError()),b(1),_("ngIf",i.showSelectButton()||i.showClearButton()))},dependencies:[mn,Mn,En,rc,Qr,Y_,oc,Ii,Ai,Ut,di,jt,sn,an,ke,Be,ai,ei,ui,ct,en,Ar,Ja,Xa,ur],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:20px}[_nghost-%COMP%] .suffix-buttons[_ngcontent-%COMP%], [_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}"]}),n})(),y8e=(()=>{class n extends WM{constructor(e,i){super(e,i),this.hierarchicConfig=[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(_h))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:94,vars:80,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],["mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["placeholder","Without model (output only)",3,"config","selectionChange"],[1,"debug"],["placeholder","Input from previous output",3,"config","ngModel"],["placeholder","Without model, required",3,"config","required"],["placeholder","With model, required",3,"config","ngModel","required","disabled","ngModelChange"],[1,"mat-h2"],["placeholder","FormControl (update)",3,"config","formControl"],["placeholder","FormControl (replace)",3,"config","formControl"],[1,"form-group",3,"formGroup"],["formControlName","amazingField","placeholder","FormGroup (update)",3,"config"],["formControlName","amazingField","placeholder","FormGroup (replace)",3,"config"],["matInput",""],["navigateTo","/","placeholder","With navigateTo",3,"config"],["icon","pets","placeholder","With custom icon",3,"config"],["clearLabel","Unselect","selectLabel","Select something","placeholder","With select and clear label",3,"config"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-select-hierarchic"),m(),f(2,"div",1)(3,"div",2)(4,"button",3),E("click",function(){return i.validateAllFormControls()}),C(5,"Validate controls with formControl"),m(),f(6,"button",3),E("click",function(){return i.toggleDisabledAllFormControls()}),C(7,"Disable controls with formControl"),m(),f(8,"button",3),E("click",function(){return i.setValue()}),C(9,"Set value"),m(),f(10,"button",3),E("click",function(){return i.clearValue()}),C(11,"Clear value"),m()(),f(12,"h2",4)(13,"div"),C(14,"ngModel"),m(),f(15,"button",3),E("click",function(){return i.required=!0}),C(16,"required"),m(),f(17,"button",3),E("click",function(){return i.required=!1}),C(18,"optional"),m()(),f(19,"div",5)(20,"div")(21,"natural-select-hierarchic",6),E("selectionChange",function(o){return i.withoutModelOutput=o}),m(),f(22,"pre",7),C(23),Q(24,"json"),m()(),T(25,"natural-select-hierarchic",8)(26,"natural-select-hierarchic",9),f(27,"div")(28,"natural-select-hierarchic",10),E("ngModelChange",function(o){return i.myValue=o}),m(),f(29,"pre",7),C(30),Q(31,"json"),m()()(),f(32,"h2",11),C(33,"FormControl"),m(),f(34,"div",5)(35,"div"),T(36,"natural-select-hierarchic",12),f(37,"button",3),E("click",function(){return i.updateValidatorRequired(i.formControl)}),C(38,"required"),m(),f(39,"button",3),E("click",function(){return i.updateValidatorOptional(i.formControl)}),C(40,"optional"),m(),f(41,"pre",7),C(42),Q(43,"json"),Q(44,"json"),Q(45,"json"),Q(46,"json"),Q(47,"json"),m()(),f(48,"div"),T(49,"natural-select-hierarchic",13),f(50,"pre",7),C(51),Q(52,"json"),Q(53,"json"),Q(54,"json"),Q(55,"json"),Q(56,"json"),m()()(),f(57,"h2",11),C(58,"FormGroup"),m(),f(59,"div",5)(60,"div")(61,"div",14),T(62,"natural-select-hierarchic",15),m(),f(63,"button",3),E("click",function(){return i.updateValidatorRequired(i.formGroup.get("amazingField"))}),C(64,"required"),m(),f(65,"button",3),E("click",function(){return i.updateValidatorOptional(i.formGroup.get("amazingField"))}),C(66,"optional"),m(),f(67,"pre",7),C(68),Q(69,"json"),Q(70,"json"),Q(71,"json"),Q(72,"json"),m()(),f(73,"div")(74,"div",14),T(75,"natural-select-hierarchic",16),m(),f(76,"pre",7),C(77),Q(78,"json"),Q(79,"json"),Q(80,"json"),Q(81,"json"),m()()(),f(82,"h2",11),C(83,"Others"),m(),f(84,"div",5)(85,"mat-form-field")(86,"mat-label"),C(87,"Pr\xe9text"),m(),T(88,"input",17),f(89,"mat-hint"),C(90,"Basic input field to test alt+tab and focus on next field"),m()(),T(91,"natural-select-hierarchic",18)(92,"natural-select-hierarchic",19)(93,"natural-select-hierarchic",20),m()()),2&e&&(b(21),_("config",i.hierarchicConfig),b(2),me("value: ",X(24,40,i.withoutModelOutput),""),b(2),_("config",i.hierarchicConfig)("ngModel",i.withoutModelOutput),b(1),_("config",i.hierarchicConfig)("required",i.required),b(2),_("config",i.hierarchicConfig)("ngModel",i.myValue)("required",i.required)("disabled",i.disabled),b(2),me("value: ",X(31,42,i.myValue),""),b(6),_("config",i.hierarchicConfig)("formControl",i.formControl),b(6),go("touched: ",X(43,44,i.formControl.touched),"\ndirty: ",X(44,46,i.formControl.dirty),"\nstatus: ",X(45,48,i.formControl.status),"\nerrors: ",X(46,50,i.formControl.errors),"\nvalue: ",X(47,52,i.formControl.value),"\n "),b(7),_("config",i.hierarchicConfig)("formControl",i.formControlReplace),b(2),go("touched: ",X(52,54,i.formControlReplace.touched),"\ndirty: ",X(53,56,i.formControlReplace.dirty),"\nstatus: ",X(54,58,i.formControlReplace.status),"\nerrors: ",X(55,60,i.formControlReplace.errors),"\nvalue: ",X(56,62,i.formControlReplace.value),"\n "),b(10),_("formGroup",i.formGroup),b(1),_("config",i.hierarchicConfig),b(6),As("touched: ",X(69,64,i.formGroup.touched),"\ndirty: ",X(70,66,i.formGroup.dirty),"\nstatus: ",X(71,68,i.formGroup.status),"\nvalue: ",X(72,70,i.formGroup.value),"\n "),b(6),_("formGroup",i.formGroupReplace),b(1),_("config",i.hierarchicConfig),b(2),As("touched: ",X(78,72,i.formGroupReplace.touched),"\ndirty: ",X(79,74,i.formGroupReplace.dirty),"\nstatus: ",X(80,76,i.formGroupReplace.status),"\nvalue: ",X(81,78,i.formGroupReplace.value),"\n "),b(14),_("config",i.hierarchicConfig),b(1),_("config",i.hierarchicConfig),b(1),_("config",i.hierarchicConfig))},dependencies:[$n,An,Hn,us,ct,en,v8e,Ut,jt,oi,Xr,Us,sn,an,gn,Qa,mn,Mn,En,rc,Ii,Ai,ke,Kr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:stretch}[_nghost-%COMP%] .debug[_ngcontent-%COMP%]{max-height:200px;overflow:auto}[_nghost-%COMP%] .form-group[_ngcontent-%COMP%], [_nghost-%COMP%] .form-group[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select-hierarchic[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select-hierarchic[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%]{width:230px;margin-left:0;margin-right:0}"]}),n})();function C8e(n,t){if(1&n&&(f(0,"div",5),T(1,"mat-icon",6),C(2),Q(3,"uppercase"),m()),2&n){const e=x();b(1),_("size",.33*e.height),b(1),me(" ",X(3,2,e.filePreview)," ")}}function w8e(n,t){1&n&&T(0,"mat-icon",7),2&n&&_("size",.66*x().height)}function x8e(n,t){1&n&&T(0,"mat-icon",8),2&n&&_("size",.66*x().height)}let D8e=(()=>{class n{constructor(e,i,r,o){this.naturalFileService=e,this.alertService=i,this.sanitizer=r,this.document=o,this.height=250,this.action=null,this.backgroundSize="contain",this.accept="image/bmp,image/gif,image/jpeg,image/pjpeg,image/png,image/svg+xml,image/svg,image/webp",this.model=null,this.formCtrl=null,this.modelChange=new j,this.imagePreview=null,this.filePreview=null}ngOnInit(){this.updateImage()}ngOnChanges(e){e.model&&e.model.previousValue!==e.model.currentValue&&this.updateImage()}upload(e){this.model={file:e},this.updateImage(),this.formCtrl&&this.formCtrl.setValue(this.model),(this.uploader?.(e).pipe(Ht(()=>this.alertService.info($localize`Mis à jour`)))??ee(this.model)).subscribe(r=>{this.model=r,this.formCtrl&&this.formCtrl.setValue(this.model),this.modelChange.emit(this.model)})}getDownloadLink(){return"download"!==this.action?null:this.naturalFileService.getDownloadLink(this.model)}updateImage(){if(this.imagePreview=null,this.filePreview=null,this.model)if(this.model.file?.type.includes("image/"))this.getBase64(this.model.file).subscribe(e=>{this.imagePreview=this.sanitizer.bypassSecurityTrustStyle("url(data:"+this.model?.file?.type+";base64,"+e+")")});else if(this.model.file)this.filePreview=this.model.file.type.split("/")[1];else if("Image"===this.model.__typename&&this.model.id){const e=this.document.defaultView;if(!e)throw new Error("Could not show image preview because `window` is undefined");const i=e.location;this.imagePreview=this.sanitizer.bypassSecurityTrustStyle("url("+i.protocol+"//"+i.hostname+"/api/image/"+this.model.id+(this.height?"/"+this.height:"")+")")}else this.model?.mime&&["File","AccountingDocument"].includes(this.model.__typename||"")?this.filePreview=this.model.mime.split("/")[1]:this.model.src&&(this.imagePreview=this.sanitizer.bypassSecurityTrustStyle("url("+this.model.src+")"))}getBase64(e){if(!e)return ee("");const i=new q,r=new FileReader;return r.addEventListener("load",o=>{i.next(btoa(o.target.result)),i.complete()}),r.readAsBinaryString(e),i.asObservable()}}return n.\u0275fac=function(e){return new(e||n)(g(JE),g(c0),g(ep),g(ge))},n.\u0275cmp=$({type:n,selectors:[["natural-file"]],hostVars:2,hostBindings:function(e,i){2&e&&nn("height",i.height,"px")},inputs:{height:"height",action:"action",backgroundSize:"backgroundSize",accept:"accept",uploader:"uploader",model:"model",formCtrl:"formCtrl"},outputs:{modelChange:"modelChange"},standalone:!0,features:[Je,Se],decls:7,vars:19,consts:[["naturalFileDrop","","matRipple","","target","_blank",3,"selectable","accept","fileSelectionDisabled","matRippleDisabled","fileChange"],["class","file-preview",4,"ngIf"],[1,"action-overlay"],["naturalIcon","cloud_upload",3,"size",4,"ngIf"],["naturalIcon","get_app",3,"size",4,"ngIf"],[1,"file-preview"],["naturalIcon","attachment",3,"size"],["naturalIcon","cloud_upload",3,"size"],["naturalIcon","get_app",3,"size"]],template:function(e,i){1&e&&(f(0,"a",0),E("fileChange",function(o){return i.upload(o)}),S(1,C8e,4,4,"div",1),f(2,"div",2),S(3,w8e,1,1,"mat-icon",3),S(4,x8e,1,1,"mat-icon",4),C(5),Q(6,"capitalize"),m()()),2&e&&(nn("background-image",i.imagePreview)("background-size",i.backgroundSize),ce("has-action",!!i.action)("suggest-upload",!i.model&&"upload"===i.action),_("selectable",!0)("accept",i.accept)("fileSelectionDisabled","upload"!==i.action)("matRippleDisabled",!i.action),ie("href",i.getDownloadLink(),Ko),b(1),_("ngIf",i.filePreview),b(2),_("ngIf","upload"===i.action),b(1),_("ngIf","download"===i.action),b(1),me(" ",X(6,17,i.action)," "))},dependencies:[ZE,Eo,Ei,ke,Be,lF,ai,ei,ui,nj],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;overflow:hidden;position:relative}[_nghost-%COMP%] > a[_ngcontent-%COMP%]{position:relative;flex:1;background-position:center;background-repeat:no-repeat}[_nghost-%COMP%] > a.has-action[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] > a.has-action.suggest-upload[_ngcontent-%COMP%] .action-overlay[_ngcontent-%COMP%]{opacity:.66}[_nghost-%COMP%] > a.has-action[_ngcontent-%COMP%]:hover .action-overlay[_ngcontent-%COMP%], [_nghost-%COMP%] > a.has-action.natural-file-over[_ngcontent-%COMP%] .action-overlay[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] .action-overlay[_ngcontent-%COMP%], [_nghost-%COMP%] .file-preview[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:absolute;inset:0;justify-content:center;align-items:center;font-size:36px;line-height:1.3em;text-align:center}[_nghost-%COMP%] .action-overlay[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .action-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:0;position:absolute;inset:0;display:flex;justify-content:center;align-items:center}"]}),n})(),S8e=(()=>{class n extends W7{constructor(){super(...arguments),this.selectable=!0}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","naturalFileSelect","",3,"naturalFileDrop",""]],inputs:{selectable:"selectable"},standalone:!0,features:[N]}),n})(),k8e=(()=>{class n extends _k{constructor(e,i){super(e,i,"user",null,null,null,null,null),this.id=1}getFileModel(){return{id:""+this.id++}}watchAll(){return ee({items:[this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel()],length:20,pageIndex:0,pageSize:5}).pipe(fi(500))}getAll(){return ee({items:[this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel()],length:20,pageIndex:0,pageSize:5}).pipe(fi(500))}getOne(){return ee(this.getFileModel())}create(e){return ee({...e,id:this.id++}).pipe(fi(500))}delete(){return ee(!0).pipe(fi(500))}}return n.\u0275fac=function(e){return new(e||n)(A(nl),A(qv))},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function p0(n){return{name:n.name,type:n.type,size:n.size,lastModified:n.lastModified}}function ij(n){return{valid:n.valid.map(p0),invalid:n.invalid.map(t=>({error:t.error,file:p0(t.file)}))}}let E8e=(()=>{class n{constructor(e,i){this.uploadService=e,this.fileService=i,this.disabled=!1,this.fileOver=null,this.fileOverJpg=null,this.fileOverSelectable=null,this.fileOverSelectableJpg=null,this.fileOverMaxSize=null,this.fileOverService=null,this.subscription=null,this.model=null}fileChange(e){console.log("fileChange",p0(e))}filesChange(e){console.log("filesChange",ij(e))}subscribe(){this.subscription||(this.subscription=this.uploadService.filesChanged.subscribe(e=>console.log("service filesChanged",ij(e))))}unsubscribe(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}modelChange(e){console.log({...e,file:e.file?p0(e.file):null})}setImage(){this.model={__typename:"Image",id:"123",mime:"image/jpeg"}}setImageWithSrc(){this.model={id:"456",src:"./assets/logo.svg"}}setFile(){this.model={__typename:"File",id:"789",mime:"application/pdf"}}clear(){this.model=null}uploadAndLink(e){return this.fileService.create({file:e}).pipe(Ht(i=>console.log("pretend to do something more with the uploaded file",i)))}}return n.\u0275fac=function(e){return new(e||n)(g(JE),g(k8e))},n.\u0275cmp=$({type:n,selectors:[["app-file"]],standalone:!0,features:[Se],decls:106,vars:46,consts:[[1,"mat-headline-4"],[1,"mat-body"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],[3,"ngModel","ngModelChange"],[1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["mat-raised-button","","naturalFileSelect","",3,"disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileSelect","",3,"disabled","multiple","fileChange","filesChange"],["mat-raised-button","","naturalFileSelect","","accept","image/jpeg",3,"disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileSelect","","accept","image/jpeg",3,"disabled","multiple","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","",3,"selectable","disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","",3,"selectable","disabled","multiple","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","","accept","image/jpeg",3,"selectable","disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","","accept","image/jpeg",3,"selectable","disabled","multiple","fileChange","filesChange"],["naturalFileDrop","",3,"fileSelectionDisabled","fileChange","filesChange","fileOver"],["naturalFileDrop","","accept","image/jpeg",3,"fileSelectionDisabled","fileChange","filesChange","fileOver"],["naturalFileDrop","",3,"fileSelectionDisabled","selectable","fileChange","filesChange","fileOver"],["naturalFileDrop","","accept","image/jpeg",3,"fileSelectionDisabled","selectable","fileChange","filesChange","fileOver"],["naturalFileDrop","",3,"fileSelectionDisabled","maxSize","fileChange","filesChange","fileOver"],["mat-raised-button","",3,"click"],["naturalFileDrop","",3,"fileSelectionDisabled","fileOver"],["action","upload",3,"model","uploader","modelChange"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-file"),m(),f(2,"p",1),C(3,"Open the console to see events"),m(),f(4,"div",2)(5,"div",3)(6,"mat-checkbox",4),E("ngModelChange",function(o){return i.disabled=o}),C(7,"disabled"),m()(),f(8,"h2",5),C(9,"Button"),m(),f(10,"div",6)(11,"div")(12,"button",7),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(13," Select one file "),m()(),f(14,"div")(15,"button",8),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(16," Select multiples files "),m()(),f(17,"div")(18,"button",9),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(19," Select one JPG "),m()(),f(20,"div")(21,"button",10),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(22," Select multiples JPG "),m()()(),f(23,"h2",5),C(24,"Button that can also be drag'n'dropped on"),m(),f(25,"div",6)(26,"div")(27,"button",11),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(28," Select one file "),m()(),f(29,"div")(30,"button",12),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(31," Select multiples files "),m()(),f(32,"div")(33,"button",13),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(34," Select one JPG "),m()(),f(35,"div")(36,"button",14),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(37," Select multiples JPG "),m()()(),f(38,"h2",5),C(39,"Drag'n'drop on link"),m(),f(40,"div",6)(41,"a",15),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOver=o}),f(42,"div",1),C(43,"Drag here any files"),m(),f(44,"pre"),C(45),Q(46,"json"),m()()(),f(47,"div",6)(48,"a",16),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverJpg=o}),f(49,"div",1),C(50,"Drag here only JPG"),m(),f(51,"pre"),C(52),Q(53,"json"),m()()(),f(54,"h2",5),C(55,"Drag'n'drop on link that can also be clicked"),m(),f(56,"div",6)(57,"a",17),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverSelectable=o}),f(58,"div",1),C(59,"Drag here any files"),m(),f(60,"pre"),C(61),Q(62,"json"),m()()(),f(63,"div",6)(64,"a",18),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverSelectableJpg=o}),f(65,"div",1),C(66,"Drag here only JPG"),m(),f(67,"pre"),C(68),Q(69,"json"),m()()(),f(70,"h2",5),C(71,"Size limit"),m(),f(72,"div",6)(73,"a",19),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverMaxSize=o}),f(74,"div",1),C(75,"Drag here any files"),m(),f(76,"pre"),C(77),Q(78,"json"),m()()(),f(79,"h2",5),C(80,"Drag'n'drop, relying on service"),m(),f(81,"div",6)(82,"button",20),E("click",function(){return i.subscribe()}),C(83,"Subscribe to service"),m(),f(84,"button",20),E("click",function(){return i.unsubscribe()}),C(85,"Unsubscribe to service"),m()(),f(86,"div",6)(87,"a",21),E("fileOver",function(o){return i.fileOverService=o}),f(88,"div",1),C(89,"Drag here any files. Hover is disabled if nobody subscribed to service"),m(),f(90,"pre"),C(91),Q(92,"json"),m()()(),f(93,"h2",5),C(94,"File component"),m(),f(95,"div",6)(96,"button",20),E("click",function(){return i.setImage()}),C(97,"Set image (won't work because we don't have API to serve image)"),m(),f(98,"button",20),E("click",function(){return i.setImageWithSrc()}),C(99,"Set image with src"),m(),f(100,"button",20),E("click",function(){return i.setFile()}),C(101,"Set file"),m(),f(102,"button",20),E("click",function(){return i.clear()}),C(103,"Clear"),m()(),f(104,"div")(105,"natural-file",22),E("modelChange",function(o){return i.modelChange(o)}),m()()()),2&e&&(b(6),_("ngModel",i.disabled),b(6),_("disabled",i.disabled),b(3),_("disabled",i.disabled)("multiple",!0),b(3),_("disabled",i.disabled),b(3),_("disabled",i.disabled)("multiple",!0),b(6),_("selectable",!0)("disabled",i.disabled),b(3),_("selectable",!0)("disabled",i.disabled)("multiple",!0),b(3),_("selectable",!0)("disabled",i.disabled),b(3),_("selectable",!0)("disabled",i.disabled)("multiple",!0),b(5),_("fileSelectionDisabled",i.disabled),b(4),me("fileOver: ",X(46,34,i.fileOver),""),b(3),_("fileSelectionDisabled",i.disabled),b(4),me("fileOver: ",X(53,36,i.fileOverJpg),""),b(5),_("fileSelectionDisabled",i.disabled)("selectable",!0),b(4),me("fileOver: ",X(62,38,i.fileOverSelectable),""),b(3),_("fileSelectionDisabled",i.disabled)("selectable",!0),b(4),me("fileOver: ",X(69,40,i.fileOverSelectableJpg),""),b(5),_("fileSelectionDisabled",i.disabled)("maxSize",123),b(4),me("fileOver: ",X(78,42,i.fileOverMaxSize),""),b(10),_("fileSelectionDisabled",i.disabled),b(4),me("fileOver: ",X(92,44,i.fileOverService),""),b(14),_("model",i.model)("uploader",i.uploadAndLink.bind(i)))},dependencies:[$n,An,Hn,Wc,Dl,Ut,jt,Us,ct,en,S8e,ZE,D8e,ke,Kr],styles:["a[naturalFileDrop][_ngcontent-%COMP%]{border:1px dashed #a541c1}.natural-file-over[_ngcontent-%COMP%]{border-color:pink;background-color:#00b0ff}"]}),n})();class KM{constructor(t){this.value=t,this.value=t}getValue(){return this.value}}function jn(n,t){const e=2147483648&n,i=2147483648&t,r=1073741824&n,o=1073741824&t,a=(1073741823&n)+(1073741823&t);return r&o?2147483648^a^e^i:r|o?1073741824&a?3221225472^a^e^i:1073741824^a^e^i:a^e^i}function m0(n,t){return n<>>32-t}function Fi(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function T8e(n,t,e){return n&t|~n&e}(t,e,i),r),a)),jn(m0(n,o),t)}function Pi(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function A8e(n,t,e){return n&e|t&~e}(t,e,i),r),a)),jn(m0(n,o),t)}function Li(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function I8e(n,t,e){return n^t^e}(t,e,i),r),a)),jn(m0(n,o),t)}function Bi(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function O8e(n,t,e){return t^(n|~e)}(t,e,i),r),a)),jn(m0(n,o),t)}function g0(n){let i,r,t="",e="";for(r=0;r<=3;r++)i=n>>>8*r&255,e="0"+i.toString(16),t+=e.substr(e.length-2,2);return t}class P8e extends KM{getAvatar(t){const e=this.getValue(),i=e.match("^[a-f0-9]{32}$")?e:function M8e(n){const t=function R8e(n){let t;const e=n.length,i=e+8,o=16*((i-i%64)/64+1),a=Array(o-1);let s=0,l=0;for(;l>>29,a}(function N8e(n){let e,t="";n=n.replace(/\r\n/g,"\n");for(let i=0;i127&&e<2048?(t+=String.fromCharCode(e>>6|192),t+=String.fromCharCode(63&e|128)):(t+=String.fromCharCode(e>>12|224),t+=String.fromCharCode(e>>6&63|128),t+=String.fromCharCode(63&e|128));return t}(n));let D=1732584193,M=4023233417,I=2562383102,O=271733878;for(let L=0;L1.25||!!n?.matchMedia("(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)").matches}()?2*t:t;return`https://secure.gravatar.com/avatar/${i}?s=${r}&d=404`}isTextual(){return!1}}class B8e extends KM{getAvatar(t){return function L8e(n,t){if((n=(n=n.replace(/\([^)]*\)/g,"")).trim()).length<=t)return n.toUpperCase();if(!(n=n.replace(/[^\p{L}\p{N}\s]/gu,"")))return"";let e=n.split(/\s+/);return t&&ti.length>0).map(i=>i[0]).join("").toUpperCase()}(this.getValue(),t)}isTextual(){return!0}}class V8e extends KM{getAvatar(){return this.getValue()}isTextual(){return!1}}let z8e=(()=>{class n{constructor(){this.sourceCreators=new Map([["gravatar",P8e],["image",V8e],["initials",B8e]]),this.avatarColors=["#ff0000","#ff8800","#dabb00","#00c200","#01cbcb","#008cff","#ff00d8","#c800ff","#3b3b3b"],this.failedSources=new Map}getRandomColor(e){if(!e)return"transparent";const i=this.calculateAsciiCode(e);return this.avatarColors[i%this.avatarColors.length]}getCreators(){return this.sourceCreators.entries()}getSourceKey(e){return e.constructor.name+"-"+e.getValue()}sourceHasFailedBefore(e){return this.failedSources.has(this.getSourceKey(e))}markSourceAsFailed(e){this.failedSources.set(this.getSourceKey(e),e)}calculateAsciiCode(e){return e.split("").map(i=>i.charCodeAt(0)).reduce((i,r)=>i+r)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function H8e(n,t){if(1&n){const e=Y();f(0,"img",3),E("error",function(){return B(e),V(x().tryNextSource())}),m()}if(2&n){const e=x();_("src",e.avatarSrc,Ko)("width",e.size)("height",e.size)("ngStyle",e.avatarStyle)}}function $8e(n,t){if(1&n&&(f(0,"div",4),C(1),m()),2&n){const e=x();ce("natural-elevation",e.decorated),_("ngStyle",e.avatarStyle),b(1),me(" ",e.avatarText," ")}}let j8e=(()=>{class n{constructor(e){this.avatarService=e,this.size=50,this.decorated=!0,this.textSizeRatio=2.25,this.fgColor="#FFF",this.borderRadius="",this.textMaximumLength=2,this.avatarSrc=null,this.avatarText=null,this.avatarStyle={},this.hostStyle={},this.currentIndex=-1,this.sources=[]}ngOnChanges(e){this.sources.length=0;for(const[i,r]of this.avatarService.getCreators()){if(!e[i])continue;const o=e[i].currentValue;o&&"string"==typeof o&&this.sources.push(new r(o))}this.initializeAvatar()}tryNextSource(){const e=this.sources[this.currentIndex];e&&this.avatarService.markSourceAsFailed(e);const i=this.findNextSource();i?i.isTextual()?this.buildTextAvatar(i):this.buildImageAvatar(i):this.clearAvatar()}findNextSource(){for(;++this.currentIndex0&&(this.tryNextSource(),this.hostStyle={width:this.size+"px",height:this.size+"px"})}clearAvatar(){this.avatarSrc=null,this.avatarText=null,this.avatarStyle={}}buildTextAvatar(e){this.clearAvatar(),this.avatarText=e.getAvatar(+this.textMaximumLength),this.avatarStyle=this.getTextualStyle(e.getValue())}buildImageAvatar(e){this.clearAvatar(),this.avatarSrc=e.getAvatar(+this.size),this.avatarStyle=this.getImageStyle()}getTextualStyle(e){return{textAlign:"center",borderRadius:this.borderRadius||"100%",textTransform:"uppercase",color:this.fgColor,backgroundColor:this.bgColor?this.bgColor:this.avatarService.getRandomColor(e),font:Math.floor(+this.size/this.textSizeRatio)+"px Helvetica, Arial, sans-serif",lineHeight:this.size+"px",width:this.size+"px",height:this.size+"px"}}getImageStyle(){return{maxWidth:"100%",borderRadius:this.borderRadius||"100%",width:this.size+"px",height:this.size+"px"}}}return n.\u0275fac=function(e){return new(e||n)(g(z8e))},n.\u0275cmp=$({type:n,selectors:[["natural-avatar"]],hostVars:6,hostBindings:function(e,i){2&e&&(nn("height",i.size,"px")("width",i.size,"px"),ce("decorated",i.decorated))},inputs:{image:"image",initials:"initials",gravatar:"gravatar",size:"size",decorated:"decorated",textSizeRatio:"textSizeRatio",bgColor:"bgColor",fgColor:"fgColor",borderRadius:"borderRadius",textMaximumLength:"textMaximumLength"},standalone:!0,features:[Je,Se],decls:3,vars:3,consts:[[1,"avatar-container",3,"ngStyle"],["class","avatar-content","loading","lazy",3,"src","width","height","ngStyle","error",4,"ngIf"],["class","avatar-content",3,"natural-elevation","ngStyle",4,"ngIf"],["loading","lazy",1,"avatar-content",3,"src","width","height","ngStyle","error"],[1,"avatar-content",3,"ngStyle"]],template:function(e,i){1&e&&(f(0,"div",0),S(1,H8e,1,4,"img",1),S(2,$8e,2,4,"div",2),m()),2&e&&(_("ngStyle",i.hostStyle),b(1),_("ngIf",i.avatarSrc),b(1),_("ngIf",i.avatarText))},dependencies:[ke,Be,sF],styles:['[_nghost-%COMP%]{display:block}.decorated[_nghost-%COMP%]{position:relative}.decorated[_nghost-%COMP%] .avatar-container[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:50%;background:linear-gradient(345deg,rgba(255,255,255,0) 25%,rgba(255,255,255,.33) 100%)}.decorated[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]{text-shadow:0 1px 0 rgba(0,0,0,.6)}']}),n})();function U8e(n,t){1&n&&(f(0,"span"),T(1,"natural-avatar",34),m())}let G8e=(()=>{class n{constructor(){this.failedSources=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:54,vars:4,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],[1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["gravatar","webmaster@ecodev.ch"],["gravatar","5fa7e880db8ff6741e0268ff52c22057"],["image","assets/logo.svg"],["initials","John Doe"],["gravatar","non-existing-email@example.com","image","assets/logo.svg"],["gravatar","non-existing-email@example.com","initials","John Doe"],["gravatar","non-existing-email@example.com","initials",""],["initials","asdf - qwer"],["initials","asdf (qwer)"],["initials","asdf / qwer"],["initials","auto color 1"],["initials","auto color 2"],["initials","auto color 3"],["initials","auto color 4"],["initials","auto color 5"],["initials","auto color 6"],["initials","auto color 7"],["initials","auto color 8"],["initials","auto color 9"],["initials","auto color 10"],["initials","auto color 11"],["gravatar","5fa7e880db8ff6741e0268ff52c22057",3,"size"],["gravatar","5fa7e880db8ff6741e0268ff52c22057","borderRadius","15%"],["gravatar","5fa7e880db8ff6741e0268ff52c22057","borderRadius","0"],["initials","Aaa Bbb Ccc Ddd Eee"],["initials","Aaa Bbb Ccc Ddd Eee","bgColor","pink","fgColor","black"],["initials","Aaa Bbb Ccc Ddd Eee",3,"textMaximumLength"],["initials","Aaa Bbb Ccc Ddd Eee",3,"textSizeRatio"],["mat-raised-button","",3,"click"],[4,"ngFor","ngForOf"],["initials","failing","gravatar","invalid-are-not-retried@example.com"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-avatar"),m(),f(2,"div",1)(3,"h2",2),C(4,"Avatar from different sources"),m(),f(5,"div",3),T(6,"natural-avatar",4)(7,"natural-avatar",5)(8,"natural-avatar",6)(9,"natural-avatar",7),m(),f(10,"h2",2),C(11,"Avatar with fallback"),m(),f(12,"div",3),T(13,"natural-avatar",8)(14,"natural-avatar",9)(15,"natural-avatar",10),m(),f(16,"h2",2),C(17,"Ignore special chars"),m(),f(18,"div",3),T(19,"natural-avatar",11)(20,"natural-avatar",12)(21,"natural-avatar",13),m(),f(22,"h2",2),C(23,"Colors"),m(),f(24,"div",3),T(25,"natural-avatar",14)(26,"natural-avatar",15)(27,"natural-avatar",16)(28,"natural-avatar",17)(29,"natural-avatar",18)(30,"natural-avatar",19)(31,"natural-avatar",20)(32,"natural-avatar",21)(33,"natural-avatar",22)(34,"natural-avatar",23)(35,"natural-avatar",24),m(),f(36,"h2",2),C(37,"Misc"),m(),f(38,"div",3),T(39,"natural-avatar",5)(40,"natural-avatar",25)(41,"natural-avatar",26)(42,"natural-avatar",27)(43,"natural-avatar",28)(44,"natural-avatar",29)(45,"natural-avatar",30)(46,"natural-avatar",31),m(),f(47,"h2",2),C(48,"Failed sources are not retried"),m(),f(49,"div")(50,"button",32),E("click",function(){return i.failedSources.push(i.failedSources.length)}),C(51,"Add 1 failing source"),m()(),f(52,"div",3),S(53,U8e,2,0,"span",33),m()()),2&e&&(b(40),_("size",100),b(5),_("textMaximumLength",2),b(1),_("textSizeRatio",5),b(7),_("ngForOf",i.failedSources))},dependencies:[$n,An,Hn,j8e,ct,en,ke,Zt],styles:["natural-avatar[_ngcontent-%COMP%]{display:inline-block}"]}),n})();const q8e=function(){return["admin","product"]},W8e=[{path:"",component:rPe,children:[{path:"",component:oPe},{path:"search",component:BBe,data:{seo:{title:"Search",canonicalQueryParamsWhitelist:["search"]}}},{path:"select",component:zBe},{path:"select-hierarchic",component:y8e},{path:"select-enum",component:c8e},{path:"hierarchic",component:ZNe},{path:"relation",component:mBe,resolve:{any:bk}},{path:"panels",component:p3e,children:[{matcher:VV,component:l6,data:{panelsRoutes:S$}}]},{path:"list",component:w$,data:{title:"Listing of something"}},{path:"alert-service",component:HBe},{path:"nested/:listParamName",children:[{path:"list",component:w$,data:{title:"Listing of something else",selectedColumns:["name","description","hidden"]}}]},{path:"editable-list",component:OSe,data:{title:"Listing of editable items"}},{path:"navigable-list",component:r3e,data:{title:"Listing of navigable items"}},{path:"file",component:E8e,data:{title:"File upload"}},{path:"detail/:id",component:t8e,resolve:{any:bk},data:{title:"Detail page"},children:[{matcher:VV,component:l6,data:{panelsRoutes:S$}}]},{path:"detail-header",component:(()=>{class n{constructor(){this.model={}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-detail-header"]],standalone:!0,features:[Se],decls:35,vars:7,consts:[["fxLayout","column","fxLayoutGap","80px"],[1,"mat-headline-4"],["mat-raised-button","",3,"click"],[1,"mat-h2"],["newLabel","My new label","label","My label",3,"model"],["newLabel","My new label","label","My label","icon","pets",3,"model"],["newLabel","My new label","label","My label",3,"model","listRoute","rootLabel"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","color","primary"],[3,"model"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div")(2,"h1",1),C(3,"NaturalDetailHeaderComponent"),m(),f(4,"button",2),E("click",function(){return i.model={}}),C(5,"With new model"),m(),f(6,"button",2),E("click",function(){return i.model={id:123}}),C(7,"With existing model without name"),m(),f(8,"button",2),E("click",function(){return i.model={id:123,name:"Some model name"}}),C(9,"With existing model with name "),m(),f(10,"button",2),E("click",function(){return i.model={id:123,fullName:"Some longer model full name with more information and codes"}}),C(11,"With existing model with full name "),m()(),f(12,"div")(13,"h2",3),C(14,"Simple"),m(),T(15,"natural-detail-header",4),m(),f(16,"div")(17,"h2",3),C(18,"With icon"),m(),T(19,"natural-detail-header",5),m(),f(20,"div")(21,"h2",3),C(22,"All"),m(),f(23,"natural-detail-header",6)(24,"div",7)(25,"button",8),C(26,"Extra"),m(),f(27,"button",8),C(28,"Buttons"),m(),f(29,"button",8),C(30,"Here"),m()()()(),f(31,"div")(32,"h2",3),C(33,"Minimal"),m(),T(34,"natural-detail-header",9),m()()),2&e&&(b(15),_("model",i.model),b(4),_("model",i.model),b(4),_("model",i.model)("listRoute",wn(6,q8e))("rootLabel","My root label"),b(11),_("model",i.model))},dependencies:[$n,An,Hn,ct,en,ej]}),n})(),resolve:{any:bk},data:{title:"Detail header"}},{path:"editor",component:qOe,data:{title:"Editor"}},{path:"other",component:c3e,data:{title:"Other tools"},children:[{path:"dialog",component:PV,data:{trigger:{component:VLe,dialogConfig:{width:"600px",maxWidth:"95vw",maxHeight:"97vh",data:{cancelText:"asdfasfd",confirmText:"asdfasdf"}}}}}]},{path:"avatar",component:G8e,data:{title:"Avatar"}}]},{matcher:n=>s6.opened?null:{consumed:n},redirectTo:""}];let Y8e=(()=>{class n{constructor(){this.title="natural"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-root"]],standalone:!0,features:[Se],decls:2,vars:0,consts:[["fxFlexFill","","fxLayout","column",1,"app-component"]],template:function(e,i){1&e&&(f(0,"div",0),T(1,"router-outlet"),m())},dependencies:[$n,An,A6,bc]}),n})(),K8e=(()=>{class n{constructor(e){this.snackBar=e}getExtras(){return this.snackBar.open("An error happened","Yes",{duration:3e3,panelClass:["snackbar-error"],verticalPosition:"top",horizontalPosition:"end"}),ee({extraAddedKey:"extraAddedValue"})}}return n.\u0275fac=function(e){return new(e||n)(A(DB))},n.\u0275prov=P({token:n,factory:n.\u0275fac}),n})(),Q8e=(()=>{class n{link(e){return ee({data:e}).pipe(UM("Mock NaturalLinkMutationService.link()"),fi(500))}linkMany(e){return ee([{data:e}]).pipe(UM("Mock NaturalLinkMutationService.linkMany()"),fi(500))}unlink(e){return ee({data:e}).pipe(UM("Mock NaturalLinkMutationService.unlink()"),fi(500))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();(function Jae(n,t){return TJ({rootComponent:n,...D3(t)})})(Y8e,{providers:[RC(One),nl,the,function fhe(n){return[{provide:AB,useValue:n},{provide:Xw,multi:!0,useFactory:()=>{const t=ne(au);return()=>{const i=t.getDefaultFontSetClass().filter(r=>"material-icons"!==r).concat(["material-symbols-outlined"]);t.setDefaultFontSetClass(...i)}}}]}({natural:{svg:"assets/logo.svg"},github:{svg:"assets/github.svg"}}),function mhe(n,t){const e=[{provide:$r,useClass:phe},{provide:OB,useValue:n}];return t&&e.push({provide:RB,useClass:t}),e}(null,K8e),function ghe(n){return[{provide:NB,useValue:n}]}({}),{provide:Bn,useClass:bhe},{provide:FV,useClass:Q8e},{provide:s3,useValue:{formFieldAppearance:"fill"}},{provide:L1,useValue:{stretchTabs:!1}},function lce(){return[...ace]}(),function ute(...n){const t=[Ef,MF,kF,{provide:w_,useExisting:kF},{provide:x_,useExisting:MF},{provide:Mf,useValue:dte,multi:!0},{provide:Rx,useValue:!0},{provide:IF,useClass:cte}];for(const e of n)t.push(...e.\u0275providers);return Mg(t)}(),function pue(n,...t){return Mg([{provide:Wb,multi:!0,useValue:n},[],{provide:Nr,useFactory:rB,deps:[Zn]},{provide:o_,multi:!0,useFactory:oB},t.map(e=>e.\u0275providers)])}(W8e,function bue(n){return function ts(n,t){return{\u0275kind:n,\u0275providers:t}}(5,[{provide:RD,useValue:n}])}({paramsInheritanceStrategy:"always"})),function Rxe(n){return[{provide:LV,useValue:n},{provide:Xw,multi:!0,useFactory:()=>(ne(Oxe),()=>{})}]}({applicationName:"Natural",defaultDescription:"An amazing angular library",languages:["fr","en","de","it","pt"]})]}).catch(n=>console.error(n))}},vt=>{vt(vt.s=845)}]); \ No newline at end of file diff --git a/polyfills.7ef5cb68fba64374.js b/polyfills.7ef5cb68fba64374.js new file mode 100644 index 00000000..e2f5bed0 --- /dev/null +++ b/polyfills.7ef5cb68fba64374.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[429],{253:(_e,Se,Oe)=>{const me=":";const ze=function(i,...s){if(ze.translate){const t=ze.translate(i,s);i=t[0],s=t[1]}let e=Te(i[0],i.raw[0]);for(let t=1;ttypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=ze,Oe(332)},332:()=>{!function(e){const t=e.performance;function r($){t&&t.mark&&t.mark($)}function o($,m){t&&t.measure&&t.measure($,m)}r("Zone");const a=e.__Zone_symbol_prefix||"__zone_symbol__";function u($){return a+$}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let T=(()=>{class ${static assertZonePatched(){if(e.Promise!==he.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=$.current;for(;n.parent;)n=n.parent;return n}static get current(){return W.zone}static get currentTask(){return ue}static __load_patch(n,c,S=!1){if(he.hasOwnProperty(n)){if(!S&&f)throw Error("Already loaded patch: "+n)}else if(!e["__Zone_disable_"+n]){const I="Zone:"+n;r(I),he[n]=c(e,$,K),o(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(n,c){this._parent=n,this._name=c?c.name||"unnamed":"",this._properties=c&&c.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,c)}get(n){const c=this.getZoneWith(n);if(c)return c._properties[n]}getZoneWith(n){let c=this;for(;c;){if(c._properties.hasOwnProperty(n))return c;c=c._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,c){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const S=this._zoneDelegate.intercept(this,n,c),I=this;return function(){return I.runGuarded(S,this,arguments,c)}}run(n,c,S,I){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,n,c,S,I)}finally{W=W.parent}}runGuarded(n,c=null,S,I){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,n,c,S,I)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{W=W.parent}}runTask(n,c,S){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||ee).name+"; Execution: "+this.name+")");if(n.state===U&&(n.type===ne||n.type===O))return;const I=n.state!=y;I&&n._transitionTo(y,B),n.runCount++;const Q=ue;ue=n,W={parent:W,zone:this};try{n.type==O&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,c,S)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{n.state!==U&&n.state!==E&&(n.type==ne||n.data&&n.data.isPeriodic?I&&n._transitionTo(B,y):(n.runCount=0,this._updateTaskCount(n,-1),I&&n._transitionTo(U,y,U))),W=W.parent,ue=Q}}scheduleTask(n){if(n.zone&&n.zone!==this){let S=this;for(;S;){if(S===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);S=S.parent}}n._transitionTo(Y,U);const c=[];n._zoneDelegates=c,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(S){throw n._transitionTo(E,Y,U),this._zoneDelegate.handleError(this,S),S}return n._zoneDelegates===c&&this._updateTaskCount(n,1),n.state==Y&&n._transitionTo(B,Y),n}scheduleMicroTask(n,c,S,I){return this.scheduleTask(new g(j,n,c,S,I,void 0))}scheduleMacroTask(n,c,S,I,Q){return this.scheduleTask(new g(O,n,c,S,I,Q))}scheduleEventTask(n,c,S,I,Q){return this.scheduleTask(new g(ne,n,c,S,I,Q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||ee).name+"; Execution: "+this.name+")");if(n.state===B||n.state===y){n._transitionTo(V,B,y);try{this._zoneDelegate.cancelTask(this,n)}catch(c){throw n._transitionTo(E,V),this._zoneDelegate.handleError(this,c),c}return this._updateTaskCount(n,-1),n._transitionTo(U,V),n.runCount=0,n}}_updateTaskCount(n,c){const S=n._zoneDelegates;-1==c&&(n._zoneDelegates=null);for(let I=0;I$.hasTask(n,c),onScheduleTask:($,m,n,c)=>$.scheduleTask(n,c),onInvokeTask:($,m,n,c,S,I)=>$.invokeTask(n,c,S,I),onCancelTask:($,m,n,c)=>$.cancelTask(n,c)};class v{constructor(m,n,c){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=m,this._parentDelegate=n,this._forkZS=c&&(c&&c.onFork?c:n._forkZS),this._forkDlgt=c&&(c.onFork?n:n._forkDlgt),this._forkCurrZone=c&&(c.onFork?this.zone:n._forkCurrZone),this._interceptZS=c&&(c.onIntercept?c:n._interceptZS),this._interceptDlgt=c&&(c.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=c&&(c.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=c&&(c.onInvoke?c:n._invokeZS),this._invokeDlgt=c&&(c.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=c&&(c.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=c&&(c.onHandleError?c:n._handleErrorZS),this._handleErrorDlgt=c&&(c.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=c&&(c.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=c&&(c.onScheduleTask?c:n._scheduleTaskZS),this._scheduleTaskDlgt=c&&(c.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=c&&(c.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=c&&(c.onInvokeTask?c:n._invokeTaskZS),this._invokeTaskDlgt=c&&(c.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=c&&(c.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=c&&(c.onCancelTask?c:n._cancelTaskZS),this._cancelTaskDlgt=c&&(c.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=c&&(c.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const S=c&&c.onHasTask;(S||n&&n._hasTaskZS)&&(this._hasTaskZS=S?c:w,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=m,c.onScheduleTask||(this._scheduleTaskZS=w,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),c.onInvokeTask||(this._invokeTaskZS=w,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),c.onCancelTask||(this._cancelTaskZS=w,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}fork(m,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,m,n):new T(m,n)}intercept(m,n,c){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,m,n,c):n}invoke(m,n,c,S,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,m,n,c,S,I):n.apply(c,S)}handleError(m,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,m,n)}scheduleTask(m,n){let c=n;if(this._scheduleTaskZS)this._hasTaskZS&&c._zoneDelegates.push(this._hasTaskDlgtOwner),c=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,m,n),c||(c=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=j)throw new Error("Task is missing scheduleFn.");R(n)}return c}invokeTask(m,n,c,S){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,m,n,c,S):n.callback.apply(c,S)}cancelTask(m,n){let c;if(this._cancelTaskZS)c=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,m,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");c=n.cancelFn(n)}return c}hasTask(m,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,m,n)}catch(c){this.handleError(m,c)}}_updateTaskCount(m,n){const c=this._taskCounts,S=c[m],I=c[m]=S+n;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=S&&0!=I||this.hasTask(this.zone,{microTask:c.microTask>0,macroTask:c.macroTask>0,eventTask:c.eventTask>0,change:m})}}class g{constructor(m,n,c,S,I,Q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=m,this.source=n,this.data=S,this.scheduleFn=I,this.cancelFn=Q,!c)throw new Error("callback is not defined");this.callback=c;const h=this;this.invoke=m===ne&&S&&S.useG?g.invokeTask:function(){return g.invokeTask.call(e,h,this,arguments)}}static invokeTask(m,n,c){m||(m=this),se++;try{return m.runCount++,m.zone.runTask(m,n,c)}finally{1==se&&p(),se--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(U,Y)}_transitionTo(m,n,c){if(this._state!==n&&this._state!==c)throw new Error(`${this.type} '${this.source}': can not transition to '${m}', expecting state '${n}'${c?" or '"+c+"'":""}, was '${this._state}'.`);this._state=m,m==U&&(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 L=u("setTimeout"),P=u("Promise"),D=u("then");let J,N=[],x=!1;function F($){if(J||e[P]&&(J=e[P].resolve(0)),J){let m=J[D];m||(m=J.then),m.call(J,$)}else e[L]($,0)}function R($){0===se&&0===N.length&&F(p),$&&N.push($)}function p(){if(!x){for(x=!0;N.length;){const $=N;N=[];for(let m=0;m<$.length;m++){const n=$[m];try{n.zone.runTask(n,null,null)}catch(c){K.onUnhandledError(c)}}}K.microtaskDrainDone(),x=!1}}const ee={name:"NO ZONE"},U="notScheduled",Y="scheduling",B="scheduled",y="running",V="canceling",E="unknown",j="microTask",O="macroTask",ne="eventTask",he={},K={symbol:u,currentZoneFrame:()=>W,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:R,showUncaughtError:()=>!T[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:F};let W={parent:null,zone:new T(null,null)},ue=null,se=0;function q(){}o("Zone","Zone"),e.Zone=T}(typeof window<"u"&&window||typeof self<"u"&&self||global);const _e=Object.getOwnPropertyDescriptor,Se=Object.defineProperty,Oe=Object.getPrototypeOf,me=Object.create,rt=Array.prototype.slice,Re="addEventListener",Ae="removeEventListener",fe=Zone.__symbol__(Re),Ce=Zone.__symbol__(Ae),ie="true",re="false",Ne=Zone.__symbol__("");function Le(e,t){return Zone.current.wrap(e,t)}function We(e,t,r,o,a){return Zone.current.scheduleMacroTask(e,t,r,o,a)}const H=Zone.__symbol__,Ie=typeof window<"u",Ee=Ie?window:void 0,X=Ie&&Ee||"object"==typeof self&&self||global,ot="removeAttribute";function xe(e,t){for(let r=e.length-1;r>=0;r--)"function"==typeof e[r]&&(e[r]=Le(e[r],t+"_"+r));return e}function qe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ve=!("nw"in X)&&typeof X.process<"u"&&"[object process]"==={}.toString.call(X.process),De=!ve&&!je&&!(!Ie||!Ee.HTMLElement),$e=typeof X.process<"u"&&"[object process]"==={}.toString.call(X.process)&&!je&&!(!Ie||!Ee.HTMLElement),we={},ce=function(e){if(!(e=e||X.event))return;let t=we[e.type];t||(t=we[e.type]=H("ON_PROPERTY"+e.type));const r=this||e.target||X,o=r[t];let a;return De&&r===Ee&&"error"===e.type?(a=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===a&&e.preventDefault()):(a=o&&o.apply(this,arguments),null!=a&&!a&&e.preventDefault()),a};function He(e,t,r){let o=_e(e,t);if(!o&&r&&_e(r,t)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const a=H("on"+t+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete o.writable,delete o.value;const u=o.get,f=o.set,T=t.slice(2);let w=we[T];w||(w=we[T]=H("ON_PROPERTY"+T)),o.set=function(v){let g=this;!g&&e===X&&(g=X),g&&("function"==typeof g[w]&&g.removeEventListener(T,ce),f&&f.call(g,null),g[w]=v,"function"==typeof v&&g.addEventListener(T,ce,!1))},o.get=function(){let v=this;if(!v&&e===X&&(v=X),!v)return null;const g=v[w];if(g)return g;if(u){let L=u.call(this);if(L)return o.set.call(this,L),"function"==typeof v[ot]&&v.removeAttribute(t),L}return null},Se(e,t,o),e[a]=!0}function Xe(e,t,r){if(t)for(let o=0;ofunction(f,T){const w=r(f,T);return w.cbIdx>=0&&"function"==typeof T[w.cbIdx]?We(w.name,T[w.cbIdx],w,a):u.apply(f,T)})}function le(e,t){e[H("OriginalDelegate")]=t}let Be=!1,Ue=!1;function it(){if(Be)return Ue;Be=!0;try{const e=Ee.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ue=!0)}catch{}return Ue}Zone.__load_patch("ZoneAwarePromise",(e,t,r)=>{const o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,f=r.symbol,T=[],w=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=f("Promise"),g=f("then"),L="__creationTrace__";r.onUnhandledError=h=>{if(r.showUncaughtError()){const d=h&&h.rejection;d?console.error("Unhandled Promise rejection:",d instanceof Error?d.message:d,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",d,d instanceof Error?d.stack:void 0):console.error(h)}},r.microtaskDrainDone=()=>{for(;T.length;){const h=T.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(d){D(d)}}};const P=f("unhandledPromiseRejectionHandler");function D(h){r.onUnhandledError(h);try{const d=t[P];"function"==typeof d&&d.call(this,h)}catch{}}function N(h){return h&&h.then}function x(h){return h}function J(h){return n.reject(h)}const F=f("state"),R=f("value"),p=f("finally"),ee=f("parentPromiseValue"),U=f("parentPromiseState"),Y="Promise.then",B=null,y=!0,V=!1,E=0;function j(h,d){return l=>{try{K(h,d,l)}catch(_){K(h,!1,_)}}}const O=function(){let h=!1;return function(l){return function(){h||(h=!0,l.apply(null,arguments))}}},ne="Promise resolved with itself",he=f("currentTaskTrace");function K(h,d,l){const _=O();if(h===l)throw new TypeError(ne);if(h[F]===B){let b=null;try{("object"==typeof l||"function"==typeof l)&&(b=l&&l.then)}catch(C){return _(()=>{K(h,!1,C)})(),h}if(d!==V&&l instanceof n&&l.hasOwnProperty(F)&&l.hasOwnProperty(R)&&l[F]!==B)ue(l),K(h,l[F],l[R]);else if(d!==V&&"function"==typeof b)try{b.call(l,_(j(h,d)),_(j(h,!1)))}catch(C){_(()=>{K(h,!1,C)})()}else{h[F]=d;const C=h[R];if(h[R]=l,h[p]===p&&d===y&&(h[F]=h[U],h[R]=h[ee]),d===V&&l instanceof Error){const k=t.currentTask&&t.currentTask.data&&t.currentTask.data[L];k&&a(l,he,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k{try{const Z=h[R],M=!!l&&p===l[p];M&&(l[ee]=Z,l[U]=C);const A=d.run(k,void 0,M&&k!==J&&k!==x?[]:[Z]);K(l,!0,A)}catch(Z){K(l,!1,Z)}},l)}const $=function(){},m=e.AggregateError;class n{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(d){return K(new this(null),y,d)}static reject(d){return K(new this(null),V,d)}static any(d){if(!d||"function"!=typeof d[Symbol.iterator])return Promise.reject(new m([],"All promises were rejected"));const l=[];let _=0;try{for(let k of d)_++,l.push(n.resolve(k))}catch{return Promise.reject(new m([],"All promises were rejected"))}if(0===_)return Promise.reject(new m([],"All promises were rejected"));let b=!1;const C=[];return new n((k,Z)=>{for(let M=0;M{b||(b=!0,k(A))},A=>{C.push(A),_--,0===_&&(b=!0,Z(new m(C,"All promises were rejected")))})})}static race(d){let l,_,b=new this((Z,M)=>{l=Z,_=M});function C(Z){l(Z)}function k(Z){_(Z)}for(let Z of d)N(Z)||(Z=this.resolve(Z)),Z.then(C,k);return b}static all(d){return n.allWithCallback(d)}static allSettled(d){return(this&&this.prototype instanceof n?this:n).allWithCallback(d,{thenCallback:_=>({status:"fulfilled",value:_}),errorCallback:_=>({status:"rejected",reason:_})})}static allWithCallback(d,l){let _,b,C=new this((A,G)=>{_=A,b=G}),k=2,Z=0;const M=[];for(let A of d){N(A)||(A=this.resolve(A));const G=Z;try{A.then(z=>{M[G]=l?l.thenCallback(z):z,k--,0===k&&_(M)},z=>{l?(M[G]=l.errorCallback(z),k--,0===k&&_(M)):b(z)})}catch(z){b(z)}k++,Z++}return k-=2,0===k&&_(M),C}constructor(d){const l=this;if(!(l instanceof n))throw new Error("Must be an instanceof Promise.");l[F]=B,l[R]=[];try{const _=O();d&&d(_(j(l,y)),_(j(l,V)))}catch(_){K(l,!1,_)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return n}then(d,l){let _=this.constructor?.[Symbol.species];(!_||"function"!=typeof _)&&(_=this.constructor||n);const b=new _($),C=t.current;return this[F]==B?this[R].push(C,b,d,l):se(this,C,b,d,l),b}catch(d){return this.then(null,d)}finally(d){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=n);const _=new l($);_[p]=p;const b=t.current;return this[F]==B?this[R].push(b,_,d,d):se(this,b,_,d,d),_}}n.resolve=n.resolve,n.reject=n.reject,n.race=n.race,n.all=n.all;const c=e[v]=e.Promise;e.Promise=n;const S=f("thenPatched");function I(h){const d=h.prototype,l=o(d,"then");if(l&&(!1===l.writable||!l.configurable))return;const _=d.then;d[g]=_,h.prototype.then=function(b,C){return new n((Z,M)=>{_.call(this,Z,M)}).then(b,C)},h[S]=!0}return r.patchThen=I,c&&(I(c),ae(e,"fetch",h=>function Q(h){return function(d,l){let _=h.apply(d,l);if(_ instanceof n)return _;let b=_.constructor;return b[S]||I(b),_}}(h))),Promise[t.__symbol__("uncaughtPromiseErrors")]=T,n}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,r=H("OriginalDelegate"),o=H("Promise"),a=H("Error"),u=function(){if("function"==typeof this){const v=this[r];if(v)return"function"==typeof v?t.call(v):Object.prototype.toString.call(v);if(this===Promise){const g=e[o];if(g)return t.call(g)}if(this===Error){const g=e[a];if(g)return t.call(g)}}return t.call(this)};u[r]=t,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let ge=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}const Ke={useG:!0},oe={},Ve={},Je=new RegExp("^"+Ne+"(\\w+)(true|false)$"),ct=H("propagationStopped");function Qe(e,t){const r=(t?t(e):e)+re,o=(t?t(e):e)+ie,a=Ne+r,u=Ne+o;oe[e]={},oe[e][re]=a,oe[e][ie]=u}function at(e,t,r,o){const a=o&&o.add||Re,u=o&&o.rm||Ae,f=o&&o.listeners||"eventListeners",T=o&&o.rmAll||"removeAllListeners",w=H(a),v="."+a+":",g="prependListener",L="."+g+":",P=function(R,p,ee){if(R.isRemoved)return;const U=R.callback;let Y;"object"==typeof U&&U.handleEvent&&(R.callback=y=>U.handleEvent(y),R.originalDelegate=U);try{R.invoke(R,p,[ee])}catch(y){Y=y}const B=R.options;return B&&"object"==typeof B&&B.once&&p[u].call(p,ee.type,R.originalDelegate?R.originalDelegate:R.callback,B),Y};function D(R,p,ee){if(!(p=p||e.event))return;const U=R||p.target||e,Y=U[oe[p.type][ee?ie:re]];if(Y){const B=[];if(1===Y.length){const y=P(Y[0],U,p);y&&B.push(y)}else{const y=Y.slice();for(let V=0;V{throw V})}}}const N=function(R){return D(this,R,!1)},x=function(R){return D(this,R,!0)};function J(R,p){if(!R)return!1;let ee=!0;p&&void 0!==p.useG&&(ee=p.useG);const U=p&&p.vh;let Y=!0;p&&void 0!==p.chkDup&&(Y=p.chkDup);let B=!1;p&&void 0!==p.rt&&(B=p.rt);let y=R;for(;y&&!y.hasOwnProperty(a);)y=Oe(y);if(!y&&R[a]&&(y=R),!y||y[w])return!1;const V=p&&p.eventNameToString,E={},j=y[w]=y[a],O=y[H(u)]=y[u],ne=y[H(f)]=y[f],he=y[H(T)]=y[T];let K;p&&p.prepend&&(K=y[H(p.prepend)]=y[p.prepend]);const n=ee?function(l){if(!E.isExisting)return j.call(E.target,E.eventName,E.capture?x:N,E.options)}:function(l){return j.call(E.target,E.eventName,l.invoke,E.options)},c=ee?function(l){if(!l.isRemoved){const _=oe[l.eventName];let b;_&&(b=_[l.capture?ie:re]);const C=b&&l.target[b];if(C)for(let k=0;kfunction(a,u){a[ct]=!0,o&&o.apply(a,u)})}function tt(e,t,r,o,a){const u=Zone.__symbol__(o);if(t[u])return;const f=t[u]=t[o];t[o]=function(T,w,v){return w&&w.prototype&&a.forEach(function(g){const L=`${r}.${o}::`+g,P=w.prototype;try{if(P.hasOwnProperty(g)){const D=e.ObjectGetOwnPropertyDescriptor(P,g);D&&D.value?(D.value=e.wrapWithCurrentZone(D.value,L),e._redefineProperty(w.prototype,g,D)):P[g]&&(P[g]=e.wrapWithCurrentZone(P[g],L))}else P[g]&&(P[g]=e.wrapWithCurrentZone(P[g],L))}catch{}}),f.call(t,T,w,v)},e.attachOriginToPatched(t[o],f)}function ut(e,t,r){if(!r||0===r.length)return t;const o=r.filter(u=>u.target===e);if(!o||0===o.length)return t;const a=o[0].ignoreProperties;return t.filter(u=>-1===a.indexOf(u))}function ft(e,t,r,o){e&&Xe(e,ut(e,t,r),o)}function Ge(e){return Object.getOwnPropertyNames(e).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}Zone.__load_patch("util",(e,t,r)=>{const o=Ge(e);r.patchOnProperties=Xe,r.patchMethod=ae,r.bindArguments=xe,r.patchMacroTask=Ye;const a=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[a]=e[u]),e[a]&&(t[a]=t[u]=e[a]),r.patchEventPrototype=et,r.patchEventTarget=at,r.isIEOrEdge=it,r.ObjectDefineProperty=Se,r.ObjectGetOwnPropertyDescriptor=_e,r.ObjectCreate=me,r.ArraySlice=rt,r.patchClass=be,r.wrapWithCurrentZone=Le,r.filterProperties=ut,r.attachOriginToPatched=le,r._redefineProperty=Object.defineProperty,r.patchCallbacks=tt,r.getGlobalObjects=()=>({globalSources:Ve,zoneSymbolEventNames:oe,eventNames:o,isBrowser:De,isMix:$e,isNode:ve,TRUE_STR:ie,FALSE_STR:re,ZONE_SYMBOL_PREFIX:Ne,ADD_EVENT_LISTENER_STR:Re,REMOVE_EVENT_LISTENER_STR:Ae})});const Ze=H("zoneTask");function Te(e,t,r,o){let a=null,u=null;r+=o;const f={};function T(v){const g=v.data;return g.args[0]=function(){return v.invoke.apply(this,arguments)},g.handleId=a.apply(e,g.args),v}function w(v){return u.call(e,v.data.handleId)}a=ae(e,t+=o,v=>function(g,L){if("function"==typeof L[0]){const P={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},D=L[0];L[0]=function(){try{return D.apply(this,arguments)}finally{P.isPeriodic||("number"==typeof P.handleId?delete f[P.handleId]:P.handleId&&(P.handleId[Ze]=null))}};const N=We(t,L[0],P,T,w);if(!N)return N;const x=N.data.handleId;return"number"==typeof x?f[x]=N:x&&(x[Ze]=N),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(N.ref=x.ref.bind(x),N.unref=x.unref.bind(x)),"number"==typeof x||x?x:N}return v.apply(e,L)}),u=ae(e,r,v=>function(g,L){const P=L[0];let D;"number"==typeof P?D=f[P]:(D=P&&P[Ze],D||(D=P)),D&&"string"==typeof D.type?"notScheduled"!==D.state&&(D.cancelFn&&D.data.isPeriodic||0===D.runCount)&&("number"==typeof P?delete f[P]:P&&(P[Ze]=null),D.zone.cancelTask(D)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{const t="set",r="clear";Te(e,t,r,"Timeout"),Te(e,t,r,"Interval"),Te(e,t,r,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const r=["alert","prompt","confirm"];for(let o=0;ofunction(w,v){return t.current.run(u,e,v,T)})}),Zone.__load_patch("EventTarget",(e,t,r)=>{(function s(e,t){t.patchEventPrototype(e,t)})(e,r),function i(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:r,zoneSymbolEventNames:o,TRUE_STR:a,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=t.getGlobalObjects();for(let w=0;w{be("MutationObserver"),be("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,r)=>{be("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,r)=>{be("FileReader")}),Zone.__load_patch("on_property",(e,t,r)=>{!function ht(e,t){if(ve&&!$e||Zone[e.symbol("patchEvents")])return;const r=t.__Zone_ignore_on_properties;let o=[];if(De){const a=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function st(){try{const e=Ee.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:a,ignoreProperties:["error"]}]:[];ft(a,Ge(a),r&&r.concat(u),Oe(a))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{!function Tt(e,t){const{isBrowser:r,isMix:o}=t.getGlobalObjects();(r||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,r)}),Zone.__load_patch("XHR",(e,t)=>{!function w(v){const g=v.XMLHttpRequest;if(!g)return;const L=g.prototype;let D=L[fe],N=L[Ce];if(!D){const E=v.XMLHttpRequestEventTarget;if(E){const j=E.prototype;D=j[fe],N=j[Ce]}}const x="readystatechange",J="scheduled";function F(E){const j=E.data,O=j.target;O[u]=!1,O[T]=!1;const ne=O[a];D||(D=O[fe],N=O[Ce]),ne&&N.call(O,x,ne);const he=O[a]=()=>{if(O.readyState===O.DONE)if(!j.aborted&&O[u]&&E.state===J){const W=O[t.__symbol__("loadfalse")];if(0!==O.status&&W&&W.length>0){const ue=E.invoke;E.invoke=function(){const se=O[t.__symbol__("loadfalse")];for(let q=0;qfunction(E,j){return E[o]=0==j[2],E[f]=j[1],ee.apply(E,j)}),Y=H("fetchTaskAborting"),B=H("fetchTaskScheduling"),y=ae(L,"send",()=>function(E,j){if(!0===t.current[B]||E[o])return y.apply(E,j);{const O={target:E,url:E[f],isPeriodic:!1,args:j,aborted:!1},ne=We("XMLHttpRequest.send",R,O,F,p);E&&!0===E[T]&&!O.aborted&&ne.state===J&&ne.invoke()}}),V=ae(L,"abort",()=>function(E,j){const O=function P(E){return E[r]}(E);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===t.current[Y])return V.apply(E,j)})}(e);const r=H("xhrTask"),o=H("xhrSync"),a=H("xhrListener"),u=H("xhrScheduled"),f=H("xhrURL"),T=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function ke(e,t){const r=e.constructor.name;for(let o=0;o{const w=function(){return T.apply(this,xe(arguments,r+"."+a))};return le(w,T),w})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function r(o){return function(a){lt(e,o).forEach(f=>{const T=e.PromiseRejectionEvent;if(T){const w=new T(o,{promise:a.promise,reason:a.rejection});f.invoke(w)}})}}e.PromiseRejectionEvent&&(t[H("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),t[H("rejectionHandledHandler")]=r("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,t,r)=>{!function ze(e,t){t.patchMethod(e,"queueMicrotask",r=>function(o,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}(e,r)})}},_e=>{_e(_e.s=253)}]); \ No newline at end of file diff --git a/runtime.d599c23de0356b38.js b/runtime.d599c23de0356b38.js new file mode 100644 index 00000000..e3942b83 --- /dev/null +++ b/runtime.d599c23de0356b38.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,i={},d={};function n(e){var l=d[e];if(void 0!==l)return l.exports;var r=d[e]={exports:{}};return i[e](r,r.exports,n),r.exports}n.m=i,e=[],n.O=(l,r,u,f)=>{if(!r){var c=1/0;for(a=0;a=f)&&Object.keys(n.O).every(p=>n.O[p](r[o]))?r.splice(o--,1):(t=!1,f0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,u,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};n.O.j=u=>0===e[u];var l=(u,f)=>{var o,s,[a,c,t]=f,v=0;if(a.some(h=>0!==e[h])){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(t)var _=t(n)}for(u&&u(f);v*{padding:20px!important}.padding-child-h>*{padding-left:20px!important;padding-right:20px!important}.padding-child-v>*{padding-top:20px!important;padding-bottom:20px!important}.margin{margin:20px!important}.margin-top{margin-top:20px!important}.margin-bottom{margin-bottom:20px!important}.margin-right{margin-right:20px!important}.margin-left{margin-left:20px!important}.margin-h{margin-left:20px!important;margin-right:20px!important}.margin-v{margin-top:20px!important;margin-bottom:20px!important}.no-margin{margin:0!important}.no-margin-v{margin-bottom:0!important;margin-top:0!important}.no-margin-h{margin-left:0!important;margin-right:0!important}.no-margin-right{margin-right:0!important}.no-margin-top{margin-top:0!important}.no-margin-left{margin-left:0!important}.no-margin-bottom{margin-bottom:0!important}.margin-child>*{margin:20px!important}.margin-child-h>*{margin-right:20px!important}.margin-child-h>*:first-child{margin-left:20px!important}.margin-child-v>*{margin-bottom:20px!important}.margin-child-v>*:first-child{margin-top:20px!important}.padding-child-h-between>*{padding-left:20px!important;padding-right:20px!important}.padding-child-h-between>*:first-child{padding-left:0!important}.padding-child-h-between>*:last-child{padding-right:0!important}.padding-child-v-between>*{padding-top:20px!important;padding-bottom:20px!important}.padding-child-v-between>*:first-child{padding-top:0!important}.padding-child-v-between>*:last-child{padding-bottom:0!important}.margin-child-h-between>*{margin-right:20px!important}.margin-child-h-between>*:last-child{margin-right:0!important}.margin-child-v-between>*{margin-bottom:20px!important}.margin-child-v-between>*:last-child{margin-bottom:0!important}.cdk-overlay-container .panel{max-width:calc(100vw - 84px);margin:10px}@media (max-width: 960px){.cdk-overlay-container .panel{max-width:calc(100vw - 20px)}}.cdk-overlay-container .panel .mat-dialog-container{border-radius:0!important;display:flex;flex-direction:column;max-width:none;padding:0}.cdk-overlay-container .panel .mat-dialog-container>*{display:flex;flex-direction:column;flex:1}.cdk-overlay-container .panel .isPanel{padding:3px}.cdk-overlay-container .panel .isPanel>div>div>div.mat-headline-5.no-margin{padding-top:40px}.cdk-overlay-container .panel .isPanel.isFrontPanel>div>div>div.mat-headline-5.no-margin,.cdk-overlay-container .panel .isPanel.isFrontPanel natural-detail-header>div{padding-left:20px;padding-right:20px}.cdk-overlay-container .panel .isPanel .panelBody{padding:20px}.cdk-overlay-container .panel .isPanel:not(.isFrontPanel){cursor:pointer;position:relative}.cdk-overlay-container .panel .isPanel:not(.isFrontPanel) .panelBody{display:none!important}.cdk-overlay-container .panel .isPanel:not(.isFrontPanel):hover:before{content:"";display:block;position:absolute;inset:0;background:rgba(0,0,0,.2)}.mat-mdc-table .mdc-button__label{white-space:nowrap}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font-size:24px;font-weight:400;line-height:32px;font-family: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-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font-size:16px;font-weight:400;line-height:28px;font-family: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-size:16px;font-weight:400;line-height:24px;font-family: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-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font-size:14px;font-weight:500;line-height:22px;font-family:Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.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-size:12px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font-size:96px;font-weight:300;line-height:96px;font-family:Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font-size:60px;font-weight:300;line-height:60px;font-family:Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font-size:48px;font-weight:400;line-height:50px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font-size:34px;font-weight:400;line-height:40px;font-family:Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}.mat-button-toggle,.mat-calendar{font-family:Roboto,sans-serif}.mdc-form-field,.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.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-letter-spacing: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}.mdc-button,.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.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)}.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:rgba(0,0,0,.32)}.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-ripple-element{background-color:#0000001a}.mat-mdc-option{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-option:hover:not(.mdc-list-item--disabled),.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item,.mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled){background:rgba(0,0,0,.04)}.mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-primary, #2a7ae2)}.mat-accent .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-secondary, #b72ae2)}.mat-warn .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-error, #f44336)}.mat-mdc-optgroup-label{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#2a7ae2}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#2a7ae2}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.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}.mat-mdc-option{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em)}.mat-mdc-card{--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-mdc-card{--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}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #2a7ae2;--mdc-linear-progress-track-color: rgba(42, 122, 226, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;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(42, 122, 226, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #b72ae2;--mdc-linear-progress-track-color: rgba(183, 42, 226, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;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(183, 42, 226, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;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")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip{--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-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#000000de}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:#0009}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:#0009}}.mdc-text-field .mdc-text-field__input{caret-color:var(--mdc-theme-primary, #2a7ae2)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:#0000008a}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#0000008a}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:#0009}.mdc-text-field--filled .mdc-text-field__ripple:before,.mdc-text-field--filled .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, rgba(0, 0, 0, .87))}.mdc-text-field--filled:hover .mdc-text-field__ripple:before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple:before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:#f5f5f5}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:#0000006b}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:#000000de}.mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #2a7ae2)}.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:#00000061}.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:#000000de}.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-theme-primary, #2a7ae2)}.mdc-text-field--outlined .mdc-text-field__ripple:before,.mdc-text-field--outlined .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#2a7ae2de}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.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--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.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-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--disabled .mdc-text-field__input{color:#00000061}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:#00000061}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:#00000061}}.mdc-text-field--disabled .mdc-floating-label{color:#00000061}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#00000061}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#00000061}.mdc-text-field--disabled .mdc-text-field__icon--leading,.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:#0000004d}.mdc-text-field--disabled .mdc-text-field__affix--prefix,.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:#00000061}.mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:#0000000f}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:#0000000f}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}.mdc-text-field--disabled .mdc-floating-label{color:GrayText}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}.mdc-text-field--disabled .mdc-text-field__icon--leading,.mdc-text-field--disabled .mdc-text-field__icon--trailing,.mdc-text-field--disabled .mdc-text-field__affix--prefix,.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}.mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:GrayText}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-focus-overlay{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#2a7ae2de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#b72ae2de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent .mdc-text-field__input{caret-color:var(--mdc-theme-secondary, #b72ae2)}.mat-mdc-form-field.mat-accent:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-secondary, #b72ae2)}.mat-mdc-form-field.mat-accent .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b72ae2de}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .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-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-secondary, #b72ae2)}.mat-mdc-form-field.mat-warn .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#f44336de}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .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-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.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 transparent}[dir=rtl] .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 transparent}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.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( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mdc-text-field__input,.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.mdc-text-field--textarea .mdc-text-field__input{line-height:1.5rem}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.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(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.mat-mdc-form-field,.mat-mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(16px * var(--mat-mdc-form-field-floating-label-scale, .75))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:16px}.mat-mdc-select-value{color:#000000de}.mat-mdc-select-placeholder{color:#0009}.mat-mdc-select-disabled .mat-mdc-select-value{color:#00000061}.mat-mdc-select-arrow{color:#0000008a}.mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow{color:#2a7ae2de}.mat-mdc-form-field.mat-focused.mat-accent .mat-mdc-select-arrow{color:#b72ae2de}.mat-mdc-form-field.mat-focused.mat-warn .mat-mdc-select-arrow,.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:#f44336de}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:#00000061}.mat-mdc-select-panel{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.mat-mdc-select{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}html{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--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-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-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-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: #2a7ae2;--mdc-chip-elevated-disabled-container-color: #2a7ae2;--mdc-chip-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-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: #b72ae2;--mdc-chip-elevated-disabled-container-color: #b72ae2;--mdc-chip-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-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-disabled-container-color: #f44336;--mdc-chip-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-mdc-chip-focus-overlay{background:black}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.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}.mat-mdc-slide-toggle{--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-unselected-handle-color: #616161;--mdc-switch-selected-icon-color: #fff;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-unselected-icon-color: #fff}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #2364b9;--mdc-switch-selected-handle-color: #2364b9;--mdc-switch-selected-hover-state-layer-color: #2364b9;--mdc-switch-selected-pressed-state-layer-color: #2364b9;--mdc-switch-selected-focus-handle-color: #0c223e;--mdc-switch-selected-hover-handle-color: #0c223e;--mdc-switch-selected-pressed-handle-color: #0c223e;--mdc-switch-selected-focus-track-color: #77aaec;--mdc-switch-selected-hover-track-color: #77aaec;--mdc-switch-selected-pressed-track-color: #77aaec;--mdc-switch-selected-track-color: #77aaec}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #9623b9;--mdc-switch-selected-handle-color: #9623b9;--mdc-switch-selected-hover-state-layer-color: #9623b9;--mdc-switch-selected-pressed-state-layer-color: #9623b9;--mdc-switch-selected-focus-handle-color: #320c3e;--mdc-switch-selected-hover-handle-color: #320c3e;--mdc-switch-selected-pressed-handle-color: #320c3e;--mdc-switch-selected-focus-track-color: #d177ec;--mdc-switch-selected-hover-track-color: #d177ec;--mdc-switch-selected-pressed-track-color: #d177ec;--mdc-switch-selected-track-color: #d177ec}.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}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #2a7ae2;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #b72ae2;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #2a7ae2;--mdc-slider-focus-handle-color: #2a7ae2;--mdc-slider-hover-handle-color: #2a7ae2;--mdc-slider-active-track-color: #2a7ae2;--mdc-slider-inactive-track-color: #2a7ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #2a7ae2;--mat-mdc-slider-ripple-color: #2a7ae2;--mat-mdc-slider-hover-ripple-color: rgba(42, 122, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(42, 122, 226, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #b72ae2;--mdc-slider-focus-handle-color: #b72ae2;--mdc-slider-hover-handle-color: #b72ae2;--mdc-slider-active-track-color: #b72ae2;--mdc-slider-inactive-track-color: #b72ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #b72ae2;--mat-mdc-slider-ripple-color: #b72ae2;--mat-mdc-slider-hover-ripple-color: rgba(183, 42, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(183, 42, 226, .2)}.mat-mdc-slider.mat-warn{--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-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--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}.mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mdc-menu-surface{background-color:var(--mdc-theme-surface, #fff);color:var(--mdc-theme-on-surface, #000)}.mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54))}.mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, .38))}.mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.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:.38}.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,.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--selected .mdc-list-item__primary-text,.mdc-list-item--activated .mdc-list-item__primary-text,.mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #2a7ae2)}.mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-divider:after{border-bottom-color:#fff}.mdc-list-divider{background-color:#0000001f}.mat-mdc-menu-item[disabled],.mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon,.mat-mdc-menu-item[disabled] .mat-icon-no-color{color:var(--mdc-theme-text-disabled-on-background, rgba(0, 0, 0, .38))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-submenu-icon{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-menu-item:hover:not([disabled]),.mat-mdc-menu-item.cdk-program-focused:not([disabled]),.mat-mdc-menu-item.cdk-keyboard-focused:not([disabled]),.mat-mdc-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-mdc-menu-content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mdc-list-item__primary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.mat-mdc-list-base{--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: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--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: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--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: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--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: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--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: #fff;--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:#2a7ae2}.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}.mat-mdc-list-base{--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-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}.mat-mdc-list-base{--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}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}.mat-mdc-paginator{background:white;color:#000000de}.mat-mdc-paginator-icon{fill:#0000008a}.mat-mdc-paginator-decrement,.mat-mdc-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-mdc-paginator-first,.mat-mdc-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-decrement,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-increment,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-first,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-last{border-color:#0000001f}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:#0000001f}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .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( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}.mat-mdc-paginator-container{min-height:56px}.mat-mdc-paginator{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.mat-mdc-paginator .mat-mdc-select-value{font-size:12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #2a7ae2;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #2a7ae2;--mat-tab-header-active-ripple-color: #2a7ae2;--mat-tab-header-inactive-ripple-color: #2a7ae2;--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: #2a7ae2;--mat-tab-header-active-hover-label-text-color: #2a7ae2;--mat-tab-header-active-focus-indicator-color: #2a7ae2;--mat-tab-header-active-hover-indicator-color: #2a7ae2}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #b72ae2;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #b72ae2;--mat-tab-header-active-ripple-color: #b72ae2;--mat-tab-header-inactive-ripple-color: #b72ae2;--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: #b72ae2;--mat-tab-header-active-hover-label-text-color: #b72ae2;--mat-tab-header-active-focus-indicator-color: #b72ae2;--mat-tab-header-active-hover-indicator-color: #b72ae2}.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: #000;--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: #2a7ae2;--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: #b72ae2;--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-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-letter-spacing: normal;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--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: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--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-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: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--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: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--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: #fff;--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-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #2a7ae2}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #b72ae2}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #2a7ae2;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #b72ae2;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #2a7ae2;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #b72ae2;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled]{--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-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #2a7ae2}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #b72ae2}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #2a7ae2;--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #b72ae2;--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.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}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: #fff;--mdc-fab-icon-color: #000;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #2a7ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #b72ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #b72ae2}.mat-mdc-snack-bar-container{--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}.mdc-data-table{background-color:var(--mdc-theme-surface, #fff);border-color:#0000001f}.mdc-data-table__row{background-color:inherit}.mdc-data-table__header-cell{background-color:var(--mdc-theme-surface, #fff)}.mdc-data-table__row--selected{background-color:#2a7ae20a}.mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#0000001f}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-color:#0000001f}.mdc-data-table__pagination{border-top-color:#0000001f}.mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#0000000a}.mdc-data-table__header-cell,.mdc-data-table__pagination-total,.mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__cell{color:#000000de}.mat-mdc-table{background:white}.mat-mdc-table .mdc-data-table__row{height:52px}.mat-mdc-table .mdc-data-table__pagination{min-height:52px}.mat-mdc-table .mdc-data-table__header-row{height:56px}.mdc-data-table__content,.mdc-data-table__cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mdc-data-table__header-cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle2-font-size, 14px);line-height:var(--mdc-typography-subtitle2-line-height, 22px);font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle2-text-transform, none)}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #2a7ae2}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #b72ae2}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events: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:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#2a7ae2}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#b72ae2;color:#000000de}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-bottom-sheet-container{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.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}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:white}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-button-toggle{font-family:Roboto,sans-serif}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(42,122,226,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#2a7ae2;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#2a7ae266}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.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:#2a7ae24d}@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:#2a7ae24d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(183,42,226,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b72ae2;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#b72ae266}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .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:#b72ae24d}@media (hover: hover){.mat-datepicker-content.mat-accent .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:#b72ae24d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .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:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .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:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#2a7ae2}.mat-datepicker-toggle-active.mat-accent{color:#b72ae2}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.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}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.mat-calendar{font-family:Roboto,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.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{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-expansion-panel-header{font-family:Roboto,sans-serif;font-size:14px;font-weight:500}.mat-expansion-panel-content{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .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),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}.mat-icon.mat-primary{color:#2a7ae2}.mat-icon.mat-accent{color:#b72ae2}.mat-icon.mat-warn{color:#f44336}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#2a7ae2;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#000000de}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b72ae2;color:#000000de}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:16px}.mat-step-label-selected{font-size:16px;font-weight:400}.mat-sort-header-arrow{color:#757575}.mat-toolbar{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary{background:#2a7ae2;color:#fff}.mat-toolbar.mat-accent{background:#b72ae2;color:#000000de}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.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-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em;margin:0}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.default{color:#000}.default .snackbar-error .mdc-snackbar__surface{background-color:#f44336!important;color:#fff!important}.default natural-sidenav-container .mat-drawer{border-right:none}.default natural-sidenav-container mat-sidenav[ng-reflect-mode=side] .mat-drawer-inner-container{display:flex;flex-direction:column}.default natural-sidenav-container mat-sidenav[ng-reflect-mode=side] natural-sidenav{flex:1;display:flex;min-height:0}.default natural-sidenav-container mat-sidenav-content{display:flex!important}.default natural-sidenav-container mat-sidenav-content>div{display:flex;flex:1}.default natural-sidenav-container mat-sidenav-content>div natural-sidenav-content{display:flex;flex:1}.default natural-input .mat-mdc-form-field-infix{margin-left:10px;margin-right:10px;width:auto}.default natural-input .mat-form-field-flex{padding-left:0;padding-right:0;align-items:flex-start}.default natural-input .mat-mdc-form-field{margin-bottom:-1.25em}.default .natural-dropdown-container{background:white}.default .natural-dropdown-container>*>*>*{outline:none!important}.default .responsive-table{overflow-x:auto;overflow-y:hidden}.default [mat-table]{width:100%;max-width:100%}.default [mat-table] [mat-cell]{justify-content:center}.default [mat-table] .mat-mdc-cell:first-child,.default [mat-table] .mat-mdc-header-cell:first-child,.default [mat-table] .mat-mdc-footer-cell:first-child{padding-right:5px}.default [mat-table] .mat-mdc-cell:last-child,.default [mat-table] .mat-mdc-header-cell:last-child,.default [mat-table] .mat-mdc-footer-cell:last-child{padding-left:5px}.default [mat-table] .mat-mdc-cell:not(:first-child):not(:last-child),.default [mat-table] .mat-mdc-header-cell:not(:first-child):not(:last-child),.default [mat-table] .mat-mdc-footer-cell:not(:first-child):not(:last-child){padding-left:5px;padding-right:5px}.default [mat-table] .mat-mdc-cell[natural-align-right],.default [mat-table] .mat-mdc-header-cell[natural-align-right],.default [mat-table] .mat-mdc-footer-cell[natural-align-right]{text-align:right}.default [mat-table] .mat-mdc-cell[natural-align-right] .mat-sort-header-container,.default [mat-table] .mat-mdc-header-cell[natural-align-right] .mat-sort-header-container,.default [mat-table] .mat-mdc-footer-cell[natural-align-right] .mat-sort-header-container{justify-content:flex-end}.default [mat-table] .mat-mdc-cell[natural-align-center],.default [mat-table] .mat-mdc-header-cell[natural-align-center],.default [mat-table] .mat-mdc-footer-cell[natural-align-center]{text-align:center}.default [mat-table] .mat-mdc-cell[natural-align-center] .mat-sort-header-container,.default [mat-table] .mat-mdc-header-cell[natural-align-center] .mat-sort-header-container,.default [mat-table] .mat-mdc-footer-cell[natural-align-center] .mat-sort-header-container{justify-content:center}.default [mat-table] [mat-row].selected{background:#e0e0e0}.default [mat-table] [mat-header-row]{background:whitesmoke}.default [mat-table] .mat-mdc-footer-cell{font-weight:700}.default [mat-table] [natural-1em-column]{width:1em}.default [mat-table] [natural-2em-column]{width:2em}.default [mat-table] [natural-3em-column]{width:3em}.default [mat-table] [natural-4em-column]{width:4em}.default [mat-table] [natural-5em-column]{width:5em}.default [mat-table] [natural-6em-column]{width:6em}.default [mat-table] [natural-7em-column]{width:7em}.default natural-file a{background-color:#fff}.default natural-file .action-overlay{background-color:#b72ae2d9;color:#000000de}.default natural-file .file-preview{background-color:#2a7ae2d9;color:#fff}.default .mat-mdc-tab-labels,.default .mat-mdc-tab-links,.default .mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:1px solid rgba(0,0,0,.12)}.default .mat-mdc-dialog-container .mdc-dialog__content{color:#000000de}.default .natural-elevation{box-shadow:inset 0 1px #ffffff4d,0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.default natural-editor .mat-mdc-icon-button,.default natural-editor .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:4px}.default natural-editor button.mat-mdc-button.mat-mdc-button-base.mat-mdc-menu-trigger{height:50px}.default natural-editor .menu-container{background-color:#fafafa}.default natural-editor .menu,.default natural-editor .ProseMirror{background-color:#0000000a}.default natural-editor .menu{border-color:#0000006b}.default natural-editor placeholder{background:linear-gradient(90deg,#2a7ae2,#2a7ae2,#b72ae2,#2a7ae2,#2a7ae2)}.default app-home .mat-toolbar{background:#212121;color:#fff}.default app-home #menu{border-radius:4px;background:#2a7ae2;background:linear-gradient(to bottom,#2a7ae2 50%,#b72ae2 150%)}.defaultDark{color:#fff;background:#303030}.defaultDark .mat-ripple-element{background-color:#ffffff1a}.defaultDark .mat-mdc-option{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-option:hover:not(.mdc-list-item--disabled),.defaultDark .mat-mdc-option:focus.mdc-list-item,.defaultDark .mat-mdc-option.mat-mdc-option-active.mdc-list-item,.defaultDark .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled){background:rgba(255,255,255,.08)}.defaultDark .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mat-accent .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-warn .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-optgroup-label{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-pseudo-checkbox-full{color:#ffffffb3}.defaultDark .mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#686868}.defaultDark .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#2a7ae2}.defaultDark .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#2a7ae2}.defaultDark .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.defaultDark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.defaultDark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.defaultDark .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.defaultDark .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.defaultDark .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.defaultDark .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#686868}.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#686868}.defaultDark .mat-app-background,.defaultDark.mat-app-background{background-color:#303030;color:#fff}.defaultDark .mat-elevation-z0,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.defaultDark .mat-elevation-z1,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.defaultDark .mat-elevation-z2,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.defaultDark .mat-elevation-z3,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.defaultDark .mat-elevation-z4,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.defaultDark .mat-elevation-z5,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.defaultDark .mat-elevation-z6,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.defaultDark .mat-elevation-z7,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.defaultDark .mat-elevation-z8,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.defaultDark .mat-elevation-z9,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.defaultDark .mat-elevation-z10,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.defaultDark .mat-elevation-z11,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.defaultDark .mat-elevation-z12,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.defaultDark .mat-elevation-z13,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.defaultDark .mat-elevation-z14,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.defaultDark .mat-elevation-z15,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.defaultDark .mat-elevation-z16,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.defaultDark .mat-elevation-z17,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.defaultDark .mat-elevation-z18,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.defaultDark .mat-elevation-z19,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.defaultDark .mat-elevation-z20,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.defaultDark .mat-elevation-z21,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.defaultDark .mat-elevation-z22,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.defaultDark .mat-elevation-z23,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.defaultDark .mat-elevation-z24,.defaultDark .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}.defaultDark .mat-mdc-card{--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)}.defaultDark .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #2a7ae2;--mdc-linear-progress-track-color: rgba(42, 122, 226, .25)}.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}@media (forced-colors: active){.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;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(42, 122, 226, 0.25)'/%3E%3C/svg%3E")}}.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}.defaultDark .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #b72ae2;--mdc-linear-progress-track-color: rgba(183, 42, 226, .25)}.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}@media (forced-colors: active){.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;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(183, 42, 226, 0.25)'/%3E%3C/svg%3E")}}.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}.defaultDark .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;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")}}.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.defaultDark .mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#fff9}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#ffffffde}@media all{.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:#fff9}}@media all{.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:#fff9}}.defaultDark .mdc-text-field .mdc-text-field__input{caret-color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#0009}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.defaultDark .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#0009}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:#0000008a}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#0000008a}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:#0009}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:#0009}.defaultDark .mdc-text-field--filled .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--filled .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, rgba(255, 255, 255, .87))}.defaultDark .mdc-text-field--filled:hover .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-hover-opacity, .08)}.defaultDark .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-focus-opacity, .24)}.defaultDark .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:#4a4a4a}.defaultDark .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:#ffffff6b}.defaultDark .mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:#ffffffde}.defaultDark .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ffffff61}.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ffffffde}.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-text-field--outlined .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--outlined .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, transparent)}.defaultDark .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#2a7ae2de}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .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-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--disabled .mdc-text-field__input{color:#ffffff61}@media all{.defaultDark .mdc-text-field--disabled .mdc-text-field__input::placeholder{color:#ffffff61}}@media all{.defaultDark .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:#ffffff61}}.defaultDark .mdc-text-field--disabled .mdc-floating-label{color:#ffffff61}.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#00000061}.defaultDark .mdc-text-field--disabled .mdc-text-field-character-counter,.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#00000061}.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--leading,.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--trailing{color:#0000004d}.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--prefix,.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--suffix{color:#00000061}.defaultDark .mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:#ffffff0f}.defaultDark .mdc-text-field--disabled .mdc-notched-outline__leading,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__notch,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:#ffffff0f}@media screen and (forced-colors: active),(-ms-high-contrast: active){.defaultDark .mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.defaultDark .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-floating-label{color:GrayText}.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-text-field-character-counter,.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--leading,.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--trailing,.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--prefix,.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-notched-outline__leading,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__notch,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.defaultDark .mdc-text-field--disabled.mdc-text-field--filled{background-color:#464646}.defaultDark .mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field-focus-overlay{background-color:#ffffffde}.defaultDark .mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.08}.defaultDark .mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.24}.defaultDark select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:#000000de}.defaultDark select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:#00000061}.defaultDark .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#ffffff8a}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#2a7ae2de}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#b72ae2de}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#ffffff61}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field__input{caret-color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-mdc-form-field.mat-accent:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b72ae2de}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .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-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#f44336de}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .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-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .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 transparent}.defaultDark [dir=rtl] .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 transparent}.defaultDark .mat-mdc-select-value{color:#ffffffde}.defaultDark .mat-mdc-select-placeholder{color:#fff9}.defaultDark .mat-mdc-select-disabled .mat-mdc-select-value{color:#ffffff61}.defaultDark .mat-mdc-select-arrow{color:#ffffff8a}.defaultDark .mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow{color:#2a7ae2de}.defaultDark .mat-mdc-form-field.mat-focused.mat-accent .mat-mdc-select-arrow{color:#b72ae2de}.defaultDark .mat-mdc-form-field.mat-focused.mat-warn .mat-mdc-select-arrow,.defaultDark .mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:#f44336de}.defaultDark .mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:#ffffff61}.defaultDark{--mat-autocomplete-background-color: #424242}.defaultDark .mat-mdc-dialog-container{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.defaultDark .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: #595959;--mdc-chip-elevated-disabled-container-color: #595959;--mdc-chip-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}.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #2a7ae2;--mdc-chip-elevated-disabled-container-color: #2a7ae2;--mdc-chip-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}.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.defaultDark .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: #b72ae2;--mdc-chip-elevated-disabled-container-color: #b72ae2;--mdc-chip-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)}.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.defaultDark .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-disabled-container-color: #f44336;--mdc-chip-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}.defaultDark .mat-mdc-chip-focus-overlay{background:white}.defaultDark .mat-mdc-slide-toggle{--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-selected-icon-color: #212121;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-unselected-icon-color: #212121}.defaultDark .mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#ffffff80}.defaultDark .mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #77aaec;--mdc-switch-selected-handle-color: #77aaec;--mdc-switch-selected-hover-state-layer-color: #77aaec;--mdc-switch-selected-pressed-state-layer-color: #77aaec;--mdc-switch-selected-focus-handle-color: #9ec2f1;--mdc-switch-selected-hover-handle-color: #9ec2f1;--mdc-switch-selected-pressed-handle-color: #9ec2f1;--mdc-switch-selected-focus-track-color: #2364b9;--mdc-switch-selected-hover-track-color: #2364b9;--mdc-switch-selected-pressed-track-color: #2364b9;--mdc-switch-selected-track-color: #2364b9}.defaultDark .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d177ec;--mdc-switch-selected-handle-color: #d177ec;--mdc-switch-selected-hover-state-layer-color: #d177ec;--mdc-switch-selected-pressed-state-layer-color: #d177ec;--mdc-switch-selected-focus-handle-color: #de9ef1;--mdc-switch-selected-hover-handle-color: #de9ef1;--mdc-switch-selected-pressed-handle-color: #de9ef1;--mdc-switch-selected-focus-track-color: #9623b9;--mdc-switch-selected-hover-track-color: #9623b9;--mdc-switch-selected-pressed-track-color: #9623b9;--mdc-switch-selected-track-color: #9623b9}.defaultDark .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}.defaultDark .mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--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: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2;--mat-radio-ripple-color: #fff;--mat-radio-checked-ripple-color: #2a7ae2;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--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: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2;--mat-radio-ripple-color: #fff;--mat-radio-checked-ripple-color: #b72ae2;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--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: #fff;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-slider{--mdc-slider-label-container-color: white;--mdc-slider-label-label-text-color: black;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mat-mdc-slider-value-indicator-opacity: .9}.defaultDark .mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #2a7ae2;--mdc-slider-focus-handle-color: #2a7ae2;--mdc-slider-hover-handle-color: #2a7ae2;--mdc-slider-active-track-color: #2a7ae2;--mdc-slider-inactive-track-color: #2a7ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #2a7ae2;--mat-mdc-slider-ripple-color: #2a7ae2;--mat-mdc-slider-hover-ripple-color: rgba(42, 122, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(42, 122, 226, .2)}.defaultDark .mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #b72ae2;--mdc-slider-focus-handle-color: #b72ae2;--mdc-slider-hover-handle-color: #b72ae2;--mdc-slider-active-track-color: #b72ae2;--mdc-slider-inactive-track-color: #b72ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #b72ae2;--mat-mdc-slider-ripple-color: #b72ae2;--mat-mdc-slider-hover-ripple-color: rgba(183, 42, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(183, 42, 226, .2)}.defaultDark .mat-mdc-slider.mat-warn{--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-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.defaultDark .mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.defaultDark .mdc-menu-surface{background-color:var(--mdc-theme-surface, #424242);color:var(--mdc-theme-on-surface, #fff)}.defaultDark .mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(255, 255, 255, .7))}.defaultDark .mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.defaultDark .mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.defaultDark .mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(255, 255, 255, .5))}.defaultDark .mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.defaultDark .mdc-list-item--disabled .mdc-list-item__start,.defaultDark .mdc-list-item--disabled .mdc-list-item__content,.defaultDark .mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.defaultDark .mdc-list-item--disabled .mdc-list-item__primary-text,.defaultDark .mdc-list-item--disabled .mdc-list-item__secondary-text,.defaultDark .mdc-list-item--disabled .mdc-list-item__overline-text,.defaultDark .mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.defaultDark .mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #fff)}.defaultDark .mdc-list-item--selected .mdc-list-item__primary-text,.defaultDark .mdc-list-item--activated .mdc-list-item__primary-text,.defaultDark .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mdc-list-divider:after{border-bottom-color:#fff}.defaultDark .mdc-list-divider{background-color:#fff3}.defaultDark .mat-mdc-menu-item[disabled],.defaultDark .mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon,.defaultDark .mat-mdc-menu-item[disabled] .mat-icon-no-color{color:var(--mdc-theme-text-disabled-on-background, rgba(255, 255, 255, .5))}.defaultDark .mat-mdc-menu-item .mat-icon-no-color,.defaultDark .mat-mdc-menu-submenu-icon{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-menu-item:hover:not([disabled]),.defaultDark .mat-mdc-menu-item.cdk-program-focused:not([disabled]),.defaultDark .mat-mdc-menu-item.cdk-keyboard-focused:not([disabled]),.defaultDark .mat-mdc-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.08)}.defaultDark .mat-mdc-list-base{--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}.defaultDark .mdc-list-item__start,.defaultDark .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--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: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2}.defaultDark .mat-accent .mdc-list-item__start,.defaultDark .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--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: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2}.defaultDark .mat-warn .mdc-list-item__start,.defaultDark .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--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}.defaultDark .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: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--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: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .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: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--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: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .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: #fff;--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}.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#2a7ae2}.defaultDark .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.defaultDark .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.defaultDark .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.defaultDark .mat-mdc-paginator{background:#424242;color:#ffffffde}.defaultDark .mat-mdc-paginator-icon{fill:#ffffff8a}.defaultDark .mat-mdc-paginator-decrement,.defaultDark .mat-mdc-paginator-increment{border-top:2px solid rgba(255,255,255,.54);border-right:2px solid rgba(255,255,255,.54)}.defaultDark .mat-mdc-paginator-first,.defaultDark .mat-mdc-paginator-last{border-top:2px solid rgba(255,255,255,.54)}.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-decrement,.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-increment,.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-first,.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-last{border-color:#ffffff1f}.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:#ffffff1f}.defaultDark .mat-mdc-tab-group,.defaultDark .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #2a7ae2;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: #fff;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #2a7ae2;--mat-tab-header-active-ripple-color: #2a7ae2;--mat-tab-header-inactive-ripple-color: #2a7ae2;--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: #2a7ae2;--mat-tab-header-active-hover-label-text-color: #2a7ae2;--mat-tab-header-active-focus-indicator-color: #2a7ae2;--mat-tab-header-active-hover-indicator-color: #2a7ae2}.defaultDark .mat-mdc-tab-group.mat-accent,.defaultDark .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #b72ae2;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: #fff;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #b72ae2;--mat-tab-header-active-ripple-color: #b72ae2;--mat-tab-header-inactive-ripple-color: #b72ae2;--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: #b72ae2;--mat-tab-header-active-hover-label-text-color: #b72ae2;--mat-tab-header-active-focus-indicator-color: #b72ae2;--mat-tab-header-active-hover-indicator-color: #b72ae2}.defaultDark .mat-mdc-tab-group.mat-warn,.defaultDark .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: #fff;--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}.defaultDark .mat-mdc-tab-group.mat-background-primary,.defaultDark .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #2a7ae2;--mat-tab-header-with-background-foreground-color: white}.defaultDark .mat-mdc-tab-group.mat-background-accent,.defaultDark .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #b72ae2;--mat-tab-header-with-background-foreground-color: rgba(0, 0, 0, .87)}.defaultDark .mat-mdc-tab-group.mat-background-warn,.defaultDark .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.defaultDark{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--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: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .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: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--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: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .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: #fff;--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}.defaultDark .mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#ffffff80}.defaultDark .mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #fff}.defaultDark .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #2a7ae2}.defaultDark .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #b72ae2}.defaultDark .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.defaultDark .mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-text-button-label-text-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #2a7ae2;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #b72ae2;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-filled-button-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-label-text-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #2a7ae2;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #b72ae2;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button[disabled][disabled]{--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-color: rgba(255, 255, 255, .12);--mdc-protected-button-label-text-color: rgba(255, 255, 255, .5);--mdc-protected-button-container-elevation: 0}.defaultDark .mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.defaultDark .mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #fff}.defaultDark .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #2a7ae2}.defaultDark .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #b72ae2}.defaultDark .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.defaultDark .mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12)}.defaultDark .mat-mdc-button,.defaultDark .mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-button.mat-primary,.defaultDark .mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.defaultDark .mat-mdc-button.mat-accent,.defaultDark .mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.defaultDark .mat-mdc-button.mat-warn,.defaultDark .mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.defaultDark .mat-mdc-raised-button,.defaultDark .mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-raised-button.mat-primary,.defaultDark .mat-mdc-unelevated-button.mat-primary,.defaultDark .mat-mdc-raised-button.mat-accent,.defaultDark .mat-mdc-unelevated-button.mat-accent,.defaultDark .mat-mdc-raised-button.mat-warn,.defaultDark .mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-icon-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1);--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.defaultDark .mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.defaultDark .mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.defaultDark .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #2a7ae2;--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.defaultDark .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #b72ae2;--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.defaultDark .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.defaultDark .mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(255, 255, 255, .5);--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-fab,.defaultDark .mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-fab.mat-primary,.defaultDark .mat-mdc-mini-fab.mat-primary,.defaultDark .mat-mdc-fab.mat-accent,.defaultDark .mat-mdc-mini-fab.mat-accent,.defaultDark .mat-mdc-fab.mat-warn,.defaultDark .mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-fab.mat-unthemed,.defaultDark .mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: #424242;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab.mat-primary,.defaultDark .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #2a7ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab.mat-accent,.defaultDark .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #b72ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab.mat-warn,.defaultDark .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab[disabled][disabled],.defaultDark .mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(255, 255, 255, .12);--mdc-fab-icon-color: rgba(255, 255, 255, .5);--mat-mdc-fab-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-snack-bar-container{--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)}.defaultDark .mdc-data-table{background-color:var(--mdc-theme-surface, #424242);border-color:#ffffff1f}.defaultDark .mdc-data-table__row{background-color:inherit}.defaultDark .mdc-data-table__header-cell{background-color:var(--mdc-theme-surface, #424242)}.defaultDark .mdc-data-table__row--selected{background-color:#2a7ae20a}.defaultDark .mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.defaultDark .mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.defaultDark .mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#ffffff1f}.defaultDark .mdc-data-table__cell,.defaultDark .mdc-data-table__header-cell{border-bottom-color:#ffffff1f}.defaultDark .mdc-data-table__pagination{border-top-color:#ffffff1f}.defaultDark .mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#ffffff0a}.defaultDark .mdc-data-table__header-cell,.defaultDark .mdc-data-table__pagination-total,.defaultDark .mdc-data-table__pagination-rows-per-page-label,.defaultDark .mdc-data-table__cell{color:#ffffffde}.defaultDark .mat-mdc-table{background:#424242}.defaultDark .mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #2a7ae2}.defaultDark .mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #b72ae2}.defaultDark .mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.defaultDark .mat-badge-content{color:#fff;background:#2a7ae2}.cdk-high-contrast-active .defaultDark .mat-badge-content{outline:solid 1px;border-radius:0}.defaultDark .mat-badge-accent .mat-badge-content{background:#b72ae2;color:#000000de}.defaultDark .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.defaultDark .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:#ffffff80}.defaultDark .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#424242;color:#fff}.defaultDark .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.defaultDark .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.defaultDark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.defaultDark .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.defaultDark .mat-button-toggle{color:#ffffff80}.defaultDark .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff1f}.defaultDark .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.defaultDark .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.defaultDark .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #595959}.defaultDark [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #595959}.defaultDark .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #595959}.defaultDark .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.defaultDark .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.defaultDark .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.defaultDark .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.defaultDark .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.defaultDark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.defaultDark .mat-button-toggle-group-appearance-standard{border:solid 1px #595959}.defaultDark .mat-calendar-arrow{fill:#fff}.defaultDark .mat-datepicker-toggle,.defaultDark .mat-datepicker-content .mat-calendar-next-button,.defaultDark .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.defaultDark .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.defaultDark .mat-calendar-table-header,.defaultDark .mat-calendar-body-label{color:#ffffffb3}.defaultDark .mat-calendar-body-cell-content,.defaultDark .mat-date-range-input-separator{color:#fff;border-color:transparent}.defaultDark .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.defaultDark .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.defaultDark .mat-calendar-body-in-preview{color:#ffffff3d}.defaultDark .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.defaultDark .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.defaultDark .mat-calendar-body-in-range:before{background:rgba(42,122,226,.2)}.defaultDark .mat-calendar-body-comparison-identical,.defaultDark .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.defaultDark .mat-calendar-body-comparison-bridge-start:before,.defaultDark [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-calendar-body-comparison-bridge-end:before,.defaultDark [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.defaultDark .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.defaultDark .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.defaultDark .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.defaultDark .mat-calendar-body-selected{background-color:#2a7ae2;color:#fff}.defaultDark .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#2a7ae266}.defaultDark .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.defaultDark .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.defaultDark .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:#2a7ae24d}@media (hover: hover){.defaultDark .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:#2a7ae24d}}.defaultDark .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#424242;color:#fff}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(183,42,226,.2)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.defaultDark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.defaultDark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b72ae2;color:#000000de}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#b72ae266}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.defaultDark .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.defaultDark .mat-datepicker-content.mat-accent .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:#b72ae24d}@media (hover: hover){.defaultDark .mat-datepicker-content.mat-accent .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:#b72ae24d}}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.defaultDark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.defaultDark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.defaultDark .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.defaultDark .mat-datepicker-content.mat-warn .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:#f443364d}@media (hover: hover){.defaultDark .mat-datepicker-content.mat-warn .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:#f443364d}}.defaultDark .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.defaultDark .mat-datepicker-toggle-active{color:#2a7ae2}.defaultDark .mat-datepicker-toggle-active.mat-accent{color:#b72ae2}.defaultDark .mat-datepicker-toggle-active.mat-warn{color:#f44336}.defaultDark .mat-date-range-input-inner[disabled]{color:#ffffff80}.defaultDark .mat-divider{border-top-color:#ffffff1f}.defaultDark .mat-divider-vertical{border-right-color:#ffffff1f}.defaultDark .mat-expansion-panel{background:#424242;color:#fff}.defaultDark .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.defaultDark .mat-action-row{border-top-color:#ffffff1f}.defaultDark .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.defaultDark .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.defaultDark .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.defaultDark .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.defaultDark .mat-expansion-panel-header-title{color:#fff}.defaultDark .mat-expansion-panel-header-description,.defaultDark .mat-expansion-indicator:after{color:#ffffffb3}.defaultDark .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.defaultDark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.defaultDark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.defaultDark .mat-icon.mat-primary{color:#2a7ae2}.defaultDark .mat-icon.mat-accent{color:#b72ae2}.defaultDark .mat-icon.mat-warn{color:#f44336}.defaultDark .mat-drawer-container{background-color:#303030;color:#fff}.defaultDark .mat-drawer{background-color:#424242;color:#fff}.defaultDark .mat-drawer.mat-drawer-push{background-color:#424242}.defaultDark .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.defaultDark .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.defaultDark .mat-drawer-side.mat-drawer-end,.defaultDark [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.defaultDark [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.defaultDark .mat-drawer-backdrop.mat-drawer-shown{background-color:#bdbdbd99}.defaultDark .mat-step-header.cdk-keyboard-focused,.defaultDark .mat-step-header.cdk-program-focused,.defaultDark .mat-step-header:hover:not([aria-disabled]),.defaultDark .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.defaultDark .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.defaultDark .mat-step-header:hover{background:none}}.defaultDark .mat-step-header .mat-step-label,.defaultDark .mat-step-header .mat-step-optional{color:#ffffffb3}.defaultDark .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#fff}.defaultDark .mat-step-header .mat-step-icon-selected,.defaultDark .mat-step-header .mat-step-icon-state-done,.defaultDark .mat-step-header .mat-step-icon-state-edit{background-color:#2a7ae2;color:#fff}.defaultDark .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.defaultDark .mat-step-header.mat-accent .mat-step-icon-selected,.defaultDark .mat-step-header.mat-accent .mat-step-icon-state-done,.defaultDark .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b72ae2;color:#000000de}.defaultDark .mat-step-header.mat-warn .mat-step-icon{color:#fff}.defaultDark .mat-step-header.mat-warn .mat-step-icon-selected,.defaultDark .mat-step-header.mat-warn .mat-step-icon-state-done,.defaultDark .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.defaultDark .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.defaultDark .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.defaultDark .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.defaultDark .mat-stepper-horizontal,.defaultDark .mat-stepper-vertical{background-color:#424242}.defaultDark .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.defaultDark .mat-horizontal-stepper-header:before,.defaultDark .mat-horizontal-stepper-header:after,.defaultDark .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.defaultDark .mat-sort-header-arrow{color:#c6c6c6}.defaultDark .mat-toolbar{background:#212121;color:#fff}.defaultDark .mat-toolbar.mat-primary{background:#2a7ae2;color:#fff}.defaultDark .mat-toolbar.mat-accent{background:#b72ae2;color:#000000de}.defaultDark .mat-toolbar.mat-warn{background:#f44336;color:#fff}.defaultDark .mat-toolbar .mat-form-field-underline,.defaultDark .mat-toolbar .mat-form-field-ripple,.defaultDark .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.defaultDark .mat-toolbar .mat-form-field-label,.defaultDark .mat-toolbar .mat-focused .mat-form-field-label,.defaultDark .mat-toolbar .mat-select-value,.defaultDark .mat-toolbar .mat-select-arrow,.defaultDark .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.defaultDark .mat-toolbar .mat-input-element{caret-color:currentColor}.defaultDark .mat-tree{background:#424242}.defaultDark .mat-tree-node,.defaultDark .mat-nested-tree-node{color:#fff}.defaultDark .snackbar-error .mdc-snackbar__surface{background-color:#f44336!important;color:#fff!important}.defaultDark natural-sidenav-container .mat-drawer{border-right:none}.defaultDark natural-sidenav-container mat-sidenav[ng-reflect-mode=side] .mat-drawer-inner-container{display:flex;flex-direction:column}.defaultDark natural-sidenav-container mat-sidenav[ng-reflect-mode=side] natural-sidenav{flex:1;display:flex;min-height:0}.defaultDark natural-sidenav-container mat-sidenav-content{display:flex!important}.defaultDark natural-sidenav-container mat-sidenav-content>div{display:flex;flex:1}.defaultDark natural-sidenav-container mat-sidenav-content>div natural-sidenav-content{display:flex;flex:1}.defaultDark natural-input .mat-mdc-form-field-infix{margin-left:10px;margin-right:10px;width:auto}.defaultDark natural-input .mat-form-field-flex{padding-left:0;padding-right:0;align-items:flex-start}.defaultDark natural-input .mat-mdc-form-field{margin-bottom:-1.25em}.defaultDark .natural-dropdown-container{background:#424242}.defaultDark .natural-dropdown-container>*>*>*{outline:none!important}.defaultDark .responsive-table{overflow-x:auto;overflow-y:hidden}.defaultDark [mat-table]{width:100%;max-width:100%}.defaultDark [mat-table] [mat-cell]{justify-content:center}.defaultDark [mat-table] .mat-mdc-cell:first-child,.defaultDark [mat-table] .mat-mdc-header-cell:first-child,.defaultDark [mat-table] .mat-mdc-footer-cell:first-child{padding-right:5px}.defaultDark [mat-table] .mat-mdc-cell:last-child,.defaultDark [mat-table] .mat-mdc-header-cell:last-child,.defaultDark [mat-table] .mat-mdc-footer-cell:last-child{padding-left:5px}.defaultDark [mat-table] .mat-mdc-cell:not(:first-child):not(:last-child),.defaultDark [mat-table] .mat-mdc-header-cell:not(:first-child):not(:last-child),.defaultDark [mat-table] .mat-mdc-footer-cell:not(:first-child):not(:last-child){padding-left:5px;padding-right:5px}.defaultDark [mat-table] .mat-mdc-cell[natural-align-right],.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-right],.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-right]{text-align:right}.defaultDark [mat-table] .mat-mdc-cell[natural-align-right] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-right] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-right] .mat-sort-header-container{justify-content:flex-end}.defaultDark [mat-table] .mat-mdc-cell[natural-align-center],.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-center],.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-center]{text-align:center}.defaultDark [mat-table] .mat-mdc-cell[natural-align-center] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-center] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-center] .mat-sort-header-container{justify-content:center}.defaultDark [mat-table] [mat-row].selected,.defaultDark [mat-table] [mat-header-row]{background:#212121}.defaultDark [mat-table] .mat-mdc-footer-cell{font-weight:700}.defaultDark [mat-table] [natural-1em-column]{width:1em}.defaultDark [mat-table] [natural-2em-column]{width:2em}.defaultDark [mat-table] [natural-3em-column]{width:3em}.defaultDark [mat-table] [natural-4em-column]{width:4em}.defaultDark [mat-table] [natural-5em-column]{width:5em}.defaultDark [mat-table] [natural-6em-column]{width:6em}.defaultDark [mat-table] [natural-7em-column]{width:7em}.defaultDark natural-file a{background-color:#424242}.defaultDark natural-file .action-overlay{background-color:#b72ae2d9;color:#000000de}.defaultDark natural-file .file-preview{background-color:#2a7ae2d9;color:#fff}.defaultDark .mat-mdc-tab-labels,.defaultDark .mat-mdc-tab-links,.defaultDark .mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:1px solid rgba(255,255,255,.12)}.defaultDark .mat-mdc-dialog-container .mdc-dialog__content{color:#ffffffde}.defaultDark .natural-elevation{box-shadow:inset 0 1px #ffffff4d,0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.defaultDark natural-editor .mat-mdc-icon-button,.defaultDark natural-editor .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:4px}.defaultDark natural-editor button.mat-mdc-button.mat-mdc-button-base.mat-mdc-menu-trigger{height:50px}.defaultDark natural-editor .menu-container{background-color:#303030}.defaultDark natural-editor .menu,.defaultDark natural-editor .ProseMirror{background-color:#ffffff1a}.defaultDark natural-editor .menu{border-color:#ffffff80}.defaultDark natural-editor placeholder{background:linear-gradient(90deg,#2a7ae2,#2a7ae2,#b72ae2,#2a7ae2,#2a7ae2)}.defaultDark app-home .mat-toolbar{background:#212121;color:#fff}.defaultDark app-home #menu{border-radius:4px;background:#2a7ae2;background:linear-gradient(to bottom,#2a7ae2 50%,#b72ae2 150%)}body{margin:0}html,body,app-root{height:100%;min-height:100%;font-size:14px}app-root{display:flex;flex-direction:row;align-items:center;justify-content:center}p.debug,pre.debug{padding:10px;margin:10px;font-size:16px;line-height:1.5em;border:1px solid rgba(0,0,0,.5);background:rgba(0,0,0,.2);font-family:Courrier,monospace}[debug]{border:2px solid red}[debug][children]>*{border:2px solid orange}[debug][children][grandchildren]>*>*{border:2px solid green}.app-component>router-outlet+*{flex:1;flex-direction:column}[overflow]{overflow:auto}#menu .mat-expansion-panel{background:transparent}#menu *{color:#fff!important}